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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df490937f8a5030938fe3b24918d9bf13cf1434c | 625 | h | C | RecoBTag/FeatureTools/interface/JetConverter.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/FeatureTools/interface/JetConverter.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/FeatureTools/interface/JetConverter.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef RecoBTag_FeatureTools_JetConverter_h
#define RecoBTag_FeatureTools_JetConverter_h
#include "DataFormats/BTauReco/interface/JetFeatures.h"
#include "DataFormats/JetReco/interface/Jet.h"
namespace btagbtvdeep {
class JetConverter {
public:
static void jetToFeatures(const reco::Jet& jet, JetFeatures& j... | 26.041667 | 80 | 0.7296 |
8db0d2936ae5d942484a352ce02a3b0a76428b63 | 4,537 | c | C | assignment2/src/readlib.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | assignment2/src/readlib.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | assignment2/src/readlib.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | //%%%%% dumb read datasets functions
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../inc/readlib.h"
double *read_1(char *file_path, int *n, int *d){
if(strstr(file_path,"ColorH")!=NULL){
*n=68040;
*d=32;
}else if(strstr(file_path,"ColorM")!=NULL){
*n = 68040;
*d = 9;
}else{... | 19.899123 | 74 | 0.581001 |
5c1e16fa37c1bc7afaefdd7e3d989f52a00a8193 | 1,830 | h | C | src/gbpLib/gbpCalc/gbpCalc.h | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 1 | 2015-10-20T11:39:53.000Z | 2015-10-20T11:39:53.000Z | src/gbpLib/gbpCalc/gbpCalc.h | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 2 | 2017-07-30T11:10:49.000Z | 2019-06-18T00:40:46.000Z | src/gbpLib/gbpCalc/gbpCalc.h | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 4 | 2015-01-23T00:50:40.000Z | 2016-08-01T08:14:24.000Z | #ifndef GBPCALC_H
#define GBPCALC_H
#define CALC_MODE_DEFAULT SID_DEFAULT_MODE
#define CALC_MODE_RETURN_DOUBLE SID_TTTP00
#define CALC_MODE_ABS SID_TTTP01
#define CALC_STAT_DEFAULT SID_DEFAULT_MODE
#define CALC_STAT_RETURN_DOUBLE SID_TTTP00
#define CALC_STAT_GLOBAL SID_TTTP01
#define CALC_STAT_SUM SID_TTTP02
#define ... | 45.75 | 122 | 0.809836 |
e1b8c7a7d8d214f1d4fc17900a00a28451342a7a | 1,903 | h | C | library/math/matrixPowerSum.h | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 40 | 2017-11-26T05:29:18.000Z | 2020-11-13T00:29:26.000Z | library/math/matrixPowerSum.h | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 101 | 2019-02-09T06:06:09.000Z | 2021-12-25T16:55:37.000Z | library/math/matrixPowerSum.h | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 6 | 2017-01-03T14:17:58.000Z | 2021-01-22T10:37:04.000Z | #pragma once
#include "matrixMod.h"
/*
n
SUM A^(p*i) , n >= 0, A^0 = I
i=0
*/
template <int mod = 1'000'000'007>
struct MatrixPowerSumMod {
int K; // A is K x K matrix
vector<MatrixMod<mod>> baseDP; // A^p
vector<MatrixMod<mod>> sumDP; //
// O(K^3 * logMAXN)
... | 21.873563 | 74 | 0.425118 |
6d9e432c57f26c1fdc1890d77251292b919d6c88 | 2,974 | h | C | tightvnc/ft-common/FileInfo.h | jjzhang166/qmlvncviewer2 | b888c416ab88b81fe802ab0559bb87361833a0b5 | [
"Apache-2.0"
] | 47 | 2016-08-17T03:18:32.000Z | 2022-01-14T01:33:15.000Z | tightvnc/ft-common/FileInfo.h | jjzhang166/qmlvncviewer2 | b888c416ab88b81fe802ab0559bb87361833a0b5 | [
"Apache-2.0"
] | 3 | 2018-06-29T06:13:28.000Z | 2020-11-26T02:31:49.000Z | tightvnc/ft-common/FileInfo.h | jjzhang166/qmlvncviewer2 | b888c416ab88b81fe802ab0559bb87361833a0b5 | [
"Apache-2.0"
] | 15 | 2016-08-17T07:03:55.000Z | 2021-08-02T14:42:02.000Z | // Copyright (C) 2009,2010,2011,2012 GlavSoft LLC.
// All rights reserved.
//
//-------------------------------------------------------------------------
// This file is part of the TightVNC software. Please visit our Web site:
//
// http://www.tightvnc.com/
//
// This program is free software; y... | 21.092199 | 75 | 0.645595 |
a64fe32d446dd13c85302beac9b67a08a9f44f20 | 2,956 | h | C | listmodel.h | TRAPTAProject/traptaviewer | 1e66c63026e7a16ed0b151d192159db0162b5f83 | [
"MIT"
] | null | null | null | listmodel.h | TRAPTAProject/traptaviewer | 1e66c63026e7a16ed0b151d192159db0162b5f83 | [
"MIT"
] | null | null | null | listmodel.h | TRAPTAProject/traptaviewer | 1e66c63026e7a16ed0b151d192159db0162b5f83 | [
"MIT"
] | null | null | null | #ifndef LISTMODEL_H
#define LISTMODEL_H
#include <QObject>
#include <QAbstractListModel>
#include "rowmodel.h"
#include <QSettings>
class ListModel : public QAbstractListModel
{
Q_OBJECT
Q_PROPERTY(int rowHeight READ rowHeight NOTIFY rowHeightChanged)
Q_PROPERTY(bool scroll READ scroll NOT... | 29.56 | 95 | 0.721922 |
54b3930d4287a953b1c7697ce2a0d5e250b23044 | 2,239 | h | C | gtsam/slam/KarcherMeanFactor.h | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 3 | 2020-08-13T20:25:43.000Z | 2021-03-05T22:24:43.000Z | gtsam/slam/KarcherMeanFactor.h | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 1 | 2020-10-21T09:54:08.000Z | 2020-10-21T09:54:08.000Z | gtsam/slam/KarcherMeanFactor.h | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 1 | 2020-08-12T20:46:15.000Z | 2020-08-12T20:46:15.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... | 30.256757 | 81 | 0.681554 |
54e4b7498550110ac3c9a43a91ee246d029ad469 | 7,855 | c | C | src/guacenc/ffmpeg-compat.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 1,450 | 2017-11-29T07:18:10.000Z | 2022-03-30T04:20:50.000Z | src/guacenc/ffmpeg-compat.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 122 | 2017-12-19T09:17:49.000Z | 2022-03-22T19:58:49.000Z | src/guacenc/ffmpeg-compat.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 431 | 2017-12-05T16:35:42.000Z | 2022-03-31T22:49:20.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 29.419476 | 90 | 0.662126 |
902686a0949cc68b26d5093c2880f7077f355622 | 1,305 | c | C | libft/src/ft_strnstr.c | madvid/42_wolf3d | b55c9baeae50f63870f62db97385d8c1a8374109 | [
"MIT"
] | null | null | null | libft/src/ft_strnstr.c | madvid/42_wolf3d | b55c9baeae50f63870f62db97385d8c1a8374109 | [
"MIT"
] | null | null | null | libft/src/ft_strnstr.c | madvid/42_wolf3d | b55c9baeae50f63870f62db97385d8c1a8374109 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strnstr.c :+: :+: :+: ... | 35.27027 | 80 | 0.233716 |
c2b091817bdf6e58d6f15d21bdd22a31b119db4c | 1,282 | c | C | src/common/tests/path-test.c | 01org/murphy | d9866aaf9c94c086ce84ffedfbad9eea8c53e3f5 | [
"BSD-3-Clause"
] | 10 | 2015-10-25T00:10:27.000Z | 2019-03-25T00:49:43.000Z | src/common/tests/path-test.c | intel/murphy | d9866aaf9c94c086ce84ffedfbad9eea8c53e3f5 | [
"BSD-3-Clause"
] | 6 | 2020-01-09T03:57:18.000Z | 2020-03-02T01:04:56.000Z | src/common/tests/path-test.c | 01org/murphy | d9866aaf9c94c086ce84ffedfbad9eea8c53e3f5 | [
"BSD-3-Clause"
] | 8 | 2015-01-02T05:17:00.000Z | 2018-06-26T11:05:15.000Z | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <murphy/common/file-utils.h>
int main(int argc, char *argv[])
{
int i;
size_t size;
char *p, buf[PATH_MAX];
struct stat ost, nst;
if (argc > 1)... | 25.137255 | 77 | 0.446178 |
0a7776a99282976995ebb1cf6927b145c6cd9fb1 | 643 | h | C | set1/single_byte_xor_cipher.h | guzhoucan/cryptopals | a45280158867a86b5d8c61bf7194277d05abdf14 | [
"MIT"
] | 1 | 2020-08-07T22:38:27.000Z | 2020-08-07T22:38:27.000Z | set1/single_byte_xor_cipher.h | guzhoucan/cryptopals | a45280158867a86b5d8c61bf7194277d05abdf14 | [
"MIT"
] | null | null | null | set1/single_byte_xor_cipher.h | guzhoucan/cryptopals | a45280158867a86b5d8c61bf7194277d05abdf14 | [
"MIT"
] | null | null | null | #ifndef CRYPTOPALS_SET1_SINGLE_BYTE_XOR_CIPHER_H_
#define CRYPTOPALS_SET1_SINGLE_BYTE_XOR_CIPHER_H_
#include <cstdlib>
#include <string>
#include <string_view>
#include <vector>
namespace cryptopals {
struct SingleByteXorPlaintext {
uint8_t key;
std::string plaintext;
double score; // averaged score per chara... | 24.730769 | 78 | 0.807154 |
116c02cf37d01bb72ef5e7e9dddd6829c5049491 | 349 | h | C | include/win.h | manila/tic-tac-toe | 58d7d4e18800f14d64f71c5aad245e043e9e85ab | [
"MIT"
] | null | null | null | include/win.h | manila/tic-tac-toe | 58d7d4e18800f14d64f71c5aad245e043e9e85ab | [
"MIT"
] | null | null | null | include/win.h | manila/tic-tac-toe | 58d7d4e18800f14d64f71c5aad245e043e9e85ab | [
"MIT"
] | null | null | null | #ifndef WIN_H
# define WIN_H
/*
These functions return a truth value (greater than 0)
if there are three set bits in a row
*/
int check_win(BITBOARD bitboard);
int check_win_horizontal(BITBOARD bitboard);
int check_win_verticle(BITBOARD bitboard);
int check_win_diag_right(BITBOARD bitboard);
int check_win_diag_left... | 21.8125 | 54 | 0.799427 |
da938289a198b1187d282b273673d34876192211 | 373 | h | C | src/kernel/fs/buffer.h | cashlisa/mos | 75165d1a63a6aa172001bbd9a1df441ff9c15038 | [
"MIT"
] | 302 | 2019-05-20T12:45:37.000Z | 2022-03-29T07:27:43.000Z | src/kernel/fs/buffer.h | huytd/mos | a9d8f925b87fcc56b94ff5933403f46a3146e1bf | [
"MIT"
] | 12 | 2020-03-27T13:04:53.000Z | 2021-12-07T12:26:29.000Z | src/kernel/fs/buffer.h | huytd/mos | a9d8f925b87fcc56b94ff5933403f46a3146e1bf | [
"MIT"
] | 33 | 2020-04-08T15:40:44.000Z | 2022-03-12T03:26:07.000Z | #ifndef FS_BUFFER_H
#define FS_BUFFER_H
#include <include/types.h>
#include <stdint.h>
// FIXME: MQ 2019-07-16 Is it safe to assume 512 b/s, it's fairly safe for hard disk but CD ROM might use 2048 b/s
#define BYTES_PER_SECTOR 512
char *bread(char *dev_name, sector_t block, uint32_t size);
void bwrite(char *dev_name... | 26.642857 | 114 | 0.75067 |
dd97ba27f6c45e5d3d0b36fc75f4632bd8a49eca | 1,034 | h | C | GrowingTracker/GrowingSwizzle/GrowingSwizzle.h | raojunbo/growingio-sdk-ios-autotracker | e0c6cd62159654fcce11a66b1e004ccae96ec952 | [
"Apache-2.0"
] | 1 | 2021-08-23T13:04:23.000Z | 2021-08-23T13:04:23.000Z | GrowingTracker/GrowingSwizzle/GrowingSwizzle.h | raojunbo/growingio-sdk-ios-autotracker | e0c6cd62159654fcce11a66b1e004ccae96ec952 | [
"Apache-2.0"
] | null | null | null | GrowingTracker/GrowingSwizzle/GrowingSwizzle.h | raojunbo/growingio-sdk-ios-autotracker | e0c6cd62159654fcce11a66b1e004ccae96ec952 | [
"Apache-2.0"
] | null | null | null | //
// GrowingSwizzle.h
// GrowingTrack
//
// Created by GrowingIO on 2020/7/22.
// Copyright (C) 2020 Beijing Yishu Technology 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 Licens... | 32.3125 | 103 | 0.748549 |
ddb2f69c4958b00cd074180d85439c6438609d7f | 1,389 | h | C | CocosBCXWallet/CocosBCXWallet/Toos/CCWEncryptTool/AES128/NSData+AES128.h | zhangxiaozheng/iOSWallet | b195d9d169365bc9ab9943952adf9b5b3669012f | [
"Apache-2.0"
] | 1 | 2019-08-21T15:30:25.000Z | 2019-08-21T15:30:25.000Z | CocosBCXWallet/CocosBCXWallet/Toos/CCWEncryptTool/AES128/NSData+AES128.h | zack3140/iOSWallet | 61663a25691e614e836059e223596e16f912c728 | [
"Apache-2.0"
] | null | null | null | CocosBCXWallet/CocosBCXWallet/Toos/CCWEncryptTool/AES128/NSData+AES128.h | zack3140/iOSWallet | 61663a25691e614e836059e223596e16f912c728 | [
"Apache-2.0"
] | 1 | 2021-03-31T16:28:54.000Z | 2021-03-31T16:28:54.000Z | //
// NSData+AES128.h
// LYTSoketSDKDemo
//
// Created by Shangen Zhang on 2017/9/4.
// Copyright © 2017年 深圳柒壹思诺科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
#define Option_CBC_MODE 0x0001
#define Option_ECB_MODE 0x0002
#define OptionMode uint32_t
@interface NSData (AES128)
/**
AES 16位 加密 ... | 21.369231 | 93 | 0.701944 |
5adc5f0deece7910c4ae680a0b3006dbd1b8decf | 548 | h | C | main.h | Dremora/psxt001z | 141c705a415f1620b7256a1ecf3e43d7454cd61d | [
"MIT"
] | 5 | 2015-12-05T12:34:11.000Z | 2022-01-09T23:32:37.000Z | main.h | Dremora/psxt001z | 141c705a415f1620b7256a1ecf3e43d7454cd61d | [
"MIT"
] | null | null | null | main.h | Dremora/psxt001z | 141c705a415f1620b7256a1ecf3e43d7454cd61d | [
"MIT"
] | 14 | 2015-11-28T02:55:24.000Z | 2022-03-31T15:25:23.000Z | #ifndef __MAIN_H__
#define __MAIN_H__
class crc32{
protected:
unsigned table[256];
public:
unsigned m_crc32;
crc32();
void ProcessCRC(void* pData, register int nLen);
};
void antizektor(s8 * filename);
u8 checksums(int argc, char *argv[]);
void dump();
void generate(u32 argc, s8 * argv[]);
void m3s(s8 * filenam... | 18.896552 | 49 | 0.691606 |
2dfefaf0df15e6d4a299a504be82fcedf198e718 | 2,274 | h | C | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gemm/gemm_kernel_mmad_int8_slm.h | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gemm/gemm_kernel_mmad_int8_slm.h | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 22 | 2021-02-03T12:41:51.000Z | 2022-02-21T13:04:48.000Z | inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/gemm/gemm_kernel_mmad_int8_slm.h | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (c) 2020 Intel Corporation
//
// 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 ag... | 38.542373 | 108 | 0.73175 |
11f6b793f2d222a10dbfb1a0481c1ae2f052e353 | 1,016 | c | C | src/test-apps/ledtape-test1/ledtape.c | ana104-collab/Wacky-Racer-Embedded-Systems | 3a0ef3e75e5ca20a0aceb037306e8de5571602f7 | [
"MIT"
] | null | null | null | src/test-apps/ledtape-test1/ledtape.c | ana104-collab/Wacky-Racer-Embedded-Systems | 3a0ef3e75e5ca20a0aceb037306e8de5571602f7 | [
"MIT"
] | null | null | null | src/test-apps/ledtape-test1/ledtape.c | ana104-collab/Wacky-Racer-Embedded-Systems | 3a0ef3e75e5ca20a0aceb037306e8de5571602f7 | [
"MIT"
] | null | null | null | #include "delay.h"
#include "pio.h"
#ifndef LEDTAPE_PIO
#define LEDTAPE_PIO PA19_PIO
#endif
void ledtape_init (void)
{
pio_config_set (LEDTAPE_PIO, PIO_OUTPUT_LOW);
}
__attribute__((optimize (2)))
__always_inline__
static void ledtape_write_byte (uint8_t byte)
{
int j;
for (j =... | 19.538462 | 52 | 0.541339 |
91e759d992e27b3c4a6c62c1cb7a51394e9e256d | 3,736 | c | C | tests/copper/CopperSplit.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 1 | 2021-05-30T19:48:11.000Z | 2021-05-30T19:48:11.000Z | tests/copper/CopperSplit.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 25 | 2021-04-23T21:02:44.000Z | 2021-08-03T22:15:51.000Z | tests/copper/CopperSplit.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | null | null | null | // OSCopper.e
// Native graphics example using OS friendly copperlist
#include <stdbool.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/intuition.h>
#include <proto/graphics.h>
#include <graphics/gfxbase.h>
#include <graphics/gfxmacros.h>
#include <graphics/copper.h>
#include <graphics/view.h>
#i... | 19.158974 | 147 | 0.661938 |
8109b6ac84d70495551ed491774def82ba4fd070 | 5,442 | h | C | firmware/system/libraries/gpio.h | mfkiwl/tinysdr | 8b77d522eb9c017a8dfbe3b1f75b777ab109b8b2 | [
"MIT"
] | 112 | 2020-02-23T20:51:02.000Z | 2022-03-08T21:10:16.000Z | firmware/system/libraries/gpio.h | mfkiwl/tinysdr | 8b77d522eb9c017a8dfbe3b1f75b777ab109b8b2 | [
"MIT"
] | null | null | null | firmware/system/libraries/gpio.h | mfkiwl/tinysdr | 8b77d522eb9c017a8dfbe3b1f75b777ab109b8b2 | [
"MIT"
] | 12 | 2020-06-18T06:12:57.000Z | 2022-01-24T08:53:44.000Z | /*
_____ _ _____ ______ ______
|_ _|(_) / ___|| _ \| ___ \
| | _ _ __ _ _ \ `--. | | | || |_/ /
| | | || '_ \ | | | | `--. \| | | || /
| | | || | | || |_| |/\__/ /| |/ / | |\ \
\_/ |_||_| |_| \__, |\____/ |___/ \_| \_|
__/ |
|... | 33.182927 | 89 | 0.620728 |
87aff03c93fb918cd9386a8c9b536034b36cc7fc | 1,227 | c | C | src/codegen/lib/UpdateThetaBetaAprx_LargeData/xrot.c | Emory-CBIS/HINT | b3e5113671aa447ec60e102229480db2e9ec5cf2 | [
"MIT"
] | 5 | 2019-11-20T13:31:26.000Z | 2021-05-17T20:00:50.000Z | src/codegen/lib/UpdateThetaBetaAprx_LargeData/xrot.c | Emory-CBIS/HINT | b3e5113671aa447ec60e102229480db2e9ec5cf2 | [
"MIT"
] | 17 | 2018-11-15T20:34:20.000Z | 2022-03-25T16:29:38.000Z | src/codegen/lib/UpdateThetaBetaAprx_LargeData/xrot.c | Emory-CBIS/HINT | b3e5113671aa447ec60e102229480db2e9ec5cf2 | [
"MIT"
] | 2 | 2018-11-15T20:45:15.000Z | 2020-01-03T03:24:33.000Z | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* xrot.c
*
* Code generation for function 'xrot'
*
*/
/* Include files */
#include "rt_nonfinite.h"
#include... | 21.155172 | 76 | 0.537082 |
4033ac6fcb9bf29999a1c059eedaf8b8f8eb19d6 | 728 | h | C | source/App/EnmPgEtCutoffPage.h | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | source/App/EnmPgEtCutoffPage.h | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | source/App/EnmPgEtCutoffPage.h | Borrk/Enzyme-labeled-instrument | a7c8f4459511c774f7e0c4fee1fe05baf1ae2a5f | [
"MIT"
] | null | null | null | // EnmPgEtCutoffPage.h: interface for the CEnmPgEtCutoffPage class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __EnmPgEtCutoffPage_H
#define __EnmPgEtCutoffPage_H
#include "EnmBasePage.hpp"
class CEnmPgEtCutoffPage : public CEnmBasePage
{
typedef CEnmBasePage inherited;
p... | 19.157895 | 70 | 0.673077 |
7b40db911c6c2e3a98a5fdf95d52fc393b0181bb | 52 | h | C | I2C_LCD1602/delay.h | wang19930902/stm32f103c8t6_example | 76b1c6e02c2aef779cac9ebf708889c2f8d5708d | [
"MIT"
] | null | null | null | I2C_LCD1602/delay.h | wang19930902/stm32f103c8t6_example | 76b1c6e02c2aef779cac9ebf708889c2f8d5708d | [
"MIT"
] | null | null | null | I2C_LCD1602/delay.h | wang19930902/stm32f103c8t6_example | 76b1c6e02c2aef779cac9ebf708889c2f8d5708d | [
"MIT"
] | null | null | null | void Delay(uint32_t ms);
void DelayMC(uint32_t mc);
| 17.333333 | 26 | 0.769231 |
f41ffe47bbeffc8747fe50931aac1d71e9dec26c | 175 | c | C | genlib/delput.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 40 | 2015-01-14T20:52:42.000Z | 2022-03-09T00:50:45.000Z | genlib/delput.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 20 | 2015-01-26T19:02:59.000Z | 2022-01-30T18:00:39.000Z | genlib/delput.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 14 | 2015-01-14T20:52:43.000Z | 2021-09-24T02:24:32.000Z | /* put value in delay line. See delset. x is float */
void
delput(float x, float *a, int *l)
{
int index = l[0];
a[index] = x;
l[0]++;
if (l[0] >= l[2])
l[0] -= l[2];
}
| 15.909091 | 53 | 0.52 |
3c719c72a3c777c425b0d40fc2c5b563e875c53b | 200 | h | C | Source/FSDEngine/Public/EFNRotationType3D.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSDEngine/Public/EFNRotationType3D.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSDEngine/Public/EFNRotationType3D.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | #pragma once
#include "CoreMinimal.h"
#include "EFNRotationType3D.generated.h"
UENUM(BlueprintType)
enum class EFNRotationType3D : uint8 {
NONE,
IMPROVE_XY_PLANES,
IMPROVE_XZ_PLANES,
};
| 16.666667 | 40 | 0.75 |
bc7c2096ca5a25a8dc89819b011fde6fb59fd60a | 7,356 | h | C | lib/djvSystem/FileInfo.h | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 456 | 2018-10-06T00:07:14.000Z | 2022-03-31T06:14:22.000Z | lib/djvSystem/FileInfo.h | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 438 | 2018-10-31T15:05:51.000Z | 2022-03-31T09:01:24.000Z | lib/djvSystem/FileInfo.h | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 54 | 2018-10-29T10:18:36.000Z | 2022-03-23T06:56:11.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2004-2020 Darby Johnston
// All rights reserved.
#pragma once
#include <djvSystem/Path.h>
#include <djvMath/FrameNumber.h>
#include <djvCore/Enum.h>
#include <djvCore/RapidJSON.h>
#include <set>
#include <sstream>
#include <sys/types.h>
#if defined(DJV_PL... | 33.898618 | 124 | 0.49565 |
29688e1d1d45db86e0672d5795687208902cd4ba | 547 | h | C | engine/src/common/pixelboost/db/entity.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | 6 | 2015-04-21T11:30:52.000Z | 2020-04-29T00:10:04.000Z | engine/src/common/pixelboost/db/entity.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | engine/src/common/pixelboost/db/entity.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include "glm/glm.hpp"
#include "pixelboost/db/struct.h"
namespace pb
{
class DbEntity : public DbStruct
{
public:
DbEntity(Uid uid, Uid type, DbStructData* data);
virtual ~DbEntity();
void Load();
const glm::vec3& Get... | 17.645161 | 56 | 0.552102 |
5d4cf7eb8272c1823cdb6f75d4af97991f6d4036 | 1,307 | h | C | PyCommon/modules/Renderer/csVpRenderer.h | snumrl/DataDrivenBipedController | 68ecaa17790ebf3039ae8c0b91d21fab4829bb8c | [
"Apache-2.0",
"MIT"
] | 7 | 2018-08-17T10:25:56.000Z | 2021-09-01T11:28:56.000Z | PyCommon/modules/Renderer/csVpRenderer.h | snumrl/DataDrivenBipedController | 68ecaa17790ebf3039ae8c0b91d21fab4829bb8c | [
"Apache-2.0",
"MIT"
] | null | null | null | PyCommon/modules/Renderer/csVpRenderer.h | snumrl/DataDrivenBipedController | 68ecaa17790ebf3039ae8c0b91d21fab4829bb8c | [
"Apache-2.0",
"MIT"
] | 5 | 2017-01-05T09:22:58.000Z | 2021-07-26T15:13:19.000Z | // +-------------------------------------------------------------------------
// | csVpRenderer.h
// |
// | Author: Yoonsang Lee
// +-------------------------------------------------------------------------
// | COPYRIGHT:
// | Copyright Yoonsang Lee 2013
// | See the included COPYRIGHT.txt file for furthe... | 30.395349 | 107 | 0.566182 |
b671fcd8b7585ec90ab5c80e1d09ddb4948a7f9e | 8,915 | c | C | i2c.c | jreyesr/yarrrduino | a1d5fc52992344ae5861e6eb8007d1abc2c87a94 | [
"CC0-1.0"
] | null | null | null | i2c.c | jreyesr/yarrrduino | a1d5fc52992344ae5861e6eb8007d1abc2c87a94 | [
"CC0-1.0"
] | null | null | null | i2c.c | jreyesr/yarrrduino | a1d5fc52992344ae5861e6eb8007d1abc2c87a94 | [
"CC0-1.0"
] | null | null | null | #include "i2c.h"
#ifdef BP_ENABLE_I2C_SUPPORT
#include "aux_pin.h"
#include "base.h"
#include "bitbang.h"
#include "core.h"
#include "proc_menu.h"
/**
Use a software I2C communication implementation
*/
#define I2C_TYPE_SOFTWARE 0
/**
Use the built-in hardware I2C communication implementation
*/
#define I2C_TY... | 22.012346 | 78 | 0.668761 |
5e5494223f42164e0bc8d406419a81957f32055e | 180 | h | C | SwiftLearn/SwiftDemo/SwiftDemo/Common.h | 1457792186/JWSwift | 1e2a0e1c43df4c7b168608f3da1df613eb7c9faa | [
"Apache-2.0"
] | null | null | null | SwiftLearn/SwiftDemo/SwiftDemo/Common.h | 1457792186/JWSwift | 1e2a0e1c43df4c7b168608f3da1df613eb7c9faa | [
"Apache-2.0"
] | null | null | null | SwiftLearn/SwiftDemo/SwiftDemo/Common.h | 1457792186/JWSwift | 1e2a0e1c43df4c7b168608f3da1df613eb7c9faa | [
"Apache-2.0"
] | null | null | null | //
// Common.h
// SwiftDemo
//
// Created by apple on 17/5/4.
// Copyright © 2017年 UgoMedia. All rights reserved.
//
#ifndef Common_h
#define Common_h
#endif /* Common_h */
| 12.857143 | 52 | 0.644444 |
16f41d4709747c8f2e9bbd6317d7df9cb4e1a0c8 | 396 | h | C | RubetekIOS-CPP.framework/Versions/A/Headers/imc/cl/ihap_constants.h | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/imc/cl/ihap_constants.h | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/imc/cl/ihap_constants.h | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef ihap_CONSTANTS_H
#define ihap_CONSTANTS_H
#include "ihap_types.h"
namespace rubetek { namespace proto { namespace ihap {
class ihapConstants {
public:
ihapConstants();
... | 15.84 | 67 | 0.727273 |
229b5ba332f363f641c5e1259029adfcca040f02 | 327 | h | C | openkit/libproj/OpenKit/OKAchievementsListVC.h | hyukjae87/robovm-ios-bindings | 7c359f0a4644a9181920fbb8309f9057c35b8f42 | [
"Apache-2.0"
] | 7 | 2015-02-01T07:47:54.000Z | 2021-09-21T16:42:32.000Z | openkit/libproj/OpenKit/OKAchievementsListVC.h | hyukjae87/robovm-ios-bindings | 7c359f0a4644a9181920fbb8309f9057c35b8f42 | [
"Apache-2.0"
] | 3 | 2016-08-26T21:29:21.000Z | 2021-05-03T20:33:44.000Z | openkit/libproj/OpenKit/OKAchievementsListVC.h | hyukjae87/robovm-ios-bindings | 7c359f0a4644a9181920fbb8309f9057c35b8f42 | [
"Apache-2.0"
] | 1 | 2017-05-28T17:08:04.000Z | 2017-05-28T17:08:04.000Z | //
// OKAchievementsListVC.h
// OpenKit
//
// Created by Suneet Shah on 12/11/13.
// Copyright (c) 2013 OpenKit. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface OKAchievementsListVC : UIViewController<UITableViewDataSource, UITableViewDelegate>
@property (nonatomic, strong) NSArray *achievementsList;
... | 19.235294 | 94 | 0.746177 |
660b3c244ad5f489ef9bf3bc706ba33ed72c37b9 | 4,470 | h | C | src/thirdparty/boost_python_stdout.h | craftyjon/firelight | 3ea9fa16ece48fd68716b486b08b3fc9a2fa84a2 | [
"CC-BY-4.0"
] | 1 | 2018-01-05T14:40:20.000Z | 2018-01-05T14:40:20.000Z | src/thirdparty/boost_python_stdout.h | craftyjon/firelight | 3ea9fa16ece48fd68716b486b08b3fc9a2fa84a2 | [
"CC-BY-4.0"
] | null | null | null | src/thirdparty/boost_python_stdout.h | craftyjon/firelight | 3ea9fa16ece48fd68716b486b08b3fc9a2fa84a2 | [
"CC-BY-4.0"
] | null | null | null | // Adapted from emb.cpp
// Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
//
// Blog article: http://mateusz.loskot.net/?p=2819
#ifndef _BOOST_PYTHON_STDOUT_H
#define _BOOST_PYTHON_STDOUT_H
#include <string>
... | 23.160622 | 82 | 0.527964 |
06bc44a09a22cb36299b72117697069aa99dffc6 | 855 | h | C | 3.15/src/libCom/osi/epicsSpin.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | 3.15/src/libCom/osi/epicsSpin.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | 3.15/src/libCom/osi/epicsSpin.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | /*************************************************************************\
* Copyright (c) 2012 Helmholtz-Zentrum Berlin
* fuer Materialien und Energie GmbH.
* Copyright (c) 2012 ITER Organization.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with thi... | 26.71875 | 75 | 0.65848 |
7905e07b9841e1a2747bf29a1b57433a24682e45 | 7,455 | h | C | NS3-master/src/lte/model/epc-sgw-application.h | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | 1 | 2021-09-20T07:05:25.000Z | 2021-09-20T07:05:25.000Z | NS3-master/src/lte/model/epc-sgw-application.h | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | null | null | null | NS3-master/src/lte/model/epc-sgw-application.h | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | 2 | 2021-09-02T08:25:16.000Z | 2022-01-03T08:48:38.000Z | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2017-2018 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by th... | 26.816547 | 89 | 0.691214 |
0586556b4cc1bf3bfdc8184d4ec551cfa64118a2 | 552 | h | C | components/qtmaterialappbar_p.h | mtimaj/qt-material-widgets | cf10616230eb1e1f63f8608b4e49645688e0f315 | [
"BSD-3-Clause"
] | 1,558 | 2016-03-28T08:24:06.000Z | 2022-03-31T10:24:55.000Z | components/qtmaterialappbar_p.h | mtimaj/qt-material-widgets | cf10616230eb1e1f63f8608b4e49645688e0f315 | [
"BSD-3-Clause"
] | 39 | 2016-04-25T07:06:23.000Z | 2022-03-20T11:04:11.000Z | components/qtmaterialappbar_p.h | mtimaj/qt-material-widgets | cf10616230eb1e1f63f8608b4e49645688e0f315 | [
"BSD-3-Clause"
] | 426 | 2016-03-28T08:23:26.000Z | 2022-03-30T01:48:41.000Z | #ifndef QTMATERIALAPPBAR_P_H
#define QTMATERIALAPPBAR_P_H
#include <QtGlobal>
#include <QColor>
class QtMaterialAppBar;
class QtMaterialAppBarPrivate
{
Q_DISABLE_COPY(QtMaterialAppBarPrivate)
Q_DECLARE_PUBLIC(QtMaterialAppBar)
public:
QtMaterialAppBarPrivate(QtMaterialAppBar *q);
~QtMaterialAppBarPr... | 20.444444 | 49 | 0.699275 |
f95e60cb69cab1af370ac28e7c1ab292fd307e7f | 146 | h | C | Example/Pods/Target Support Files/AZBannerView/AZBannerView-umbrella.h | windless/AZBannerView | aae5b6aeeb668518bc4064ba067527960ed603cf | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/AZBannerView/AZBannerView-umbrella.h | windless/AZBannerView | aae5b6aeeb668518bc4064ba067527960ed603cf | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/AZBannerView/AZBannerView-umbrella.h | windless/AZBannerView | aae5b6aeeb668518bc4064ba067527960ed603cf | [
"MIT"
] | null | null | null | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double AZBannerViewVersionNumber;
FOUNDATION_EXPORT const unsigned char AZBannerViewVersionString[];
| 20.857143 | 66 | 0.849315 |
a7ad768504dd2bc46e20a20287bcd95e05d478a8 | 224 | h | C | src/oledfont.h | lukehiga/oled_gui | 4bc524b873ead2020ef0f3148971ac413ed358f1 | [
"MIT"
] | null | null | null | src/oledfont.h | lukehiga/oled_gui | 4bc524b873ead2020ef0f3148971ac413ed358f1 | [
"MIT"
] | null | null | null | src/oledfont.h | lukehiga/oled_gui | 4bc524b873ead2020ef0f3148971ac413ed358f1 | [
"MIT"
] | 1 | 2020-04-29T09:53:16.000Z | 2020-04-29T09:53:16.000Z | #ifndef _OLEDFONT_
#define _OLEDFONT_
#include <avr/pgmspace.h>
#define FONT_PIXEL_WIDTH 5
#define FONT_PIXEL_HEIGHT 8
#define ASCII_OFFSET 32
#define MAX_CHARS 94
extern const int8_t font_bytes[];
#endif | 14.933333 | 34 | 0.745536 |
d5d3a620e19843e270b1f63950612cb6ddd5ec27 | 782 | h | C | endpoints/mongodb/mongodb_endpoint.h | gdshaw/libholmes-horace | 6a7d8365f01e165853fc967ce8eae45b82102fdf | [
"BSD-3-Clause"
] | null | null | null | endpoints/mongodb/mongodb_endpoint.h | gdshaw/libholmes-horace | 6a7d8365f01e165853fc967ce8eae45b82102fdf | [
"BSD-3-Clause"
] | null | null | null | endpoints/mongodb/mongodb_endpoint.h | gdshaw/libholmes-horace | 6a7d8365f01e165853fc967ce8eae45b82102fdf | [
"BSD-3-Clause"
] | null | null | null | // This file is part of libholmes.
// Copyright 2019 Graham Shaw
// Redistribution and modification are permitted within the terms of the
// BSD-3-Clause licence as defined by v3.4 of the SPDX Licence List.
#ifndef LIBHOLMES_HORACE_MONGODB_ENDPOINT
#define LIBHOLMES_HORACE_MONGODB_ENDPOINT
#include "horace/endpoint.h... | 25.225806 | 72 | 0.7711 |
41346474cde303c68b293e64dae6f258d7786199 | 2,684 | h | C | source/engine/components/component_physics.h | biomorphs/lean | b28dac32b3aea0f0cf65e396a265c7b99aeb1fb0 | [
"MIT"
] | 1 | 2021-06-15T04:38:49.000Z | 2021-06-15T04:38:49.000Z | source/engine/components/component_physics.h | biomorphs/lean | b28dac32b3aea0f0cf65e396a265c7b99aeb1fb0 | [
"MIT"
] | null | null | null | source/engine/components/component_physics.h | biomorphs/lean | b28dac32b3aea0f0cf65e396a265c7b99aeb1fb0 | [
"MIT"
] | null | null | null | #pragma once
#include "entity/component.h"
#include "core/glm_headers.h"
#include "engine/physics_handle.h"
namespace physx
{
class PxRigidActor;
}
namespace Engine
{
class DebugGuiSystem;
class DebugRender;
}
class Physics
{
public:
Physics();
~Physics();
Physics(Physics&&) = default;
Physics& operator=(Phy... | 31.209302 | 107 | 0.736587 |
4171a365aa172f09c22f7d360c7fc83428fa7e20 | 6,038 | h | C | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/inputmethodservice/CExtractEditLayout.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/inputmethodservice/CExtractEditLayout.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/inputmethodservice/CExtractEditLayout.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 27.321267 | 101 | 0.604339 |
5726dcdd3930346fb23a8eae0f2de0a017078a6f | 7,714 | h | C | sr/lsri/include/signal.h | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | 2 | 2018-03-01T13:45:41.000Z | 2018-03-01T14:11:47.000Z | src.clean/include/signal.h | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | src.clean/include/signal.h | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | /* The <signal.h> header defines all the ANSI and POSIX signals.
* MINIX supports all the signals required by POSIX. They are defined below.
* Some additional signals are also supported.
*/
#ifndef _SIGNAL_H
#define _SIGNAL_H
#ifndef _ANSI_H
#include <ansi.h>
#endif
#ifdef _POSIX_SOURCE
#ifndef _TYPES_... | 40.814815 | 80 | 0.650246 |
b62e815aaeaad5c080e231de561458cf2f158d45 | 46,998 | c | C | core/mem.c | kgllewellyn/shoebill | d276b9501829dbd4e070d88f6043a0af3abf1d95 | [
"BSD-2-Clause"
] | 255 | 2015-01-28T05:04:51.000Z | 2022-03-25T17:32:47.000Z | core/mem.c | aristocratos/shoebill | 2b4768daee2227cf19e9556c73afd318f0e8bf8c | [
"BSD-2-Clause"
] | 13 | 2015-05-08T03:31:34.000Z | 2021-07-19T07:06:36.000Z | core/mem.c | aristocratos/shoebill | 2b4768daee2227cf19e9556c73afd318f0e8bf8c | [
"BSD-2-Clause"
] | 63 | 2015-02-09T17:12:53.000Z | 2022-03-09T04:32:46.000Z | /*
* Copyright (c) 2013, Peter Rutenbar <pruten@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this... | 30.458846 | 119 | 0.608834 |
47c77ba9ac84793ff5c0416b3dbf7ef21a2ad6f7 | 211 | h | C | ZHDatePicker/ViewController.h | zhhlmr/ZHDatePicker | 9b65f24090b6d6610f2fa3fd906e068ab74c4bd0 | [
"MIT"
] | 7 | 2016-04-30T04:51:32.000Z | 2021-03-16T06:47:50.000Z | ZHDatePicker/ViewController.h | zhhlmr/ZHDatePicker | 9b65f24090b6d6610f2fa3fd906e068ab74c4bd0 | [
"MIT"
] | 1 | 2017-07-19T15:03:47.000Z | 2017-07-21T06:53:57.000Z | ZHDatePicker/ViewController.h | zhhlmr/ZHDatePicker | 9b65f24090b6d6610f2fa3fd906e068ab74c4bd0 | [
"MIT"
] | 3 | 2016-04-30T04:51:32.000Z | 2016-07-11T10:45:32.000Z | //
// ViewController.h
// ZHDatePicker
//
// Created by heyz3a on 16/4/19.
// Copyright © 2016年 heyz3a. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 13.1875 | 50 | 0.687204 |
df8c4cdcf69e7049e7ef654fd868ddb0049e9e90 | 857 | c | C | algoritmi/esercizi/2021-11-12/notazione/infissa_to_postfissa.c | Daniele001/university | 86c216ec0122863d4a20ba45c3a97019d0253409 | [
"MIT"
] | null | null | null | algoritmi/esercizi/2021-11-12/notazione/infissa_to_postfissa.c | Daniele001/university | 86c216ec0122863d4a20ba45c3a97019d0253409 | [
"MIT"
] | null | null | null | algoritmi/esercizi/2021-11-12/notazione/infissa_to_postfissa.c | Daniele001/university | 86c216ec0122863d4a20ba45c3a97019d0253409 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "../item/item.h"
#include "../stack/stack.h"
int main() {
char ch;
while((ch = getchar()) != '\n') {
char *str = malloc(2 * sizeof(char));
str[1] = '\0';
if(isdigit(ch)) {
*str = ch;
... | 20.404762 | 45 | 0.334889 |
f175f29ef137489cde3fcd00316de1ac67802b3f | 449 | c | C | bsearch.c | gonearewe/C-Learning | a107eea96edda1e0f54adde83e91c90f32b910c7 | [
"MIT"
] | null | null | null | bsearch.c | gonearewe/C-Learning | a107eea96edda1e0f54adde83e91c90f32b910c7 | [
"MIT"
] | null | null | null | bsearch.c | gonearewe/C-Learning | a107eea96edda1e0f54adde83e91c90f32b910c7 | [
"MIT"
] | null | null | null | /* bsearch example */
#include <stdio.h>
#include <stdlib.h>
int cmp (const void * a, const void * b)
{
return ( *(int*)a - *(int*)b );
}
int values[] = { 10, 20, 25, 40, 90, 100 };
int main ()
{
int * pItem;
int key = 40;
pItem = (int*) bsearch (&key, values, 6, sizeof (int), cmp);
if (pItem!=NULL)
... | 20.409091 | 62 | 0.556793 |
47f0aa128ed25909a5f6464f4cc1c21846c0e1a8 | 777 | h | C | LearnDemo/LearnDemo/HcdGuideView/HcdGuideViewManager.h | Gaolili/GuideToolDemo | f629a8c7bd48d7da12b3d2a8a4b869d7a76bf2ce | [
"MIT"
] | null | null | null | LearnDemo/LearnDemo/HcdGuideView/HcdGuideViewManager.h | Gaolili/GuideToolDemo | f629a8c7bd48d7da12b3d2a8a4b869d7a76bf2ce | [
"MIT"
] | null | null | null | LearnDemo/LearnDemo/HcdGuideView/HcdGuideViewManager.h | Gaolili/GuideToolDemo | f629a8c7bd48d7da12b3d2a8a4b869d7a76bf2ce | [
"MIT"
] | null | null | null | //
// HcdGuideViewManager.h
// HcdGuideViewDemo
//
// Created by polesapp-hcd on 16/7/12.
// Copyright © 2016年 Polesapp. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface HcdGuideViewManager : UIViewController
/**
* 创建单例模式
*
* @return 单例
*/
+ (instancetype)sharedI... | 21 | 63 | 0.656371 |
a8a91390bd2ec0db7a72611a3b7cb6717905de89 | 3,721 | h | C | include/thread_binding.h | eth-cscs/DLA-interface | 78e24b875601e8830df7bfac18d2f47de39acb9b | [
"BSD-3-Clause"
] | 9 | 2018-05-14T12:31:07.000Z | 2022-01-14T10:09:27.000Z | include/thread_binding.h | eth-cscs/DLA-interface | 78e24b875601e8830df7bfac18d2f47de39acb9b | [
"BSD-3-Clause"
] | 42 | 2018-01-23T13:17:04.000Z | 2022-02-25T13:47:02.000Z | include/thread_binding.h | eth-cscs/DLA-interface | 78e24b875601e8830df7bfac18d2f47de39acb9b | [
"BSD-3-Clause"
] | 2 | 2018-04-27T07:33:47.000Z | 2019-04-11T14:06:56.000Z | #ifndef DLA_INTERFACE_THREAD_BINDING_H
#define DLA_INTERFACE_THREAD_BINDING_H
#ifdef DLAI_WITH_HWLOC
#include <hwloc.h>
#endif
#include <cstdlib>
#include <iostream>
#include <string>
namespace dla_interface {
namespace thread {
#ifdef DLAI_WITH_HWLOC
class CpuSet {
public:
CpuSet() : cpuset_(hwloc... | 23.550633 | 77 | 0.58237 |
4dcbea8b7c33ea567956fde58942228307de46d0 | 167 | h | C | TianmushanV1.1/Tianmushan/Classs/EditTemplate/SZCalendarPicker/TimeItem.h | jzxyouok/Tianmushan | 5f9f7c225b94a4d860039da4a903ac3a8dbbcdc7 | [
"Apache-2.0"
] | 2 | 2019-06-24T10:26:09.000Z | 2021-07-30T09:34:26.000Z | TianmushanV1.1/Tianmushan/Classs/EditTemplate/SZCalendarPicker/TimeItem.h | jzxyouok/Tianmushan | 5f9f7c225b94a4d860039da4a903ac3a8dbbcdc7 | [
"Apache-2.0"
] | null | null | null | TianmushanV1.1/Tianmushan/Classs/EditTemplate/SZCalendarPicker/TimeItem.h | jzxyouok/Tianmushan | 5f9f7c225b94a4d860039da4a903ac3a8dbbcdc7 | [
"Apache-2.0"
] | null | null | null |
#import <UIKit/UIKit.h>
@interface TimeItem : UICollectionViewCell
@property (nonatomic, strong) NSString *hour;
@property (nonatomic, assign) BOOL isSelect;
@end
| 16.7 | 45 | 0.760479 |
9e2fad9ce5e0f74563ba28958aa45ca4d2b550d5 | 2,327 | h | C | src/runtime_src/xdp/profile/plugin/hal_api_interface/xdp_api_interface.h | AlphaBu/XRT | 72d34d637d3292e56871f9384888e6aed73b5969 | [
"Apache-2.0"
] | 1 | 2020-09-24T09:43:25.000Z | 2020-09-24T09:43:25.000Z | src/runtime_src/xdp/profile/plugin/hal_api_interface/xdp_api_interface.h | AlphaBu/XRT | 72d34d637d3292e56871f9384888e6aed73b5969 | [
"Apache-2.0"
] | 11 | 2018-10-04T23:12:51.000Z | 2018-12-03T05:46:55.000Z | src/runtime_src/xdp/profile/plugin/hal_api_interface/xdp_api_interface.h | AlphaBu/XRT | 72d34d637d3292e56871f9384888e6aed73b5969 | [
"Apache-2.0"
] | 3 | 2021-03-12T00:39:52.000Z | 2021-03-25T20:42:22.000Z | /**
* Copyright (C) 2016-2020 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 28.378049 | 76 | 0.713795 |
9e630ead2fd18dee7e77a7cda930cb644049bde2 | 2,079 | h | C | src/include/R-libproj/wkt2_parser.h | jeroen/libproj | 993fc4f3531a7f902a7e518c4ce7b6d12ddd5c47 | [
"MIT"
] | 12 | 2020-08-06T07:08:24.000Z | 2021-10-06T15:08:21.000Z | src/include/R-libproj/wkt2_parser.h | jeroen/libproj | 993fc4f3531a7f902a7e518c4ce7b6d12ddd5c47 | [
"MIT"
] | 19 | 2020-08-11T15:44:19.000Z | 2022-01-16T00:06:03.000Z | src/include/R-libproj/wkt2_parser.h | jeroen/libproj | 993fc4f3531a7f902a7e518c4ce7b6d12ddd5c47 | [
"MIT"
] | 2 | 2020-08-07T02:32:32.000Z | 2020-08-27T10:57:21.000Z | /******************************************************************************
* Project: PROJ
* Purpose: WKT2 parser grammar
* Author: Even Rouault, <even.rouault at spatialys.com>
*
******************************************************************************
* Copyright (c) 2018 Even Rouault, <even.rouau... | 37.8 | 79 | 0.683502 |
961ed5d2d175e0b93bd7521cbcdf0ec5028d941d | 15,144 | h | C | play-core-native-sdk/include/play/asset_pack.h | TeikyungKim/native-gamepad | 899ebdc4115a11d8a3539e19f71a5db73b3c7dc9 | [
"Apache-2.0"
] | null | null | null | play-core-native-sdk/include/play/asset_pack.h | TeikyungKim/native-gamepad | 899ebdc4115a11d8a3539e19f71a5db73b3c7dc9 | [
"Apache-2.0"
] | null | null | null | play-core-native-sdk/include/play/asset_pack.h | TeikyungKim/native-gamepad | 899ebdc4115a11d8a3539e19f71a5db73b3c7dc9 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC
//
// The Play Core Native SDK is licensed to you under the Play Core Software
// Development Kit Terms of Service -
// https://developer.android.com/guide/playcore/license.
// By using the Play Core Native SDK, you agree to the Play Core Software
// Development Kit Terms of Service.
#ifnd... | 41.950139 | 80 | 0.763339 |
9644db0753ad3db8f2dbfa2090b0792123bc919c | 1,348 | h | C | src/xenia/gpu/gl4/gl4_graphics_system.h | Hevmo79/ninja- | d35ee68d678935f230a4461099fca8523ede5aa5 | [
"BSD-3-Clause"
] | 1 | 2016-12-28T08:15:30.000Z | 2016-12-28T08:15:30.000Z | src/xenia/gpu/gl4/gl4_graphics_system.h | Hevmo79/ninja- | d35ee68d678935f230a4461099fca8523ede5aa5 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/gpu/gl4/gl4_graphics_system.h | Hevmo79/ninja- | d35ee68d678935f230a4461099fca8523ede5aa5 | [
"BSD-3-Clause"
] | 1 | 2021-03-30T08:41:12.000Z | 2021-03-30T08:41:12.000Z | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... | 29.304348 | 79 | 0.570475 |
fde8167f37530c038f5f738226e7e975c9e1377c | 639 | h | C | hashtable/libcuckoo.h | WqyJh/libhashtable | deddc946419d2a9b16235ee92f60f0100e5e6fa3 | [
"MIT"
] | null | null | null | hashtable/libcuckoo.h | WqyJh/libhashtable | deddc946419d2a9b16235ee92f60f0100e5e6fa3 | [
"MIT"
] | null | null | null | hashtable/libcuckoo.h | WqyJh/libhashtable | deddc946419d2a9b16235ee92f60f0100e5e6fa3 | [
"MIT"
] | null | null | null |
#ifndef _LIBCUCKOO_HASH_H_
#define _LIBCUCKOO_HASH_H_
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct cuckoo_hash;
struct cuckoo_hash *cuckoo_hash_create(int capacity);
void cuckoo_hash_free(struct cuckoo_hash *h);
bool cuckoo_hash_insert(struct cuckoo_hash *h, const void *... | 20.612903 | 98 | 0.774648 |
ca6cf1ba4b57a956d3bdcafc47af8b2025451033 | 3,047 | h | C | tests/binutils-2.30/src/include/aout/dynix3.h | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | null | null | null | tests/binutils-2.30/src/include/aout/dynix3.h | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | null | null | null | tests/binutils-2.30/src/include/aout/dynix3.h | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | null | null | null | /* a.out specifics for Sequent Symmetry running Dynix 3.x
Copyright (C) 2001-2018 Free Software Foundation, Inc.
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 L... | 34.625 | 82 | 0.689859 |
a6162930d6757e4d890c72e01b1977e7a043ce7a | 931 | h | C | externals/LuaCore.framework/Versions/A/Headers/LCLuaFoundation.h | AlloSphere-Research-Group/DeviceServer | 6c7e55f445d30c646bdf6d124f68823564af60d0 | [
"MIT"
] | null | null | null | externals/LuaCore.framework/Versions/A/Headers/LCLuaFoundation.h | AlloSphere-Research-Group/DeviceServer | 6c7e55f445d30c646bdf6d124f68823564af60d0 | [
"MIT"
] | null | null | null | externals/LuaCore.framework/Versions/A/Headers/LCLuaFoundation.h | AlloSphere-Research-Group/DeviceServer | 6c7e55f445d30c646bdf6d124f68823564af60d0 | [
"MIT"
] | null | null | null |
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
extern int luaToNSString (lua_State *lua);
extern int nsToLuaString (lua_State *lua);
extern int luaToNSRange(lua_State *lua);
extern int nsToLuaRange(lua_State *lua);
extern int luaToNSPoint(lua_... | 23.871795 | 58 | 0.769066 |
e77d7bc68510a36fb839fec6be507db96e6d6503 | 3,372 | h | C | naoqi_driver/src/naoqi_joints_analyzer.h | k-okada/naoqi_bridge | adc7e0484edf324f1f21016664b7c5b30ad81dc9 | [
"BSD-3-Clause"
] | null | null | null | naoqi_driver/src/naoqi_joints_analyzer.h | k-okada/naoqi_bridge | adc7e0484edf324f1f21016664b7c5b30ad81dc9 | [
"BSD-3-Clause"
] | null | null | null | naoqi_driver/src/naoqi_joints_analyzer.h | k-okada/naoqi_bridge | adc7e0484edf324f1f21016664b7c5b30ad81dc9 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2011 Stefan Osswald, University of Freiburg
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... | 39.209302 | 147 | 0.742289 |
b77abf5e459cf1e76fe89167a8d6dad02cf19a2a | 2,638 | h | C | Analyzer/Link.h | jambolo/Sudoku | 786499bfd6a8c948e91a1cfff7d65d38330b9efb | [
"MIT"
] | 1 | 2021-12-24T07:29:41.000Z | 2021-12-24T07:29:41.000Z | Analyzer/Link.h | jambolo/Sudoku | 786499bfd6a8c948e91a1cfff7d65d38330b9efb | [
"MIT"
] | 1 | 2021-12-24T07:45:37.000Z | 2021-12-24T08:40:57.000Z | Analyzer/Link.h | jambolo/Sudoku | 786499bfd6a8c948e91a1cfff7d65d38330b9efb | [
"MIT"
] | null | null | null | #if !defined(ANALYZER_LINK_H_INCLUDED)
#define ANALYZER_LINK_H_INCLUDED 1
#pragma once
#include "Candidates.h"
#include <vector>
namespace Link
{
// In the solution, (*i0 == v0) ^ (*i1 == v1)
// Note that if i0 == i1, then v0 != v1 (the cell is a bi-value)
class Strong
{
public:
using List = std::vector<Strong>;
... | 35.173333 | 99 | 0.598939 |
2be878f3908b271a84580154e3a4b093abdc89ac | 657 | h | C | DataCollector/mozilla/xulrunner-sdk/include/mozilla/jsipc/CpowHolder.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | 1 | 2016-04-20T08:35:44.000Z | 2016-04-20T08:35:44.000Z | DataCollector/mozilla/xulrunner-sdk/include/mozilla/jsipc/CpowHolder.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | DataCollector/mozilla/xulrunner-sdk/include/mozilla/jsipc/CpowHolder.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sw=4 et tw=80:
*
* 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/. */
#i... | 25.269231 | 80 | 0.709285 |
ffe86fc534e5949f2df434987455a734426cb0b0 | 716 | h | C | src/phreeqcpp/Dictionary.h | AbelHeinsbroek/VIPhreeqc | 30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604 | [
"Apache-2.0"
] | 5 | 2017-08-07T19:35:30.000Z | 2021-01-27T04:30:49.000Z | src/phreeqcpp/Dictionary.h | AbelHeinsbroek/VIPhreeqc | 30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604 | [
"Apache-2.0"
] | 2 | 2020-04-28T15:59:17.000Z | 2021-06-24T21:10:32.000Z | src/phreeqcpp/Dictionary.h | AbelHeinsbroek/VIPhreeqc | 30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604 | [
"Apache-2.0"
] | 3 | 2018-11-26T12:08:07.000Z | 2020-09-03T20:00:49.000Z | #if !defined(DICTIONARY_H_INCLUDED)
#define DICTIONARY_H_INCLUDED
#include <iostream>
#include <map>
#include <vector>
#include <sstream>
class Phreeqc;
class Dictionary
{
public:
Dictionary(void);
Dictionary(std::string & words_string);
~Dictionary(void);
int Find(std::string str);
int MapSize() {return (int) thi... | 24.689655 | 70 | 0.738827 |
fff9ba01b660a2041942df53275083899f865cf7 | 2,581 | c | C | tests/test_numbers.c | setivolkylany/c-utils | b0dfab7dac867179672de239e5e802f29ecb8cf9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_numbers.c | setivolkylany/c-utils | b0dfab7dac867179672de239e5e802f29ecb8cf9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_numbers.c | setivolkylany/c-utils | b0dfab7dac867179672de239e5e802f29ecb8cf9 | [
"BSD-3-Clause"
] | null | null | null |
#include "../utils/tests.h"
#include "../utils/numbers.h"
static void
test_decToBin() {
assertStringEqual(decToBin(-23432412), "-1011001011000110011011100");
assertStringEqual(decToBin(-1134245412), "-1000011100110110011011000100100");
assertStringEqual(decToBin(-7813422), "-11101110011100100101110");
... | 39.106061 | 81 | 0.69043 |
4f5164e63ca9b2a960fde4419add60a319e804ba | 8,756 | c | C | machine/qemu/sources/u-boot/board/keymile/kmcent2/kmcent2.c | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | 1 | 2021-11-21T19:56:29.000Z | 2021-11-21T19:56:29.000Z | machine/qemu/sources/u-boot/board/keymile/kmcent2/kmcent2.c | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | machine/qemu/sources/u-boot/board/keymile/kmcent2/kmcent2.c | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2016 Keymile AG
* Rainer Boschung <rainer.boschung@keymile.com>
*
* Copyright 2013 Freescale Semiconductor, Inc.
*/
#include <asm/cache.h>
#include <asm/fsl_fdt.h>
#include <asm/fsl_law.h>
#include <asm/fsl_liodn.h>
#include <asm/fsl_portals.h>
#include <asm... | 24.734463 | 78 | 0.726359 |
9eff3b67403efc78d19fc794ed899d0b29a24a8e | 22,128 | h | C | PhysicsTools/UtilAlgos/interface/CachingVariable.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | PhysicsTools/UtilAlgos/interface/CachingVariable.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | PhysicsTools/UtilAlgos/interface/CachingVariable.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | #ifndef ConfigurableAnalysis_CachingVariable_H
#define ConfigurableAnalysis_CachingVariable_H
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore... | 37.127517 | 120 | 0.645653 |
9ae8bb40ee7ccf8beadfad0b3700e4d662446a21 | 4,230 | h | C | Userland/Applications/PixelPaint/Image.h | Camron/serenity | 7debc2879d160f7cb65d7b03a8fdb77ddb19e361 | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/PixelPaint/Image.h | Camron/serenity | 7debc2879d160f7cb65d7b03a8fdb77ddb19e361 | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/PixelPaint/Image.h | Camron/serenity | 7debc2879d160f7cb65d7b03a8fdb77ddb19e361 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Mustafa Quraish <mustafa@cs.toronto.edu>
* Copyright (c) 2021, Tobias Christiansen <tobyase@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/HashTable.h>
#include <AK/JsonObjectSerializ... | 31.567164 | 108 | 0.73026 |
7f51acc1ecfa2f2d7514787843d8ee69aaba1454 | 24,964 | h | C | Pcap++/header/PcapLiveDevice.h | fkorotkov/PcapPlusPlus | cb6ee56b31ad36966e39425ed22b6a950707fb07 | [
"Unlicense"
] | 101 | 2020-03-24T09:36:01.000Z | 2022-03-07T08:41:57.000Z | Pcap++/header/PcapLiveDevice.h | fkorotkov/PcapPlusPlus | cb6ee56b31ad36966e39425ed22b6a950707fb07 | [
"Unlicense"
] | 22 | 2020-03-25T21:58:29.000Z | 2021-09-29T06:58:13.000Z | Pcap++/header/PcapLiveDevice.h | fkorotkov/PcapPlusPlus | cb6ee56b31ad36966e39425ed22b6a950707fb07 | [
"Unlicense"
] | 142 | 2020-03-24T02:30:11.000Z | 2021-12-16T10:48:56.000Z | //TODO: replace all these defines with #pragma once
#ifndef PCAPPP_LIVE_DEVICE
#define PCAPPP_LIVE_DEVICE
#include "PcapDevice.h"
#include <vector>
#include <string.h>
#include "IpAddress.h"
#include "Packet.h"
/// @file
/**
* \namespace pcpp
* \brief The main namespace for the PcapPlusPlus lib
*/
namespace pcpp
{
... | 50.843177 | 206 | 0.750361 |
fa5818cec8991313a45a7c9dac5adc8a54186903 | 796 | h | C | MMOCoreORB/src/server/status/StatusHandler.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/status/StatusHandler.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/status/StatusHandler.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* StatusHandler.h
*
* Created on: Oct 5, 2010
* Author: oru
*/
#ifndef STATUSHANDLER_H_
#define STATUSHANDLER_H_
#include "StatusServer.h"
class StatusHandler: public ServiceHandler {
StatusServer* statusServerRef;
public:
StatusHandler(StatusServer* server) {
statusServerRef = server;
}
void... | 14.740741 | 69 | 0.719849 |
cfce04786666c7e079c2d2c8627b6f7e6a5fbef4 | 7,879 | h | C | new/shlr/qnx/include/gdb_signals.h | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | new/shlr/qnx/include/gdb_signals.h | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | 1 | 2021-12-17T00:14:27.000Z | 2021-12-17T00:14:27.000Z | new/shlr/qnx/include/gdb_signals.h | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | /* Target signal numbers for GDB and the GDB remote protocol.
Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
... | 33.67094 | 78 | 0.787663 |
82e95f24d11b17ba8517884e3770b9ccc47a3806 | 22,937 | c | C | kernel/tasks.c | mincheolsung/VT_Project3_Hermitcore | f5390e2468a3070f541ab0a50df23803bca1390f | [
"BSD-3-Clause"
] | null | null | null | kernel/tasks.c | mincheolsung/VT_Project3_Hermitcore | f5390e2468a3070f541ab0a50df23803bca1390f | [
"BSD-3-Clause"
] | null | null | null | kernel/tasks.c | mincheolsung/VT_Project3_Hermitcore | f5390e2468a3070f541ab0a50df23803bca1390f | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Stefan Lankes, RWTH Aachen University
* 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
* n... | 25.316777 | 154 | 0.699089 |
d20600d64d6e12f65d515898de2343f9df99d9d3 | 861 | h | C | src/CLIArg.h | dibenso/Hexdump | e8ae5acfade95097441e5ba668b903ea71b71b85 | [
"MIT"
] | null | null | null | src/CLIArg.h | dibenso/Hexdump | e8ae5acfade95097441e5ba668b903ea71b71b85 | [
"MIT"
] | null | null | null | src/CLIArg.h | dibenso/Hexdump | e8ae5acfade95097441e5ba668b903ea71b71b85 | [
"MIT"
] | null | null | null | #ifndef _CLI_ARG_H_
#define _CLI_ARG_H_
#include <string>
enum ArgType {
NoArg,
BooleanArg,
IntArg,
FloatArg,
DoubleArg,
CharArg,
StringArg,
RangeArg
};
class CLIArg {
private:
ArgType _arg_type;
bool _resolved;
std::string _value;
std::string _long_name;
std::string _short_name... | 23.27027 | 101 | 0.68525 |
65ae3ee25615714d48b6ef8c3ed263842c549829 | 994 | h | C | MySampleApp/MySampleApp/Sdk/Aws/extras/AWSCognito.framework/Headers/AWSCognito.h | masaki-kamachi/cheers-ios | 29e86ebd83dbdd3665d1666607382a1b92b80923 | [
"CC0-1.0"
] | 3 | 2020-11-19T00:45:14.000Z | 2021-09-01T06:01:55.000Z | MySampleApp/MySampleApp/Sdk/Aws/extras/AWSCognito.framework/Headers/AWSCognito.h | masaki-kamachi/cheers-ios | 29e86ebd83dbdd3665d1666607382a1b92b80923 | [
"CC0-1.0"
] | null | null | null | MySampleApp/MySampleApp/Sdk/Aws/extras/AWSCognito.framework/Headers/AWSCognito.h | masaki-kamachi/cheers-ios | 29e86ebd83dbdd3665d1666607382a1b92b80923 | [
"CC0-1.0"
] | null | null | null | //
// Copyright 2014-2016 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
// You may not use this file except in compliance with the
// License. A copy of the License is located at
//
// http://aws.amazon.com/asl/
//
// or in the "license... | 31.0625 | 64 | 0.759557 |
d0b20c5cd8a60b980e26c58ce288db82a6eb4f22 | 2,927 | h | C | chrome/utility/media_galleries/iapps_xml_utils.h | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/utility/media_galleries/iapps_xml_utils.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/utility/media_galleries/iapps_xml_utils.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2013 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 CHROME_UTILITY_MEDIA_GALLERIES_IAPPS_XML_UTILS_H_
#define CHROME_UTILITY_MEDIA_GALLERIES_IAPPS_XML_UTILS_H_
#include <stdint.h>
#include <set>
#... | 31.473118 | 79 | 0.740007 |
aa478d74cb2fe829e6a15cb5986d161ad89a9d7c | 1,168 | c | C | PInvoke/PlatformInvoke/Dump/demo.c | Library-Starlight/ProgramerCore | cb5412cd808a8fd59b4faaec2cb574fd62031b09 | [
"Apache-2.0"
] | null | null | null | PInvoke/PlatformInvoke/Dump/demo.c | Library-Starlight/ProgramerCore | cb5412cd808a8fd59b4faaec2cb574fd62031b09 | [
"Apache-2.0"
] | 1 | 2020-11-04T17:50:52.000Z | 2020-11-04T17:50:52.000Z | PInvoke/PlatformInvoke/Dump/demo.c | Library-Starlight/ProgramerCore | cb5412cd808a8fd59b4faaec2cb574fd62031b09 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include "HeyThings_interface.h"
#include "HeyThings_log.h"
int main(void)
{
printf("libHeythings version: %d.%d.%d\n",
HEYTHINGS_VERSION_MAJOR, HEYTHINGS_VSERION_MINOR,
HEYTHINGS_VERSION_PATCH);
return 0;
}
void Print()
{
printf("Hello World!\n");
}
typedef enum... | 22.461538 | 60 | 0.686644 |
343b70b9c38e7e048143ff4d1a4a17a691afce71 | 997 | h | C | CGWork/Model.h | MetalYos/CG1_HW2 | 7b3f7a2a49ae4daf3eb5f904b5bb53685fb2a389 | [
"MIT"
] | null | null | null | CGWork/Model.h | MetalYos/CG1_HW2 | 7b3f7a2a49ae4daf3eb5f904b5bb53685fb2a389 | [
"MIT"
] | null | null | null | CGWork/Model.h | MetalYos/CG1_HW2 | 7b3f7a2a49ae4daf3eb5f904b5bb53685fb2a389 | [
"MIT"
] | null | null | null | #pragma once
#include "ALMath.h"
#include "Geometry.h"
class Model
{
private:
std::vector<Geometry*> geos;
Mat4 transform;
Mat4 normalTransform;
Vec4 color;
Vec4 normalColor;
// BBox parameters
std::vector<Poly*> bbox;
Vec4 minCoord;
Vec4 maxCoord;
public:
Model() : color(AL_WHITE), normalColor(AL_RED) { ... | 19.173077 | 53 | 0.711133 |
43a6dd69011bf086ea31076faadc52f529a0629a | 2,053 | h | C | Merrymen/GameScene.h | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | Merrymen/GameScene.h | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | Merrymen/GameScene.h | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | /*
------------------------------------------------------------------------------------------
Copyright (c) 2014 Vinyl Games Studio
Author: Mikhail Kutuzov
Date: 5/16/2014 12:31:56 PM
------------------------------------------------------------------------------------------
*/
#ifndef __GAME_S... | 22.811111 | 90 | 0.531417 |
b77352f3e8ae9b90064f8ee5c6bb59371a426cae | 1,212 | h | C | HexEdit/UserTool.h | the-nerbs/HexEdit | deefee7cf19c46bfb43674a892f51d885d0ba4ca | [
"MIT"
] | 166 | 2015-09-23T05:47:26.000Z | 2022-02-17T21:46:44.000Z | HexEdit/UserTool.h | the-nerbs/HexEdit | deefee7cf19c46bfb43674a892f51d885d0ba4ca | [
"MIT"
] | 27 | 2015-09-21T10:41:56.000Z | 2020-07-17T04:51:11.000Z | HexEdit/UserTool.h | the-nerbs/HexEdit | deefee7cf19c46bfb43674a892f51d885d0ba4ca | [
"MIT"
] | 62 | 2015-09-21T01:21:52.000Z | 2021-12-21T19:57:12.000Z | #if !defined(AFX_USERTOOL_H__E825A24A_BAE6_44EB_AE30_986F0355F2F3__INCLUDED_)
#define AFX_USERTOOL_H__E825A24A_BAE6_44EB_AE30_986F0355F2F3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserTool.h : header file
//
/////////////////////////////////////////////////////////////////////... | 28.857143 | 112 | 0.661716 |
bd7147188b29f96098f2938b85ff4a553c556bef | 3,556 | h | C | Other/Headers/MMViewerWindow.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 2 | 2019-01-11T02:02:55.000Z | 2020-04-23T02:42:01.000Z | Other/Headers/MMViewerWindow.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | null | null | null | Other/Headers/MMViewerWindow.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 <AppKit/NSWindowController.h>
#import "NSWindowDelegate-Protocol.h"
@class MMPreviewTitleButton, MMViewerContentWindow, NSPro... | 37.041667 | 131 | 0.775309 |
08ec57436b30926184e56ec2822014c8de632807 | 1,733 | h | C | EnjoyCamera/Utilities/Categorys/UIImage/UIImage+Resize.h | bamboolife/EnjoyCamera | b66bbbde5fa3142d71dfa58b47113b1f9fba3b85 | [
"Apache-2.0"
] | 220 | 2018-02-03T14:05:01.000Z | 2022-03-21T12:16:31.000Z | EnjoyCamera/Utilities/Categorys/UIImage/UIImage+Resize.h | bamboolife/EnjoyCamera | b66bbbde5fa3142d71dfa58b47113b1f9fba3b85 | [
"Apache-2.0"
] | 2 | 2019-07-22T08:59:23.000Z | 2019-08-08T07:45:03.000Z | EnjoyCamera/Utilities/Categorys/UIImage/UIImage+Resize.h | bamboolife/EnjoyCamera | b66bbbde5fa3142d71dfa58b47113b1f9fba3b85 | [
"Apache-2.0"
] | 58 | 2018-04-07T01:25:46.000Z | 2022-03-09T12:53:58.000Z | // UIImage+Resize.h
// EnjoyCamera
//
// Created by qinmin on 2017/4/13.
// Copyright © 2017年 qinmin. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum
{
NYXCropModeTopLeft,
NYXCropModeTopCenter,
NYXCropModeTopRight,
NYXCropModeBottomLeft,
NYXCropModeBottomCenter,
NYXCropModeBott... | 33.980392 | 105 | 0.751875 |
31265555b467441507fd9bbc5975c6742e6c74a4 | 705 | h | C | p.h | sdsykes/p | 2f4539bb49ebdcf288f3d5c94cc17b4d47ed5aae | [
"MIT"
] | 2 | 2015-06-29T19:26:38.000Z | 2018-04-25T03:46:53.000Z | p.h | sdsykes/p | 2f4539bb49ebdcf288f3d5c94cc17b4d47ed5aae | [
"MIT"
] | null | null | null | p.h | sdsykes/p | 2f4539bb49ebdcf288f3d5c94cc17b4d47ed5aae | [
"MIT"
] | null | null | null | //
// p.h
// p
//
// Created by Stephen Sykes on 03/10/13.
// Copyright (c) 2013. All rights reserved.
//
// Defines a macro p(arg) that will NSLog almost any type.
//
// The type is determined using the Objective C type encoding
// information from @encoding(). Objects, simple numeric types,
// C strings, and typ... | 25.178571 | 77 | 0.697872 |
31363594a9de07dace5cea239fd7d3ab91577e38 | 2,074 | h | C | FreeBSD/contrib/llvm/tools/lldb/tools/lldb-mi/MICmdMgr.h | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 4 | 2016-08-22T22:02:55.000Z | 2017-03-04T22:56:44.000Z | FreeBSD/contrib/llvm/tools/lldb/tools/lldb-mi/MICmdMgr.h | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/contrib/llvm/tools/lldb/tools/lldb-mi/MICmdMgr.h | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | null | null | null | //===-- MICmdMgr.h ----------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 30.955224 | 124 | 0.641273 |
d937ac9be325d87c0a76784c94968873e013e9f0 | 2,952 | c | C | tests/cfp/testCfpArray2f.c | halehawk/zfp | f1709a4ee59eb8b3443f94c60e6ff6fc895b0a69 | [
"BSD-3-Clause"
] | 1 | 2022-01-30T00:22:55.000Z | 2022-01-30T00:22:55.000Z | tests/cfp/testCfpArray2f.c | halehawk/zfp | f1709a4ee59eb8b3443f94c60e6ff6fc895b0a69 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T14:48:04.000Z | 2022-03-03T14:51:03.000Z | tests/cfp/testCfpArray2f.c | halehawk/zfp | f1709a4ee59eb8b3443f94c60e6ff6fc895b0a69 | [
"BSD-3-Clause"
] | null | null | null | #include "src/traitsf.h"
#include "src/block2.h"
#include "constants/2dFloat.h"
#define CFP_ARRAY_TYPE cfp_array2f
#define SUB_NAMESPACE array2f
#define SCALAR float
#include "testCfpArray_source.c"
#include "testCfpArray2_source.c"
int main()
{
const struct CMUnitTest tests[] = {
cmocka_unit_test(when_seeded... | 65.6 | 158 | 0.890583 |
d9477093ae5117d7f7b027e8b2d98dcf4f576658 | 821 | h | C | HomeWork/LearningOutcome/1/lo1.h | Patrick1993G/LLP2HomeWork | c39e05b9f144432cad717255a3e4ee9380f7bf56 | [
"MIT"
] | null | null | null | HomeWork/LearningOutcome/1/lo1.h | Patrick1993G/LLP2HomeWork | c39e05b9f144432cad717255a3e4ee9380f7bf56 | [
"MIT"
] | null | null | null | HomeWork/LearningOutcome/1/lo1.h | Patrick1993G/LLP2HomeWork | c39e05b9f144432cad717255a3e4ee9380f7bf56 | [
"MIT"
] | null | null | null |
#ifndef lo1
#define lo1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
int count(char text[]){
int count=1;
for (size_t i = 0; i < strlen(text); i++)
{
if(*(text+i)== ' '){
count++;
}else{
continue;
}
}
return co... | 16.098039 | 48 | 0.464068 |
8adfb055d65742d7d5cc6a4ce0a32be945c2eaa2 | 678 | c | C | libraries/mmlibc/src/strings.c | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | libraries/mmlibc/src/strings.c | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | libraries/mmlibc/src/strings.c | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | //strings.c
//Extra string functions for DUCK's libc
//Bryan E. Topp <betopp@betopp.com> 2020
#include <limits.h>
#include <stdint.h>
#include <strings.h>
#include <ctype.h>
int strcasecmp(const char *s1, const char *s2)
{
return strncasecmp(s1, s2, SIZE_MAX);
}
int strncasecmp(const char *s1, const char *s2, size... | 15.767442 | 57 | 0.610619 |
fce32cecaa5934513f8ffe2a356911fc65a61db5 | 12,582 | c | C | src/ClientServer/services/bgenc/channel_mgr_1.c | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2018-09-28T16:03:55.000Z | 2021-09-23T09:07:10.000Z | src/ClientServer/services/bgenc/channel_mgr_1.c | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/ClientServer/services/bgenc/channel_mgr_1.c | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-04-28T08:32:27.000Z | 2020-04-28T08:32:27.000Z | /*
* Licensed to Systerel under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Systerel licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this
* file except ... | 38.595092 | 116 | 0.769115 |
6cabb709dd710ec8d5a4e820fa10b7263f21a152 | 4,016 | h | C | src/include/ubiq/fpe/ff1.h | ubiqsecurity/ubiq-fpe-c | 43b500f51b4ce3980543fc89475ff9825cb4e992 | [
"MIT"
] | 7 | 2021-04-16T07:52:28.000Z | 2022-02-01T21:11:17.000Z | src/include/ubiq/fpe/ff1.h | ubiqsecurity/ubiq-fpe-c | 43b500f51b4ce3980543fc89475ff9825cb4e992 | [
"MIT"
] | null | null | null | src/include/ubiq/fpe/ff1.h | ubiqsecurity/ubiq-fpe-c | 43b500f51b4ce3980543fc89475ff9825cb4e992 | [
"MIT"
] | null | null | null | #ifndef UBIQ_FPE_FF1_H
#define UBIQ_FPE_FF1_H
#include <sys/cdefs.h>
#include <stdint.h>
#include <stddef.h>
__BEGIN_DECLS
struct ff1_ctx;
/*
* Create a context instance for use with the FF1 algorithm
*
* The created instance can be used for encryption or decryption
* or both. The instance is not thread-safe, t... | 39.372549 | 77 | 0.689492 |
96bfd5b3eed6508ea06bd799bfc54214abc45654 | 4,375 | c | C | source/target/onsemi/ncs36510/flash_blob.c | yinglangli/ARMmbed_DAPLink | ec1e4ba495925c392baf1fad1695682af16c5445 | [
"Apache-2.0"
] | 708 | 2018-10-07T05:51:03.000Z | 2022-03-31T08:24:21.000Z | software/v2.3c/source/target/onsemi/ncs36510/flash_blob.c | fsyinghua/nanoDAP | abb2576144f368c224b653192094c20ed8aa74d7 | [
"Apache-2.0"
] | 18 | 2019-01-20T16:07:00.000Z | 2022-03-20T04:27:34.000Z | software/v2.3c/source/target/onsemi/ncs36510/flash_blob.c | fsyinghua/nanoDAP | abb2576144f368c224b653192094c20ed8aa74d7 | [
"Apache-2.0"
] | 209 | 2018-12-27T12:49:11.000Z | 2022-03-29T13:16:35.000Z | /* Flash OS Routines (Automagically Generated)
* Copyright (c) 2009-2015 ARM Limited
*
* 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
... | 59.931507 | 99 | 0.760229 |
531cb5948cbd990c1afb27b9c9a3f406b039b128 | 2,269 | h | C | NoCoChat/handle.h | mickelfeng/qt_learning | 1f565754c36f0c09888cf4fbffa6271298d0678b | [
"Apache-2.0"
] | 1 | 2016-01-05T07:24:32.000Z | 2016-01-05T07:24:32.000Z | NoCoChat/handle.h | mickelfeng/qt_learning | 1f565754c36f0c09888cf4fbffa6271298d0678b | [
"Apache-2.0"
] | null | null | null | NoCoChat/handle.h | mickelfeng/qt_learning | 1f565754c36f0c09888cf4fbffa6271298d0678b | [
"Apache-2.0"
] | null | null | null | #ifndef HANDLE_H
#define HANDLE_H
/**
* 文件名:handle.h
* 文件功能:定义handle类的相关成员和声明所有成员函数
* 类的作用:所有界面的业务操作函数集合
* 类的继承:QObejct
* 作者:NoCo_jancojie
*/
#include <QObject>
#include "tcpnet.h"
#include "config.h"
#include <QRegExp>
#include <QMap>
#include <QStringList>
#include <QDebug>
#include <QList>
#... | 26.383721 | 95 | 0.68268 |
1b7c473d0b90b6e331ac4695feef2ccf0c60edf6 | 1,600 | c | C | hw/fake-rtc.c | apopple/skiboot | 4073798ccf03c63917d76fb522ba03a9a2b798a9 | [
"Apache-2.0"
] | null | null | null | hw/fake-rtc.c | apopple/skiboot | 4073798ccf03c63917d76fb522ba03a9a2b798a9 | [
"Apache-2.0"
] | null | null | null | hw/fake-rtc.c | apopple/skiboot | 4073798ccf03c63917d76fb522ba03a9a2b798a9 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2013-2014 IBM Corp.
*
* 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 ... | 23.529412 | 70 | 0.71625 |
88f3dca56940f58be047112170ff443602f660e5 | 3,307 | c | C | src/common/io/fd.c | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | null | null | null | src/common/io/fd.c | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | null | null | null | src/common/io/fd.c | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | null | null | null | /***********************************************************************************************************************************
File Descriptor Functions
***********************************************************************************************************************************/
#include "build.auto.h"
#if... | 31.198113 | 132 | 0.517992 |
4b6e857807725a4d2f794fdf0f2ba956ea78157d | 1,659 | h | C | src/include/parser/insert_statement.h | Nov11/15-721 | b52c173d4be6838faa86b69959c0c341748f3e58 | [
"Apache-2.0"
] | 2 | 2021-03-29T01:29:18.000Z | 2022-02-27T11:22:15.000Z | src/include/parser/insert_statement.h | lym953/15721-p3 | c5ba8004c6f0f10472aa004303c04be1c860ade9 | [
"Apache-2.0"
] | null | null | null | src/include/parser/insert_statement.h | lym953/15721-p3 | c5ba8004c6f0f10472aa004303c04be1c860ade9 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Peloton
//
// statement_insert.h
//
// Identification: src/include/parser/statement_insert.h
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===-------------------------------------... | 26.758065 | 80 | 0.649186 |
c62c5df491cefef500dff966fed592496ee80cd4 | 288 | h | C | _KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/mesh/material/gl_material.h | MorphingDev/karamay_engine | 044aaf7af813b01dbc26185852865c8a0369efca | [
"MIT"
] | null | null | null | _KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/mesh/material/gl_material.h | MorphingDev/karamay_engine | 044aaf7af813b01dbc26185852865c8a0369efca | [
"MIT"
] | null | null | null | _KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/mesh/material/gl_material.h | MorphingDev/karamay_engine | 044aaf7af813b01dbc26185852865c8a0369efca | [
"MIT"
] | 1 | 2022-01-29T08:34:51.000Z | 2022-01-29T08:34:51.000Z | #pragma once
#include "graphics/texture/gl_texture.h"
struct gl_material
{
std::unordered_map<std::string, std::shared_ptr<gl_texture_2d>> texture_2ds_map;
std::unordered_map<std::string, std::float_t> float_uniforms_map;
std::unordered_map<std::string, glm::vec3> vec3s_map;
};
| 19.2 | 81 | 0.763889 |
5b948e0602ca49ddb1a85b7bab89ec1da5cbd9d6 | 21,300 | h | C | coreLibrary_200/source/physics/dgBody.h | rastullahs-lockenpracht/newton | 99b82478f3de9ee7c8d17c8ebefe62e46283d857 | [
"Zlib"
] | null | null | null | coreLibrary_200/source/physics/dgBody.h | rastullahs-lockenpracht/newton | 99b82478f3de9ee7c8d17c8ebefe62e46283d857 | [
"Zlib"
] | null | null | null | coreLibrary_200/source/physics/dgBody.h | rastullahs-lockenpracht/newton | 99b82478f3de9ee7c8d17c8ebefe62e46283d857 | [
"Zlib"
] | null | null | null | /* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any... | 27.952756 | 163 | 0.730188 |
176b01b4942d4224c72338f9e4ba0bba44bd7906 | 264 | h | C | rcnn/box.h | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | 1 | 2019-03-13T07:30:29.000Z | 2019-03-13T07:30:29.000Z | rcnn/box.h | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | null | null | null | rcnn/box.h | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | null | null | null | #ifndef __BOX_H__
#define __BOX_H__
#include <string>
namespace rcnn{
typedef struct Box_{
float x;
float y;
float width;
float height;
int label;
std::string label_name;
float score;
}Box;
}
#endif | 15.529412 | 31 | 0.57197 |
c0e5bedcb9c3adf096fe3c0e4a90abd44168b222 | 3,510 | h | C | src/copyright.h | fstltna/Battletech-MUX | eb6e785d8790b68add046a4f64419bb5afe99316 | [
"Artistic-1.0"
] | 3 | 2017-05-20T01:41:10.000Z | 2020-04-15T20:14:40.000Z | src/copyright.h | fstltna/Battletech-MUX | eb6e785d8790b68add046a4f64419bb5afe99316 | [
"Artistic-1.0"
] | null | null | null | src/copyright.h | fstltna/Battletech-MUX | eb6e785d8790b68add046a4f64419bb5afe99316 | [
"Artistic-1.0"
] | null | null | null |
/* copyright.h */
/* -*-C-*- */
/* $Id: copyright.h 1.1 02/01/03 01:00:15-00:00 twouters@ $ */
/*
* TinyMUX 1.0, 1.1 and 1.2 Source code is maintained by David Passmore
* (Lauren@Children of the Atom).
* Comments should be sent to lauren@ranger.range.orst.edu.
* TinyMUX is Copyright (c) 1995 by David Passmore.
... | 41.785714 | 78 | 0.706553 |
02431844a5bd3e8a1c56c5fb0e344db735ee4e55 | 27,681 | c | C | oss_c_sdk_test/test_oss_live.c | zhengbincesc/aliyun-oss-c-sdk | 264839ac8dd355b2b586e2359c4324d3a991c39e | [
"MIT"
] | 1 | 2019-03-28T08:12:37.000Z | 2019-03-28T08:12:37.000Z | oss_c_sdk_test/test_oss_live.c | zhengbincesc/aliyun-oss-c-sdk | 264839ac8dd355b2b586e2359c4324d3a991c39e | [
"MIT"
] | null | null | null | oss_c_sdk_test/test_oss_live.c | zhengbincesc/aliyun-oss-c-sdk | 264839ac8dd355b2b586e2359c4324d3a991c39e | [
"MIT"
] | null | null | null | #include "CuTest.h"
#include "aos_log.h"
#include "aos_util.h"
#include "aos_string.h"
#include "aos_status.h"
#include "aos_transport.h"
#include "aos_http_io.h"
#include "oss_auth.h"
#include "oss_util.h"
#include "oss_xml.h"
#include "oss_api.h"
#include "oss_config.h"
#include "oss_test_util.h"
#include "apr_time.h... | 41.008889 | 158 | 0.718363 |
9d6ce67540e6033cdd84a261446970f25b1f9647 | 9,362 | h | C | src/test/SwitchCaseTest/ArrayMessageFactory.h | shines77/ConcurrentTest | d351d2ef929c6d33f5b340a747e4cb3fc7a33376 | [
"MIT"
] | null | null | null | src/test/SwitchCaseTest/ArrayMessageFactory.h | shines77/ConcurrentTest | d351d2ef929c6d33f5b340a747e4cb3fc7a33376 | [
"MIT"
] | null | null | null | src/test/SwitchCaseTest/ArrayMessageFactory.h | shines77/ConcurrentTest | d351d2ef929c6d33f5b340a747e4cb3fc7a33376 | [
"MIT"
] | null | null | null | //
// Created by skyinno on 2/14/2016.
//
#ifndef CEPH_ARRAY_MESSAGEFACTORY_H
#define CEPH_ARRAY_MESSAGEFACTORY_H
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <vector>
#include <functional>
#include <memory>
#include <algorithm> // For std::max
#include "Message.h"
#include "FastQueue/basic/stddef.h"
clas... | 34.043636 | 151 | 0.609485 |
7780956011df98642a24ac9d09a65c13093e0161 | 447 | h | C | QNShortVideoKit-bytedance-iOS/PLShortVideoKitDemo/ByteEffects/Classes/Record/Views/BEModernFaceVerifyView.h | KevinHuo/QNShortVideo-ByteDance | 5a01efe78861ab8868355741e44f0845036f436f | [
"MIT"
] | null | null | null | QNShortVideoKit-bytedance-iOS/PLShortVideoKitDemo/ByteEffects/Classes/Record/Views/BEModernFaceVerifyView.h | KevinHuo/QNShortVideo-ByteDance | 5a01efe78861ab8868355741e44f0845036f436f | [
"MIT"
] | null | null | null | QNShortVideoKit-bytedance-iOS/PLShortVideoKitDemo/ByteEffects/Classes/Record/Views/BEModernFaceVerifyView.h | KevinHuo/QNShortVideo-ByteDance | 5a01efe78861ab8868355741e44f0845036f436f | [
"MIT"
] | null | null | null | // Copyright (C) 2019 Beijing Bytedance Network Technology Co., Ltd.
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol BEModernFaceVerifyViewDelegate <NSObject>
@required
- (void)openSystemAlbumButtonClicked;
@end
@interface BEModernFaceVerifyView : UIView
@property (nonatomic, weak) id <BEModernFaceVeri... | 18.625 | 73 | 0.800895 |
a035411633a623c8b843946fac0d5c76c6a4f24a | 705 | h | C | System/Library/PrivateFrameworks/MediaRemote.framework/MRRemoteTextInputMessage.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/MediaRemote.framework/MRRemoteTextInputMessage.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/MediaRemote.framework/MRRemoteTextInputMessage.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:40:30 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... | 30.652174 | 83 | 0.77305 |
410ecc6dd5f8c7ef306c1cb303495c71ecd490bc | 3,074 | h | C | 3_Implementation/inc/pattern.h | lohithbhargav/Mini_Project_LTTS | dc40d99ddd967a3877a8ad645d14fc0dbbb68da3 | [
"CC0-1.0"
] | null | null | null | 3_Implementation/inc/pattern.h | lohithbhargav/Mini_Project_LTTS | dc40d99ddd967a3877a8ad645d14fc0dbbb68da3 | [
"CC0-1.0"
] | 15 | 2021-04-14T18:28:10.000Z | 2021-04-16T07:53:10.000Z | 3_Implementation/inc/pattern.h | lohithbhargav/Mini_Project_LTTS | dc40d99ddd967a3877a8ad645d14fc0dbbb68da3 | [
"CC0-1.0"
] | 3 | 2021-04-14T18:47:08.000Z | 2021-04-15T16:04:13.000Z | /**
* @file patterns.h
* @author D.Lohith Bhargav (dlohithbhargav28@gmail.com)
* @brief
* @version 0.1
* @date 2021-04-13
*
* @copyright Copyright (c) 2021
*
*/
/**
* @file pattern.h
* pattern's application with 23 different pattern with user input size
*/
#ifndef __PATTERN_H__
#define __PATTERN_H__
/*... | 24.015625 | 83 | 0.735849 |
991b498e9b4ae8ad99726c28aca4a2c22e4b5dbc | 7,193 | c | C | contrib/ntp/libntp/log.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2017-04-06T21:39:15.000Z | 2019-10-09T17:34:14.000Z | contrib/ntp/libntp/log.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | contrib/ntp/libntp/log.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-01-04T06:36:39.000Z | 2020-01-04T06:36:39.000Z | /* Microsoft Developer Support Copyright (c) 1993 Microsoft Corporation. */
/* Skip asynch rpc inclusion */
#ifndef __RPCASYNC_H__
#define __RPCASYNC_H__
#endif
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "messages.h"
#include "log.h"
#define PERR(bSuccess, api) {if(!(bS... | 44.401235 | 85 | 0.472265 |
48d13f56fc372cd906a2a0b9f29072c10d2d81fd | 1,183 | h | C | src/gpu/GrVx.h | fourgrad/skia | b9b550e9bb1b73001088ba89483e2f9bbe46c3db | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | src/gpu/GrVx.h | Wal1e/skia | eda97288bdc8e87afea817b25d561724c2b6a2f8 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | src/gpu/GrVx.h | Wal1e/skia | eda97288bdc8e87afea817b25d561724c2b6a2f8 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | /*
* Copyright 2020 Google LLC.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrVx_DEFINED
#define GrVx_DEFINED
#include "include/core/SkTypes.h"
#include "include/private/SkVx.h"
// grvx is Ganesh's addendum to skvx, Skia's SIMD library. Here... | 26.886364 | 98 | 0.702451 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.