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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d230eac83803469616a25e9a51be9609a97e8828 | 723 | h | C | cinn/optim/fold_cinn_call_arguments.h | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | 1 | 2019-10-23T09:16:23.000Z | 2019-10-23T09:16:23.000Z | cinn/optim/fold_cinn_call_arguments.h | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | cinn/optim/fold_cinn_call_arguments.h | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include "cinn/ir/ir.h"
namespace cinn {
namespace optim {
/**
* \brief Rewrite the Call Nodes marked type as CINN, pack their arguments into `void*, int` so that they can trigger a
* `LoweredFunc`.
*
* For example, input the IR
* \code
* Call(some_lowered_func, a:cinn_buffer_t*... | 21.909091 | 119 | 0.697095 |
9a83ca284c0ef90a240136ffe24fc18bcc30fc00 | 2,131 | h | C | Onyx2D/include/Onyx2D/O2Paint_ramp.h | mrolappe/darling-cocotron | d7cc4e3ff153f8986b911fbb0a7f7b9d6d74022c | [
"MIT"
] | 32 | 2018-01-17T16:25:13.000Z | 2021-12-04T20:28:31.000Z | Onyx2D/include/Onyx2D/O2Paint_ramp.h | mrolappe/darling-cocotron | d7cc4e3ff153f8986b911fbb0a7f7b9d6d74022c | [
"MIT"
] | 11 | 2019-06-11T03:31:30.000Z | 2021-06-29T03:08:59.000Z | Onyx2D/include/Onyx2D/O2Paint_ramp.h | mrolappe/darling-cocotron | d7cc4e3ff153f8986b911fbb0a7f7b9d6d74022c | [
"MIT"
] | 16 | 2019-06-11T01:49:14.000Z | 2021-06-29T03:10:59.000Z | /*------------------------------------------------------------------------
*
* Derivative of the OpenVG 1.0.1 Reference Implementation
* -------------------------------------
*
* Copyright (c) 2007 The Khronos Group Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this ... | 36.741379 | 78 | 0.666354 |
9adb7cf2bf7d3ef3ddb61c7b60ea9dfbf7b9920e | 7,841 | h | C | .upstream-tests/test/std/numerics/complex.number/cases.h | veictry/libcudacxx | 1458b2ca899d07bbb1c6126a260c02d9c1961be8 | [
"Apache-2.0"
] | null | null | null | .upstream-tests/test/std/numerics/complex.number/cases.h | veictry/libcudacxx | 1458b2ca899d07bbb1c6126a260c02d9c1961be8 | [
"Apache-2.0"
] | null | null | null | .upstream-tests/test/std/numerics/complex.number/cases.h | veictry/libcudacxx | 1458b2ca899d07bbb1c6126a260c02d9c1961be8 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 33.084388 | 80 | 0.572886 |
965bd21e4b5c34ea44d719b56b51ba10dcd126a4 | 2,140 | h | C | thirdparty/cgal/CGAL-4.13/include/CGAL/predicates/Polygon_offset_pred_ftC2.h | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | thirdparty/cgal/CGAL-4.13/include/CGAL/predicates/Polygon_offset_pred_ftC2.h | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | thirdparty/cgal/CGAL-4.13/include/CGAL/predicates/Polygon_offset_pred_ftC2.h | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | // Copyright (c) 2006 Fernando Luis Cacciola Carballal. All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 opti... | 30.571429 | 136 | 0.743925 |
1908484b79b51a1546b6763ab29b8625ff73313a | 2,669 | c | C | test/ecdsa_test.c | TommasoBruni/cry | ebe11269cd505f0837930d991e3e4477dfbb77bb | [
"MIT"
] | null | null | null | test/ecdsa_test.c | TommasoBruni/cry | ebe11269cd505f0837930d991e3e4477dfbb77bb | [
"MIT"
] | null | null | null | test/ecdsa_test.c | TommasoBruni/cry | ebe11269cd505f0837930d991e3e4477dfbb77bb | [
"MIT"
] | null | null | null | #include "test.h"
#include <cry/ecdsa.h>
static cry_ecdsa_ctx ecdsa;
static cry_ecdsa_sig sig;
/* key */
static const unsigned char d_dat[] = {
0x16, 0x79, 0x7b, 0x5c, 0x0c, 0x7e, 0xd5, 0x46,
0x1e, 0x2f, 0xf1, 0xb8, 0x8e, 0x6e, 0xaf, 0xa0,
0x3c, 0x0f, 0x46, 0xbf, 0x07, 0x20, 0x00, 0xdf,
0xc8, 0x30, 0x... | 26.69 | 67 | 0.637692 |
65e1c18e1a816317f714126a89cfd243f8f5af87 | 8,974 | c | C | l2tpd-0.69+codebay/avpsend.c | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 5 | 2015-04-16T08:36:17.000Z | 2017-05-12T17:20:12.000Z | l2tpd-0.69+codebay/avpsend.c | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | null | null | null | l2tpd-0.69+codebay/avpsend.c | nakedible/vpnease-l2tp | 0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c | [
"WTFPL"
] | 4 | 2015-03-19T14:39:51.000Z | 2019-01-23T08:22:55.000Z | /*
* Layer Two Tunnelling Protocol Daemon
* Copyright (C) 1998 Adtran, Inc.
* Copyright (C) 2002 Jeff McAdams
*
* Mark Spencer
*
* This software is distributed under the terms
* of the GPL, which you should have received
* along with this source.
*
* Attribute Value Pair creating routines
*/
#include <stdl... | 25.278873 | 71 | 0.559394 |
b7d9c842c3739675d37cf178a40415610f070f19 | 102 | h | C | AHN.Buildings.Verify/Coverage.h | mcserep/PointCloudTools | c8cd0c5915cc3802b68164f1732f93dc11efb0d5 | [
"BSD-3-Clause"
] | 6 | 2020-12-30T03:47:43.000Z | 2022-03-01T16:24:27.000Z | AHN.Buildings.Verify/Coverage.h | mcserep/PointCloudTools | c8cd0c5915cc3802b68164f1732f93dc11efb0d5 | [
"BSD-3-Clause"
] | null | null | null | AHN.Buildings.Verify/Coverage.h | mcserep/PointCloudTools | c8cd0c5915cc3802b68164f1732f93dc11efb0d5 | [
"BSD-3-Clause"
] | 3 | 2021-03-20T14:54:25.000Z | 2022-02-23T12:55:41.000Z | #pragma once
#include <ogr_core.h>
enum Coverage : GByte
{
NoData = 0,
Accept = 1,
Reject = 2
};
| 9.272727 | 21 | 0.627451 |
318eeaa7029af1aa12d549ed89f5caa231588334 | 1,469 | h | C | iOS/10.0.2/Frameworks/HomeKit.framework/_HMCameraStreamControl.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | iOS/10.0.2/Frameworks/HomeKit.framework/_HMCameraStreamControl.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | iOS/10.0.2/Frameworks/HomeKit.framework/_HMCameraStreamControl.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/HomeKit.framework/HomeKit
*/
@interface _HMCameraStreamControl : _HMCameraControl {
HMCameraStream * _cameraStream;
<_HMCameraStreamControlDelegate> * _delegate;
NSString * _streamSessionID;
unsigned long long _streamState;
}
@prope... | 34.162791 | 169 | 0.772634 |
2e9006c1e240884b5f5fa28e0b4e442f39d412c4 | 1,828 | c | C | arch/x86/kernel/pci-iommu_table.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | arch/x86/kernel/pci-iommu_table.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | arch/x86/kernel/pci-iommu_table.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | // SPDX-License-Identifier: GPL-2.0
#include <linux/dma-mapping.h>
#include <asm/iommu_table.h>
#include <linux/string.h>
#include <linux/kallsyms.h>
#define DEBUG 1
static struct iommu_table_entry * __init
find_dependents_of(struct iommu_table_entry *start,
struct iommu_table_entry *finish,
struct iommu_t... | 22.567901 | 96 | 0.655361 |
fffe01d3f32fc34d9cd16752915cd9f6d60b7af9 | 2,490 | h | C | src/asn1.h | zaza568/yo | 7e32382280647a0f07f74cd5fd54fb6ba68afd6e | [
"OLDAP-2.4"
] | 1 | 2020-07-23T16:33:27.000Z | 2020-07-23T16:33:27.000Z | src/asn1.h | zaza568/yo | 7e32382280647a0f07f74cd5fd54fb6ba68afd6e | [
"OLDAP-2.4"
] | null | null | null | src/asn1.h | zaza568/yo | 7e32382280647a0f07f74cd5fd54fb6ba68afd6e | [
"OLDAP-2.4"
] | null | null | null | /*
* ASN.1 DER parsing
* Copyright (c) 2006, Jouni Malinen <j@w1.fi>
*
* 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 the Free Software Foundation.
*
* Alternatively, this software may be distributed under... | 32.337662 | 73 | 0.764659 |
837b95eb448a8cdf300fbcce34ba212544f276a0 | 25,268 | h | C | proton-c/include/proton/message.h | mbroadst/qpid-proton-packaging | 3b66acfd5b3e91fa405f63449985d5e769035bf8 | [
"Apache-2.0"
] | 2 | 2020-04-28T13:33:06.000Z | 2020-06-01T14:51:05.000Z | proton-c/include/proton/message.h | mbroadst/qpid-proton-packaging | 3b66acfd5b3e91fa405f63449985d5e769035bf8 | [
"Apache-2.0"
] | null | null | null | proton-c/include/proton/message.h | mbroadst/qpid-proton-packaging | 3b66acfd5b3e91fa405f63449985d5e769035bf8 | [
"Apache-2.0"
] | 4 | 2015-10-17T20:44:45.000Z | 2021-06-08T19:00:56.000Z | #ifndef PROTON_MESSAGE_H
#define PROTON_MESSAGE_H 1
/*
*
* 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 ... | 33.556441 | 109 | 0.715727 |
035993bbff3742d235be08ddd7d4778dc7cce192 | 1,759 | h | C | Day1/build/iOS/Preview/include/Fuse.Input.TraverseNodeExtensions.h | sauvikatinnofied/ExploringFuse | cc272d55c7221d88ba773494f571b6528e5279f8 | [
"Apache-2.0"
] | null | null | null | Day1/build/iOS/Preview/include/Fuse.Input.TraverseNodeExtensions.h | sauvikatinnofied/ExploringFuse | cc272d55c7221d88ba773494f571b6528e5279f8 | [
"Apache-2.0"
] | null | null | null | Day1/build/iOS/Preview/include/Fuse.Input.TraverseNodeExtensions.h | sauvikatinnofied/ExploringFuse | cc272d55c7221d88ba773494f571b6528e5279f8 | [
"Apache-2.0"
] | null | null | null | // This file was generated based on '/usr/local/share/uno/Packages/FuseCore/0.24.6/Input/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.h>
namespace g{namespace Fuse{namespace Input{struct TraverseNodeExtensions;}}}
namespace g{namespace Fuse{struct Node;}}
namesp... | 50.257143 | 132 | 0.724275 |
83db62446c8e4a5dd80414493b04ff8e78e0f93c | 1,726 | h | C | include/survive/survive_config.h | ngiftsun/vive_tracker_loc | fce9210a413a5b7c2d0b5d8b63c2493035e143fc | [
"MIT"
] | 26 | 2017-08-07T19:41:48.000Z | 2022-03-25T20:48:42.000Z | include/survive/survive_config.h | ngiftsun/vive_tracker_loc | fce9210a413a5b7c2d0b5d8b63c2493035e143fc | [
"MIT"
] | 3 | 2018-03-07T13:31:28.000Z | 2019-10-17T03:46:23.000Z | include/survive/survive_config.h | ngiftsun/vive_tracker_loc | fce9210a413a5b7c2d0b5d8b63c2493035e143fc | [
"MIT"
] | 5 | 2018-01-31T13:28:40.000Z | 2020-10-19T14:49:14.000Z | // (C) 2017 <>< Joshua Allen, Under MIT/x11 License.
#ifndef _SURVIVE_CONFIG_H
#define _SURVIVE_CONFIG_H
#include "survive_internal.h"
typedef enum {
CONFIG_UNKNOWN = 0,
CONFIG_FLOAT = 1,
CONFIG_UINT32 = 2,
CONFIG_STRING = 3,
CONFIG_FLOAT_ARRAY = 4,
} cval_type;
typedef struct {
char *tag;
cval_type type;
... | 28.766667 | 119 | 0.773465 |
d9ad1d2364861ece9ca67c2dcb2185e9a3d046fa | 12,674 | c | C | abc/src/bdd/cudd/cuddAndAbs.c | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 682 | 2015-07-10T00:39:26.000Z | 2022-03-30T05:24:53.000Z | abc/src/bdd/cudd/cuddAndAbs.c | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 1,399 | 2015-07-24T22:09:09.000Z | 2022-03-29T06:22:48.000Z | abc/src/bdd/cudd/cuddAndAbs.c | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 311 | 2015-07-09T13:59:48.000Z | 2022-03-28T00:15:20.000Z | /**CFile***********************************************************************
FileName [cuddAndAbs.c]
PackageName [cudd]
Synopsis [Combined AND and existential abstraction for BDDs]
Description [External procedures included in this module:
<ul>
<li> Cudd_bddAndAbstrac... | 32.919481 | 91 | 0.467808 |
fcdf6ebfe517381e888f16960ba84124eba4e2c0 | 714 | h | C | Programs/ResourceEditor/Classes/TextModule/Private/TextModuleData.h | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | 1 | 2020-11-14T10:18:24.000Z | 2020-11-14T10:18:24.000Z | Programs/ResourceEditor/Classes/TextModule/Private/TextModuleData.h | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | null | null | null | Programs/ResourceEditor/Classes/TextModule/Private/TextModuleData.h | Serviak/dava.engine | d51a26173a3e1b36403f846ca3b2e183ac298a1a | [
"BSD-3-Clause"
] | 1 | 2020-09-05T21:16:17.000Z | 2020-09-05T21:16:17.000Z | #pragma once
#include <TArc/DataProcessing/DataNode.h>
#include <Reflection/ReflectionRegistrator.h>
#include <memory>
class EditorTextSystem;
class TextModuleData : public DAVA::TArc::DataNode
{
public:
static const char* drawingEnabledPropertyName;
void SetDrawingEnabled(bool enabled);
bool IsDrawingE... | 24.62069 | 113 | 0.7507 |
6cfa70895c257743d4dfa798b8686c916594b140 | 351 | h | C | APServiceBox/NSObject+APServiceBox.h | aspyct/APServiceBox | ed58f7a5ad4364d876400b42e3d4ce6b975a1694 | [
"MIT"
] | null | null | null | APServiceBox/NSObject+APServiceBox.h | aspyct/APServiceBox | ed58f7a5ad4364d876400b42e3d4ce6b975a1694 | [
"MIT"
] | null | null | null | APServiceBox/NSObject+APServiceBox.h | aspyct/APServiceBox | ed58f7a5ad4364d876400b42e3d4ce6b975a1694 | [
"MIT"
] | null | null | null | //
// NSObject+APServiceBox.h
// ManPad
//
// Created by Antoine d'Otreppe on 31/08/12.
// Copyright (c) 2012 Aspyct.org. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (APServiceBox)
- (void)injectDependencies;
- (void)fillWithDependencies __deprecated_msg("Use -[NSObject injectD... | 19.5 | 93 | 0.729345 |
1b7b9ccac6ab90a06f1957a53b0c5bd665ebd944 | 3,544 | h | C | kernel/generic/include/debug.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | 3 | 2016-04-17T18:24:31.000Z | 2021-06-05T16:59:40.000Z | kernel/generic/include/debug.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | null | null | null | kernel/generic/include/debug.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2005 Martin Decky
* 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, this list of condit... | 26.646617 | 76 | 0.705418 |
9b5f672d679dc3eebd08987619939c3294be0635 | 458 | c | C | deps/jemalloc/test/src/mq.c | zh1029/redis | f3dd33489834de01392dfed8e0ad5e2e8de0894d | [
"BSD-3-Clause"
] | 38,047 | 2015-01-01T00:47:33.000Z | 2020-06-30T13:06:50.000Z | deps/jemalloc/test/src/mq.c | zh1029/redis | f3dd33489834de01392dfed8e0ad5e2e8de0894d | [
"BSD-3-Clause"
] | 4,730 | 2015-01-01T11:01:37.000Z | 2020-06-30T12:31:28.000Z | deps/jemalloc/test/src/mq.c | zh1029/redis | f3dd33489834de01392dfed8e0ad5e2e8de0894d | [
"BSD-3-Clause"
] | 12,210 | 2015-01-01T04:09:46.000Z | 2020-06-30T06:30:58.000Z | #include "test/jemalloc_test.h"
/*
* Sleep for approximately ns nanoseconds. No lower *nor* upper bound on sleep
* time is guaranteed.
*/
void
mq_nanosleep(unsigned ns) {
assert(ns <= 1000*1000*1000);
#ifdef _WIN32
Sleep(ns / 1000);
#else
{
struct timespec timeout;
if (ns < 1000*1000*1000) {
timeout.tv... | 16.357143 | 79 | 0.652838 |
15efc7bfc69127fd7569e0c8dbbde88ba189bb06 | 234 | h | C | ch07/example.h | beautiful-boyyy/Cpp-Primer | 7802029df51bcac4a029044fc4fd38c3a9ff6177 | [
"CC0-1.0"
] | null | null | null | ch07/example.h | beautiful-boyyy/Cpp-Primer | 7802029df51bcac4a029044fc4fd38c3a9ff6177 | [
"CC0-1.0"
] | null | null | null | ch07/example.h | beautiful-boyyy/Cpp-Primer | 7802029df51bcac4a029044fc4fd38c3a9ff6177 | [
"CC0-1.0"
] | null | null | null | #ifndef EXAMPLE_H
#define EXAMPLE_H
#include <vector>
class Example
{
public:
Example();
static constexpr double rate = 6.5;
static const int vecSize = 20;
static std::vector<double> vec;
};
#endif /* EXAMPLE_H */
| 13.764706 | 39 | 0.666667 |
76582ac0bc4ddbf452162a38c76370dd671f501c | 2,301 | h | C | src/cpp-ethereum/libethcore/Precompiled.h | nexalt-project/nexalt-core | e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f | [
"MIT"
] | 7 | 2021-01-30T11:20:46.000Z | 2021-12-04T02:21:19.000Z | src/cpp-ethereum/libethcore/Precompiled.h | nexalt-project/nexalt-core | e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f | [
"MIT"
] | null | null | null | src/cpp-ethereum/libethcore/Precompiled.h | nexalt-project/nexalt-core | e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f | [
"MIT"
] | 7 | 2021-01-17T11:48:40.000Z | 2021-05-10T12:15:00.000Z | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | 37.721311 | 378 | 0.776619 |
498ece3af7e5e68b652f8e152cf93b55dcfa7e49 | 477 | h | C | src/ast/PostfixExpression.h | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | 3 | 2020-07-17T05:10:56.000Z | 2020-08-02T22:13:50.000Z | src/ast/PostfixExpression.h | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | null | null | null | src/ast/PostfixExpression.h | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | null | null | null | // Copyright (c) 2018 Stephan Unverwerth
// This code is licensed under MIT license (See LICENSE for details)
#ifndef ast_PostfixExpression_h
#define ast_PostfixExpression_h
#include "Expression.h"
namespace Sky {
class PostfixExpression: public Expression {
public:
SKY_GET_TYPE(Sky::PostfixExpressio... | 22.714286 | 68 | 0.719078 |
5b8702e6e25e0dc7f7c504f5923170dd003e8db9 | 331 | c | C | arch-rtems/gdslogger.c | amontilla24/AndroidFixMe | 0e4c7599beaf87e62be441fd30ba6b57500ca1b0 | [
"Unlicense"
] | 2 | 2018-10-20T12:41:45.000Z | 2018-10-20T14:48:21.000Z | arch-rtems/gdslogger.c | amontilla24/AndroidFixMe | 0e4c7599beaf87e62be441fd30ba6b57500ca1b0 | [
"Unlicense"
] | null | null | null | arch-rtems/gdslogger.c | amontilla24/AndroidFixMe | 0e4c7599beaf87e62be441fd30ba6b57500ca1b0 | [
"Unlicense"
] | 2 | 2018-10-20T14:16:39.000Z | 2020-10-21T16:27:52.000Z | static void writeMemoToStdout(char *text)
{
time_t currentTime = getUTCTime();
char timestampBuffer[20];
char msgbuf[256];
writeTimestampLocal(currentTime, timestampBuffer);
isprintf(msgbuf, sizeof msgbuf, "[%s] %s", timestampBuffer, text);
puts(msgbuf);
}
static void ionRedirectMemos()
{
setLogger(writeMemoTo... | 20.6875 | 67 | 0.755287 |
8d70603c06652e58decfd0bc910f97e5ae79291e | 731 | h | C | Header/ParticleManager.h | yuhongyi/HazelEngine | fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c | [
"MIT"
] | null | null | null | Header/ParticleManager.h | yuhongyi/HazelEngine | fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c | [
"MIT"
] | null | null | null | Header/ParticleManager.h | yuhongyi/HazelEngine | fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c | [
"MIT"
] | null | null | null | #pragma once
#include <list>
using namespace std;
#include "GameObject.h"
#include "Singleton.h"
#include "Particle.h"
class ParticleManager : public Singleton<ParticleManager>, public GameObject
{
public:
// ctor & dtor
ParticleManager() {}
// GameObject
virtual bool Initialize(LPDIRECT3DDEVICE9 d3dDevice) over... | 27.074074 | 80 | 0.786594 |
cb94be3c30123a69bd171de92b58da5be92abb0c | 4,735 | h | C | release/src/linux/linux/drivers/acpi/ospm/include/ec.h | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | release/src/linux/linux/drivers/acpi/ospm/include/ec.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | release/src/linux/linux/drivers/acpi/ospm/include/ec.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /*****************************************************************************
*
* Module Name: ec.h
* $Revision: 1.1.1.2 $
*
*****************************************************************************/
/*
* Copyright (C) 2000, 2001 Andrew Grover
*
* This program is free software; you can redistribute it... | 23.325123 | 79 | 0.533474 |
cbe6399ee2a29dda278f6a702a5b2cbbe5eb37a0 | 2,630 | h | C | TradPlusAdSDK/TradPlusAds.framework/Headers/TradPlusAdRewarded.h | tradplus/pod_tradplus_sdk | 366b1bc6bdabe536d9893ecd1d0bd9f1fd748c62 | [
"MIT"
] | null | null | null | TradPlusAdSDK/TradPlusAds.framework/Headers/TradPlusAdRewarded.h | tradplus/pod_tradplus_sdk | 366b1bc6bdabe536d9893ecd1d0bd9f1fd748c62 | [
"MIT"
] | 1 | 2022-02-21T07:40:41.000Z | 2022-03-10T13:45:24.000Z | TradPlusAdSDK/TradPlusAds.framework/Headers/TradPlusAdRewarded.h | tradplus/pod_tradplus_sdk | 366b1bc6bdabe536d9893ecd1d0bd9f1fd748c62 | [
"MIT"
] | null | null | null | //
// TradPlusAdRewarded.h
// TradPlusAds
//
// Created by xuejun on 2021/9/6.
// Copyright © 2021 TradPlus. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TradPlusADRewardedDelegate;
@interface TradPlusAdRewarded : NSObject
/// 设置广告位ID
- (vo... | 27.978723 | 121 | 0.771483 |
4fd5d9e3d5b32287fb949d611b06e901a480907c | 796 | h | C | src/prod/src/Reliability/Failover/ra/FailoverUnitPreCommitValidator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Reliability/Failover/ra/FailoverUnitPreCommitValidator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Reliability/Failover/ra/FailoverUnitPreCommitValidator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Reliab... | 33.166667 | 150 | 0.60804 |
53f0772b6e7e70a461ce519d5b4648b28a7f5b72 | 733 | h | C | formula_tree/Tree.h | w1ldy0uth/LMoP_VSU | 52e511332947c31607dd1cf6203af736ae4cdb81 | [
"MIT"
] | 2 | 2021-09-20T20:37:38.000Z | 2021-11-19T09:38:24.000Z | formula_tree/Tree.h | w1ldy0uth/LMoP_VSU_labs | 52e511332947c31607dd1cf6203af736ae4cdb81 | [
"MIT"
] | null | null | null | formula_tree/Tree.h | w1ldy0uth/LMoP_VSU_labs | 52e511332947c31607dd1cf6203af736ae4cdb81 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
class Tree {
public:
struct TreeNode {
char val;
TreeNode* left;
TreeNode* right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(char x) : val(x), left(nullptr), right(nullptr) {}
};
typedef TreeNode* pTree;
private:... | 18.794872 | 67 | 0.607094 |
3edd3907074d4d4c9cea0b0aba1850f2fd0b3fac | 767 | c | C | source/dma.c | KittenBot/codal-rp2040 | d17cfdded1112521089be6ddf3fde088cb0536d9 | [
"MIT"
] | null | null | null | source/dma.c | KittenBot/codal-rp2040 | d17cfdded1112521089be6ddf3fde088cb0536d9 | [
"MIT"
] | null | null | null | source/dma.c | KittenBot/codal-rp2040 | d17cfdded1112521089be6ddf3fde088cb0536d9 | [
"MIT"
] | null | null | null | #include "dma.h"
#include "CodalDmesg.h"
#include "ErrorNo.h"
#include "hardware/dma.h"
#include "hardware/irq.h"
static DMAHandler dmaHandler[12]; // max channel 12
void isr_dma_0 (){
uint mask = dma_hw->ints0;
// write to clear
dma_hw->ints0 = mask;
for (uint8_t ch=0;ch<12;ch++){
if ((1<<ch) & mask){
... | 23.96875 | 89 | 0.684485 |
ac7368f507e6102462a9bf101658d1701e795814 | 855 | h | C | Homeworks/9_PathTracing/Ubpa/UScene_0_5_0/include/UScene/core.h | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | Homeworks/9_PathTracing/Ubpa/UScene_0_5_0/include/UScene/core.h | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | Homeworks/9_PathTracing/Ubpa/UScene_0_5_0/include/UScene/core.h | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | #pragma once
#include "core/Scene.h"
#include "core/SObj.h"
#include "core/Cmpt/Camera.h"
#include "core/Cmpt/Geometry.h"
#include "core/Cmpt/L2W.h"
#include "core/Cmpt/Light.h"
#include "core/Cmpt/Material.h"
#include "core/Cmpt/Position.h"
#include "core/Cmpt/Root.h"
#include "core/Cmpt/Rotation.h"
#include "core/C... | 25.147059 | 37 | 0.748538 |
3a1fc1d60388f99cef0f97c24ae9b73efc8e4ba6 | 28,608 | c | C | usr.sbin/sysinstall/disks.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2017-04-06T21:39:15.000Z | 2019-10-09T17:34:14.000Z | usr.sbin/sysinstall/disks.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | usr.sbin/sysinstall/disks.c | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-01-04T06:36:39.000Z | 2020-01-04T06:36:39.000Z | /*
* The new sysinstall program.
*
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $FreeBSD: src/usr.sbin/sysinstall/disks.c,v 1.157 2006/02/28 21:49:32 jhb Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
*
* ... | 28.213018 | 103 | 0.628356 |
5f9771799a8d61d02c729e812f43408347c2c6a9 | 293 | h | C | Classes/Controllers/Navigation Controllers/ARContentControllers.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 231 | 2015-08-06T18:40:19.000Z | 2022-03-27T20:40:03.000Z | Classes/Controllers/Navigation Controllers/ARContentControllers.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 313 | 2015-08-06T19:04:17.000Z | 2022-01-14T15:42:36.000Z | Classes/Controllers/Navigation Controllers/ARContentControllers.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 54 | 2015-08-06T19:01:14.000Z | 2022-02-10T12:19:50.000Z | #import "ARGridViewController.h"
#import "ARArtistViewController.h"
#import "ARAlbumViewController.h"
#import "ARArtworkSetViewController.h"
#import "ARShowViewController.h"
#import "ARModernDocumentPreviewViewController.h"
#import "ARTopViewController.h"
#import "ARImageSetViewController.h"
| 32.555556 | 49 | 0.836177 |
5c7972f91ef648ab58c99e168309dce73abbe9f3 | 11,398 | h | C | linux-3.0.1/drivers/staging/westbridge/astoria/include/linux/westbridge/cyaslowlevel.h | tonghua209/samsun6410_linux_3_0_0_1_for_aws | 31aa0dc27c4aab51a92309a74fd84ca65e8c6a58 | [
"Apache-2.0"
] | 4 | 2016-07-01T04:50:02.000Z | 2021-11-14T21:29:42.000Z | linux-3.0/drivers/staging/westbridge/astoria/include/linux/westbridge/cyaslowlevel.h | spartan263/vizio_oss | 74270002d874391148119b48882db6816e7deedc | [
"Linux-OpenIB"
] | null | null | null | linux-3.0/drivers/staging/westbridge/astoria/include/linux/westbridge/cyaslowlevel.h | spartan263/vizio_oss | 74270002d874391148119b48882db6816e7deedc | [
"Linux-OpenIB"
] | 1 | 2020-04-03T14:00:39.000Z | 2020-04-03T14:00:39.000Z | /* Cypress West Bridge API header file (cyaslowlevel.h)
## ===========================
## Copyright (C) 2010 Cypress Semiconductor
##
## 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 v... | 31.057221 | 68 | 0.770047 |
583cdec313c9ea44792e616c878b6a3c29c89649 | 1,607 | h | C | TTFrameWork/TTOtherPayManager/TTPayManager.h | zhangfurun/TT | 17f43acdf564f288ab303d26c71f56b6a41e7b10 | [
"MIT"
] | 50 | 2017-03-01T07:09:23.000Z | 2021-08-09T15:34:49.000Z | TTFrameWork/TTOtherPayManager/TTPayManager.h | zhangfurun/TT | 17f43acdf564f288ab303d26c71f56b6a41e7b10 | [
"MIT"
] | null | null | null | TTFrameWork/TTOtherPayManager/TTPayManager.h | zhangfurun/TT | 17f43acdf564f288ab303d26c71f56b6a41e7b10 | [
"MIT"
] | 11 | 2017-03-24T08:46:19.000Z | 2018-05-15T00:58:15.000Z | //
// TTPayManager.h
// StoryShip
//
// Created by 张福润 on 2017/4/23.
// Copyright © 2017年 ifenghui. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TTBaseModel.h"
#define TTPAY_MANAGER [TTPayManager sharedManager]
@class WeChatPayModel;
typedef enum : NSUInteger {
ErrorCodeType_Success,
... | 22.957143 | 59 | 0.734287 |
d4ec3a755e2cc8e0fe65ae7fc149c7511c3a54a4 | 938 | h | C | scipy/special/_faddeeva.h | FranzForstmayr/scipy | 9a12908f843aed87203b32e45d1001353d90c548 | [
"BSD-3-Clause"
] | 1 | 2019-07-12T16:40:35.000Z | 2019-07-12T16:40:35.000Z | scipy/special/_faddeeva.h | FranzForstmayr/scipy | 9a12908f843aed87203b32e45d1001353d90c548 | [
"BSD-3-Clause"
] | 1 | 2019-07-24T19:52:07.000Z | 2019-07-24T19:52:07.000Z | scipy/special/_faddeeva.h | FranzForstmayr/scipy | 9a12908f843aed87203b32e45d1001353d90c548 | [
"BSD-3-Clause"
] | 2 | 2019-12-29T20:29:20.000Z | 2020-06-08T14:39:49.000Z | #ifndef FADDEEVA_H_
#define FADDEEVA_H_
#ifdef __cplusplus
#define EXTERN_C_START extern "C" {
#define EXTERN_C_END }
#else
#define EXTERN_C_START
#define EXTERN_C_END
#endif
#include <complex>
#include <Python.h>
#include "Faddeeva.hh"
EXTERN_C_START
#include <numpy/npy_math.h>
npy_cdouble faddeeva_w(npy_cdouble... | 20.391304 | 68 | 0.823028 |
5c0042a1311e60d437fc9334cb373832bebfe3da | 101 | h | C | debug_911.h | zorbathut/d-net | 61f610ca71270c6a95cf57dc3acaeab8559a234b | [
"MIT"
] | 1 | 2016-11-02T06:47:52.000Z | 2016-11-02T06:47:52.000Z | debug_911.h | zorbathut/d-net | 61f610ca71270c6a95cf57dc3acaeab8559a234b | [
"MIT"
] | null | null | null | debug_911.h | zorbathut/d-net | 61f610ca71270c6a95cf57dc3acaeab8559a234b | [
"MIT"
] | null | null | null | #ifndef DNET_DEBUG_911
#define DNET_DEBUG_911
void Prepare911(const char *fname, int line);
#endif
| 14.428571 | 45 | 0.792079 |
ce0e733f73b82043524bc3c576cad4337a62a938 | 15,399 | h | C | VirtoolsNMOLoader/VirtoolsNMOLoader/Virtools-SDK-2.1/Include/XClassArray.h | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | 16 | 2021-11-12T12:42:04.000Z | 2022-03-30T07:56:39.000Z | VirtoolsNMOLoader/VirtoolsNMOLoader/Virtools-SDK-2.1/Include/XClassArray.h | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | null | null | null | VirtoolsNMOLoader/VirtoolsNMOLoader/Virtools-SDK-2.1/Include/XClassArray.h | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | 1 | 2022-03-18T04:42:49.000Z | 2022-03-18T04:42:49.000Z | /*************************************************************************/
/* File : XClassArray.h */
/* Author : Aymeric Bard */
/* */
/* Virtools SDK */
/* Copyright (c) Virtools 2000, All Rights Reserved. */
/********************************************... | 26.011824 | 83 | 0.4273 |
c01e146aaa0658498cbc5e0ae6ab814b8464fe73 | 141 | c | C | vendor/uncrustify-0.59/tests/output/c/00620-indent-assign.c | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/output/c/00620-indent-assign.c | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/output/c/00620-indent-assign.c | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | void foo(void)
{
int a;
junk(a = 3);
}
void f()
{
int x = size_t(1.0) +
2;
int y = (size_t(1.0) +
5);
}
| 9.4 | 25 | 0.368794 |
a34f3deb89375776addf6bc4b8132f43a9206285 | 93 | h | C | ios/Classes/AgoraFpaServicePlugin.h | AgoraIO-Community/Agora-Flutter-FPA-SDK | e5b336ff25f8c9e17e767d930efbffe29756819e | [
"MIT"
] | 1 | 2022-01-20T15:16:38.000Z | 2022-01-20T15:16:38.000Z | ios/Classes/AgoraFpaServicePlugin.h | AgoraIO-Community/Agora-Flutter-FPA-SDK | e5b336ff25f8c9e17e767d930efbffe29756819e | [
"MIT"
] | null | null | null | ios/Classes/AgoraFpaServicePlugin.h | AgoraIO-Community/Agora-Flutter-FPA-SDK | e5b336ff25f8c9e17e767d930efbffe29756819e | [
"MIT"
] | null | null | null | #import <Flutter/Flutter.h>
@interface AgoraFpaServicePlugin : NSObject<FlutterPlugin>
@end
| 18.6 | 58 | 0.806452 |
b88963e06b53fe1a22cd35e8669488e8615d0768 | 3,807 | c | C | tests/check_protobuf.c | jbamlee/blue-app-hycon | 628d4d7d373a2cf2a4d4705499eaa141c1560881 | [
"Apache-2.0"
] | 2 | 2018-06-20T13:15:54.000Z | 2018-09-13T17:59:45.000Z | tests/check_protobuf.c | jbamlee/blue-app-hycon | 628d4d7d373a2cf2a4d4705499eaa141c1560881 | [
"Apache-2.0"
] | null | null | null | tests/check_protobuf.c | jbamlee/blue-app-hycon | 628d4d7d373a2cf2a4d4705499eaa141c1560881 | [
"Apache-2.0"
] | 4 | 2018-06-27T08:32:15.000Z | 2019-02-20T02:43:29.000Z | #include <check.h>
#include <math.h>
#include "../src/hycon_api.h"
#include "test_data.h"
void setup(void)
{
}
void teardown(void)
{
}
START_TEST(test_protobuf_small)
{
const uint8_t const encoded_tx[] =
{0x12, 0x14, 0xdb, 0x66, 0x12, 0xb3, 0x09, 0xd2, 0x57, 0xa2,
0xae, 0xbd, 0x59, 0xb7, 0x44, 0x5a, 0x90, 0x0... | 27.586957 | 78 | 0.731284 |
d483070a3becd55ffb87afa32ed10dc8cf557368 | 1,016 | h | C | gpio_demo_frdmk64f/main.h | 0xc0170/kinetis_klxx_gcc_pgen | 62e457bcb63376ae19dffed1dd68867b3096f874 | [
"Apache-2.0"
] | null | null | null | gpio_demo_frdmk64f/main.h | 0xc0170/kinetis_klxx_gcc_pgen | 62e457bcb63376ae19dffed1dd68867b3096f874 | [
"Apache-2.0"
] | null | null | null | gpio_demo_frdmk64f/main.h | 0xc0170/kinetis_klxx_gcc_pgen | 62e457bcb63376ae19dffed1dd68867b3096f874 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 12.2013, Martin Kojtal (0xc0170)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 20.734694 | 75 | 0.695866 |
81d67258d014652528cf512553f6399ff8d538a2 | 1,401 | h | C | esp32/blekb2qmk.h | zinziroge/split_keyboard | 2f858bf4fc877bcf7a9f9fe960e6acbf3ace6792 | [
"MIT"
] | null | null | null | esp32/blekb2qmk.h | zinziroge/split_keyboard | 2f858bf4fc877bcf7a9f9fe960e6acbf3ace6792 | [
"MIT"
] | null | null | null | esp32/blekb2qmk.h | zinziroge/split_keyboard | 2f858bf4fc877bcf7a9f9fe960e6acbf3ace6792 | [
"MIT"
] | null | null | null | #pragma once
////BleKeyboard name -> QMK name
#include <BleKeyboard.h>
#if 0
/* modifiers key はコードが違うので合わせる */
/* QMK BleKeyboard */
/* 0xE0 0x80 */
#define KC_LCTL KEY_LEFT_CTRL
#define KC_LSFT KEY_LEFT_SHIFT
#define KC_LALT KEY_LEFT_ALT
#define KC_LGUI KEY_LEFT_GUI
#define KC_RCTL KEY_RIGHT_CTRL
#... | 22.967213 | 33 | 0.802284 |
81e2138f4ab12102a82eb06cda55b86f3ec74b5c | 301 | h | C | includes/okra/config.h | fpascutti/okra | e4ebf13cd047be48988c541078bbdfd9220a508d | [
"BSL-1.0"
] | null | null | null | includes/okra/config.h | fpascutti/okra | e4ebf13cd047be48988c541078bbdfd9220a508d | [
"BSL-1.0"
] | 1 | 2016-12-07T12:03:00.000Z | 2016-12-07T12:03:00.000Z | includes/okra/config.h | fpascutti/okra | e4ebf13cd047be48988c541078bbdfd9220a508d | [
"BSL-1.0"
] | null | null | null | #ifndef OKRA_CONFIG_H
#define OKRA_CONFIG_H
// Copyright Franck Pascutti 2016-2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <okra/compiler_detection.h>
#endif // OKRA_CONFIG_H
| 27.363636 | 90 | 0.780731 |
373921b93cb4b076b4a7cde105830e87b2c357d9 | 521 | h | C | SBD2/record.h | rubikshift/SBD_2 | 03f031bfaf5225d94320d7cd525e0bd2fc864791 | [
"MIT"
] | null | null | null | SBD2/record.h | rubikshift/SBD_2 | 03f031bfaf5225d94320d7cd525e0bd2fc864791 | [
"MIT"
] | null | null | null | SBD2/record.h | rubikshift/SBD_2 | 03f031bfaf5225d94320d7cd525e0bd2fc864791 | [
"MIT"
] | null | null | null | #pragma once
#include <limits>
#include <iostream>
struct Record
{
Record(int key = 0, double v = UNINIT, double m = UNINIT); // v == UNINIT or m == UNINIT => uninitialized record
bool isInitialized() const;
int key, ptr;
double v, m;
static constexpr const double UNINIT = -1 * std::numeric_limits<double>::infi... | 27.421053 | 113 | 0.690979 |
69627313a572872d1b44d741270a2ec9c4e5e70b | 1,335 | c | C | protocol/z-wave/Apps/SerialAPI/cmd_get_capabilities.c | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | protocol/z-wave/Apps/SerialAPI/cmd_get_capabilities.c | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | protocol/z-wave/Apps/SerialAPI/cmd_get_capabilities.c | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | /**
* @file
* @copyright 2022 Silicon Laboratories Inc.
*/
#include <stdint.h>
#include "cmd_handlers.h"
#include "config_app.h"
#include "serialappl.h"
#define CAPABILITIES_SIZE (8 + 32) // Info + supported commands
static uint8_t SERIALAPI_CAPABILITIES[CAPABILITIES_SIZE] = {
APP_VERSION,
APP... | 34.230769 | 112 | 0.763296 |
da427af07ba8be012f9ccef4d3237ce6b62d8a47 | 4,225 | h | C | myy601l2/config.h | sageorgisn/601l2 | 4b5c928d849d4dbd9c34b9547372c19efb156355 | [
"MIT"
] | null | null | null | myy601l2/config.h | sageorgisn/601l2 | 4b5c928d849d4dbd9c34b9547372c19efb156355 | [
"MIT"
] | null | null | null | myy601l2/config.h | sageorgisn/601l2 | 4b5c928d849d4dbd9c34b9547372c19efb156355 | [
"MIT"
] | null | null | null | #ifndef _CONFIG_H
#define _CONFIG_H
/* Minix release and version numbers. */
#define OS_RELEASE "3"
#define OS_VERSION "2.0"
/* This file sets configuration parameters for the MINIX kernel, FS, and PM.
* It is divided up into two main sections. The first section contains
* user-settable parameters. In the second ... | 36.422414 | 79 | 0.691361 |
fb7ff7c096feda47ffff422dc9555ef91d641858 | 1,807 | c | C | tracker.c | t6/simplestrok | 7fd705b315b244b3b912d9d17b8afbf87878fcac | [
"0BSD"
] | 1 | 2019-09-16T20:26:24.000Z | 2019-09-16T20:26:24.000Z | tracker.c | t6/simplestrok | 7fd705b315b244b3b912d9d17b8afbf87878fcac | [
"0BSD"
] | 1 | 2020-05-22T09:09:59.000Z | 2020-05-22T17:15:51.000Z | tracker.c | t6/simplestroke | 7fd705b315b244b3b912d9d17b8afbf87878fcac | [
"0BSD"
] | null | null | null | /*
* Copyright (c) 2019 Tobias Kortkamp <t@tobik.me>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... | 21.258824 | 79 | 0.721085 |
d3117a81fbc78cc2a4150389799ed26f4776f51f | 861 | h | C | MCObserverKit/MCObserverKit.h | MC-Studio/MCObserverKit | 6ee229c928ec141e1d15774be98986953cc1b261 | [
"MIT"
] | 1 | 2020-09-28T13:53:33.000Z | 2020-09-28T13:53:33.000Z | MCObserverKit/MCObserverKit.h | BinaryParadise/MCObserverKit | 6ee229c928ec141e1d15774be98986953cc1b261 | [
"MIT"
] | 1 | 2018-11-16T14:03:53.000Z | 2018-11-17T03:32:20.000Z | MCObserverKit/MCObserverKit.h | MC-Studio/MCObserverKit | 6ee229c928ec141e1d15774be98986953cc1b261 | [
"MIT"
] | null | null | null | //
// MCObserverKit.h
//
// Created by Rake Yang on 17/2/9.
// Copyright © 2017年 BinaryParadise. All rights reserved.
//
/**
对象KVO快速注册关联,单利模式请手动移除观察者
*/
#import <MCFoundation/MCFoundation.h>
#import "MOKBinding.h"
#define MCBinding(TARGET, ...) \
macro_if_eq(1, macro_argcount(__VA_ARGS__))(_OKit_(TARGET, __VA_AR... | 24.6 | 105 | 0.751452 |
1c7dfaf1e5d1a071a36709387469fd7243818830 | 336 | c | C | install_dependencies/xianyi-OpenBLAS-6d2da63/interface/CMakeFiles/cblas_dspr2.c | lanl/DnMFkCPP | a6bca290bf7d57be07f7a80d049d6b7714fbdc61 | [
"BSD-3-Clause",
"Unlicense"
] | 1 | 2021-07-29T21:56:02.000Z | 2021-07-29T21:56:02.000Z | install_dependencies/xianyi-OpenBLAS-6d2da63/interface/CMakeFiles/cblas_dspr2.c | rvangara/DnMFk | a6bca290bf7d57be07f7a80d049d6b7714fbdc61 | [
"BSD-3-Clause",
"Unlicense"
] | null | null | null | install_dependencies/xianyi-OpenBLAS-6d2da63/interface/CMakeFiles/cblas_dspr2.c | rvangara/DnMFk | a6bca290bf7d57be07f7a80d049d6b7714fbdc61 | [
"BSD-3-Clause",
"Unlicense"
] | 2 | 2021-07-29T21:55:33.000Z | 2021-08-02T21:30:15.000Z | #define CBLAS
#define ASMNAME cblas_dspr2
#define ASMFNAME cblas_dspr2_
#define NAME cblas_dspr2_
#define CNAME cblas_dspr2
#define CHAR_NAME "cblas_dspr2_"
#define CHAR_CNAME "cblas_dspr2"
#define DOUBLE
#include "/lustre/scratch3/turquoise/rvangara/RD100/distnnmfkcpp_Src/install_dependencies/xianyi-OpenBLAS-6d2da63/i... | 37.333333 | 131 | 0.848214 |
46f7d90da57d2cb7d15cee8c60614a49a832e955 | 3,446 | c | C | openair2/LAYER2/rlc_v2/asn1_utils.c | shadansari/onos-cu-cp | 16cbf4828bd11e4c7319e7a009a26b6f39fde628 | [
"Apache-2.0"
] | 6 | 2019-12-27T00:55:47.000Z | 2021-11-16T11:36:20.000Z | openair2/LAYER2/rlc_v2/asn1_utils.c | shadansari/onos-cu-cp | 16cbf4828bd11e4c7319e7a009a26b6f39fde628 | [
"Apache-2.0"
] | 2 | 2021-06-17T05:01:55.000Z | 2021-11-24T14:23:54.000Z | openair2/LAYER2/rlc_v2/asn1_utils.c | shadansari/onos-cu-cp | 16cbf4828bd11e4c7319e7a009a26b6f39fde628 | [
"Apache-2.0"
] | 15 | 2019-12-27T00:55:51.000Z | 2022-03-28T02:13:45.000Z | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | 26.507692 | 82 | 0.587928 |
208b0c5493748c2cfed99c4f9fe13911071f1664 | 240 | c | C | cmake/try_compile/HAVE_PWRITEV.c | rtchack/utils_cmake | 2e37f45696b8d256b42b47c2474194c94657956b | [
"MIT"
] | null | null | null | cmake/try_compile/HAVE_PWRITEV.c | rtchack/utils_cmake | 2e37f45696b8d256b42b47c2474194c94657956b | [
"MIT"
] | null | null | null | cmake/try_compile/HAVE_PWRITEV.c | rtchack/utils_cmake | 2e37f45696b8d256b42b47c2474194c94657956b | [
"MIT"
] | null | null | null | /*
* Created by Meissa project team in 2020.
*/
#include <sys/uio.h>
int
main()
{
char buf[1];
struct iovec vec[1];
ssize_t n;
vec[0].iov_base = buf;
vec[0].iov_len = 1;
n = pwritev(1, vec, 1, 0);
if (n == -1) return 1;
}
| 13.333333 | 42 | 0.566667 |
5a2476c2be5a3d36061c433d8b460bbbef333079 | 456 | h | C | include/ashm.h | PavelAtr/android-shm | 7792279ee174a67e68f9eee277b7febcd12b0fc0 | [
"BSD-2-Clause"
] | null | null | null | include/ashm.h | PavelAtr/android-shm | 7792279ee174a67e68f9eee277b7febcd12b0fc0 | [
"BSD-2-Clause"
] | null | null | null | include/ashm.h | PavelAtr/android-shm | 7792279ee174a67e68f9eee277b7febcd12b0fc0 | [
"BSD-2-Clause"
] | null | null | null | #include <sys/types.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
int shm_init(); //Used only by parent process
int shm_open(const char *name, int oflag, mode_t mode);
int shm_unlink(const char *name);
void* shm_mmap(void *addr, size_t length, int prot, int flags,
int fd, off_t offset);... | 20.727273 | 62 | 0.714912 |
5a281c1585019192ce37ba71c65e1ff7687f228b | 9,962 | c | C | src/graphics/model.c | ten3roberts/cuttle | b4b828c2fdace5e54c8f4806b32cc78b8d40cc85 | [
"BSD-3-Clause"
] | 2 | 2020-12-14T15:58:13.000Z | 2021-12-29T13:20:47.000Z | src/graphics/model.c | ten3roberts/cuttle | b4b828c2fdace5e54c8f4806b32cc78b8d40cc85 | [
"BSD-3-Clause"
] | 1 | 2020-06-13T09:14:43.000Z | 2020-06-13T09:14:43.000Z | src/graphics/model.c | ten3roberts/cuttle | b4b828c2fdace5e54c8f4806b32cc78b8d40cc85 | [
"BSD-3-Clause"
] | null | null | null | #include "graphics/model.h"
#include "utils.h"
#include "graphics/vertexbuffer.h"
#include "graphics/indexbuffer.h"
#include "xmlparser.h"
#include "log.h"
#include "utils.h"
#include "hashtable.h"
hashtable_t* model_table = NULL;
struct Mesh
{
// The mesh id
char name[256];
VertexBuffer* vb;
IndexBuffer* ib;
ui... | 24.121065 | 117 | 0.669344 |
c6e1876bfe1855ba1e3e7a0ebf97a796d67b8d48 | 697 | h | C | dOC/CommentViewDemo/CommentViewDemo/CommentView/supportFile/UITextView+CQAdd.h | MartinOSix/DemoKit | 3d8c6267ef1782a2688fcf25dd2223595074c4ff | [
"Apache-2.0"
] | null | null | null | dOC/CommentViewDemo/CommentViewDemo/CommentView/supportFile/UITextView+CQAdd.h | MartinOSix/DemoKit | 3d8c6267ef1782a2688fcf25dd2223595074c4ff | [
"Apache-2.0"
] | null | null | null | dOC/CommentViewDemo/CommentViewDemo/CommentView/supportFile/UITextView+CQAdd.h | MartinOSix/DemoKit | 3d8c6267ef1782a2688fcf25dd2223595074c4ff | [
"Apache-2.0"
] | null | null | null | //
// UITextView+CQAdd.h
// CarServiceLeague
//
// Created by runo on 16/8/10.
// Copyright © 2016年 com.runo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UITextView (CQAdd)
/**
* @author huangyibiao
*
* 给UITextView添加placeholder
*
* @note 注意,此扩展有点小问题,如果在添加placeholder后,又直接赋值Text属性,则不会自动消失
* ... | 15.488889 | 70 | 0.688666 |
101bf23c9c461d4a950bd3a979886795a992e6b3 | 686 | h | C | Userland/main_app/include/kernel_messages.h | matias-apablaza/arqui-tpe | 328eb4b5dbe397557fbf9e98348bc469893a1978 | [
"BSD-3-Clause"
] | null | null | null | Userland/main_app/include/kernel_messages.h | matias-apablaza/arqui-tpe | 328eb4b5dbe397557fbf9e98348bc469893a1978 | [
"BSD-3-Clause"
] | null | null | null | Userland/main_app/include/kernel_messages.h | matias-apablaza/arqui-tpe | 328eb4b5dbe397557fbf9e98348bc469893a1978 | [
"BSD-3-Clause"
] | null | null | null | /*---------------------------------------------------------------------------------------------------
| KERNEL_MESSAGES.H | |
|---------------------- |
| This file de... | 45.733333 | 101 | 0.345481 |
10411c1fd81edd99a2868538cca345f5cef05dba | 5,093 | h | C | Modules_Rebuild/to_string.h | IgarashiYuka/msp430f5529lp_workspace | 09aa6c297330202c700fbc7bc1d8ad6da660ba15 | [
"MIT"
] | null | null | null | Modules_Rebuild/to_string.h | IgarashiYuka/msp430f5529lp_workspace | 09aa6c297330202c700fbc7bc1d8ad6da660ba15 | [
"MIT"
] | null | null | null | Modules_Rebuild/to_string.h | IgarashiYuka/msp430f5529lp_workspace | 09aa6c297330202c700fbc7bc1d8ad6da660ba15 | [
"MIT"
] | null | null | null | /*
* Author: YukaCR
* Native C++ warpper for Arduino Streaming.
*/
#ifndef TO_STRING_H
#define TO_STRING_H
#include "stdlib.h"
#include "stdint.h"
#include "string.h"
#define DEC 10
#define HEX 16
#define OCT 8
#define BIN 2
char* to_string(char data){
static char p_data[2]={0,0};
p_data[0]= data;
retur... | 24.485577 | 81 | 0.514628 |
87b42eb05dd71ada2d4a182556578dd62a616bad | 235 | h | C | Source/Device/DeviceManager.h | phisn/DigitalDetectives | 2f279b4856cea0ce1933301c24683a2c0f34a2f8 | [
"Unlicense"
] | 1 | 2020-05-28T20:13:10.000Z | 2020-05-28T20:13:10.000Z | Source/Device/DeviceManager.h | phisn/DigitalDetectives | 2f279b4856cea0ce1933301c24683a2c0f34a2f8 | [
"Unlicense"
] | null | null | null | Source/Device/DeviceManager.h | phisn/DigitalDetectives | 2f279b4856cea0ce1933301c24683a2c0f34a2f8 | [
"Unlicense"
] | null | null | null | #pragma once
namespace Device
{
namespace GameManager
{
enum class GameState
{
Collect,
Setup,
Running
};
void Initialize();
void Uninitialize();
void Process();
void SetCurrentState(const GameState);
}
} | 10.681818 | 40 | 0.66383 |
40371d4f587b80ac62f6a7c454061f078597c969 | 217 | h | C | IELTS/Main/Guide/GuideViewController.h | sophiemarceau/NEDIELTS_iOS_IPAD | 5d23f51c7ff0cbfc0e0127f54dc438ca13551666 | [
"MIT"
] | null | null | null | IELTS/Main/Guide/GuideViewController.h | sophiemarceau/NEDIELTS_iOS_IPAD | 5d23f51c7ff0cbfc0e0127f54dc438ca13551666 | [
"MIT"
] | null | null | null | IELTS/Main/Guide/GuideViewController.h | sophiemarceau/NEDIELTS_iOS_IPAD | 5d23f51c7ff0cbfc0e0127f54dc438ca13551666 | [
"MIT"
] | null | null | null | //
// GuideViewController.h
// IELTS
//
// Created by 李牛顿 on 14-11-12.
// Copyright (c) 2014年 Neworiental. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GuideViewController : UIViewController
@end
| 15.5 | 57 | 0.700461 |
f0da618204a614282428673bc5d7e9442aaef908 | 7,796 | h | C | src/Moon/160/mask_10_160.h | MHotchin/RLEBitmap | ebea6f7f032c235ff2301e2aced1e6180b71882e | [
"MIT"
] | 8 | 2020-07-05T17:00:15.000Z | 2022-02-08T04:34:50.000Z | src/Moon/160/mask_10_160.h | Bodmer/RLEBitmap | ed2bf7ec6497371415878a7a5a07b7938294aad6 | [
"MIT"
] | 2 | 2020-07-04T21:11:49.000Z | 2020-08-11T20:23:06.000Z | src/Moon/160/mask_10_160.h | Bodmer/RLEBitmap | ed2bf7ec6497371415878a7a5a07b7938294aad6 | [
"MIT"
] | 3 | 2020-07-05T17:00:22.000Z | 2020-11-03T11:18:34.000Z |
//
// This file is AUTOMATICALLY GENERATED, and should not be edited unless you are certain
// that it will not be re-generated anytime in the future. As generated code, the
// copyright owner(s) of the generating program do NOT claim any copyright on the code
// generated.
//
// Run Length Encoded (RLE) bitmaps... | 34.959641 | 89 | 0.658671 |
293c6bb986e8d571b6f3612e380597208f6f9e77 | 5,083 | h | C | src/C/corecrypto/ccaes/src/gladman/gladman_aes.h | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 34 | 2015-02-04T18:03:14.000Z | 2020-11-10T06:45:28.000Z | src/C/corecrypto/ccaes/src/gladman/gladman_aes.h | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 5 | 2015-06-30T21:17:00.000Z | 2016-06-14T22:31:51.000Z | src/C/corecrypto/ccaes/src/gladman/gladman_aes.h | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 15 | 2015-10-29T14:21:58.000Z | 2022-01-19T07:33:14.000Z | /*
---------------------------------------------------------------------------
Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. All rights reserved.
LICENSE TERMS
The free distribution and use of this software in both source and binary
form is allowed (with or without changes) provided that:
1. distrib... | 31.76875 | 113 | 0.711194 |
ad9b6f9ec2b1df79a01e763502356af29878adb0 | 15,685 | h | C | dmc/dlls/player.h | SmileyAG/dmc-rebased | 579b3cd0c8c6690421246e9f0b3381d1f6ceb2f6 | [
"Unlicense"
] | 1 | 2022-01-05T09:42:14.000Z | 2022-01-05T09:42:14.000Z | dmc/dlls/player.h | SmileyAG/ag-dmc | 579b3cd0c8c6690421246e9f0b3381d1f6ceb2f6 | [
"Unlicense"
] | 10 | 2022-01-04T14:15:33.000Z | 2022-01-04T16:16:21.000Z | dmc/dlls/player.h | SmileyAG/dmc-rebased | 579b3cd0c8c6690421246e9f0b3381d1f6ceb2f6 | [
"Unlicense"
] | 1 | 2022-01-05T07:44:20.000Z | 2022-01-05T07:44:20.000Z | /***
*
* Copyright (c) 1999, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obj... | 31.495984 | 145 | 0.76519 |
091897328563f3bccf40aabdb41094d892be111a | 1,255 | h | C | Engine/GameObject.h | JoanBarduena/VideogameEngines | cd868a8e495d736c325a3b3f095b9b23118569e0 | [
"MIT"
] | null | null | null | Engine/GameObject.h | JoanBarduena/VideogameEngines | cd868a8e495d736c325a3b3f095b9b23118569e0 | [
"MIT"
] | null | null | null | Engine/GameObject.h | JoanBarduena/VideogameEngines | cd868a8e495d736c325a3b3f095b9b23118569e0 | [
"MIT"
] | null | null | null | #pragma once
#include "Globals.h"
#include "Component.h"
#include "ComponentMesh.h"
#include "ComponentTexture.h"
#include "ComponentTransform.h"
#include "ComponentCanvas.h"
#include "ComponentImage.h"
#include "ComponentButton.h"
class GameObject
{
public:
GameObject(string name);
~GameObject();
bool CleanUp... | 19.920635 | 50 | 0.74741 |
f6569fe095dfc0417924bb6691dd073915a4e322 | 4,353 | h | C | libs/RopLib/RopLib.h | trailofbits/codereason | 5c9d51fe61895ebe29cd9b6d8e60dc49d0162ea2 | [
"MIT"
] | 129 | 2015-06-18T01:24:22.000Z | 2019-05-21T01:00:56.000Z | libs/RopLib/RopLib.h | zeezocode/codereason | 5c9d51fe61895ebe29cd9b6d8e60dc49d0162ea2 | [
"MIT"
] | 5 | 2015-06-19T05:09:37.000Z | 2015-07-13T18:57:18.000Z | libs/RopLib/RopLib.h | zeezocode/codereason | 5c9d51fe61895ebe29cd9b6d8e60dc49d0162ea2 | [
"MIT"
] | 28 | 2015-06-18T02:02:03.000Z | 2019-06-28T03:48:15.000Z | #ifndef _ROPLIB_H
#define _ROPLIB_H
#include <BasicIR.h>
#include <getExec.h>
#include <list>
#include <boost/cstdint.hpp>
#include <boost/shared_ptr.hpp>
enum VisitorResult {
Discard,
Keep,
Accept
};
/* This is a virtual class that has no meaning to the analysis framework other
* than "state that I sho... | 35.390244 | 118 | 0.669194 |
b68f21f680742a6494bc1fc9c12a402fc123d4a2 | 2,052 | h | C | Alignment/MuonAlignmentAlgorithms/plugins/CSCChamberFitter.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Alignment/MuonAlignmentAlgorithms/plugins/CSCChamberFitter.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | Alignment/MuonAlignmentAlgorithms/plugins/CSCChamberFitter.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef Alignment_MuonAlignmentAlgorithms_CSCChamberFitter_H
#define Alignment_MuonAlignmentAlgorithms_CSCChamberFitter_H
/** \class CSCChamberFitter
* $Date: 2010/05/06 05:57:33 $
* $Revision: 1.2 $
* \author J. Pivarski - Texas A&M University <pivarski@physics.tamu.edu>
*/
#include "FWCore/ParameterSet/inter... | 41.04 | 138 | 0.807018 |
6625618f4e37a79e764bfe4aa5d007c7fa837481 | 1,134 | h | C | src/pair_yukawa.h | qikaifzj/ludwig | e16d2d3472772fb3a36c1ee1bde028029c9ecd2d | [
"BSD-3-Clause"
] | 34 | 2018-10-05T11:54:23.000Z | 2022-03-21T06:40:49.000Z | src/pair_yukawa.h | yangyang14641/ludwig | 25905b523bc67bc8f88bc757503f7e89362042af | [
"BSD-3-Clause"
] | 108 | 2018-07-26T11:01:23.000Z | 2022-03-31T07:51:10.000Z | src/pair_yukawa.h | yangyang14641/ludwig | 25905b523bc67bc8f88bc757503f7e89362042af | [
"BSD-3-Clause"
] | 24 | 2018-12-21T19:05:00.000Z | 2022-03-31T07:51:32.000Z | /*****************************************************************************
*
* pair_yukawa.h
*
* Edinburgh Soft Matter and Statistical Physics Group and
* Edinburgh Parallel Computing Centre
*
* (c) 2014-2017 The University of Edinburgh
*
* Contributing authors:
* Kevin Stratford (kevin@epcc.ed.ac.u... | 31.5 | 79 | 0.635802 |
05b171aa46d8dda39ecf6ac0eb1d7777fc448f15 | 420 | h | C | population_abm_package3/Quarantine_breach_model.h | aus-covid-modelling/NationalCabinetModelling-OctNov21 | 17f248098806cfd1b187d5e1b14a54aea45d07c9 | [
"MIT"
] | 8 | 2021-11-08T03:58:45.000Z | 2021-11-16T17:02:48.000Z | population_abm_package3/Quarantine_breach_model.h | aus-covid-modelling/NationalCabinetModelling-OctNov21 | 17f248098806cfd1b187d5e1b14a54aea45d07c9 | [
"MIT"
] | null | null | null | population_abm_package3/Quarantine_breach_model.h | aus-covid-modelling/NationalCabinetModelling-OctNov21 | 17f248098806cfd1b187d5e1b14a54aea45d07c9 | [
"MIT"
] | null | null | null | #ifndef QUARANTINE_BREACH_MODEL
#define QUARANTINE_BREACH_MODEL
#include <vector>
#include "../nlohmann/json.hpp"
#include "../vaccine_abm/individual.h"
#include "../vaccine_abm/households.h"
#include "../vaccine_abm/ibm_simulation.h"
#include "../vaccine_abm/USER_random.h"
#include "../vaccine_abm/vaccine.h"
std::vect... | 38.181818 | 102 | 0.77619 |
b241400ec944e1e9f3fd5d8814af23e09e341f20 | 1,129 | h | C | project_code/of_v0.11.0_osx_release/apps/myApps/laserBomb/src/sidebar/receiveUI.h | Vamoss/devart-template | 3c276f5967c24365c04dd00ed36933cc19b6f8bb | [
"Apache-2.0"
] | null | null | null | project_code/of_v0.11.0_osx_release/apps/myApps/laserBomb/src/sidebar/receiveUI.h | Vamoss/devart-template | 3c276f5967c24365c04dd00ed36933cc19b6f8bb | [
"Apache-2.0"
] | null | null | null | project_code/of_v0.11.0_osx_release/apps/myApps/laserBomb/src/sidebar/receiveUI.h | Vamoss/devart-template | 3c276f5967c24365c04dd00ed36933cc19b6f8bb | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "config.h"
#include "sidebarUI.h"
class receiveUI : public sidebarUI {
public:
ofxUILabel * incomingDataCounterLabel;
double incomingDataCounter;
void setup(ofxIlda::RenderTarget * ildaFbo, ofxIlda::Frame * ildaFrame)
{
sidebarUI::setup(220, 800, ildaFbo, ildaFrame);
... | 23.520833 | 147 | 0.635075 |
d77f6b50d4b4afa0457c3952675afa463128a9d9 | 387 | h | C | library/binaryIntegers/binaryIntegers.h | alexdtat/SPbU-Homework-1-semester | 25070ccfba7be14766b667de1894fbc3825add0e | [
"Apache-2.0"
] | 2 | 2021-09-14T13:17:17.000Z | 2021-10-12T18:43:42.000Z | library/binaryIntegers/binaryIntegers.h | alexdtat/SPbU-Homework-1-semester | 25070ccfba7be14766b667de1894fbc3825add0e | [
"Apache-2.0"
] | 8 | 2021-09-19T14:52:33.000Z | 2021-12-25T13:47:01.000Z | library/binaryIntegers/binaryIntegers.h | alexdtat/SPbU-Homework-1-semester | 25070ccfba7be14766b667de1894fbc3825add0e | [
"Apache-2.0"
] | null | null | null | #ifndef HOMEWORK3_BINARYINTEGERS_H
#define HOMEWORK3_BINARYINTEGERS_H
#include <stdbool.h>
void getBinaryForm(int number, bool* numberBinary);
int getDecimalForm(bool* numberBinary);
void addBinaryNumbers(bool* firstNumber, bool* secondNumber, bool* result);
void multiplyBinaryNumbers(bool* firstNumber, bool* secondN... | 29.769231 | 86 | 0.821705 |
a76dfe860e1fff710d811a06e27cf000d3528874 | 3,279 | h | C | include/org/apache/lucene/queryparser/flexible/standard/builders/DummyQueryNodeBuilder.h | lukhnos/objclucene | 29c7189a0b30ab3d3dd4c8ed148235ee296128b7 | [
"MIT"
] | 9 | 2016-01-13T05:38:05.000Z | 2020-06-04T23:05:03.000Z | include/org/apache/lucene/queryparser/flexible/standard/builders/DummyQueryNodeBuilder.h | lukhnos/objclucene | 29c7189a0b30ab3d3dd4c8ed148235ee296128b7 | [
"MIT"
] | 4 | 2016-05-12T10:40:53.000Z | 2016-06-11T19:08:33.000Z | include/org/apache/lucene/queryparser/flexible/standard/builders/DummyQueryNodeBuilder.h | lukhnos/objclucene | 29c7189a0b30ab3d3dd4c8ed148235ee296128b7 | [
"MIT"
] | 5 | 2016-01-13T05:37:39.000Z | 2019-07-27T16:53:10.000Z | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/builders/DummyQueryNodeBuilder.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgApacheLuceneQueryparserFlexibleStandardBuildersDummyQueryNodeBuilder")
#ifdef... | 45.541667 | 268 | 0.891125 |
44330aa7ec5359f23e62a41261821034fce998c9 | 357 | h | C | SpotNews/SpotNews/Src/Commons/Categoty/NSString+Str.h | huangwenguang/SpotNews | 7d9a6076e20fed5e2796dfcd73737a44e085c61f | [
"Apache-2.0"
] | null | null | null | SpotNews/SpotNews/Src/Commons/Categoty/NSString+Str.h | huangwenguang/SpotNews | 7d9a6076e20fed5e2796dfcd73737a44e085c61f | [
"Apache-2.0"
] | null | null | null | SpotNews/SpotNews/Src/Commons/Categoty/NSString+Str.h | huangwenguang/SpotNews | 7d9a6076e20fed5e2796dfcd73737a44e085c61f | [
"Apache-2.0"
] | 1 | 2019-06-12T11:42:31.000Z | 2019-06-12T11:42:31.000Z | //
// NSString+SY.h
// SanYouDemo
//
// Created by hwg on 15/9/22.
// Copyright (c) 2015年 sanyou. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
@interface NSString (Str)
- (BOOL) isEmptyString;
- (NSString *) trim;
- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGS... | 21 | 62 | 0.691877 |
67fa0d9807b88c45a1246b454b9531132365310b | 1,571 | h | C | apps/generated_areas/include/mc_conversion_polyconversiondetails_list.h | georgeslabreche/ccsdsmo-malc | c22389af78ddc8ceddcbb262afcb213ef50226ff | [
"MIT"
] | null | null | null | apps/generated_areas/include/mc_conversion_polyconversiondetails_list.h | georgeslabreche/ccsdsmo-malc | c22389af78ddc8ceddcbb262afcb213ef50226ff | [
"MIT"
] | 65 | 2021-08-30T23:10:05.000Z | 2022-03-27T19:50:33.000Z | apps/generated_areas/include/mc_conversion_polyconversiondetails_list.h | tanagraspace/ccsdsmo-malc-sepp-apps | f616b3e06522ea995e12904161ce3d298e96f6ff | [
"MIT"
] | null | null | null | #ifndef __MC_CONVERSION_POLYCONVERSIONDETAILS_LIST_H_INCLUDED__
#define __MC_CONVERSION_POLYCONVERSIONDETAILS_LIST_H_INCLUDED__
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
// default constructor
mc_conversion_polyconversiondetails_list_t * mc_conversion_polyconversiondetails_list_new(unsigned int element_c... | 49.09375 | 166 | 0.880968 |
9c8533594bb7c9395cee0335dcc42f3a75b40eb3 | 1,162 | c | C | siod_progress.c | ssmore98/siod | 5e1bd2691710ebaf49223d52894c2b08aa958112 | [
"Unlicense"
] | null | null | null | siod_progress.c | ssmore98/siod | 5e1bd2691710ebaf49223d52894c2b08aa958112 | [
"Unlicense"
] | null | null | null | siod_progress.c | ssmore98/siod | 5e1bd2691710ebaf49223d52894c2b08aa958112 | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include "siod.h"
/*
* exit codes
* 0 : no error
* 1 : no SIOD running
* 2 : lockfile error
* 3 : shm error
*/
int main(int argc, char **argv) {
FILE * const fp = fopen(lockfile, "r");... | 21.518519 | 62 | 0.601549 |
f352abe86f2dddada7569ad1575f86da986723e1 | 6,772 | h | C | src/RIOT/sys/include/suit.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | 2 | 2020-04-30T08:17:45.000Z | 2020-05-23T08:46:54.000Z | src/RIOT/sys/include/suit.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | null | null | null | src/RIOT/sys/include/suit.h | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2019 Koen Zandberg
* 2019 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup sys_suit SUIT secure f... | 31.64486 | 80 | 0.635558 |
476ccaccf71e98b51bc68001e924e8e20de9dd98 | 1,063 | h | C | embedded-development/motordriver/include/motordriver.h | Halodi/halodi-recruitment-challenges | 72976e6271dbd9b4e132e670bbb10ab3bec9fbd8 | [
"Apache-2.0"
] | 3 | 2021-08-19T15:05:25.000Z | 2021-11-04T16:49:40.000Z | embedded-development/motordriver/include/motordriver.h | Halodi/halodi-recruitment-challenges | 72976e6271dbd9b4e132e670bbb10ab3bec9fbd8 | [
"Apache-2.0"
] | null | null | null | embedded-development/motordriver/include/motordriver.h | Halodi/halodi-recruitment-challenges | 72976e6271dbd9b4e132e670bbb10ab3bec9fbd8 | [
"Apache-2.0"
] | 1 | 2021-09-29T21:01:31.000Z | 2021-09-29T21:01:31.000Z | #ifndef MOTORDRIVER_H
#define MOTORDRIVER_H
#include <cstdint>
enum MotorDriverRegisters
{
UNDEFINED = 0x0,
STATUSWORD = 0x1,
CONTROLWORD = 0x2,
ENCODER_VALUE = 0x3,
MOTOR_VELOCITY_COMMAND = 0x4,
OUTPUT_ENABLE = 0x5,
FAULT = 0x6,
RESET = 0x7,
REGISTERS_MAX_VALUE
};
enum MotorState... | 16.106061 | 79 | 0.64158 |
7050d5ad25dc3acf20533e55a0aabb328dadf8e0 | 1,532 | h | C | printscan/print/drivers/usermode/lib/ufl/api/ufocff.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/print/drivers/usermode/lib/ufl/api/ufocff.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/print/drivers/usermode/lib/ufl/api/ufocff.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
* Adobe Universal Font Library
*
* Copyright (c) 1996 Adobe Systems Inc.
* All Rights Reserved
*
* UFOCFF.h -- Universal Font Object to be used w/ CFF font.
*
*
* $Header:
*/
#ifndef _H_UFOCFF
#define _H_UFOCFF
/*
* Special postfix, CDevProc, and guestimation value for Metric... | 23.569231 | 87 | 0.537206 |
f2de4b71e44fc5e2766761ecf4abcda194d2c1a9 | 176 | h | C | Carthage/Checkouts/MWPhotoBrowser/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-umbrella.h | EasySwift/EasySwift | 898647e4540bb89913530c6ae285db2cd8fa3397 | [
"Apache-2.0"
] | 16 | 2016-08-19T09:55:49.000Z | 2021-08-24T01:55:36.000Z | Carthage/Checkouts/MWPhotoBrowser/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-umbrella.h | mohsinalimat/EasySwift | 898647e4540bb89913530c6ae285db2cd8fa3397 | [
"Apache-2.0"
] | 2 | 2016-10-22T17:12:12.000Z | 2018-09-25T08:11:23.000Z | Carthage/Checkouts/MWPhotoBrowser/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-umbrella.h | mohsinalimat/EasySwift | 898647e4540bb89913530c6ae285db2cd8fa3397 | [
"Apache-2.0"
] | 3 | 2016-09-25T07:45:14.000Z | 2018-12-12T08:09:56.000Z | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_MWPhotoBrowser_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_MWPhotoBrowser_ExampleVersionString[];
| 25.142857 | 81 | 0.875 |
d169713a81f53f20a568c5c64cec5da2d4e8c039 | 390 | h | C | Sailing/TBEnums.h | liubin9959/sailing | 00998cc0d65a7d892224d09c46763178dc3c75e4 | [
"MIT"
] | 1 | 2015-12-19T13:40:12.000Z | 2015-12-19T13:40:12.000Z | Sailing/TBEnums.h | liubin9959/sailing | 00998cc0d65a7d892224d09c46763178dc3c75e4 | [
"MIT"
] | null | null | null | Sailing/TBEnums.h | liubin9959/sailing | 00998cc0d65a7d892224d09c46763178dc3c75e4 | [
"MIT"
] | null | null | null | //
// enums.h
// Sailing
//
// Created by tomaszbrue on 03.11.13.
// Copyright (c) 2013 Thomas Brüggemann. All rights reserved.
//
#ifndef Sailing_enums_h
#define Sailing_enums_h
enum SIDE
{
Portside = 0,
Starboard = 1,
Either = 2,
Spilling = 3
};
enum COURSE
{
InIrons = 0,
CloseHauled = ... | 12.580645 | 62 | 0.605128 |
4ae72adcdeaa980f899396c571328a4d397f2981 | 242 | h | C | Artificial I/Classes/Artificial/Mirage/MirageEnums.h | BostjanSkok/TINR | e348fc1df58ed13e3924fd98a89201b3d4a25832 | [
"MIT"
] | null | null | null | Artificial I/Classes/Artificial/Mirage/MirageEnums.h | BostjanSkok/TINR | e348fc1df58ed13e3924fd98a89201b3d4a25832 | [
"MIT"
] | null | null | null | Artificial I/Classes/Artificial/Mirage/MirageEnums.h | BostjanSkok/TINR | e348fc1df58ed13e3924fd98a89201b3d4a25832 | [
"MIT"
] | null | null | null | typedef enum {
HorizontalAlignCustom,
HorizontalAlignLeft,
HorizontalAlignCenter,
HorizontalAlignRight
} HorizontalAlign;
typedef enum {
VerticalAlignCustom,
VerticalAlignTop,
VerticalAlignMiddle,
VerticalAlignBottom
} VerticalAlign; | 18.615385 | 23 | 0.842975 |
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 |
00edd38cb29d92fe8ee96bcd5395eb9f68cd6363 | 343 | h | C | tetra.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | null | null | null | tetra.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | 1 | 2016-11-19T22:44:14.000Z | 2016-11-30T15:23:35.000Z | tetra.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | null | null | null | #ifndef CTETRA_TETRA_H
#define CTETRA_TETRA_H
#include <stdlib.h>
#include <gsl/gsl_vector.h>
#include "ecache.h"
typedef double (*tetra_SumFn)(double E, double E1, double E2, double E3, double E4, double num_tetra);
double tetra_SumTetra(tetra_SumFn F, double E, EnergyCache *Ecache);
void sortEs(double Es[4]);
#e... | 22.866667 | 102 | 0.760933 |
785209cb0e55607bb2e9d37ba01a0cfda2d08251 | 7,020 | h | C | gui/settings_stats.h | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | gui/settings_stats.h | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | gui/settings_stats.h | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#ifndef GUI_SETTINGS_STATS_H
#define GUI_SETTINGS_STATS_H
#include <math.h>
#include "../tpl/vector_tpl.h"
#include "../tpl/array_tpl.h"
#include "../utils/cbuffer_t.h"
#include "components/gui_container.... | 29.495798 | 155 | 0.707977 |
7ac9e29b88bc63d6c3c15476a4b43477e80c68c1 | 341 | h | C | include/jspec2/rms_dynamic.h | mbruker/jspec2-python | c82b41cf0a314f15eb84ab15b0de96ac2992bf9c | [
"Unlicense"
] | null | null | null | include/jspec2/rms_dynamic.h | mbruker/jspec2-python | c82b41cf0a314f15eb84ab15b0de96ac2992bf9c | [
"Unlicense"
] | null | null | null | include/jspec2/rms_dynamic.h | mbruker/jspec2-python | c82b41cf0a314f15eb84ab15b0de96ac2992bf9c | [
"Unlicense"
] | null | null | null | #ifndef RMS_DYNAMIC_H_INCLUDED
#define RMS_DYNAMIC_H_INCLUDED
#include "jspec2/simulator.h"
class RMSModel:public Simulator {
private:
void update_ibeam(IonBeam& ionBeam, ElectronBeam& ebeam, double dt) override;
void adjust_rf_voltage() override;
public:
using Simulator::Simulator;
};
#endif // RM... | 18.944444 | 82 | 0.768328 |
93958b5c71d9c20c1f0eb73645f6f44bc1837ac2 | 4,205 | h | C | hal/include/hthread/mutex/hardware.h | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | 3 | 2018-02-14T23:24:45.000Z | 2022-03-30T18:48:06.000Z | include/hthread/mutex/hardware.h | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | null | null | null | include/hthread/mutex/hardware.h | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************************
* Copyright (c) 2015, University of Arkansas - Hybridthreads Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | 33.110236 | 116 | 0.669917 |
1acf952377b6467eb113366f90c33ed9a0c77579 | 3,468 | h | C | SRC/COMMON/ITTI_ANALYZER/libui/ui_tree_view.h | zhouxiang93123/openair-cn | 18c5858887d73ee811161a28fde3cb7da8af458c | [
"Apache-2.0"
] | 4 | 2020-09-25T05:54:47.000Z | 2022-02-22T08:06:21.000Z | SRC/COMMON/ITTI_ANALYZER/libui/ui_tree_view.h | zhouxiang93123/openair-cn | 18c5858887d73ee811161a28fde3cb7da8af458c | [
"Apache-2.0"
] | null | null | null | SRC/COMMON/ITTI_ANALYZER/libui/ui_tree_view.h | zhouxiang93123/openair-cn | 18c5858887d73ee811161a28fde3cb7da8af458c | [
"Apache-2.0"
] | 5 | 2020-11-11T01:20:50.000Z | 2021-04-15T08:25:36.000Z | /*
* Copyright (c) 2015, EURECOM (www.eurecom.fr)
* 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
* li... | 33.028571 | 88 | 0.754037 |
d8b78884599ae29d6943aad619937280cf93ba9a | 847 | c | C | packages/PIPS/validation/Scilab/COLD-1.0.5.sub/t258.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Scilab/COLD-1.0.5.sub/t258.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Scilab/COLD-1.0.5.sub/t258.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | /*
* (c) HPC Project - 2010-2011 - All rights reserved
*
*/
#include "scilab_rt.h"
int __lv0;
int __lv1;
int __lv2;
int __lv3;
/*----------------------------------------------------*/
/*----------------------------------------------------*/
int main(int argc, char* argv[])
{
scilab_rt_init(argc, argv, COLD_... | 21.717949 | 56 | 0.585596 |
94fe9d260986b9fed9ac38d39dea895b275658ac | 2,441 | h | C | mugsy-seqan/projects/library/seqan/store/store_annotation.h | kloetzl/mugsy | 8ccdf32858a7a5ab2f7b9b084d2190970feb97ec | [
"Artistic-2.0"
] | null | null | null | mugsy-seqan/projects/library/seqan/store/store_annotation.h | kloetzl/mugsy | 8ccdf32858a7a5ab2f7b9b084d2190970feb97ec | [
"Artistic-2.0"
] | null | null | null | mugsy-seqan/projects/library/seqan/store/store_annotation.h | kloetzl/mugsy | 8ccdf32858a7a5ab2f7b9b084d2190970feb97ec | [
"Artistic-2.0"
] | null | null | null | /*==========================================================================
SeqAn - The Library for Sequence Analysis
http://www.seqan.de
============================================================================
Copyright (C) 2007
This library is free software... | 38.746032 | 129 | 0.542401 |
a20b9570e3e418ccaff314ea0f5a05dfb864244c | 467 | c | C | base/numeral_system.c | VinkDong/c-example | cbfb240a3e4af9786a3b1f7844556dc20eae9cc2 | [
"MIT"
] | null | null | null | base/numeral_system.c | VinkDong/c-example | cbfb240a3e4af9786a3b1f7844556dc20eae9cc2 | [
"MIT"
] | null | null | null | base/numeral_system.c | VinkDong/c-example | cbfb240a3e4af9786a3b1f7844556dc20eae9cc2 | [
"MIT"
] | null | null | null | # include <stdio.h>
// this is show `进制` but i don't know how to translate it
int main()
{
int a = 050;
int b = 50;
int c = 0x50;
//there has no method to define
printf("this is decimal %%o -> %%d number %d\n",a);
printf("this is a octonary %o\n",a);
printf("this is a octonary number and ... | 27.470588 | 69 | 0.599572 |
d3b8db052b9d460bf9581c8f43d0a21166593280 | 1,949 | h | C | SCTK/src/asclite/core/sgml_generic_reportgenerator.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 113 | 2018-11-20T06:00:39.000Z | 2022-03-29T06:01:55.000Z | SCTK/src/asclite/core/sgml_generic_reportgenerator.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 28 | 2017-09-11T16:20:26.000Z | 2022-02-13T14:16:33.000Z | SCTK/src/asclite/core/sgml_generic_reportgenerator.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | /*
* ASCLITE
* Author: Jerome Ajot, Jon Fiscus, Nicolas Radde, Chris Laprun
*
* This software was developed at the National Institute of Standards and Technology by
* employees of the Federal Government in the course of their official duties. Pursuant
* to title 17 Section 105 of the United States Code this soft... | 36.092593 | 139 | 0.759364 |
2356ddd77462c458360e9b850a0d31f7a98d7dd1 | 5,763 | h | C | parallel_dsu.h | abarankab/parallel_boruvka | 0310f8fcf1dd93732e83e2bf9ecc0d80e36f6637 | [
"MIT"
] | 10 | 2020-05-14T20:31:31.000Z | 2020-05-30T04:13:35.000Z | parallel_dsu.h | abarankab/parallel_boruvka | 0310f8fcf1dd93732e83e2bf9ecc0d80e36f6637 | [
"MIT"
] | null | null | null | parallel_dsu.h | abarankab/parallel_boruvka | 0310f8fcf1dd93732e83e2bf9ecc0d80e36f6637 | [
"MIT"
] | 1 | 2021-07-28T17:52:10.000Z | 2021-07-28T17:52:10.000Z | #ifndef __DSU_H
#define __DSU_H
#include <atomic>
#include <omp.h>
#include <stdexcept>
#include "defs.h"
#include "parallel_array.h"
/**
* INTERFACE:
*
* ParallelDSU(uint32_t N, uint32_t NUM_THREADS) - constructs a DSU of size N using NUM_THREADS
* uint32_t find_root(uint32_t id) - finds root nod... | 30.983871 | 112 | 0.57713 |
d6c82b8502ea74b64b17eb3526ee2ff0ed47cc51 | 2,827 | h | C | ParticleLearn/lib/OLED_Display_128X64/src/SeeedOLED.h | ballastdigital/lwIOT | 084e92ae6db9eb71dd0d70f405a53af3b4de4320 | [
"Apache-2.0"
] | null | null | null | ParticleLearn/lib/OLED_Display_128X64/src/SeeedOLED.h | ballastdigital/lwIOT | 084e92ae6db9eb71dd0d70f405a53af3b4de4320 | [
"Apache-2.0"
] | 6 | 2021-03-09T19:17:55.000Z | 2022-02-26T18:32:09.000Z | argon-firmware/lib/OLED_Display_128X64/src/SeeedOLED.h | bsatrom/iot-js-commandery | 1615471ac537219c1b27629d7c7828ca1993bb10 | [
"MIT"
] | null | null | null | /*
* SeeedOLED.h
* SSD130x OLED Driver Library
*
* Copyright (c) 2011 seeed technology inc.
* Author : Visweswara R
* Create Time : Dec 2011
* Change Log :
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License ... | 28.27 | 137 | 0.77821 |
03703f6dc1a5c0fc0195844fdebb6bd7916f27e3 | 2,392 | h | C | Labyrint/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Runtime_Remoting_Channels_SinkProv2493973872.h | mimietti/Labyball | c4b03f5b5d5ec1a1cae5831d22391bc2a171230f | [
"MIT"
] | null | null | null | Labyrint/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Runtime_Remoting_Channels_SinkProv2493973872.h | mimietti/Labyball | c4b03f5b5d5ec1a1cae5831d22391bc2a171230f | [
"MIT"
] | 23 | 2016-07-21T13:03:02.000Z | 2016-10-03T12:43:01.000Z | Labyrint/labyrinti1/Classes/Native/mscorlib_System_Runtime_Remoting_Channels_SinkProv2493973872.h | mimietti/Labyball | c4b03f5b5d5ec1a1cae5831d22391bc2a171230f | [
"MIT"
] | 1 | 2019-09-08T17:32:17.000Z | 2019-09-08T17:32:17.000Z | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.String
struct String_t;
// System.Collections.ArrayList
struct ArrayList_t2121638921;
// System.Collections.Hashtable
struct Hashtable_t3875263730;
#include "mscorlib_Syste... | 33.690141 | 141 | 0.80811 |
c11cd1bd5ab15ce05067bdcbba833d30b53d0e7f | 398 | h | C | UniqDay/UniqDay/View/UNDCardViewCell.h | J4ckChan/UniqDay | 004a50eab11852063079ff38d9116420cdf7dbbf | [
"MIT"
] | null | null | null | UniqDay/UniqDay/View/UNDCardViewCell.h | J4ckChan/UniqDay | 004a50eab11852063079ff38d9116420cdf7dbbf | [
"MIT"
] | null | null | null | UniqDay/UniqDay/View/UNDCardViewCell.h | J4ckChan/UniqDay | 004a50eab11852063079ff38d9116420cdf7dbbf | [
"MIT"
] | null | null | null | //
// UNDCardViewCell.h
// UniqDay
//
// Created by ChanLiang on 17/03/2017.
// Copyright © 2017 ChanLiang. All rights reserved.
//
#import <UIKit/UIKit.h>
@class UNDCardViewModel;
@interface UNDCardViewCell : UICollectionViewCell
@property (nonatomic,strong) UNDCardViewModel *viewModel;
@property (nonatomic,st... | 19.9 | 57 | 0.748744 |
26b2fe7f564a421cda7ddbc3035865bcd01cdc7f | 819 | h | C | Date.h | Stibius/IndexTreeSearch | 45c295164b9e3fbe66fb776acdb1038dd083f9d2 | [
"Unlicense"
] | null | null | null | Date.h | Stibius/IndexTreeSearch | 45c295164b9e3fbe66fb776acdb1038dd083f9d2 | [
"Unlicense"
] | null | null | null | Date.h | Stibius/IndexTreeSearch | 45c295164b9e3fbe66fb776acdb1038dd083f9d2 | [
"Unlicense"
] | null | null | null | #pragma once
#include <string>
//class representing a date
class Date
{
private:
int m_day;
int m_month;
int m_year;
public:
explicit Date(int day = 0, int month = 0, int year = 0);
//constructs a date from a string format (YYYY-MM-DD)
explicit Date(const std::string& str);
void setDay(int day);
void se... | 16.38 | 74 | 0.700855 |
c1b9b2d16982e1b22f54da10bd8c8e3bf7bbff05 | 12,147 | h | C | Common/DataModel/vtkDispatcher_Private.h | keithroe/vtkoptix | c5bbfa0105552af3022811a7c81efec640fb810f | [
"BSD-3-Clause"
] | null | null | null | Common/DataModel/vtkDispatcher_Private.h | keithroe/vtkoptix | c5bbfa0105552af3022811a7c81efec640fb810f | [
"BSD-3-Clause"
] | null | null | null | Common/DataModel/vtkDispatcher_Private.h | keithroe/vtkoptix | c5bbfa0105552af3022811a7c81efec640fb810f | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkDispatcher.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is d... | 26.933481 | 93 | 0.589364 |
96c68ea6d9b7c199d7a27716ed6a3f50596664db | 2,666 | c | C | vendor/nrf51/nrf51_uart.c | pavelskipenes/microBit-C-template | 1629962af06b0afaa26e93d216dd31b11be5aff4 | [
"MIT"
] | 1 | 2022-01-03T01:08:07.000Z | 2022-01-03T01:08:07.000Z | vendor/nrf51/nrf51_uart.c | pavelskipenes/microBit-C-template | 1629962af06b0afaa26e93d216dd31b11be5aff4 | [
"MIT"
] | null | null | null | vendor/nrf51/nrf51_uart.c | pavelskipenes/microBit-C-template | 1629962af06b0afaa26e93d216dd31b11be5aff4 | [
"MIT"
] | 1 | 2022-01-03T01:09:48.000Z | 2022-01-03T01:09:48.000Z | #include "nrf51_uart.h"
#include "nrf51_gpio.h"
#define PIN_TX 24
#define PIN_RX 25
#define PIN_DISABLE 0xFFFFFFFF
#define BAUD_1200 0x0004F000
#define BAUD_2400 0x0009D000
#define BAUD_4900 0x0013B000
#define BAUD_9600 0x00275000 // standard
#define BAUD_14400 0x003B0000
#define BAUD_19200 0x004EA000
#define BAUD_28... | 21.674797 | 51 | 0.763316 |
e7f72a929f94fcdcc99167cea6296bd7d5e9b752 | 1,273 | h | C | HLEditImage/Classes/AnimateImageView/SLImage.h | alin94/HLEditImage | 72a9ffed5df7b46299ea51c8c9649a50bb2e6271 | [
"MIT"
] | 1,118 | 2019-09-19T03:01:57.000Z | 2022-03-30T01:08:04.000Z | iOS_Tips/DarkMode/General/SLAnimateImageView/SLImage.h | ll728373688/iOS_Tips | bc5cf4eb894604c1b61fbc422dd4dc7e1471aad6 | [
"MIT"
] | 16 | 2019-11-06T01:05:36.000Z | 2021-11-23T09:13:58.000Z | iOS_Tips/DarkMode/General/SLAnimateImageView/SLImage.h | ll728373688/iOS_Tips | bc5cf4eb894604c1b61fbc422dd4dc7e1471aad6 | [
"MIT"
] | 304 | 2019-11-04T04:21:17.000Z | 2022-03-30T14:04:18.000Z | //
// SLImage.h
// WSLImageView
//
// Created by 王双龙 on 2018/10/26.
// Copyright © 2018年 https://www.jianshu.com/u/e15d1f644bea. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SLImageDecoder.h"
NS_ASSUME_NONNULL_BEGIN
//利用解码工具进行解码并存储解码后的信息
@interface SLImage : UIImage
/** 图片类型 */
@property (nonatomic,... | 22.333333 | 82 | 0.735271 |
9b64465a2fa171019540ff4c948d740ef0313ce2 | 1,079 | c | C | Data/Juliet-C/Juliet-C-v102/testcases/CWE197_Numeric_Truncation_Error/CWE197_Numeric_Truncation_Error__short_large_61b.c | b19e93n/PLC-Pyramid | 6d5b57be6995a94ef7402144cee965862713b031 | [
"MIT"
] | null | null | null | Data/Juliet-C/Juliet-C-v102/testcases/CWE197_Numeric_Truncation_Error/CWE197_Numeric_Truncation_Error__short_large_61b.c | b19e93n/PLC-Pyramid | 6d5b57be6995a94ef7402144cee965862713b031 | [
"MIT"
] | null | null | null | Data/Juliet-C/Juliet-C-v102/testcases/CWE197_Numeric_Truncation_Error/CWE197_Numeric_Truncation_Error__short_large_61b.c | b19e93n/PLC-Pyramid | 6d5b57be6995a94ef7402144cee965862713b031 | [
"MIT"
] | null | null | null | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE197_Numeric_Truncation_Error__short_large_61b.c
Label Definition File: CWE197_Numeric_Truncation_Error__short.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 197 Numeric Truncation Error
* BadSource: large Set data to a number larg... | 26.317073 | 100 | 0.722892 |
bb454e378a7257eac8dca409c0799e76cf203c56 | 7,040 | h | C | sdk-6.5.20/include/bcm_int/ltsw/ifa_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/ltsw/ifa_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/ltsw/ifa_uc.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*! \file ifa_uc.h
*
* IFA module internal header file.
* This file contains definitions internal to IFA module to interface with the
* IFA embedded app.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 200... | 27.716535 | 134 | 0.655256 |
63fb76c0529fdeb30436aac71355755d42d9f2c9 | 9,324 | h | C | src/hcode/compacttv.h | metabasenet/metabasenet | e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1 | [
"MIT"
] | null | null | null | src/hcode/compacttv.h | metabasenet/metabasenet | e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1 | [
"MIT"
] | null | null | null | src/hcode/compacttv.h | metabasenet/metabasenet | e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1 | [
"MIT"
] | null | null | null | // Copyright (c) 2021-2022 The MetabaseNet developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef HCODE_COMPACTTV_H
#define HCODE_COMPACTTV_H
#include <boost/type_traits.hpp>
#include <boost/variant.hpp>
#includ... | 33.66065 | 113 | 0.505255 |
eb97b9c8e31219f32bee5093ccb354e5add77fcb | 38,288 | c | C | wpa_supplicant/robust_av.c | blocktrron/hostap | 6c2d13e12b05b0b74a4bf9cb8549ca6ab57d110a | [
"Unlicense"
] | null | null | null | wpa_supplicant/robust_av.c | blocktrron/hostap | 6c2d13e12b05b0b74a4bf9cb8549ca6ab57d110a | [
"Unlicense"
] | null | null | null | wpa_supplicant/robust_av.c | blocktrron/hostap | 6c2d13e12b05b0b74a4bf9cb8549ca6ab57d110a | [
"Unlicense"
] | null | null | null | /*
* wpa_supplicant - Robust AV procedures
* Copyright (c) 2020, The Linux Foundation
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/wpa_ctrl.h"
#include "co... | 25.627845 | 115 | 0.690138 |
6fc20304510f34dc416312c41f1424195d57d6d7 | 1,878 | c | C | projects/lab1/src/configuracion.c | SantiagoGianotti/Lab-Transmision-Datos | f0daa02117bc327012c9dba3f052a6464b552d76 | [
"BSD-3-Clause"
] | null | null | null | projects/lab1/src/configuracion.c | SantiagoGianotti/Lab-Transmision-Datos | f0daa02117bc327012c9dba3f052a6464b552d76 | [
"BSD-3-Clause"
] | null | null | null | projects/lab1/src/configuracion.c | SantiagoGianotti/Lab-Transmision-Datos | f0daa02117bc327012c9dba3f052a6464b552d76 | [
"BSD-3-Clause"
] | null | null | null | #include "configuracion.h"
void ConfigurarInterrupcion(void) {
__asm__ volatile ("cpsid i");
/* Activate SysTick */
SystemCoreClockUpdate();
SysTick_Config(SystemCoreClock/1000);
/* Update priority set by SysTick_Config */
NVIC_SetPriority(SysTick_IRQn, (1<<__NVIC_PRIO_BITS) - 1);
__asm__ vola... | 39.125 | 80 | 0.690628 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.