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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
feb781b0ff23b1eff503b296118eb90caaaa6107 | 387 | c | C | BEECROWD/Beginner/1151.c | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | 1 | 2022-01-30T05:20:36.000Z | 2022-01-30T05:20:36.000Z | BEECROWD/Beginner/1151.c | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | BEECROWD/Beginner/1151.c | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main()
{
int i,n,f=0,s=1,t;
scanf("%d",&n);
for(i=1; i<=n; i++)
{
if(i<n)
{
printf("%d ",f);
t=f+s;
f=s;
s=t;
}
else
{
printf("%d\n",f);
t=f+s;
... | 14.884615 | 30 | 0.235142 |
f247168df2ce57a676facc7aadc8a14217304f15 | 223 | h | C | common/include/utils/files.h | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | common/include/utils/files.h | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | common/include/utils/files.h | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | //
// Created by Sathyam Vellal on 10/03/2018.
//
#ifndef LEARNOPENGL_FILES_H
#define LEARNOPENGL_FILES_H
#include <string>
void extract(std::string& contents, const std::string& filename);
#endif //LEARNOPENGL_FILES_H
| 17.153846 | 65 | 0.757848 |
f1a82c26904c7d794ee98515659200450f356ee0 | 16,418 | c | C | src/srv/srvsmc.c | kaveman-/9pm | c5a560d936a46ec64b05f302fbe811b11a341285 | [
"LPL-1.02"
] | null | null | null | src/srv/srvsmc.c | kaveman-/9pm | c5a560d936a46ec64b05f302fbe811b11a341285 | [
"LPL-1.02"
] | null | null | null | src/srv/srvsmc.c | kaveman-/9pm | c5a560d936a46ec64b05f302fbe811b11a341285 | [
"LPL-1.02"
] | null | null | null | #include <u.h>
#include <9pm/libc.h>
#include <9pm/srv.h>
#include <9pm/windows.h>
#define WINCLASS L"9pmsmc"
typedef struct Sid Sid;
typedef struct Conv Conv;
typedef struct Glink Glink;
typedef struct Link Link;
typedef struct Gmem Gmem;
typedef struct Call Call;
enum {
Gbufsize = 100,
};
/* sid types */
enum {
... | 17.373545 | 88 | 0.597393 |
01a5775dda4bb11e866dd08b322d1070b932c0a9 | 167 | h | C | Source/Engine/Object.h | Computer-Scienc/Vengance | 6b587d2bf583a7f8638c2a695a1c39262e3f1ede | [
"MIT"
] | null | null | null | Source/Engine/Object.h | Computer-Scienc/Vengance | 6b587d2bf583a7f8638c2a695a1c39262e3f1ede | [
"MIT"
] | null | null | null | Source/Engine/Object.h | Computer-Scienc/Vengance | 6b587d2bf583a7f8638c2a695a1c39262e3f1ede | [
"MIT"
] | null | null | null | #ifndef VOBJECT_H
#define VOBJECT_H
class VObject
{
public:
VObject();
virtual ~VObject();
protected:
private:
};
#endif // VOBJECT_H
| 9.823529 | 27 | 0.592814 |
7d267d616ef4a2f91e4421e863cf6468a50dfe00 | 49 | h | C | nrf5-environment-sensor/src/environmental_sensor.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 4 | 2016-12-10T13:20:52.000Z | 2019-10-25T19:47:44.000Z | nrf5-environment-sensor/src/environmental_sensor.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | null | null | null | nrf5-environment-sensor/src/environmental_sensor.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 1 | 2019-05-03T17:31:38.000Z | 2019-05-03T17:31:38.000Z | #pragma once
void environmental_sensor_start();
| 12.25 | 34 | 0.816327 |
62d84c3e8f592c0401f41e58d904fbf7dfdef968 | 1,262 | h | C | TBDropboxKit/Classes/TBDropboxQueue.h | truebucha/TBDropboxKit | f771ee3a76ea98efe1361822055984584e4fbe97 | [
"MIT"
] | null | null | null | TBDropboxKit/Classes/TBDropboxQueue.h | truebucha/TBDropboxKit | f771ee3a76ea98efe1361822055984584e4fbe97 | [
"MIT"
] | null | null | null | TBDropboxKit/Classes/TBDropboxQueue.h | truebucha/TBDropboxKit | f771ee3a76ea98efe1361822055984584e4fbe97 | [
"MIT"
] | 2 | 2017-06-01T14:57:44.000Z | 2017-06-06T17:14:44.000Z | //
// TBDropboxQueue.h
// Pods
//
// Created by Bucha Kanstantsin on 2/6/17.
//
//
#import <Foundation/Foundation.h>
#import "TBDropbox.h"
#import "TBDropboxTask.h"
#import "TBDropboxEntry.h"
@interface TBDropboxQueue : NSObject
@property (strong, nonatomic, readonly, nonnull) NSArray<TBDropboxTask *> * schedule... | 28.681818 | 91 | 0.767829 |
2b936dfdc07a57120c66480a83a1508d0ea1a00c | 1,878 | h | C | lib/veins/src/veins/modules/mobility/LinearMobility.h | dbuse/reception-study | f60cfec0312c0de81721c627b2ebfd97faf9cfa7 | [
"MIT"
] | null | null | null | lib/veins/src/veins/modules/mobility/LinearMobility.h | dbuse/reception-study | f60cfec0312c0de81721c627b2ebfd97faf9cfa7 | [
"MIT"
] | null | null | null | lib/veins/src/veins/modules/mobility/LinearMobility.h | dbuse/reception-study | f60cfec0312c0de81721c627b2ebfd97faf9cfa7 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2005 Emin Ilker Cetinbas
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// 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 ... | 30.290323 | 76 | 0.725772 |
137c14d262139c6e3423afb47441dba76e64f2d9 | 15,354 | c | C | p4_Longan_Board_RISC-V_Game/src/main.c | Crepdo/CS110_Computer-Architecture | 633e26729c0ce2c71afbdfb2224d3d5332ef37d6 | [
"MIT"
] | 1 | 2022-02-02T06:55:21.000Z | 2022-02-02T06:55:21.000Z | p4_Longan_Board_RISC-V_Game/src/main.c | Crepdo/CS110_Computer-Architecture | 633e26729c0ce2c71afbdfb2224d3d5332ef37d6 | [
"MIT"
] | null | null | null | p4_Longan_Board_RISC-V_Game/src/main.c | Crepdo/CS110_Computer-Architecture | 633e26729c0ce2c71afbdfb2224d3d5332ef37d6 | [
"MIT"
] | null | null | null | #include "lcd/lcd.h"
#include <string.h>
#include "utils.h"
#include <stdlib.h>
// Gamepad
#define GP_BUTTON_UP (!gpio_input_bit_get(GPIOB, GPIO_PIN_8)) //上方向键(左手五向摇杆)
#define GP_BUTTON_DOWN (!gpio_input_bit_get(GPIOB, GPIO_PIN_10)) //下方向键(左手五向摇杆)
#define GP_BUTTON_RIGHT (!gpio_input_bit_get(GPIOB, GPIO_PIN_7)) //右... | 29.134725 | 224 | 0.543376 |
4d59fe5a802159dc364064567a1764985ced81c4 | 269 | h | C | c11/foo.h | ericosur/ccbox | c230bd77533bf9a8af8f7183ea2cd2ae019716f7 | [
"MIT"
] | null | null | null | c11/foo.h | ericosur/ccbox | c230bd77533bf9a8af8f7183ea2cd2ae019716f7 | [
"MIT"
] | 10 | 2020-07-14T04:00:12.000Z | 2020-07-14T05:30:48.000Z | c11/foo.h | ericosur/ccbox | c230bd77533bf9a8af8f7183ea2cd2ae019716f7 | [
"MIT"
] | null | null | null | #ifndef __FOO_H__
#define __FOO_H__
class Foo
{
public:
int a = 1; //C++11 only
const int b = 9; //C++11 only
//This works fine (both in C++03 and C++11)
static const int c = 10;
const int arr[5] = {1,2,3,4,5};
};
#endif // __FOO_H__
| 16.8125 | 48 | 0.553903 |
9453d3e72f9043ed1a8f78b640068bdf1e85206c | 3,822 | h | C | src/libQts/QtsStandaloneTableDemux.h | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 8 | 2016-08-09T14:05:58.000Z | 2020-09-05T14:43:36.000Z | src/libQts/QtsStandaloneTableDemux.h | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 15 | 2016-08-09T14:11:21.000Z | 2022-01-15T23:39:07.000Z | src/libQts/QtsStandaloneTableDemux.h | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 1 | 2017-08-26T22:08:58.000Z | 2017-08-26T22:08:58.000Z | //----------------------------------------------------------------------------
//
// Copyright (c) 2013-2017, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistri... | 36.75 | 92 | 0.666405 |
9af588199c262ad0d50697ad1e2ce25678cab0aa | 4,750 | c | C | ProgrammingAssignments/openflow/secchan/emerg-flow.c | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null | ProgrammingAssignments/openflow/secchan/emerg-flow.c | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null | ProgrammingAssignments/openflow/secchan/emerg-flow.c | Mahdi-Asaly/Coursera-SDN-Assignments | aac5d62f40c5283e296a0f87b7ec2de8986a8efc | [
"Intel"
] | null | null | null | /*-
* Copyright (c) 2008, 2009
* The Board of Trustees of The Leland Stanford Junior University
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation that
* others will use, modify and enhance the Software and contribu... | 32.758621 | 79 | 0.748421 |
fa2783adcc3f8e4b52cba571ec81f0fb1dc45346 | 37,306 | h | C | include/EASTL/fixed_hash_set.h | tonyriviere88/EASTL | 29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9 | [
"BSD-3-Clause"
] | 6,852 | 2016-02-10T00:42:20.000Z | 2022-03-30T07:33:48.000Z | include/EASTL/fixed_hash_set.h | tonyriviere88/EASTL | 29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9 | [
"BSD-3-Clause"
] | 414 | 2016-02-10T02:33:53.000Z | 2022-03-28T15:09:19.000Z | include/EASTL/fixed_hash_set.h | tonyriviere88/EASTL | 29a805e4d83d7dd1d8fb03f303b132cc8c0a51c9 | [
"BSD-3-Clause"
] | 1,041 | 2016-02-10T02:21:49.000Z | 2022-03-31T14:10:02.000Z | /////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// This file implements ... | 47.163085 | 211 | 0.739425 |
cff4bbb6103376e00ec8872a72922bef8a463226 | 8,532 | h | C | src/command.h | Kvitrafn/Aspen | 0c98633d3d0fbe21e0bbb14edd7d19203711a3a2 | [
"MIT"
] | null | null | null | src/command.h | Kvitrafn/Aspen | 0c98633d3d0fbe21e0bbb14edd7d19203711a3a2 | [
"MIT"
] | null | null | null | src/command.h | Kvitrafn/Aspen | 0c98633d3d0fbe21e0bbb14edd7d19203711a3a2 | [
"MIT"
] | null | null | null | /**
* Contains: Command
*
* Commands enable players to complete specific tasks.
* For example, a command defined with the name of "north"might move
* the player north one room.
* @todo move commandable.
*/
#ifndef COMMAND_H
#define COMMAND_H
#include <string>
#include <vector>
#include <list>
#include <functional>
#inc... | 31.367647 | 138 | 0.659752 |
320ab36f4c510df9d84f308bd2faf42b43503a37 | 6,210 | c | C | component/common/drivers/ethernet_mii/ethernet_mii.c | ghsecuritylab/rustl8710 | 76247cfc7a9df9d8851ffb34b1256fb0b6b08760 | [
"Apache-2.0"
] | 23 | 2018-06-19T01:32:36.000Z | 2021-06-24T15:10:46.000Z | component/common/drivers/ethernet_mii/ethernet_mii.c | ghsecuritylab/rustl8710 | 76247cfc7a9df9d8851ffb34b1256fb0b6b08760 | [
"Apache-2.0"
] | 1 | 2018-10-02T02:38:05.000Z | 2018-10-02T02:38:05.000Z | component/common/drivers/ethernet_mii/ethernet_mii.c | ghsecuritylab/rustl8710 | 76247cfc7a9df9d8851ffb34b1256fb0b6b08760 | [
"Apache-2.0"
] | 3 | 2018-09-16T13:59:45.000Z | 2019-02-23T13:59:33.000Z | #include "rtl8195a.h"
#include "build_info.h"
#ifdef PLATFORM_FREERTOS
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#endif
#include "osdep_service.h"
#include "lwip_netconf.h"
#include "ethernet_api.h"
#include "lwip_intf.h"
#include "ethernet_mii.h"
#include "platform_opts.h"
#include "ethe... | 25.1417 | 112 | 0.647504 |
9ade0c50a50c989810f629d44ee6077e341790de | 3,664 | h | C | Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Plugins/bsfNullPhysics/BsNullPhysicsCharacterController.h | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#pragma once
#include "BsNullPhysicsPrerequisites.h"
#include "Physic... | 38.166667 | 124 | 0.729531 |
2c9f5eeabe02798b194424a3ff96e4cdff61e1dd | 94,942 | h | C | src/xenia/gpu/dxbc.h | epozzobon/xenia | 3775048cc9d281dbb57d021f9dd139663b96cfe4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/gpu/dxbc.h | epozzobon/xenia | 3775048cc9d281dbb57d021f9dd139663b96cfe4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/gpu/dxbc.h | epozzobon/xenia | 3775048cc9d281dbb57d021f9dd139663b96cfe4 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2021 Ben Vanik. All rights reserved. ... | 37.49684 | 91 | 0.676876 |
d0f1d5862f54df85656235c353a2f56fc4f61c05 | 1,372 | c | C | Practical 3/3.3.c | devumang096/Datastructures | 7114a91161e639a3b6479ea45a9cf8e7d75ddcee | [
"Unlicense"
] | 1 | 2021-10-01T10:49:39.000Z | 2021-10-01T10:49:39.000Z | Practical 3/3.3.c | devumang096/Datastructures | 7114a91161e639a3b6479ea45a9cf8e7d75ddcee | [
"Unlicense"
] | 2 | 2021-10-21T06:43:46.000Z | 2022-02-16T06:35:16.000Z | Practical 3/3.3.c | devumang096/Datastructures | 7114a91161e639a3b6479ea45a9cf8e7d75ddcee | [
"Unlicense"
] | 13 | 2021-09-30T19:12:00.000Z | 2021-10-05T17:00:00.000Z | /*Implement a program for stack that performs following operations using array.
(a) PUSH (b) POP (c) PEEP (d) CHANGE(Replace top of stack value) (e) DISPLAY*/
#include<stdio.h>
#define max_size 100
int arr[max_size];
int top = -1;
void push(int x);
void pop();
void peep(int pos);
void change(int x);
void display();
... | 17.818182 | 79 | 0.607872 |
d66b838d7280f0e0c76b772b1983edf4e4f77dae | 2,420 | h | C | trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 460 | 2016-01-13T12:49:34.000Z | 2022-02-20T04:10:40.000Z | trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 24 | 2016-11-07T04:59:49.000Z | 2022-03-14T06:34:12.000Z | trunk/win/BumpTop Settings/include/wxWidgets/wx/msw/colour.h | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 148 | 2016-01-17T03:16:43.000Z | 2022-03-17T12:20:36.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/colour.h
// Purpose: wxColour class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: colour.h 51769 2008-02-13 22:36:43Z VZ $
// Copyright: (c) Julian Smart
// Lic... | 27.191011 | 83 | 0.511157 |
d04027649e64777a7cd1fbd6f9d8efade903fcfe | 388 | c | C | Tute01.c | SLIIT-FacultyOfComputing/tutorial-01b-IT21028632 | 13fc6251ec725aa85f77e70c641ce79bef8b157d | [
"MIT"
] | null | null | null | Tute01.c | SLIIT-FacultyOfComputing/tutorial-01b-IT21028632 | 13fc6251ec725aa85f77e70c641ce79bef8b157d | [
"MIT"
] | null | null | null | Tute01.c | SLIIT-FacultyOfComputing/tutorial-01b-IT21028632 | 13fc6251ec725aa85f77e70c641ce79bef8b157d | [
"MIT"
] | null | null | null | /* Exercise 1 - Calculations
Write a C program to input marks of two subjects. Calculate and print the average of the two marks. */
#include <stdio.h>
int main() {
int mark1, mark2, Tot;
float avg;
printf("Enter marks 1: ");
scanf("%d", &mark1);
printf("Enter marks 2: ");
scanf("%d", &mark2);
Tot=mark1+ma... | 19.4 | 105 | 0.639175 |
45d75c32d0607f93afed4d3ed5d21d457ccaa2a9 | 10,436 | h | C | USDK/component/soc/realtek/8195a/fwlib/bitband_io.h | GDI123/WEB_SRV | a515ffbdf8a475491849c0bdf85e8c0599c2045c | [
"Unlicense"
] | 27 | 2016-11-13T19:42:00.000Z | 2021-03-12T15:07:47.000Z | USDK/component/soc/realtek/8195a/fwlib/bitband_io.h | GDI123/WEB_SRV | a515ffbdf8a475491849c0bdf85e8c0599c2045c | [
"Unlicense"
] | 3 | 2017-05-14T10:33:35.000Z | 2018-01-30T20:56:54.000Z | USDK/component/soc/realtek/8195a/fwlib/bitband_io.h | GDI123/WEB_SRV | a515ffbdf8a475491849c0bdf85e8c0599c2045c | [
"Unlicense"
] | 16 | 2016-12-01T15:03:45.000Z | 2017-09-04T17:33:38.000Z | #ifndef _BITBAND_IO_H_
#define _BITBAND_IO_H_
#include "PinNames.h"
#include "hal_platform.h"
#include "hal_api.h"
#include "hal_gpio.h"
#include "rtl8195a_gpio.h"
#define BITBAND_SRAM_REF 0x10000000
#define BITBAND_SRAM_BASE 0x12000000
#define BITBAND_SRAM(a,b) (BITBAND_SRAM_BASE + (a-BITBAND_SRAM_REF)*32 + (b*4)) ... | 67.766234 | 126 | 0.749042 |
b75d7ca691fe2faddc50ab5c43e6eec616ec6fe4 | 395 | h | C | src/core/coloring_algorithms/BasicColoringAlgorithm.h | mrgalopes/sdp_project_q1 | 6d79891ff50eef31158fe1eea3f27d92b60810bf | [
"BSL-1.0"
] | null | null | null | src/core/coloring_algorithms/BasicColoringAlgorithm.h | mrgalopes/sdp_project_q1 | 6d79891ff50eef31158fe1eea3f27d92b60810bf | [
"BSL-1.0"
] | null | null | null | src/core/coloring_algorithms/BasicColoringAlgorithm.h | mrgalopes/sdp_project_q1 | 6d79891ff50eef31158fe1eea3f27d92b60810bf | [
"BSL-1.0"
] | null | null | null |
#ifndef BASIC_COLORING_ALGORITHM_H
#define BASIC_COLORING_ALGORITHM_H
#include "ColoringStrategy.h"
class BasicColoringAlgorithm : public ColoringStrategy {
public:
BasicColoringAlgorithm();
BasicColoringAlgorithm(unsigned int seed) : seed(seed){};
void colorGraph(std::vector<Vertex>& vertices) override;... | 21.944444 | 61 | 0.779747 |
c853cded3198151e482c9a98efb92a7b1b0243be | 185,974 | h | C | examples/SMTP/Send_Attachment_Blob/blob_data.h | Jason2866/ESP-Mail-Client | 3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9 | [
"MIT"
] | 85 | 2020-12-03T21:00:27.000Z | 2022-03-31T13:43:57.000Z | examples/SMTP/Send_Attachment_Blob/blob_data.h | Jason2866/ESP-Mail-Client | 3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9 | [
"MIT"
] | 70 | 2020-12-08T11:41:11.000Z | 2022-03-24T15:16:20.000Z | examples/SMTP/Send_Attachment_Blob/blob_data.h | Jason2866/ESP-Mail-Client | 3c605ba733d51bb43f8a6a114dbc0424c0f7c4c9 | [
"MIT"
] | 26 | 2020-12-10T08:30:16.000Z | 2022-03-08T14:39:39.000Z | #include <Arduino.h>
static const uint8_t firebase_logo_png[] PROGMEM = {
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x03, 0x20, 0x00, 0x00, 0x02, 0x58, 0x08, 0x06, 0x00, 0x00, 0x00, 0x9A, 0x76, 0x82,
0x70, 0x00, 0x00, 0x00, 0x01, 0x73, ... | 100.417927 | 100 | 0.633696 |
c8d099993f7a501e8722f68a8c408cc5032aee53 | 2,138 | h | C | include/skyline/nx/kernel/rwlock.h | masagrator/skyline | e866b61705399b178fbd090b88d9ff00d14a2c74 | [
"MIT"
] | 80 | 2020-08-03T17:47:32.000Z | 2022-03-31T10:43:50.000Z | include/skyline/nx/kernel/rwlock.h | masagrator/skyline | e866b61705399b178fbd090b88d9ff00d14a2c74 | [
"MIT"
] | 16 | 2020-08-17T23:27:01.000Z | 2022-03-27T18:31:13.000Z | include/skyline/nx/kernel/rwlock.h | masagrator/skyline | e866b61705399b178fbd090b88d9ff00d14a2c74 | [
"MIT"
] | 26 | 2020-07-28T12:50:24.000Z | 2022-03-29T18:45:18.000Z | /**
* @file rwlock.h
* @brief Read/write lock synchronization primitive.
* @author plutoo, SciresM
* @copyright libnx Authors
*/
#pragma once
#include "../kernel/condvar.h"
#include "../kernel/mutex.h"
/// Read/write lock structure.
typedef struct {
Mutex mutex;
CondVar condvar_reader_wait;
CondVar co... | 26.395062 | 88 | 0.710477 |
c8f73ea8a3a52eda5151836ef1cdf75835b8f2d2 | 1,895 | c | C | Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2019-01-26T10:34:02.000Z | 2019-01-26T10:34:02.000Z | Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | null | null | null | Mesa-7.11.2_GPGPU-Sim/src/egl/wayland/wayland-egl/wayland-egl.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2021-07-06T10:40:34.000Z | 2021-07-06T10:40:34.000Z | #include <stdlib.h>
#include <wayland-client.h>
#include "wayland-egl.h"
#include "wayland-egl-priv.h"
WL_EGL_EXPORT void
wl_egl_window_resize(struct wl_egl_window *egl_window,
int width, int height,
int dx, int dy)
{
egl_window->width = width;
egl_window->height = height;
egl_window->dx = dx;
... | 21.534091 | 65 | 0.745119 |
1e2568af864d646daaf0c59e82c27ec6ce2bbc12 | 283 | h | C | src/audio/stdafx.h | lostcodder/node-windows-audio | b4bcee0984db80a7f0c57485ebc053b4bb8d05fe | [
"MIT"
] | null | null | null | src/audio/stdafx.h | lostcodder/node-windows-audio | b4bcee0984db80a7f0c57485ebc053b4bb8d05fe | [
"MIT"
] | null | null | null | src/audio/stdafx.h | lostcodder/node-windows-audio | b4bcee0984db80a7f0c57485ebc053b4bb8d05fe | [
"MIT"
] | null | null | null |
//#include "targetver.h"
#include <windows.h>
#include <strsafe.h>
#include <objbase.h>
#include <mmdeviceapi.h>
#include <audiopolicy.h>
template <class T> void SafeRelease(T **ppT)
{
if (*ppT)
{
(*ppT)->Release();
*ppT = NULL;
}
}
| 14.894737 | 45 | 0.547703 |
88fc0568f9d9fa7534a6cf13724ae37822595b94 | 4,836 | h | C | System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/Frameworks/CoreFoundation.framework/NSDictionary.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:01:01 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by El... | 40.983051 | 122 | 0.768404 |
7ae9e3b833b6c70cfb52a690369f95d8163a950e | 83 | c | C | Tests/C/ImplicitExport.c | G33kDude/MCL.ahk | e993193f575db03f5c8dac957a1a597f94f7c612 | [
"MIT"
] | 4 | 2021-12-01T17:52:53.000Z | 2022-01-25T05:01:55.000Z | Tests/C/ImplicitExport.c | G33kDude/MCL.ahk | e993193f575db03f5c8dac957a1a597f94f7c612 | [
"MIT"
] | null | null | null | Tests/C/ImplicitExport.c | G33kDude/MCL.ahk | e993193f575db03f5c8dac957a1a597f94f7c612 | [
"MIT"
] | null | null | null | int TheOnlyFunctionInThisProgram(int left, int right) {
return left << right;
} | 27.666667 | 55 | 0.73494 |
63c177c5b3e47322bafb5efca702697488c64992 | 691 | h | C | BMDBase/BMDBase/Source/BMDBaseMessage.h | PangPangPangPangPang/BMDMessageQueue | 3a506f583e3ee70a96ba3be5e2be44212e8e9708 | [
"MIT"
] | 1 | 2017-01-11T06:08:23.000Z | 2017-01-11T06:08:23.000Z | BMDBase/BMDBase/Source/BMDBaseMessage.h | PangPangPangPangPang/BMDMessageQueue | 3a506f583e3ee70a96ba3be5e2be44212e8e9708 | [
"MIT"
] | 1 | 2017-01-18T11:11:52.000Z | 2017-01-18T11:11:52.000Z | BMDBase/BMDBase/Source/BMDBaseMessage.h | PangPangPangPangPang/BMDMessageQueue | 3a506f583e3ee70a96ba3be5e2be44212e8e9708 | [
"MIT"
] | null | null | null | //
// BMDBaseMessage.h
// MessageQueue
//
// Created by Wang,Yefeng on 10/01/2017.
// Copyright © 2017 Wang,Yefeng. All rights reserved.
//
#import <Foundation/Foundation.h>
#define Scheme @"BMDoctor"
@interface BMDBaseMessage : NSObject
@property(readonly, atomic)NSString *scheme;
@property(readonly, atomic)NSSt... | 24.678571 | 54 | 0.70767 |
b70d58222e731c2484c4670a33507146b6b2b5c1 | 4,914 | h | C | third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h | luibass92/mqttraffic-warden | a421b04aff99927e92f0bda4c0543af91abef6c5 | [
"MIT"
] | null | null | null | third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h | luibass92/mqttraffic-warden | a421b04aff99927e92f0bda4c0543af91abef6c5 | [
"MIT"
] | null | null | null | third_party/paho.mqtt.cpp/include/mqtt/delivery_token.h | luibass92/mqttraffic-warden | a421b04aff99927e92f0bda4c0543af91abef6c5 | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
/// @file delivery_token.h
/// Declaration of MQTT delivery_token class
/// @date May 1, 2013
/// @author Frank Pagliughi
/////////////////////////////////////////////////////////////////////////////
/****************************************... | 36.132353 | 97 | 0.656085 |
17b23276d24d2f4ded56e39e9acab6c5bc892fe8 | 19,202 | c | C | COMPONENT_CAT4/source/cyhal_i2c.c | Infineon/mtb-hal-cat4 | 8bb5f37baeed0a0ce88fb2fccb516a821439c767 | [
"Apache-2.0"
] | null | null | null | COMPONENT_CAT4/source/cyhal_i2c.c | Infineon/mtb-hal-cat4 | 8bb5f37baeed0a0ce88fb2fccb516a821439c767 | [
"Apache-2.0"
] | null | null | null | COMPONENT_CAT4/source/cyhal_i2c.c | Infineon/mtb-hal-cat4 | 8bb5f37baeed0a0ce88fb2fccb516a821439c767 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************//**
* \file cyhal_i2c.c
*
* Description:
* Provides a high level interface for interacting with the I2C.
*
********************************************************************************
* \copyright
* Copyright 2021 Cypress Semiconductor Cor... | 32.272269 | 169 | 0.659463 |
024b05cab94c67f7b596c5bc6ae790b005d06542 | 8,503 | c | C | src/core/wallet/wallet.c | ngburke/polly | 2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9 | [
"MIT"
] | null | null | null | src/core/wallet/wallet.c | ngburke/polly | 2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9 | [
"MIT"
] | null | null | null | src/core/wallet/wallet.c | ngburke/polly | 2234dd45eb2c69ef0b1d763d266e5aad4a4f8ab9 | [
"MIT"
] | null | null | null | #include <wallet.h>
#include <cmd.h>
#include <assert.h>
#include <crypto.h>
#include <string.h>
#include <words.h>
#define CHAINS 2
static void seed_updated(void);
static const uint8_t masterSeedKey[] = "Bitcoin seed";
static const uint8_t seed_default[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
static unsigne... | 31.376384 | 195 | 0.684229 |
cb92c076b4c5e6291f8f1bfc583ec74d62608b92 | 1,438 | h | C | System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/WorkflowUI.framework/WFPinnedScrollPosition.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:18:16 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Workflo... | 46.387097 | 169 | 0.648122 |
f208b10f5326d968bfb87a2a9cd03ba79dcfc740 | 851 | h | C | City.signed/Coordinate.h | NirajDharamshi/Cplusplus | db085cff4310bc6b672990b3e1f607975022a64b | [
"Apache-2.0"
] | null | null | null | City.signed/Coordinate.h | NirajDharamshi/Cplusplus | db085cff4310bc6b672990b3e1f607975022a64b | [
"Apache-2.0"
] | null | null | null | City.signed/Coordinate.h | NirajDharamshi/Cplusplus | db085cff4310bc6b672990b3e1f607975022a64b | [
"Apache-2.0"
] | null | null | null | #ifndef COORDINATE_H_
#define COORDINATE_H_
#include <iostream>
#include <string>
using namespace std;
/**
* A geographic coordinate.
*/
class Coordinate
{
public:
/***** Commplete this class. *****/
double get_latitude() const;
double get_longitude() const;
void set_latitude(double lat);
void set_long... | 20.756098 | 70 | 0.685076 |
85c56d64133ca867fd6fb71655abc254a49f09c8 | 762 | h | C | Interrupts/Dio.h | MohamadElbadry/AVR-Interfacing | 3d091095fe6ea1d7d25962245b80403c2436975a | [
"MIT"
] | null | null | null | Interrupts/Dio.h | MohamadElbadry/AVR-Interfacing | 3d091095fe6ea1d7d25962245b80403c2436975a | [
"MIT"
] | null | null | null | Interrupts/Dio.h | MohamadElbadry/AVR-Interfacing | 3d091095fe6ea1d7d25962245b80403c2436975a | [
"MIT"
] | null | null | null | /*
* DIO.h
*
* Created on: Apr 12, 2019
* Author: medos
*/
#ifndef DIO_H_
#define DIO_H_
#include"std_type1.h"
#include"util.h"
#include"REGISTERS.h"
void Dio_SetPinDirection(u8 port , u8 pin , u8 direction ) ;
void Dio_WritePin(u8 port , u8 pin , u8 level );
u8 Dio_ReadPin(u8 port , u8 pin );
void Dio_SetP... | 21.166667 | 60 | 0.716535 |
e266306b7fdb422500bc1372b8b0162416e37f5e | 368 | h | C | sessionDownload/downloadCeshi/Views/ListCell.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 11 | 2017-03-30T04:43:17.000Z | 2021-02-23T02:22:32.000Z | sessionDownload/downloadCeshi/Views/ListCell.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 2 | 2017-05-08T06:40:18.000Z | 2017-07-07T04:16:11.000Z | sessionDownload/downloadCeshi/Views/ListCell.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 2 | 2017-09-19T06:55:18.000Z | 2021-03-11T03:53:18.000Z | //
// ListCell.h
// downloadCeshi
//
// Created by 瞄财网 on 2017/3/15.
// Copyright © 2017年 瞄财网. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ListCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *downloadBtn;
@property (non... | 19.368421 | 59 | 0.717391 |
d9ee0d3798f07e471fe115ff1fab5a0fa6d26925 | 1,854 | h | C | src/math/MPlane.h | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | src/math/MPlane.h | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | src/math/MPlane.h | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | /*
* File: MPlane.h
* Author: serserar
*
* Created on July 23, 2014, 5:54 PM
*/
#ifndef MPLANE_H
#define MPLANE_H
#include "MVector3.h"
template <class Real>
class MPlane {
public:
MPlane();
MPlane(const MPlane& orig);
MPlane(MVector3<Real>& normal, MVector3<Real> origin);
MPlane(Real x, Real y... | 24.077922 | 119 | 0.68069 |
69e375daff7c3a94291d013962c46225db5ecfd5 | 3,968 | h | C | src/utils/ceph_utf8.h | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | 1 | 2021-01-11T14:19:51.000Z | 2021-01-11T14:19:51.000Z | src/utils/ceph_utf8.h | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | src/utils/ceph_utf8.h | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | /*
* Ceph - scalable distributed file system
*
* Copyright (C) 2011 New Dream Network
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software
* Foundation. See file COPYING.
*
*/
/*********... | 33.627119 | 78 | 0.715222 |
a800e25790e8fe4d40579f465623a6adabb563ba | 370 | h | C | src/compiler/headers/functions/FuncAddToMap.h | MYnimef/dsl | 9f07337423b37b41c76e4b1be4eb15cd5534260b | [
"MIT"
] | null | null | null | src/compiler/headers/functions/FuncAddToMap.h | MYnimef/dsl | 9f07337423b37b41c76e4b1be4eb15cd5534260b | [
"MIT"
] | null | null | null | src/compiler/headers/functions/FuncAddToMap.h | MYnimef/dsl | 9f07337423b37b41c76e4b1be4eb15cd5534260b | [
"MIT"
] | null | null | null | //
// Created by Ivan Markov on 28.04.2022.
//
#pragma once
#include "ExpFuncCustom.h"
class FuncAddToMap final: public ExpFuncCustom {
public:
explicit FuncAddToMap();
~FuncAddToMap() override;
void action(const std::map<std::string, Var*>& params, std::stack<Var*>& stack) const override;
[[nodi... | 18.5 | 99 | 0.686486 |
e014d54f77248b9ea3b5afbcb643448582a9f7d9 | 34,436 | c | C | lib/restapidef.c | ppadmavilasom/copenapi | f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | lib/restapidef.c | ppadmavilasom/copenapi | f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | lib/restapidef.c | ppadmavilasom/copenapi | f01cb873a77cc968f6a52fbe3c13d3fb5a5f4a11 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2016-2017 VMware, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 22.259858 | 93 | 0.553636 |
e06022509641fbfbadabc899c2f506b863ddb93e | 1,203 | h | C | libs/its_simulator/Sensor_Prototype.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | libs/its_simulator/Sensor_Prototype.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | libs/its_simulator/Sensor_Prototype.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "ITS_Simulator_Includes.h"
namespace Sensor_Components
{
namespace Types
{
struct Reading
{
int time;
double speed;
double occupancy;
int volume;
};
}
namespace Concepts
{
}
namespace Prototypes
{
prototype struct Sensor ADD_DEBUG_INFO
{
tag_as_prototype;
... | 20.389831 | 90 | 0.735661 |
ef940b378c6f66efe0467771698aecde68b5ae0d | 2,902 | h | C | src/image/fourier.h | maxest/MaxestFramework | aa396c2e15543ba4d62bb5cf908c3919e4e84fb7 | [
"MIT"
] | 9 | 2018-09-16T14:12:35.000Z | 2021-06-20T19:03:11.000Z | src/image/fourier.h | maxest/MaxestFramework | aa396c2e15543ba4d62bb5cf908c3919e4e84fb7 | [
"MIT"
] | null | null | null | src/image/fourier.h | maxest/MaxestFramework | aa396c2e15543ba4d62bb5cf908c3919e4e84fb7 | [
"MIT"
] | 3 | 2018-06-08T13:57:03.000Z | 2018-11-21T12:54:18.000Z | #pragma once
#ifdef MAXEST_FRAMEWORK_DESKTOP
#include "types.h"
#include "../essentials/main.h"
namespace NMaxestFramework { namespace NImage
{
// Fourier
SImage DiscreteFourierTransform(const SImage& image);
SImage DiscreteFourierTransform_Separable(const SImage& image);
SImage InverseDiscreteFo... | 58.04 | 177 | 0.774638 |
b4fbefff770069b7c61871eedd025d93cd5b20ac | 14,394 | c | C | lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c | Koneeee1/ms-tpm-20-ref | d99419bd30a4dad7ae5bfad3c1c0d5962c188913 | [
"BSD-2-Clause"
] | null | null | null | lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c | Koneeee1/ms-tpm-20-ref | d99419bd30a4dad7ae5bfad3c1c0d5962c188913 | [
"BSD-2-Clause"
] | null | null | null | lib/external/wolfssl/IDE/Espressif/ESP-IDF/test/test_wolfssl.c | Koneeee1/ms-tpm-20-ref | d99419bd30a4dad7ae5bfad3c1c0d5962c188913 | [
"BSD-2-Clause"
] | null | null | null | /*
* wolfssl sha tests
*/
#include <stdio.h>
#include <string.h>
#include <esp_system.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "unity.h"
#include "sdkconfig.h"
#include "esp_log.h"
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/wolfcrypt/sha.h>
#in... | 27.417143 | 104 | 0.679102 |
359495922674beec97d99c2fc08c103e1900779b | 636 | h | C | MusicDemo/MusicDemo/View/Details/BottomView.h | YellowStarH/MusicDemo | 2bd86a5e177705254e924b81457a7d26bd254eeb | [
"MIT"
] | null | null | null | MusicDemo/MusicDemo/View/Details/BottomView.h | YellowStarH/MusicDemo | 2bd86a5e177705254e924b81457a7d26bd254eeb | [
"MIT"
] | null | null | null | MusicDemo/MusicDemo/View/Details/BottomView.h | YellowStarH/MusicDemo | 2bd86a5e177705254e924b81457a7d26bd254eeb | [
"MIT"
] | null | null | null | //
// BottomView.h
// MusicDemo
//
// Created by 黄杨洋 on 2018/3/7.
// Copyright © 2018年 Apple. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BottomView : UIView
@property (nonatomic, strong) UIButton *preSongButtton;
@property (nonatomic, strong) UIButton *nextSongButton;
@property (nonatomic, strong... | 27.652174 | 58 | 0.759434 |
def4ba5a4bc81335ec5ee8647eb142583a2a0f24 | 12,111 | c | C | inetcore/setup/iexpress/updfile/updfile.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/setup/iexpress/updfile/updfile.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/setup/iexpress/updfile/updfile.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //***************************************************************************
//* Copyright (c) Microsoft Corporation 1995. All rights reserved. *
//***************************************************************************
//* *
//* ... | 40.64094 | 102 | 0.378334 |
8140c11596d2b44fb8c913a8c66598550a145295 | 733 | c | C | codes/binaryExponentiation.c | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/binaryExponentiation.c | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/binaryExponentiation.c | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | /*
************************************************
username : smmehrab
fullname : s.m.mehrabul islam
email : mehrab.24csedu.001@gmail.com
institute : university of dhaka, bangladesh
session : 2017-2018
************************************************
*/
int binaryExponentiation(int x,int n)... | 22.90625 | 51 | 0.454297 |
814e0195d0093bd75026c156fec0e910341e41b1 | 374 | h | C | solutions/test_csi1/app/include/csi/common/test_config.h | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 9 | 2020-05-12T03:01:55.000Z | 2021-08-12T10:22:31.000Z | solutions/test_csi1/app/include/csi/common/test_config.h | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | null | null | null | solutions/test_csi1/app/include/csi/common/test_config.h | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 12 | 2020-04-15T11:37:33.000Z | 2021-09-13T13:19:04.000Z | #ifndef __TEST_CONFIG_H__
#define __TEST_CONFIG_H__
#include "stdint.h"
/*
* configuration module, allow users to modify.
*/
//#define DEBUG_TEST
#define CONFIG_TEST_INFO
#define CONFIG_TEST_WARN
#define COMMANDS_LENGTH 50
#define PARAMETERS_LENGTH 100
#define MODULES_LENGTH 50
/*
* public macro definiti... | 12.896552 | 63 | 0.759358 |
7267d7323e3564867110f7dbef53694740a95ef0 | 1,411 | h | C | windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:18:08.000Z | 2016-11-23T08:18:08.000Z | windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | null | null | null | windows/pw6e.official/CPlusPlus/Chapter17/HelloPrinter/HelloPrinter/MainPage.xaml.h | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:17:34.000Z | 2016-11-23T08:17:34.000Z | //
// MainPage.xaml.h
// Declaration of the MainPage class.
//
#pragma once
#include "MainPage.g.h"
namespace HelloPrinter
{
public ref class MainPage sealed
{
private:
Windows::UI::Xaml::Printing::PrintDocument^ printDocument;
Windows::Graphics::Printing::IPrintDocumentSou... | 40.314286 | 162 | 0.718639 |
b0a56a45e81f4326b557bea06999fae2d219b270 | 447 | c | C | ex01-15.c | kdungs/exercises-KnR | 2ed204919448fbe01f632dad7c6772bf7a83189a | [
"Unlicense"
] | null | null | null | ex01-15.c | kdungs/exercises-KnR | 2ed204919448fbe01f632dad7c6772bf7a83189a | [
"Unlicense"
] | null | null | null | ex01-15.c | kdungs/exercises-KnR | 2ed204919448fbe01f632dad7c6772bf7a83189a | [
"Unlicense"
] | 1 | 2020-06-09T15:48:42.000Z | 2020-06-09T15:48:42.000Z | #include <stdio.h>
float fahrenheit2celsius(float);
float celsius2fahrenheit(float);
main() {
int i;
printf(" °C °F\n");
printf(" ==========\n");
for (i = 0; i < 100; ++i) {
printf("%4d %5.1f\n", i, celsius2fahrenheit(i));
}
return 0;
}
float fahrenheit2celsius(float fahrenheit)... | 18.625 | 56 | 0.572707 |
b811df98d8ec0bd7be41f9ee4318d47fcad565db | 12,168 | c | C | vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c | cesarmo759/android_kernel_samsung_msm8916 | f19717ef6c984b64a75ea600a735dc937b127c25 | [
"Apache-2.0"
] | 1 | 2020-06-28T00:49:21.000Z | 2020-06-28T00:49:21.000Z | vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c | cesarmo759/android_kernel_samsung_msm8916 | f19717ef6c984b64a75ea600a735dc937b127c25 | [
"Apache-2.0"
] | null | null | null | vendor/samsung/external/ims_voice_engine/codec/evs/float_c/lib_dec/dec_gen_voic.c | cesarmo759/android_kernel_samsung_msm8916 | f19717ef6c984b64a75ea600a735dc937b127c25 | [
"Apache-2.0"
] | 1 | 2021-03-05T16:54:52.000Z | 2021-03-05T16:54:52.000Z | /*====================================================================================
EVS Codec 3GPP TS26.443 Oct 20, 2015. Version 12.4.0
====================================================================================*/
#include <math.h>
#include <stdlib.h>
#include "options.h"
#include "cnst.h"
#include ... | 45.402985 | 150 | 0.442143 |
fc7ef848bf8d06635941b79bcbf963652080a016 | 6,710 | h | C | fw/Inc/adc.h | RadekZV/PT100 | 87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6 | [
"MIT"
] | 3 | 2021-03-06T07:54:06.000Z | 2022-02-16T06:47:57.000Z | fw/Inc/adc.h | RadekZV/PT100 | 87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6 | [
"MIT"
] | null | null | null | fw/Inc/adc.h | RadekZV/PT100 | 87e9b6a8e5a65eb7ea6febc0e89ac1c3107beec6 | [
"MIT"
] | 2 | 2021-03-23T01:31:35.000Z | 2021-11-02T10:58:38.000Z | /*
* Library for ADS1120
*/
#ifndef __ADC_INCLUDED__
#define __ADC_INCLUDED__
#include "stm32f0xx_hal.h"
#include "utils.h"
// main commands for ADS1120
#define ADC_CMD_RESET 0x06 // 0000 011x - reset device
#define ADC_CMD_START 0x08 // 0000 100x - start or restart conversion
#define A... | 38.342857 | 96 | 0.720864 |
fcabd88a278b57ebd529e252b6c22f1212704596 | 2,171 | c | C | QUARTA/C/liste/lista_bidirezionale.c | Brombe74/IT | 8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1 | [
"MIT"
] | null | null | null | QUARTA/C/liste/lista_bidirezionale.c | Brombe74/IT | 8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1 | [
"MIT"
] | null | null | null | QUARTA/C/liste/lista_bidirezionale.c | Brombe74/IT | 8e28ebdefef74734c6bdc9f1d210fbcdc1a5bdd1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
typedef struct list lista;
struct list
{
int numero;
lista* next;
lista* prev;
};
lista* InserimentoCoda(lista* l1,int n);
lista* creanodo(int n);
void StampaLista(lista* l1);
void StampaScorso(lista* l1,int pos);
int main()
{
lista* l1=NULL;
int n,pos;
do
{
prin... | 14.668919 | 98 | 0.598802 |
da744a18bc87e31822a8d2115cf4b4cfaa8a017b | 2,214 | h | C | ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 11 | 2016-08-02T03:40:36.000Z | 2022-03-15T13:41:29.000Z | ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | null | null | null | ThirdParty/Havok/include/Common/Base/Types/Physics/hkStepInfo.h | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 8 | 2017-03-17T05:59:25.000Z | 2021-02-27T08:51:46.000Z | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | 34.061538 | 251 | 0.747064 |
748226080073eae08981b1587b91f2859c92795f | 2,166 | c | C | projects/can_test/src/main.c | uw-midsun/project-template | a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba | [
"MIT"
] | 14 | 2017-09-15T01:02:34.000Z | 2020-05-26T16:12:41.000Z | projects/can_test/src/main.c | uw-midsun/firmware | a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba | [
"MIT"
] | 158 | 2016-10-09T15:21:53.000Z | 2019-06-28T01:47:19.000Z | projects/can_test/src/main.c | uw-midsun/firmware | a4e8093b3ce453e88f8eb2bceb5318e02afbc0ba | [
"MIT"
] | 9 | 2017-01-05T23:37:30.000Z | 2021-06-10T21:45:06.000Z | // CAN driver bus flooding test
// Attempts to flood the CAN bus - would like to ensure that the main thread doesn't starve
// and figure out how quickly we can realistically send messages
#include "can.h"
#include "gpio.h"
#include "interrupt.h"
#include "log.h"
#include "receiver.h"
#include "sender.h"
#include "soft... | 24.896552 | 91 | 0.708218 |
dddc493befe79af952bcd6eadc927cc9a7330b3f | 6,521 | c | C | head/lib/libkvm/kvm_file.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/lib/libkvm/kvm_file.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/lib/libkvm/kvm_file.c | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | /*-
* Copyright (c) 1989, 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abov... | 28.726872 | 95 | 0.640853 |
74be180247ea9c5f7ba5f542934e3411d2601d65 | 2,884 | h | C | src/utils/ffmpeg_utils.h | hokiedsp/matlab-ffmpeg | 60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed | [
"BSD-2-Clause"
] | 3 | 2017-09-06T18:11:37.000Z | 2020-04-14T09:17:36.000Z | src/utils/ffmpeg_utils.h | hokiedsp/matlab-ffmpeg | 60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed | [
"BSD-2-Clause"
] | 1 | 2019-06-19T16:34:57.000Z | 2019-07-07T01:20:27.000Z | src/utils/ffmpeg_utils.h | hokiedsp/matlab-ffmpeg | 60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <memory>
#include <string>
#include <vector>
#include <mex.h>
extern "C"
{
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/dict.h>
}
namespace ffmpeg
{
#define number_of_elements_in_array(myarray) \
(sizeof(myarray) / s... | 35.170732 | 80 | 0.642857 |
74ede4ed36ecdb2b99920231bf709413e746b201 | 15,894 | c | C | cmake_targets/lte_noS1_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c | ThomasValerrianPasca/UE_LWA | 4aa2a8337cbf129f0adccd46d6b51048c8c1c1de | [
"Apache-2.0"
] | 1 | 2019-02-22T21:33:57.000Z | 2019-02-22T21:33:57.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c | aygunbaltaci/OAI_BS_Master | 375be88d50787cf1b7af516e1237df9005c32e0d | [
"Apache-2.0"
] | 1 | 2021-05-28T09:06:21.000Z | 2021-05-28T14:49:39.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/IdleModeMobilityControlInfo.c | aygunbaltaci/OAI_BS_Master | 375be88d50787cf1b7af516e1237df9005c32e0d | [
"Apache-2.0"
] | 1 | 2018-03-04T11:09:57.000Z | 2018-03-04T11:09:57.000Z | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#include "IdleModeMobilityControlInfo.h"
static int
t320_8_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb,... | 34.855263 | 102 | 0.739273 |
d37f80f2bb413ba18333d77b933280e5bd6f933d | 939 | h | C | SVA/Map/Model/SVAInheritialModel.h | SVADemoAPP/03_SVA_DEMO_APP_IOS | fc54dc91c4e7e0f31bd4cc8010148274279ccfd8 | [
"Apache-2.0"
] | 1 | 2016-06-29T01:58:27.000Z | 2016-06-29T01:58:27.000Z | SVA/Map/Model/SVAInheritialModel.h | SVADemoAPP/03_SVA_DEMO_APP_IOS | fc54dc91c4e7e0f31bd4cc8010148274279ccfd8 | [
"Apache-2.0"
] | 1 | 2016-08-04T08:25:49.000Z | 2016-08-04T08:25:49.000Z | SVA/Map/Model/SVAInheritialModel.h | SVADemoAPP/03_SVA_DEMO_APP_IOS | fc54dc91c4e7e0f31bd4cc8010148274279ccfd8 | [
"Apache-2.0"
] | null | null | null | //
// SVAInheritialModel.h
// SVA
//
// Created by XuZongCheng on 16/2/21.
// Copyright © 2016年 huawei. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SVAInheritialModel : SMActivityBaseModel
@property (nonatomic, copy) NSString *banThreshold;
@property (nonatomic, assign) NSInteger corr... | 33.535714 | 60 | 0.771033 |
dd30ea5cce0902853d1e8c1d591073fc03f385c5 | 4,353 | h | C | src/NURBSSurface.h | mortennobel/OpenGL_3_2_Utils | 94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa | [
"BSD-2-Clause"
] | 8 | 2015-05-12T09:46:38.000Z | 2021-09-09T11:52:29.000Z | src/NURBSSurface.h | mortennobel/OpenGL_3_2_Utils | 94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa | [
"BSD-2-Clause"
] | null | null | null | src/NURBSSurface.h | mortennobel/OpenGL_3_2_Utils | 94f9cd2fa5f7a92bde8a80b3a12d280e9023e0fa | [
"BSD-2-Clause"
] | 4 | 2016-10-10T17:20:06.000Z | 2020-04-08T09:38:07.000Z | /*!
* OpenGL 3.2 Utils - Extension to the Angel library (from the book Interactive Computer Graphics 6th ed
* https://github.com/mortennobel/OpenGL_3_2_Utils
*
* New BSD License
*
* Copyright (c) 2011, Morten Nobel-Joergensen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | 39.93578 | 140 | 0.763152 |
ea67cc203c00ecc50ac2c1121a6d4accded35abd | 2,163 | c | C | msp430fr2433_timerB_PWM1.1/main.c | JuanSandu/MSP430FR2433_examples | 5823220f283b33aaee8b44451beb1a5672b98715 | [
"MIT"
] | 2 | 2022-01-28T12:03:12.000Z | 2022-02-02T08:50:56.000Z | msp430fr2433_timerB_PWM1.1/main.c | JuanSandu/MSP430FR2433_examples | 5823220f283b33aaee8b44451beb1a5672b98715 | [
"MIT"
] | null | null | null | msp430fr2433_timerB_PWM1.1/main.c | JuanSandu/MSP430FR2433_examples | 5823220f283b33aaee8b44451beb1a5672b98715 | [
"MIT"
] | null | null | null | //*******************************************************************************
//! Timer_A3, PWM TA1.2, Up Mode, DCO SMCLK
//!
//! Description: This program generates PWM outputs on P2.2 using
//! Timer1_A configured for up mode. The value , TIMER_PERIOD, defines the PWM
//! period and the value DUTY_CYCLE the P... | 32.283582 | 81 | 0.570042 |
e3dcfa5e983ed583fcefa927c4bdfaf652f76477 | 846 | h | C | RunSignUpReg/RunSignUpReg/AddressAnnotation.h | RunSignUp-Team/RunSignUp-Apps | 41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b | [
"Apache-2.0"
] | 3 | 2015-09-28T23:01:03.000Z | 2020-05-17T02:34:16.000Z | RunSignUpReg/RunSignUpReg/AddressAnnotation.h | RunSignUp-Team/RunSignUp-Apps | 41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b | [
"Apache-2.0"
] | 1 | 2015-04-01T22:28:45.000Z | 2015-04-02T01:44:54.000Z | RunSignUpReg/RunSignUpReg/AddressAnnotation.h | RunSignUp-Team/RunSignUp-Apps | 41f4f9c2b5e56d9c1fe15e41bbe402d94d0ce74b | [
"Apache-2.0"
] | null | null | null | //
// AddressAnnotation.h
// RunSignUpReg
//
// Copyright 2014 RunSignUp
//
// 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 re... | 29.172414 | 75 | 0.754137 |
ee067abaa9b38f900ba3604df0ba2b9c763bbe42 | 1,102 | c | C | main.c | coconanacc/lerangit | d208008c3c3be0a5999fd3e9694eb87b736781ff | [
"Apache-2.0"
] | null | null | null | main.c | coconanacc/lerangit | d208008c3c3be0a5999fd3e9694eb87b736781ff | [
"Apache-2.0"
] | null | null | null | main.c | coconanacc/lerangit | d208008c3c3be0a5999fd3e9694eb87b736781ff | [
"Apache-2.0"
] | null | null | null | //
// main.c
// CYYLX
//
// Created by admin on 2018/11/18.
// Copyright © 2018 admin. All rights reserved.
//
/*#include <stdio.h>
int main()
{
int x,y;
for(x=0;x<=20;x++){
for(y=0;y<=33;y++){
if( 5*x+3*y+(100-x-y)/3.0==100)
{
printf("x=%d,y... | 16.205882 | 57 | 0.385662 |
7c29cdf2b2106a37af9d858ed4af658aa87e2d88 | 1,290 | h | C | lab1/buzzer.h | Pasha0666/lab1 | 1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea | [
"Unlicense"
] | null | null | null | lab1/buzzer.h | Pasha0666/lab1 | 1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea | [
"Unlicense"
] | null | null | null | lab1/buzzer.h | Pasha0666/lab1 | 1be0a925f7b2976a0e72cf8f7ca009efedd7c5ea | [
"Unlicense"
] | null | null | null | #pragma once
#include "melody.h"
#include "picthes.h"
#define BUZZER_NOTE_DURATION 125
class Buzzer
{
public:
Buzzer(int _pin, int _numBuzzer, int _countMelody)
{
pin = _pin;
pinMode(pin, OUTPUT);
numBuzzer = _numBuzzer;
countMelody = _countMelody;
melodis = ne... | 21.5 | 81 | 0.591473 |
f698954067e0d82f50b7c6498756ab8c9b2b33d9 | 737 | h | C | src/phg/utils/cameras_bundler_import.h | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | src/phg/utils/cameras_bundler_import.h | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | src/phg/utils/cameras_bundler_import.h | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <phg/sfm/defines.h>
#include <phg/sfm/sfm_utils.h>
#include <phg/core/calibration.h>
namespace phg {
// See abound bundler .out v0.3 format in 'Output format and scene representation' section:
// https://www.cs.cornell.edu/~snavely/bundler/bundler-v0.4-manual.html#S6
void imp... | 32.043478 | 91 | 0.629579 |
6e84e0f7a62f210e42864bb5c2ce95b9bd80f0f5 | 1,838 | h | C | Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h | heatd/edk2-platforms | eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 373 | 2016-04-18T09:22:36.000Z | 2022-03-30T14:19:06.000Z | Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h | heatd/edk2-platforms | eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 25 | 2020-06-24T00:44:40.000Z | 2021-08-22T09:39:33.000Z | Silicon/Intel/WhitleySiliconPkg/Cpu/Include/CpuPolicyPeiDxeCommon.h | heatd/edk2-platforms | eb2d49b5a7d1403c2ea332d546c5b27e43d9ba2c | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 341 | 2016-05-05T15:46:20.000Z | 2022-03-28T06:57:39.000Z | /** @file
Intel CPU PPM policy common structures and macros for both
CPU late policy PPI and CPU policy protocol.
@copyright
Copyright 2020 - 2021 Intel Corporation. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __CPU_POLICY_PEI_DXE_COMMON_HEADER__
#define __CPU_POLICY_PEI_DXE_CO... | 31.152542 | 61 | 0.758977 |
f52a18ac171ce2fc5e5ebedcbd459933c0afa0e5 | 1,968 | h | C | src/csapex_core/include/csapex/factory/node_factory_impl.h | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | 21 | 2016-09-02T15:33:25.000Z | 2021-06-10T06:34:39.000Z | src/csapex_core/include/csapex/factory/node_factory_impl.h | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | null | null | null | src/csapex_core/include/csapex/factory/node_factory_impl.h | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | 10 | 2016-10-12T00:55:17.000Z | 2020-04-24T19:59:02.000Z | #ifndef NODE_FACTORY_IMPL_H
#define NODE_FACTORY_IMPL_H
/// COMPONENT
#include <csapex/factory/node_factory.h>
#include <csapex/model/node_constructor.h>
#include <csapex/utility/uuid.h>
/// PROJECT
#include <csapex/model/notifier.h>
#include <csapex/core/core_fwd.h>
#include <csapex/model/model_fwd.h>
#include <csap... | 29.818182 | 142 | 0.775407 |
7cf98aa5d566168250fa9e540a35e00ea4b53203 | 30,492 | c | C | trunk/freertos/app/ble_central/ble_central.c | HESUPING/JmeshBLE-StaticLib | cf0900f004026c7e2e3448ffde07e21d4af8e387 | [
"Apache-2.0"
] | null | null | null | trunk/freertos/app/ble_central/ble_central.c | HESUPING/JmeshBLE-StaticLib | cf0900f004026c7e2e3448ffde07e21d4af8e387 | [
"Apache-2.0"
] | null | null | null | trunk/freertos/app/ble_central/ble_central.c | HESUPING/JmeshBLE-StaticLib | cf0900f004026c7e2e3448ffde07e21d4af8e387 | [
"Apache-2.0"
] | 3 | 2019-08-27T17:11:42.000Z | 2021-02-04T06:38:35.000Z | /**
****************************************************************************************
*
* @file ble_central.c
*
* @brief BLE ble_central Demo Config Internal.
*
* Copyright (C) BlueX Microelectronics 2018-2023
*
****************************************************************************************
*/... | 37.459459 | 160 | 0.598321 |
8cfc72c457bcd3f499606b6110d0e9c1bc2144ee | 364 | h | C | CMC030/utl/open/utl_system.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | 1 | 2018-10-17T08:53:17.000Z | 2018-10-17T08:53:17.000Z | CMC030/utl/open/utl_system.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | CMC030/utl/open/utl_system.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | /*
* File Layout for: UTL.UTL_SYSTEM on 21-May-01
*
* System Description File
*/
#pragma member_alignment save
#pragma nomember_alignment
struct utl_system_cdd
{
/* Element =
Description = */
char system[2];
/* Element =
Description = */
char description[40];
/* Element =
Description = */
char system_... | 15.826087 | 47 | 0.692308 |
40668a0f84edbc93367d59a26d07b79ce3acd058 | 2,372 | h | C | src/toolkit/io/BufferStream.h | whoozle/toolkit | a36e7e978f69264f23632df487ccee4ba69e9260 | [
"MIT"
] | 2 | 2019-04-23T14:36:30.000Z | 2019-11-06T20:48:12.000Z | src/toolkit/io/BufferStream.h | whoozle/toolkit | a36e7e978f69264f23632df487ccee4ba69e9260 | [
"MIT"
] | null | null | null | src/toolkit/io/BufferStream.h | whoozle/toolkit | a36e7e978f69264f23632df487ccee4ba69e9260 | [
"MIT"
] | 1 | 2019-04-23T14:36:32.000Z | 2019-04-23T14:36:32.000Z | #ifndef TOOLKIT_BYTEDATASTREAM_H
#define TOOLKIT_BYTEDATASTREAM_H
#include <toolkit/core/Buffer.h>
#include <toolkit/io/IStream.h>
#include <toolkit/io/IBufferedStream.h>
#include <string.h>
namespace TOOLKIT_NS { namespace io
{
class BufferStreamBase : virtual public ISeekable
{
protected:
off_t _offset;
vir... | 19.932773 | 68 | 0.674115 |
f4036785e437c0570dcd4b8f51863b59c15770ac | 1,177 | h | C | third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | 5 | 2015-04-30T09:08:30.000Z | 2018-08-13T05:00:39.000Z | third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | third party/openRTMFP-Cumulus/CumulusServer/sources/SocketManaged.h | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | /*
Copyright 2010 OpenRTMFP
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distri... | 30.179487 | 110 | 0.712829 |
4c3f60de3cc01d8ad45c8e2d5341a18e7d6a89d1 | 290 | h | C | desktoputil/concurrency.h | kullo/client-farcaster | 43adcca4ab30742b0193a72de23f5627b385bb0b | [
"BSD-3-Clause"
] | 1 | 2018-12-30T10:15:27.000Z | 2018-12-30T10:15:27.000Z | desktoputil/concurrency.h | kullo/client-farcaster | 43adcca4ab30742b0193a72de23f5627b385bb0b | [
"BSD-3-Clause"
] | null | null | null | desktoputil/concurrency.h | kullo/client-farcaster | 43adcca4ab30742b0193a72de23f5627b385bb0b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2013–2020 Kullo GmbH
*
* This source code is licensed under the 3-clause BSD license. See LICENSE.txt
* in the root directory of this source tree for details.
*/
#pragma once
#include <future>
namespace DesktopUtil {
bool waitOrCrash(std::promise<bool> &promise);
}
| 18.125 | 79 | 0.727586 |
73492da23992b09a08f97381e1a1cc839a2843b0 | 56 | c | C | test_files/file__7_7z.c | playback-sports/PLzmaSDK | f1f4807e2f797a14cfdb6ad81833385a06c8338d | [
"MIT"
] | 33 | 2020-09-01T20:11:50.000Z | 2022-03-29T01:20:43.000Z | test_files/file__7_7z.c | playback-sports/PLzmaSDK | f1f4807e2f797a14cfdb6ad81833385a06c8338d | [
"MIT"
] | 13 | 2021-01-20T14:00:18.000Z | 2022-03-24T08:31:47.000Z | test_files/file__7_7z.c | playback-sports/PLzmaSDK | f1f4807e2f797a14cfdb6ad81833385a06c8338d | [
"MIT"
] | 9 | 2021-01-29T14:51:41.000Z | 2022-02-21T13:38:31.000Z |
#include "plzma_test_files.h"
#include "file__7_7z.h"
| 11.2 | 29 | 0.75 |
34b8ba18d0c69bb10a6c05b19cb22a09e7e9043a | 1,223 | h | C | sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dnx/dbal/dbal_init/auto_generated/dbal_init_internal_tables_hard_logic_acl.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
/*
*
This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#include <src/soc/dnx/dbal/dbal_internal.h>
shr_error_e
dbal_init_tables_hard_logic_acl_hl_acl_field_context_definit... | 30.575 | 132 | 0.868357 |
56c767d2813bcf8514c05cf9bcab5f9bf9ee7938 | 636 | h | C | Framework/MetalTensor/numpy.h | feng1919/MetalTensor | 026e8ce85bbded6e41771d21316b380200183957 | [
"MIT"
] | 4 | 2019-11-01T03:28:46.000Z | 2022-02-02T00:41:37.000Z | Framework/MetalTensor/numpy.h | feng1919/MetalTensor | 026e8ce85bbded6e41771d21316b380200183957 | [
"MIT"
] | null | null | null | Framework/MetalTensor/numpy.h | feng1919/MetalTensor | 026e8ce85bbded6e41771d21316b380200183957 | [
"MIT"
] | null | null | null | //
// numpy.h
// MetalImage
//
// Created by Feng Stone on 2019/6/21.
// Copyright © 2019 fengshi. All rights reserved.
//
#ifdef __cplusplus
extern "C" {
#endif
#ifndef numpy_h
#define numpy_h
#include <stdio.h>
#include <stdbool.h>
int linspace(float start, float stop, int num, bool end_point,... | 20.516129 | 92 | 0.632075 |
9507ff2700386e90abea0cd54e04aab4835bf99b | 280 | h | C | test/tst_caplibpp_unit_test.h | briangmaddox/CAPLibpp | 6dc0b6cb697cdb27be3ec044540b36138c42a065 | [
"MIT"
] | null | null | null | test/tst_caplibpp_unit_test.h | briangmaddox/CAPLibpp | 6dc0b6cb697cdb27be3ec044540b36138c42a065 | [
"MIT"
] | null | null | null | test/tst_caplibpp_unit_test.h | briangmaddox/CAPLibpp | 6dc0b6cb697cdb27be3ec044540b36138c42a065 | [
"MIT"
] | null | null | null | #ifndef TST_CAPLIBPP_UNIT_TEST_H
#define TST_CAPLIBPP_UNIT_TEST_H
#include <gtest/gtest.h>
#include <gmock/gmock-matchers.h>
using namespace testing;
TEST(CAPLibppTest, caplibpp_unit_test)
{
EXPECT_EQ(1, 1);
ASSERT_THAT(0, Eq(0));
}
#endif // TST_CAPLIBPP_UNIT_TEST_H
| 17.5 | 38 | 0.764286 |
2294e03eb7180ae8f6340ddc144cd8e3163f25cd | 508 | h | C | Maya3D/Classes/ClockSettingsVC.h | rsodre/Maya3D | 727ee33fb5de98bbe8a41aae27c72c84f1b8d77c | [
"MIT"
] | null | null | null | Maya3D/Classes/ClockSettingsVC.h | rsodre/Maya3D | 727ee33fb5de98bbe8a41aae27c72c84f1b8d77c | [
"MIT"
] | null | null | null | Maya3D/Classes/ClockSettingsVC.h | rsodre/Maya3D | 727ee33fb5de98bbe8a41aae27c72c84f1b8d77c | [
"MIT"
] | null | null | null | //
// ClockSettingsVC.h
// Maya3D
//
// Created by Roger on 19/11/08.
// Copyright 2008 Studio Avante. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Tzolkin.h"
#import "TzCalendar.h"
#import "TzClock.h"
#import "AvantePicker.h"
#import "AvantePickerImage.h"
@interface ClockSettingsVC : UIViewControlle... | 17.517241 | 54 | 0.722441 |
af0f0dc8f9d90c91f9d7697af272ba607b5cf9f8 | 1,293 | c | C | Redes-de-computadores/Threads-MessageQueues/messQueueRead.c | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | null | null | null | Redes-de-computadores/Threads-MessageQueues/messQueueRead.c | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | null | null | null | Redes-de-computadores/Threads-MessageQueues/messQueueRead.c | iOsnaaente/Faculdade_ECA-UFSM | aea8b8d66169b073c439b47ad990e45695cbe953 | [
"MIT"
] | null | null | null | <<<<<<< HEAD
# include <stdio.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#define MAX 10
struct message_buff {
long msg_type;
char data[100];
} message;
int main(){
key_t key;
int msgid;
// Gera uma chave unica
key = ftok("progfile", 65);
// Cria o message queue e retorna o id... | 18.471429 | 53 | 0.597061 |
824d0abc3e8877ee94897f1a5b7e7d96d6390b62 | 279 | c | C | demo/Section_6/topic_2.c | andy0323/primer-plus-C | 38a0e28f12b84d705e20bad172b834673cd51930 | [
"MIT"
] | 1 | 2017-07-18T01:08:37.000Z | 2017-07-18T01:08:37.000Z | demo/Section_6/topic_2.c | andy0323/primer-plus-C | 38a0e28f12b84d705e20bad172b834673cd51930 | [
"MIT"
] | null | null | null | demo/Section_6/topic_2.c | andy0323/primer-plus-C | 38a0e28f12b84d705e20bad172b834673cd51930 | [
"MIT"
] | null | null | null | #include <stdio.h>
// 输出
// $
// $$
// $$$
// $$$$
// $$$$$
// $$$$$$
// $$$$$$$
// $$$$$$$$
#define CHAT_LENGTH 10
int main()
{
char arr[CHAT_LENGTH];
char s = '$';
for(int i = 0; i < CHAT_LENGTH; i++)
{
arr[i] = s;
printf("%s\n", arr);
}
return 0;
}
| 9.964286 | 38 | 0.387097 |
61a0b0dccb256e60e05c4bfcd6f61789f40e7819 | 302 | h | C | MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h | chenyq502/ERMapSDK | 74d781fda7da8ced2e3c1d5571415aeb062f638b | [
"MIT"
] | null | null | null | MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h | chenyq502/ERMapSDK | 74d781fda7da8ced2e3c1d5571415aeb062f638b | [
"MIT"
] | null | null | null | MapDemo/MapDemo/items/BaseMap/BaseMapViewController.h | chenyq502/ERMapSDK | 74d781fda7da8ced2e3c1d5571415aeb062f638b | [
"MIT"
] | null | null | null | //
// BaseMapViewController.h
// MapDemo
//
// Created by KongPeng on 2018/1/11.
// Copyright © 2018年 erlinyou. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <ERMapSDK/ERMapSDK.h>
@interface BaseMapViewController : UIViewController
@property (strong, nonatomic) ERMapView *mapView;
@end
| 21.571429 | 52 | 0.735099 |
dd1fea77e3012d9dce924da8d1b958f4a2433dda | 218 | h | C | Demo/DLSlideViewDemo/ViewController.h | teaxus/DLSlideView | fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e | [
"MIT"
] | 742 | 2015-02-03T05:25:37.000Z | 2022-02-05T09:28:28.000Z | Demo/DLSlideViewDemo/ViewController.h | teaxus/DLSlideView | fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e | [
"MIT"
] | 47 | 2015-02-05T14:59:46.000Z | 2018-12-26T14:37:53.000Z | Demo/DLSlideViewDemo/ViewController.h | teaxus/DLSlideView | fc5f4f0be8b3c8849506ecb0e5282f6784c5f26e | [
"MIT"
] | 166 | 2015-02-02T02:56:14.000Z | 2021-07-23T07:52:59.000Z | //
// ViewController.h
// DLSlideViewDemo
//
// Created by Dongle Su on 14-12-11.
// Copyright (c) 2014年 dongle. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 15.571429 | 52 | 0.697248 |
f7f114e264cc25ae957c46d713d3c6019d3ad37e | 1,733 | h | C | qqtw/qqheaders7.2/TBStoryVideoClipViewController.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 5 | 2018-02-20T14:24:17.000Z | 2020-08-06T09:31:21.000Z | qqtw/qqheaders7.2/TBStoryVideoClipViewController.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 1 | 2020-06-10T07:49:16.000Z | 2020-06-12T02:08:35.000Z | qqtw/qqheaders7.2/TBStoryVideoClipViewController.h | onezens/SmartQQ | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "UIViewController.h"
#import "TBStoryVideoClipViewDelegate.h"
@class NSString, QQStoryLocalMediaModel, TBStoryVideoClipView;
@interface TBStoryVideoClipViewController : U... | 34.66 | 119 | 0.78592 |
ee20197ca8f019d149424b8eeda08ff3150d6183 | 3,128 | h | C | src/Player/painthandler.h | congpp/TABEx | 91da62a326f70d7aa79a33e00790dce5d8088b6c | [
"MIT"
] | 1 | 2021-09-15T13:42:25.000Z | 2021-09-15T13:42:25.000Z | src/Player/painthandler.h | congpp/TABEx | 91da62a326f70d7aa79a33e00790dce5d8088b6c | [
"MIT"
] | null | null | null | src/Player/painthandler.h | congpp/TABEx | 91da62a326f70d7aa79a33e00790dce5d8088b6c | [
"MIT"
] | 1 | 2021-07-22T02:43:59.000Z | 2021-07-22T02:43:59.000Z | #ifndef PAINTHANDLER_H
#define PAINTHANDLER_H
#include "commondefine.h"
#include "fps.h"
#include "qtimerex.h"
#include <QtWidgets>
enum PaintHandlerType
{
PHT_UNKNOWN = 0,
PHT_HORIZONTAL,
PHT_VERTICAL,
};
enum PlayStatus
{
PS_IDLE,
PS_PAUSED,
PS_PLAYING,
PS_FINISHED,
... | 26.965517 | 87 | 0.67743 |
dc215c5dbd086427e7fb139a0c3c359b0e693b89 | 771 | h | C | modules/include/ir_receiver.h | mroavi/iot-esp | 513b1e0aa80c9d3e80a7e5f56ca42478431f8262 | [
"MIT"
] | null | null | null | modules/include/ir_receiver.h | mroavi/iot-esp | 513b1e0aa80c9d3e80a7e5f56ca42478431f8262 | [
"MIT"
] | null | null | null | modules/include/ir_receiver.h | mroavi/iot-esp | 513b1e0aa80c9d3e80a7e5f56ca42478431f8262 | [
"MIT"
] | null | null | null | #ifndef IR_RECEIVER_H_
#define IR_RECEIVER_H_
#include "os_type.h"
static const char *button[] =
{
"CH-",
"CH",
"CH+",
"PREV",
"NEXT",
"PLAY/PAUSE",
"VOL-",
"VOL+",
"EQ",
"0",
"100+",
"200+",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"UNKNOWN"
};
typedef void (*call_me_on_gpio_edge_interrupt... | 14.54717 | 86 | 0.635538 |
810932963e3885f2a40ac53b062e51e0760a7f0d | 347 | h | C | CommonTools/Utils/interface/MinSelector.h | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CommonTools/Utils/interface/MinSelector.h | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CommonTools/Utils/interface/MinSelector.h | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef RecoAlgos_MinSelector_h
#define RecoAlgos_MinSelector_h
/* \class MinSelector
*
* \author Luca Lista, INFN
*
* $Id: MinSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
*/
template <typename T>
struct MinSelector {
MinSelector(T min) : min_(min) {}
bool operator()(T t) const { return t >= min_; }
pri... | 17.35 | 60 | 0.680115 |
0b8a1987360cee7fbee696fd0ec9b9f987d08cc3 | 232 | h | C | ToolKit/StateMachine/TKStateMachine.h | zsoltmikola/ToolKit | 9acc5506dd334d54771db88175d32286791c229d | [
"Apache-2.0"
] | 3 | 2015-07-20T20:48:48.000Z | 2016-06-23T08:02:52.000Z | ToolKit/StateMachine/TKStateMachine.h | zsoltmikola/ToolKit | 9acc5506dd334d54771db88175d32286791c229d | [
"Apache-2.0"
] | null | null | null | ToolKit/StateMachine/TKStateMachine.h | zsoltmikola/ToolKit | 9acc5506dd334d54771db88175d32286791c229d | [
"Apache-2.0"
] | null | null | null | #import <Foundation/Foundation.h>
@interface TKStateMachine : NSObject
@property (nonatomic, weak) Class state;
- (void)addTransitionsFromState:(Class)state toStates:(NSArray *)destinations;
- (id)stateForKey:(Class)state;
@end
| 21.090909 | 78 | 0.771552 |
f475c9d2e5523ccb65b3a2cab629c0efb5cd2547 | 205 | h | C | CLHUD/ViewController.h | alitan2014/CLHUD | 4c788921518d86930f630cfb70401aeda798495d | [
"MIT"
] | null | null | null | CLHUD/ViewController.h | alitan2014/CLHUD | 4c788921518d86930f630cfb70401aeda798495d | [
"MIT"
] | null | null | null | CLHUD/ViewController.h | alitan2014/CLHUD | 4c788921518d86930f630cfb70401aeda798495d | [
"MIT"
] | null | null | null | //
// ViewController.h
// CLHUD
//
// Created by 谭春林 on 2019/3/3.
// Copyright © 2019 alitan2014. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 12.8125 | 53 | 0.678049 |
ad593f734005f84a66eb36f8a5dfd6e9251cc084 | 1,622 | h | C | include/Kraken/IO/IEPollable.h | Gilnaa/Kraken | 855a56cacc6e5d06a5435c853efa4261a1f9d07d | [
"MIT"
] | null | null | null | include/Kraken/IO/IEPollable.h | Gilnaa/Kraken | 855a56cacc6e5d06a5435c853efa4261a1f9d07d | [
"MIT"
] | null | null | null | include/Kraken/IO/IEPollable.h | Gilnaa/Kraken | 855a56cacc6e5d06a5435c853efa4261a1f9d07d | [
"MIT"
] | 1 | 2019-12-26T16:01:16.000Z | 2019-12-26T16:01:16.000Z | /**
* Copyright (c) 2016 Gilad Naaman
*
* 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 restriction, including without limitation the rights
* to use, copy, modify, merge, publ... | 33.102041 | 81 | 0.719482 |
34b5e2337dcfc6b39d2cdf81e87ee43ed3449b0f | 9,026 | h | C | System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/CameraEffectsKit.framework/JFXCompositionPlayer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:04 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CameraEffectsKit.framework/CameraEffectsKit
* classdump-dyld is licensed under GPLv3, Copyright © 20... | 59.774834 | 234 | 0.764347 |
f62b0d6970593fc17de13ba09a96b67c9a030fdc | 1,867 | h | C | DSBurnInfo.h | bruno975/truedisc | 368715d4744356b2fb3be51a44442dd7e9a9fb2e | [
"MIT"
] | 4 | 2015-02-15T17:14:48.000Z | 2018-04-06T03:10:30.000Z | DSBurnInfo.h | bruno975/truedisc | 368715d4744356b2fb3be51a44442dd7e9a9fb2e | [
"MIT"
] | null | null | null | DSBurnInfo.h | bruno975/truedisc | 368715d4744356b2fb3be51a44442dd7e9a9fb2e | [
"MIT"
] | null | null | null | //
// DSBurnInfo.h
// TrueDisc
//
// Created by Erich Ocean on 2/18/07.
// Copyright 2007 Erich Atlas Ocean. All rights reserved.
//
struct EncoderInfo {
uint64_t section;
uint32_t offset;
};
@interface DSBurnInfo : NSObject
{
NSString *filepath;
uint64_t storageCapacity;
uint64_t postEncodedS... | 21.45977 | 67 | 0.729513 |
86233a9b4be8f2cb4db58bc2599430b0692fbac9 | 509 | h | C | Commands/command.h | yang-han/GraphicsEditor | 371af0acd8e01dec417b06699362f6d42bf8d981 | [
"MIT"
] | 32 | 2018-11-15T09:11:06.000Z | 2022-02-15T04:03:10.000Z | Commands/command.h | sleeepyy/GraphicsEditor | 371af0acd8e01dec417b06699362f6d42bf8d981 | [
"MIT"
] | null | null | null | Commands/command.h | sleeepyy/GraphicsEditor | 371af0acd8e01dec417b06699362f6d42bf8d981 | [
"MIT"
] | 10 | 2018-11-15T09:11:08.000Z | 2021-07-12T01:19:14.000Z | #ifndef COMMAND_H
#define COMMAND_H
#include "Parameters/parameters.h"
#include <string>
#include <memory>
#include "ViewModel/viewmodel.h"
class ViewModel;
class Command
{
protected:
std::shared_ptr<Parameters> params;
public:
Command();
void set_parameters(std::shared_ptr<Parameters> parameters){
... | 18.178571 | 64 | 0.707269 |
19ec4bb75d4b728eb854060cf3278a754558b018 | 1,402 | h | C | src/vcm/vcm/Walker.h | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | 19 | 2016-11-07T00:01:19.000Z | 2021-12-29T05:35:14.000Z | src/vcm/vcm/Walker.h | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | 33 | 2016-07-06T21:58:05.000Z | 2020-08-01T18:18:24.000Z | src/vcm/vcm/Walker.h | PearCoding/PearRay | 8654a7dcd55cc67859c7c057c7af64901bf97c35 | [
"MIT"
] | null | null | null | #pragma once
#include "Profiler.h"
#include "SceneLoadContext.h"
#include "material/IMaterial.h"
#include "Defaults.h"
#include <optional>
namespace PR {
/// Simple recursive random walker
class Walker {
private:
size_t mMaxRayDepth;
public:
inline explicit Walker(size_t maxDepth)
: mMaxRayDepth(maxDepth)
{
... | 24.596491 | 116 | 0.696148 |
057c7a9c5b5a4507488dd04501cffec0d44624d1 | 835 | h | C | Applications/TVNowPlayingService/TVNPMediaItem.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | Applications/TVNowPlayingService/TVNPMediaItem.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | Applications/TVNowPlayingService/TVNPMediaItem.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:01:19 PM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /Applications/TVNowPlayingService.app/TVNowPlayingService
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... | 32.115385 | 145 | 0.778443 |
e8823b14cf974ad51b75d6227b117a98654c4ceb | 1,048 | h | C | iOSATAPPSDK/ATLib/ATMacros.h | cataler/iOSATAPPSDK | 568c6f0daea4926bacd8cc0a6d8809e9c54337bb | [
"MIT"
] | null | null | null | iOSATAPPSDK/ATLib/ATMacros.h | cataler/iOSATAPPSDK | 568c6f0daea4926bacd8cc0a6d8809e9c54337bb | [
"MIT"
] | null | null | null | iOSATAPPSDK/ATLib/ATMacros.h | cataler/iOSATAPPSDK | 568c6f0daea4926bacd8cc0a6d8809e9c54337bb | [
"MIT"
] | null | null | null | //
// ATMacros.h
// iOSATAPPSDK
//
// Created by CaiAntao on 2016/10/13.
// Copyright © 2016年 CaiAntao. All rights reserved.
//
#ifndef ATMacros_h
#define ATMacros_h
#ifdef DEBUG
#define ATLog(s, ... ) NSLog( @"[%@ in line %d] ===============> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __L... | 33.806452 | 190 | 0.71374 |
b243ba4ef85375d904e6f511b604307554e2acf1 | 1,343 | c | C | compiler-rt/lib/builtins/divmodti4.c | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | compiler-rt/lib/builtins/divmodti4.c | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 7,584 | 2019-01-17T22:58:27.000Z | 2022-03-31T23:10:22.000Z | compiler-rt/lib/builtins/divmodti4.c | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | //===-- divmodti4.c - Implement __divmodti4 -------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 40.69697 | 80 | 0.453462 |
bf145e7f352c3cd087d93c4296446b362c5251c2 | 654 | h | C | PerchRTC/Renderers/PHEAGLRenderer.h | difujia/perchrtc | 2a79d1d9830887d070e7923e19b7a48d36b685c9 | [
"MIT"
] | 158 | 2015-05-12T20:00:41.000Z | 2021-11-14T19:44:39.000Z | PerchRTC/Renderers/PHEAGLRenderer.h | difujia/perchrtc | 2a79d1d9830887d070e7923e19b7a48d36b685c9 | [
"MIT"
] | 38 | 2015-05-12T22:22:39.000Z | 2016-10-26T02:41:29.000Z | PerchRTC/Renderers/PHEAGLRenderer.h | difujia/perchrtc | 2a79d1d9830887d070e7923e19b7a48d36b685c9 | [
"MIT"
] | 48 | 2015-05-13T19:56:19.000Z | 2020-02-05T05:38:37.000Z | //
// PHEAGLRenderer.h
// PerchRTC
//
// Created by Christopher Eagleston on 2015-05-06.
// Copyright (c) 2015 Perch Communications. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PHRenderer.h"
@interface PHEAGLRenderer : NSObject <PHRenderer>
- (instancetype)initWithDelegate:(id<PHRendererD... | 26.16 | 66 | 0.764526 |
bf2f8afd3917f16c39a4b3880d4e536d434b6151 | 214 | h | C | ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h | anchoriteFili/ForgetPassword | 9034f3f3efe5cc1e8c4193d8f5d344025a759374 | [
"MIT"
] | null | null | null | ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h | anchoriteFili/ForgetPassword | 9034f3f3efe5cc1e8c4193d8f5d344025a759374 | [
"MIT"
] | null | null | null | ForgetPasswordTest/ForgetPasswordTest/ForgetPasswordVC.h | anchoriteFili/ForgetPassword | 9034f3f3efe5cc1e8c4193d8f5d344025a759374 | [
"MIT"
] | null | null | null | //
// ForgetPasswordVC.h
// ForgetPasswordTest
//
// Created by 赵宏亚 on 2017/8/7.
// Copyright © 2017年 赵宏亚. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ForgetPasswordVC : UIViewController
@end
| 15.285714 | 47 | 0.700935 |
bf4508c2d396fcd7446d77fcb49f2595b910357d | 2,676 | h | C | Tweak/Liddell.h | thatcluda/Liddell | c8ea0adce11fdc4ff14a26f92d7b23db90d74067 | [
"MIT"
] | 1 | 2022-03-05T08:43:05.000Z | 2022-03-05T08:43:05.000Z | Tweak/Liddell.h | auriliasleep/Liddell | c8ea0adce11fdc4ff14a26f92d7b23db90d74067 | [
"MIT"
] | null | null | null | Tweak/Liddell.h | auriliasleep/Liddell | c8ea0adce11fdc4ff14a26f92d7b23db90d74067 | [
"MIT"
] | null | null | null | //
// Liddell.h
// Liddell
//
// Created by Alexandra (@thatcluda)
//
#import <UIKit/UIKit.h>
#import "Liddell-Swift.h"
#import <Kitten/libKitten.h>
#import "GcUniversal/GcColorPickerUtils.h"
#import "dlfcn.h"
#import <Cephei/HBPreferences.h>
HBPreferences* preferences = nil;
BOOL enabled = YES;
// visibility
BOO... | 25.980583 | 71 | 0.795964 |
452f1d6c7ba4c6e707b8c80ac518a0d968f34dea | 1,214 | h | C | RAT/settings.h | donovan680/RAT-Server | 28b2d1634994b38b346a51e6153f02eae287ced2 | [
"MIT"
] | 1 | 2020-11-16T15:44:28.000Z | 2020-11-16T15:44:28.000Z | RAT/settings.h | donovan680/RAT-Server | 28b2d1634994b38b346a51e6153f02eae287ced2 | [
"MIT"
] | null | null | null | RAT/settings.h | donovan680/RAT-Server | 28b2d1634994b38b346a51e6153f02eae287ced2 | [
"MIT"
] | 2 | 2020-05-21T09:51:22.000Z | 2021-03-07T15:43:07.000Z | #pragma once
#ifndef SETTINGS_H
#define SETTINGS_H
#include <string>
#include <Windows.h>
class Settings
{
public:
static std::string serverIP;
static int serverPort;
static std::string fileName; //file name
static std::string folderName; //folder name
static std::string startupName; //st... | 37.9375 | 165 | 0.752059 |
bfd516c4a6fcc6bc0fba8f057a20840f39ce5568 | 1,921 | c | C | random-ip.c | anders94/geoipdns | 2a1975ff7f9a053bee055bf1deff6d21fbedfa07 | [
"MIT"
] | 3 | 2019-04-18T06:46:15.000Z | 2022-02-20T18:51:34.000Z | random-ip.c | anders94/geoipdns | 2a1975ff7f9a053bee055bf1deff6d21fbedfa07 | [
"MIT"
] | null | null | null | random-ip.c | anders94/geoipdns | 2a1975ff7f9a053bee055bf1deff6d21fbedfa07 | [
"MIT"
] | null | null | null | #include "buffer.h"
#include "exit.h"
#include "fmt.h"
#include "scan.h"
#include "dns.h"
char ip[4];
int ipfixed = 0;
unsigned long loops = 10000;
unsigned char tab[256];
char strnum[FMT_ULONG];
char seed[128];
int main(int argc,char **argv)
{
unsigned long u;
int i;
int j;
unsigned char c;
dns_random_i... | 23.716049 | 64 | 0.534097 |
db674701d45e745f158d3e44c030ac359e1e198c | 6,069 | h | C | dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Sandbox/Plugins/EditorCommon/Serialization/Pointers.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* 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 below or t... | 22.815789 | 115 | 0.453946 |
ec2b45170cb29c9ce1171245c9955b475b8a6d61 | 2,242 | h | C | ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h | zziazm/ZMClass | 096bf05660ea937a4c5f321313f495c882fc4afb | [
"MIT"
] | null | null | null | ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h | zziazm/ZMClass | 096bf05660ea937a4c5f321313f495c882fc4afb | [
"MIT"
] | null | null | null | ZMClass/mp_framework/mpsdk_componentinterface.framework/Headers/CardSideTlvHandler.h | zziazm/ZMClass | 096bf05660ea937a4c5f321313f495c882fc4afb | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2018, MasterCard International Incorporated and/or its
* affiliates. All rights reserved.
*
* The contents of this file may only be used subject to the MasterCard
* Mobile Payment SDK for MCBP and/or MasterCard Mobile MPP UI SDK
* Materials License.
*
* Please refer to the file LICENSE... | 29.5 | 92 | 0.731044 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.