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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
47aff786bbdc076d01ac9b176f1c772257482f70 | 2,059 | c | C | c_os2/ex1/ex2.c | christosmarg/uni-assignments | bd3fdb78daf038d3a1f6ac1d7c4aad09e19bb795 | [
"MIT"
] | null | null | null | c_os2/ex1/ex2.c | christosmarg/uni-assignments | bd3fdb78daf038d3a1f6ac1d7c4aad09e19bb795 | [
"MIT"
] | 1 | 2021-06-03T22:25:48.000Z | 2021-06-03T22:25:48.000Z | c_os2/ex1/ex2.c | christosmarg/uni-assignments | bd3fdb78daf038d3a1f6ac1d7c4aad09e19bb795 | [
"MIT"
] | 1 | 2021-06-03T10:36:57.000Z | 2021-06-03T10:36:57.000Z | #include <sys/wait.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/*
* Εργαστήριο ΛΣ2 (Δ6) / Εργασία 1: Άσκηση 2 / 2020-2021
* Ονοματεπώνυμο: Χρήστος Μαργιώλης
* ΑΜ: 19390133
* Τρόπος μεταγλώττισης: `cc ex2.c -o ex2`
*/
/*
* Print a process' info. `n` indica... | 21.010204 | 62 | 0.571151 |
fe9a0c4c799a256ea862a55d1451ac9b8675b239 | 1,078 | h | C | PrivateFrameworks/ViewBridge/ViewBridgeUtilities.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/ViewBridge/ViewBridgeUtilities.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/ViewBridge/ViewBridgeUtilities.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
__attribute__((visibility("hidden")))
@interface ViewBridgeUtilities : NSObject
{
}
+ (void)removeResponder:(id)arg1 fromChainOf:(id)arg2;
+ (void)withAppeara... | 38.5 | 134 | 0.768089 |
2ac20b841986b6e74b52d0bb9d9ae2ba185dd3d5 | 2,837 | h | C | AST/ast_expr.h | adamjoffe/tr-lang | 4061fefe2d48016a5575c4ea27903661550468ee | [
"MIT"
] | null | null | null | AST/ast_expr.h | adamjoffe/tr-lang | 4061fefe2d48016a5575c4ea27903661550468ee | [
"MIT"
] | null | null | null | AST/ast_expr.h | adamjoffe/tr-lang | 4061fefe2d48016a5575c4ea27903661550468ee | [
"MIT"
] | null | null | null | #ifndef AST_EXPR_H
#define AST_EXPR_H
#include "../tr_types.h"
namespace TR {
/**
* Abstract Expression Class
*
* Abstract expression implements nodes that are an
* expression in the program
*/
class ASTExpr : public ASTNode {
public:
/// Remove default constructor for ... | 30.180851 | 91 | 0.556574 |
f1ac72b8d5678cad86f2ad2c6b5d0d0e640e26fc | 1,667 | h | C | erts/emulator/asmjit/arm/a64assembler.h | williamthome/otp | c4f24d6718ac56c431f0fccf240c5b15482792ed | [
"Apache-2.0"
] | null | null | null | erts/emulator/asmjit/arm/a64assembler.h | williamthome/otp | c4f24d6718ac56c431f0fccf240c5b15482792ed | [
"Apache-2.0"
] | null | null | null | erts/emulator/asmjit/arm/a64assembler.h | williamthome/otp | c4f24d6718ac56c431f0fccf240c5b15482792ed | [
"Apache-2.0"
] | 2 | 2015-10-18T22:36:46.000Z | 2022-01-26T14:01:57.000Z | // This file is part of AsmJit project <https://asmjit.com>
//
// See asmjit.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib
#ifndef ASMJIT_ARM_A64ASSEMBLER_H_INCLUDED
#define ASMJIT_ARM_A64ASSEMBLER_H_INCLUDED
#include "../core/assembler.h"
#include "../arm/a64emitter.h"
#inclu... | 22.835616 | 132 | 0.707259 |
cc773da0944cef86d91294c25f5508257e3eed4e | 1,106 | c | C | NMEADecoder/text.c | LeandroHuff/GPS_NMEA_Decoder | e0383eb523719235b5c6327a312c70ba3fc72588 | [
"CC0-1.0"
] | null | null | null | NMEADecoder/text.c | LeandroHuff/GPS_NMEA_Decoder | e0383eb523719235b5c6327a312c70ba3fc72588 | [
"CC0-1.0"
] | null | null | null | NMEADecoder/text.c | LeandroHuff/GPS_NMEA_Decoder | e0383eb523719235b5c6327a312c70ba3fc72588 | [
"CC0-1.0"
] | null | null | null | /**
* @brief Text constant string definition to use into all source code files.
* @file text.c - Source code filename.
* @author Leandro Daniel Huff - leandrohuff@programmer.net
* @date 2022/03/15 - Source code date.
* @version 0.0.1 - Source code version.
* @copyright Creative Comm... | 40.962963 | 86 | 0.643761 |
604651e1e07a99c1e1dcc370c1e7726a0eabddf3 | 2,220 | h | C | kernel/include/kernel.h | ucrux/ucrux | dd385038c296ed7ccaddc3227d6a57cbc826c395 | [
"MIT"
] | 2 | 2018-11-08T01:30:22.000Z | 2019-07-11T23:56:00.000Z | kernel/include/kernel.h | ucrux/ucrux | dd385038c296ed7ccaddc3227d6a57cbc826c395 | [
"MIT"
] | null | null | null | kernel/include/kernel.h | ucrux/ucrux | dd385038c296ed7ccaddc3227d6a57cbc826c395 | [
"MIT"
] | 2 | 2018-09-17T09:28:05.000Z | 2020-08-31T04:50:27.000Z | /*此文件保存一些全局变量*/
#ifndef __KERNEL_H
#define __KERNEL_H
#include "global_type.h"
/*
* 1.内核是不可重入的
* 2.在使用信号量的时候,进程被调度出去,在被调度回来的时候如何回到原点
* 3.系统调用就3个,内存分配,发送消息,接收消息
* 4.由于有消息队列,所以发送消息的时候不会被阻塞(内核是不可重入的),
* 但是接收消息的时候可能被阻塞,因为消息队列有可能是空的(这个时候进程就被阻塞在内核态了,哈哈哈,还说内核是不可重入的)
*/
// 页大小
#define __PAGE_SIZE 0x00... | 26.428571 | 64 | 0.725676 |
44f73ee62b85175bebffc3f5e230afadd9c9b5d0 | 2,928 | c | C | Tools/CryptPasswords/CryptPasswords.c | joacimmelin/NiKom | a70e77b8339407da5a399756c44862d937b0e5d3 | [
"MIT"
] | 23 | 2015-10-27T11:08:53.000Z | 2022-01-13T20:11:52.000Z | Tools/CryptPasswords/CryptPasswords.c | joacimmelin/NiKom | a70e77b8339407da5a399756c44862d937b0e5d3 | [
"MIT"
] | 120 | 2015-08-03T17:55:52.000Z | 2021-09-23T05:39:31.000Z | Tools/CryptPasswords/CryptPasswords.c | joacimmelin/NiKom | a70e77b8339407da5a399756c44862d937b0e5d3 | [
"MIT"
] | 8 | 2015-08-11T06:03:38.000Z | 2020-03-14T17:41:09.000Z | #include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <ctype.h>
#include <sys/stat.h>
#include "FCrypt.h"
#define MAXMOTE 2048
#define MAXVOTE 32
struct User {
long tot_tid,forst_in,senast_in,read,skrivit,flaggor,former_textpek,brevpek,
grupper,defarea,downloadbytes,chrset,uploadbytes,res... | 26.378378 | 79 | 0.61373 |
1a5ac43ced66ebae8e4411354d50c2f682b76489 | 578 | h | C | client/Source/Nova/Public/RoomInfoCls.h | yjun1806/JDefence | 72456e15c574bb495df872309e2db42e45f872fa | [
"MIT"
] | null | null | null | client/Source/Nova/Public/RoomInfoCls.h | yjun1806/JDefence | 72456e15c574bb495df872309e2db42e45f872fa | [
"MIT"
] | null | null | null | client/Source/Nova/Public/RoomInfoCls.h | yjun1806/JDefence | 72456e15c574bb495df872309e2db42e45f872fa | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Nova.h"
#include <string>
#include "RoomUserInfoCls.h"
/**
*
*/
class NOVA_API RoomInfoCls
{
public:
RoomInfoCls();
~RoomInfoCls();
public:
std::string RoomName;
int32 RoomNumber;
int32 MaxUserNumber;
int3... | 17 | 78 | 0.749135 |
9e613983db829d70f0af7515396dae26b4e86a5c | 711 | h | C | Sources/AirMonetizationSDK.xcframework/ios-arm64_x86_64-simulator/AirMonetizationSDK.framework/PrivateHeaders/ARPVASTAdMediaFiles.h | airnowplatform/airnow-ios-sdk | 4756ecbe2e1f732c747ee9c62149127133808712 | [
"Apache-2.0"
] | null | null | null | Sources/AirMonetizationSDK.xcframework/ios-arm64_x86_64-simulator/AirMonetizationSDK.framework/PrivateHeaders/ARPVASTAdMediaFiles.h | airnowplatform/airnow-ios-sdk | 4756ecbe2e1f732c747ee9c62149127133808712 | [
"Apache-2.0"
] | null | null | null | Sources/AirMonetizationSDK.xcframework/ios-arm64_x86_64-simulator/AirMonetizationSDK.framework/PrivateHeaders/ARPVASTAdMediaFiles.h | airnowplatform/airnow-ios-sdk | 4756ecbe2e1f732c747ee9c62149127133808712 | [
"Apache-2.0"
] | null | null | null | //
// ARPVASTAdMediaFiles.h
// APSDK
//
// Created by Andrii Alexieiev on 6/14/18.
// Copyright © 2018 AirPush. All rights reserved.
//
#import <Foundation/Foundation.h>
struct Keys {
__unsafe_unretained NSString * const mediaFilesKey;
__unsafe_unretained NSString * const mezzanineKey;
__unsafe_unreta... | 25.392857 | 68 | 0.773558 |
cfe3b577f3a36927484237f8d184692ad584ef47 | 21,868 | c | C | tests/csmith/small_arrays/csmith_389.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 12 | 2020-09-03T09:57:26.000Z | 2022-01-28T04:28:00.000Z | tests/csmith/small_arrays/csmith_389.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 182 | 2021-02-26T23:07:40.000Z | 2022-02-10T12:33:45.000Z | tests/csmith/small_arrays/csmith_389.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 4 | 2020-09-02T11:54:39.000Z | 2022-03-16T23:23:11.000Z | // Options: --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8 --no-float ... | 41.260377 | 744 | 0.596534 |
32070f2973a8501e633a0294e642e44f6264774d | 50,254 | c | C | projects/CodeThorn/src/tests/rers/Problem1403_opt.c | ouankou/rose | 76f2a004bd6d8036bc24be2c566a14e33ba4f825 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | projects/CodeThorn/src/tests/rers/Problem1403_opt.c | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | projects/CodeThorn/src/tests/rers/Problem1403_opt.c | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | // .--------------------------------------------------------.
// | printf in functions replaced by global output variable |
// *--------------------------------------------------------*
int input;
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>
//edited by script: global output variable re... | 36.601602 | 111 | 0.386258 |
9ac2be13794bc14c8e9ceaf9cfaaf56e76f8ffa9 | 1,837 | h | C | Engine/include/shader.h | julienbernat/dmri-explorer | 32639916b0a95ecc2ae7484f9e1a084f84c3035a | [
"MIT"
] | null | null | null | Engine/include/shader.h | julienbernat/dmri-explorer | 32639916b0a95ecc2ae7484f9e1a084f84c3035a | [
"MIT"
] | null | null | null | Engine/include/shader.h | julienbernat/dmri-explorer | 32639916b0a95ecc2ae7484f9e1a084f84c3035a | [
"MIT"
] | null | null | null | #pragma once
#include <glad/glad.h>
#include <string>
#include <vector>
namespace Slicer
{
namespace GPU
{
/// \brief Class describing a shader program.
///
/// Associated with a shader.
class ShaderProgram
{
public:
/// Default constructor.
ShaderProgram() = default;
/// Constructor.
/// \param[in] ... | 24.824324 | 82 | 0.676647 |
82ef207e049049f6f862349c493bd4d6794419dd | 1,300 | c | C | driver_test.c | shirishbahirat/my-uefi | 2002873ba67478c04541e52a9d3dba9516b30c0f | [
"Apache-2.0"
] | null | null | null | driver_test.c | shirishbahirat/my-uefi | 2002873ba67478c04541e52a9d3dba9516b30c0f | [
"Apache-2.0"
] | null | null | null | driver_test.c | shirishbahirat/my-uefi | 2002873ba67478c04541e52a9d3dba9516b30c0f | [
"Apache-2.0"
] | null | null | null | #include "efi.h"
#include "log.h"
EFI_STATUS EFIAPI DriverEntryPoint (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
);
EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable)
{
EFI_STATUS Status;
EFI_INPUT_KEY Key;
if (SystemTable != NULL)
info(SystemTable, L... | 23.636364 | 106 | 0.715385 |
307a82dd38f77f8ce67181449fcf501e47f897ac | 2,214 | h | C | System/Library/PrivateFrameworks/SpeechRecognitionCommandAndControl.framework/CACTextInsertionSpecifier.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/SpeechRecognitionCommandAndControl.framework/CACTextInsertionSpecifier.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/SpeechRecognitionCommandAndControl.framework/CACTextInsertionSpecifier.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:22:56 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/SpeechR... | 50.318182 | 152 | 0.716802 |
fda96fba76110b48eb66ad8a57eee19b73b443b3 | 2,668 | h | C | netbsdsrc/sys/arch/arm32/ofw/ofisa_machdep.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | netbsdsrc/sys/arch/arm32/ofw/ofisa_machdep.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | netbsdsrc/sys/arch/arm32/ofw/ofisa_machdep.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | /* $NetBSD$ */
/*
* Copyright 1998
* Digital Equipment Corporation. All rights reserved.
*
* This software is furnished under license and may be used and
* copied only in accordance with the following terms and conditions.
* Subject to these conditions, you may download, copy, install,
* use, modify and distrib... | 42.349206 | 73 | 0.747751 |
6573476a65a83e652d26e3e4ffe99e1f6bac53db | 1,210 | h | C | tcp/tcp_switch_session.h | damuzhi/switch-proxy | 28a8f2c1389821dbe2a56501fd97966d136c1065 | [
"MIT"
] | 1 | 2020-04-01T03:37:44.000Z | 2020-04-01T03:37:44.000Z | tcp/tcp_switch_session.h | damuzhi/switch-proxy | 28a8f2c1389821dbe2a56501fd97966d136c1065 | [
"MIT"
] | null | null | null | tcp/tcp_switch_session.h | damuzhi/switch-proxy | 28a8f2c1389821dbe2a56501fd97966d136c1065 | [
"MIT"
] | null | null | null | #pragma once
#include "tcp_socket.h"
class tcp_switch_session : public std::enable_shared_from_this<tcp_switch_session>
{
public:
tcp_switch_session(boost::asio::io_service& ios);
public:
// 获得client的socket
tcp_socket& get_client_socket();
// 启动tcp代理会话
void start(const std::vector<address>& targe... | 24.2 | 82 | 0.706612 |
10e151973c7685416f85f079e3bc0a28fb1cb90c | 244 | h | C | Project16_TumblrMenu/TumblrMenu/MainViewController.h | hayasilin/30DaysOBJC | 3f4d20a1b7bee273a1d38ed615aaa161f4804fe6 | [
"MIT"
] | 18 | 2016-09-21T02:02:56.000Z | 2022-03-09T05:55:51.000Z | Project16_TumblrMenu/TumblrMenu/MainViewController.h | hayasilin/30DaysOBJC | 3f4d20a1b7bee273a1d38ed615aaa161f4804fe6 | [
"MIT"
] | null | null | null | Project16_TumblrMenu/TumblrMenu/MainViewController.h | hayasilin/30DaysOBJC | 3f4d20a1b7bee273a1d38ed615aaa161f4804fe6 | [
"MIT"
] | 5 | 2016-09-24T03:03:06.000Z | 2022-02-19T14:19:57.000Z | //
// MainViewController.h
// TumblrMenu
//
// Created by Kuan-Wei Lin on 9/15/16.
// Copyright © 2016 Kuan-Wei Lin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainViewController : UIViewController
@end
| 7.625 | 55 | 0.647541 |
341ceb99d9283281b9206ab5f1335a1a8246bb11 | 6,499 | h | C | XLsn0wPickers/XLsn0wDatePicker/XLsn0wDatePicker.h | XLsn0w/XLsn0wPicker | f9a8a4ba62a4a9be1b6574ba32ee5658c36d91b5 | [
"MIT"
] | null | null | null | XLsn0wPickers/XLsn0wDatePicker/XLsn0wDatePicker.h | XLsn0w/XLsn0wPicker | f9a8a4ba62a4a9be1b6574ba32ee5658c36d91b5 | [
"MIT"
] | null | null | null | XLsn0wPickers/XLsn0wDatePicker/XLsn0wDatePicker.h | XLsn0w/XLsn0wPicker | f9a8a4ba62a4a9be1b6574ba32ee5658c36d91b5 | [
"MIT"
] | null | null | null | /*********************************************************************************************
* __ __ _ _________ _ _ _ _________ __ _ __ *
* \ \ / / | | | _______| | | \ | | | ______ | \ \ / \ / / *
* \ \ / / | | | | ... | 23.632727 | 132 | 0.610863 |
b77308040e59aaecb3d0f5b75b8b59fc6cb1f16e | 429 | h | C | Application/application.h | kevinsalles/FrameworkQt | b96b8751340dafa288dd80096ff71c98d731b9d2 | [
"MIT"
] | null | null | null | Application/application.h | kevinsalles/FrameworkQt | b96b8751340dafa288dd80096ff71c98d731b9d2 | [
"MIT"
] | null | null | null | Application/application.h | kevinsalles/FrameworkQt | b96b8751340dafa288dd80096ff71c98d731b9d2 | [
"MIT"
] | null | null | null | #ifndef APPLICATION_H
#define APPLICATION_H
#include <QtWidgets/QMainWindow>
#include "GeneratedFiles/ui_application.h"
#include "../FrameworkQT/Framework/IModule/imodule.h"
class Application : public QMainWindow
{
Q_OBJECT
public:
Application(QWidget *parent = 0);
~Application();
void loadModules(QList<IModule ... | 16.5 | 53 | 0.759907 |
b77fc7475881dd5bf3ea5b0293436b4d9c0c6736 | 41,894 | c | C | src/main/uni_hid_parser_wii.c | vcorp/esp32btpad | bcdca86671ce573210573090dc57468a3498b650 | [
"Apache-2.0"
] | null | null | null | src/main/uni_hid_parser_wii.c | vcorp/esp32btpad | bcdca86671ce573210573090dc57468a3498b650 | [
"Apache-2.0"
] | null | null | null | src/main/uni_hid_parser_wii.c | vcorp/esp32btpad | bcdca86671ce573210573090dc57468a3498b650 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
http://retro.moe/unijoysticle2
Copyright 2019 Ricardo Quesada
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... | 36.177893 | 95 | 0.621473 |
a26d885486fba45f65942055b8365091d988ec6e | 46,031 | c | C | linux-2.6.16-unmod/crypto/twofish.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | null | null | null | linux-2.6.16-unmod/crypto/twofish.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | null | null | null | linux-2.6.16-unmod/crypto/twofish.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | 1 | 2019-05-14T16:36:45.000Z | 2019-05-14T16:36:45.000Z | /*
* Twofish for CryptoAPI
*
* Originally Twofish for GPG
* By Matthew Skala <mskala@ansuz.sooke.bc.ca>, July 26, 1998
* 256-bit key length added March 20, 1999
* Some modifications to reduce the text size by Werner Koch, April, 1998
* Ported to the kerneli patch by Marc Mutz <Marc@Mutz.com>
* Ported to CryptoA... | 50.694934 | 78 | 0.669375 |
31876fff2c7c1c0990bdf391add22b7117355341 | 397 | c | C | C/easy/e271.c | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2017-10-18T02:17:02.000Z | 2022-02-02T01:19:02.000Z | C/easy/e271.c | tlseabra/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2016-01-24T20:30:02.000Z | 2017-01-18T16:01:23.000Z | C/easy/e271.c | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | null | null | null | /* 20/01/2017 */
#include <stdio.h>
float p(int d, int h){
if(h > d)
return (1 / (float) d) * p(d, h-d);
else
return (1 / (float) d * (d-h+1));
}
int main(void){
int input[][2] = {{4,1}, {4,4}, {4,5}, {4,6}, {1,10}, {100, 200}, {8,20}};
for(int i=0; i < 7; i++)
printf("%3d : %3... | 24.8125 | 98 | 0.428212 |
bd15a1c294be25d978a91ef9592d8e185e68e97f | 19,510 | c | C | qemu/tests/qtest/npcm7xx_pwm-test.c | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | null | null | null | qemu/tests/qtest/npcm7xx_pwm-test.c | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | null | null | null | qemu/tests/qtest/npcm7xx_pwm-test.c | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | null | null | null | /*
* QTests for Nuvoton NPCM7xx PWM Modules.
*
* Copyright 2020 Google LLC
*
* 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 2 of the License, or
* (at your option) any la... | 28.398836 | 91 | 0.609944 |
fcd59d39afd54d10c657e70ba137ead5a7249119 | 18,779 | c | C | verification/cbmc/sources/make_common_data_structures.c | robin-aws/aws-encryption-sdk-c | ed3980886e8ca5ac24ee454624ebc96568501462 | [
"Apache-2.0"
] | 40 | 2019-05-23T01:45:26.000Z | 2022-02-27T13:57:06.000Z | verification/cbmc/sources/make_common_data_structures.c | robin-aws/aws-encryption-sdk-c | ed3980886e8ca5ac24ee454624ebc96568501462 | [
"Apache-2.0"
] | 240 | 2019-05-20T22:34:12.000Z | 2022-02-22T18:08:02.000Z | verification/cbmc/sources/make_common_data_structures.c | robin-aws/aws-encryption-sdk-c | ed3980886e8ca5ac24ee454624ebc96568501462 | [
"Apache-2.0"
] | 53 | 2019-05-23T01:45:10.000Z | 2022-03-17T20:20:01.000Z | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "licen... | 43.672093 | 120 | 0.734704 |
6c383e0c3007232dc142c0a47655b99f89e6b2b9 | 16,932 | c | C | supporting_libs/scarab/Scarab-0.1.00d19/c/session.c | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | supporting_libs/scarab/Scarab-0.1.00d19/c/session.c | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | supporting_libs/scarab/Scarab-0.1.00d19/c/session.c | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | /**
* session.c
*
* Description: I believe this is some sort of adapter for a stream engine.
*
* History:
* ?? on ??/??/?? - Created by some bastards in Iowa who don't like comments
* Paul Jankunas on 8/10/05 - Added a non-blocking tcpip stream engine.(JK)
* Paul Jankunas on 08/10/05 - Added a strean that bloc... | 21.059701 | 81 | 0.69596 |
6c58ea00bcf20968dd88c9dc9f446cfb105e3fed | 506 | h | C | src/klibc/include/assert.h | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 80 | 2016-03-27T04:26:57.000Z | 2021-12-24T08:27:55.000Z | src/klibc/include/assert.h | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 1 | 2016-12-08T18:08:20.000Z | 2018-02-23T02:51:35.000Z | src/klibc/include/assert.h | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 11 | 2017-05-09T01:42:07.000Z | 2020-02-13T13:56:36.000Z | #ifndef __KLIBC_INCLUDE_ASSERT__
#define __KLIBC_INCLUDE_ASSERT__
#include "klibc/include/stdio.h"
#ifdef assert
#undef assert
#endif
#define assert(exp) do { \
if (!(exp)) { \
kprintf("[ASSERT] Failed: "); \
kprintf(#exp); \
kprin... | 22 | 93 | 0.468379 |
96abb0a5e97c49c2e5f9e3d56382544fd40ca181 | 544 | h | C | JuiceNote/Other/Category/UIImage+XJJImage.h | xxlololo/JuiceNote | 96ce7697b92e573feda1133d7f3875dfb3942457 | [
"MIT"
] | null | null | null | JuiceNote/Other/Category/UIImage+XJJImage.h | xxlololo/JuiceNote | 96ce7697b92e573feda1133d7f3875dfb3942457 | [
"MIT"
] | null | null | null | JuiceNote/Other/Category/UIImage+XJJImage.h | xxlololo/JuiceNote | 96ce7697b92e573feda1133d7f3875dfb3942457 | [
"MIT"
] | 1 | 2020-12-29T05:43:12.000Z | 2020-12-29T05:43:12.000Z |
#import <UIKit/UIKit.h>
@interface UIImage (XJJImage)
/**
* 通过 imageName 获得一个未渲染的图片
*/
+ (instancetype)imageWithOriginalName:(NSString *)imageName;
/**
* 通过 imageName 获得一个边角不拉伸的图片
*/
+ (instancetype)imageWithStretchableName:(NSString *)imageName;
/**
* 设置 image 的颜色
*/
+ (instancetype)imageWithName:(NSStri... | 19.428571 | 93 | 0.733456 |
e7ca7da42f4339d38ec46a26cf4e8be7e3a7e0b3 | 2,926 | h | C | proxy/Transform.h | allandproust/TrafficServer-1 | 7d517c7ab3f21b812bc0969244386480a94df467 | [
"Apache-2.0"
] | 83 | 2015-01-13T14:44:55.000Z | 2021-10-30T07:57:03.000Z | proxy/Transform.h | flashbuckets/trafficserver | 236fab894c0909913580f7a75a307ab393b3986c | [
"Apache-2.0"
] | 9 | 2015-03-13T15:17:28.000Z | 2017-04-19T08:53:24.000Z | proxy/Transform.h | flashbuckets/trafficserver | 236fab894c0909913580f7a75a307ab393b3986c | [
"Apache-2.0"
] | 50 | 2015-01-29T14:51:38.000Z | 2021-11-10T02:03:35.000Z | /** @file
A brief file description
@section license License
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 und... | 23.222222 | 116 | 0.738893 |
f022928b498643eea9bcafb6e97d266d0fb0ce08 | 21,844 | c | C | gearsBridge/procps-3.2.8/vmstat.c | SSEHUB/spassMeter | f5071105fec6f5afbbd7426b8149b7973c1a5e55 | [
"Apache-2.0"
] | 1 | 2015-08-06T08:48:12.000Z | 2015-08-06T08:48:12.000Z | gearsBridge/procps-3.2.8/vmstat.c | SSEHUB/spassMeter | f5071105fec6f5afbbd7426b8149b7973c1a5e55 | [
"Apache-2.0"
] | 1 | 2018-05-08T12:17:23.000Z | 2018-05-09T12:03:13.000Z | gearsBridge/procps-3.2.8/vmstat.c | SSEHUB/spassMeter | f5071105fec6f5afbbd7426b8149b7973c1a5e55 | [
"Apache-2.0"
] | 3 | 2015-09-26T22:19:40.000Z | 2018-08-27T05:36:34.000Z | // old: "Copyright 1994 by Henry Ware <al172@yfn.ysu.edu>. Copyleft same year."
// most code copyright 2002 Albert Cahalan
//
// 27/05/2003 (Fabian Frederick) : Add unit conversion + interface
// Export proc/stat access to libproc
// Adapt vmstat helpfile
// 31/05/2003 (Fabian) : Add diskstat suppor... | 31.657971 | 129 | 0.575719 |
f0754c82c7de82935c96f756fea5e160d20e9283 | 5,901 | h | C | include/onnxruntime/core/graph/schema_registry.h | KsenijaS/onnxruntime | 5086e55a35f83e3137bdb34b6d7210c97a512e6a | [
"MIT"
] | 4 | 2019-06-06T23:48:57.000Z | 2021-06-03T11:51:45.000Z | include/onnxruntime/core/graph/schema_registry.h | Montaer/onnxruntime | 6dc25a60f8b058a556964801d99d5508641dcf69 | [
"MIT"
] | 17 | 2020-07-21T11:13:27.000Z | 2022-03-27T02:37:05.000Z | include/onnxruntime/core/graph/schema_registry.h | Surfndez/onnxruntime | 9d748afff19e9604a00632d66b97159b917dabb2 | [
"MIT"
] | 3 | 2019-05-07T01:29:04.000Z | 2020-08-09T08:36:12.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "core/graph/constants.h"
#include "core/common/common.h"
#include "core/common/status.h"
#include "core/graph/onnx_protobuf.h"
#include "core/platform/ort_mutex.h"
#include <mutex>
#include <deque>
#in... | 38.568627 | 115 | 0.762244 |
5378f0f6901768663f4ddc44848c22dce61b5587 | 709 | h | C | server-client-sample/generic/Main.h | kaiostech/gonk-binder | 5ab61435a1939f992e4ace372b9c694a65023927 | [
"FSFAP"
] | null | null | null | server-client-sample/generic/Main.h | kaiostech/gonk-binder | 5ab61435a1939f992e4ace372b9c694a65023927 | [
"FSFAP"
] | null | null | null | server-client-sample/generic/Main.h | kaiostech/gonk-binder | 5ab61435a1939f992e4ace372b9c694a65023927 | [
"FSFAP"
] | 2 | 2020-07-17T01:55:32.000Z | 2021-08-12T06:12:29.000Z | /* (c) 2020 KAI OS TECHNOLOGIES (HONG KONG) LIMITED All rights reserved. This
* file or any portion thereof may not be reproduced or used in any manner
* whatsoever without the express written permission of KAI OS TECHNOLOGIES
* (HONG KONG) LIMITED. KaiOS is the trademark of KAI OS TECHNOLOGIES (HONG
* KONG) LIMITE... | 33.761905 | 79 | 0.767278 |
bb20c1793c447e83090caf6876909f3df0a008e4 | 500 | h | C | src/images/font/Chars8bpp/Char_s.h | filmote/Karateka_Pokitto | 0448237eb5df93591955a1ca51ee066323cf90f3 | [
"BSD-3-Clause"
] | 1 | 2020-08-25T14:59:30.000Z | 2020-08-25T14:59:30.000Z | src/images/font/Chars8bpp/Char_s.h | filmote/Karateka_Pokitto | 0448237eb5df93591955a1ca51ee066323cf90f3 | [
"BSD-3-Clause"
] | null | null | null | src/images/font/Chars8bpp/Char_s.h | filmote/Karateka_Pokitto | 0448237eb5df93591955a1ca51ee066323cf90f3 | [
"BSD-3-Clause"
] | null | null | null | // Automatically generated file, do not edit.
#pragma once
const uint8_t Char_s[] = {
6, 13,
0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x07,0x07,0x07,0x07,0x00,
0x07,0x07,0x00,0x00,0x07,0x07,
0x07,0x07,0x00,0x00,0x00,0x00,
0x00,0x07,0x07,0x07,0x00,0x00,
0x00,0x00,0x07,0x07,0x07,0x00,
0x00,0x0... | 23.809524 | 45 | 0.756 |
bb583995614c4ce8675e7e201cb534722028bc63 | 457 | c | C | nitan/d/baituo/obj/branch2.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/d/city/obj/branch2.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/d/city/obj/branch2.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // Code of ShenZhou
// branch2.c
// Jay 7/4/96
#include <ansi.h>
#include <weapon.h>
inherit CLUB;
void create()
{
set_name(YEL"大樹枝"NOR, ({"shuzhi", "zhi", "branch"}));
set_weight(500+random(500));
if( clonep() )
set_default_object(__FILE__);
else {
set("long", "這是一根大樹枝。\n");
set("... | 19.869565 | 57 | 0.551422 |
9bb656309c852989d33743c72c0d304b2f764c18 | 761 | h | C | include/FeOSMusic.h | fincs/FeOSMusic | c036d358facf9b469ac7bae1884f79a0e5a78462 | [
"BSD-2-Clause"
] | 2 | 2019-02-14T19:33:37.000Z | 2019-04-27T20:16:58.000Z | include/FeOSMusic.h | fincs/FeOSMusic | c036d358facf9b469ac7bae1884f79a0e5a78462 | [
"BSD-2-Clause"
] | null | null | null | include/FeOSMusic.h | fincs/FeOSMusic | c036d358facf9b469ac7bae1884f79a0e5a78462 | [
"BSD-2-Clause"
] | null | null | null | #ifndef FEOS_MUSIC_H
#define FEOS_MUSIC_H
#include <feos.h>
#include <feos3d.h>
#include <SndStream.h>
#include <far.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <dirent.h>
#include <stdarg.h>
#include "browser.h"
#include "codec.h"
#include "decoder.h"
#include "file.h"
... | 21.742857 | 70 | 0.605782 |
49b32d426c3c7a18de73b9fa5d150b72df459c79 | 1,541 | c | C | ciri/consensus/tip_selection/cw_rating_calculator/cw_rating_calculator.c | thibault-martinez/entangled | a166273fe518f001decf76e599c4ee615a9b4985 | [
"Apache-2.0"
] | 19 | 2019-09-17T18:14:36.000Z | 2021-12-06T07:29:27.000Z | ciri/consensus/tip_selection/cw_rating_calculator/cw_rating_calculator.c | thibault-martinez/entangled | a166273fe518f001decf76e599c4ee615a9b4985 | [
"Apache-2.0"
] | 5 | 2019-09-30T04:57:14.000Z | 2020-11-10T15:41:03.000Z | ciri/consensus/tip_selection/cw_rating_calculator/cw_rating_calculator.c | thibault-martinez/entangled | a166273fe518f001decf76e599c4ee615a9b4985 | [
"Apache-2.0"
] | 2 | 2019-09-17T19:03:16.000Z | 2021-03-01T01:04:31.000Z | /*
* Copyright (c) 2018 IOTA Stiftung
* https://github.com/iotaledger/entangled
*
* Refer to the LICENSE file for licensing information
*/
#include "ciri/consensus/tip_selection/cw_rating_calculator/cw_rating_dfs_impl.h"
#include "common/errors.h"
#include "utils/logger_helper.h"
#include "utils/macros.h"
#defin... | 32.787234 | 118 | 0.77547 |
4f96268f7f37069903c0bc7e9e0b9f329c5db1e3 | 6,505 | h | C | tcb/include/tencentcloud/tcb/v20180608/model/CreateWxCloudBaseRunEnvRequest.h | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | tcb/include/tencentcloud/tcb/v20180608/model/CreateWxCloudBaseRunEnvRequest.h | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | tcb/include/tencentcloud/tcb/v20180608/model/CreateWxCloudBaseRunEnvRequest.h | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 31.274038 | 88 | 0.430284 |
99333feac89983004071d63e6a091f8ae5cdc83d | 28,842 | h | C | gameboy.h | sysprog21/gameboy-emulator | 49b3befa0853578cee06d6b837e48f424bafc9e9 | [
"MIT"
] | 35 | 2020-11-23T08:06:16.000Z | 2022-01-18T18:31:24.000Z | gameboy.h | sysprog21/gameboy-emulator | 49b3befa0853578cee06d6b837e48f424bafc9e9 | [
"MIT"
] | 9 | 2020-11-23T14:15:30.000Z | 2021-01-14T11:42:02.000Z | gameboy.h | sysprog21/gameboy-emulator | 49b3befa0853578cee06d6b837e48f424bafc9e9 | [
"MIT"
] | 10 | 2020-11-23T09:01:55.000Z | 2022-02-07T12:54:20.000Z | /**
* MIT License
*
* Copyright (c) 2020 National Cheng Kung University, Taiwan.
* Copyright (c) 2018 Mahyar Koshkouei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restri... | 30.075078 | 80 | 0.507212 |
3e45002662c40931d63872ddfa3f74b61d5a3c80 | 466 | h | C | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Planets.h | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Planets.h | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Planets.h | justcollins/SolarSystem | 66ebb11961afe4723ac7431b268a8ecad1ec4d0d | [
"MIT"
] | null | null | null | #ifndef PLANETS_H_
#define PLANETS_H_
//#include <GL/glut.h>
//#include "SOIL.h"
void makeSun(float day);
void makeMercury(float year, float day);
void makeVenus(float year, float day);
void makeEarth(float year, float day);
void makeMars(float year, float day);
void makeJupiter(float year, float day);
void makeSatur... | 25.888889 | 40 | 0.761803 |
6bfcb7ab3e3e317e52d7be547b0903688663fa93 | 2,675 | c | C | d/attaya/tunnels/obj/gem.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/attaya/tunnels/obj/gem.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/attaya/tunnels/obj/gem.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
#include "../tunnel.h"
#define GEMS ({"%^BOLD%^%^WHITE%^diamond%^RESET%^",\
"%^BOLD%^%^GREEN%^emerald%^RESET%^",\
"%^BOLD%^%^RED%^ruby%^RESET%^",\
"%^BOLD%^%^BLUE%^sapphire%^RESET%^",\
"%^RED%^garnet%^RESET%^",\
"%^MAGENTA%^amethyst%^RESET%^",\
"%^ORANGE%^topaz%^RESET%^",\
"%^BOLD%^%^RED%^fire opal%^R... | 31.845238 | 74 | 0.56 |
d4071fb9cda3ab7b80633d5cdc9803691b451450 | 944 | h | C | log.h | avalluri/connman-uci | c351f91ec608d614877041bb55fc39a258b06268 | [
"Apache-2.0"
] | 2 | 2017-09-02T14:55:34.000Z | 2020-07-27T17:59:52.000Z | log.h | avalluri/connman-uci | c351f91ec608d614877041bb55fc39a258b06268 | [
"Apache-2.0"
] | null | null | null | log.h | avalluri/connman-uci | c351f91ec608d614877041bb55fc39a258b06268 | [
"Apache-2.0"
] | null | null | null | #ifndef __CONNMAN_UCI_LOG_H_
#define __CONNMAN_UCI_LOG_H_
#include <stdio.h>
enum LogLevel {
LOG_ERR,
LOG_WARN,
LOG_INFO,
LOG_DEBUG,
};
extern enum LogLevel verbose;
extern const char *prefix;
static inline const char *s_loglevel(enum LogLevel level) {
switch(level) {
case LOG_ERR: retu... | 24.205128 | 86 | 0.647246 |
38f1905a608a3a42f9cb5b26862c1d41282faba1 | 478 | h | C | jni/libutils/utils.h | hhool/ffplayer | 8016a4afbaf7da6875ec5e2dc22dcb5f35157bd0 | [
"Apache-2.0"
] | 23 | 2015-11-13T08:30:55.000Z | 2022-02-24T05:45:43.000Z | jni/libutils/utils.h | hhool/ffplayer | 8016a4afbaf7da6875ec5e2dc22dcb5f35157bd0 | [
"Apache-2.0"
] | 2 | 2016-09-12T03:17:46.000Z | 2017-03-20T06:33:36.000Z | jni/libutils/utils.h | hhool/ffplayer | 8016a4afbaf7da6875ec5e2dc22dcb5f35157bd0 | [
"Apache-2.0"
] | 18 | 2015-11-14T00:54:38.000Z | 2021-08-23T11:44:52.000Z | /**
* @file utils.h"
* @author windsome <windsome@windsome-desktop>
* @date Tue Jan 5 19:19:06 2010
*
* @brief
*
*
*/
#ifndef __UTILS_H
#define __UTILS_H
#include "util_types.h"
#include "util_crc32.h"
#include "util_eventloop.h"
#include "util_file.h"
#include "util_lock.h"
#include "util_... | 17.703704 | 47 | 0.661088 |
5c3e0e5419ca019fcd90411b7bb80e0ff1278266 | 1,347 | h | C | src/hash_helper.h | totalgames/playchain-client | 7821a3470fca6ae368a68bef2ba424006bc81989 | [
"MIT"
] | 1 | 2019-07-05T14:37:17.000Z | 2019-07-05T14:37:17.000Z | src/hash_helper.h | totalgames/playchain-client | 7821a3470fca6ae368a68bef2ba424006bc81989 | [
"MIT"
] | null | null | null | src/hash_helper.h | totalgames/playchain-client | 7821a3470fca6ae368a68bef2ba424006bc81989 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <cstring>
namespace playchain {
inline void shift_l(const uint8_t* in, uint8_t* out, std::size_t n, unsigned int i)
{
if (i < n)
{
std::memcpy(out, in + i, n - i);
}
else
{
i = n;
}
std::memset(out + (n - i), 0, i);
}
inline void sh... | 19.521739 | 83 | 0.47513 |
8da774569ed2292fdd8d3c6fc2afe370b00f28fe | 1,010 | h | C | Fader.h | jaekar99/wemosTesterWS2812 | 39c07547519c2f26a804b6da1df9979c0700d3c1 | [
"Apache-2.0"
] | null | null | null | Fader.h | jaekar99/wemosTesterWS2812 | 39c07547519c2f26a804b6da1df9979c0700d3c1 | [
"Apache-2.0"
] | null | null | null | Fader.h | jaekar99/wemosTesterWS2812 | 39c07547519c2f26a804b6da1df9979c0700d3c1 | [
"Apache-2.0"
] | null | null | null | /*
Released under Creative Commons Attribution 4.0
by bitluni 2016
https://creativecommons.org/licenses/by/4.0/
Attribution means you can use it however you like as long you
mention that it's base on my stuff.
I'll be pleased if you'd do it by sharing http://youtube.com/bitlunislab
*/
template<class T>
class Fader
{
... | 19.056604 | 72 | 0.607921 |
ed0746955eb5c3c3e0a44205303d1b7e0fb51917 | 78,628 | c | C | dlls/user/message.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | 1 | 2019-10-23T04:07:16.000Z | 2019-10-23T04:07:16.000Z | dlls/user/message.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | null | null | null | dlls/user/message.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | null | null | null | /*
* Window messaging support
*
* Copyright 2001 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any ... | 30.980299 | 113 | 0.564697 |
ed60e8bc76b0476882ad8e815f20daf612c25612 | 1,549 | c | C | test/thread.c | YingshuLu/libcask | b2d7c070d566c1ca603a6a672aaec747669a1614 | [
"MIT"
] | 13 | 2018-05-29T02:02:24.000Z | 2020-12-29T06:14:21.000Z | nattan/src/deps/libcask/test/thread.c | YingshuLu/nattan | aedc6bf2735fca700edf8679c334b35d783080ab | [
"MIT"
] | 1 | 2020-04-14T08:14:32.000Z | 2021-11-30T10:16:34.000Z | nattan/src/deps/libcask/test/thread.c | YingshuLu/nattan | aedc6bf2735fca700edf8679c334b35d783080ab | [
"MIT"
] | 2 | 2020-04-05T08:35:03.000Z | 2020-04-07T19:15:29.000Z | #include <pthread.h>
#include "co_define.h"
#include "co_mutex.h"
#include "atomic.h"
#include "co_cond.h"
#include "co_bar.h"
#include "co_await.h"
#define THREAD_MAX 6
#define CO_MAX 10000
co_mutex_t g_mutex;
co_bar_t g_bar;
atomic_t am;
int g_count = 0;
int add(void *ip) {
int i;
for(i = 0; i < 1000000; i... | 19.607595 | 74 | 0.5694 |
370bf9e37ce5295e810d9fab264171797accad8e | 719 | h | C | src/rom.h | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | src/rom.h | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | src/rom.h | Lieutenant-Debaser/rom-checksum | 45104adc2280dac448b9f37e7b637909e69f760c | [
"MIT"
] | null | null | null | /* File: rom.h
* Author: Lieutenant Debaser
* Last Update (yyyy-mm-dd_hhMM): 2022-01-27_1428
*
* File contains definition for the Rom_File class.
*
* See rom.cpp for function definitions.
*/
#ifndef ROM_H
#define ROM_H
#include <string>
class Rom_File {
public:
// Class constructors
Rom_File();
... | 17.536585 | 51 | 0.645341 |
a68269acd85820347f72f9048c83cd591cf7d292 | 5,564 | h | C | Engine/Source/Runtime/Math/YumeVector2.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 129 | 2016-05-05T23:34:44.000Z | 2022-03-07T20:17:18.000Z | Engine/Source/Runtime/Math/YumeVector2.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 1 | 2017-05-07T16:09:41.000Z | 2017-05-08T15:35:50.000Z | Engine/Source/Runtime/Math/YumeVector2.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 20 | 2016-02-24T20:40:08.000Z | 2022-02-04T23:48:18.000Z |
#ifndef __YumeVector2_h__
#define __YumeVector2_h__
//--------------------------------------------------------------------------------
#include "YumeRequired.h"
#include "YumeMath.h"
//--------------------------------------------------------------------------------
namespace YumeEngine
{
... | 15.942693 | 119 | 0.569015 |
a6ba467431a28c525e11a77c1be638906bfff0da | 174 | h | C | include/sys/io.h | rofl0r/musl-ppc | 1e717ea3d2a864e00e507f1a70a892c551955f1b | [
"MIT"
] | 1 | 2021-03-10T12:38:09.000Z | 2021-03-10T12:38:09.000Z | include/sys/io.h | rofl0r/musl-ppc | 1e717ea3d2a864e00e507f1a70a892c551955f1b | [
"MIT"
] | null | null | null | include/sys/io.h | rofl0r/musl-ppc | 1e717ea3d2a864e00e507f1a70a892c551955f1b | [
"MIT"
] | null | null | null | #ifndef _SYS_IO_H
#define _SYS_IO_H
#ifdef __cplusplus
extern "C" {
#endif
int ioperm(unsigned long, unsigned long, int);
int iopl(int);
#ifdef __cplusplus
}
#endif
#endif
| 12.428571 | 46 | 0.747126 |
b0c76fff6b8f9c5c03c75a01c4dcf515399d1359 | 3,870 | h | C | src/platforms/ios/Pods/SciChart/SciChart.framework/Headers/SCIRange.h | ABTSoftware/SciChart.NativeScript.Examples | e090333b7564bf870a94f1763c4735707e039147 | [
"Apache-2.0"
] | null | null | null | src/platforms/ios/Pods/SciChart/SciChart.framework/Headers/SCIRange.h | ABTSoftware/SciChart.NativeScript.Examples | e090333b7564bf870a94f1763c4735707e039147 | [
"Apache-2.0"
] | null | null | null | src/platforms/ios/Pods/SciChart/SciChart.framework/Headers/SCIRange.h | ABTSoftware/SciChart.NativeScript.Examples | e090333b7564bf870a94f1763c4735707e039147 | [
"Apache-2.0"
] | 1 | 2020-06-03T03:14:33.000Z | 2020-06-03T03:14:33.000Z | //
// Range.h
// SciChart
//
// Created by Admin on 08.07.15.
// Copyright (c) 2015 SciChart Ltd. All rights reserved.
//
/** \addtogroup Ranges
* @{
*/
#import <Foundation/Foundation.h>
#import "SCIGenericType.h"
/**
@typedef SCIRangeClipMode
@brief Enum defines range clipping modes
@see SCIRange
@field ... | 25.294118 | 154 | 0.734109 |
b0d0c301500cb7585d0f853532267378c7355928 | 707 | h | C | src/debug.h | thomas-sterrenburg/fingerprinting-poc | 58cdac4b687d3769462f8cd9ede6201a093c4b84 | [
"MIT"
] | null | null | null | src/debug.h | thomas-sterrenburg/fingerprinting-poc | 58cdac4b687d3769462f8cd9ede6201a093c4b84 | [
"MIT"
] | null | null | null | src/debug.h | thomas-sterrenburg/fingerprinting-poc | 58cdac4b687d3769462f8cd9ede6201a093c4b84 | [
"MIT"
] | null | null | null | /*
* Copyright 2017 Thomas Sterrenburg
*
* Licensed under the MIT License (the License); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at https://opensource.org/licenses/MIT
*/
#ifndef FINGERPRINTING_POC_DEBUG_H
#define FINGERPRINTING_POC_DEBUG_H
#defi... | 20.794118 | 77 | 0.712871 |
b0d2c56b662f1552d742726169c9f34da7511ace | 668 | h | C | days/Day4--Giant_Squid/program/Board.h | wojtkolos/AdventOfCode2021 | 4ea33fee9c076cd208b097278168f7d397c1da6a | [
"Apache-2.0"
] | null | null | null | days/Day4--Giant_Squid/program/Board.h | wojtkolos/AdventOfCode2021 | 4ea33fee9c076cd208b097278168f7d397c1da6a | [
"Apache-2.0"
] | null | null | null | days/Day4--Giant_Squid/program/Board.h | wojtkolos/AdventOfCode2021 | 4ea33fee9c076cd208b097278168f7d397c1da6a | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
//
// Board
//
class Board {
private:
std::vector<std::vector<bool>> checked;
std::vector<std::vector<int>> board;
std::vector<std::vector<int>> counter;
bool isBingo;
int lastNumber;
int sumOfNotHited();
bool added... | 20.875 | 60 | 0.597305 |
90a641257f908a90860a400fae36a01e9893e32d | 189 | h | C | WDYBaseProject/Classes/Category/UIApplication/UIApplication+KeyboardFrame.h | wangdongyang/WDYBaseProject | 863982cc88d4ca9a999f4653b89d1ce8a0a16687 | [
"MIT"
] | null | null | null | WDYBaseProject/Classes/Category/UIApplication/UIApplication+KeyboardFrame.h | wangdongyang/WDYBaseProject | 863982cc88d4ca9a999f4653b89d1ce8a0a16687 | [
"MIT"
] | null | null | null | WDYBaseProject/Classes/Category/UIApplication/UIApplication+KeyboardFrame.h | wangdongyang/WDYBaseProject | 863982cc88d4ca9a999f4653b89d1ce8a0a16687 | [
"MIT"
] | null | null | null | //
// UIApplication+KeyboardFrame.h
// Pods
//
// Created by fang wang on 17/1/10.
//
//
#import <UIKit/UIKit.h>
@interface UIApplication (KeyboardFrame)
- (CGRect)keyboardFrame;
@end
| 13.5 | 40 | 0.68254 |
884853c3774d98ba8509a36e6e5ce9151704c065 | 2,741 | h | C | data/train/cpp/884853c3774d98ba8509a36e6e5ce9151704c065SampleUser.h | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/cpp/884853c3774d98ba8509a36e6e5ce9151704c065SampleUser.h | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/cpp/884853c3774d98ba8509a36e6e5ce9151704c065SampleUser.h | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | /* YTP King - Easy to use sentence mixer
* Copyright (C) 2013 Alex "rainChu" Haddad et al.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | 29.793478 | 86 | 0.74243 |
b0b3e144a2a1be4156bd49a3de7fe826b16282cd | 1,483 | c | C | data/ddi/Gods98/Gods98/src/Materials.c | trigger-segfault/legorockraiders-analysis | 38a3dd5dd35c141f1acbdbe320e11adc1f3e9660 | [
"MIT"
] | 9 | 2021-09-03T23:52:55.000Z | 2022-03-19T01:05:40.000Z | data/ddi/Gods98/Gods98/src/Materials.c | trigger-segfault/legorockraiders-analysis | 38a3dd5dd35c141f1acbdbe320e11adc1f3e9660 | [
"MIT"
] | null | null | null | data/ddi/Gods98/Gods98/src/Materials.c | trigger-segfault/legorockraiders-analysis | 38a3dd5dd35c141f1acbdbe320e11adc1f3e9660 | [
"MIT"
] | null | null | null |
#include <d3drm.h>
#include "..\Inc\Standard.h"
#include "..\Inc\Errors.h"
#include "..\Inc\Main.h"
#include "..\Inc\Materials.h"
lpMaterial Material_Create(REAL emissiveRed, REAL emissiveGreen, REAL emissiveBlue, REAL specularRed, REAL specularGreen, REAL specularBlue, REAL power){
LPDIRECT3DRMMATERIAL2 mat;
if... | 30.265306 | 153 | 0.769386 |
50152a0d22bdee758e9d95b5c5551ad8060d2427 | 2,081 | h | C | src/ScoreBuffer.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 239 | 2017-01-18T15:14:34.000Z | 2022-03-09T10:44:08.000Z | src/ScoreBuffer.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 96 | 2017-01-13T15:03:29.000Z | 2022-02-07T14:27:18.000Z | src/ScoreBuffer.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 44 | 2017-03-17T20:31:08.000Z | 2021-12-02T07:27:09.000Z | /**
* Contact: philipp.rescheneder@gmail.com
*/
#ifndef SWWOBUFFER_H_
#define SWWOBUFFER_H_
#include <list>
#include "IAlignment.h"
#include "NGM.h"
#include "AlignmentBuffer.h"
#undef module_name
#define module_name "FILTER"
class ScoreBuffer {
public:
private:
struct Score {
MappedRead * read;
int scoreI... | 17.198347 | 76 | 0.686689 |
1c3084daaf127a34c4f8e5664fd417ccaa24e4d3 | 4,912 | h | C | xlat/adjtimex_status.h | android-rv/external_strace | 7720b932250bd7def49c439c235f4175c30b8e51 | [
"BSD-3-Clause"
] | 22 | 2018-10-05T07:19:06.000Z | 2022-02-24T07:12:55.000Z | xlat/adjtimex_status.h | android-rv/external_strace | 7720b932250bd7def49c439c235f4175c30b8e51 | [
"BSD-3-Clause"
] | 1 | 2020-11-10T11:06:08.000Z | 2020-11-10T11:06:08.000Z | xlat/adjtimex_status.h | android-rv/external_strace | 7720b932250bd7def49c439c235f4175c30b8e51 | [
"BSD-3-Clause"
] | 10 | 2018-10-05T07:19:06.000Z | 2022-03-23T14:24:53.000Z | /* Generated by ./xlat/gen.sh from ./xlat/adjtimex_status.in; do not edit. */
#include "gcc_compat.h"
#include "static_assert.h"
#if defined(STA_PLL) || (defined(HAVE_DECL_STA_PLL) && HAVE_DECL_STA_PLL)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STA_PLL) == (0x0001), "STA_PLL != 0x0001");
DIAG_POP_IGNORE_TA... | 32.104575 | 91 | 0.803339 |
1c5eaa54aaba34bf691f07d8c869b8fa4ccfdd19 | 884 | h | C | src/PriceChildren.h | genlab03pog2/GEN_Labo05_Catel_Mirko_Muller | 53d72ace027d9fa420482e2694894b07989d27c2 | [
"MIT"
] | null | null | null | src/PriceChildren.h | genlab03pog2/GEN_Labo05_Catel_Mirko_Muller | 53d72ace027d9fa420482e2694894b07989d27c2 | [
"MIT"
] | null | null | null | src/PriceChildren.h | genlab03pog2/GEN_Labo05_Catel_Mirko_Muller | 53d72ace027d9fa420482e2694894b07989d27c2 | [
"MIT"
] | null | null | null | #ifndef GEN_LABO05_CATEL_MIRKO_MULLER_PRICECHILDREN_H
#define GEN_LABO05_CATEL_MIRKO_MULLER_PRICECHILDREN_H
#include "Price.h"
class PriceChildren : public Price {
private:
const double PRICE_PER_DAY = 1.5;
const double DAYS_STEP = 3;
const double MIN_AMOUNT = 1.5;
public:
double getAmount(int _daysRented) ... | 25.257143 | 74 | 0.777149 |
7cb3afdb179bd9b89c4140733dba761277ee8783 | 954 | h | C | det/det.h | intdxdt/clibs | dfa43e038924db26abd1d4dfa617f68d5fa179c8 | [
"MIT"
] | null | null | null | det/det.h | intdxdt/clibs | dfa43e038924db26abd1d4dfa617f68d5fa179c8 | [
"MIT"
] | null | null | null | det/det.h | intdxdt/clibs | dfa43e038924db26abd1d4dfa617f68d5fa179c8 | [
"MIT"
] | null | null | null | //
//05/06/18.
//
#include <vector>
#include "../compress/compress.h"
#include "../twoproduct/two_product.h"
#include "../scale/scale.h"
#include "../sum/sum.h"
#ifndef DET_DET_H
#define DET_DET_H
namespace robust {
std::vector<double> det2(const std::vector<std::vector<double>>& m) {
return compress(sum(t... | 31.8 | 116 | 0.489518 |
0c52f45b0d7cd54b116454d15336ea12a3b591d7 | 530 | h | C | Source/RemoteControlLibrary/Classes/RemoteControlLibrary.h | sovietspaceship/UE4RemoteControlLibrary | 2f440f1cedb1ce8e0aa104499edf270f2dd791be | [
"MIT"
] | 6 | 2020-06-25T16:51:27.000Z | 2021-12-11T12:18:22.000Z | Source/RemoteControlLibrary/Classes/RemoteControlLibrary.h | sovietspaceship/UE4RemoteControlLibrary | 2f440f1cedb1ce8e0aa104499edf270f2dd791be | [
"MIT"
] | 1 | 2021-02-23T16:30:53.000Z | 2021-02-26T17:39:36.000Z | Source/RemoteControlLibrary/Classes/RemoteControlLibrary.h | sovietspaceship/UE4RemoteControlLibrary | 2f440f1cedb1ce8e0aa104499edf270f2dd791be | [
"MIT"
] | null | null | null | #pragma once
#include <Kismet/BlueprintFunctionLibrary.h>
#include "RemoteControlLibrary.generated.h"
UCLASS(BlueprintType)
class URemoteControlLibrary : public UBlueprintFunctionLibrary {
GENERATED_BODY()
public:
// IMPORTANT NOTE: All methods must be BlueprintCallable and public to be callabie via remot... | 21.2 | 105 | 0.767925 |
0cb521a976de7abd90553f9a4fa153242f8ec88d | 15,348 | c | C | src/fonts/tools/convfnt.c | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | 1 | 2020-12-19T13:47:11.000Z | 2020-12-19T13:47:11.000Z | src/fonts/tools/convfnt.c | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | null | null | null | src/fonts/tools/convfnt.c | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | null | null | null | /*
* Copyright (c) 1999 Greg Haerr <greg@censoft.com>
*
* Modified by Tom Walton at Altia, Jan. 2002. to:
* 1. Handle fonts with widths up to 80 pixels.
* 2. Support passing command line arguments for the
* font name, pixel height, average pixel width (optional),
* bold (optional), and italic (optional... | 25.537438 | 136 | 0.608939 |
40e9d50fb2d5f6bff2ea05f354bc0542cdc22a94 | 5,193 | c | C | middleware/linkkit/sdk-c/src/sdk-impl/sdk-impl.c | jinlongliu/AliOS-Things | ce051172a775f987183e7aca88bb6f3b809ea7b0 | [
"Apache-2.0"
] | 4 | 2019-03-12T11:04:48.000Z | 2019-10-22T06:06:53.000Z | middleware/linkkit/sdk-c/src/sdk-impl/sdk-impl.c | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 3 | 2018-12-17T13:06:46.000Z | 2018-12-28T01:40:59.000Z | middleware/linkkit/sdk-c/src/sdk-impl/sdk-impl.c | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 2 | 2018-01-23T07:54:08.000Z | 2018-01-23T11:38:59.000Z | /*
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#include "sdk-impl_internal.h"
#define KV_KEY_DEVICE_SECRET "DyncRegDeviceSecret"
static sdk_impl_ctx_t g_sdk_impl_ctx = {0};
sdk_impl_ctx_t *sdk_impl_get_ctx(void)
{
return &g_sdk_impl_ctx;
}
void IOT_OpenLog(const char *ident)
{
... | 27.046875 | 130 | 0.58213 |
efcd08c26486c50f17e96e7133d941aed9960e61 | 3,820 | c | C | src/timeutils.c | IRATI/tgen | 83d85a6a94c5853b8a2d01bb553d904501545437 | [
"MIT"
] | 3 | 2015-11-06T10:48:09.000Z | 2021-02-17T23:21:00.000Z | src/timeutils.c | IRATI/tgen | 83d85a6a94c5853b8a2d01bb553d904501545437 | [
"MIT"
] | 15 | 2015-02-19T12:09:21.000Z | 2017-01-13T13:06:54.000Z | src/timeutils.c | IRATI/tgen | 83d85a6a94c5853b8a2d01bb553d904501545437 | [
"MIT"
] | 11 | 2015-02-04T08:19:14.000Z | 2021-02-17T23:21:02.000Z | /*
* Utilities for math with timespecs and timevals
*
* Addy Bombeke <addy.bombeke@ugent.be>
* Dimitri Staessens <dimitri.staessens@intec.ugent.be>
* Douwe De Bock <douwe.debock@ugent.be>
* Francesco Salvestrini <f.salvestrini@nextworks.it>
*
* This source code has been released under the GEANT... | 21.581921 | 70 | 0.659686 |
d003fc68fdda416dcce429b7c4e49276d1f1cdb5 | 464 | h | C | include/ozo/ext/boost/shared_ptr.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | include/ozo/ext/boost/shared_ptr.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | include/ozo/ext/boost/shared_ptr.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | #pragma once
#include <ozo/type_traits.h>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
namespace ozo {
template <typename T>
struct is_nullable<boost::shared_ptr<T>> : std::true_type {};
template <typename T>
struct allocate_nullable_impl<boost::shared_ptr<T>> {
template <typename Alloc>
... | 22.095238 | 66 | 0.702586 |
f48f352d201fc38bdfeb7d943957ad692254b2e3 | 263 | h | C | 003_GuiLauncher/radio_button.h | hongwenjun/cbstudy | e87b18e3643bf932fbcc1d909bf5026e22630266 | [
"MIT"
] | 1 | 2021-04-05T07:17:51.000Z | 2021-04-05T07:17:51.000Z | 003_GuiLauncher/radio_button.h | hongwenjun/cbstudy | e87b18e3643bf932fbcc1d909bf5026e22630266 | [
"MIT"
] | null | null | null | 003_GuiLauncher/radio_button.h | hongwenjun/cbstudy | e87b18e3643bf932fbcc1d909bf5026e22630266 | [
"MIT"
] | null | null | null | #ifndef RADIO_BUTTON_H_INCLUDED
#define RADIO_BUTTON_H_INCLUDED
#include <stdio.h>
#include <windows.h>
#include "resource.h"
// 用户收音机按钮 函数 process_button
int process_button(HWND hwndDlg, WPARAM wParam);
static int rx = -1;
#endif // RADIO_BUTTON_H_INCLUDED
| 18.785714 | 48 | 0.779468 |
ad831d65b8f2f858e6f8cd030029806809e7412e | 2,281 | h | C | include/openXpsAging.h | XPliant/OpenXPS | d4e8e80da546a6e53490a71dc73e26216bb40125 | [
"Apache-2.0"
] | 11 | 2016-03-12T07:59:24.000Z | 2021-06-16T02:07:50.000Z | include/openXpsAging.h | XPliant/OpenXPS | d4e8e80da546a6e53490a71dc73e26216bb40125 | [
"Apache-2.0"
] | 2 | 2016-10-31T16:19:48.000Z | 2017-01-23T14:07:42.000Z | include/openXpsAging.h | XPliant/OpenXPS | d4e8e80da546a6e53490a71dc73e26216bb40125 | [
"Apache-2.0"
] | 12 | 2016-03-09T04:07:35.000Z | 2020-08-29T08:13:38.000Z | /************************************************************************
* Copyright (C) 2016, Cavium, Inc.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at... | 28.873418 | 76 | 0.668128 |
216e4ca5710a7107327bee2bb17cc89a8e753da4 | 816 | h | C | packaging/common/UtilGUILog.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | packaging/common/UtilGUILog.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | packaging/common/UtilGUILog.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | #ifndef _UTILGUILOG_H
#define _UTILGUILOG_H
/**
* @file UtilGUILog.h
* @brief Defines the UtilGUILog class.
*/
#include "common/Util.h"
#include "common/TwLog.h"
#include <time.h>
#include <string>
/**
* @brief UtilGUILog class.
*
*/
class UtilGUILog
{
private:
/**
* @brief UtilGUILog contructor. Uti... | 17.73913 | 68 | 0.654412 |
6e0171357cc2609d120628dc238f5f8acce171e5 | 320 | h | C | Core/ObjectiveREST/Client/ORNoCacheIncrementalStore.h | ygini/ObjectiveREST | 81c11cc3d9af96b859534531ab47aacb4f4ca2d3 | [
"Apache-2.0"
] | 3 | 2015-01-17T02:59:32.000Z | 2016-01-12T18:21:49.000Z | Core/ObjectiveREST/Client/ORNoCacheIncrementalStore.h | ygini/ObjectiveREST | 81c11cc3d9af96b859534531ab47aacb4f4ca2d3 | [
"Apache-2.0"
] | null | null | null | Core/ObjectiveREST/Client/ORNoCacheIncrementalStore.h | ygini/ObjectiveREST | 81c11cc3d9af96b859534531ab47aacb4f4ca2d3 | [
"Apache-2.0"
] | null | null | null | //
// ORNoCacheIncrementalStore.h
// OSX-ObjectiveREST
//
// Created by Yoann Gini on 07/11/12.
// Copyright (c) 2012 iNig-Services. All rights reserved.
//
#import <CoreData/CoreData.h>
#import <SocketRocketOSX/SRWebSocket.h>
@interface ORNoCacheIncrementalStore : NSIncrementalStore <SRWebSocketDelegate>
@end
| 20 | 79 | 0.753125 |
5518fdc765ea09abd89e0186dc893624159b7f5b | 14,068 | c | C | src/isc/dat2isc.c | avillasenorh/OCR-bulletins | 77cc20e80827d50707217381d9aad6ca0f16c3c3 | [
"MIT"
] | null | null | null | src/isc/dat2isc.c | avillasenorh/OCR-bulletins | 77cc20e80827d50707217381d9aad6ca0f16c3c3 | [
"MIT"
] | null | null | null | src/isc/dat2isc.c | avillasenorh/OCR-bulletins | 77cc20e80827d50707217381d9aad6ca0f16c3c3 | [
"MIT"
] | null | null | null | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*******************************************************************************
Program: dat2isc.c
Purpose: Reads text files
convert to ISC 96-byte format
Author: Antonio Villasenor, USGS, Golden
Date: 14-MAR-1999
*********************... | 23.72344 | 91 | 0.550398 |
50bf074497469dfaaa983e4f52a031cdf0f4bd35 | 477 | h | C | mojo/tools/embed/data.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | 1 | 2020-04-28T14:35:10.000Z | 2020-04-28T14:35:10.000Z | mojo/tools/embed/data.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | null | null | null | mojo/tools/embed/data.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | 1 | 2020-04-28T14:35:11.000Z | 2020-04-28T14:35:11.000Z | // Copyright 2015 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 MOJO_TOOLS_EMBED_DATA_H_
#define MOJO_TOOLS_EMBED_DATA_H_
#include <stddef.h> // For size_t.
namespace mojo {
namespace embed {
struct Data {
... | 20.73913 | 73 | 0.737945 |
fb5cf369c550dd104117373824c144aaa026bdab | 4,584 | h | C | musicplayer/plugins/openmptplugin/openmpt/common/mptBufferIO.h | Osmose/moseamp | 8357daf2c93bc903c8041cc82bf3567e8d085a60 | [
"MIT"
] | 6 | 2017-04-19T19:06:03.000Z | 2022-01-11T14:44:14.000Z | plugins/openmptplugin/openmpt/common/mptBufferIO.h | sasq64/musicplayer | 372852c2f4e3231a09db2628fc4b7e7c2bfeec67 | [
"MIT"
] | 4 | 2018-04-04T20:27:32.000Z | 2020-04-25T10:46:21.000Z | musicplayer/plugins/openmptplugin/openmpt/common/mptBufferIO.h | Osmose/moseamp | 8357daf2c93bc903c8041cc82bf3567e8d085a60 | [
"MIT"
] | 2 | 2018-06-08T15:20:48.000Z | 2020-08-19T14:24:21.000Z | /*
* mptBufferIO.h
* -------------
* Purpose: A wrapper around std::stringstream, fixing MSVC tell/seek problems with empty streams.
* Notes : You should only ever use these wrappers instead of plain std::stringstream classes.
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. R... | 25.752809 | 139 | 0.684119 |
74a2b853d233f1b7d6c1fa9ad32034bf6c0732dd | 7,235 | h | C | src/avt/VisWindow/Colleagues/VisWinAxes3D.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 226 | 2018-12-29T01:13:49.000Z | 2022-03-30T19:16:31.000Z | src/avt/VisWindow/Colleagues/VisWinAxes3D.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 5,100 | 2019-01-14T18:19:25.000Z | 2022-03-31T23:08:36.000Z | src/avt/VisWindow/Colleagues/VisWinAxes3D.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 84 | 2019-01-24T17:41:50.000Z | 2022-03-10T10:01:46.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
// ************************************************************************* //
// ... | 41.58046 | 79 | 0.522046 |
74fa8d316aba0d589277a37a8897731f99c475ad | 3,078 | h | C | Matrix.h | cerati/mkFit | ba37025247ff72c8edd2baea02b5b4ac335bdede | [
"Apache-2.0"
] | 10 | 2019-07-25T21:15:50.000Z | 2022-02-01T11:16:00.000Z | Matrix.h | osschar/mkFit | e08198918b0baa986501f315519080e97b854816 | [
"Intel"
] | 120 | 2019-08-02T16:14:35.000Z | 2022-01-24T22:15:24.000Z | Matrix.h | osschar/mkFit | e08198918b0baa986501f315519080e97b854816 | [
"Intel"
] | 11 | 2019-07-22T12:48:48.000Z | 2021-09-12T15:44:23.000Z | #ifndef _matrix_
#define _matrix_
#include "Config.h"
#include "MatrixSTypes.h"
// This should go elsewhere, eventually.
#ifdef __cpp_lib_clamp
using std::clamp;
#else
template<class T, class Compare> inline
constexpr const T clamp( const T v, const T lo, const T hi, Compare comp )
{
return comp(v, lo) ? lo : comp... | 27 | 91 | 0.660494 |
97a71b51908ab4ac5c45559835936ed2df25b0d1 | 1,915 | h | C | Upper_1/Classes/View/ZKSegment.h | AmazingFM/UpperPS | 7d3f40c7f1bb8b4d0fd1092ccf9d3a2bde83db86 | [
"Apache-2.0"
] | null | null | null | Upper_1/Classes/View/ZKSegment.h | AmazingFM/UpperPS | 7d3f40c7f1bb8b4d0fd1092ccf9d3a2bde83db86 | [
"Apache-2.0"
] | null | null | null | Upper_1/Classes/View/ZKSegment.h | AmazingFM/UpperPS | 7d3f40c7f1bb8b4d0fd1092ccf9d3a2bde83db86 | [
"Apache-2.0"
] | null | null | null | //
// ZKSegment.h
// ZKSegment
//
// Created by WangWenzhuang on 15/10/20.
// Copyright © 2015年 WangWenzhuang. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 样式
*/
typedef enum {
/**
* 线条样式
*/
ZKSegmentLineStyle = 0,
/**
* 矩形样式
*/
ZKSegmentRectangleStyle = 1,
/*... | 18.592233 | 95 | 0.646475 |
08fce4779c7ceef316d69d89dc7279b3ea103277 | 940 | h | C | reblur_package/reblur_package_lib/cuda_geometry.h | adityakrishnavamsy/SelfDeblur | 29d02605d64faf8428f4c862d8e004a85c2cd719 | [
"MIT"
] | 104 | 2020-02-09T00:58:00.000Z | 2022-03-23T07:59:56.000Z | reblur_package/reblur_package_lib/cuda_geometry.h | adityakrishnavamsy/SelfDeblur | 29d02605d64faf8428f4c862d8e004a85c2cd719 | [
"MIT"
] | 5 | 2020-03-06T04:21:41.000Z | 2022-03-21T01:04:05.000Z | reblur_package/reblur_package_lib/cuda_geometry.h | adityakrishnavamsy/SelfDeblur | 29d02605d64faf8428f4c862d8e004a85c2cd719 | [
"MIT"
] | 18 | 2020-02-10T13:02:46.000Z | 2021-09-05T14:45:54.000Z | #ifndef CUDA_GEOMETRY_H
#define CUDA_GEOMETRY_H
void rearrange_vertices(const float* vertex_array,
const int* faces,
const int nVertexPerBatch,
const int nFacesPerBatch,
const int batch_size,
const int vertexD... | 40.869565 | 103 | 0.520213 |
40e5cd945466efa56783961600b5d9007cc1d169 | 744 | h | C | libraries/ms-drivers/inc/bts7xxx_common_impl.h | Citrusboa/firmware_xiv | 4379cefae900fd67bd14d930da6b8acfce625176 | [
"MIT"
] | 14 | 2019-11-12T00:11:29.000Z | 2021-12-13T05:32:41.000Z | libraries/ms-drivers/inc/bts7xxx_common_impl.h | 123Logan321/firmware_xiv | 14468d55753ad62f8a63a9289511e72131443042 | [
"MIT"
] | 191 | 2019-11-12T05:36:58.000Z | 2022-03-21T19:54:46.000Z | libraries/ms-drivers/inc/bts7xxx_common_impl.h | 123Logan321/firmware_xiv | 14468d55753ad62f8a63a9289511e72131443042 | [
"MIT"
] | 14 | 2020-06-06T14:43:14.000Z | 2022-03-08T00:48:11.000Z | #pragma once
// Common private functions for BTS7XXX-series load switches.
// These functions should not be called outside of the BTS7200/7040 drivers.
#include "bts7xxx_common.h"
// Fault restart delay is the same across both the BTS7040 and the BTS7200
#define BTS7XXX_FAULT_RESTART_DELAY_MS 110
#define BTS7... | 39.157895 | 79 | 0.797043 |
671a8378380aafb107aff3d28ff092742925c406 | 1,030 | c | C | 05_Cub3D/lib/libft/src/linked_list/ft_lstdelone.c | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 05_Cub3D/lib/libft/src/linked_list/ft_lstdelone.c | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 05_Cub3D/lib/libft/src/linked_list/ft_lstdelone.c | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstdelone.c :+: :+: :+: ... | 42.916667 | 80 | 0.180583 |
8cb34d7aac35c312484d3fc045084af9b3b8d83e | 226 | h | C | Library/heft/Shared/Crc.h | handpoint/Handpoint-iOS-SDK | 44ab69a878c4e1ea7e216cd7fb66521125542b67 | [
"BSD-3-Clause"
] | 1 | 2018-12-26T22:35:12.000Z | 2018-12-26T22:35:12.000Z | Library/heft/Shared/Crc.h | handpoint/Handpoint-iOS-SDK | 44ab69a878c4e1ea7e216cd7fb66521125542b67 | [
"BSD-3-Clause"
] | 1 | 2021-02-26T09:46:26.000Z | 2021-02-26T09:46:26.000Z | Library/heft/Shared/Crc.h | handpoint/Handpoint-iOS-SDK | 44ab69a878c4e1ea7e216cd7fb66521125542b67 | [
"BSD-3-Clause"
] | 3 | 2018-09-18T10:07:08.000Z | 2021-02-03T14:31:46.000Z | #pragma once
#ifndef _CRC_INCLUDE_DEFINED_
#define _CRC_INCLUDE_DEFINED_
#include <cstdint>
namespace CRC {
std::uint16_t CalcCRC(const std::uint8_t *paucData, std::int16_t shLength, std::uint16_t usSeed = 0);
}
#endif | 18.833333 | 105 | 0.761062 |
8cfebf2dc3ac44f4f0edf54771f5448ebcacc1f7 | 315 | h | C | MathStats/sample_builder.h | goldim/unistats | e8dd54e46f84422d868c942367f0103949791ede | [
"MIT"
] | null | null | null | MathStats/sample_builder.h | goldim/unistats | e8dd54e46f84422d868c942367f0103949791ede | [
"MIT"
] | null | null | null | MathStats/sample_builder.h | goldim/unistats | e8dd54e46f84422d868c942367f0103949791ede | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include "sample.h"
namespace stats
{
class PerfomanceSampleBuilder
{
public:
PerfomanceSampleBuilder() = default;
void add(int name, unsigned m, unsigned n);
std::map<int, PerfomanceSample> build();
private:
std::map<int, PerfomanceSample> _samples;
};
}// stats
| 13.695652 | 47 | 0.695238 |
48ae1e56920177897ac107ca2117565ae091ae51 | 3,329 | h | C | graphics/sphere.h | Tibonium/genecis | 4de1d987f5a7928b1fc3e31d2820f5d2452eb5fc | [
"BSD-2-Clause"
] | null | null | null | graphics/sphere.h | Tibonium/genecis | 4de1d987f5a7928b1fc3e31d2820f5d2452eb5fc | [
"BSD-2-Clause"
] | null | null | null | graphics/sphere.h | Tibonium/genecis | 4de1d987f5a7928b1fc3e31d2820f5d2452eb5fc | [
"BSD-2-Clause"
] | null | null | null | /**
* @file sphere.h
*/
#pragma once
#define _USE_MATH_DEFINES
#include <cmath>
#define GL_GLEXT_PROTOTYPES
#include <genecis/container/array.h>
#include <GL/glx.h>
#include <GL/glext.h>
#include <GL/glu.h>
namespace genecis {
namespace graphics {
class Sphere {
public:
typedef std::size_t size_type ;
... | 18.80791 | 70 | 0.570141 |
71716b2f9e469a6e6d0503e3b400be9caf6e6749 | 9,570 | c | C | trunk/aes/Rijndael/rijndael-api-fst.c | flomar/CrypTool-VS2015 | 6468257af2e1002418882f22a9ed9fabddde096d | [
"Apache-2.0"
] | null | null | null | trunk/aes/Rijndael/rijndael-api-fst.c | flomar/CrypTool-VS2015 | 6468257af2e1002418882f22a9ed9fabddde096d | [
"Apache-2.0"
] | null | null | null | trunk/aes/Rijndael/rijndael-api-fst.c | flomar/CrypTool-VS2015 | 6468257af2e1002418882f22a9ed9fabddde096d | [
"Apache-2.0"
] | 5 | 2016-07-02T12:59:28.000Z | 2021-10-02T14:58:30.000Z | /* rijndael-api-fst.c v2.0 August '99
* Optimised ANSI C code
* authors: v1.0: Antoon Bosselaers
* v2.0: Vincent Rijmen
*/
#include <stdlib.h>
#include <string.h>
#include "rijndael-alg-fst.h"
#include "rijndael-api-fst.h"
#pragma warning(disable : 4996)
int makeKeyRijndael(keyInstanceRijndael *key... | 27.1875 | 92 | 0.505538 |
73d91b0d93c3fcd8316cb8e37fb3947122d6bea8 | 2,213 | h | C | Impl/Session.h | TollisK/Browser-Simulator-Data-Structures | 2fd8a08ad946451e0f18a416a5a268dd2f7f28bf | [
"MIT"
] | 1 | 2022-01-09T17:33:18.000Z | 2022-01-09T17:33:18.000Z | Impl/Session.h | TollisK/Browser-Simulator-Data-Structures | 2fd8a08ad946451e0f18a416a5a268dd2f7f28bf | [
"MIT"
] | null | null | null | Impl/Session.h | TollisK/Browser-Simulator-Data-Structures | 2fd8a08ad946451e0f18a416a5a268dd2f7f28bf | [
"MIT"
] | null | null | null | /*************************************************************************
Implementation File : Session.h
Author Date : Apostolos Karvelas 1115201800312 4/5/2019
Purpose : Header file for Session.c
**************************************************************************/
#ifndef __SESSION__
#define __SE... | 61.472222 | 150 | 0.740172 |
2148b0ef56827ecf97458245c72ff13809573272 | 3,304 | h | C | Source/GameObject.h | Project2CITM/Proyecto2 | a10c78fded2b226629a817c4e9cd46ed9e8b5bc8 | [
"MIT"
] | 2 | 2022-03-13T20:31:50.000Z | 2022-03-28T06:43:45.000Z | Source/GameObject.h | Project2CITM/The-last-purifier | e082e8ce6d6aa90b1d232cd9e15f4bec994556ed | [
"MIT"
] | null | null | null | Source/GameObject.h | Project2CITM/The-last-purifier | e082e8ce6d6aa90b1d232cd9e15f4bec994556ed | [
"MIT"
] | null | null | null | #ifndef __GAMEOBJECT_H__
#define __GAMEOBJECT_H__
#include "Application.h"
#include "External/Box2D/Box2D/Box2D.h"
#include "RenderObject.hpp"
struct SDL_Texture;
class PhysBody;
#define MAX_GAMEOBJECT_TEXTURES 5
class GameObject
{
public:
GameObject();
GameObject(std::string name = "Default", std::string tag ... | 23.942029 | 90 | 0.69431 |
42d9b14b27c2a6c673f2cf367032a24897089b1e | 1,039 | h | C | dali/execution/beam_search.h | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | dali/execution/beam_search.h | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | dali/execution/beam_search.h | bzcheeseman/Dali | a77c7ce60b20ce150a5927747e128688657907eb | [
"MIT"
] | null | null | null | #ifndef DALI_ARRAY_EXECUTION_BEAM_SEARCH_H
#define DALI_ARRAY_EXECUTION_BEAM_SEARCH_H
#include <vector>
namespace beam_search_helper {
template<typename state_t>
struct BeamSearchResult {
state_t state;
std::vector<uint> solution;
double score;
BeamSearchResult();
Beam... | 30.558824 | 76 | 0.674687 |
4286dc725897934aeb9bf1aa4dd9772ebbe6f30a | 2,071 | h | C | src/bytes.h | close2/alibvr | 2e191be70d5b90b8d576ff4c33b3d4474a4bcb7e | [
"MIT"
] | 1 | 2021-09-21T06:07:44.000Z | 2021-09-21T06:07:44.000Z | src/bytes.h | close2/alibvr | 2e191be70d5b90b8d576ff4c33b3d4474a4bcb7e | [
"MIT"
] | null | null | null | src/bytes.h | close2/alibvr | 2e191be70d5b90b8d576ff4c33b3d4474a4bcb7e | [
"MIT"
] | null | null | null | #pragma once
/**
* @file
*
* @brief This file contains `typedef`s which make it easier to access
* specific bytes of multi-byte values.
*
* An `uint16_t` for instance may be cast to `union bits16_s` which
* makes it possible to access to less significant byte with:
* `v.avr.lo`.
*
* All `union` `typedef`s... | 21.572917 | 74 | 0.604056 |
550c9f3786c57d00e97277b1eabe57e827686ec1 | 830 | h | C | src/ExtraSoundFormats.h | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | 12 | 2020-12-14T19:10:55.000Z | 2022-03-16T12:45:56.000Z | src/ExtraSoundFormats.h | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | null | null | null | src/ExtraSoundFormats.h | haya3218/cse2-tweaks | 48bccbd58240942ed5f5b288a90ef092820698c0 | [
"MIT"
] | 6 | 2020-12-13T03:05:24.000Z | 2021-11-23T14:16:49.000Z | #pragma once
void ExtraSound_Init(unsigned int sample_rate);
void ExtraSound_Deinit(void);
void ExtraSound_Play(void);
void ExtraSound_Stop(void);
void ExtraSound_LoadMusic(const char *intro_file_path, const char *loop_file_path, bool loop);
void ExtraSound_LoadPreviousMusic(void);
void ExtraSound_PauseMusic(void);
vo... | 43.684211 | 126 | 0.822892 |
4e64dd02a83061b9dc312eb11a8456474cdf1d4d | 479 | h | C | chrome/browser/ssl/captive_portal_helper.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/ssl/captive_portal_helper.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/ssl/captive_portal_helper.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 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_BROWSER_SSL_CAPTIVE_PORTAL_HELPER_H_
#define CHROME_BROWSER_SSL_CAPTIVE_PORTAL_HELPER_H_
namespace chrome {
// Returns true if the OS rep... | 29.9375 | 77 | 0.805846 |
b69c3421f5c2d9af3b306edcb12e10fb785875eb | 6,674 | h | C | lib/ros_lib/jsk_recognition_msgs/PolygonArray.h | hrjp/teensy_ros_ethernet | 9ee2afa4edfc5a15175182dc17d4b9e874622be9 | [
"Apache-2.0"
] | null | null | null | lib/ros_lib/jsk_recognition_msgs/PolygonArray.h | hrjp/teensy_ros_ethernet | 9ee2afa4edfc5a15175182dc17d4b9e874622be9 | [
"Apache-2.0"
] | null | null | null | lib/ros_lib/jsk_recognition_msgs/PolygonArray.h | hrjp/teensy_ros_ethernet | 9ee2afa4edfc5a15175182dc17d4b9e874622be9 | [
"Apache-2.0"
] | null | null | null | #ifndef _ROS_jsk_recognition_msgs_PolygonArray_h
#define _ROS_jsk_recognition_msgs_PolygonArray_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/PolygonStamped.h"
namespace jsk_recognition_msgs
{
class PolygonArray : public ros:... | 45.094595 | 139 | 0.597543 |
b6e5c07f4450c3ac610223709e9edcc8b4b041b4 | 1,149 | h | C | include/il2cpp/ColiseumRoomManager/__LeaveUnion_g__Leave|62_0_d.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/ColiseumRoomManager/__LeaveUnion_g__Leave|62_0_d.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/ColiseumRoomManager/__LeaveUnion_g__Leave|62_0_d.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void ColiseumRoomManager___LeaveUnion_g__Leave_62_0_d___ctor (ColiseumRoomManager___LeaveUnion_g__Leave_62_0_d_o* __this, int32_t __1__state, const MethodInfo* method_info);
void ColiseumRoomManager___LeaveUnion_g__Leave_62_0_d__System_IDisposable_Dispose (ColiseumRoomManager___LeaveU... | 104.454545 | 222 | 0.91819 |
228a49780eb91a6e596c93612baa8fe2fd2df205 | 6,422 | h | C | MXSAppKit/Lib/MXSKit.framework/Headers/NSDate+RHDate.h | Anonymous-Monk/MXSAppKit | 0f5d6b994b2843a536e4b2f8e4417546249b0617 | [
"MIT"
] | null | null | null | MXSAppKit/Lib/MXSKit.framework/Headers/NSDate+RHDate.h | Anonymous-Monk/MXSAppKit | 0f5d6b994b2843a536e4b2f8e4417546249b0617 | [
"MIT"
] | null | null | null | MXSAppKit/Lib/MXSKit.framework/Headers/NSDate+RHDate.h | Anonymous-Monk/MXSAppKit | 0f5d6b994b2843a536e4b2f8e4417546249b0617 | [
"MIT"
] | null | null | null | //
// NSDate+RHDate.h
// RHBaseModule
//
// Created by aicai on 2018/7/9.
// Copyright © 2018年 aicai. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate (RHDate)
+ (NSCalendar *)currentCalendar;
#pragma mark - 时间戳处理/计算日期
/**
通过时间戳计算出与当前时间差
@param timeStamp 时间戳
@return 与当前时间的差距, 比如一... | 21.194719 | 152 | 0.681096 |
e2f940b94e0169578837adee65c09b95d797761e | 2,450 | h | C | examples/sdl2/blargg_apu/Gb_Apu.h | Ryzee119/Peanut-GBX | b10a5b2ee4d6da3ec30dd7c0d869b3834e302a4c | [
"MIT"
] | 6 | 2015-10-05T21:28:16.000Z | 2018-11-11T13:51:31.000Z | examples/sdl2/blargg_apu/Gb_Apu.h | Ryzee119/Peanut-GB | b10a5b2ee4d6da3ec30dd7c0d869b3834e302a4c | [
"MIT"
] | 9 | 2015-10-04T23:18:32.000Z | 2017-03-17T11:06:02.000Z | examples/sdl2/blargg_apu/Gb_Apu.h | Ryzee119/Peanut-GB | b10a5b2ee4d6da3ec30dd7c0d869b3834e302a4c | [
"MIT"
] | 1 | 2020-07-14T04:24:30.000Z | 2020-07-14T04:24:30.000Z |
// Nintendo Game Boy PAPU sound chip emulator
// Gb_Snd_Emu 0.1.4. Copyright (C) 2003-2005 Shay Green. GNU LGPL license.
#ifndef GB_APU_H
#define GB_APU_H
typedef long gb_time_t; // clock cycle count
typedef unsigned gb_addr_t; // 16-bit address
#include "Gb_Oscs.h"
class Gb_Apu {
public:
Gb_Apu();
~Gb_Apu(... | 28.823529 | 91 | 0.707755 |
c20c8a80990aee807653f95a7b77f2398dd0bb9b | 10,813 | c | C | src/libs/jabberwerx/test/tracker_test.c | cisco/JabberWerxC | 5a69904922a534e140ef7edb26190e38885aac90 | [
"BSD-2-Clause"
] | 19 | 2015-07-08T17:33:27.000Z | 2021-02-24T03:05:49.000Z | src/libs/jabberwerx/test/tracker_test.c | cisco/JabberWerxC | 5a69904922a534e140ef7edb26190e38885aac90 | [
"BSD-2-Clause"
] | 9 | 2015-07-08T19:11:15.000Z | 2015-07-10T18:54:54.000Z | src/libs/jabberwerx/test/tracker_test.c | cisco/JabberWerxC | 5a69904922a534e140ef7edb26190e38885aac90 | [
"BSD-2-Clause"
] | 9 | 2015-07-08T17:34:05.000Z | 2021-03-16T12:03:40.000Z | /**
* Copyrights
*
* Portions created or assigned to Cisco Systems, Inc. are
* Copyright (c) 2010-2015 Cisco Systems, Inc. All Rights Reserved.
* See LICENSE for details.
*/
#include <assert.h>
#include <string.h>
#include "stanza_defines.h"
#include "fct.h"
#include "test_utils.h"
#include <jabberwerx/tracke... | 35.336601 | 80 | 0.527791 |
796f4642d882a397a97aec594006123af84b5c91 | 2,048 | h | C | xdl/xdl/core/ops/unique_op.h | hitflame/x-deeplearning | c8029396c6ae6dbf397a34a1801ceadc824e4f8d | [
"Apache-2.0"
] | 2 | 2019-11-11T09:51:56.000Z | 2021-08-04T04:02:29.000Z | xdl/xdl/core/ops/unique_op.h | hitflame/x-deeplearning | c8029396c6ae6dbf397a34a1801ceadc824e4f8d | [
"Apache-2.0"
] | 1 | 2019-11-29T14:52:53.000Z | 2019-11-29T14:52:53.000Z | xdl/xdl/core/ops/unique_op.h | hitflame/x-deeplearning | c8029396c6ae6dbf397a34a1801ceadc824e4f8d | [
"Apache-2.0"
] | 1 | 2019-08-03T05:22:19.000Z | 2019-08-03T05:22:19.000Z | /* Copyright (C) 2016-2018 Alibaba Group Holding 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
Unless required by applicable law or agreed ... | 31.507692 | 82 | 0.728027 |
9f5e70b7187768f89d52f129a08f29870d8f5a6e | 691 | h | C | include/DataStructures/Stack.h | ToppDev/brotcrunsher-game-engine | 0f6a40277adb52c3c8a2d7c5638dfbbb89141bfb | [
"Unlicense"
] | null | null | null | include/DataStructures/Stack.h | ToppDev/brotcrunsher-game-engine | 0f6a40277adb52c3c8a2d7c5638dfbbb89141bfb | [
"Unlicense"
] | null | null | null | include/DataStructures/Stack.h | ToppDev/brotcrunsher-game-engine | 0f6a40277adb52c3c8a2d7c5638dfbbb89141bfb | [
"Unlicense"
] | null | null | null | #pragma once
#pragma once
#include "List.h"
namespace bbe
{
template <typename T>
class Stack
{
private:
List<T> m_data;
public:
void push(const T &object)
{
m_data.pushBack(object);
}
T pop()
{
if (m_data.getLength() <= 0)
{
//TODO add further error handling
__debugbreak();
}
... | 12.796296 | 46 | 0.58466 |
b00ddbe3e220472128c7037c3f7d90e580120072 | 6,720 | c | C | sdk/core/core/src/az_http_policy_logging.c | amih90/azure-sdk-for-c | b33ca37648e75c14a02e94257d85af7371249f26 | [
"MIT"
] | null | null | null | sdk/core/core/src/az_http_policy_logging.c | amih90/azure-sdk-for-c | b33ca37648e75c14a02e94257d85af7371249f26 | [
"MIT"
] | null | null | null | sdk/core/core/src/az_http_policy_logging.c | amih90/azure-sdk-for-c | b33ca37648e75c14a02e94257d85af7371249f26 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "az_http_policy_logging_private.h"
#include "az_http_policy_private.h"
#include "az_span_private.h"
#include <az_http_internal.h>
#include <az_http_transport.h>
#include <az_log_internal.h>
#include <az_platform_inter... | 35.935829 | 99 | 0.770387 |
bfaa08de1147a425d0eaac900f0c80bf0472bf61 | 2,928 | h | C | Family/Family/LIB/CPKenburnsView.h | VomPom/IOS_Family | ea9a25f7ea897b35619d50a51be7036ae273aacf | [
"Apache-2.0"
] | null | null | null | Family/Family/LIB/CPKenburnsView.h | VomPom/IOS_Family | ea9a25f7ea897b35619d50a51be7036ae273aacf | [
"Apache-2.0"
] | null | null | null | Family/Family/LIB/CPKenburnsView.h | VomPom/IOS_Family | ea9a25f7ea897b35619d50a51be7036ae273aacf | [
"Apache-2.0"
] | null | null | null | //
// CPKenburnsImageView.h
//
//The MIT License (MIT)
//Copyright © 2014 Muukii (www.muukii.me)
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the “Software”), to deal
//in the Software withou... | 43.701493 | 96 | 0.758197 |
bfb86aee152b23530ec0f601f371f3c1eef15667 | 651 | h | C | System/Library/PrivateFrameworks/HomeKitDaemon.framework/__HMDBundleApplicationInfo.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/HomeKitDaemon.framework/__HMDBundleApplicationInfo.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/HomeKitDaemon.framework/__HMDBundleApplicationInfo.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:55 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/HomeKitDaemon.framework/HomeKitDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... | 27.125 | 87 | 0.788018 |
ba4870a299a5d670584384a876629c100dc7b367 | 1,866 | h | C | webrtc/include/third_party/blink/renderer/modules/buckets/bucket_manager.h | yxlao/webrtc-cpp-sample | 60bb1948f714693e7c8ade2fc6ffba218ea13859 | [
"MIT"
] | null | null | null | webrtc/include/third_party/blink/renderer/modules/buckets/bucket_manager.h | yxlao/webrtc-cpp-sample | 60bb1948f714693e7c8ade2fc6ffba218ea13859 | [
"MIT"
] | null | null | null | webrtc/include/third_party/blink/renderer/modules/buckets/bucket_manager.h | yxlao/webrtc-cpp-sample | 60bb1948f714693e7c8ade2fc6ffba218ea13859 | [
"MIT"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_BUCKETS_BUCKET_MANAGER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_BUCKETS_BUCKET_MANAGER_H_
#include "third... | 35.884615 | 80 | 0.73955 |
a772cbb22933d9afd420ec78ddd1faaf78ab16be | 102 | h | C | include/linalg.h | PavlenkoDR/linalg | 5756ab5b74ca9569307dae6d428dd7c72c10c46f | [
"MIT"
] | null | null | null | include/linalg.h | PavlenkoDR/linalg | 5756ab5b74ca9569307dae6d428dd7c72c10c46f | [
"MIT"
] | null | null | null | include/linalg.h | PavlenkoDR/linalg | 5756ab5b74ca9569307dae6d428dd7c72c10c46f | [
"MIT"
] | null | null | null | #ifndef LINALG_H
#define LINALG_H
#include "matrix.h"
#include "vector.h"
#endif // LINALG_H
| 12.75 | 20 | 0.676471 |
68514e3fb63a7254305c3b397fd1d899b0f50ae0 | 413 | h | C | SmartRationSmartAdjustHeuristicPerson.h | wbhoenig/MicroWorld | 89c91b3f66645904cbb2570aceea0ac7f19a960c | [
"MIT"
] | null | null | null | SmartRationSmartAdjustHeuristicPerson.h | wbhoenig/MicroWorld | 89c91b3f66645904cbb2570aceea0ac7f19a960c | [
"MIT"
] | null | null | null | SmartRationSmartAdjustHeuristicPerson.h | wbhoenig/MicroWorld | 89c91b3f66645904cbb2570aceea0ac7f19a960c | [
"MIT"
] | null | null | null | #ifndef SMART_RATION_SMART_ADJUST_HEURISTIC_PERSON_H
#define SMART_RATION_SMART_ADJUST_HEURISTIC_PERSON_H
#include "SmartAdjust.h"
#include "SmartRation.h"
#include "SmartWTP.h"
class SmartRationSmartAdjustHeuristicPerson :
public SmartRation, public SmartAdjust, public SmartWTP {
public:
SmartRationSmartAdjustHeu... | 22.944444 | 64 | 0.845036 |
be2afacd38024f406d02981da8fd20205fa8bf27 | 2,166 | h | C | src/OpcUaStackCore/SecureChannel/MessageHeader.h | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | src/OpcUaStackCore/SecureChannel/MessageHeader.h | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | src/OpcUaStackCore/SecureChannel/MessageHeader.h | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | /*
Copyright 2015-2018 Kai Huebl (kai@huebl-sgh.de)
Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser
Datei nur in Übereinstimmung mit der Lizenz erlaubt.
Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0.
Sofern nicht gemäß geltendem Rech... | 29.27027 | 87 | 0.755309 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.