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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29cf6b075d3eaa1528541d58054bcf412aa8dfc2 | 1,034 | h | C | padtransf.h | alkasm/padded-transformations-cpp | bc3157f7443ed722bf958aaa9552eee583519bda | [
"MIT"
] | 1 | 2020-09-07T09:46:48.000Z | 2020-09-07T09:46:48.000Z | padtransf.h | alkasm/padded-transformations-cpp | bc3157f7443ed722bf958aaa9552eee583519bda | [
"MIT"
] | null | null | null | padtransf.h | alkasm/padded-transformations-cpp | bc3157f7443ed722bf958aaa9552eee583519bda | [
"MIT"
] | null | null | null | #ifndef PADTRANSF_H
#define PADTRANSF_H
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
void warpPerspectivePadded(
const cv::Mat&, // source image, to be warped
const cv::Mat&, // destination image, to be padded
const cv::Mat&, // 3x3 perspective transformation
cv::Mat&, // warpe... | 34.466667 | 65 | 0.67795 |
49e4deafacb07f9aca29ab5fe1992059e547abe3 | 22,605 | c | C | bios.c | algodesigner/cpm | 2790d811bdea7e62d2e03d0d5375065c8454f4ab | [
"MIT"
] | 2 | 2020-07-03T11:47:24.000Z | 2021-04-13T20:07:19.000Z | bios.c | algodesigner/cpm | 2790d811bdea7e62d2e03d0d5375065c8454f4ab | [
"MIT"
] | null | null | null | bios.c | algodesigner/cpm | 2790d811bdea7e62d2e03d0d5375065c8454f4ab | [
"MIT"
] | null | null | null | /*-----------------------------------------------------------------------*\
| bios.c -- CP/M emulator "front-end" for the Z80 emulator -- runs |
| standard CP/M executables with no changes as long as they use CP/M |
| system calls to do all their work. |
| ... | 21.610899 | 79 | 0.590179 |
63b1c16bde53c80375921e168950dca34b52ac15 | 1,946 | c | C | mm0-c/main.c | digama0/mm0 | 43b0f6e89f73b5ee3a84212f84383e1ce2d7fb26 | [
"CC0-1.0"
] | 211 | 2019-03-01T07:13:02.000Z | 2022-03-17T22:41:53.000Z | mm0-c/main.c | math-egphilippov/mm0 | a4fff5c90f5787aacef23f2b5f0c9e064379658d | [
"CC0-1.0"
] | 76 | 2019-05-21T23:28:05.000Z | 2022-03-24T13:31:12.000Z | mm0-c/main.c | math-egphilippov/mm0 | a4fff5c90f5787aacef23f2b5f0c9e064379658d | [
"CC0-1.0"
] | 24 | 2019-02-25T14:55:11.000Z | 2022-02-06T02:51:37.000Z | #include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
// #include <time.h>
#ifdef WIN32
#include <windows.h>
#else
#include <sys/mman.h>
#endif
#include "parser.c"
#define ERR_ARGS 1
#define ERR_READ 2
#define ERR_MMAP 3
int main(int argc, char** argv) {
if (sizeof(cmd32) != 5) {
fprintf(stderr, "Stat... | 25.946667 | 116 | 0.653135 |
ebd60f30882de5b4b54423cb3c1c16cec1499a0a | 378,738 | c | C | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_t_fw.c | lanpinguo/rootfs_build | 615893367a920ff19b85db44b53d8532b0d88da2 | [
"Apache-2.0"
] | null | null | null | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_t_fw.c | lanpinguo/rootfs_build | 615893367a920ff19b85db44b53d8532b0d88da2 | [
"Apache-2.0"
] | null | null | null | kernel/drivers/net/wireless/rtl8188eu/hal/phydm/rtl8188e/halhwimg8188e_t_fw.c | lanpinguo/rootfs_build | 615893367a920ff19b85db44b53d8532b0d88da2 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published b... | 95.713419 | 103 | 0.653433 |
5b76b5bbe41732dbfab228b13457e681ab17acfa | 2,612 | h | C | QFacer/common.h | louissong7912/nominate-gitee-apengge-SeetaFace_opt | cd31b4d4a2c75161df424cd13b70d974c926dbb5 | [
"BSD-2-Clause"
] | 2 | 2019-12-27T00:12:31.000Z | 2020-04-22T21:19:29.000Z | QFacer/common.h | LiveMirror/nominate-gitee-apengge-SeetaFace_opt | cd31b4d4a2c75161df424cd13b70d974c926dbb5 | [
"BSD-2-Clause"
] | null | null | null | QFacer/common.h | LiveMirror/nominate-gitee-apengge-SeetaFace_opt | cd31b4d4a2c75161df424cd13b70d974c926dbb5 | [
"BSD-2-Clause"
] | 3 | 2019-09-24T07:31:41.000Z | 2022-01-24T07:21:11.000Z | #ifndef COMMON_H
#define COMMON_H
#include <windows.h>
#include <list>
#include <iostream>
using namespace std;
#include <QString>
#include <QStringList>
#include <QTextCodec>
#include <QTime>
#include <signal.h>
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
typedef struct DiskInfo
{
Q... | 18.394366 | 126 | 0.730475 |
a5bce099f1ed47b6874d3064a6a50976296eb27b | 1,088 | h | C | include/linux/mfd/max77693-common.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | include/linux/mfd/max77693-common.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | include/linux/mfd/max77693-common.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Common data shared between Maxim 77693 and 77843 drivers
*
* Copyright (C) 2015 Samsung Electronics
*/
#ifndef __LINUX_MFD_MAX77693_COMMON_H
#define __LINUX_MFD_MAX77693_COMMON_H
enum max77693_types {
TYPE_MAX77693_UNKNOWN,
TYPE_MAX77693,
TYPE_MAX77843,
TYPE_MAX77... | 23.652174 | 63 | 0.749081 |
9d5b05c9dfd229f1c4613f8b2e763919cc8b8961 | 7,095 | c | C | src/driver/battery/battery-adc.c | motoedy/xboot | 0e871b0247c2077bcea07258db85bc6307f11072 | [
"MIT"
] | 1 | 2019-12-02T08:08:58.000Z | 2019-12-02T08:08:58.000Z | src/driver/battery/battery-adc.c | motoedy/xboot | 0e871b0247c2077bcea07258db85bc6307f11072 | [
"MIT"
] | null | null | null | src/driver/battery/battery-adc.c | motoedy/xboot | 0e871b0247c2077bcea07258db85bc6307f11072 | [
"MIT"
] | null | null | null | /*
* driver/battery-adc.c
*
* Copyright(c) 2007-2019 Jianjun Jiang <8192542@qq.com>
* Official site: http://xboot.org
* Mobile phone: +86-18665388956
* QQ: 8192542
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 24.381443 | 125 | 0.692882 |
4fd1be10c011807ec6797e4f93144d142f618c71 | 10,634 | c | C | gcg/src/heur_gcgsimplerounding.c | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | null | null | null | gcg/src/heur_gcgsimplerounding.c | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | null | null | null | gcg/src/heur_gcgsimplerounding.c | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | 1 | 2022-01-19T01:15:11.000Z | 2022-01-19T01:15:11.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program */
/* GCG --- Generic Column Generation */
... | 34.414239 | 123 | 0.610118 |
a07e0da0cfe6bafdd88731568eb7fcad9eeee092 | 403 | h | C | src/entity/BeerCard.h | MattSkala/bang-game | 42b174fef07a8c6b7af1895e6ddf75507bd2fa42 | [
"MIT"
] | 9 | 2015-05-29T22:51:53.000Z | 2021-03-07T15:46:28.000Z | src/entity/BeerCard.h | MattSkala/bang-game | 42b174fef07a8c6b7af1895e6ddf75507bd2fa42 | [
"MIT"
] | null | null | null | src/entity/BeerCard.h | MattSkala/bang-game | 42b174fef07a8c6b7af1895e6ddf75507bd2fa42 | [
"MIT"
] | 4 | 2017-01-07T02:25:47.000Z | 2021-11-04T08:18:07.000Z | #ifndef BANG_BEERCARD_H
#define BANG_BEERCARD_H
#include "InstantCard.h"
/// An instant healing card. Heals one life point to target.
class BeerCard : public InstantCard {
public:
BeerCard(string original_name, string name, int count);
virtual int play(Game * game, Player * player, int position, int target,... | 22.388889 | 94 | 0.739454 |
ae44e580ba4a9f85761818f2d7d01f6ca243befe | 1,272 | h | C | Ambit/Source/Ambit/Mode/IScenarioParameter.h | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Mode/IScenarioParameter.h | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Mode/IScenarioParameter.h | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | // Copyright 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 34.378378 | 85 | 0.717767 |
5b43a646b539115c5f6ffbfb0805a3f779570deb | 1,260 | c | C | vector.c | louisswarren/raytracer | 80fd7573bfb4caa1b1fe519ae3ef765329c6bf00 | [
"MIT"
] | null | null | null | vector.c | louisswarren/raytracer | 80fd7573bfb4caa1b1fe519ae3ef765329c6bf00 | [
"MIT"
] | null | null | null | vector.c | louisswarren/raytracer | 80fd7573bfb4caa1b1fe519ae3ef765329c6bf00 | [
"MIT"
] | null | null | null | #include <math.h>
#include "vector.h"
Vector vec_add(Vector *this, Vector *other)
{
return (Vector){
this->x + other->x,
this->y + other->y,
this->z + other->z,
};
}
Vector ray_at_param(Ray *ray, double dist)
{
return (Vector){
ray->pos.x + ray->dir.x * dist,
ray->pos.y + ray->dir.y * dist,
ray->pos.z... | 16.363636 | 75 | 0.604762 |
1285700bbc4ceb17272128ba7dbb4c34de124850 | 180 | h | C | Example/Pods/Target Support Files/Pods-MeshbluBeaconKit_Example/Pods-MeshbluBeaconKit_Example-umbrella.h | octoblu/MeshbluBeaconKit | ad2927635ca931b9e18784d6a7c699c5b108bc78 | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-MeshbluBeaconKit_Example/Pods-MeshbluBeaconKit_Example-umbrella.h | octoblu/MeshbluBeaconKit | ad2927635ca931b9e18784d6a7c699c5b108bc78 | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-MeshbluBeaconKit_Example/Pods-MeshbluBeaconKit_Example-umbrella.h | octoblu/MeshbluBeaconKit | ad2927635ca931b9e18784d6a7c699c5b108bc78 | [
"MIT"
] | 1 | 2017-06-30T22:40:19.000Z | 2017-06-30T22:40:19.000Z | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_MeshbluBeaconKit_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_MeshbluBeaconKit_ExampleVersionString[];
| 25.714286 | 83 | 0.877778 |
3fcea4e9b86db7e86cdbe7b711c11c78e090b916 | 2,974 | h | C | llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 58 | 2016-08-27T03:19:14.000Z | 2022-01-05T17:33:44.000Z | llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 14 | 2017-12-01T17:16:59.000Z | 2020-12-21T12:16:35.000Z | llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 22 | 2016-11-27T09:53:31.000Z | 2021-11-22T00:22:53.000Z | //===- ObjCARCAliasAnalysis.h - ObjC ARC Optimization -*- C++ -*-----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 39.653333 | 80 | 0.677202 |
e259c2b1b11bf8fb359debc29f756cadc7823336 | 2,061 | h | C | xray/cuConebeamProjectionOperator.h | ahsanjav/gt-tomography | 1f53d72672ccda417bc8966d8497af6d786e8935 | [
"MIT"
] | 6 | 2017-06-26T13:41:55.000Z | 2019-06-10T11:06:27.000Z | xray/cuConebeamProjectionOperator.h | ahsanjav/gt-tomography | 1f53d72672ccda417bc8966d8497af6d786e8935 | [
"MIT"
] | null | null | null | xray/cuConebeamProjectionOperator.h | ahsanjav/gt-tomography | 1f53d72672ccda417bc8966d8497af6d786e8935 | [
"MIT"
] | 1 | 2021-09-27T14:37:29.000Z | 2021-09-27T14:37:29.000Z | /*
* cuConebeamProjectionOperator.h
*
* Created on: Feb 18, 2015
* Author: u051747
*/
#pragma once
#include <linearOperator.h>
#include <cuNDArray_math.h>
#include <boost/shared_ptr.hpp>
#include "CBCT_acquisition.h"
#include "CBCT_binning.h"
#include <vector>
#include "vector_td.h"
namespace Gadgetron {... | 36.803571 | 156 | 0.789423 |
e9814e947071eb45caeb575525502d0d3b298900 | 93 | h | C | AppKit/NSWindowScripting.h | uptime-services/development-arts | 970e2da53547677d48d71ae19a67163d05131f27 | [
"MIT"
] | 16 | 2015-09-29T06:32:15.000Z | 2020-10-11T04:19:46.000Z | AppKit/NSWindowScripting.h | uptime-services/development-arts | 970e2da53547677d48d71ae19a67163d05131f27 | [
"MIT"
] | null | null | null | AppKit/NSWindowScripting.h | uptime-services/development-arts | 970e2da53547677d48d71ae19a67163d05131f27 | [
"MIT"
] | 5 | 2015-03-24T18:54:38.000Z | 2018-07-15T18:00:42.000Z | #import <AppKit/NSWindow.h>
@interface NSWindow(scripting)
-(NSInteger)orderedIndex;
@end
| 11.625 | 30 | 0.763441 |
6b36117b0e15e103ea7cf7151792cb7e2b12a35f | 330 | h | C | QBAdSDK_iOS/thirdSdkSource/chuanSanJIa/BUFoundation.framework/Versions/A/Headers/BUUserAgentHelper.h | yuntitech/QBAdSDK_iOS | 3c8361c1e3aab86267b1210d4349f029c8121e8d | [
"MIT"
] | 18 | 2022-02-11T01:35:21.000Z | 2022-02-15T10:41:17.000Z | QBAdSDK_iOS/thirdSdkSource/chuanSanJIa/BUFoundation.framework/Versions/A/Headers/BUUserAgentHelper.h | yuntitech/QBAdSDK_iOS | 3c8361c1e3aab86267b1210d4349f029c8121e8d | [
"MIT"
] | null | null | null | QBAdSDK_iOS/thirdSdkSource/chuanSanJIa/BUFoundation.framework/Versions/A/Headers/BUUserAgentHelper.h | yuntitech/QBAdSDK_iOS | 3c8361c1e3aab86267b1210d4349f029c8121e8d | [
"MIT"
] | 2 | 2022-02-11T01:58:31.000Z | 2022-02-11T02:49:48.000Z | //
// BUUserAgentHelper.h
// BUAdSDK
//
// Created by cuiyanan on 2019/9/3.
// Copyright © 2019 bytedance. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>
#import "BUCommonMacros.h"
@interface BUUserAgentHelper : NSObject
BU_SINGLETION(BUUserAgentHelper);
- (NSString *)userAge... | 17.368421 | 52 | 0.727273 |
6b8eec48332dd2c2b696c227c0d3790cbd90bd2a | 457 | h | C | Motor2D/GuiCheck.h | Margeli/Assignment1 | b04ee2883c3d4c0f6a2fcf54a9e495aed3f5fed2 | [
"MIT"
] | null | null | null | Motor2D/GuiCheck.h | Margeli/Assignment1 | b04ee2883c3d4c0f6a2fcf54a9e495aed3f5fed2 | [
"MIT"
] | null | null | null | Motor2D/GuiCheck.h | Margeli/Assignment1 | b04ee2883c3d4c0f6a2fcf54a9e495aed3f5fed2 | [
"MIT"
] | null | null | null | #ifndef __GUICHECK_H__
#define __GUICHECK_H__
#include "j1UI_Elem.h"
class GuiLabel;
class GuiCheck : public j1UI_Elem
{
public:
GuiCheck(Alignment alignment = NO_ALIGN);
virtual ~GuiCheck();
bool Start();
bool CleanUp();
bool Update(float dt);
p2SString text;
bool pressed = false;
void StateChanging(Butto... | 16.321429 | 42 | 0.743982 |
3647d287d8b176d57655bad15c0e83947f039855 | 2,899 | h | C | examples/planar_gripper/planar_manipuland_lcm.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | examples/planar_gripper/planar_manipuland_lcm.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | examples/planar_gripper/planar_manipuland_lcm.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | #pragma once
/// @file
/// This file contains classes dealing with sending/receiving
/// LCM messages related to the planar manipuland.
#include "drake/common/drake_copyable.h"
#include "drake/common/eigen_types.h"
#include "drake/lcmt_planar_manipuland_status.hpp"
#include "drake/systems/framework/event_status.h"
#i... | 35.790123 | 80 | 0.762677 |
593c15b4b6756a541f733f20adc4b5ef380b3405 | 14,885 | h | C | Sources/Elastos/External/conscrypt/inc/org/conscrypt/SSLParametersImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/External/conscrypt/inc/org/conscrypt/SSLParametersImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/External/conscrypt/inc/org/conscrypt/SSLParametersImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 33.225446 | 98 | 0.650319 |
df7f5092aab68aca69aa963a51aeabfb7d3e3074 | 404 | h | C | V2_S/HERMES/widget/CaptureReport.h | EIDOSDATA/ARGOS_QT_Series | f451312249607b03ed4d6848ec8bc068f245718f | [
"Unlicense"
] | null | null | null | V2_S/HERMES/widget/CaptureReport.h | EIDOSDATA/ARGOS_QT_Series | f451312249607b03ed4d6848ec8bc068f245718f | [
"Unlicense"
] | null | null | null | V2_S/HERMES/widget/CaptureReport.h | EIDOSDATA/ARGOS_QT_Series | f451312249607b03ed4d6848ec8bc068f245718f | [
"Unlicense"
] | null | null | null | #ifndef CAPTUREREPORT_H
#define CAPTUREREPORT_H
#include <QWidget>
namespace Ui {
class CaptureReport;
}
class CaptureReport : public QWidget
{
Q_OBJECT
public:
explicit CaptureReport(QWidget *parent = 0);
~CaptureReport();
void setTitle(QString text);
void setText(QString text);
void addText(QString text);
... | 14.428571 | 45 | 0.75 |
d4c70b773c703a8bd2b93e5c2f9b2e55933b0c8e | 13,311 | c | C | FreeBSD/sys/x86/cpufreq/hwpstate.c | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | FreeBSD/sys/x86/cpufreq/hwpstate.c | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/sys/x86/cpufreq/hwpstate.c | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /*-
* Copyright (c) 2005 Nate Lawson
* Copyright (c) 2004 Colin Percival
* Copyright (c) 2004-2005 Bruno Durcot
* Copyright (c) 2004 FUKUDA Nobuhiko
* Copyright (c) 2009 Michael Reifenberger
* Copyright (c) 2009 Norikatsu Shigemura
* Copyright (c) 2008-2009 Gen Otsuji
*
* This code is depending on kern_cpu.c, ... | 26.151277 | 107 | 0.704455 |
d9cf9753eab3b442bfc2676b917ee1541e02f62f | 568 | h | C | src/TRGame/Scenes/MapScene.h | CXUtk/TRV2 | 945950012e2385aeb24e80bf5e876703445ba423 | [
"Apache-2.0"
] | null | null | null | src/TRGame/Scenes/MapScene.h | CXUtk/TRV2 | 945950012e2385aeb24e80bf5e876703445ba423 | [
"Apache-2.0"
] | 15 | 2021-09-04T13:02:51.000Z | 2021-10-05T05:51:31.000Z | src/TRGame/Scenes/MapScene.h | CXUtk/TRV2 | 945950012e2385aeb24e80bf5e876703445ba423 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <TRGame/TRGame_Interfaces.h>
#include <TREngine/Core.h>
#include <TREngine/Core/Gamplay/Scene.h>
#include <TREngine/Core/Structures/Rect.hpp>
class MapScene : public trv2::Scene
{
public:
MapScene(trv2::Engine* engine, TRGame* game);
virtual ~MapScene() override;
void Update(double deltaTi... | 19.586207 | 46 | 0.739437 |
3dceaa2896476af3ecc5f669dd1c6b4fce5e5d6c | 1,126 | h | C | kern/include/test.h | ishan-khaparde/System-161 | 0f7f80fade2eade4fd0c509180d2e6ea778ea01f | [
"MIT"
] | null | null | null | kern/include/test.h | ishan-khaparde/System-161 | 0f7f80fade2eade4fd0c509180d2e6ea778ea01f | [
"MIT"
] | null | null | null | kern/include/test.h | ishan-khaparde/System-161 | 0f7f80fade2eade4fd0c509180d2e6ea778ea01f | [
"MIT"
] | null | null | null | #ifndef _TEST_H_
#define _TEST_H_
/*
* * Declarations for test code and other miscellaneous functions.
* */
/* These are only actually available if OPT_SYNCHPROBS is set. */
int catmousesem(int, char **);
int catmouselock(int, char **);
int createcars(int, char **);
/*
* * Test code.
* */
/* lib tests */... | 22.078431 | 67 | 0.65897 |
8db3d654adf9852acfaeb141ff02d451553cb7a9 | 2,116 | c | C | src/kernel/x86_64/level3/spmmd/spmmd_x_csr_row.c | xupinjie/AlphaSparse | 06bf06a57f9112c2f940741841485243d8073c7c | [
"MIT"
] | 18 | 2022-02-22T15:10:18.000Z | 2022-03-29T07:54:57.000Z | src/kernel/x86_64/level3/spmmd/spmmd_x_csr_row.c | xupinjie/AlphaSparse | 06bf06a57f9112c2f940741841485243d8073c7c | [
"MIT"
] | null | null | null | src/kernel/x86_64/level3/spmmd/spmmd_x_csr_row.c | xupinjie/AlphaSparse | 06bf06a57f9112c2f940741841485243d8073c7c | [
"MIT"
] | 2 | 2022-02-23T09:25:57.000Z | 2022-02-25T08:01:03.000Z | #include "alphasparse/kernel.h"
#include "alphasparse/util.h"
#include "alphasparse/opt.h"
#ifdef _OPENMP
#include <omp.h>
#endif
#include <memory.h>
alphasparse_status_t ONAME(const ALPHA_SPMAT_CSR *matA, const ALPHA_SPMAT_CSR *matB, ALPHA_Number *matC, const ALPHA_INT ldc)
{
if (matA->cols != matB->rows || ldc <... | 30.228571 | 125 | 0.570888 |
6da3ce016154704b42ba1962c89bd3240489cd7c | 92 | c | C | cpp/ql/test/query-tests/JPL_C/LOC-3/Rule 13/LimitedScopeFile/file2.c | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | cpp/ql/test/query-tests/JPL_C/LOC-3/Rule 13/LimitedScopeFile/file2.c | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | cpp/ql/test/query-tests/JPL_C/LOC-3/Rule 13/LimitedScopeFile/file2.c | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | // file2.c
#include "file1.h"
extern int globalInt2;
void file2Func()
{
globalInt2++;
}
| 8.363636 | 22 | 0.663043 |
9d202497240b4339198bf20d12f01efd1eddbb14 | 1,538 | c | C | workspace/uclibc-ng-master/libc/sysdeps/linux/common/lstat.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | workspace/uclibc-ng-master/libc/sysdeps/linux/common/lstat.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | workspace/uclibc-ng-master/libc/sysdeps/linux/common/lstat.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | /*
* lstat() for uClibc
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#include <unistd.h>
#include <sys/stat.h>
#if defined __NR_fstatat64 && !defined __NR_lstat
# include <fcntl.h>
int lst... | 23.30303 | 74 | 0.722367 |
9da1d8a2f4b4ddd738a103dbc2fd72163b8c7585 | 276 | h | C | SKBounceAnimation/OneAxisBounceController.h | barz/SKBounceAnimation | e6dda042977c252aa2a59b4ef261b6d7398d2611 | [
"MIT"
] | 272 | 2015-01-04T07:09:45.000Z | 2022-01-19T03:23:36.000Z | SKBounceAnimation/OneAxisBounceController.h | hzwzw/SKBounceAnimation | e6dda042977c252aa2a59b4ef261b6d7398d2611 | [
"MIT"
] | 3 | 2016-03-23T09:49:15.000Z | 2016-04-27T14:57:22.000Z | SKBounceAnimation/OneAxisBounceController.h | hzwzw/SKBounceAnimation | e6dda042977c252aa2a59b4ef261b6d7398d2611 | [
"MIT"
] | 52 | 2015-01-13T02:04:41.000Z | 2019-09-07T04:11:47.000Z | //
// OneAxisBounceController.h
// SKBounceAnimation
//
// Created by Soroush Khanlou on 8/15/12.
//
//
#import <UIKit/UIKit.h>
#import "SKBounceAnimation.h"
@interface OneAxisBounceController : UIViewController
@property (nonatomic, strong) UIView *bouncingView;
@end
| 16.235294 | 53 | 0.73913 |
777865306f1a66de80d8bdac522c6f886e85a543 | 4,046 | h | C | src/api/app_component.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | null | null | null | src/api/app_component.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | null | null | null | src/api/app_component.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | 1 | 2021-12-06T05:52:29.000Z | 2021-12-06T05:52:29.000Z | #ifndef TORREST_APP_COMPONENT_H
#define TORREST_APP_COMPONENT_H
#include "oatpp/parser/json/mapping/ObjectMapper.hpp"
#include "oatpp/web/server/HttpConnectionHandler.hpp"
#include "oatpp/network/tcp/server/ConnectionProvider.hpp"
#include "oatpp/core/macro/component.hpp"
#include "oatpp/web/server/interceptor/AllowCo... | 40.868687 | 115 | 0.699703 |
77d24bc2cff51b8eb52e3ba493b906867acf756a | 3,268 | h | C | mcp/src/find_files.h | mvidelgauz/ferret | 3da27b1020e23d9f01a36a410622cdbad7e46b70 | [
"MIT"
] | null | null | null | mcp/src/find_files.h | mvidelgauz/ferret | 3da27b1020e23d9f01a36a410622cdbad7e46b70 | [
"MIT"
] | null | null | null | mcp/src/find_files.h | mvidelgauz/ferret | 3da27b1020e23d9f01a36a410622cdbad7e46b70 | [
"MIT"
] | null | null | null | #ifndef FERRET_FIND_FILES_H_
#define FERRET_FIND_FILES_H_
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
#include <string>
#include <map>
#include <vector>
#include <set>
class File {
public:
File()
: removed(false)
{last_modification.tv_sec = ... | 24.757576 | 114 | 0.637699 |
cb9d47456931479453081078e89dc21eac5586e1 | 1,217 | h | C | Hazel/src/Hazel/Core/Yaml/YamlDocument.h | Adrien4193/Hazel | e77556d10adeddc16e0919a1c1cb57ef09b8560a | [
"Apache-2.0"
] | 1 | 2020-11-27T16:37:35.000Z | 2020-11-27T16:37:35.000Z | Hazel/src/Hazel/Core/Yaml/YamlDocument.h | Adrien4193/Hazel | e77556d10adeddc16e0919a1c1cb57ef09b8560a | [
"Apache-2.0"
] | 2 | 2020-11-28T13:34:29.000Z | 2021-01-25T14:41:34.000Z | Hazel/src/Hazel/Core/Yaml/YamlDocument.h | Adrien4193/Hazel | e77556d10adeddc16e0919a1c1cb57ef09b8560a | [
"Apache-2.0"
] | 2 | 2020-11-27T16:47:44.000Z | 2021-09-02T07:39:08.000Z | #pragma once
#include <string>
#include "yaml-cpp/yaml.h"
namespace Hazel
{
class YamlDocument
{
private:
YAML::Emitter emitter;
public:
const char *GetData() const
{
return emitter.c_str();
}
YamlDocument &Key()
{
emitter << YAML::Key;
return *this;
}
YamlDocument &Value()
{
emi... | 14.662651 | 65 | 0.62613 |
cbbb13dad87186b60137ebcf82133e93a4e3f781 | 1,985 | h | C | addons/ofxGuido/lib/guidolib-code/src/tools/DeviceExporter.h | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 18 | 2015-01-18T22:34:22.000Z | 2020-09-06T20:30:30.000Z | addons/ofxGuido/lib/guidolib-code/src/tools/DeviceExporter.h | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 2 | 2015-08-04T00:07:46.000Z | 2017-05-10T15:53:51.000Z | addons/ofxGuido/lib/guidolib-code/src/tools/DeviceExporter.h | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 10 | 2015-01-18T23:46:10.000Z | 2019-08-25T12:10:04.000Z | #ifndef __DeviceExporter__
#define __DeviceExporter__
/*
GUIDO Library
Copyright (C) 2007 Grame
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Grame Research L... | 26.466667 | 106 | 0.664484 |
c4ed2cd055403e8b703693c8f96b3ae480e14348 | 2,209 | h | C | vs2017/ui/mainwindow/tray/SystemTray.h | cheechang/cppcc | 0292e9a9b27e0579970c83b4f6a75dcdae1558bf | [
"MIT"
] | null | null | null | vs2017/ui/mainwindow/tray/SystemTray.h | cheechang/cppcc | 0292e9a9b27e0579970c83b4f6a75dcdae1558bf | [
"MIT"
] | null | null | null | vs2017/ui/mainwindow/tray/SystemTray.h | cheechang/cppcc | 0292e9a9b27e0579970c83b4f6a75dcdae1558bf | [
"MIT"
] | null | null | null | #pragma once
#include <QSystemTrayIcon>
#include "common/controlptr.h"
class QWidget;
class QMenu;
class QAction;
class QPushButton;
class QWidgetAction;
class QLabel;
namespace ui{
class SystemTray : public QSystemTrayIcon
{
Q_OBJECT
public:
enum TrayIconState
{
Online,
OffLine,
Unread,
None
};... | 24.544444 | 75 | 0.725668 |
3fa7b395b5ef71db24f3a79a2be300e9f0897a75 | 525 | h | C | iridium/files/patch-content_public_common_common__param__traits__macros.h | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | 1 | 2022-02-08T02:24:08.000Z | 2022-02-08T02:24:08.000Z | iridium/files/patch-content_public_common_common__param__traits__macros.h | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | null | null | null | iridium/files/patch-content_public_common_common__param__traits__macros.h | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | null | null | null | --- content/public/common/common_param_traits_macros.h.orig 2020-03-16 18:40:32 UTC
+++ content/public/common/common_param_traits_macros.h
@@ -326,7 +326,7 @@ IPC_STRUCT_TRAITS_BEGIN(blink::mojom::RendererPreferen
IPC_STRUCT_TRAITS_MEMBER(accept_languages)
IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_pag... | 43.75 | 83 | 0.819048 |
6a5f34cadf3e77dcb6d7ef87563b2225d86d916e | 6,755 | c | C | library/math_exp.c | mparnaudeau/clib2 | 5ddba436dac70eda06da2cdaf82c2e5699f7ee8a | [
"BSD-3-Clause"
] | 3 | 2021-10-30T07:49:39.000Z | 2022-03-13T18:04:11.000Z | library/math_exp.c | DStastny/clib2 | 38a19f9aff7a9a0615f749ffd83f1d875d1e2f83 | [
"BSD-3-Clause"
] | 2 | 2022-02-05T23:43:55.000Z | 2022-02-06T12:17:10.000Z | library/math_exp.c | DStastny/clib2 | 38a19f9aff7a9a0615f749ffd83f1d875d1e2f83 | [
"BSD-3-Clause"
] | 2 | 2021-08-20T13:57:50.000Z | 2022-02-05T22:03:29.000Z | /*
* $Id: math_exp.c,v 1.8 2006-09-22 09:02:51 obarthel Exp $
*
* :ts=4
*
* Portable ISO 'C' (1994) runtime library for the Amiga computer
* Copyright (c) 2002-2015 by Olaf Barthel <obarthel (at) gmx.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificat... | 26.699605 | 78 | 0.544338 |
8db03882c5934999a9d28be3ac072a92efbdcc47 | 434 | c | C | tests/executable/math/operators/logic=/regress_test.c | Ri7ay/RuC | 949487f4a336befb0e8b8760303c5c93ceabed83 | [
"Apache-2.0"
] | null | null | null | tests/executable/math/operators/logic=/regress_test.c | Ri7ay/RuC | 949487f4a336befb0e8b8760303c5c93ceabed83 | [
"Apache-2.0"
] | 1 | 2020-11-02T09:10:18.000Z | 2020-11-02T09:10:18.000Z | tests/executable/math/operators/logic=/regress_test.c | Ri7ay/RuC | 949487f4a336befb0e8b8760303c5c93ceabed83 | [
"Apache-2.0"
] | null | null | null | int main()
{
int a = 1, b = 0, c = 1, d = 0;
a &= b;
print ("a 0");
printid(a);
a |= c;
print ("a 1");
printid(a);
a |= c;
print ("a 1");
printid(a);
a ^= c;
print ("a 0");
printid(a);
a &= b;
print ("a 0");
printid(a);
c &= d;
print ("c 1");
print... | 11.421053 | 34 | 0.370968 |
5c166284fc7af452111850605416cb66c68ef8a3 | 2,148 | c | C | lib/ui.c | hanilr/bank-management-system | e838afebdc0bc54849bf46a0822df2d5dc703b66 | [
"MIT"
] | 5 | 2021-06-08T13:11:42.000Z | 2022-01-27T13:46:23.000Z | lib/ui.c | hanilr/bank-management-system | e838afebdc0bc54849bf46a0822df2d5dc703b66 | [
"MIT"
] | null | null | null | lib/ui.c | hanilr/bank-management-system | e838afebdc0bc54849bf46a0822df2d5dc703b66 | [
"MIT"
] | 3 | 2021-06-08T15:53:37.000Z | 2021-07-15T07:07:35.000Z | // USER INTERFACE HEADER SECTION (MAIN) //
#include <stdio.h>
#include <stdlib.h>
#include "sys/file.h"
#include "ui.h"
void clrscr(void)
{
#ifdef _WIN32
system("cls");
#endif
#ifdef __linux__
system("clear");
#endif
}
void new_line(void) { printf("\n"); }
void screen(int len_line, char *p... | 21.918367 | 74 | 0.499534 |
6dd5858d10af35cb5e2929d49e872401211c2730 | 510 | h | C | StuntCarRacer/Backdrop.h | theoneone/CH-SS16-Project | bfbf72bb46b1a25c49e4c72d21d489314df1f0a3 | [
"BSD-2-Clause"
] | 2 | 2016-06-17T09:56:35.000Z | 2016-06-27T02:47:58.000Z | StuntCarRacer/Backdrop.h | theoneone/CH-SS16-Project | bfbf72bb46b1a25c49e4c72d21d489314df1f0a3 | [
"BSD-2-Clause"
] | null | null | null | StuntCarRacer/Backdrop.h | theoneone/CH-SS16-Project | bfbf72bb46b1a25c49e4c72d21d489314df1f0a3 | [
"BSD-2-Clause"
] | null | null | null |
#ifndef _BACKDROP
#define _BACKDROP
/* ========= */
/* Constants */
/* ========= */
/* ===================== */
/* Structure definitions */
/* ===================== */
/* ============================== */
/* External function declarations */
/* ============================== */
extern void DrawBackdr... | 21.25 | 44 | 0.45098 |
a35d2633e551b3bce549b9bba48a6318d5ed9b11 | 2,381 | h | C | Gogaman/src/Gogaman/Rendering/FlexShader/Translator.h | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | null | null | null | Gogaman/src/Gogaman/Rendering/FlexShader/Translator.h | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | null | null | null | Gogaman/src/Gogaman/Rendering/FlexShader/Translator.h | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | 1 | 2020-05-02T19:25:44.000Z | 2020-05-02T19:25:44.000Z | #pragma once
#include "IntermediateRepresentation.h"
#include "Visitor.h"
namespace Gogaman
{
namespace FlexShader
{
class Translator
{
public:
Translator()
: m_VariableCount(0), m_FunctionCount(0)
{
m_SymbolTables.emplace_back();
}
~Translator() = default;
inline IR::Address VisitAb... | 40.355932 | 164 | 0.731205 |
3552a9b63c1049ba6643e7d3aeac3271af9917bf | 2,385 | h | C | src/cpp-ethereum/libp2p/Capability.h | nccproject/ncc | 068ccc82a73d28136546095261ad8ccef7e541a3 | [
"MIT"
] | 42 | 2021-01-04T01:59:21.000Z | 2021-05-14T14:35:04.000Z | src/cpp-ethereum/libp2p/Capability.h | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | 2 | 2021-01-04T02:08:47.000Z | 2021-01-04T02:36:08.000Z | src/cpp-ethereum/libp2p/Capability.h | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | 15 | 2021-01-04T02:00:21.000Z | 2021-01-06T02:06:43.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 ... | 37.265625 | 98 | 0.724948 |
89187232e21b3dc8ffb15f3a3766f50abdaf6a43 | 12,774 | h | C | src/third_party/mozjs/include/mozilla/ResultExtensions.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/include/mozilla/ResultExtensions.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/include/mozilla/ResultExtensions.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: set ts=8 sts=2 et sw=2 tw=80:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 37.460411 | 80 | 0.660795 |
a6e2784cef759453614d1e185739ec02098e2cc1 | 1,403 | h | C | GoogleWifi Headers/MDCShapedShadowLayer.h | LemaMichael/BetterGoogleWifi | b02a0adc35d80f1fa9443874d12de483c3d63c06 | [
"MIT"
] | 1 | 2022-01-25T13:08:30.000Z | 2022-01-25T13:08:30.000Z | GoogleWifi Headers/MDCShapedShadowLayer.h | LemaMichael/BetterGoogleWifi | b02a0adc35d80f1fa9443874d12de483c3d63c06 | [
"MIT"
] | null | null | null | GoogleWifi Headers/MDCShapedShadowLayer.h | LemaMichael/BetterGoogleWifi | b02a0adc35d80f1fa9443874d12de483c3d63c06 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MDCShadowLayer.h"
@class CAShapeLayer, UIColor;
@protocol MDCShapeGenerating;
@interface MDCShapedShadowLayer : MDCShadowLay... | 35.974359 | 121 | 0.773343 |
e6a1d198daa152f3b4b02a208740cd1f4ea89681 | 509 | h | C | src/options.h | dss-bridge/newdss | 5698e1bd7314bf910472f8e25fc2dac710543236 | [
"Apache-2.0"
] | null | null | null | src/options.h | dss-bridge/newdss | 5698e1bd7314bf910472f8e25fc2dac710543236 | [
"Apache-2.0"
] | null | null | null | src/options.h | dss-bridge/newdss | 5698e1bd7314bf910472f8e25fc2dac710543236 | [
"Apache-2.0"
] | null | null | null | /*
SDS, a bridge single-suit double-dummy quick-trick solver.
Copyright (C) 2015-16 by Soren Hein.
See LICENSE and README.
*/
#ifndef SDS_ARGS_H
#define SDS_ARGS_H
struct OptionsType
{
unsigned numCores;
bool combSet;
unsigned suitLength;
unsigned counter;
bool tablesOnly;
unsigned histCompare... | 13.394737 | 61 | 0.695481 |
901c42f71b5a1483a1df66df2704ad031ad66137 | 4,171 | h | C | linux-4.14.90-dev/linux-4.14.90/drivers/macintosh/windfarm.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | linux-4.14.90-dev/linux-4.14.90/drivers/macintosh/windfarm.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 5 | 2020-04-04T09:24:09.000Z | 2020-04-19T12:33:55.000Z | linux-4.14.90-dev/linux-4.14.90/drivers/macintosh/windfarm.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* Windfarm PowerMac thermal control.
*
* (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* Released under the term of the GNU GPL v2.
*/
#ifndef __WINDFARM_H__
#define __WINDFARM_H__
#include <linux/kref.h>
#include <linux/list.h>
#include <linux/module... | 26.398734 | 81 | 0.728842 |
fcaef7568dd6bd3bb611a5f3e80308d3d63a4bfa | 1,210 | h | C | Chapter07/sim/test/node/SmingCore/wiring/SplitString.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/node/SmingCore/wiring/SplitString.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/node/SmingCore/wiring/SplitString.h | PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17 | a9e11ab66bbe1e022c3c620b58e8599305dfaa64 | [
"MIT"
] | 16 | 2019-03-08T15:27:01.000Z | 2021-12-27T08:45:32.000Z | /* $Id: SplitString.h 1156 2011-06-07 04:01:16Z bhagman $
||
|| @author Hernando Barragan <b@wiring.org.co>
|| @url http://wiring.org.co/
|| @contribution Brett Hagman <bhagman@wiring.org.co>
|| @contribution Alexander Brevig <abrevig@wiring.org.co>
||
|| @license Please see cores/Common/License.... | 31.025641 | 75 | 0.673554 |
502de3998af1944bdf26d8221fa14027024edaf7 | 4,712 | h | C | gadgets/mri_core/generic_recon_gadgets/GenericReconCartesianSpiritGadget.h | roopchansinghv/gadgetron | fb6c56b643911152c27834a754a7b6ee2dd912da | [
"MIT"
] | 1 | 2022-02-22T21:06:36.000Z | 2022-02-22T21:06:36.000Z | gadgets/mri_core/generic_recon_gadgets/GenericReconCartesianSpiritGadget.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | gadgets/mri_core/generic_recon_gadgets/GenericReconCartesianSpiritGadget.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | /** \file GenericReconCartesianSpiritGadget.h
\brief This is the class gadget for both 2DT and 3DT cartesian Spirit reconstruction, working on the IsmrmrdReconData.
\author Hui Xue
*/
#pragma once
#include "GenericReconGadget.h"
namespace Gadgetron {
/// define the recon status
template <typename... | 40.273504 | 169 | 0.59062 |
fd87399aedda525e5f74bfe7598fdcdf5d046239 | 562 | h | C | src/player.h | crithead/cppunit | e6bb164e9fda4569dd4754db94e119c972995a1a | [
"MIT"
] | 1 | 2020-07-31T20:47:32.000Z | 2020-07-31T20:47:32.000Z | src/player.h | crithead/cppunit | e6bb164e9fda4569dd4754db94e119c972995a1a | [
"MIT"
] | null | null | null | src/player.h | crithead/cppunit | e6bb164e9fda4569dd4754db94e119c972995a1a | [
"MIT"
] | null | null | null | #ifndef CPPUNIT_EXAMPLE_PLAYER_H
#define CPPUNIT_EXAMPLE_PLAYER_H
class Player
{
public:
static const int BASE_HEALTH = 20;
static const int HEALTH_PER_LEVEL = 10;
static const int HEALTH_PER_STRENGTH = 5;
Player( const char *name );
Player( const Player & );
~Player();
const char *Name() const;
int Strength... | 16.057143 | 42 | 0.720641 |
1f7b97fd64ce0758620e8aae8e34bb1b0a64035f | 477 | h | C | usr/libexec/locationd/CLCertificatePinningHelper.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | usr/libexec/locationd/CLCertificatePinningHelper.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | usr/libexec/locationd/CLCertificatePinningHelper.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@interface CLCertificatePinningHelper : NSObject
{
}
+ (int)URLSession:(id)arg1 didReceiveChallenge:(id)arg2 completion... | 25.105263 | 125 | 0.740042 |
97b78a9050f51927154c8f3a6cc69f0e0f8ecfef | 9,715 | h | C | src/lib/SceMi/bsvxactors/InportProxyT.h | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2022-02-11T01:52:42.000Z | 2022-02-11T01:52:42.000Z | src/lib/SceMi/bsvxactors/InportProxyT.h | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | src/lib/SceMi/bsvxactors/InportProxyT.h | GaloisInc/BESSPIN-BSC | 21a0a8cba9e643ef5afcb87eac164cc33ea83e94 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | //-*- C++ -*-x
// Copyright (c) 2009-2013, Bluespec, Inc. ALL RIGHTS RESERVED
#pragma once
// SceMi C++ model for a SceMi inport proxy template class
#include <string>
#include <stdexcept>
#include <pthread.h>
#include <time.h>
#include <errno.h>
#include <sstream>
#include <iostream>
#include "scemi.h"
#ifdef __A... | 28.241279 | 111 | 0.658878 |
e364edf71e20cadae42926d31f97e40ce020876a | 2,116 | h | C | BananaCore/FileNameCollection.h | kusharami/bananaqt | 79327ecddc769e4df0ebe8109c30c5ae74a31a12 | [
"MIT"
] | null | null | null | BananaCore/FileNameCollection.h | kusharami/bananaqt | 79327ecddc769e4df0ebe8109c30c5ae74a31a12 | [
"MIT"
] | null | null | null | BananaCore/FileNameCollection.h | kusharami/bananaqt | 79327ecddc769e4df0ebe8109c30c5ae74a31a12 | [
"MIT"
] | null | null | null | /*******************************************************************************
Banana Qt Libraries
Copyright (c) 2016 Alexandra Cherdantseva
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 with... | 28.986301 | 80 | 0.729206 |
5423b15462a58ed3997fbfc52e9b605568783747 | 375 | h | C | app/psa_api_test.h | michaelthomasj/trusted-firmware-m | d5b15fc8814d5703fe46f76afa208a01ef43729d | [
"BSD-3-Clause"
] | 6 | 2019-02-20T06:14:28.000Z | 2020-03-23T06:52:09.000Z | app/psa_api_test.h | michaelthomasj/trusted-firmware-m | d5b15fc8814d5703fe46f76afa208a01ef43729d | [
"BSD-3-Clause"
] | 38 | 2020-04-03T12:38:53.000Z | 2020-10-01T13:37:04.000Z | app/psa_api_test.h | michaelthomasj/trusted-firmware-m | d5b15fc8814d5703fe46f76afa208a01ef43729d | [
"BSD-3-Clause"
] | 8 | 2020-06-15T12:15:15.000Z | 2021-07-13T09:12:10.000Z | /*
* Copyright (c) 2019, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef __PSA_API_TEST_H__
#define __PSA_API_TEST_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* \brief Main test application for the PSA API compliance tests
*
*/
void psa_api_test(void *arg);
#ifdef... | 14.423077 | 64 | 0.709333 |
e181e0b20f201a4dfc99160dea747abdd663eee6 | 2,768 | c | C | VM/linked_list/parsing_champ_load_champ.c | KASOGIT/corewar | 7468631b57c5f750896a16574f626e0821953ab5 | [
"MIT"
] | null | null | null | VM/linked_list/parsing_champ_load_champ.c | KASOGIT/corewar | 7468631b57c5f750896a16574f626e0821953ab5 | [
"MIT"
] | null | null | null | VM/linked_list/parsing_champ_load_champ.c | KASOGIT/corewar | 7468631b57c5f750896a16574f626e0821953ab5 | [
"MIT"
] | null | null | null | /*
** parsing_champ_load_champ.c for in /home/soto_a/rendu/Corewar/linked_list
**
** Made by KASO soto
** Login <soto_a@epitech.net>
**
** Started on Sat Mar 28 22:10:55 2015 KASO soto
** Last update Sun Apr 12 15:13:32 2015 KASO soto
*/
#include "vm.h"
void check_arg_and_set_value(char **av, t_parsing_arg *par... | 26.873786 | 76 | 0.634754 |
1047f7e99d34da33e4cdf502b4f6f89851a1d635 | 81,474 | c | C | bsp/hc32f4a0/Libraries/HC32F4A0_StdPeriph_Driver/src/hc32f4a0_nfc.c | 849679859/rt-thread | a73ae28109c5665739e2728080d20d6863bbc7be | [
"Apache-2.0"
] | 7,482 | 2015-01-01T09:23:08.000Z | 2022-03-31T19:34:05.000Z | bsp/hc32f4a0/Libraries/HC32F4A0_StdPeriph_Driver/src/hc32f4a0_nfc.c | 849679859/rt-thread | a73ae28109c5665739e2728080d20d6863bbc7be | [
"Apache-2.0"
] | 2,543 | 2015-01-09T02:01:34.000Z | 2022-03-31T23:10:14.000Z | bsp/hc32f4a0/Libraries/HC32F4A0_StdPeriph_Driver/src/hc32f4a0_nfc.c | 849679859/rt-thread | a73ae28109c5665739e2728080d20d6863bbc7be | [
"Apache-2.0"
] | 4,645 | 2015-01-06T07:05:31.000Z | 2022-03-31T18:21:50.000Z | /**
*******************************************************************************
* @file hc32f4a0_nfc.c
* @brief This file provides firmware functions to manage the EXMC NFC
* (External Memory Controller: NAND Flash Controller) driver library.
@verbatim
Change Logs:
Date Author ... | 41.169277 | 165 | 0.570722 |
dc7c0b79de763f55f0fd9c4a17414d07166dd783 | 3,564 | h | C | Spotlight/src/Platform/OpenGL/OpenGLShader.h | JustARegularPlayer/SpotlightEngine | 248b1fd75a518ea5506a0929402afe9c8addd2dd | [
"MIT"
] | null | null | null | Spotlight/src/Platform/OpenGL/OpenGLShader.h | JustARegularPlayer/SpotlightEngine | 248b1fd75a518ea5506a0929402afe9c8addd2dd | [
"MIT"
] | null | null | null | Spotlight/src/Platform/OpenGL/OpenGLShader.h | JustARegularPlayer/SpotlightEngine | 248b1fd75a518ea5506a0929402afe9c8addd2dd | [
"MIT"
] | null | null | null | #pragma once
#include "Spotlight/Renderer/Shader.h"
#include <glm/glm.hpp>
typedef unsigned int GLenum;
namespace Spotlight
{
struct ShaderSources
{
std::string VertexSrc;
std::string FragSrc;
};
class OpenGLShader : public Shader
{
public:
OpenGLShader(const std::string& filepath);
OpenGLShader(cons... | 47.52 | 96 | 0.755612 |
48ae151d4ae67eca277b989013ccd50a9972c9d9 | 376 | h | C | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/NSBundle+AerisCore.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/NSBundle+AerisCore.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | lib/AerisCore.xcframework/tvos-arm64_x86_64-simulator/AerisCore.framework/Headers/NSBundle+AerisCore.h | aerisweather/aerisweather-ios | a1d6dcb02b0f4a26edfa1829f4161f21ddc5e5e0 | [
"BSD-3-Clause"
] | null | null | null | //
// NSBundle+AerisCore.h
// AerisCore
//
// Created by Nicholas Shipes on 11/24/15.
// Copyright © 2015 AerisWeather. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSBundle (AerisCore)
- (NSString *)awf_appVersion;
- (NSString *)awf_appBuild;
- (NSString *)awf_appIdentifier;
+ (NSBundle... | 17.904762 | 55 | 0.712766 |
71753ca2c5a71077283044a3226fac6ee1af7f9f | 18,576 | h | C | Examples/include/Aspose.Pdf.Cpp/License.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/Aspose.Pdf.Cpp/License.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/Aspose.Pdf.Cpp/License.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | #pragma once
// Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved.
// RK: When EMBEDDED is defined, the licensing code is not included in the component.
// This results in a built that can be embedded in another Aspose component.
// When a component is embedded in another Aspose component, they must be
// o... | 32.93617 | 172 | 0.665213 |
bc63f26a42deeeb7ec37ed33e636d731e3fe65de | 556 | c | C | Sem1/C/Week 6/sinx.c | nsudhanva/mca-code | 812348ce53edbe0f42f85a9c362bfc8aad64e1e7 | [
"MIT"
] | null | null | null | Sem1/C/Week 6/sinx.c | nsudhanva/mca-code | 812348ce53edbe0f42f85a9c362bfc8aad64e1e7 | [
"MIT"
] | null | null | null | Sem1/C/Week 6/sinx.c | nsudhanva/mca-code | 812348ce53edbe0f42f85a9c362bfc8aad64e1e7 | [
"MIT"
] | 2 | 2018-10-12T06:38:14.000Z | 2019-01-30T04:38:03.000Z | #include <stdio.h>
#include <math.h>
int main()
{
float n, temp;
printf("Enter your degree: \n");
scanf("%f", &n);
temp = n;
float accuracy = 0.0001, deno, sinx, fsin;
// Converting degrees to radian
n = n * (3.142 / 180.0);
float x1 = n;
sinx = n;
fsin = sin(n);
int i =... | 17.935484 | 46 | 0.456835 |
2135d6c031f850610229c8808be54e79e4c4b6d4 | 959 | h | C | Datac/HiLowSignalProcessor.h | bradhowes/datac-data-acquisition | c42010552f525c382de810c09aba03954a8ea5ae | [
"BSD-3-Clause"
] | null | null | null | Datac/HiLowSignalProcessor.h | bradhowes/datac-data-acquisition | c42010552f525c382de810c09aba03954a8ea5ae | [
"BSD-3-Clause"
] | null | null | null | Datac/HiLowSignalProcessor.h | bradhowes/datac-data-acquisition | c42010552f525c382de810c09aba03954a8ea5ae | [
"BSD-3-Clause"
] | null | null | null | // -*- Mode: ObjC -*-
//
// Copyright (C) 2011, Brad Howes. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SignalProcessorProtocol.h"
#import "BitFrameDecoderOBserver.h"
@class BitDetector;
@class BitFrameDecoder;
@class BitStreamFrameDetector;
@class HiLowSignalProcessorController;
@interface Hi... | 27.4 | 94 | 0.790407 |
2178a3b7fcdceaf69fa96f2789b4c41fc0699856 | 92,651 | c | C | drivers/mfd/wcd9xxx-core.c | CaelestisZ/IrisCore | 6f0397e43335434ee58e418c9d1528833c57aea2 | [
"MIT"
] | 1 | 2020-06-28T00:49:21.000Z | 2020-06-28T00:49:21.000Z | drivers/mfd/wcd9xxx-core.c | CaelestisZ/AetherAura | 1b30acb7e6921042722bc4aff160dc63a975abc2 | [
"MIT"
] | null | null | null | drivers/mfd/wcd9xxx-core.c | CaelestisZ/AetherAura | 1b30acb7e6921042722bc4aff160dc63a975abc2 | [
"MIT"
] | 4 | 2020-05-26T12:40:11.000Z | 2021-07-15T06:46:33.000Z | /* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | 26.600919 | 82 | 0.705616 |
55109eb3c36a2161059251d21d4201dd19460baa | 5,824 | h | C | ds/security/cryptoapi/pkitrust/softpub/locals.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/cryptoapi/pkitrust/softpub/locals.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/cryptoapi/pkitrust/softpub/locals.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: locals.h
//
// Contents: Microsoft Internet Security Policy Provider
//
//
// History: 05-Jun-1997 pberkman created
//
//... | 32.536313 | 116 | 0.63101 |
abb94f56d43896b7ad1d9e78ff2eb15add878a5e | 7,282 | c | C | src/blockfactory.c | bakpakin/ldoomc | 4a4d9871ddfc3d3b3e14b85dfb9150f15af4e1d7 | [
"MIT"
] | 1 | 2018-02-16T18:41:49.000Z | 2018-02-16T18:41:49.000Z | src/blockfactory.c | bakpakin/ldoomc | 4a4d9871ddfc3d3b3e14b85dfb9150f15af4e1d7 | [
"MIT"
] | null | null | null | src/blockfactory.c | bakpakin/ldoomc | 4a4d9871ddfc3d3b3e14b85dfb9150f15af4e1d7 | [
"MIT"
] | null | null | null | #include "blockfactory.h"
#include <stdlib.h>
#include <string.h>
#include <limits.h>
// Float array sections (Total 14N)
// 0..2N - Base points (N sides, 2 floats per coord)
// 2N..4N - Top uv coords (N verts on top, 2 floats perr uv coord.)
// 4N..6N - Bottom uv coords
// 6N..10N - Side UV coords (N sides, u... | 31.52381 | 100 | 0.543807 |
ab4e898f67baf8bd2a57aee25211cd7138bd8e9a | 178 | h | C | include/gldebug.h | jeffmd/RPIGears | 2b9da5a751d907b4ca96f52b64f8b9023089b708 | [
"RSA-MD"
] | 1 | 2019-05-03T05:17:46.000Z | 2019-05-03T05:17:46.000Z | include/gldebug.h | jeffmd/RPIGears | 2b9da5a751d907b4ca96f52b64f8b9023089b708 | [
"RSA-MD"
] | null | null | null | include/gldebug.h | jeffmd/RPIGears | 2b9da5a751d907b4ca96f52b64f8b9023089b708 | [
"RSA-MD"
] | null | null | null | // gldebug.h
#ifndef _GLDEBUG_H_
#define _GLDEBUG_H_
int egl_chk(int result);
const char *get_FramebufferStatus_msg(GLenum error);
void check_gl_error(const char *msg);
#endif
| 17.8 | 52 | 0.792135 |
22ccf40a290b643e0378c101397e285cfe1e7813 | 1,541 | h | C | rapid_generator/include/rapid_generator/rapid_postprocessor.h | gavanderhoorn/abb_file_suite | 333a0d76ef229b09e9a6b36b5243ba6fa00bf5df | [
"Apache-2.0"
] | 4 | 2016-06-10T21:59:01.000Z | 2020-07-15T13:37:23.000Z | rapid_generator/include/rapid_generator/rapid_postprocessor.h | gavanderhoorn/abb_file_suite | 333a0d76ef229b09e9a6b36b5243ba6fa00bf5df | [
"Apache-2.0"
] | null | null | null | rapid_generator/include/rapid_generator/rapid_postprocessor.h | gavanderhoorn/abb_file_suite | 333a0d76ef229b09e9a6b36b5243ba6fa00bf5df | [
"Apache-2.0"
] | 5 | 2016-12-18T19:55:41.000Z | 2019-02-26T08:38:11.000Z | #ifndef RAPID_POSTPROCESSOR_H
#define RAPID_POSTPROCESSOR_H
#include <vector>
#include <string>
#include <memory>
#include <sstream>
namespace rapid_generator
{
class ProgramInterface
{
public:
std::ostringstream constants;
std::ostringstream body;
std::size_t nextIndex() { return idx++; }
private:
std::si... | 16.75 | 71 | 0.728099 |
06ad49c30c72a03fe44df5401317789d5c13b59b | 807 | h | C | include/Solver/LineSearch/LineSearch.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/Solver/LineSearch/LineSearch.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/Solver/LineSearch/LineSearch.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | // LineSearch.h: interface for the LineSearch class.
// Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC
// All rights reserved
// see file License.txt for license details
//////////////////////////////////////////////////////////////////////
#if !defined(SOLVER_LINESEARCH_INCLUDED_)
#de... | 20.692308 | 77 | 0.633209 |
e8afee351a08cda164b67db0ed27f2189557c73f | 2,275 | c | C | examples_demo/demo_led.c | mfkiwl/EasyGUI | aaa4503001e06dff7ffca8d9887436284f983b2d | [
"MIT"
] | 139 | 2017-04-25T06:26:15.000Z | 2022-03-22T21:09:32.000Z | examples_demo/demo_led.c | mfkiwl/EasyGUI | aaa4503001e06dff7ffca8d9887436284f983b2d | [
"MIT"
] | 1 | 2020-12-19T12:43:24.000Z | 2020-12-19T12:43:24.000Z | examples_demo/demo_led.c | mfkiwl/EasyGUI | aaa4503001e06dff7ffca8d9887436284f983b2d | [
"MIT"
] | 61 | 2017-04-25T04:01:00.000Z | 2022-02-26T08:33:44.000Z | #include "demo.h"
static uint8_t led_callback(gui_handle_p h, gui_widget_evt_t evt, gui_evt_param_t* const param, gui_evt_result_t* const result);
/**
* \brief Create and open feature widget
* \param[in] parent: Parent widget for new widgets
*/
void
demo_create_feature_led(gui_handle_p parent, uin... | 36.111111 | 129 | 0.725275 |
b2f7639b92ebda84bba1daa5ba9878d58a03bc91 | 507 | h | C | application/src/WindowContext.h | ChaosPaladin/l2mapconv-public | 3d2c8074b0e6a9541dfdc55360bc7958f628cc39 | [
"MIT"
] | 42 | 2020-10-31T12:44:52.000Z | 2022-03-06T08:27:24.000Z | application/src/WindowContext.h | ChaosPaladin/l2mapconv-public | 3d2c8074b0e6a9541dfdc55360bc7958f628cc39 | [
"MIT"
] | 10 | 2020-11-19T00:06:24.000Z | 2021-12-20T18:54:47.000Z | application/src/WindowContext.h | ChaosPaladin/l2mapconv-public | 3d2c8074b0e6a9541dfdc55360bc7958f628cc39 | [
"MIT"
] | 28 | 2020-09-21T12:59:13.000Z | 2022-03-12T04:53:37.000Z | #pragma once
#include <GLFW/glfw3.h>
struct WindowContext {
struct {
struct Size {
int width;
int height;
} size;
} framebuffer;
struct Window {
struct {
int width;
int height;
} size;
} window;
struct Mouse {
struct {
double x;
double y;
float... | 12.675 | 28 | 0.536489 |
b00af918f92b14c0aa27ead93c7ba84443aff8b6 | 1,788 | c | C | Exercise/63/7/demo.c | sunhuiquan/tlpi-learn | a4674ce2fd21f29f09e6471b12070cdc5eec2f91 | [
"MIT"
] | 49 | 2021-07-29T14:26:51.000Z | 2022-03-27T10:08:06.000Z | Exercise/63/7/demo.c | sunhuiquan/TLPI_learn_note | a4674ce2fd21f29f09e6471b12070cdc5eec2f91 | [
"MIT"
] | 1 | 2021-09-02T07:56:43.000Z | 2021-09-04T09:45:05.000Z | Exercise/63/7/demo.c | sunhuiquan/TLPI_learn_note | a4674ce2fd21f29f09e6471b12070cdc5eec2f91 | [
"MIT"
] | 4 | 2021-10-03T18:08:48.000Z | 2022-03-22T14:58:38.000Z | #include <sys/epoll.h>
#include <tlpi_hdr.h>
#define MAXPIPE 32
#define MAX_EVENTS 2 // 用这个小的来体现
int main(int argc, char *argv[])
{
int arr_pfd[MAXPIPE][2];
int efd, num, ready;
pid_t pid;
struct epoll_event ev;
struct epoll_event evlist[MAX_EVENTS];
if (argc != 2)
{
printf("%s usage: [pipe-num]\n", argv[0]... | 19.866667 | 75 | 0.568792 |
0f5e5ef674ab9acc4677baab9c43d516b76f10c9 | 227 | h | C | asyncprocessing-boost_steady-timer/Inner.h | ctarrington/try-c | a823a0494fcde95933b62e301537f0f7e96c8ea8 | [
"MIT"
] | null | null | null | asyncprocessing-boost_steady-timer/Inner.h | ctarrington/try-c | a823a0494fcde95933b62e301537f0f7e96c8ea8 | [
"MIT"
] | null | null | null | asyncprocessing-boost_steady-timer/Inner.h | ctarrington/try-c | a823a0494fcde95933b62e301537f0f7e96c8ea8 | [
"MIT"
] | 1 | 2020-10-01T12:40:58.000Z | 2020-10-01T12:40:58.000Z | //
// Created by CT Arrington on 2020-04-08.
//
#ifndef ASYNCPROCESSING_INNER_H
#define ASYNCPROCESSING_INNER_H
class Inner {
static int counter;
public:
int index;
Inner();
};
#endif //ASYNCPROCESSING_INNER_H
| 12.611111 | 41 | 0.709251 |
d79845d2b30c4059f8f3451824a66a9e489d881f | 894 | h | C | kernel/includes/arch/x86.h | Lionel07/elementOS | d8e2e51351df77ded2b5679787658b255a349248 | [
"MIT"
] | 1 | 2016-03-20T20:04:54.000Z | 2016-03-20T20:04:54.000Z | kernel/includes/arch/x86.h | Lionel07/elementOS | d8e2e51351df77ded2b5679787658b255a349248 | [
"MIT"
] | null | null | null | kernel/includes/arch/x86.h | Lionel07/elementOS | d8e2e51351df77ded2b5679787658b255a349248 | [
"MIT"
] | null | null | null | #ifndef X86_HEADER
#define X86_HEADER
///Initialises the GDT
int gdt_install();
///Initialises the IDT
int idt_install();
///Initialises and loads the ISR's
int isrs_install();
///Initialises the IRQ's
int irq_install();
///Sets up the keyboard
void kb_install();
void setupPaging();
///Datatype to represent all x86 reg... | 31.928571 | 98 | 0.717002 |
ba9a52b42b33150ef1867a9243aa69a241f7bac7 | 799 | h | C | include/priohttp/arg.h | littlemole/prio-http | 15b38944982aee4248a93d12f7484ed6d22b0478 | [
"MIT"
] | null | null | null | include/priohttp/arg.h | littlemole/prio-http | 15b38944982aee4248a93d12f7484ed6d22b0478 | [
"MIT"
] | null | null | null | include/priohttp/arg.h | littlemole/prio-http | 15b38944982aee4248a93d12f7484ed6d22b0478 | [
"MIT"
] | null | null | null | #ifndef _MOL_DEF_GUARD_DEFINE_MOD_HTTP_REQUEST_ARG_DEF_GUARD_
#define _MOL_DEF_GUARD_DEFINE_MOD_HTTP_REQUEST_ARG_DEF_GUARD_
#include "priohttp/common.h"
//! \file arg.h
namespace prio {
typedef std::pair<std::string,std::string> pathargument_t;
typedef std::vector<pathargument_t> patharguments_t;
/**
* \brief ... | 19.975 | 61 | 0.717146 |
bf840a6162d7986ae7b9c45aa26024585ea59d36 | 569 | c | C | arrays and matrices/matrix-diagonal.c | birhann/data-structures-and-algorithms | fa318759b5cb3f78463108997922a15801ebfe5d | [
"MIT"
] | 3 | 2020-12-16T08:10:26.000Z | 2021-07-25T19:50:13.000Z | arrays and matrices/matrix-diagonal.c | birhann/data-structures-and-algorithms | fa318759b5cb3f78463108997922a15801ebfe5d | [
"MIT"
] | null | null | null | arrays and matrices/matrix-diagonal.c | birhann/data-structures-and-algorithms | fa318759b5cb3f78463108997922a15801ebfe5d | [
"MIT"
] | 1 | 2020-12-17T11:36:41.000Z | 2020-12-17T11:36:41.000Z | #include <stdio.h>
void main()
{
int N = 4, i, j;
int A[4][4] = {{1, 2, 3, 4},
{5, 6, 7, 8},
{9, 10, 11, 12},
{13, 14, 15, 16}};
for (i = 0; i < N; i++)
{
A[i][i] = 1;
for (j = 0; j < N; j++)
{
if (i != j)
... | 18.966667 | 37 | 0.214411 |
d56b570443cd16ce1c542ff6612bcd3e5bfc32a0 | 670 | c | C | code/311.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | code/311.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | code/311.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | #include<stdio.h>
int min(int,int);
int max(int,int);
int main()
{
int n,k,l,r,i,j,k1[100],k2[100],h=0,h1=0,h2,h3=0,h4=0;
int a[10000],s;
scanf("%d %d",&n,&k);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
for(i=0;i<k;i++)
{ h1=0;
h=0;
h2=1;
scanf("%d %d",&k1[i],&k2[i]);
for(j=k1[i];j<=k2[i];j+... | 11.964286 | 55 | 0.447761 |
68ff3e134a6fb973064e4c8452a5a18646a11499 | 986 | h | C | NanoMouse/CommonUtils.h | kaylarose/NanoMouse | a9f88251b5ca4170796f439fa662b995f8c5ac1a | [
"MIT"
] | null | null | null | NanoMouse/CommonUtils.h | kaylarose/NanoMouse | a9f88251b5ca4170796f439fa662b995f8c5ac1a | [
"MIT"
] | null | null | null | NanoMouse/CommonUtils.h | kaylarose/NanoMouse | a9f88251b5ca4170796f439fa662b995f8c5ac1a | [
"MIT"
] | null | null | null | #include <Arduino.h>
#define DEBUG 1
#ifdef DEBUG
#define DPRINT(...) Serial.print(__VA_ARGS__);
#define DPRINTLN(...) Serial.println(__VA_ARGS__);
#else
#define DPRINT(...)
#define DPRINTLN(...)
#endif
class CommonUtils
{
public:
void blinkTest() {
DPRINTLN("Blink Board...");
// Test C... | 19.333333 | 67 | 0.587221 |
d5a5019dbf1940de0e8280c03ee83236a1d19e35 | 2,451 | h | C | pigasus/software/src/service_inspectors/dce_rpc/dce_udp_module.h | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/src/service_inspectors/dce_rpc/dce_udp_module.h | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/src/service_inspectors/dce_rpc/dce_udp_module.h | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------
// Copyright (C) 2016-2018 Cisco and/or its affiliates. All rights reserved.
//
// 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 Fr... | 32.25 | 94 | 0.709506 |
5f6be0b801d4a72f657fb5bb53691bd78eaa9e3a | 2,077 | h | C | config.h | chrisbloecker/cuda-nmf | c0dda7b01e5b4e3cd5ab50c31727c1df7a26af84 | [
"BSD-3-Clause"
] | null | null | null | config.h | chrisbloecker/cuda-nmf | c0dda7b01e5b4e3cd5ab50c31727c1df7a26af84 | [
"BSD-3-Clause"
] | null | null | null | config.h | chrisbloecker/cuda-nmf | c0dda7b01e5b4e3cd5ab50c31727c1df7a26af84 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __CONFIG_H__
#define __CONFIG_H__
// -----------------------------------------------------------------------------
#include "nmf.h"
// -----------------------------------------------------------------------------
#define DEFAULT_COMPONENTS (30)
#define DEFAULT_ITERATIONS (100000)
#define DEFAULT_SEED (42)... | 25.329268 | 80 | 0.583534 |
7dd5f770194a98bdc7957d5ae66d43bd1094c2a5 | 101,307 | h | C | 02-dependency/lib/RPC/Task.pb.h | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | 5 | 2022-03-08T06:32:13.000Z | 2022-03-28T02:02:44.000Z | 02-dependency/lib/RPC/Task.pb.h | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | null | null | null | 02-dependency/lib/RPC/Task.pb.h | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | 2 | 2022-03-08T06:32:16.000Z | 2022-03-27T17:54:03.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Task.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_Task_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_Task_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3018000
#error This file was generated by a ... | 38.113995 | 242 | 0.747007 |
70098b1e95b908aff1d3c2ae6119da2254845134 | 13,002 | h | C | data/headers/sunvox.h | ajhager/vox | 2ccc308efac8988744e595f759464c2bbcb92904 | [
"BSD-2-Clause"
] | 5 | 2015-08-03T19:40:28.000Z | 2019-04-03T09:30:30.000Z | data/headers/sunvox.h | ajhager/vox | 2ccc308efac8988744e595f759464c2bbcb92904 | [
"BSD-2-Clause"
] | null | null | null | data/headers/sunvox.h | ajhager/vox | 2ccc308efac8988744e595f759464c2bbcb92904 | [
"BSD-2-Clause"
] | null | null | null | #ifndef __SUNVOX_H__
#define __SUNVOX_H__
#define NOTECMD_NOTE_OFF 128
#define NOTECMD_ALL_NOTES_OFF 129 /* notes of all synths off */
#define NOTECMD_CLEAN_SYNTHS 130 /* stop and clean all synths */
#define NOTECMD_STOP 131
#define NOTECMD_PLAY 132
//sv_send_event() parameters:
// slot;
// channel_num: from 0 to... | 45.461538 | 132 | 0.761037 |
704ad443721fdbff1a30fb35995ae6df06b06230 | 1,470 | h | C | ATM/view/widget.h | kirill26031/ATM | e59b57491abb8ceaa74a57af68410813656322c7 | [
"MIT"
] | null | null | null | ATM/view/widget.h | kirill26031/ATM | e59b57491abb8ceaa74a57af68410813656322c7 | [
"MIT"
] | 1 | 2021-11-03T19:26:30.000Z | 2021-11-03T19:26:30.000Z | ATM/view/widget.h | kirill26031/ATM | e59b57491abb8ceaa74a57af68410813656322c7 | [
"MIT"
] | null | null | null | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QListWidgetItem>
#include <model/cardentity.h>
#include "service/automatictransactionservice.h"
#include "service/cardservice.h"
#include "service/transactionservice.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class Widget : pub... | 20.416667 | 69 | 0.763946 |
2ad9c49d4d6b66f9ea44455a2c995816e8cd95c9 | 871 | h | C | ws-uv/wsparser.h | mtdxc/libuv | 70aee87126debf9cb5fcc8e72dee4087860742b8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ws-uv/wsparser.h | mtdxc/libuv | 70aee87126debf9cb5fcc8e72dee4087860742b8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ws-uv/wsparser.h | mtdxc/libuv | 70aee87126debf9cb5fcc8e72dee4087860742b8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include <stdint.h>
#include <sys/types.h>
typedef struct ws_parser ws_parser;
typedef struct ws_settings ws_settings;
typedef struct ws_header ws_header;
typedef int (*ws_data_cb) (ws_parser*, const char *at, size_t len);
typedef int (*ws_cb) (ws_parser*);
enum state {
WS_HEADER = 0,
WS_BODY = 1
};
struct ws_s... | 19.355556 | 67 | 0.729047 |
4a365e53ecad72c39b4a4d568ad35923712fd166 | 4,363 | h | C | sgf/3.0/headers/Gamecore/util/SGF_Ebox.h | rasputtim/SGPacMan | b0fd33f0951a42625a391383b4d1bd378391493c | [
"BSD-2-Clause"
] | null | null | null | sgf/3.0/headers/Gamecore/util/SGF_Ebox.h | rasputtim/SGPacMan | b0fd33f0951a42625a391383b4d1bd378391493c | [
"BSD-2-Clause"
] | null | null | null | sgf/3.0/headers/Gamecore/util/SGF_Ebox.h | rasputtim/SGPacMan | b0fd33f0951a42625a391383b4d1bd378391493c | [
"BSD-2-Clause"
] | null | null | null | /* ebox version 3:
* by Jon Rafkind
*/
#ifndef _ebox_3_h
#define _ebox_3_h
#include "../SGF_Config.h"
#include "../graphics/all.h"
#include <vector>
namespace SGF {
class SGE_API CEQuad{
public:
CEQuad( CEQuad * const head );
CEQuad( int w, int h, CEQuad * _parent );
CEQuad( const CBitmap * who, int min_size, ... | 24.511236 | 172 | 0.656887 |
f2ed6f7dcc6e26cd6aa2c028e286e47b9603fceb | 437 | c | C | src/libskabus/skabus_rpc_end.c | skarnet/skabus | dbae52217fb6a65a42d9c36f3ace9a78795105ee | [
"0BSD"
] | 14 | 2017-11-21T19:38:13.000Z | 2021-09-02T14:59:19.000Z | src/libskabus/skabus_rpc_end.c | Acidburn0zzz/skabus | 914de087ec86dca51c6d801f64ca761d3563238a | [
"0BSD"
] | null | null | null | src/libskabus/skabus_rpc_end.c | Acidburn0zzz/skabus | 914de087ec86dca51c6d801f64ca761d3563238a | [
"0BSD"
] | 2 | 2021-05-14T19:04:10.000Z | 2021-05-14T19:04:31.000Z | /* ISC license. */
#include <stdint.h>
#include <skalibs/uint64.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/avltree.h>
#include <skalibs/skaclient.h>
#include <skabus/rpc.h>
void skabus_rpc_end (skabus_rpc_t *a)
{
skaclient_end(&a->connection) ;
genalloc_free(uint64_t, &a->... | 19.863636 | 38 | 0.686499 |
62415d3b58ebbc416df276f0944ed2e85252c452 | 2,296 | h | C | mediaserver/include/MediaServiceLooper.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | mediaserver/include/MediaServiceLooper.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | mediaserver/include/MediaServiceLooper.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 Alibaba Group Holding Limited. 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
*
* ... | 24.425532 | 76 | 0.712108 |
fa97998be90dc3bfbb1d01ba4c2c7bfc5abc7e21 | 1,629 | c | C | crc32.c | guoxx/code4fun | d1f32fa34391f8439a3facc6e26932436bc626cd | [
"MIT"
] | null | null | null | crc32.c | guoxx/code4fun | d1f32fa34391f8439a3facc6e26932436bc626cd | [
"MIT"
] | null | null | null | crc32.c | guoxx/code4fun | d1f32fa34391f8439a3facc6e26932436bc626cd | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* #define POLY 0x04C11DB7L */
/* #define POLY 0xFFFFFFFF */
#define POLY 0xDB710641
int crc32(void *data, int len){
int reg = 0;
char *ptr = (char*)data;
for(int i = 0; i < len; ++i){
for(int j = 7; j >= 0; --j){
int hi_bit = ... | 22.943662 | 72 | 0.454266 |
ffc674887b2f2dc4f5d10e9f8f8fdc731ac622cb | 670 | h | C | UIColor+InputMethods.h | mergesort/UIColor-InputMethods | 01892cbff09510a6d57e506e466279571ab53a95 | [
"Apache-2.0"
] | 2 | 2016-04-19T11:00:51.000Z | 2016-04-19T12:29:30.000Z | Example/Pods/UIColor+InputMethods/UIColor+InputMethods.h | byzyn4ik/RMStyleManager | 90054435a50920e27e87905ca6c8c097cb632216 | [
"MIT"
] | null | null | null | Example/Pods/UIColor+InputMethods/UIColor+InputMethods.h | byzyn4ik/RMStyleManager | 90054435a50920e27e87905ca6c8c097cb632216 | [
"MIT"
] | null | null | null | //
// UIColor+InputMethods.h
// Picks
//
// Created by Joe on 5/22/13.
// Copyright (c) 2013 mergesort. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (InputMethods)
+ (UIColor *)colorWithHex:(NSString *)hexString;
+ (NSString *)hexFromColor:(UIColor *)color;
+ (NSString *)stripHashtagFromH... | 23.103448 | 56 | 0.735821 |
4dc9b3c66f785571914671198a9d8d7e5e15d112 | 575 | h | C | libsrc/_DEVELOPMENT/target/math32_z80n/config_math32_z80n.h | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/target/math32_z80n/config_math32_z80n.h | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/target/math32_z80n/config_math32_z80n.h | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null |
#ifndef __CONFIG_Z88DK_H_
#define __CONFIG_Z88DK_H_
// Automatically Generated at Library Build Time
#undef __Z88DK
#define __Z88DK 1992
#undef __Z80
#define __Z80 0x01
#define __Z80_NMOS 0x01
#define __Z80_CMOS 0x02
#define __CPU_Z80N__ 0x01
#define __USE_Z80N_OPCODES_NEXTREG ... | 8.58209 | 48 | 0.763478 |
a227c2bac7b9d874789a49cbe5d015afffffcba0 | 1,755 | h | C | include/sakit/Socket.h | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | include/sakit/Socket.h | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | include/sakit/Socket.h | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | /// @file
/// @version 1.2
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Defines a basic socket class.
#ifndef SAKIT_SOCKET_H
#define S... | 21.666667 | 81 | 0.735043 |
36db25b6ca54401d70b72fd5523c9116501f98f4 | 331 | h | C | Programming/Cpp/Work 3/memento/Memento.h | alexstrive/Ifmo-Works | 1f4fb67dfde9c4e14130b6614be9ec4b0642d3c0 | [
"Unlicense"
] | 4 | 2017-10-06T08:26:23.000Z | 2017-10-17T12:40:52.000Z | Programming/Cpp/Work 3/memento/Memento.h | novopashin/Ifmo-Works | 1f4fb67dfde9c4e14130b6614be9ec4b0642d3c0 | [
"Unlicense"
] | 5 | 2017-11-16T18:01:51.000Z | 2018-01-15T18:05:58.000Z | Programming/Cpp/Work 3/memento/Memento.h | allordiron/LabWorks | 1f4fb67dfde9c4e14130b6614be9ec4b0642d3c0 | [
"Unlicense"
] | 1 | 2018-05-20T19:30:57.000Z | 2018-05-20T19:30:57.000Z | //
// Created by Alexey Novopashin on 03/04/2018.
//
#ifndef WORK_3_CALCULATORMEMENTO_H
#define WORK_3_CALCULATORMEMENTO_H
// Memento
class Memento {
private:
int state;
public:
explicit Memento(int state) : state(state) {}
int getState() const {
return state;
}
};
#endif //WORK_3_CALCULATO... | 15.045455 | 49 | 0.694864 |
89c0aae312cfeb0ed1da3be79a2b67c90738e9d3 | 1,913 | h | C | dev/Gems/NvCloth/Code/Source/Components/ClothComponent.h | BenjaminHCheung/lumberyard | f875f9634ebb128d1bbb5334720596e19cb6db54 | [
"AML"
] | 1 | 2021-07-09T06:32:31.000Z | 2021-07-09T06:32:31.000Z | dev/Gems/NvCloth/Code/Source/Components/ClothComponent.h | BenjaminHCheung/lumberyard | f875f9634ebb128d1bbb5334720596e19cb6db54 | [
"AML"
] | null | null | null | dev/Gems/NvCloth/Code/Source/Components/ClothComponent.h | BenjaminHCheung/lumberyard | f875f9634ebb128d1bbb5334720596e19cb6db54 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license belo... | 32.982759 | 96 | 0.722948 |
d62c45654e67cf3bd59302e9ffffb45c19e934f5 | 3,018 | h | C | Demo/BaseApplication.h | galek/CoherentUI_Ogre3D | c1bb4ec2121052b2e5636a6c9f7410a94cc17357 | [
"MIT"
] | 2 | 2016-07-06T13:12:45.000Z | 2016-12-06T00:42:03.000Z | Demo/BaseApplication.h | galek/CoherentUI_Ogre3D | c1bb4ec2121052b2e5636a6c9f7410a94cc17357 | [
"MIT"
] | null | null | null | Demo/BaseApplication.h | galek/CoherentUI_Ogre3D | c1bb4ec2121052b2e5636a6c9f7410a94cc17357 | [
"MIT"
] | 1 | 2016-05-18T11:20:46.000Z | 2016-05-18T11:20:46.000Z | /*
-----------------------------------------------------------------------------
Filename: BaseApplication.h
-----------------------------------------------------------------------------
This source file is part of the
___ __ __ _ _ _
/___\__ _ _ __ ___ / / /\ \ (_) | _(_)
// ... | 34.295455 | 165 | 0.595427 |
966258b465ce58da4d11108218714d4271c60633 | 4,025 | c | C | third_party/codecs/faad2/plugins/QCDMp4/utils.c | Narflex/sagetv | 76cb5755e54fd3b01d2bb708a8a72af0aa1533f1 | [
"Apache-2.0"
] | 292 | 2015-08-10T18:34:55.000Z | 2022-01-26T00:38:45.000Z | third_party/codecs/faad2/plugins/QCDMp4/utils.c | Narflex/sagetv | 76cb5755e54fd3b01d2bb708a8a72af0aa1533f1 | [
"Apache-2.0"
] | 366 | 2015-08-10T18:21:02.000Z | 2022-01-22T20:03:41.000Z | third_party/codecs/faad2/plugins/QCDMp4/utils.c | Narflex/sagetv | 76cb5755e54fd3b01d2bb708a8a72af0aa1533f1 | [
"Apache-2.0"
] | 227 | 2015-08-10T22:24:29.000Z | 2022-02-25T19:16:21.000Z | /*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com
**
** 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 Fou... | 26.136364 | 102 | 0.601491 |
d0ed0f2b34497ec8c7eef1bdeba092a52ba8fd03 | 8,694 | c | C | test_pool/pcie/test_p005.c | sunnywang-arm/sbsa-acs | 28ecef569303af18b571ff3d66bbdcb6135eaed8 | [
"Apache-2.0"
] | null | null | null | test_pool/pcie/test_p005.c | sunnywang-arm/sbsa-acs | 28ecef569303af18b571ff3d66bbdcb6135eaed8 | [
"Apache-2.0"
] | null | null | null | test_pool/pcie/test_p005.c | sunnywang-arm/sbsa-acs | 28ecef569303af18b571ff3d66bbdcb6135eaed8 | [
"Apache-2.0"
] | null | null | null | /** @file
* Copyright (c) 2016-2018, 2020-2022 Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* 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
... | 33.057034 | 101 | 0.626869 |
5ca4ffcaf387f58720c73cfcd3150d6a368aa8cd | 364 | c | C | c-project/ch12/test_const.c | yuleiqq/cloud-study | a7e45c304a6581f772cd6727f79e74bbc3ca121b | [
"Apache-2.0"
] | null | null | null | c-project/ch12/test_const.c | yuleiqq/cloud-study | a7e45c304a6581f772cd6727f79e74bbc3ca121b | [
"Apache-2.0"
] | null | null | null | c-project/ch12/test_const.c | yuleiqq/cloud-study | a7e45c304a6581f772cd6727f79e74bbc3ca121b | [
"Apache-2.0"
] | null | null | null | //
// Created by 余雷 on 2022/4/28.
//
/**
*
* const 放在 * 左侧任意位置,
*
*/
#include "stdio.h"
int main(){
int arr[10];
// pf 指向一个float 类型的const 值. pf 指向的值不能被改变, 但是pf本身的值可以被改变
const float * pf ; // 等于 float const * pf;
// *pf =20; 这样是错误的
//创建的pt本身的值不能更改. pt 必须指向同一个地址,但是它所指向的值可以改变
float... | 11.741935 | 60 | 0.552198 |
6840d3dd9b88dc4a32ba2f01b2ed44ec7bfb2dd5 | 2,971 | c | C | User_Interface.c | wakabayashiryo/GeigerCounter.X | 768075af7360ad9389c0e7192cde84c048c64ebe | [
"MIT"
] | null | null | null | User_Interface.c | wakabayashiryo/GeigerCounter.X | 768075af7360ad9389c0e7192cde84c048c64ebe | [
"MIT"
] | null | null | null | User_Interface.c | wakabayashiryo/GeigerCounter.X | 768075af7360ad9389c0e7192cde84c048c64ebe | [
"MIT"
] | null | null | null | #include "User_Interface.h"
uint16_t DAC_DataTable[];
uint8_t *H7826_Gain[];
uint8_t *H7826_01_Gain[];
static uint8_t Save_PMTConfig(PMT_CONFIGURATION *data)
{
return EEPROM_MultiWrite(data->Eeprom_table,NUM_OF_DATA,0);
}
static uint8_t Load_PMTConfing(PMT_CONFIGURATION *data)
{
return EEPROM_MultiRead(d... | 26.061404 | 68 | 0.607876 |
658487bcda8e9e23a8780e9b8acd4223c8d5e7b4 | 1,218 | h | C | common/utils.h | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | common/utils.h | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | common/utils.h | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | #ifndef LEETCODE_UTILS_H
#define LEETCODE_UTILS_H
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <hash_map>
#include <map>
#include <sstream>
#include <type_traits>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <list>
#include <cstring>
#include <bits... | 18.179104 | 95 | 0.619048 |
04a1c18c7dc80805f65e2e6e3d2db43a945871b2 | 54,348 | c | C | testsuite/EXP_5/test939.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_5/test939.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_5/test939.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
volatile int32_t x5 = INT32_MIN;
static volatile int32_t t1 = -7;
int32_t x15 = -81;
static uint64_t t3 = 2411... | 19.245042 | 61 | 0.602212 |
04cc73ceebcf87e4bbe326ab40933cb6f4e9a825 | 2,007 | c | C | osdrv/ezcfg/ezcfg-0.1/libezcfg/src/bak/thread/master_load_igrs_conf.c | zetalabs/hi3520d | 27374d155c4bcc1904d377dd3328f4d47b2cbc3d | [
"Apache-2.0"
] | 2 | 2016-05-14T07:18:30.000Z | 2021-03-24T20:45:32.000Z | osdrv/ezcfg/ezcfg-0.1/libezcfg/src/bak/thread/master_load_igrs_conf.c | zetalabs/hi3520d | 27374d155c4bcc1904d377dd3328f4d47b2cbc3d | [
"Apache-2.0"
] | null | null | null | osdrv/ezcfg/ezcfg-0.1/libezcfg/src/bak/thread/master_load_igrs_conf.c | zetalabs/hi3520d | 27374d155c4bcc1904d377dd3328f4d47b2cbc3d | [
"Apache-2.0"
] | 1 | 2020-07-10T03:53:10.000Z | 2020-07-10T03:53:10.000Z | /* ============================================================================
* Project Name : ezbox configuration utilities
* File Name : thread/master_load_igrs_conf.c
*
* Description : interface to configurate ezbox information
*
* Copyright (C) 2008-2014 by ezbox-project
*
* History Rev Des... | 22.054945 | 133 | 0.61136 |
ca371f081ba434e15155b2e7324c653d8dba07d1 | 11,846 | h | C | src/libgeodecomp/storage/unstructuredgrid.h | aproeme/libgeodecomp | f78899c67ad62540fd153cba132a0a363a7b3fa9 | [
"BSL-1.0"
] | 40 | 2015-03-18T16:36:25.000Z | 2020-08-19T07:35:19.000Z | src/libgeodecomp/storage/unstructuredgrid.h | aproeme/libgeodecomp | f78899c67ad62540fd153cba132a0a363a7b3fa9 | [
"BSL-1.0"
] | 72 | 2015-02-05T10:41:30.000Z | 2022-03-03T12:02:47.000Z | src/libgeodecomp/storage/unstructuredgrid.h | aproeme/libgeodecomp | f78899c67ad62540fd153cba132a0a363a7b3fa9 | [
"BSL-1.0"
] | 17 | 2015-11-22T14:49:16.000Z | 2020-01-15T19:05:04.000Z | #ifndef LIBGEODECOMP_STORAGE_UNSTRUCTUREDGRID_H
#define LIBGEODECOMP_STORAGE_UNSTRUCTUREDGRID_H
#include <libgeodecomp/config.h>
#ifdef LIBGEODECOMP_WITH_CPP14
#include <libgeodecomp/geometry/coord.h>
#include <libgeodecomp/geometry/coordbox.h>
#include <libgeodecomp/geometry/region.h>
#include <libgeodecomp/geometry... | 29.105651 | 133 | 0.624093 |
a248c28e19591ce5ebf65f9b303c28a582bfe66e | 2,721 | h | C | folly/wangle/Executor.h | waderly/folly | d057a592035c6b5149ed1ea5088b122ce402ef41 | [
"Apache-2.0"
] | 1 | 2015-11-05T18:37:06.000Z | 2015-11-05T18:37:06.000Z | folly/wangle/Executor.h | waderly/folly | d057a592035c6b5149ed1ea5088b122ce402ef41 | [
"Apache-2.0"
] | null | null | null | folly/wangle/Executor.h | waderly/folly | d057a592035c6b5149ed1ea5088b122ce402ef41 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 36.28 | 79 | 0.675487 |
8ae7b581727fc09eed11e6dfc42a4837e911e386 | 28,288 | c | C | pcba_minui/bt_test.c | Caesar-github/rk_pcba_test | 36e07775f017df15a8f20e62f52cb59e1ed3ae10 | [
"BSD-3-Clause"
] | 2 | 2019-04-19T17:45:08.000Z | 2019-05-25T11:39:22.000Z | pcba_minui/bt_test.c | rockchip-linux/rk_pcba_test | 36e07775f017df15a8f20e62f52cb59e1ed3ae10 | [
"BSD-3-Clause"
] | null | null | null | pcba_minui/bt_test.c | rockchip-linux/rk_pcba_test | 36e07775f017df15a8f20e62f52cb59e1ed3ae10 | [
"BSD-3-Clause"
] | 10 | 2018-07-18T06:52:08.000Z | 2021-07-08T21:26:45.000Z | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <sys/time.h>
#include <cutils/log.h>
#include <cutils/properties.h>
#include "com... | 23.751469 | 127 | 0.585725 |
148c276727285773c1aedfe6c40a98f77fc3c48d | 2,081 | h | C | jni/external/zenilib/zeni/zeni.h | clarkdonald/eecs494explore3d | fd4086d2c5482a289d51ef71c5f1ae20347db80a | [
"BSD-2-Clause"
] | 9 | 2015-09-24T19:18:50.000Z | 2021-06-23T09:53:59.000Z | jni/external/zenilib/zeni/zeni.h | clarkdonald/eecs494explore3d | fd4086d2c5482a289d51ef71c5f1ae20347db80a | [
"BSD-2-Clause"
] | null | null | null | jni/external/zenilib/zeni/zeni.h | clarkdonald/eecs494explore3d | fd4086d2c5482a289d51ef71c5f1ae20347db80a | [
"BSD-2-Clause"
] | 1 | 2015-12-13T06:55:21.000Z | 2015-12-13T06:55:21.000Z | /* This file is part of the Zenipex Library (zenilib).
* Copyright (C) 2011 Mitchell Keith Bloch (bazald).
*
* zenilib is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the L... | 26.679487 | 79 | 0.723691 |
e79f598d991daaffc97242e249225cb7c248c483 | 1,581 | h | C | arduino/MP3_Player_Example/sdfatlib20110702/betaLoggers/BufferedWriter/BufferedWriter.h | spoymenov/arisgames | aad5f5c6cdb3b1e8ade68da012c6e46ac9a6f77c | [
"MIT"
] | 1 | 2018-12-25T15:19:12.000Z | 2018-12-25T15:19:12.000Z | arduino/MP3_Player_Example/sdfatlib20110702/betaLoggers/BufferedWriter/BufferedWriter.h | augustozuniga/arisgames | 1ccf8fcbd9083134972b80e429456dbd6e28aa3d | [
"MIT"
] | null | null | null | arduino/MP3_Player_Example/sdfatlib20110702/betaLoggers/BufferedWriter/BufferedWriter.h | augustozuniga/arisgames | 1ccf8fcbd9083134972b80e429456dbd6e28aa3d | [
"MIT"
] | null | null | null | /* Arduino BufferedWriter Library
* Copyright (C) 2011 by William Greiman
*
* This file is part of the Arduino BufferedWriter Library
*
* This Library 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 Foundati... | 28.745455 | 72 | 0.673624 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.