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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d01ca2630dcfda1f73757462460fd21824592b89 | 258 | c | C | src/main.c | yansyaf/cmake-c-cpp-library-template | cc2ffb3e56ef06d8b48d50b6695c4cacbae80253 | [
"Apache-2.0"
] | 1 | 2016-02-27T23:35:30.000Z | 2016-02-27T23:35:30.000Z | src/main.c | yansyaf/cmake-c-cpp-library-template | cc2ffb3e56ef06d8b48d50b6695c4cacbae80253 | [
"Apache-2.0"
] | null | null | null | src/main.c | yansyaf/cmake-c-cpp-library-template | cc2ffb3e56ef06d8b48d50b6695c4cacbae80253 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include "func.h"
int main(int argc, char *argv[])
{
int a, b, c;
if (argc < 2)
return 1; //need two argument
a = atoi(argv[1]);
b = atoi(argv[2]);
c = func(a, b);
if (c == (a+b))
return 0;
else
return 1;
} | 11.727273 | 33 | 0.511628 |
40145cc5b000569a171bad7a1c8e2ba736747dab | 294 | c | C | hello-world/main.c | omelianlevkovych/c-more-than-hello-world | 09f9806994a1c0cd6bd233af835454491a2a74d5 | [
"MIT"
] | null | null | null | hello-world/main.c | omelianlevkovych/c-more-than-hello-world | 09f9806994a1c0cd6bd233af835454491a2a74d5 | [
"MIT"
] | null | null | null | hello-world/main.c | omelianlevkovych/c-more-than-hello-world | 09f9806994a1c0cd6bd233af835454491a2a74d5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
struct Pet
{
char name[50];
char breed[50];
int age;
};
int main()
{
struct Pet pet;
pet.age = 2;
strcpy(pet.name, "Jeck");
strcpy(pet.breed, "French BDog");
printf("%s", strcat(pet.name, pet.breed));
return 0;
}
| 12.25 | 46 | 0.561224 |
f4329efc41c0d2765bfee619a870baa94c560f7d | 10,341 | c | C | test/qs_ignore_sp/test_qs_ignore_sp.c | unpush/mod_chxj | b4dc76ad0f5c843c1b250fd0ee4c0616bbc39c48 | [
"Apache-2.0"
] | 1 | 2016-05-08T13:23:59.000Z | 2016-05-08T13:23:59.000Z | test/qs_ignore_sp/test_qs_ignore_sp.c | unpush/mod_chxj | b4dc76ad0f5c843c1b250fd0ee4c0616bbc39c48 | [
"Apache-2.0"
] | null | null | null | test/qs_ignore_sp/test_qs_ignore_sp.c | unpush/mod_chxj | b4dc76ad0f5c843c1b250fd0ee4c0616bbc39c48 | [
"Apache-2.0"
] | null | null | null | #include <CUnit/CUnit.h>
#include <CUnit/Console.h>
#include <CUnit/Basic.h>
#include <stdio.h>
#define CHXJ_TEST
#define IMG_NOT_CONVERT_FILENAME
#include "apr.h"
#include "apr_strings.h"
#include "chxj_apache.h"
#include "chxj_str_util.h"
#include "chxj_str_util.c"
#include "qs_ignore_sp.c"
#include "qs_log.c"
#incl... | 25.407862 | 124 | 0.600135 |
4871856545141a703b6cfe766124fd5886c59750 | 1,884 | h | C | BigFishLib/bleptables.h | ThisIsNotRocketScience/Eurorack-KDS | 1e8d76e1313cc910b9dcdf8811bec15de17489eb | [
"MIT"
] | 16 | 2016-01-02T01:20:31.000Z | 2021-10-05T17:45:36.000Z | BigFishLib/bleptables.h | ThisIsNotRocketScience/Eurorack-KDS | 1e8d76e1313cc910b9dcdf8811bec15de17489eb | [
"MIT"
] | 1 | 2017-04-21T14:25:31.000Z | 2017-04-21T14:25:31.000Z | BigFishLib/bleptables.h | ThisIsNotRocketScience/Eurorack-KDS | 1e8d76e1313cc910b9dcdf8811bec15de17489eb | [
"MIT"
] | 9 | 2016-01-02T01:20:44.000Z | 2022-02-02T03:51:33.000Z | /*
* Copyright (C) 2011 by Lauri Koponen, lauri.koponen@iki.fi
*
* 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, c... | 34.888889 | 79 | 0.759554 |
73aee8247c51e75b3178c5dd0d282df4bd175cd0 | 1,501 | h | C | src/query_engine/test/query_test.h | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | 1 | 2015-11-08T07:28:10.000Z | 2015-11-08T07:28:10.000Z | src/query_engine/test/query_test.h | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | src/query_engine/test/query_test.h | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#ifndef QUERY_TEST_H_
#define QUERY_TEST_H_
#include "base/logging.h"
#include <boost/assign/list_of.hpp>
#include <exception>
#include <boost/lexical_cast.hpp>
#include <boost/bind.hpp>
#include <boost/assign/list_of.hpp>
#include "base/task.h"... | 31.93617 | 157 | 0.710859 |
214afc45abe13e6d884a33110e6e2dfb9cd3517a | 8,422 | c | C | student-distrib/keyboard.c | rishabnathan/LinuxOperatingSystem | 7153c57e7d989f7c769e943c9a8139244f8b09bb | [
"AFL-1.1"
] | null | null | null | student-distrib/keyboard.c | rishabnathan/LinuxOperatingSystem | 7153c57e7d989f7c769e943c9a8139244f8b09bb | [
"AFL-1.1"
] | null | null | null | student-distrib/keyboard.c | rishabnathan/LinuxOperatingSystem | 7153c57e7d989f7c769e943c9a8139244f8b09bb | [
"AFL-1.1"
] | null | null | null | /*
* keyboard.c --> functions for the Keyboard
*/
#include "keyboard.h"
#include "terminal.h"
#include "i8259.h"
#include "lib.h"
volatile uint8_t isShift;
volatile uint8_t isCaps;
static uint8_t isAlt;
volatile uint8_t isCtrl;
volatile uint8_t isTab;
// arrays to translate hexadecimal values from keyboard t... | 30.18638 | 123 | 0.518879 |
f604c7f125463d4d391e0f96cc630a5ad4ff2b3d | 250 | h | C | CMWAFSManager/CMWAFSManager/Misc/SegueBetweenEmbedded.h | Deadpikle/CMWAFSManager | 90a79fef1ce00c5839420a9bf88ca5c7e3e91e0c | [
"MIT"
] | 2 | 2018-05-01T09:03:14.000Z | 2020-12-23T21:18:25.000Z | CMWAFSManager/CMWAFSManager/Misc/SegueBetweenEmbedded.h | Deadpikle/CMWAFSManager | 90a79fef1ce00c5839420a9bf88ca5c7e3e91e0c | [
"MIT"
] | 1 | 2017-08-22T16:46:38.000Z | 2017-08-22T17:00:22.000Z | CMWAFSManager/CMWAFSManager/Misc/SegueBetweenEmbedded.h | Deadpikle/CMWAFSManager | 90a79fef1ce00c5839420a9bf88ca5c7e3e91e0c | [
"MIT"
] | null | null | null | //
// SegueBetweenEmbedded.h
// SampleContainerViewUse
//
// Created by School of Computing Macbook on 3/29/17.
// Copyright © 2017 CIRC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface SegueBetweenEmbedded : NSStoryboardSegue
@end
| 17.857143 | 54 | 0.732 |
1fd3648072a022c0d2ef794456bdfafb39919a74 | 787 | c | C | src/arch/x86_64/kernel/panic.c | malbx/willOS | ebda1e15515aa0f6c83596995513fe23b0410279 | [
"MIT"
] | 229 | 2017-05-22T16:48:19.000Z | 2021-11-18T18:43:03.000Z | src/arch/x86_64/kernel/panic.c | malbx/willOS | ebda1e15515aa0f6c83596995513fe23b0410279 | [
"MIT"
] | 95 | 2017-05-22T16:35:44.000Z | 2021-11-17T22:28:36.000Z | src/arch/x86_64/kernel/panic.c | malbx/willOS | ebda1e15515aa0f6c83596995513fe23b0410279 | [
"MIT"
] | 28 | 2017-05-23T16:06:42.000Z | 2021-11-15T07:15:15.000Z | #include "panic.h"
#include <core/isr.h>
#include <drivers/vga_text.h>
#include <stdio.h>
void kernel_panic(const char* format, ...)
{
printf("\033[0;31m");
va_list arg;
va_start(arg, format);
vprintf(format, arg);
va_end(arg);
kernel_dump_stacktrace();
printf("\n\n%45s\033[0m", "SYSTEM HALTED!");
... | 17.886364 | 47 | 0.628971 |
7937bcf796e79a99d1e0d6ef0def6356bada149f | 87 | c | C | contrib/gnu/gdb/dist/ld/testsuite/ld-ctf/slice.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2021-05-04T17:09:06.000Z | 2021-10-04T07:19:26.000Z | contrib/gnu/gdb/dist/ld/testsuite/ld-ctf/slice.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | contrib/gnu/gdb/dist/ld/testsuite/ld-ctf/slice.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | struct slices {
int one : 1;
int two : 2;
int six : 6;
int ten :10;
} slices;
| 12.428571 | 15 | 0.54023 |
e843ae0e332232cbb59d1bf6b97f2d8ebda219b4 | 7,144 | c | C | src/i2c_twi.c | mkm684/TMP102-driver | ef4c82853bdb147f47225dda2e4bac06382b4477 | [
"BSD-2-Clause"
] | null | null | null | src/i2c_twi.c | mkm684/TMP102-driver | ef4c82853bdb147f47225dda2e4bac06382b4477 | [
"BSD-2-Clause"
] | null | null | null | src/i2c_twi.c | mkm684/TMP102-driver | ef4c82853bdb147f47225dda2e4bac06382b4477 | [
"BSD-2-Clause"
] | null | null | null | #include "i2c_twi.h"
//I2C
struct TMP102 *me; // intenral use
/* equation
SCL frequency (BR) = (F_CPU) / (16 + 2*TWBR * prescaler)*/
static void i2c_init_baud_rate(uint8_t buad_rate, uint8_t prescaler)
{
// SCL freq 50khz
TWSR = 0x00;
TWBR = 0x96;
TWCR |= 1 << TWEN;
}
//TRA... | 25.790614 | 88 | 0.528835 |
e5f061566a6b52d477b31b2783fab33b5ee1174f | 5,390 | c | C | EfiLib/BdsHelper.c | startergo/NextLoader | af3389f09dfd966c4270a062de0d7389afbe0e00 | [
"BSD-3-Clause"
] | null | null | null | EfiLib/BdsHelper.c | startergo/NextLoader | af3389f09dfd966c4270a062de0d7389afbe0e00 | [
"BSD-3-Clause"
] | 1 | 2021-03-25T18:58:06.000Z | 2021-03-25T18:59:07.000Z | EfiLib/BdsHelper.c | startergo/NextLoader | af3389f09dfd966c4270a062de0d7389afbe0e00 | [
"BSD-3-Clause"
] | null | null | null | /*
* EfiLib/BdsHelper.c
* Functions to call legacy BIOS API.
*
*/
/**
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full t... | 38.5 | 124 | 0.632839 |
b26c367500b8b90ec7bb98891af9e69729275771 | 4,093 | h | C | src/media/playback/mediaplayer/test/fakes/fake_audio.h | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | 4 | 2020-02-23T09:02:06.000Z | 2022-01-08T17:06:28.000Z | src/media/playback/mediaplayer/test/fakes/fake_audio.h | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | null | null | null | src/media/playback/mediaplayer/test/fakes/fake_audio.h | gnoliyil/fuchsia | a98c2d6ae44b7c485c2ee55855d0441da422f4cf | [
"BSD-2-Clause"
] | 1 | 2021-08-23T11:33:57.000Z | 2021-08-23T11:33:57.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_MEDIA_PLAYBACK_MEDIAPLAYER_TEST_FAKES_FAKE_AUDIO_H_
#define SRC_MEDIA_PLAYBACK_MEDIAPLAYER_TEST_FAKES_FAKE_AUDIO_H_
#include <fuchsia/media/cp... | 35.284483 | 99 | 0.74493 |
209286a099083ed829016c5870ce905b085be55e | 16,049 | c | C | src/espgoodies/system.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 3 | 2020-05-01T20:26:22.000Z | 2021-11-11T10:04:31.000Z | src/espgoodies/system.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 13 | 2020-04-19T22:28:31.000Z | 2021-02-03T21:52:34.000Z | src/espgoodies/system.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 3 | 2019-07-27T15:08:09.000Z | 2021-04-21T05:13:11.000Z |
/*
* Copyright 2019 The qToggle Team
*
* 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 agre... | 30.110694 | 119 | 0.660913 |
7cb93491a9eaa73f0e88169f03fa3176def50d4d | 7,901 | h | C | benchmarks/src/cuda/oop-coal/PR/kernel.h | charitha22/asplos_2021_ae | cd9316a57ee4db85ba3ceaa362e839ab4075d0df | [
"BSD-2-Clause"
] | null | null | null | benchmarks/src/cuda/oop-coal/PR/kernel.h | charitha22/asplos_2021_ae | cd9316a57ee4db85ba3ceaa362e839ab4075d0df | [
"BSD-2-Clause"
] | null | null | null | benchmarks/src/cuda/oop-coal/PR/kernel.h | charitha22/asplos_2021_ae | cd9316a57ee4db85ba3ceaa362e839ab4075d0df | [
"BSD-2-Clause"
] | 2 | 2021-07-21T23:52:36.000Z | 2022-02-10T17:14:39.000Z | void initContext(GraphChiContext *context, int vertices, int edges) {
context->setNumIterations(0);
context->setNumVertices(vertices);
context->setNumEdges(edges);
}
void part0_initObject(ChiVertex<float, float> **vertex,
GraphChiContext *context, int *row, int *col, int *inrow,
int *incol, obj_alloc... | 30.624031 | 77 | 0.60448 |
0c63080dd403c2e3e67a70b027ac24d8704d0e3c | 1,758 | h | C | graph djikstra/cs250final.h | zlb323/Portfolio | f8c86790b274968c6971756b50db4454df48b079 | [
"Apache-2.0"
] | null | null | null | graph djikstra/cs250final.h | zlb323/Portfolio | f8c86790b274968c6971756b50db4454df48b079 | [
"Apache-2.0"
] | null | null | null | graph djikstra/cs250final.h | zlb323/Portfolio | f8c86790b274968c6971756b50db4454df48b079 | [
"Apache-2.0"
] | null | null | null | #pragma once
class Graph {
private:
int** adjacencyMatrix;
int vertexCount;
public:
int getvertcount()
{
return vertexCount;
}
Graph(int vertexCount)
{
this->vertexCount = vertexCount;
adjacencyMatrix = new int*[vertexCount];
for (int i = 0; i < vertexCount; i++)
{
adjacencyMatrix[i] = new int[vertexCo... | 22.831169 | 210 | 0.608646 |
672ec2d2127dbb07a26adba88a15fb46970ed335 | 1,019 | h | C | topAndBottomRefreshing/topAndBottomRefreshing/topAndBottomRefresh.h | bianzhifeng/topAndBottomRefreshing | 4dab6cb6163db0cc80eaf64ebee65dcbeb75ff5b | [
"Apache-2.0"
] | 2 | 2015-08-16T12:38:40.000Z | 2015-08-18T07:39:49.000Z | topAndBottomRefreshing/topAndBottomRefreshing/topAndBottomRefresh.h | bianzhifeng/topAndBottomRefreshing | 4dab6cb6163db0cc80eaf64ebee65dcbeb75ff5b | [
"Apache-2.0"
] | null | null | null | topAndBottomRefreshing/topAndBottomRefreshing/topAndBottomRefresh.h | bianzhifeng/topAndBottomRefreshing | 4dab6cb6163db0cc80eaf64ebee65dcbeb75ff5b | [
"Apache-2.0"
] | null | null | null | //
// topAndBottomRefresh.h
// 上拉刷新与下拉刷新
//
// Created by 边智峰 on 15/8/16.
// Copyright (c) 2015年 边智峰. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface topAndBottomRefresh : NSObject
// 上拉刷新 */
// ** urlStr 网络请求的地址
// ** vc 显示数据的控制器
// ** dict 网络请求的参数
// ** clazz 存储网络请求数... | 31.84375 | 252 | 0.713445 |
56426325bc1a934e7ca961a55223cb658aa6d6b5 | 6,825 | h | C | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/sunrpc/rpc/auth.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/sunrpc/rpc/auth.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/sunrpc/rpc/auth.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | /*
* auth.h, Authentication interface.
*
* Copyright (c) 2010, Oracle America, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* ... | 33.455882 | 80 | 0.68044 |
0b42b9c0afa91c45c6cd98c4f6431ba7e0dc7d83 | 288 | h | C | WPI Calendar Event Creator/WPITutorialViewController.h | dbogatov/wpi-calendar-event-creator | d626547bd22f23f77ba69bc6445526953e52447f | [
"MIT"
] | null | null | null | WPI Calendar Event Creator/WPITutorialViewController.h | dbogatov/wpi-calendar-event-creator | d626547bd22f23f77ba69bc6445526953e52447f | [
"MIT"
] | null | null | null | WPI Calendar Event Creator/WPITutorialViewController.h | dbogatov/wpi-calendar-event-creator | d626547bd22f23f77ba69bc6445526953e52447f | [
"MIT"
] | null | null | null | //
// WPITutorialViewController.h
// WPI Calendar Event Creator
//
// Created by Dmytro Bogatov on 3/26/14.
// Copyright (c) 2014 Dima4ka. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WPITutorialViewController : UIViewController <UIPageViewControllerDataSource>
@end
| 20.571429 | 88 | 0.75 |
72c3b8440284091091fab2e56938cc55765f2967 | 6,629 | h | C | Memories.framework/MiroAutoLayoutClip.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | Memories.framework/MiroAutoLayoutClip.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | Memories.framework/MiroAutoLayoutClip.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/Memories.framework/Memories
*/
@interface MiroAutoLayoutClip : NSObject {
unsigned long long _altAssignedKBStyle;
NSDictionary * _altAssignedTreatmentDict;
int _altAssignedTreatmentStyle;
int _altRequiredTreatmentStyle;
... | 36.423077 | 114 | 0.786846 |
3cf2df4c3c5c1902f56855fe95bb472b7e230a8c | 535 | h | C | Player.h | AsgerWJ/Dark-World | 90ea58619a1eb64bf09a92d1f6586aa71d99c520 | [
"Zlib"
] | null | null | null | Player.h | AsgerWJ/Dark-World | 90ea58619a1eb64bf09a92d1f6586aa71d99c520 | [
"Zlib"
] | null | null | null | Player.h | AsgerWJ/Dark-World | 90ea58619a1eb64bf09a92d1f6586aa71d99c520 | [
"Zlib"
] | null | null | null | #ifndef PLAYER_H
#define PLAYER_H
#include "BaseEntity.h"
namespace dw
{
class Player : public BaseEntity
{
public:
Player(sf::Vector2f spawnPos);
void SetMovingDirection(sf::Vector2f movementDir);
int Update(const sf::Time &timeFrame);
void loadTexture(sf::Texture *texture);
protected:
... | 18.448276 | 79 | 0.704673 |
738813326b2c17f9a6747284be1beff349ef1ba4 | 377 | h | C | Source/App/Core.h | trevortheblack/Physically_Based_Renderer | 18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344 | [
"MIT"
] | 1 | 2020-09-16T19:42:06.000Z | 2020-09-16T19:42:06.000Z | Source/App/Core.h | trevordblack/Physically_Based_Renderer | 18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344 | [
"MIT"
] | null | null | null | Source/App/Core.h | trevordblack/Physically_Based_Renderer | 18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344 | [
"MIT"
] | null | null | null | #ifndef CORE_H
#define CORE_H
#include <stdint.h>
namespace Loxodonta
{
// Core only contains typedefs at the moment
using i64 = int64_t;
using i32 = int32_t;
using i16 = int16_t;
using i8 = int8_t;
using uint = unsigned int;
using u64 = uint64_t;
using u32 = uint32_t;
using u16 = uint16_t;
using u8 = uint8_t;
usi... | 13.962963 | 44 | 0.713528 |
4803c6c2e61912e01519cee153035e617d331452 | 1,198 | h | C | src/FSVerticalTabBarController.h | futuresimple/FSVerticalTabBarController | ae38dfb52c43b50836f20f5d1b995f631633fe41 | [
"MIT"
] | 55 | 2015-01-30T05:49:58.000Z | 2021-10-04T17:52:01.000Z | src/FSVerticalTabBarController.h | pierlis/FSVerticalTabBarController | b40c3d2202893e3ec83f1ccdff9bae823bfe6627 | [
"MIT"
] | 1 | 2019-11-20T13:27:35.000Z | 2019-11-20T13:27:35.000Z | src/FSVerticalTabBarController.h | pierlis/FSVerticalTabBarController | b40c3d2202893e3ec83f1ccdff9bae823bfe6627 | [
"MIT"
] | 13 | 2015-02-09T08:50:25.000Z | 2020-02-12T09:25:04.000Z | //
// FSVerticalTabBarController.h
// iOS-Platform
//
// Created by Błażej Biesiada on 4/6/12.
// Copyright (c) 2012 Future Simple. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FSVerticalTabBar.h"
@class FSVerticalTabBarController, FSVerticalTabBar;
@protocol FSTabBarControllerDelegate <NSObject>
@... | 31.526316 | 134 | 0.808848 |
212008a66c8df045f76dd56d9b571ab395e82ab1 | 1,273 | h | C | src/hash_table.h | AkashBujju/Data-Oriented-Computer-Simulation | e23661c74207d4a3a1baf7cd6915253b3d8f5d42 | [
"BSD-3-Clause"
] | null | null | null | src/hash_table.h | AkashBujju/Data-Oriented-Computer-Simulation | e23661c74207d4a3a1baf7cd6915253b3d8f5d42 | [
"BSD-3-Clause"
] | null | null | null | src/hash_table.h | AkashBujju/Data-Oriented-Computer-Simulation | e23661c74207d4a3a1baf7cd6915253b3d8f5d42 | [
"BSD-3-Clause"
] | null | null | null | #ifndef HASH_TABLE_H
#define HASH_TABLE_H
typedef struct Road Road;
typedef struct Junction Junction;
typedef struct Signal Signal;
typedef struct Car Car;
typedef struct Model Model;
unsigned int compute_hash(const unsigned int id, const unsigned int limit);
void put_road(unsigned int *all_ids, Road *roads, unsigne... | 50.92 | 119 | 0.782404 |
554eecd30f680e252dfa348cc28de35dbe7d0712 | 3,136 | h | C | time_interval.h | dvdvideo1234/LapTimer | 88ad9ef06da8b0e02c0e5638bedf16c7c81441aa | [
"Apache-2.0"
] | null | null | null | time_interval.h | dvdvideo1234/LapTimer | 88ad9ef06da8b0e02c0e5638bedf16c7c81441aa | [
"Apache-2.0"
] | null | null | null | time_interval.h | dvdvideo1234/LapTimer | 88ad9ef06da8b0e02c0e5638bedf16c7c81441aa | [
"Apache-2.0"
] | null | null | null | #if !defined _TIME_INTERVAL_H_
#include <time.h>
#define _TIME_INTERVAL_H_
#define TIME_INTERVAL unsigned int
typedef class time_interval
{
protected:
TIME_INTERVAL clk;
TIME_INTERVAL h;
TIME_INTERVAL m;
TIME_INTERVAL s;
void (*hook)(void);
public:
... | 51.409836 | 127 | 0.59949 |
99de427b3ae8468805a4a3fc115bd10ce81555f7 | 25,268 | c | C | src/sys/contrib/ncsw/Peripherals/FM/Rtc/fm_rtc.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sys/contrib/ncsw/Peripherals/FM/Rtc/fm_rtc.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sys/contrib/ncsw/Peripherals/FM/Rtc/fm_rtc.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*
* Copyright 2008-2012 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | 36.46176 | 170 | 0.634874 |
9f791b1bb2082c5fe96db4b20d540d54ec332627 | 490 | h | C | www/snapper/include/class/_pCollectionCapabilities.h | lenovo/Snapper | 4300739bbdf0b101c7ddd8be09c89f582bf47202 | [
"BSD-3-Clause"
] | 4 | 2019-09-04T23:49:58.000Z | 2020-08-05T05:46:49.000Z | www/snapper/include/class/_pCollectionCapabilities.h | lenovo/Snapper | 4300739bbdf0b101c7ddd8be09c89f582bf47202 | [
"BSD-3-Clause"
] | 1 | 2019-09-24T20:42:29.000Z | 2019-09-25T00:28:19.000Z | www/snapper/include/class/_pCollectionCapabilities.h | lenovo/Snapper | 4300739bbdf0b101c7ddd8be09c89f582bf47202 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------
// <copyright file="_pCollectionCapabilities.h" company="Lenovo">
// Copyright (c) 2018-present, Lenovo. All rights reserved. Licensed under BSD, see COPYING.BSD file for details.
// </copyright>
//-------------------------------------------... | 32.666667 | 120 | 0.455102 |
195a4daf7aff0f0caad54351eb2dbb4052f9898e | 4,103 | c | C | examples/Fade.c | flobernd/raspi-apa102 | 58460640427d0240fdfd63fa3a6f4b051e5a5e48 | [
"MIT"
] | 1 | 2019-10-29T14:40:27.000Z | 2019-10-29T14:40:27.000Z | examples/Fade.c | flobernd/raspi-apa102 | 58460640427d0240fdfd63fa3a6f4b051e5a5e48 | [
"MIT"
] | 1 | 2020-04-07T14:00:07.000Z | 2020-04-07T15:52:03.000Z | examples/Fade.c | flobernd/raspi-apa102 | 58460640427d0240fdfd63fa3a6f4b051e5a5e48 | [
"MIT"
] | null | null | null | /***************************************************************************************************
Raspberry Pi APA102 Library
Original Author : Florian Bernd
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),... | 39.07619 | 100 | 0.475262 |
c52dbc091347737972e1d309688e72e7d18c3a34 | 1,205 | h | C | inst.h | trembeczkib/ISA-uProcessor | 8c8e6c7363a4f7c8ad89e0a7268de17139a4d68e | [
"MIT"
] | null | null | null | inst.h | trembeczkib/ISA-uProcessor | 8c8e6c7363a4f7c8ad89e0a7268de17139a4d68e | [
"MIT"
] | null | null | null | inst.h | trembeczkib/ISA-uProcessor | 8c8e6c7363a4f7c8ad89e0a7268de17139a4d68e | [
"MIT"
] | null | null | null | #ifndef H_INST
#define H_INST
#include <bitset>
class instruction {
public:
instruction();
instruction(const std::bitset<4>& type_code, const std::bitset<4>& destination_code, const std::bitset<4>& oper_a_code, const std::bitset<4>& oper_b_code);
instruction::instruction(const int& type_code, const in... | 31.710526 | 158 | 0.706224 |
27b7905807b1ce659ace16ed29f9209f07f5e424 | 5,109 | h | C | include/blogger/loggers/async_logger.h | 8infy/BLogger | e468c22e657d511d6f2ba801689bab73a88f101e | [
"Apache-2.0"
] | 27 | 2019-09-13T18:21:21.000Z | 2022-03-01T01:01:13.000Z | include/blogger/loggers/async_logger.h | 8infy/BLogger | e468c22e657d511d6f2ba801689bab73a88f101e | [
"Apache-2.0"
] | 5 | 2019-05-24T05:10:41.000Z | 2020-06-04T06:54:23.000Z | include/blogger/loggers/async_logger.h | 8infy/BLogger | e468c22e657d511d6f2ba801689bab73a88f101e | [
"Apache-2.0"
] | 10 | 2019-10-28T04:52:28.000Z | 2020-11-25T00:57:08.000Z | #pragma once
#include <thread>
#include <mutex>
#include <condition_variable>
#include <atomic>
#include <vector>
#include <deque>
#include <functional>
#include <memory>
#include "blogger/core.h"
#include "blogger/loggers/logger.h"
#include "blogger/sinks/file_sink.h"
#include "blogger/sinks/console_sink.h"
#inclu... | 22.310044 | 67 | 0.499511 |
7eda3b808f225ffa2cb83885fdc467cd2e77adab | 3,691 | h | C | CGBattle/CGBattle/CGUnit.h | misitegj/CGBattle | 17f597ff07ecd3cf661e2a96f69fd4124e08e3fb | [
"MIT"
] | null | null | null | CGBattle/CGBattle/CGUnit.h | misitegj/CGBattle | 17f597ff07ecd3cf661e2a96f69fd4124e08e3fb | [
"MIT"
] | null | null | null | CGBattle/CGBattle/CGUnit.h | misitegj/CGBattle | 17f597ff07ecd3cf661e2a96f69fd4124e08e3fb | [
"MIT"
] | null | null | null | //
// CGBattleUnit.h
// CGBattle
//
// Created by Samuel on 9/20/15.
// Copyright (c) 2015 Samuel. All rights reserved.
//
#import "CGSkill.h"
typedef enum {
CGActionUnitPrepare,
CGActionUnitWillAction,
CGActionUnitDidAction,
CGActionUnitEndAction,
CGActionUnitWillHurt,
CGAc... | 25.455172 | 94 | 0.714441 |
7d927174e5a74c1ce709f0d6a1edd91113311044 | 9,751 | h | C | schema-util/include/schema-util/Types.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 1 | 2021-08-20T12:14:11.000Z | 2021-08-20T12:14:11.000Z | schema-util/include/schema-util/Types.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 3 | 2021-06-16T19:25:23.000Z | 2021-09-02T14:39:10.000Z | schema-util/include/schema-util/Types.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | null | null | null | // SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc
//
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENFMB_ADAPTER_SCHEMAUTIL_TYPES_H
#define OPENFMB_ADAPTER_SCHEMAUTIL_TYPES_H
#include "IProperty.h"
#include <memory>
#include <utility>
#include <vector>
#include <map>
#include <set>
namespace adapter {
... | 29.911043 | 139 | 0.551533 |
47a2d0de0b176cd5695a69dadf2bd90533b0707d | 3,408 | h | C | src/fltk.h | zot/go-fltk | 617fb99069edea4f88c7c27fc051c3edc58360cc | [
"Zlib"
] | 16 | 2016-03-17T05:06:43.000Z | 2022-03-12T01:28:26.000Z | src/fltk.h | zot/go-fltk | 617fb99069edea4f88c7c27fc051c3edc58360cc | [
"Zlib"
] | 1 | 2021-06-14T14:45:03.000Z | 2021-07-01T20:49:16.000Z | src/fltk.h | zot/go-fltk | 617fb99069edea4f88c7c27fc051c3edc58360cc | [
"Zlib"
] | 8 | 2015-03-19T04:58:10.000Z | 2020-09-29T12:03:30.000Z | #ifdef __cplusplus
#define TYPEDEF(type) typedef fltk::type type
extern "C" {
#else
#define TYPEDEF(type) typedef struct type type
enum {
CTRL = 0x00040000, /*!< Either ctrl key held down */
ALT = 0x00080000, /*!< Either alt key held down */
META = 0x00400000, /*!< "Windows" or the "Apple" keys held down */
#i... | 37.043478 | 92 | 0.779343 |
2a25ad5ecfc53128b655ac6524f8eff91304c4ff | 1,553 | h | C | engines/ep/tests/mock/mock_add_stat_fn.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | engines/ep/tests/mock/mock_add_stat_fn.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | engines/ep/tests/mock/mock_add_stat_fn.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance... | 36.116279 | 79 | 0.672891 |
2a6a02ed88b02b3a852ef0519585803045ceb487 | 1,821 | h | C | ScribbleAppQt/QtMessageTickler.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | ScribbleAppQt/QtMessageTickler.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | ScribbleAppQt/QtMessageTickler.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | #ifndef QTMESSAGETICKLER_H
#define QTMESSAGETICKLER_H
class QtMessageTickler : public QObject, public CSI::PureWeb::Server::IResponseProvider, public CSI::PureWeb::Server::IStateManagerPlugin
{
private:
CSI::Collections::List<CSI::PureWeb::Server::ResponseInfo> m_empty;
CSI::PureWeb::Server::Stat... | 28.904762 | 138 | 0.605711 |
2a71e7c639c17191668341084c83a59a3cb1b2ed | 161 | h | C | ObjC/Weight/Kilogram.h | materik/unit | f6fa1bd2d6d493d53f60bd3d02adbebfc2c895a7 | [
"MIT"
] | 3 | 2016-02-16T13:17:47.000Z | 2016-02-18T11:32:48.000Z | ObjC/Weight/Kilogram.h | materik/unit | f6fa1bd2d6d493d53f60bd3d02adbebfc2c895a7 | [
"MIT"
] | 1 | 2016-05-11T14:25:04.000Z | 2016-05-11T14:25:04.000Z | ObjC/Weight/Kilogram.h | materik/unitility | f6fa1bd2d6d493d53f60bd3d02adbebfc2c895a7 | [
"MIT"
] | null | null | null | //
// Kilogram.h
// Pods
//
// Created by materik on 16/02/16.
//
//
#import "Unit.h"
#import "WeightProtocol.h"
@interface Kilogram : Unit <Weight>
@end
| 10.0625 | 35 | 0.614907 |
042bcf56dd74832bfe762c4b14f12a4e5dfb4544 | 1,751 | h | C | lib/memory.h | techno/mist32-demos | 601c6c55cb6aec7a4a4dcdfc7de4da631a441f6b | [
"BSD-2-Clause"
] | null | null | null | lib/memory.h | techno/mist32-demos | 601c6c55cb6aec7a4a4dcdfc7de4da631a441f6b | [
"BSD-2-Clause"
] | null | null | null | lib/memory.h | techno/mist32-demos | 601c6c55cb6aec7a4a4dcdfc7de4da631a441f6b | [
"BSD-2-Clause"
] | 1 | 2022-01-16T15:41:35.000Z | 2022-01-16T15:41:35.000Z | #define MEMORY_MAX_ADDR 0x04000000
#define STACK_SIZE 0x100000 /* 1MB */
#define PSR_MMUMOD_MASK 0x3
#define PSR_MMUMOD (PSR & PSR_MMUMOD_MASK)
#define PSR_MMUMOD_DIRECT 0x0
#define PSR_MMUMOD_L1 0x1
#define PSR_MMUMOD_L2 0x2
#define PSR_MMUPS_MASK 0x380
#define PSR_MMUPS_OFFSET 7
#define PSR_MMUPS ((PSR & PSR_MMUPS_... | 23.346667 | 69 | 0.755568 |
a490cbe46dae0ecddbf187e7ee3d5d1745a3bcf0 | 282 | h | C | Source/archive/m68k-amigaos/os-include/resources/potgo.h | aGGre55or/darkesthour | 2555bf2a328b895669c1ff2e7f1bb642da1b1eca | [
"Unlicense"
] | 21 | 2021-04-04T06:00:44.000Z | 2022-01-19T19:12:24.000Z | Source/archive/m68k-amigaos/os-include/resources/potgo.h | aGGre55or/darkesthour | 2555bf2a328b895669c1ff2e7f1bb642da1b1eca | [
"Unlicense"
] | null | null | null | Source/archive/m68k-amigaos/os-include/resources/potgo.h | aGGre55or/darkesthour | 2555bf2a328b895669c1ff2e7f1bb642da1b1eca | [
"Unlicense"
] | 2 | 2021-10-30T12:59:43.000Z | 2021-10-31T09:58:15.000Z | #ifndef RESOURCES_POTGO_H
#define RESOURCES_POTGO_H
/*
** $VER: potgo.h 36.0 (13.4.1990)
** Includes Release 45.1
**
** potgo resource name
**
** (C) Copyright 1986-2001 Amiga, Inc.
** All Rights Reserved
*/
#define POTGONAME "potgo.resource"
#endif /* RESOURCES_POTGO_H */
| 17.625 | 38 | 0.684397 |
d1020cce4018630e371f7832f6e37bbd959ac332 | 3,838 | h | C | physics/tests/vecPhysTests/Common/Hist.h | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-10-16T14:37:42.000Z | 2018-04-05T15:49:09.000Z | physics/tests/vecPhysTests/Common/Hist.h | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | physics/tests/vecPhysTests/Common/Hist.h | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #ifndef HIST_H
#define HIST_H
#include <iostream>
#include <cmath>
// IT IS JUST FOR TESTING
class Hist {
public:
Hist(double min, double max, int numbin)
{
fMin = min;
fMax = max;
fNumBins = numbin;
fDelta = (fMax - fMin) / (numbin);
fx = new double[fNumBins];
fy = ... | 24.291139 | 112 | 0.506514 |
01591f61420ac87eb62917df29b327e0cc7708f0 | 738 | h | C | rpi_tph_monitor_sample/lcd/cpp/LCDAQM.h | ono-t01/django-rpi-tph-monitor | 30894d937ece11f8c7d087dd735cd79b203f0cf4 | [
"MIT"
] | 1 | 2021-01-24T03:06:58.000Z | 2021-01-24T03:06:58.000Z | rpi_tph_monitor_sample/lcd/cpp/LCDAQM.h | ono-t01/django-rpi-tph-monitor | 30894d937ece11f8c7d087dd735cd79b203f0cf4 | [
"MIT"
] | 9 | 2021-03-18T21:47:39.000Z | 2021-11-22T23:55:35.000Z | rpi_tph_monitor_sample/lcd/cpp/LCDAQM.h | ono-t01/django-rpi-tph-monitor | 30894d937ece11f8c7d087dd735cd79b203f0cf4 | [
"MIT"
] | 4 | 2019-11-13T12:32:14.000Z | 2020-01-29T12:51:07.000Z | //---------------------------------
// 2016/8/24
#ifndef LCDAQM_H
#define LCDAQM_H
//---------------------------------
// Constant
//---------------------------------
// Class
class LCDAQM{
private:
//---------------------------------
// Constant
static const uint8_t i2cAdr = 0x3E;
//----------------------... | 14.470588 | 44 | 0.428184 |
0076fa1efd75672b8230bd25461fdc97524ac1f5 | 1,942 | h | C | include/kalmanif/impl/covariance_square_root_base.h | LaplaceKorea/kalmanif | 5e0f1f2275e22979afa39d8f67782929f21c1072 | [
"MIT"
] | 208 | 2021-04-10T17:11:56.000Z | 2022-03-31T08:10:24.000Z | include/kalmanif/impl/covariance_square_root_base.h | LaplaceKorea/kalmanif | 5e0f1f2275e22979afa39d8f67782929f21c1072 | [
"MIT"
] | 4 | 2021-04-13T20:21:17.000Z | 2021-04-13T22:14:57.000Z | include/kalmanif/impl/covariance_square_root_base.h | artivis/kalmanif | 5e0f1f2275e22979afa39d8f67782929f21c1072 | [
"MIT"
] | 22 | 2021-04-12T04:45:36.000Z | 2022-03-29T14:01:52.000Z | #ifndef _KALMANIF_KALMANIF_IMPL_COVARIANCE_SQUARE_ROOT_BASE_H_
#define _KALMANIF_KALMANIF_IMPL_COVARIANCE_SQUARE_ROOT_BASE_H_
namespace kalmanif {
namespace internal {
/**
* @brief Base class for objects with Covariance as a square root
*
* @tparam StateType The state type
*/
template <typename StateType>
struct ... | 25.552632 | 81 | 0.730175 |
2f3e9f7550bbff2f5f11d66b920ea593182f56a2 | 211 | h | C | ios/versioned-react-native/ABI45_0_0/Expo/ExpoKit/Core/UniversalModules/ABI45_0_0EXScopedReactNativeAdapter.h | ryo-rm/expo | 0c398d104ae125cc9fbe96826fd5c22802914a86 | [
"MIT"
] | null | null | null | ios/versioned-react-native/ABI45_0_0/Expo/ExpoKit/Core/UniversalModules/ABI45_0_0EXScopedReactNativeAdapter.h | ryo-rm/expo | 0c398d104ae125cc9fbe96826fd5c22802914a86 | [
"MIT"
] | null | null | null | ios/versioned-react-native/ABI45_0_0/Expo/ExpoKit/Core/UniversalModules/ABI45_0_0EXScopedReactNativeAdapter.h | ryo-rm/expo | 0c398d104ae125cc9fbe96826fd5c22802914a86 | [
"MIT"
] | null | null | null | // Copyright © 2018 650 Industries. All rights reserved.
#import <ABI45_0_0ExpoModulesCore/ABI45_0_0EXReactNativeAdapter.h>
@interface ABI45_0_0EXScopedReactNativeAdapter : ABI45_0_0EXReactNativeAdapter
@end
| 26.375 | 78 | 0.848341 |
d1b7e639f2cc38fb51784acbc9054012d6ae1bcd | 2,764 | c | C | GeeksForGeeks/doublylinkiedlist.c | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 42 | 2021-09-26T18:02:52.000Z | 2022-03-15T01:52:15.000Z | GeeksForGeeks/doublylinkiedlist.c | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 404 | 2021-09-24T19:55:10.000Z | 2021-11-03T05:47:47.000Z | GeeksForGeeks/doublylinkiedlist.c | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 140 | 2021-09-22T20:50:04.000Z | 2022-01-22T16:59:09.000Z | /*
Enter your question -
#Given a doubly-linked list of positive integers. The task is to print the given doubly linked list data in reverse order.
Constraints
Number of nodes [0, 5000].
-5000 <= Node.val <= 5000
Enter link to the question(if question belongs to any online platform) -
https://www.geeksforgee... | 24.245614 | 129 | 0.608177 |
7f441f8ca0d5201f00a1c0b6b572a318ca08e3aa | 9,126 | c | C | spl/common/printf.c | tao-eternal/d1-nezha-baremeta | 896f97a398aa9b59a54283830b7207e376783bc2 | [
"Apache-2.0"
] | 26 | 2021-06-29T13:10:01.000Z | 2022-03-27T05:29:19.000Z | spl/common/printf.c | tao-eternal/d1-nezha-baremeta | 896f97a398aa9b59a54283830b7207e376783bc2 | [
"Apache-2.0"
] | 2 | 2022-01-15T13:36:53.000Z | 2022-02-03T12:15:50.000Z | spl/common/printf.c | tao-eternal/d1-nezha-baremeta | 896f97a398aa9b59a54283830b7207e376783bc2 | [
"Apache-2.0"
] | 5 | 2021-12-24T12:03:10.000Z | 2022-03-11T08:54:17.000Z | // * SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <stdarg.h>
#include <arch/uart.h>
#include <linux/ctype.h>
#include <private_toc.h>
#include <private_boot0.h>
struct printf_info {
char *bf; /* Digit buffer */
char zs; /* non-zero if a digit has been written */
char *outstr; /* Next output posit... | 20.235033 | 74 | 0.557309 |
d22f498cab2430a0b11d48556ea1608d3f1afa35 | 294 | h | C | include/tml/common.h | bmytnyk/tml | bb753cf776c89f9fc5c70d515bb4cc23d695cd60 | [
"MIT"
] | null | null | null | include/tml/common.h | bmytnyk/tml | bb753cf776c89f9fc5c70d515bb4cc23d695cd60 | [
"MIT"
] | null | null | null | include/tml/common.h | bmytnyk/tml | bb753cf776c89f9fc5c70d515bb4cc23d695cd60 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <atomic>
#include <chrono>
#include <string>
namespace tml {
using operation_id_t = uint64_t;
using clock = std::chrono::steady_clock;
using time_point = std::chrono::time_point<clock>;
using duration = double;
};
| 16.333333 | 55 | 0.64966 |
d25173dbfc552cdb8a5e0950b5b4c09a68a3b043 | 2,531 | h | C | opendnp3/APL/PackingTemplates.h | rahul-sachdev/DNPSimulator | d78f6a3f2fe3b706fe73c163173f06c55af35b1e | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T01:27:21.000Z | 2021-05-14T08:06:33.000Z | opendnp3/APL/PackingTemplates.h | rahul-sachdev/DNPSimulator | d78f6a3f2fe3b706fe73c163173f06c55af35b1e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-04-15T06:32:48.000Z | 2019-04-15T06:52:33.000Z | opendnp3/APL/PackingTemplates.h | sentient-energy/emsw-opendnp3-mirror | a182a01c15f342fbd498e16b02865fd6d5d5be98 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2016-11-16T15:14:51.000Z | 2016-11-16T15:14:51.000Z | //
// Licensed to Green Energy Corp (www.greenenergycorp.com) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Green Enery Corp licenses this file
// to you under the Apache License, Version 2.0 (the
// "... | 26.925532 | 92 | 0.697748 |
cfc6636a9e90a002303c4e963888dc7d296cc254 | 2,718 | c | C | src/crypto/random.c | Skytells/Oxgram | fa42e7d1fc7fe8a809916bf96cd6e9ca476a0d70 | [
"MIT"
] | null | null | null | src/crypto/random.c | Skytells/Oxgram | fa42e7d1fc7fe8a809916bf96cd6e9ca476a0d70 | [
"MIT"
] | null | null | null | src/crypto/random.c | Skytells/Oxgram | fa42e7d1fc7fe8a809916bf96cd6e9ca476a0d70 | [
"MIT"
] | null | null | null | // Copyright (c) 2011-2016 The Skytells developers
// Distributed under the MIT/X11 software license, see the accompanying
// @license MIT : http://www.opensource.org/licenses/mit-license.php.
// @package Oxgram Cryptocurrency by Skytells, Inc.
#include <assert.h>
#include <stddef.h>
#include <string.h>
#include "has... | 22.840336 | 106 | 0.655261 |
aab77ae9393fc3c5288a874d3572da847d23ce3b | 5,973 | h | C | pmem-mariadb/storage/tokudb/PerconaFT/xz/src/build_lzma/src/liblzma/lz/lz_decoder.h | wc222/pmdk-examples | 64aadc3a70471c469ac8e214eb1e04ff47cf18ff | [
"BSD-3-Clause"
] | 11 | 2017-10-28T08:41:08.000Z | 2021-06-24T07:24:21.000Z | pmem-mariadb/storage/tokudb/PerconaFT/xz/src/build_lzma/src/liblzma/lz/lz_decoder.h | WSCWDA/pmdk-examples | c3d079e52cd18b0e14836ef42bad9a995336bf90 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T05:26:44.000Z | 2021-02-24T05:26:44.000Z | pmem-mariadb/storage/tokudb/PerconaFT/xz/src/build_lzma/src/liblzma/lz/lz_decoder.h | isabella232/pmdk-examples | be7a5a18ba7bb8931e512f6d552eadf820fa2235 | [
"BSD-3-Clause"
] | 4 | 2017-09-07T09:33:26.000Z | 2021-02-19T07:45:08.000Z | /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: expandtab:ts=8:sw=4:softtabstop=4:
///////////////////////////////////////////////////////////////////////////////
//
/// \file lz_decoder.h
/// \brief LZ out window
///
// Authors: Igor Pavlov
// Lasse Collin
//
// Thi... | 25.202532 | 79 | 0.667504 |
d2d1285893cffa50adf5fafd0d6c82d4d984b768 | 3,020 | h | C | src/OpenCvSharpExtern/imgproc_Segmentation.h | artheru/opencvsharp | 0b88a10f3534e92e75e9d15e07ef32c9768d746b | [
"Apache-2.0"
] | 3,886 | 2015-01-02T15:12:37.000Z | 2022-03-31T02:30:51.000Z | src/OpenCvSharpExtern/imgproc_Segmentation.h | artheru/opencvsharp | 0b88a10f3534e92e75e9d15e07ef32c9768d746b | [
"Apache-2.0"
] | 1,110 | 2015-01-15T06:18:25.000Z | 2022-03-30T14:57:26.000Z | src/OpenCvSharpExtern/imgproc_Segmentation.h | artheru/opencvsharp | 0b88a10f3534e92e75e9d15e07ef32c9768d746b | [
"Apache-2.0"
] | 1,047 | 2015-01-08T07:14:48.000Z | 2022-03-30T08:54:30.000Z | #pragma once
// ReSharper disable IdentifierTypo
// ReSharper disable CppInconsistentNaming
// ReSharper disable CppNonInlineFunctionDefinitionInHeaderFile
#include "include_opencv.h"
CVAPI(ExceptionStatus) imgproc_segmentation_IntelligentScissorsMB_new(
cv::segmentation::IntelligentScissorsMB** returnValue)
{
... | 29.607843 | 103 | 0.796358 |
960e18e6bb8fe864306af0fe4276565809288cbd | 4,212 | h | C | include/Elite/Model/Node.h | elite-lang/Elite | f65998863bb13c247c27c781b0cdb4cfc6ba8ae3 | [
"MIT"
] | 48 | 2015-12-28T01:42:57.000Z | 2022-03-11T02:59:17.000Z | include/Elite/Model/Node.h | elite-lang/Elite | f65998863bb13c247c27c781b0cdb4cfc6ba8ae3 | [
"MIT"
] | 17 | 2015-12-16T07:43:52.000Z | 2016-04-17T12:30:48.000Z | include/Elite/Model/Node.h | elite-lang/Elite | f65998863bb13c247c27c781b0cdb4cfc6ba8ae3 | [
"MIT"
] | 14 | 2015-12-22T06:54:14.000Z | 2020-12-02T06:39:45.000Z | /*
* @Author: sxf
* @Date: 2015-09-22 19:21:10
* @Last Modified by: sxf
* @Last Modified time: 2015-12-14 17:03:53
*/
#ifndef NODE_H
#define NODE_H
// #include "Elite/LLCG/lvalue.h"
#include <string>
namespace Elite {
enum NodeType {
seq_node_t = 0,
list_node_t,
block_node_t,
int_node_t,
... | 20.446602 | 61 | 0.569563 |
6515507e90bef9affdbcd1690f6e77d25f8053e9 | 1,092 | h | C | APExtension/NSData+APExtension.h | deanyang506/APExtension | 7dea52a5be6e4a6870439da6475216ab15d1c8a9 | [
"MIT"
] | 5 | 2017-08-10T11:25:35.000Z | 2019-06-20T03:33:46.000Z | APExtension/NSData+APExtension.h | idean506/APExtension | 7dea52a5be6e4a6870439da6475216ab15d1c8a9 | [
"MIT"
] | null | null | null | APExtension/NSData+APExtension.h | idean506/APExtension | 7dea52a5be6e4a6870439da6475216ab15d1c8a9 | [
"MIT"
] | null | null | null | //
// NSData+APExtension.h
// Captain Black
//
// Created by Captain Black on 16/1/23.
// Copyright © 2016年 Captain Black. All rights reserved.
//
#import <Foundation/Foundation.h>
static NSString *AESgIv = @"AD8BB59CE350BBC7";
@interface NSData (APExtension)
/**
* 用十六进制字符串生成NSData
*
* @param hexString 必须十六... | 16.298507 | 77 | 0.688645 |
4565b24a2e728fa7b57d57376a51519541cc0130 | 854 | h | C | Pods/Headers/Typhoon/TyphoonCallStack.h | 422053362/Typhoon-example | e164aaa0ae0118063f1a3e756ea25952e88eddcd | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Typhoon/TyphoonCallStack.h | 422053362/Typhoon-example | e164aaa0ae0118063f1a3e756ea25952e88eddcd | [
"Apache-2.0"
] | 1 | 2020-03-17T22:53:02.000Z | 2020-03-17T22:53:02.000Z | Pods/Headers/Typhoon/TyphoonCallStack.h | 422053362/Typhoon-example | e164aaa0ae0118063f1a3e756ea25952e88eddcd | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// TYPHOON FRAMEWORK
// Copyright 2013, Jasper Blues & Contributors
// All Rights Reserved.
//
// NOTICE: The authors permit you to use, modify, and distribute this file
// in accordance with the terms of the license agreement acco... | 25.878788 | 89 | 0.61007 |
ca64200d7217b7816b04f223a0f88d25a0dbbc71 | 3,845 | h | C | editor/gui/include/mouseconfig.h | lizardkinger/blacksun | 0119948726d2a057c13d208044c7664a8348a1ea | [
"Linux-OpenIB"
] | null | null | null | editor/gui/include/mouseconfig.h | lizardkinger/blacksun | 0119948726d2a057c13d208044c7664a8348a1ea | [
"Linux-OpenIB"
] | null | null | null | editor/gui/include/mouseconfig.h | lizardkinger/blacksun | 0119948726d2a057c13d208044c7664a8348a1ea | [
"Linux-OpenIB"
] | null | null | null | /***************************************************************************
* Copyright (C) 2006 by Thomas Tischler
* ttischl1@fh-landshut.de
*
* 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 ... | 30.515873 | 96 | 0.520416 |
1092ec958a27241ddae2236cabad61e7fe9af278 | 21,628 | h | C | src/demos/vnc/include/rfbproto.h | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | 1 | 2020-12-19T13:47:11.000Z | 2020-12-19T13:47:11.000Z | src/demos/vnc/include/rfbproto.h | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | null | null | null | src/demos/vnc/include/rfbproto.h | symfund/microwindows | f267e5c368c5e5a49ac6b3907af9527b06a1c67f | [
"X11"
] | null | null | null | /*
* Copyright (C) 1997, 1998 Olivetti & Oracle Research Laboratory
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | 32.184524 | 79 | 0.621139 |
a2d6fa90cd9523f588a249eb0d6a4272e8f63175 | 5,237 | h | C | message_services/include/vehicle_status_intent_service.h | usdot-fhwa-stol/carma-streets | 1b3a7dc3f74033283c71ecefc2a1878f14574164 | [
"Apache-2.0"
] | 3 | 2021-09-04T16:25:47.000Z | 2022-03-09T20:24:30.000Z | message_services/include/vehicle_status_intent_service.h | usdot-fhwa-stol/carma-streets | 1b3a7dc3f74033283c71ecefc2a1878f14574164 | [
"Apache-2.0"
] | 85 | 2021-07-07T16:58:46.000Z | 2022-03-31T15:35:26.000Z | message_services/include/vehicle_status_intent_service.h | usdot-fhwa-stol/carma-streets | 1b3a7dc3f74033283c71ecefc2a1878f14574164 | [
"Apache-2.0"
] | 4 | 2021-05-20T23:12:03.000Z | 2021-09-08T15:33:42.000Z | #ifndef VEHICLE_STATUS_INTENT_SERVICE_H
#define VEHICLE_STATUS_INTENT_SERVICE_H
#include <iostream>
#include <thread>
#include <vector>
#include <map>
#include "bsm_worker.h"
#include "mobilitypath_worker.h"
#include "mobilityoperation_worker.h"
#include "vehicle_status_intent_worker.h"
#include "vehicle_status_inten... | 44.381356 | 191 | 0.656865 |
3189f3a0b94a030290b286ea4a78623ddd5ea2e3 | 1,944 | c | C | tests/threads/priority-donate-one.c | Jeffxzj/PintOS-Project1 | dcfa3acf4b44885e109b7af87b2bdd70ebd183e8 | [
"MIT"
] | 40 | 2015-02-11T23:29:31.000Z | 2022-01-26T19:34:02.000Z | pintos-anon-f685123/src/tests/threads/priority-donate-one.c | puffyyy/2021OSLab | 61e189fbb676f658002bb1440c89b5b61572cba6 | [
"MIT"
] | 42 | 2020-09-27T17:58:34.000Z | 2020-11-29T19:58:16.000Z | pintos-anon-f685123/src/tests/threads/priority-donate-one.c | puffyyy/2021OSLab | 61e189fbb676f658002bb1440c89b5b61572cba6 | [
"MIT"
] | 69 | 2015-01-18T04:36:38.000Z | 2021-10-29T21:10:13.000Z | /* The main thread acquires a lock. Then it creates two
higher-priority threads that block acquiring the lock, causing
them to donate their priorities to the main thread. When the
main thread releases the lock, the other threads should
acquire it in priority order.
Based on a test originally submitted... | 29.454545 | 75 | 0.713477 |
2eeaae5956ea240e84039fff052b1f3caabd4f86 | 381 | h | C | Example/CLBanner/ExampleBanner.h | darkcl/CLBanner | da2eeae4bd718c11054970b7d0a23d3277840cc5 | [
"MIT"
] | null | null | null | Example/CLBanner/ExampleBanner.h | darkcl/CLBanner | da2eeae4bd718c11054970b7d0a23d3277840cc5 | [
"MIT"
] | null | null | null | Example/CLBanner/ExampleBanner.h | darkcl/CLBanner | da2eeae4bd718c11054970b7d0a23d3277840cc5 | [
"MIT"
] | null | null | null | //
// ExampleBanner.h
// CLBanner
//
// Created by Yeung Yiu Hung on 8/10/15.
// Copyright (c) 2015 Yeung Yiu Hung. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CLBanner/CLBanner.h>
@interface ExampleBanner : UIView<CLBannerDelegate>
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property... | 21.166667 | 63 | 0.729659 |
c82a8ddbddd6175734dba7bfaa79af41caa29ef6 | 18,503 | c | C | sandbox/task.c | chillancezen/Hyrule | 79bf1b3e83f4e954fac735c7290093dfb48a0373 | [
"BSD-3-Clause"
] | null | null | null | sandbox/task.c | chillancezen/Hyrule | 79bf1b3e83f4e954fac735c7290093dfb48a0373 | [
"BSD-3-Clause"
] | null | null | null | sandbox/task.c | chillancezen/Hyrule | 79bf1b3e83f4e954fac735c7290093dfb48a0373 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 Jie Zheng
*/
#include <task.h>
#include <task_sched.h>
#include <list.h>
#include <vm.h>
#include <log.h>
#define __USE_GNU
#include <sched.h>
#include <fcntl.h>
#include <unistd.h>
#include <uaccess.h>
#include <tinyprintf.h>
#include <app.h>
#include <wait_queue.h>
static struct list_ele... | 32.291449 | 96 | 0.611955 |
0876e26d4821074fa1439def68817c5d7d3dfb25 | 686 | h | C | Engine/inc/EngineFactory.h | sunjinbo/Scallop | d12738f679c5affd5a01db702e90e3db7387da9b | [
"MIT"
] | null | null | null | Engine/inc/EngineFactory.h | sunjinbo/Scallop | d12738f679c5affd5a01db702e90e3db7387da9b | [
"MIT"
] | null | null | null | Engine/inc/EngineFactory.h | sunjinbo/Scallop | d12738f679c5affd5a01db702e90e3db7387da9b | [
"MIT"
] | null | null | null | /* ====================================================================
* File: EngineFactory.h
* Created: 08/16/09
* Modified: 08/16/09
* Author: Sun Jinbo
* Copyright (c): Tieto, All rights reserved
* ==================================================================== */
#ifndef M_ENGINEFACTORY_H
#define M_EN... | 20.176471 | 74 | 0.561224 |
bd376e05af5dcbe1a30a974da36df610b5f006c5 | 3,264 | c | C | BibliografiasAEDS1e2/Ziviani-ProjetoDeAlgoritmos/Cap01-Introducao/A4-FuncaoMaximoMinimoOtimizada.c | mariatheresahqs/MaterialSuporteAEDS | 6edf3cb4225495024963e0bfc8b53aeaaef40a6c | [
"MIT"
] | 1 | 2019-11-07T01:47:57.000Z | 2019-11-07T01:47:57.000Z | BibliografiasAEDS1e2/Ziviani-ProjetoDeAlgoritmos/Cap01-Introducao/A4-FuncaoMaximoMinimoOtimizada.c | mariatheresahqs/MaterialSuporteAEDS | 6edf3cb4225495024963e0bfc8b53aeaaef40a6c | [
"MIT"
] | null | null | null | BibliografiasAEDS1e2/Ziviani-ProjetoDeAlgoritmos/Cap01-Introducao/A4-FuncaoMaximoMinimoOtimizada.c | mariatheresahqs/MaterialSuporteAEDS | 6edf3cb4225495024963e0bfc8b53aeaaef40a6c | [
"MIT"
] | 2 | 2019-01-22T19:15:40.000Z | 2019-10-03T21:48:27.000Z | #include <stdio.h>
void MaximoMinimo(int tamanho, int vetor[], int *maximo, int *minimo);//Declaracao da funcao e parametros para encontrar maximos e minimos de um vetor
int main() {
int tamanho, i;//declaracao da variavel tamanho do vetor e da variavel de iteracao
printf("Declare o tamanho do vetor:\n");
... | 44.108108 | 150 | 0.650735 |
b7f5a37bfa309c35d2c0a4354cc3cc10b81a6137 | 308 | h | C | uMobile/PortletSelectionDelegate.h | aclissold/uMobile-iOS-app | f7419b1c629464e34ed0c878a6a69d1b9e27b3e0 | [
"Apache-2.0"
] | null | null | null | uMobile/PortletSelectionDelegate.h | aclissold/uMobile-iOS-app | f7419b1c629464e34ed0c878a6a69d1b9e27b3e0 | [
"Apache-2.0"
] | null | null | null | uMobile/PortletSelectionDelegate.h | aclissold/uMobile-iOS-app | f7419b1c629464e34ed0c878a6a69d1b9e27b3e0 | [
"Apache-2.0"
] | null | null | null | //
// PortletSelectionDelegate.h
// uMobile
//
// Created by Andrew Clissold on 7/2/14.
// Copyright (c) 2014 Oakland University. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol PortletSelectionDelegate <NSObject>
@required
- (void)selectedPortlet:(NSDictionary *)portletInfo;
@end
| 20.533333 | 63 | 0.743506 |
d3df53c6fd4bbc14e538b0b712556cceaedc273a | 3,424 | c | C | Codes/aiv2008/length_of_longest_substring/length_of_longest_substring.c | aiv2008/algorithm | ecee5b76af52d9ad55b7fb9cf706be25c76772c1 | [
"Apache-2.0"
] | null | null | null | Codes/aiv2008/length_of_longest_substring/length_of_longest_substring.c | aiv2008/algorithm | ecee5b76af52d9ad55b7fb9cf706be25c76772c1 | [
"Apache-2.0"
] | null | null | null | Codes/aiv2008/length_of_longest_substring/length_of_longest_substring.c | aiv2008/algorithm | ecee5b76af52d9ad55b7fb9cf706be25c76772c1 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define HASH_SIZE 29
typedef struct
{
char val;
struct LinkedListNode *pNext;
} LinkedListNode;
typedef struct
{
int val;
struct LinkedListNode2 *pNext;
} LinkedListNode2;
typedef struct
{
struct LinkedListNode **key;
struct LinkedListNode2 **val;
} HashM... | 20.023392 | 85 | 0.64486 |
2366ce90f87a7b7da11ea8e3dc3fa882592e5f02 | 1,306 | h | C | chromeos/components/multidevice/stub_multidevice_util.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chromeos/components/multidevice/stub_multidevice_util.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chromeos/components/multidevice/stub_multidevice_util.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_COMPONENTS_MULTIDEVICE_STUB_MULTIDEVICE_UTIL_H_
#define CHROMEOS_COMPONENTS_MULTIDEVICE_STUB_MULTIDEVICE_UTIL_H_
#include "chromeos/comp... | 33.487179 | 79 | 0.799387 |
c10c86c027660609e9617e82eef813524bf46e17 | 378 | h | C | UnityServices/Monetization/Core/Decision/UMONPlacementContentFactory.h | katoorukavya/unity-ads-ios | 52f6e80d00113304e5f52731e6b3a49e202bfc3c | [
"Apache-2.0"
] | 4 | 2017-10-08T10:54:11.000Z | 2019-12-10T20:48:31.000Z | UnityServices/Monetization/Core/Decision/UMONPlacementContentFactory.h | katoorukavya/unity-ads-ios | 52f6e80d00113304e5f52731e6b3a49e202bfc3c | [
"Apache-2.0"
] | null | null | null | UnityServices/Monetization/Core/Decision/UMONPlacementContentFactory.h | katoorukavya/unity-ads-ios | 52f6e80d00113304e5f52731e6b3a49e202bfc3c | [
"Apache-2.0"
] | 1 | 2017-10-08T10:34:56.000Z | 2017-10-08T10:34:56.000Z | #import "UMONPlacementContent.h"
typedef NS_ENUM(NSInteger, UMONPlacementContentType) {
kPlacementContentTypeShowAd,
kPlacementContentTypePromoAd,
kPlacementContentTypeCustom,
kPlacementContentTypeNoFill
};
@interface UMONPlacementContentFactory : NSObject
+(UMONPlacementContent *)create:(NSString *)p... | 29.076923 | 97 | 0.820106 |
c1acfbe4de5a16fbca5e7c39b567cafc3312c628 | 313 | h | C | PXH/PXH/Classes/LifeCircle/View/YSCouponHeaderView.h | louguoquan/cizhuan | d300d1cf8947daf89be5c51f5ede6efe554d2dad | [
"MIT"
] | null | null | null | PXH/PXH/Classes/LifeCircle/View/YSCouponHeaderView.h | louguoquan/cizhuan | d300d1cf8947daf89be5c51f5ede6efe554d2dad | [
"MIT"
] | null | null | null | PXH/PXH/Classes/LifeCircle/View/YSCouponHeaderView.h | louguoquan/cizhuan | d300d1cf8947daf89be5c51f5ede6efe554d2dad | [
"MIT"
] | null | null | null | //
// YSCouponHeaderView.h
// PXH
//
// Created by yu on 2017/8/29.
// Copyright © 2017年 yu. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "YSProductDetail.h"
#import "UIView+YSRecalculate.h"
@interface YSCouponHeaderView : UIView
@property (nonatomic, strong) YSProductDetail *detail;
@end
| 15.65 | 56 | 0.702875 |
1b2135e95b493d00690edf84a4f986e403cc526a | 5,656 | h | C | mapleall/maple_be/include/cg/aarch64/aarch64_insn.h | lvyitian/mapleall | 1112501c1bcbff5d9388bf46f195d56560c5863a | [
"MulanPSL-1.0"
] | null | null | null | mapleall/maple_be/include/cg/aarch64/aarch64_insn.h | lvyitian/mapleall | 1112501c1bcbff5d9388bf46f195d56560c5863a | [
"MulanPSL-1.0"
] | null | null | null | mapleall/maple_be/include/cg/aarch64/aarch64_insn.h | lvyitian/mapleall | 1112501c1bcbff5d9388bf46f195d56560c5863a | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) [2020] Huawei Technologies Co., Ltd. All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan Permissive Software License v2.
* You can use this software according to the terms and conditions of the MulanPSL - 2.0.
* You may obtain a copy of MulanPSL - 2.0 at:
*
* https://opensou... | 30.245989 | 115 | 0.705269 |
9b2b7017af1a8f2e1417c2aa0ec3148f92147426 | 608 | c | C | tune/blas/level1/NRM2/nrm21_x1.c | kevleyski/math-atlas | cc36aa7e0362c577739ac507378068882834825e | [
"BSD-3-Clause-Clear"
] | 19 | 2015-03-19T10:53:38.000Z | 2020-12-17T06:12:32.000Z | tune/blas/level1/NRM2/nrm21_x1.c | kevleyski/math-atlas | cc36aa7e0362c577739ac507378068882834825e | [
"BSD-3-Clause-Clear"
] | 1 | 2018-12-18T17:43:44.000Z | 2018-12-18T17:43:44.000Z | tune/blas/level1/NRM2/nrm21_x1.c | kevleyski/math-atlas | cc36aa7e0362c577739ac507378068882834825e | [
"BSD-3-Clause-Clear"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | #include "atlas_misc.h"
#include <math.h>
TYPE ATL_UNRM2(const int N, const TYPE *X, const int incX)
/*
* Only machines like x86 with extended precision (both arithmetic and sqrt)
* will be able to use this kernel. On machines with standard 64/32 bit
* precision, this will fail the overflow/underflow tests.
*/
{
... | 27.636364 | 76 | 0.649671 |
88992c1a94c3e9d6814cce43d09be1dbeddc8560 | 6,746 | c | C | uirc.c | brysonsteck/uirc | 50fd2f37c3a438f35e8730327f512891a2c8ae8f | [
"BSD-2-Clause"
] | null | null | null | uirc.c | brysonsteck/uirc | 50fd2f37c3a438f35e8730327f512891a2c8ae8f | [
"BSD-2-Clause"
] | null | null | null | uirc.c | brysonsteck/uirc | 50fd2f37c3a438f35e8730327f512891a2c8ae8f | [
"BSD-2-Clause"
] | null | null | null | /*
uirc: an unnecessary image ratio calculator
Created by Bryson Steck (@brysonsteck on GitHub)
Free and Open Source Software under the BSD 2-Clause License
BSD 2-Clause License
Copyright (c) 2022, Bryson Steck
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are... | 28.584746 | 103 | 0.61429 |
88ea9c9b9bc69308f861ee824e224a4e62527023 | 2,538 | h | C | src/libc/fenv/fenv_impl.h | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 298 | 2015-03-04T13:36:51.000Z | 2021-12-19T05:11:58.000Z | src/libc/fenv/fenv_impl.h | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 31 | 2015-07-27T14:51:55.000Z | 2020-09-14T15:59:57.000Z | src/libc/fenv/fenv_impl.h | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 18 | 2016-03-27T13:49:22.000Z | 2021-09-21T19:02:04.000Z | // Copyright (c) 2015-2016 Nuxi, https://nuxi.nl/
//
// SPDX-License-Identifier: BSD-2-Clause
#ifndef FENV_FENV_IMPL_H
#define FENV_FENV_IMPL_H
#include <fenv.h>
#include <stdint.h>
#if defined(__aarch64__)
// Bits 22 and 23 that determine the rounding.
#define ROUNDING_MASK 0xc00000
// Assembly for floating point... | 21.327731 | 76 | 0.664303 |
f0532747a2cda7087d66a60b64c3ba0501af8c9d | 896 | h | C | Pod/Classes/CRRollingLabel.h | Cleveroad/CRRollingLabel | 1d43a826b14993fe4e7acbfb54d1cad8fe8fff7e | [
"MIT"
] | 34 | 2016-03-03T14:14:33.000Z | 2019-03-03T08:01:11.000Z | Pod/Classes/CRRollingLabel.h | Cleveroad/CRRollingLabel | 1d43a826b14993fe4e7acbfb54d1cad8fe8fff7e | [
"MIT"
] | null | null | null | Pod/Classes/CRRollingLabel.h | Cleveroad/CRRollingLabel | 1d43a826b14993fe4e7acbfb54d1cad8fe8fff7e | [
"MIT"
] | 4 | 2016-12-03T07:03:24.000Z | 2018-09-14T15:57:08.000Z | //
// CRRollingLabel.h
// CRRollingLabel-iOS
//
// Created by Prokopiev on 2/18/16.
// Copyright © 2016 Cleveroad inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CRRollingLabel : UILabel
/**
* The numerical value displayed by the label. Animated by default.
**/
@property (nonatomic, strong) NSNu... | 28 | 131 | 0.732143 |
00014664705d36ff8e74f877dfc9c69d3083983e | 4,296 | c | C | bootloaders/rt1062/user/board_drive_led.c | Seeed-Studio/ArduinoCore-NXP | 4dee77110278aed6bc72c02213ccc964690b8523 | [
"MIT"
] | 9 | 2019-08-01T02:57:18.000Z | 2021-06-07T15:33:31.000Z | bootloaders/rt1062/user/board_drive_led.c | Seeed-Studio/ArduinoCore-NXP | 4dee77110278aed6bc72c02213ccc964690b8523 | [
"MIT"
] | 9 | 2020-06-03T21:11:44.000Z | 2022-01-22T08:46:36.000Z | bootloaders/rt1062/user/board_drive_led.c | Seeed-Studio/ArduinoCore-NXP | 4dee77110278aed6bc72c02213ccc964690b8523 | [
"MIT"
] | 4 | 2020-01-21T08:42:05.000Z | 2021-05-04T07:06:37.000Z | #include "board_drive_led.h"
void LED_init(void)
{ IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_09_GPIO1_IO09, /* GPIO_AD_B0_09 is configured as GPIO1_IO09 */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinConfig(
IOMUXC... | 61.371429 | 118 | 0.546322 |
767a3b5cd5015322b89f6f05e2f4a0ad76ce9641 | 15,794 | h | C | KDIS/DataTypes/LandPlatformAppearance.h | pelicanmapping/boeing-kdis | ae0d1da99e62a4424b6cd14cd963b5a87a80fb7b | [
"BSD-2-Clause"
] | null | null | null | KDIS/DataTypes/LandPlatformAppearance.h | pelicanmapping/boeing-kdis | ae0d1da99e62a4424b6cd14cd963b5a87a80fb7b | [
"BSD-2-Clause"
] | null | null | null | KDIS/DataTypes/LandPlatformAppearance.h | pelicanmapping/boeing-kdis | ae0d1da99e62a4424b6cd14cd963b5a87a80fb7b | [
"BSD-2-Clause"
] | null | null | null | /*********************************************************************
Copyright 2013 KDIS
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyri... | 46.452941 | 93 | 0.580727 |
b71aced490aec3d24ce2e559bae7f9410ce52b2e | 4,815 | h | C | xcode/LinkingLibrary.framework/Headers/BLETimer.h | satorupan/engadget-linking | 9d481df8f0f1759fce712da1c9d2d146edf0ab42 | [
"MIT"
] | null | null | null | xcode/LinkingLibrary.framework/Headers/BLETimer.h | satorupan/engadget-linking | 9d481df8f0f1759fce712da1c9d2d146edf0ab42 | [
"MIT"
] | null | null | null | xcode/LinkingLibrary.framework/Headers/BLETimer.h | satorupan/engadget-linking | 9d481df8f0f1759fce712da1c9d2d146edf0ab42 | [
"MIT"
] | null | null | null | /**
* Copyright © 2015-2016 NTT DOCOMO, INC. All Rights Reserved.
*/
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import "BLESensorGyroscope.h"
#import "BLESensorAccelerometer.h"
#import "BLESensorOrientation.h"
/**
タイマーのデリゲート
@warninng 使用されないデリゲートも記載
*/
@protocol BLETimerDelegate <N... | 25.748663 | 124 | 0.803531 |
bbc2b249272d547df5eb3f2ce59cd2c7feeb7820 | 221 | c | C | share/boilerplate/copyright.c | caqg/linux-home | eed631aae6f5e59e4f46e14f1dff443abca5fa28 | [
"Linux-OpenIB"
] | null | null | null | share/boilerplate/copyright.c | caqg/linux-home | eed631aae6f5e59e4f46e14f1dff443abca5fa28 | [
"Linux-OpenIB"
] | null | null | null | share/boilerplate/copyright.c | caqg/linux-home | eed631aae6f5e59e4f46e14f1dff443abca5fa28 | [
"Linux-OpenIB"
] | null | null | null | /* Copyright (C) 20yy by Cesar A Quiroz, Ph.D. -*- C -*-
* 3595 Granada Ave Unit 114 / Santa Clara, CA 95051 / USA
* All Rights Reserved Worldwide
* mailto:cesar.quiroz@gmail.com
*/
/* end */
| 22.1 | 78 | 0.574661 |
eb7b27824ed5edfa9ce508a591c2d547378015d7 | 133 | h | C | inleiding-vision-cpp/opg4_2.h | yorickr/VisionCPP | 60eda392d7b4f234afba7d4e29d746d1ae3c8e1c | [
"MIT"
] | null | null | null | inleiding-vision-cpp/opg4_2.h | yorickr/VisionCPP | 60eda392d7b4f234afba7d4e29d746d1ae3c8e1c | [
"MIT"
] | null | null | null | inleiding-vision-cpp/opg4_2.h | yorickr/VisionCPP | 60eda392d7b4f234afba7d4e29d746d1ae3c8e1c | [
"MIT"
] | null | null | null | #ifndef OPG4_2_H
#define OPG4_2_H
#include "includes.h"
#include "blobdetectionavans.h"
int opg4_2(int argc, char** argv);
#endif
| 13.3 | 34 | 0.744361 |
5b784be8f0374da62f231919931cf52603ae503c | 363 | h | C | drawBrokenLineDemo/drawBrokenLineDemo/LCSelectedBoxModel.h | InnerMongoliaZorro/brokenLineDemo | 09065d6ae9fe53d87cd808d15ff25d9b740a214d | [
"Apache-2.0"
] | null | null | null | drawBrokenLineDemo/drawBrokenLineDemo/LCSelectedBoxModel.h | InnerMongoliaZorro/brokenLineDemo | 09065d6ae9fe53d87cd808d15ff25d9b740a214d | [
"Apache-2.0"
] | null | null | null | drawBrokenLineDemo/drawBrokenLineDemo/LCSelectedBoxModel.h | InnerMongoliaZorro/brokenLineDemo | 09065d6ae9fe53d87cd808d15ff25d9b740a214d | [
"Apache-2.0"
] | null | null | null | //
// LCSelectedBoxModel.h
// SmartHome
//
// Created by MoGo on 16/3/30.
// Copyright © 2016年 MoGo. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LCSelectedBoxModel : NSObject
@property (nonatomic , strong) NSString *messageString;
@property (nonatomic , assign) BOOL copyFrom;
@property (n... | 22.6875 | 55 | 0.730028 |
8b0878a34d5184b78771013905464f864a7e8071 | 337 | h | C | Plugins/VoxelPlugin-master/Source/VoxelExamples/Public/VoxelExamplesModule.h | drakelinglabs/breakup | 04cc209605082a61399f52a174057eda56b797f2 | [
"MIT"
] | 3 | 2020-10-05T18:52:08.000Z | 2020-12-01T15:14:36.000Z | Plugins/VoxelPlugin-master/Source/VoxelExamples/Public/VoxelExamplesModule.h | Bluedrake42/breakup | 04cc209605082a61399f52a174057eda56b797f2 | [
"MIT"
] | null | null | null | Plugins/VoxelPlugin-master/Source/VoxelExamples/Public/VoxelExamplesModule.h | Bluedrake42/breakup | 04cc209605082a61399f52a174057eda56b797f2 | [
"MIT"
] | 2 | 2020-10-10T20:16:12.000Z | 2020-11-01T13:11:40.000Z | // Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "VoxelExamplesModule.generated.h"
class FVoxelExamples : public IModuleInterface
{
};
// UBT doesn't like not having any UObject in a module
UCLASS()
class UVoxelExamplesModuleDummy : public UObject
{
GE... | 18.722222 | 54 | 0.777448 |
a0a762d226c0d4933940de7169abc75426722aec | 2,143 | c | C | sr/lsri/lib/libhgfs/time.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | 2 | 2018-03-01T13:45:41.000Z | 2018-03-01T14:11:47.000Z | src.clean/lib/libhgfs/time.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | src.clean/lib/libhgfs/time.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | /* Part of libhgfs - (c) 2009, D.C. van Moolenbroek */
#include "inc.h"
PRIVATE u64_t time_offset;
/*===========================================================================*
* time_init *
*===========================================================================*/
PUBLIC void time_init()
... | 30.614286 | 80 | 0.510033 |
e2577ff8247e2e7fed6ea3dd1e7d67ff3aa1d5b4 | 10,999 | h | C | libsvoxpico/include/picosig2.h | LsquaredTechnologies/pico_tts | 7a2ee01c52fa0432b6586e141ecf44bf01b6aa9b | [
"Apache-2.0"
] | 108 | 2015-01-09T17:12:19.000Z | 2021-06-08T15:03:12.000Z | src/svox_tts/svoxpico/picosig2.h | u3099811/BaxterTictacToe | 967ab0ea8496ca4ce54db41b20c05de68cfe1bb9 | [
"Apache-2.0"
] | 123 | 2019-05-28T14:03:04.000Z | 2019-07-12T04:23:26.000Z | src/svox_tts/svoxpico/picosig2.h | u3099811/BaxterTictacToe | 967ab0ea8496ca4ce54db41b20c05de68cfe1bb9 | [
"Apache-2.0"
] | 43 | 2015-01-17T11:51:08.000Z | 2021-09-09T02:11:51.000Z | /*
* Copyright (C) 2008-2009 SVOX AG, Baslerstr. 30, 8048 Zuerich, Switzerland
*
* 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
*
* ... | 47.821739 | 118 | 0.677334 |
e9bc9985289c967156777d725e4abba49dfed469 | 154 | h | C | app/src/main/res/drawable-xdpi.h | 273270381/yinshiyun | 806a0b8f85ffa9cea58dfda8c11d4c0ca33e19b9 | [
"Apache-2.0"
] | null | null | null | app/src/main/res/drawable-xdpi.h | 273270381/yinshiyun | 806a0b8f85ffa9cea58dfda8c11d4c0ca33e19b9 | [
"Apache-2.0"
] | null | null | null | app/src/main/res/drawable-xdpi.h | 273270381/yinshiyun | 806a0b8f85ffa9cea58dfda8c11d4c0ca33e19b9 | [
"Apache-2.0"
] | null | null | null | //
// Created by Administrator on 2019/1/29/029.
//
#ifndef MYEZOPEN_DRAWABLE_XDPI_H
#define MYEZOPEN_DRAWABLE_XDPI_H
#endif //MYEZOPEN_DRAWABLE_XDPI_H
| 17.111111 | 45 | 0.798701 |
acb38f06e74e603506f5e0635c8cdc5ac219cb20 | 551 | h | C | ports/multimedia/kodi/dragonfly/patch-xbmc_peripherals_bus_PeripheralBusUSB.h | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/multimedia/kodi/dragonfly/patch-xbmc_peripherals_bus_PeripheralBusUSB.h | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/multimedia/kodi/dragonfly/patch-xbmc_peripherals_bus_PeripheralBusUSB.h | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | --- xbmc/peripherals/bus/PeripheralBusUSB.h.orig 2018-08-04 15:06:41.672876000 +0200
+++ xbmc/peripherals/bus/PeripheralBusUSB.h 2018-08-04 15:07:00.263280000 +0200
@@ -31,6 +31,9 @@
#elif defined(TARGET_FREEBSD) && defined(HAVE_LIBUSB)
#define HAVE_PERIPHERAL_BUS_USB 1
#include "linux/PeripheralBusUSBLibUSB.h"
+#el... | 42.384615 | 84 | 0.785844 |
5f8fa213457ce593c0c0528d3d29c93c7a3363f5 | 4,896 | c | C | software/firmware/ChibiOS-Contrib/os/hal/ports/NRF5/LLD/hal_rng_lld.c | lowerrandom/DaBomb_dc27_badge | 4bba0e58a304671b48755b99113b3d489259760a | [
"Apache-2.0"
] | 29 | 2018-12-13T02:33:42.000Z | 2022-02-28T13:26:35.000Z | software/firmware/ChibiOS-Contrib/os/hal/ports/NRF5/LLD/hal_rng_lld.c | lowerrandom/DaBomb_dc27_badge | 4bba0e58a304671b48755b99113b3d489259760a | [
"Apache-2.0"
] | 47 | 2019-03-21T05:23:28.000Z | 2019-12-07T23:37:44.000Z | software/firmware/ChibiOS-Contrib/os/hal/ports/NRF5/LLD/hal_rng_lld.c | lowerrandom/DaBomb_dc27_badge | 4bba0e58a304671b48755b99113b3d489259760a | [
"Apache-2.0"
] | 13 | 2019-01-16T12:06:21.000Z | 2020-04-25T02:14:06.000Z | /*
RNG for ChibiOS - Copyright (C) 2016 Stephane D'Alu
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 app... | 25.237113 | 79 | 0.487949 |
5c4c484eec9a7518a2fc39c397c73c4d663624ee | 5,184 | h | C | src/hardware/startup/lib/public/arm/psci.h | luuhuuquyet/Rock64_QNX700_BSP | 9e834ed73aaa83357e5f1c724a4de22f55ce81af | [
"Apache-2.0"
] | null | null | null | src/hardware/startup/lib/public/arm/psci.h | luuhuuquyet/Rock64_QNX700_BSP | 9e834ed73aaa83357e5f1c724a4de22f55ce81af | [
"Apache-2.0"
] | null | null | null | src/hardware/startup/lib/public/arm/psci.h | luuhuuquyet/Rock64_QNX700_BSP | 9e834ed73aaa83357e5f1c724a4de22f55ce81af | [
"Apache-2.0"
] | null | null | null | /*
* $QNXLicenseC:
* Copyright 2016, QNX Software Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not reproduce, modify or distribute this software except in
* compliance with the License. You may obtain a copy of the License
* at: http://www.apache.org/licenses/LICENSE-2.0... | 27.428571 | 129 | 0.786844 |
5c5866664bc9121bbde2eecc71a91abcffc0d734 | 815 | h | C | msr.h | scott-walker-llnl/turbo-fs | 20fe5592823567bf5bc5cbc884b2ff4853befe2d | [
"Intel"
] | null | null | null | msr.h | scott-walker-llnl/turbo-fs | 20fe5592823567bf5bc5cbc884b2ff4853befe2d | [
"Intel"
] | null | null | null | msr.h | scott-walker-llnl/turbo-fs | 20fe5592823567bf5bc5cbc884b2ff4853befe2d | [
"Intel"
] | null | null | null | #include "master.h"
#include "msr_core.h"
#define MSR_TURBO_RATIO_LIMIT 0x1AD
#define MSR_TURBO_RATIO_LIMIT_CORES 0x1AE
void read_turbo_limit();
void set_turbo_limit(unsigned long limit);
void set_all_turbo_limit(uint64_t limit);
unsigned long get_turbo_limit();
void enable_turbo(const unsigned tid);
void disable_tur... | 32.6 | 84 | 0.809816 |
d4cce505522d984a300e551c29c148188d2cd207 | 1,187 | c | C | src/list.c | LanskovNV/calc | 5bffc3b558bc44f58850ef457168d4820f4d1fd7 | [
"MIT"
] | null | null | null | src/list.c | LanskovNV/calc | 5bffc3b558bc44f58850ef457168d4820f4d1fd7 | [
"MIT"
] | null | null | null | src/list.c | LanskovNV/calc | 5bffc3b558bc44f58850ef457168d4820f4d1fd7 | [
"MIT"
] | null | null | null | /* leins, 26.03.2017 */
#include <stdio.h>
#include <stdlib.h>
#include "error.h"
#include "list.h"
#include "calculate.h"
void ClearList(LIST **L)
{
LIST *tmp;
while (*L != NULL)
{
tmp = *L;
*L = (*L)->Next;
free(tmp);
}
}/* OK */
int Push(STACK *S, TOKEN T)
{
LIST *NewL;
if ((NewL = mallo... | 12.763441 | 44 | 0.491154 |
cebe1be56fb3008d0f2b606ea49bf622f823449b | 380 | h | C | src/menus/battle_menu/summon_view/battle_summon_callbacks.h | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | src/menus/battle_menu/summon_view/battle_summon_callbacks.h | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | src/menus/battle_menu/summon_view/battle_summon_callbacks.h | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | #ifndef BATTLE_SUMMON_CALLBACKS_H
#define BATTLE_SUMMON_CALLBACKS_H
#include <SisterRay/types.h>
#include <SisterRay/SisterRay.h>
#include "battle_summon_init_callbacks.h"
#include "battle_summon_input_callbacks.h"
#include "battle_summon_draw_callbacks.h"
#include "../battle_menu_widget_names.h"
void initializeBat... | 23.75 | 42 | 0.834211 |
ceeb28ceea58eb4c6e445d51877e27354fd2aa8a | 3,886 | h | C | Tempest/DataDefinitions/AudioDatabase_generated.h | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | 7 | 2020-08-02T10:51:09.000Z | 2021-08-03T17:04:56.000Z | Tempest/DataDefinitions/AudioDatabase_generated.h | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | null | null | null | Tempest/DataDefinitions/AudioDatabase_generated.h | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | null | null | null | // automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_AUDIODATABASE_TEMPEST_DEFINITION_H_
#define FLATBUFFERS_GENERATED_AUDIODATABASE_TEMPEST_DEFINITION_H_
#include "flatbuffers/flatbuffers.h"
namespace Tempest {
namespace Definition {
struct AudioDatabase;
... | 34.389381 | 107 | 0.756305 |
3006626bfebd6c770a428df317944427638d1782 | 137 | c | C | misc/assert.c | kaitoii11/c-misc | afe11509b15d0504ba68360b88f895de53d31567 | [
"MIT"
] | null | null | null | misc/assert.c | kaitoii11/c-misc | afe11509b15d0504ba68360b88f895de53d31567 | [
"MIT"
] | null | null | null | misc/assert.c | kaitoii11/c-misc | afe11509b15d0504ba68360b88f895de53d31567 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <assert.h>
int main(int argc, char **argv){
int i = 10;
assert(i ==10);
assert(i ==9);
return 0;
}
| 12.454545 | 32 | 0.576642 |
cda96d5deef87a769858e793643b10cdf7c213e9 | 2,127 | h | C | include/std.h | ckurtz22/SkylinePluginTemplate | 8d6eded4a09bc088d46e8b17fa8b19e806d7a655 | [
"MIT"
] | 1 | 2020-08-07T05:54:29.000Z | 2020-08-07T05:54:29.000Z | include/std.h | ckurtz22/SkylinePluginTemplate | 8d6eded4a09bc088d46e8b17fa8b19e806d7a655 | [
"MIT"
] | null | null | null | include/std.h | ckurtz22/SkylinePluginTemplate | 8d6eded4a09bc088d46e8b17fa8b19e806d7a655 | [
"MIT"
] | 1 | 2020-09-30T05:27:19.000Z | 2020-09-30T05:27:19.000Z | /**
* @file std.h
* @brief Classes that are a part of the standard library (std)
*/
#pragma once
#include "types.h"
#include "operator.h"
#include <string>
namespace std
{
struct nothrow_t;
struct __va_list;
namespace __l
{
template<typename T, typename T2>
class __tree_node;
... | 21.704082 | 63 | 0.490362 |
e09149d201c4a38854161ee2446ef0d44ac33a40 | 12,126 | c | C | render.c | ArthurWalraven/c_sandbox | 184102a24bbefa0e4b62c9f82746dc3cb7b04441 | [
"MIT"
] | 2 | 2020-08-24T01:48:53.000Z | 2020-08-24T17:01:45.000Z | render.c | ArthurWalraven/c_sandbox | 184102a24bbefa0e4b62c9f82746dc3cb7b04441 | [
"MIT"
] | null | null | null | render.c | ArthurWalraven/c_sandbox | 184102a24bbefa0e4b62c9f82746dc3cb7b04441 | [
"MIT"
] | null | null | null | #include "render.h"
#if BYTE_ORDER == BIG_ENDIAN
#define to_little_endian16(x) __builtin_bswap16((uint16_t) (x))
#else
#define to_little_endian16(x) (x)
#endif
#define FRAMES_DIRECTORY_PATH "frames/"
#define FRAME_FILE_NAME_PREFIX FRAMES_DIRECTORY_PATH "frame_"
#define WITCH_CONSTANT 6.f
#define RENDER_RADIU... | 33.040872 | 147 | 0.559871 |
ef3e9f13cd69b5d31544e5857da96fa7e67136cd | 218 | c | C | 189_rotate_array.c | wuzhouhui/leetcode | 80ae1f9209681ed12adf2f4a2783af8d1f9917e2 | [
"MIT"
] | 1 | 2019-09-24T14:23:42.000Z | 2019-09-24T14:23:42.000Z | 189_rotate_array.c | wuzhouhui/leetcode | 80ae1f9209681ed12adf2f4a2783af8d1f9917e2 | [
"MIT"
] | null | null | null | 189_rotate_array.c | wuzhouhui/leetcode | 80ae1f9209681ed12adf2f4a2783af8d1f9917e2 | [
"MIT"
] | 4 | 2017-03-18T11:31:08.000Z | 2021-12-12T03:28:44.000Z |
#include <string.h>
void rotate(int nums[], int n, int k)
{
if (!nums || !n || n == 1)
return;
int tmp[n];
int i;
for (i = 0; i < n; i++)
tmp[(i + k) % n] = nums[i];
memcpy(nums, tmp, n * sizeof(int));
}
| 12.823529 | 37 | 0.490826 |
d48501b18b8e310006e39e5f2a9f1dad4d729f52 | 1,824 | c | C | misc.c | Seclabs-htc/slip39 | a831455a47850b0402aee1ac0fab166e6731717d | [
"MIT"
] | 6 | 2019-06-25T02:45:58.000Z | 2019-09-03T14:52:35.000Z | misc.c | Seclabs-htc/slip39 | a831455a47850b0402aee1ac0fab166e6731717d | [
"MIT"
] | null | null | null | misc.c | Seclabs-htc/slip39 | a831455a47850b0402aee1ac0fab166e6731717d | [
"MIT"
] | 1 | 2019-06-25T02:46:30.000Z | 2019-06-25T02:46:30.000Z | #include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <inttypes.h>
int fromhex(uint8_t *buf, uint32_t *buf_len, const char *str)
{
size_t i, len = strlen(str) / 2;
if (len > *buf_len)
return -1;
for (i = 0; i < len; i++) {
uint8_t c = 0;
if (str[i... | 23.088608 | 123 | 0.391447 |
3335bf377abfd479b644f7db1920dc1abc683f9a | 286 | c | C | sdl_render.c | tanishq-dubey/sen3.14 | 5cf0957fb81c38ffede15cf3bd04ec3bf0185a6d | [
"Apache-2.0"
] | 2 | 2016-11-18T18:16:52.000Z | 2016-11-22T05:07:54.000Z | sdl_render.c | tanishq-dubey/sen3.14 | 5cf0957fb81c38ffede15cf3bd04ec3bf0185a6d | [
"Apache-2.0"
] | null | null | null | sdl_render.c | tanishq-dubey/sen3.14 | 5cf0957fb81c38ffede15cf3bd04ec3bf0185a6d | [
"Apache-2.0"
] | null | null | null | #include "sdl_render.h"
void init_renderer() {
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
debug_print("%s", "Could not initalize SDL renderer!");
exit(-1);
}
int width = SCREEN_W;
int height = SCREEN_H;
int bpp = SCREEN_C;
int flags = SDL_HWSURFACE;
}
| 22 | 63 | 0.604895 |
ded0bdb42d190e2fec14298c7b3ccab7843c43c0 | 2,576 | h | C | Unreal/CtaCpp/Runtime/Scripts/Terrain/IGeoPositionSystem.h | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | 3 | 2021-06-02T16:44:02.000Z | 2022-01-24T20:20:10.000Z | Unreal/CtaCpp/Runtime/Scripts/Terrain/IGeoPositionSystem.h | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | Unreal/CtaCpp/Runtime/Scripts/Terrain/IGeoPositionSystem.h | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | #pragma once
#include "../Core/IBaseSystem.h"
#include "../Math/Vector3d.h"
#include "../Math/GcsUtils.h"
/*
The MIT License (MIT)
Copyright 2021 Adam Reilly, Call to Action Software LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ... | 49.538462 | 460 | 0.748835 |
a67f12cb60735e9b098c3b51562f63b03ef9603f | 926 | h | C | examples/OS/Keystone/include/OS/Keystone/V2/Model/Access.h | jxx-project/JXXRS | 0d788e3aba5231ec1782699c9d397b9d81fdb1fd | [
"BSL-1.0"
] | null | null | null | examples/OS/Keystone/include/OS/Keystone/V2/Model/Access.h | jxx-project/JXXRS | 0d788e3aba5231ec1782699c9d397b9d81fdb1fd | [
"BSL-1.0"
] | null | null | null | examples/OS/Keystone/include/OS/Keystone/V2/Model/Access.h | jxx-project/JXXRS | 0d788e3aba5231ec1782699c9d397b9d81fdb1fd | [
"BSL-1.0"
] | null | null | null | //
// Copyright (C) 2018 Dr. Michael Steffens
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef OS_Keystone_V2_Model_Access_INCLUDED
#define OS_Keystone_V2_Model_Access_INCLUDED
#include "OS/Keystone/V2/Model/Metadata.h"
#include "OS/Keystone/V2/Model/Service.h"
#include "OS/Keystone/V2/Model/Token.h"
#include "OS/K... | 25.027027 | 68 | 0.75162 |
b841c53a16593d7e8bbbabcaaa72c3afb51978f2 | 489 | h | C | assignment4/stdlibQueueImplementation/TellerEvent.h | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | assignment4/stdlibQueueImplementation/TellerEvent.h | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | assignment4/stdlibQueueImplementation/TellerEvent.h | matticoli/CS2303 | 5399fa2c8bdfcd0620793356dba108ba92f36da3 | [
"Apache-2.0"
] | null | null | null | //
// Created by Mikel Matticoli on 2/15/18.
//
#ifndef ASSIGNMENT4_TELLEREVENT_H
#define ASSIGNMENT4_TELLEREVENT_H
#include "Event.h"
#include "TellerQueue.h"
class TellerEvent : public Event {
public:
/**
* TellerQueue to serve customers from
*/
TellerQueue *queue;
T... | 18.807692 | 58 | 0.664622 |
8ed0e575a4b9c9665db3742bbdbad65050f95aca | 336 | h | C | Simulator/maze.h | ElonaKhoshaba/Micromouse-Floodfill | d94385a9f50b0ee80ecde0d9b00b6a870793372d | [
"MIT"
] | null | null | null | Simulator/maze.h | ElonaKhoshaba/Micromouse-Floodfill | d94385a9f50b0ee80ecde0d9b00b6a870793372d | [
"MIT"
] | 2 | 2021-02-16T10:14:20.000Z | 2021-02-16T23:54:22.000Z | Simulator/maze.h | ElonaKhoshaba/Micromouse-Floodfill | d94385a9f50b0ee80ecde0d9b00b6a870793372d | [
"MIT"
] | 2 | 2021-03-22T00:30:06.000Z | 2021-04-24T20:08:15.000Z | #ifndef MAZE_H
#define MAZE_H
#include <SDL2/SDL.h>
typedef struct
{
char name[64];
int size;
SDL_Texture* mazeTexture;
int hWalls [17][16];
int vWalls [16][17];
} Maze;
int loadMaze(Maze* maze, const char *path);
SDL_Texture* createMazeTexture(Maze *maze);
int renderMaze(Maze *ma... | 16.8 | 44 | 0.639881 |
119c21db2be4af2b951a8d1dbcd938005f036413 | 142 | h | C | Example/Pods/Target Support Files/AWGeometry/AWGeometry-umbrella.h | tomwey/AWGeometry | 994050a24fa837fd2daef64d106624d6653a706d | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/AWGeometry/AWGeometry-umbrella.h | tomwey/AWGeometry | 994050a24fa837fd2daef64d106624d6653a706d | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/AWGeometry/AWGeometry-umbrella.h | tomwey/AWGeometry | 994050a24fa837fd2daef64d106624d6653a706d | [
"MIT"
] | null | null | null | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double AWGeometryVersionNumber;
FOUNDATION_EXPORT const unsigned char AWGeometryVersionString[];
| 20.285714 | 64 | 0.84507 |
f9cbdee97221e82b16f297ec9a9bb30782b1e953 | 1,829 | c | C | xp/protocols/gg_protocols.c | vladcorneci/golden-gate | fab6e11c4df942c6a915328d805d3265f9ccc8e0 | [
"Apache-2.0"
] | 262 | 2020-05-05T21:25:17.000Z | 2022-03-22T09:11:15.000Z | xp/protocols/gg_protocols.c | vladcorneci/golden-gate | fab6e11c4df942c6a915328d805d3265f9ccc8e0 | [
"Apache-2.0"
] | 22 | 2020-05-07T21:20:42.000Z | 2022-02-25T02:44:50.000Z | xp/protocols/gg_protocols.c | vladcorneci/golden-gate | fab6e11c4df942c6a915328d805d3265f9ccc8e0 | [
"Apache-2.0"
] | 18 | 2020-05-06T07:21:43.000Z | 2022-02-08T09:49:23.000Z | /**
*
* @file
*
* @copyright
* Copyright 2017-2020 Fitbit, Inc
* SPDX-License-Identifier: Apache-2.0
*
* @author Gilles Boccon-Gibod
*
* @date 2017-11-21
*
* @details
* Misc protocol parsers and helpers
*/
/*----------------------------------------------------------------------
| includes
+------------... | 28.138462 | 95 | 0.448879 |
f9d6f363b8b32c29c760d1059e26a4b3f25a65ab | 774 | h | C | Twitter/Tweet.h | src-code/Tweeter | 6e9e93439faf5c905a2cc743798e1e14ad70d260 | [
"Apache-2.0"
] | null | null | null | Twitter/Tweet.h | src-code/Tweeter | 6e9e93439faf5c905a2cc743798e1e14ad70d260 | [
"Apache-2.0"
] | 1 | 2017-02-18T09:06:48.000Z | 2017-02-18T09:06:48.000Z | Twitter/Tweet.h | src-code/Tweeter | 6e9e93439faf5c905a2cc743798e1e14ad70d260 | [
"Apache-2.0"
] | null | null | null | //
// Tweet.h
// Twitter
//
// Created by Steve Carlson (Media Engineering) on 1/30/17.
// Copyright © 2017 Steve Carlson. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "User.h"
@interface Tweet : NSObject
@property (nonatomic, strong) NSString *tweetId;
@property (nonatomic, strong) NSStrin... | 27.642857 | 61 | 0.741602 |
fbb0f9d3d06002c0cc0f408a55474a2c13e754d6 | 488 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/powerpc/pr82112.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/powerpc/pr82112.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/powerpc/pr82112.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* PR target/82112 */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec -std=gnu90" } */
#include <altivec.h>
struct __attribute__((aligned (16))) S { unsigned char c[64]; } bar (void);
vector unsigned char v;
void
foo (void)
{
vec_ld (0, bar ().c); /* { dg... | 28.705882 | 99 | 0.647541 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.