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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c561e082f3817638d932a746474b6b048b18591 | 58,556 | c | C | src/SDK/boards/lpcxpresso55s28/usb_examples/usb_device_audio_speaker/bm/usb_device_descriptor.c | glassboard-dev/gl-umeasurement-firmware | ca0fb88f3ced84de9c88b256be0a6d5989c31cfe | [
"MIT"
] | 1 | 2021-12-30T01:56:04.000Z | 2021-12-30T01:56:04.000Z | src/SDK/boards/lpcxpresso55s28/usb_examples/usb_device_audio_speaker/bm/usb_device_descriptor.c | glassboard-dev/gl-umeasurement-firmware | ca0fb88f3ced84de9c88b256be0a6d5989c31cfe | [
"MIT"
] | null | null | null | src/SDK/boards/lpcxpresso55s28/usb_examples/usb_device_audio_speaker/bm/usb_device_descriptor.c | glassboard-dev/gl-umeasurement-firmware | ca0fb88f3ced84de9c88b256be0a6d5989c31cfe | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 - 2016, Freescale Semiconductor, Inc.
* Copyright 2016 - 2017, 2019 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "usb_device_config.h"
#include "usb.h"
#include "usb_device.h"
#include "usb_device_class.h"
#include "usb_device_audio.h"
#include "usb_de... | 54.521415 | 130 | 0.627468 |
807e8373800d2653b9fd65205a0941f4d60a60b9 | 2,277 | h | C | shared_include/optimization/fitmodel/EnergyData.h | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | null | null | null | shared_include/optimization/fitmodel/EnergyData.h | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | 2 | 2017-05-29T09:43:01.000Z | 2017-05-29T09:50:05.000Z | shared_include/optimization/fitmodel/EnergyData.h | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | 4 | 2017-05-17T11:56:02.000Z | 2022-03-05T09:12:24.000Z | #ifndef __FIT_MODEL_ENERGY_DATA_H__
#define __FIT_MODEL_ENERGY_DATA_H__
#include <vector>
#include <armadillo>
#include "landmark/Landmark.h"
#include "model/Model.h"
#include "mesh/Mesh.h"
namespace fitModel{
/* class that contains data that is set directly and
* does not need to be derived
*/
class EnergyD... | 23.474227 | 82 | 0.538428 |
4136e10fb6dc9edd8ab1bbf67b222863c66c57b8 | 2,933 | h | C | applications/plugins/DEPRECATED/QtOgreViewer/OgreSofaViewer.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/DEPRECATED/QtOgreViewer/OgreSofaViewer.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/DEPRECATED/QtOgreViewer/OgreSofaViewer.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 41.309859 | 103 | 0.537675 |
41e0da0cec3e63ff2af8ad8733d92b951cd92aee | 872 | h | C | implementations/sjolund2016/src/c/sse_funcs.h | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | 20 | 2016-11-21T05:36:09.000Z | 2022-01-01T22:21:24.000Z | implementations/sjolund2016/src/c/sse_funcs.h | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | 5 | 2016-09-25T13:27:40.000Z | 2016-11-21T23:12:50.000Z | implementations/sjolund2016/src/c/sse_funcs.h | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | 2 | 2019-03-25T09:39:19.000Z | 2022-03-20T13:48:12.000Z | #ifndef SSE_FUNCS_H
#define SSE_FUNCS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <tmmintrin.h>
#include <emmintrin.h>
#include <xmmintrin.h>
#include <smmintrin.h>
#include <pmmintrin.h>
void printvec(__m128i v, char * a);
void set_matrix_values_from_diagonal_byte_vector(__m128i v, unsigned short * matr... | 24.914286 | 144 | 0.799312 |
70fefe08f32a24c02fc27ce79a09f78d56198cce | 6,062 | c | C | tools/ringleb.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 29 | 2018-09-13T13:58:18.000Z | 2022-03-08T21:44:13.000Z | tools/ringleb.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 3 | 2020-11-10T11:28:30.000Z | 2021-11-23T09:21:28.000Z | tools/ringleb.c | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 20 | 2018-07-26T08:17:37.000Z | 2022-03-04T08:41:55.000Z | // SPDX-License-Identifier: BSD-2-Clause
/*
Copyright 2015 Bernard Parent
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions ... | 37.190184 | 118 | 0.54355 |
02d4c7d990c901fca60532ec489e7f62b2cab0dd | 726 | h | C | drawingWorkshop/pitchDrawing/src/aubio/aubioAnalyzer.h | ofZach/VAW_workshop | 0a0adab37bfd9f5cfbdb3f5eaf4cb255e8997f4d | [
"MIT"
] | 19 | 2015-02-06T16:23:23.000Z | 2021-06-23T07:56:36.000Z | drawingWorkshop/pitchDrawing/src/aubio/aubioAnalyzer.h | ofZach/VAW_workshop | 0a0adab37bfd9f5cfbdb3f5eaf4cb255e8997f4d | [
"MIT"
] | 1 | 2017-02-11T17:28:03.000Z | 2017-02-11T17:28:03.000Z | pitchDrawing/src/aubio/aubioAnalyzer.h | ofZach/drawingCodeACT | c53844f64246679bc22def36bbe136fbe8a980ee | [
"MIT"
] | 5 | 2015-11-25T06:33:09.000Z | 2019-03-16T11:19:06.000Z |
#pragma once
#include "aubio.h"
#include "ofMain.h"
class aubioAnalyzer{
public:
void setup();
void processAudio(float * buffer, int bufferSize);
~aubioAnalyzer();
float pitch;
float amplitude;
// ------------------------------------------------------------------
// internal aubio vari... | 20.166667 | 71 | 0.527548 |
7e36ba56d98954e6dce2474d1af47dd5d3c51a67 | 13,639 | h | C | ext/ds_squares.h | amecky/ds_sandbox | f31e69f72a76c40aeb0fa3e3fbe9b651660df770 | [
"MIT"
] | 1 | 2017-09-28T19:41:04.000Z | 2017-09-28T19:41:04.000Z | ext/ds_squares.h | amecky/ds_sandbox | f31e69f72a76c40aeb0fa3e3fbe9b651660df770 | [
"MIT"
] | null | null | null | ext/ds_squares.h | amecky/ds_sandbox | f31e69f72a76c40aeb0fa3e3fbe9b651660df770 | [
"MIT"
] | null | null | null | #pragma once
#include <diesel.h>
//#define QUAD_BATCH_IMPLEMENTATION
struct QuadBatchConstantBuffer {
ds::vec4 screenDimension;
ds::vec4 screenCenter;
ds::matrix wvp;
};
struct quad_texture {
RID textureID;
ds::vec2 textureSize;
};
struct vs_input {
ds::vec3 pos;
float tex[2];
ds::Color color;
};
struct Qua... | 35.986807 | 201 | 0.552093 |
0bc554a667ce5316ca36fe219beb4c5d8dff952a | 2,392 | h | C | src/net/ip/IGMP.h | tristanseifert/lichtenstein-firmware | 7680d0b2489332a5798030be5ab49f58518332f3 | [
"BSD-3-Clause"
] | null | null | null | src/net/ip/IGMP.h | tristanseifert/lichtenstein-firmware | 7680d0b2489332a5798030be5ab49f58518332f3 | [
"BSD-3-Clause"
] | null | null | null | src/net/ip/IGMP.h | tristanseifert/lichtenstein-firmware | 7680d0b2489332a5798030be5ab49f58518332f3 | [
"BSD-3-Clause"
] | null | null | null | /*
* IGMP.h
*
* Implements the means to transmit IGMP packet for joining/leaving multicast
* groups. This presently only implements a limited subset of IGMPv2, in that
* group queries are not implemented.
*
* Created on: Mar 9, 2018
* Author: tristan
*/
#ifndef NET_IP_IGMP_H_
#define NET_IP_IGMP_H_
#in... | 23.45098 | 80 | 0.716137 |
a37bb9525975155bc040b64212bb6fa0f33bd37b | 1,078 | h | C | src/sig/rainbow/pqclean_rainbowIa-cyclic_clean/api.h | nicholasfulton/liboqs | f61cd669253097052e1b4b5350a0b4616ed74df9 | [
"MIT"
] | 4 | 2020-12-28T15:16:49.000Z | 2022-01-05T16:40:09.000Z | src/sig/rainbow/pqclean_rainbowIa-cyclic_clean/api.h | nicholasfulton/liboqs | f61cd669253097052e1b4b5350a0b4616ed74df9 | [
"MIT"
] | null | null | null | src/sig/rainbow/pqclean_rainbowIa-cyclic_clean/api.h | nicholasfulton/liboqs | f61cd669253097052e1b4b5350a0b4616ed74df9 | [
"MIT"
] | 4 | 2020-12-22T00:45:01.000Z | 2022-01-05T16:40:14.000Z | #ifndef PQCLEAN_RAINBOWIACYCLIC_CLEAN_API_H
#define PQCLEAN_RAINBOWIACYCLIC_CLEAN_API_H
#include <stddef.h>
#include <stdint.h>
#define PQCLEAN_RAINBOWIACYCLIC_CLEAN_CRYPTO_SECRETKEYBYTES 92960
#define PQCLEAN_RAINBOWIACYCLIC_CLEAN_CRYPTO_PUBLICKEYBYTES 58144
#define PQCLEAN_RAINBOWIACYCLIC_CLEAN_CRYPTO_BYTES 64
#def... | 32.666667 | 84 | 0.802412 |
28052177297c34030a8473d19d80c08318407e46 | 358,322 | h | C | Source/HoudiniEngine/Private/GeometryToolsEngine.h | leaping-rhino/HoudiniEngineForUnreal | 7da6fea61907101071fb837e40c1902320604f7f | [
"BSD-3-Clause"
] | null | null | null | Source/HoudiniEngine/Private/GeometryToolsEngine.h | leaping-rhino/HoudiniEngineForUnreal | 7da6fea61907101071fb837e40c1902320604f7f | [
"BSD-3-Clause"
] | null | null | null | Source/HoudiniEngine/Private/GeometryToolsEngine.h | leaping-rhino/HoudiniEngineForUnreal | 7da6fea61907101071fb837e40c1902320604f7f | [
"BSD-3-Clause"
] | null | null | null |
#pragma once
#include "CoreMinimal.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <initializer_list>
#include <limits>
#include <map>
#include <memory>
#include <mutex>
#include <random>
#include <set>
#include <string>
#include <thread>
#include <type_trait... | 31.185553 | 130 | 0.605444 |
287f5ec16525f445a908976fb6c7132170ea726c | 8,846 | h | C | cpp/limax/include/json.h | zhangtongrui/limax_5.16 | cb243c50bbce5720da733ba913a271a5452fec04 | [
"MIT"
] | null | null | null | cpp/limax/include/json.h | zhangtongrui/limax_5.16 | cb243c50bbce5720da733ba913a271a5452fec04 | [
"MIT"
] | null | null | null | cpp/limax/include/json.h | zhangtongrui/limax_5.16 | cb243c50bbce5720da733ba913a271a5452fec04 | [
"MIT"
] | null | null | null | #pragma once
namespace limax {
namespace json_impl {
struct LIMAX_DLL_EXPORT_API JSONException
{
std::string message;
JSONException(int32_t _line);
};
class JSONBuilder;
class LIMAX_DLL_EXPORT_API JSONMarshal
{
public:
virtual ~JSONMarshal() {}
virtual JSONBuilder& marshal(JS... | 28.627832 | 100 | 0.635655 |
4de8989a8741fa21842d78fb2e2bbabc9f9f29d3 | 16,535 | h | C | tools/irstlm/src/ngramtable.h | hihihippp/Kaldi | 861f838a2aea264a9e4ffa4df253df00a8b1247f | [
"Apache-2.0"
] | 19 | 2015-03-19T10:53:38.000Z | 2020-12-17T06:12:32.000Z | tools/irstlm/src/ngramtable.h | UdyanSachdev/kaldi | 861f838a2aea264a9e4ffa4df253df00a8b1247f | [
"Apache-2.0"
] | 1 | 2018-12-18T17:43:44.000Z | 2018-12-18T17:43:44.000Z | tools/irstlm/src/ngramtable.h | UdyanSachdev/kaldi | 861f838a2aea264a9e4ffa4df253df00a8b1247f | [
"Apache-2.0"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | // $Id: ngramtable.h 34 2010-06-03 09:19:34Z nicolabertoldi $
/******************************************************************************
IrstLM: IRST Language Model Toolkit, compile LM
Copyright (C) 2006 Marcello Federico, ITC-irst Trento, Italy
This library is free software; you can redistribute it and/or
modif... | 23.894509 | 83 | 0.610826 |
d1a98cd8475d482cdb2f0c0e4d63b16d793ed385 | 2,539 | c | C | c/normal/append.c | zhgxun/cNotes | 5458182ed6757e0b6db2797eceff8424b302ef0a | [
"Apache-2.0"
] | 1 | 2019-03-01T16:04:12.000Z | 2019-03-01T16:04:12.000Z | c/normal/append.c | zhgxun/cNotes | 5458182ed6757e0b6db2797eceff8424b302ef0a | [
"Apache-2.0"
] | 8 | 2020-03-04T22:44:00.000Z | 2022-03-31T21:11:05.000Z | c/normal/append.c | zhgxun/cNotes | 5458182ed6757e0b6db2797eceff8424b302ef0a | [
"Apache-2.0"
] | 2 | 2018-03-12T06:19:06.000Z | 2019-07-08T09:01:30.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFSIZE 4096
#define SLEN 81
void append(FILE *source, FILE *dest);
char * s_gets(char *st, int n);
/**
* 把一个文件的内容附加到另一个文件的末尾
*/
int main(void)
{
// fd指向目标文件 fs指向源文件
FILE *fd, *fs;
// 附加文件的个数
int files = 0;
// 目标文件和源文件必须是当前目录下存在的文... | 24.892157 | 70 | 0.551398 |
9e69cc85d08bbb4b4e550f30e584ad961fa1a0cf | 17,710 | h | C | src/ic/ic.h | ADVAN-ELAA-8QM-PRC1/platform-external-v8 | d424a9e93b8e25ab0e3ac5aead27a5fac0795a1b | [
"BSD-3-Clause"
] | 22 | 2016-07-28T03:25:31.000Z | 2022-02-19T02:51:14.000Z | src/ic/ic.h | ADVAN-ELAA-8QM-PRC1/platform-external-v8 | d424a9e93b8e25ab0e3ac5aead27a5fac0795a1b | [
"BSD-3-Clause"
] | 10 | 2016-09-30T14:57:49.000Z | 2017-06-30T12:56:01.000Z | src/ic/ic.h | ADVAN-ELAA-8QM-PRC1/platform-external-v8 | d424a9e93b8e25ab0e3ac5aead27a5fac0795a1b | [
"BSD-3-Clause"
] | 23 | 2016-08-03T17:43:32.000Z | 2021-03-04T17:09:00.000Z | // Copyright 2012 the V8 project 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 V8_IC_H_
#define V8_IC_H_
#include "src/ic/ic-state.h"
#include "src/macro-assembler.h"
#include "src/messages.h"
namespace v8 {
namespace int... | 33.605313 | 80 | 0.677019 |
9ec711d38677e53bacc2d3978f1b487761893c5e | 618 | h | C | src/ADBViewer/src/App/gui/guiPage.h | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 9 | 2019-05-20T12:06:36.000Z | 2022-03-24T19:11:06.000Z | src/ADBViewer/src/App/gui/guiPage.h | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | null | null | null | src/ADBViewer/src/App/gui/guiPage.h | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 3 | 2020-07-06T04:51:33.000Z | 2021-07-26T20:08:02.000Z | #pragma once
class guiPage
{
public:
//
SDL_Point getoffset(SDL_Rect & r)
{
return { .x = r.x, .y = r.y };
}
SDL_Point getsize(SDL_Rect & r)
{
return { .x = r.w, .y = r.h };
}
SDL_Point getdisplay()
{
SDL_DisplayMode dm{};
if (SDL_GetCurrentDisplayM... | 17.657143 | 50 | 0.478964 |
3d19611329286c441e449c55c14bdd8790f253eb | 2,197 | h | C | lib/sk/other/yaml-cpp/src/setting.h | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | 4 | 2019-02-19T16:48:41.000Z | 2022-01-31T07:57:54.000Z | lib/sk/other/yaml-cpp/src/setting.h | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | 1 | 2019-01-30T04:48:35.000Z | 2019-01-30T04:48:35.000Z | lib/sk/other/yaml-cpp/src/setting.h | stemkit-collection/stemkit-cpp | dfa77d831f49916ba6d134f407a4dcd0983328f6 | [
"MIT"
] | null | null | null | #pragma once
#ifndef SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#include <memory>
#include <vector>
#include "noncopyable.h"
namespace SK_YAML
{
class SettingChangeBase;
template <typename T>
class Setting
{
public:
Setting(): m_value() {}
const ... | 21.125 | 99 | 0.712335 |
9a632e28fba58f7bd04fe9004797036c56e101ae | 187 | h | C | DataVault/AMPPreviewController/Example/AMPPreviewControllerExample/TestPreview.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | 21 | 2015-02-08T16:25:38.000Z | 2021-05-11T06:36:58.000Z | DataVault/AMPPreviewController/Example/AMPPreviewControllerExample/TestPreview.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | 5 | 2015-05-14T20:56:18.000Z | 2019-11-06T14:23:24.000Z | DataVault/AMPPreviewController/Example/AMPPreviewControllerExample/TestPreview.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | 22 | 2015-06-04T05:35:50.000Z | 2021-09-01T08:00:32.000Z | #import <Foundation/Foundation.h>
#import <QuickLook/QLPreviewItem.h>
@interface TestPreview : NSObject <QLPreviewItem>
- (NSString *)previewItemTitle;
- (NSURL *)previewItemURL;
@end
| 18.7 | 49 | 0.764706 |
3c1779c5514da44d78f1b0f8746a36de093a32bb | 3,929 | c | C | lib/gotconfig.c | gnohz-gnay/got | a7973c852b152d7e284db431caf42fc2f7f6b835 | [
"ISC"
] | 1 | 2020-11-17T16:11:33.000Z | 2020-11-17T16:11:33.000Z | lib/gotconfig.c | gnohz-gnay/got | a7973c852b152d7e284db431caf42fc2f7f6b835 | [
"ISC"
] | null | null | null | lib/gotconfig.c | gnohz-gnay/got | a7973c852b152d7e284db431caf42fc2f7f6b835 | [
"ISC"
] | 2 | 2020-10-23T17:21:36.000Z | 2020-10-27T16:35:18.000Z | /*
* Copyright (c) 2020 Stefan Sperling <stsp@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AN... | 23.957317 | 80 | 0.692543 |
d2e6618c485e7946a47d6f23f567d7fb0079e061 | 2,501 | h | C | orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.h | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.h | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | orbsvcs/FtRtEvent/EventChannel/FtEventServiceInterceptor.h | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | // -*- C++ -*-
//=============================================================================
/**
* @file FtEventServiceInterceptor.h
*
* $Id: FtEventServiceInterceptor.h 935 2008-12-10 21:47:27Z mitza $
*
* @author Huang-Ming Huang <hh1@cse.wustl.edu>
*/
//=================================================... | 29.77381 | 91 | 0.739304 |
fdbcc7bdd218d41816ae849f734652c527a2595c | 1,473 | h | C | shill/cellular/mm1_modem_modem3gpp_proxy_interface.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | shill/cellular/mm1_modem_modem3gpp_proxy_interface.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | shill/cellular/mm1_modem_modem3gpp_proxy_interface.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2018 The Chromium OS 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 SHILL_CELLULAR_MM1_MODEM_MODEM3GPP_PROXY_INTERFACE_H_
#define SHILL_CELLULAR_MM1_MODEM_MODEM3GPP_PROXY_INTERFACE_H_
#include <string>
#includ... | 34.255814 | 75 | 0.660557 |
fdbd135d49f60233cc88c6a53aaeb67b3a52a613 | 15,867 | c | C | libjr/io/mailhost.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | libjr/io/mailhost.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | libjr/io/mailhost.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | #define _POSIX_SOURCE 1
#include "ezport.h"
#include <errno.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
#include "jr/io.h"
#include "jr/alist.h"
#include "jr/string.h"
#include "jr/malloc.h"
#include "jr/inetlib.h"
#include ... | 21.12783 | 96 | 0.64839 |
45e579b518d151d221769949df6510787c100eac | 39 | h | C | riscv/insns/sltiu.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | 1 | 2015-07-19T07:34:32.000Z | 2015-07-19T07:34:32.000Z | riscv/insns/sltiu.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | null | null | null | riscv/insns/sltiu.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | 1 | 2022-01-17T19:58:49.000Z | 2022-01-17T19:58:49.000Z | RD = cmp_trunc(RS1) < cmp_trunc(SIMM);
| 19.5 | 38 | 0.692308 |
a9c2c3dae40375f564423122daaebb9f02e33af8 | 2,043 | h | C | windows/test/rs485drvtestdlg.h | grodansparadis/vscpl1drv-rs484 | 6ee7bbf91bc5f8c0ad022ea23bd1987a8d311cfd | [
"MIT"
] | 1 | 2022-01-24T20:20:23.000Z | 2022-01-24T20:20:23.000Z | windows/test/rs485drvtestdlg.h | grodansparadis/vscpl1drv-rs484 | 6ee7bbf91bc5f8c0ad022ea23bd1987a8d311cfd | [
"MIT"
] | null | null | null | windows/test/rs485drvtestdlg.h | grodansparadis/vscpl1drv-rs484 | 6ee7bbf91bc5f8c0ad022ea23bd1987a8d311cfd | [
"MIT"
] | null | null | null | // can232drvTestDlg.h : header file
//
// Copyright (C) 2000-2020
// Ake Hedman, Grodans Paradis AB, <akhe@grodansparadis.com>
#if !defined(AFX_CAN232DRVTESTDLG_H__89C80B00_D749_40AE_9AB7_6DA29FD82BA7__INCLUDED_)
#define AFX_CAN232DRVTESTDLG_H__89C80B00_D749_40AE_9AB7_6DA29FD82BA7__INCLUDED_
#if _MSC_VER > 1000
#prag... | 25.860759 | 97 | 0.753793 |
aaa3f3d130f0067613485232e630a5d373574bd8 | 322 | h | C | headers/3rdparty/NSAttributeDescription-MagicalRecord_DataImport.h | Tatsh-archive/tynder | bbbf0a2b7480d1a1519483ddcead6736d9ba6501 | [
"MIT"
] | 1 | 2015-03-03T13:37:47.000Z | 2015-03-03T13:37:47.000Z | headers/3rdparty/NSAttributeDescription-MagicalRecord_DataImport.h | Tatsh/tynder | bbbf0a2b7480d1a1519483ddcead6736d9ba6501 | [
"MIT"
] | null | null | null | headers/3rdparty/NSAttributeDescription-MagicalRecord_DataImport.h | Tatsh/tynder | bbbf0a2b7480d1a1519483ddcead6736d9ba6501 | [
"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 "NSAttributeDescription.h"
@interface NSAttributeDescription (MagicalRecord_DataImport)
- (id)MR_primaryKey;
- (id)MR_valueForKeyPath:(id)arg1 fromObjectData:(id)arg2;
@end... | 23 | 83 | 0.723602 |
8024623545e16a868ddd96ee22176e0ccd20fcad | 9,463 | c | C | src/sys/geom/raid/tr_raid0.c | dnybz/MeshBSD | 5c6c0539ce13d7cda9e2645e2e9e916e371f87b2 | [
"BSD-3-Clause"
] | null | null | null | src/sys/geom/raid/tr_raid0.c | dnybz/MeshBSD | 5c6c0539ce13d7cda9e2645e2e9e916e371f87b2 | [
"BSD-3-Clause"
] | null | null | null | src/sys/geom/raid/tr_raid0.c | dnybz/MeshBSD | 5c6c0539ce13d7cda9e2645e2e9e916e371f87b2 | [
"BSD-3-Clause"
] | null | null | null | /*-
* Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice... | 28.16369 | 86 | 0.727676 |
3404b0ee2e7b91b5aa1a3030d6440f65d325ab82 | 4,707 | c | C | day25/api.c | ghosind/HariboteOS | f2e1d3a46e061d68e2bb23f3d5eb25e8147b2d85 | [
"MIT"
] | 11 | 2021-06-09T01:11:51.000Z | 2022-03-17T12:32:28.000Z | day25/api.c | ghosind/HariboteOS | f2e1d3a46e061d68e2bb23f3d5eb25e8147b2d85 | [
"MIT"
] | null | null | null | day25/api.c | ghosind/HariboteOS | f2e1d3a46e061d68e2bb23f3d5eb25e8147b2d85 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "api.h"
#include "console.h"
#include "graphic.h"
#include "io.h"
#include "sheet.h"
#include "task.h"
#include "window.h"
int *hrb_api(int edi, int esi, int ebp, int esp, int ebx, int edx, int ecx,
int eax) {
struct Task *task = task_now();
int ds_base = task->ds_base;
... | 22.308057 | 79 | 0.499256 |
437c129e5fc0092b732677af0ec3359c751991c4 | 569 | h | C | lab-7b/part-3/ArrayStats.h | tejashah88/COMSC-165 | 30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5 | [
"MIT"
] | null | null | null | lab-7b/part-3/ArrayStats.h | tejashah88/COMSC-165 | 30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5 | [
"MIT"
] | null | null | null | lab-7b/part-3/ArrayStats.h | tejashah88/COMSC-165 | 30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5 | [
"MIT"
] | null | null | null | #ifndef ARRAYSTATS_H
#define ARRAYSTATS_H
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include <vector>
class ArrayStats
{
public:
ArrayStats(int size);
~ArrayStats() { delete [] numbers; }
void setNumber(float value, int index) { numbers[index] = value; };... | 19.62069 | 75 | 0.622144 |
b7647cca04bd267461f1ab7ffe58708d298822d1 | 1,449 | h | C | src/prod/src/client/ClientServerTransport/MoveNextUpgradeDomainMessageBody.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/client/ClientServerTransport/MoveNextUpgradeDomainMessageBody.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/client/ClientServerTransport/MoveNextUpgradeDomainMessageBody.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Manage... | 35.341463 | 100 | 0.590062 |
3181a274ec677202b0e5250cd00ee562b4b70064 | 6,717 | h | C | ns3-sat-sim/simulator/contrib/basic-sim/test/core/tcp-optimizer-test.h | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | 1 | 2022-03-18T15:42:45.000Z | 2022-03-18T15:42:45.000Z | ns3-sat-sim/simulator/contrib/basic-sim/test/core/tcp-optimizer-test.h | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | null | null | null | ns3-sat-sim/simulator/contrib/basic-sim/test/core/tcp-optimizer-test.h | kalelpida/hypatia | c10b63592b3229a35dbdc1d5b70b5e80ebc256bd | [
"MIT"
] | null | null | null | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#include "ns3/basic-simulation.h"
#include "ns3/test.h"
#include "ns3/topology-ptop.h"
#include "../test-helpers.h"
#include "ns3/ipv4-arbiter-routing-helper.h"
#include "ns3/traffic-control-layer.h"
#include "ns3/tcp-flow-scheduler.h"
#include "ns3/tcp... | 45.385135 | 117 | 0.664731 |
c8926a8945ac6c84e81ff651a18ed0b2eb8566ef | 1,843 | c | C | SOFTWARE/A64-TERES/u-boot_new/drivers/serial/lpc32xx_hsuart.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 35 | 2019-04-26T04:00:10.000Z | 2022-03-30T11:37:06.000Z | SOFTWARE/A64-TERES/u-boot_new/drivers/serial/lpc32xx_hsuart.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 4 | 2016-08-30T11:30:25.000Z | 2020-12-27T09:58:07.000Z | SOFTWARE/A64-TERES/u-boot_new/drivers/serial/lpc32xx_hsuart.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 11 | 2020-01-07T05:39:10.000Z | 2021-12-26T07:27:21.000Z | /*
* Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/arch/cpu.h>
#include <asm/arch/clk.h>
#include <asm/arch/uart.h>
#include <asm/io.h>
#include <serial.h>
#include <linux/compiler.h>
DECLARE_GLOBAL_DATA_PTR;
static struct hsuart_r... | 20.477778 | 71 | 0.705914 |
c8948b7d5674047a2b6368e86529dc0011364c4c | 990 | h | C | PrivateFrameworks/OfficeImport/OAITOrientedBounds.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/OfficeImport/OAITOrientedBounds.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/OfficeImport/OAITOrientedBounds.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
__attribute__((visibility("hidden")))
@interface OAITOrientedBounds : NSObject
{
}
+ (struct CGRect)axisParallelBoundsOfOrientedBounds:(id)arg1;
+ (id)relativ... | 38.076923 | 134 | 0.79798 |
4e443dd72c88aa7089b13e6c159158f1203f2d8b | 1,858 | h | C | code/Modules/Gfx/d3d11/d3d11MeshFactory.h | waywardmonkeys/oryol | 6b496fa9f5fd7acbae3363e0617cb13d333aa6bf | [
"MIT"
] | null | null | null | code/Modules/Gfx/d3d11/d3d11MeshFactory.h | waywardmonkeys/oryol | 6b496fa9f5fd7acbae3363e0617cb13d333aa6bf | [
"MIT"
] | null | null | null | code/Modules/Gfx/d3d11/d3d11MeshFactory.h | waywardmonkeys/oryol | 6b496fa9f5fd7acbae3363e0617cb13d333aa6bf | [
"MIT"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
/**
@class Oryol::_priv::d3d11MeshFactory
@ingroup _priv
@brief D3D11 implementation of MeshFactory
*/
#include "Resource/ResourceState.h"
#include "Gfx/Core/gfxPointers.h"
#include "Gfx/Core/Enums.h"
#include "Gfx... | 29.967742 | 120 | 0.673843 |
0828f678a63a33b046d5670828fe4b6e11e69ef2 | 233 | h | C | BLEDemo/BLEDemo/ViewController.h | CoderHJZhao/HJBluetoothDemo | 2fa075b3fd9f53f286ba34ba0438885297074cad | [
"MIT"
] | null | null | null | BLEDemo/BLEDemo/ViewController.h | CoderHJZhao/HJBluetoothDemo | 2fa075b3fd9f53f286ba34ba0438885297074cad | [
"MIT"
] | null | null | null | BLEDemo/BLEDemo/ViewController.h | CoderHJZhao/HJBluetoothDemo | 2fa075b3fd9f53f286ba34ba0438885297074cad | [
"MIT"
] | null | null | null | //
// ViewController.h
// BLEDemo
//
// Created by ZhaoHanjun on 16/4/3.
// Copyright © 2016年 https://github.com/CoderHJZhao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 14.5625 | 74 | 0.695279 |
0c0b282671169b229fe86639cf3f273ad9662c44 | 1,402 | h | C | src/sys/processors/processor_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 15 | 2015-07-07T15:48:30.000Z | 2019-10-27T18:49:49.000Z | src/sys/processors/processor_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | null | null | null | src/sys/processors/processor_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 4 | 2016-11-23T05:50:01.000Z | 2019-09-18T12:44:36.000Z | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of t... | 31.863636 | 75 | 0.506419 |
aede68952b3e539104ccb9d46d7d281eef54078e | 1,696 | h | C | src/qt/qtwebkit/Source/WebKit/qt/WidgetSupport/DefaultFullScreenVideoHandler.h | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebKit/qt/WidgetSupport/DefaultFullScreenVideoHandler.h | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebKit/qt/WidgetSupport/DefaultFullScreenVideoHandler.h | zwollerob/PhantomJS_AMR6VL | 71c126e98a8c32950158d04d0bd75823cd008b99 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015 The Qt Company Ltd.
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version ... | 33.254902 | 76 | 0.773585 |
aef1f12e79bc7cfa9585568e25203dc7418763f5 | 1,007 | c | C | cpuinfo.c | traktofon/cpuinfo | 176d7df561038218951c017a800d777c5a820e37 | [
"MIT"
] | null | null | null | cpuinfo.c | traktofon/cpuinfo | 176d7df561038218951c017a800d777c5a820e37 | [
"MIT"
] | null | null | null | cpuinfo.c | traktofon/cpuinfo | 176d7df561038218951c017a800d777c5a820e37 | [
"MIT"
] | null | null | null | #include <hwloc.h>
#include <stdio.h>
void exit_usage(int exitcode) {
fprintf(stderr, "Usage: cpuinfo [ socket | core | thread ]\n"
"Print the number of CPU objects in the system. Default is core.\n");
exit(exitcode);
}
int main(int argc, char* argv[])
{
hwloc_topology_t topology;
... | 25.175 | 89 | 0.566038 |
0396de9a5dd681705ad4a41503354735c669281e | 15,752 | c | C | src/mosfet.c | SequentMicrosystems/8mosfet-rpi | 445e7d2245f8936f9fd7c7eca7237832b101eb9b | [
"MIT"
] | 2 | 2020-07-09T15:25:32.000Z | 2021-07-07T03:21:53.000Z | src/mosfet.c | SequentMicrosystems/8mosfet-rpi | 445e7d2245f8936f9fd7c7eca7237832b101eb9b | [
"MIT"
] | null | null | null | src/mosfet.c | SequentMicrosystems/8mosfet-rpi | 445e7d2245f8936f9fd7c7eca7237832b101eb9b | [
"MIT"
] | 1 | 2021-07-07T03:21:57.000Z | 2021-07-07T03:21:57.000Z | /*
* mosfet8.c:
* Command-line interface to the Raspberry
* Pi's 8-Mosfet board.
* Copyright (c) 2016-2020 Sequent Microsystem
* <http://www.sequentmicrosystem.com>
***********************************************************************
* Author: Alexandru Burcea
****************************************... | 20.404145 | 117 | 0.534599 |
26c1df1dea931beecf124acc587eb0a12859d548 | 205 | h | C | firmware/user/QMA6981.h | thaeli/Swadge-Devkit-Fw | f7104c759fcbb7a1c7d192af09ecdf9d54f69fbc | [
"MIT"
] | 4 | 2020-01-06T19:18:49.000Z | 2020-07-20T14:42:58.000Z | firmware/user/QMA6981.h | thaeli/Swadge-Devkit-Fw | f7104c759fcbb7a1c7d192af09ecdf9d54f69fbc | [
"MIT"
] | 60 | 2019-03-26T04:41:00.000Z | 2019-12-21T17:36:50.000Z | firmware/user/QMA6981.h | thaeli/Swadge-Devkit-Fw | f7104c759fcbb7a1c7d192af09ecdf9d54f69fbc | [
"MIT"
] | 5 | 2019-07-07T01:28:22.000Z | 2019-12-14T04:16:12.000Z | /*
* QMA6981.h
*
* Created on: Jul 9, 2019
* Author: adam
*/
#ifndef QMA6981_H_
#define QMA6981_H_
bool QMA6981_setup(void);
void QMA6981_poll(accel_t* currentAccel);
#endif /* QMA6981_H_ */
| 13.666667 | 41 | 0.673171 |
145d7a42b63fc5c9057f71826aaef913d2f28b51 | 925 | c | C | kernel/drivers/kevent_dev.c | ilmarfreitaso/wscodelabs | 6d168602c32e301187948479b997e6ceb3c1afe7 | [
"Apache-2.0"
] | null | null | null | kernel/drivers/kevent_dev.c | ilmarfreitaso/wscodelabs | 6d168602c32e301187948479b997e6ceb3c1afe7 | [
"Apache-2.0"
] | null | null | null | kernel/drivers/kevent_dev.c | ilmarfreitaso/wscodelabs | 6d168602c32e301187948479b997e6ceb3c1afe7 | [
"Apache-2.0"
] | null | null | null | #include <dev/basic_dev.h>
#include <system.h>
bool kevent_init() {
return true;
}
#define KEVENT_BUF_SIZE 32
static char _buffer_data[KEVENT_BUF_SIZE];
static dev_buffer_t _kevent_buffer = { _buffer_data, KEVENT_BUF_SIZE, 0, 0 };
static int32_t _kevent_lock = 0;
void dev_kevent_push(uint32_t ev) {
const char* p ... | 22.560976 | 77 | 0.713514 |
6cecf8581f50d8ff4dbd5b5ebbf0c35c1fdc312d | 809 | c | C | divide-and-conquer-examples/c/ex_6.c | prabhatk579/algorithms | fdbc962244a98846750564f4c3f3972c808a7247 | [
"MIT"
] | null | null | null | divide-and-conquer-examples/c/ex_6.c | prabhatk579/algorithms | fdbc962244a98846750564f4c3f3972c808a7247 | [
"MIT"
] | null | null | null | divide-and-conquer-examples/c/ex_6.c | prabhatk579/algorithms | fdbc962244a98846750564f4c3f3972c808a7247 | [
"MIT"
] | 2 | 2021-05-21T17:01:07.000Z | 2021-05-23T05:45:44.000Z | /*
Given a sorted array of non-repeated integers A[1...n], n > 1 then check whether there is
an index i for which A[i] = i. Give an algorithm that runs in O(logn) time
*/
#include <stdio.h>
int BS(int a[], int l, int h){
if(h >= l){
int mid = (l + h)/2;
if(a[mid] == mid){
retur... | 23.794118 | 93 | 0.458591 |
159d45d8ced0cd0565830f0cde0467008d40f218 | 2,076 | h | C | OpenSeesLibs/petsc/Unix/3.10.3_2/include/petscmachineinfo.h | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | OpenSeesLibs/petsc/Unix/3.10.3_2/include/petscmachineinfo.h | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | OpenSeesLibs/petsc/Unix/3.10.3_2/include/petscmachineinfo.h | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | static const char *petscmachineinfo = "\n"
"-----------------------------------------\n"
"Libraries compiled on 2019-05-31 04:06:45 on Office \n"
"Machine characteristics: Linux-5.0.0-15-generic-x86_64-with-Ubuntu-19.04-disco\n"
"Using PETSc directory: /home/linuxbrew/.linuxbrew/Cellar/petsc/3.10.3_2\n"
"Using PETSc ar... | 103.8 | 1,029 | 0.67341 |
29dff087eed3fa5b30f42d579c11492b05378fbe | 6,457 | h | C | src/min_l-bfgs.h | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 3 | 2018-06-06T05:43:36.000Z | 2020-07-18T14:31:37.000Z | src/min_l-bfgs.h | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | null | null | null | src/min_l-bfgs.h | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 7 | 2018-01-16T03:21:20.000Z | 2020-07-20T19:36:13.000Z | #ifndef __MAPP__min_l_bfgs__
#define __MAPP__min_l_bfgs__
#include "min_cg.h"
namespace MAPP_NS
{
class MinLBFGS:public MinCG
{
private:
protected:
int m;
type0* rho;
type0* alpha;
void* s_ptr;
void* y_ptr;
public:
MinLBFGS(int,type0,bool(&)[__dim__][... | 25.623016 | 100 | 0.513087 |
76730150e20c6fd718b6656d3289cb973e00bdfd | 962 | h | C | deps/webrtc/include/third_party/WebKit/Source/core/leak_detector/BlinkLeakDetector.h | QueenConch/quick_start_webrtc_native | 0321fb204a076b437e0d708c2ec55cae6464c4f3 | [
"MIT"
] | 2 | 2018-07-04T00:29:09.000Z | 2020-07-05T09:24:59.000Z | deps/webrtc/include/third_party/WebKit/Source/core/leak_detector/BlinkLeakDetector.h | QueenConch/quick_start_webrtc_native | 0321fb204a076b437e0d708c2ec55cae6464c4f3 | [
"MIT"
] | null | null | null | deps/webrtc/include/third_party/WebKit/Source/core/leak_detector/BlinkLeakDetector.h | QueenConch/quick_start_webrtc_native | 0321fb204a076b437e0d708c2ec55cae6464c4f3 | [
"MIT"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BlinkLeakDetector_h
#define BlinkLeakDetector_h
#include "core/CoreExport.h"
#include "platform/Timer.h"
namespace blink {
class BlinkLeakDetec... | 26 | 77 | 0.788981 |
e464df0473ba1311030dbcff8ebc8a290db34708 | 482 | h | C | Source/FSD/Public/SchematicGADataEntry.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSD/Public/SchematicGADataEntry.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | Source/FSD/Public/SchematicGADataEntry.h | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | null | null | null | #pragma once
#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "SchematicGADataEntry.generated.h"
USTRUCT(BlueprintType)
struct FSchematicGADataEntry : public FTableRowBase {
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
int32 SchematicGA... | 25.368421 | 79 | 0.76971 |
538afbac5454f2442a7503758a479933aac0f54c | 1,134 | h | C | VideoTime/VideoTime/Network/Base/BaseNetworkHandler.h | wuyuanping/VideoTime | 8b8217492245ff4d1bf5ebcf9ef1ba3339bac66a | [
"Apache-2.0"
] | null | null | null | VideoTime/VideoTime/Network/Base/BaseNetworkHandler.h | wuyuanping/VideoTime | 8b8217492245ff4d1bf5ebcf9ef1ba3339bac66a | [
"Apache-2.0"
] | null | null | null | VideoTime/VideoTime/Network/Base/BaseNetworkHandler.h | wuyuanping/VideoTime | 8b8217492245ff4d1bf5ebcf9ef1ba3339bac66a | [
"Apache-2.0"
] | null | null | null | //
// BaseNetworkHandler.h
// VideoTime
//
// Created by 吴园平 on 23/09/2017.
// Copyright © 2017 WuYuanPing. All rights reserved.
//
// 该类主要用来实现数据加密,解密操作
#import <Foundation/Foundation.h>
#import "BaseResponseResult.h"
/**
* 网络请求缓存
* cacheData : 缓存对象
*/
typedef void (^RequestCacheBlock)(id cacheData);
/**
... | 16.434783 | 104 | 0.69224 |
410dc1aea56d170caab50f4b10e68d9984ee28c1 | 452 | c | C | examples/test_monocypher_eddsa.c | trailofbits/sandshrew | caf14dbb4c45392ba7347c2adc11282cbd1f4e71 | [
"MIT"
] | 19 | 2019-04-01T08:23:39.000Z | 2022-02-25T01:51:31.000Z | examples/test_monocypher_eddsa.c | trailofbits/sandshrew | caf14dbb4c45392ba7347c2adc11282cbd1f4e71 | [
"MIT"
] | 2 | 2019-04-22T15:48:19.000Z | 2021-03-26T00:01:58.000Z | examples/test_monocypher_eddsa.c | trailofbits/sandshrew | caf14dbb4c45392ba7347c2adc11282cbd1f4e71 | [
"MIT"
] | 2 | 2019-04-22T15:43:53.000Z | 2022-02-25T01:51:34.000Z | /* test_monocypher_eddsa.c
*
* Tests:
* EdDSA signing fault with all-zero input
*
* Descriptions:
* Tests sandshrews ability to determine ...
*
* Results:
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "monocypher.c"
int
main(int argc, char *argv[])
{
u... | 16.740741 | 63 | 0.632743 |
5b2a424e235f4b428b9b149e784b5381893a9a8b | 3,742 | h | C | src/lib/crypto/OSSLComp.h | ansasaki/SoftHSMv2 | 80b96a9f79b9898a2c799aa6ce899ae6f88211cd | [
"BSD-2-Clause"
] | 486 | 2015-01-04T05:57:25.000Z | 2022-03-30T02:40:52.000Z | src/lib/crypto/OSSLComp.h | martinpaljak/SoftHSMv2 | a431e61b890b91fb208711816014c25fb83367a9 | [
"BSD-2-Clause"
] | 486 | 2015-01-12T08:51:33.000Z | 2022-03-22T09:06:15.000Z | src/lib/crypto/OSSLComp.h | martinpaljak/SoftHSMv2 | a431e61b890b91fb208711816014c25fb83367a9 | [
"BSD-2-Clause"
] | 274 | 2015-01-21T21:41:45.000Z | 2022-03-30T15:05:54.000Z | /*
* Copyright (c) 2016 SURFnet bv
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | 35.980769 | 80 | 0.714324 |
c475ee33bcfca6f6fda542e3c87ccc02a16258ab | 3,732 | c | C | pyscf/lib/gto/fill_r_4c.c | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | 1 | 2017-03-03T02:12:08.000Z | 2017-03-03T02:12:08.000Z | pyscf/lib/gto/fill_r_4c.c | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | null | null | null | pyscf/lib/gto/fill_r_4c.c | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | null | null | null | /* Copyright 2014-2018 The PySCF Developers. 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 requi... | 35.884615 | 76 | 0.556538 |
0efbab7183042a5c73aa3881ac0b0169d9a83f4b | 2,380 | h | C | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Rigids/Joints/PRISMATIC_TWIST_JOINT.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Rigids/Joints/PRISMATIC_TWIST_JOINT.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Rigids/Joints/PRISMATIC_TWIST_JOINT.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2007, Craig Schroeder, Tamar Shinar, Jonathan Su
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//################################################... | 41.754386 | 163 | 0.669748 |
3f51a8d3ceaa37731f0bdce2ca21a622508194c0 | 2,875 | h | C | third_party/wpilibsuite/allwpilib/hal/src/main/native/sim/MockData/DIODataInternal.h | GregPikitis/robot-code-public | 9671deebff32336fea9865daf0f54d7925c36dd8 | [
"MIT"
] | 2 | 2018-07-28T17:30:42.000Z | 2018-09-12T18:14:20.000Z | third_party/wpilibsuite/allwpilib/hal/src/main/native/sim/MockData/DIODataInternal.h | GregPikitis/robot-code-public | 9671deebff32336fea9865daf0f54d7925c36dd8 | [
"MIT"
] | 2 | 2018-09-23T01:03:48.000Z | 2019-08-30T19:11:10.000Z | third_party/wpilibsuite/allwpilib/hal/src/main/native/sim/MockData/DIODataInternal.h | GregPikitis/robot-code-public | 9671deebff32336fea9865daf0f54d7925c36dd8 | [
"MIT"
] | 2 | 2018-07-28T14:53:16.000Z | 2018-09-20T19:52:51.000Z | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 39.383562 | 80 | 0.674783 |
277ac2edb8e0c1e60cf3171b04625cdeb0690da3 | 8,488 | h | C | aws-cpp-sdk-apigatewayv2/include/aws/apigatewayv2/model/MutualTlsAuthenticationInput.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-apigatewayv2/include/aws/apigatewayv2/model/MutualTlsAuthenticationInput.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-apigatewayv2/include/aws/apigatewayv2/model/MutualTlsAuthenticationInput.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValu... | 46.130435 | 140 | 0.716423 |
8f65dbe39e900266b6ff68aa7371c59556e291ad | 7,079 | h | C | Grammar.h | ogorodnikoff2012/LR-parser | cceeab196e17662976f333096ce81b264e9e8b21 | [
"MIT-0"
] | null | null | null | Grammar.h | ogorodnikoff2012/LR-parser | cceeab196e17662976f333096ce81b264e9e8b21 | [
"MIT-0"
] | null | null | null | Grammar.h | ogorodnikoff2012/LR-parser | cceeab196e17662976f333096ce81b264e9e8b21 | [
"MIT-0"
] | null | null | null | //
// Created by xenon on 18.11.17.
//
#ifndef LR1_GRAMMAR_H
#define LR1_GRAMMAR_H
#include <string>
#include <vector>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <map>
template <class T>
class Grammar {
public:
typedef int symbol_t;
typedef std::pair<symbol_t, std::vector<symbo... | 28.09127 | 94 | 0.511937 |
e9be7462e78f1d4f699c89e05479f4372b1b9e9c | 17,557 | c | C | src/elastic-connection.c | Bubu/fts-elastic | 164ef965b503b1424f784ba93119f8516c0e39f2 | [
"MIT"
] | null | null | null | src/elastic-connection.c | Bubu/fts-elastic | 164ef965b503b1424f784ba93119f8516c0e39f2 | [
"MIT"
] | null | null | null | src/elastic-connection.c | Bubu/fts-elastic | 164ef965b503b1424f784ba93119f8516c0e39f2 | [
"MIT"
] | 3 | 2020-08-05T01:53:47.000Z | 2021-10-20T03:36:21.000Z | /* Copyright (c) 2006-2014 Dovecot authors, see the included COPYING file */
/* Copyright (c) 2014 Joshua Atkins <josh@ascendantcom.com> */
/* Copyright (c) 2019-2020 Filip Hanes <filip.hanes@gmail.com> */
#include "lib.h"
#include "array.h"
#include "hash.h"
#include "str.h"
#include "strescape.h"
#include "ioloop.h"... | 30.640489 | 90 | 0.619069 |
eb648d425c4da7ee75517ac85fe4a498656a24be | 336 | h | C | Classes/CodeGenerator/Objc/ObjectModel/Types/FLObjcValueType.h | fishlamp-released/FishLamp3 | 216293cc4d08945853ac271affff0968f8137655 | [
"MIT"
] | 1 | 2015-12-30T13:15:11.000Z | 2015-12-30T13:15:11.000Z | Classes/CodeGenerator/Objc/ObjectModel/Types/FLObjcValueType.h | fishlamp-released/FishLamp3 | 216293cc4d08945853ac271affff0968f8137655 | [
"MIT"
] | null | null | null | Classes/CodeGenerator/Objc/ObjectModel/Types/FLObjcValueType.h | fishlamp-released/FishLamp3 | 216293cc4d08945853ac271affff0968f8137655 | [
"MIT"
] | null | null | null | //
// FLObjcValueType.h
// CodeGenerator
//
// Created by Mike Fullerton on 5/31/13.
// Copyright (c) 2013 Mike Fullerton. All rights reserved.
//
#import "FLObjcType.h"
@class FLObjcName;
@interface FLObjcValueType : FLObjcType
+ (id) objcValueType:(FLObjcName*) typeName
importFileName:(NSString*) import... | 19.764706 | 59 | 0.714286 |
7532bab9997625bcf804fe43472ec72c984aa768 | 598 | h | C | plugin_III/game_III/CColSphere.h | gta-chaos-mod/plugin-sdk | e3bf176337774a2afc797a47825f81adde78e899 | [
"Zlib"
] | 368 | 2015-01-01T21:42:00.000Z | 2022-03-29T06:22:22.000Z | plugin_III/game_III/CColSphere.h | SteepCheat/plugin-sdk | a17c5d933cb8b06e4959b370092828a6a7aa00ef | [
"Zlib"
] | 89 | 2016-05-08T06:42:36.000Z | 2022-03-29T06:49:09.000Z | plugin_III/game_III/CColSphere.h | SteepCheat/plugin-sdk | a17c5d933cb8b06e4959b370092828a6a7aa00ef | [
"Zlib"
] | 179 | 2015-02-03T23:41:17.000Z | 2022-03-26T08:27:16.000Z | /*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
#include "CSphere.h"
#include "tColSurface.h"
class PLUGIN_API CColSphere : public ... | 23.92 | 114 | 0.742475 |
55e942282aa9f2ebcc65994c2d38f413ba8c176a | 954 | c | C | kernel/sched/lock.c | racing19th/MiraiOS | c20de0d33cab1f56b9d44860131fc191eb2d3d22 | [
"MIT"
] | 12 | 2017-11-25T04:15:18.000Z | 2022-03-12T08:53:34.000Z | kernel/sched/lock.c | racing19th/MiraiOS | c20de0d33cab1f56b9d44860131fc191eb2d3d22 | [
"MIT"
] | null | null | null | kernel/sched/lock.c | racing19th/MiraiOS | c20de0d33cab1f56b9d44860131fc191eb2d3d22 | [
"MIT"
] | 3 | 2017-11-29T10:15:54.000Z | 2021-06-25T17:17:32.000Z | #include <sched/lock.h>
#include <sched/spinlock.h>
#include <sched/readyqueue.h>
#include <stddef.h>
void semInit(semaphore_t *semaphore, int value) {
semaphore->value = value;
}
void semWait(semaphore_t *semaphore) {
thread_t curThread = getCurrentThread();
acquireSpinlock(&curThread->lock);
acquireSpinlock(&... | 21.2 | 68 | 0.719078 |
8a26e6554e14efe83261ede534039d213a4168c9 | 2,805 | h | C | Android/text/SpannableString.h | mxenabled/androidpp | 5fd587157232d1d92bcc9402c0b9acfb5e65034b | [
"ICU",
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | 3 | 2016-03-25T14:11:57.000Z | 2021-08-24T19:46:11.000Z | Android/text/SpannableString.h | mxenabled/androidpp | 5fd587157232d1d92bcc9402c0b9acfb5e65034b | [
"ICU",
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | Android/text/SpannableString.h | mxenabled/androidpp | 5fd587157232d1d92bcc9402c0b9acfb5e65034b | [
"ICU",
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | 2 | 2018-01-18T04:38:16.000Z | 2019-05-29T02:20:44.000Z | //
// SpannableString.h
// Androidpp
//
// Created by Saul Howard on 1/15/14.
// Copyright (c) 2014 MoneyDesktop. All rights reserved.
//
#ifndef Androidpp_SpannableString_h
#define Androidpp_SpannableString_h
#include "AndroidMacros.h"
#include "Android/text/SpannableStringInternal.h"
#include "Android/text/Cha... | 28.917526 | 185 | 0.7041 |
8abbacc272b75ef29a2f70ff5b6254bc24640345 | 1,654 | c | C | caf/tests/annealingTest.c | pbasting/cactus | 833d8ca015deecdfa5d0aca01211632cdaca9e58 | [
"MIT-0"
] | 209 | 2016-11-12T14:16:50.000Z | 2022-03-30T04:44:11.000Z | caf/tests/annealingTest.c | pbasting/cactus | 833d8ca015deecdfa5d0aca01211632cdaca9e58 | [
"MIT-0"
] | 468 | 2016-11-06T01:16:43.000Z | 2022-03-31T16:24:37.000Z | caf/tests/annealingTest.c | pbasting/cactus | 833d8ca015deecdfa5d0aca01211632cdaca9e58 | [
"MIT-0"
] | 75 | 2017-03-09T22:19:27.000Z | 2022-03-14T22:03:33.000Z | /*
* Copyright (C) 2009-2011 by Benedict Paten (benedictpaten@gmail.com)
*
* Released under the MIT license, see LICENSE.txt
*/
#include "CuTest.h"
#include "sonLib.h"
#include "stCaf.h"
#include "stPinchGraphs.h"
void stCaf_anneal2(stPinchThreadSet *threadSet, stPinch *(*pinchIterator)(void *), void *extraArg);
... | 33.08 | 108 | 0.712817 |
8dfe40ca1953e69de3cfbd180dcb04c793fb24c1 | 1,568 | h | C | src/main-computer/infrastructure/peripherals/microcontroller/serial_comm.h | schutzekatze/mewps | c8cf5c6e4d5c824b8dbda2363db6ccdb07d96bb7 | [
"Apache-2.0"
] | null | null | null | src/main-computer/infrastructure/peripherals/microcontroller/serial_comm.h | schutzekatze/mewps | c8cf5c6e4d5c824b8dbda2363db6ccdb07d96bb7 | [
"Apache-2.0"
] | null | null | null | src/main-computer/infrastructure/peripherals/microcontroller/serial_comm.h | schutzekatze/mewps | c8cf5c6e4d5c824b8dbda2363db6ccdb07d96bb7 | [
"Apache-2.0"
] | null | null | null | /*
* serial_comm.h
*
* Copyright 2017 Vladimir Nikolić
*/
#ifndef INFRASTRUCTURE_PERIPHERALS_HARDWARE_SERIAL_COMM_H
#define INFRASTRUCTURE_PERIPHERALS_HARDWARE_SERIAL_COMM_H
/*
* This header declares routines for serial communication between
* the main computer and the microcontroller.
*
* The mode used is 8... | 35.636364 | 89 | 0.783163 |
69f82b1d9fdab36574eaabdd2fba1d5f21014de7 | 5,902 | h | C | talk/examples/login/status.h | udit043/libjingle | dd7c03d0c5c358ada97feae44a5f76acad8dca13 | [
"BSD-3-Clause"
] | 5 | 2015-09-16T06:10:59.000Z | 2019-12-25T05:30:00.000Z | talk/examples/login/status.h | udit043/libjingle | dd7c03d0c5c358ada97feae44a5f76acad8dca13 | [
"BSD-3-Clause"
] | null | null | null | talk/examples/login/status.h | udit043/libjingle | dd7c03d0c5c358ada97feae44a5f76acad8dca13 | [
"BSD-3-Clause"
] | 3 | 2015-08-01T11:38:08.000Z | 2019-11-01T05:16:09.000Z | /*
* Jingle call example
* Copyright 2004--2005, Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*... | 27.70892 | 76 | 0.62589 |
a31885915d7dad8d669f96885c17e0bbbfd74de3 | 19,655 | h | C | include/utils_list.h | openharmony-gitee-mirror/utils_native_lite | d7ab2be0cc7bf7a5af840e9b542eca1d3cf5afd4 | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | include/utils_list.h | openharmony-gitee-mirror/utils_native_lite | d7ab2be0cc7bf7a5af840e9b542eca1d3cf5afd4 | [
"Apache-2.0"
] | null | null | null | include/utils_list.h | openharmony-gitee-mirror/utils_native_lite | d7ab2be0cc7bf7a5af840e9b542eca1d3cf5afd4 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:04:30.000Z | 2021-09-13T12:04:30.000Z | /*
* Copyright (c) 2020 Huawei Device Co., Ltd.
* 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... | 31.855754 | 117 | 0.590079 |
ed66758aafc5af606f27d56d5ef4926a2ac01d97 | 17,040 | h | C | src/cc/legendre_decomposition.h | Log-Analysis/Legendre-decomposition | 28b4bf785ed5b02b8f88a25aec4f83fe0dcb5eec | [
"MIT"
] | 13 | 2018-12-03T03:16:18.000Z | 2021-11-29T06:52:07.000Z | src/cc/legendre_decomposition.h | Log-Analysis/Legendre-decomposition | 28b4bf785ed5b02b8f88a25aec4f83fe0dcb5eec | [
"MIT"
] | null | null | null | src/cc/legendre_decomposition.h | Log-Analysis/Legendre-decomposition | 28b4bf785ed5b02b8f88a25aec4f83fe0dcb5eec | [
"MIT"
] | 4 | 2018-12-03T03:16:23.000Z | 2021-09-30T05:45:54.000Z | // #define EIGEN_USE_MKL_ALL
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <list>
#include <numeric>
#include <random>
#include <functional>
#include <utility>
#include <iomanip>
#include <tuple>
#include <time.h>
#include <chrono>
#include <Eigen/Dense>
#def... | 30.647482 | 214 | 0.540434 |
d46d054e34c218cd747d081f193d2145caca3076 | 638 | c | C | C/VUP10/9.c | MrHighTech/UPRO | 1824a9ef4fd136f68459c049619e8feb611d10a2 | [
"MIT"
] | null | null | null | C/VUP10/9.c | MrHighTech/UPRO | 1824a9ef4fd136f68459c049619e8feb611d10a2 | [
"MIT"
] | null | null | null | C/VUP10/9.c | MrHighTech/UPRO | 1824a9ef4fd136f68459c049619e8feb611d10a2 | [
"MIT"
] | null | null | null | #include <stdio.h>
#define MAX_ZN 100
int main(void) {
char niz[MAX_ZN + 1];
int n;
printf("Upisite niz > ");
fgets(niz, MAX_ZN + 1, stdin);
int i = 0;
while (niz[i] != '\0') {
if (niz[i] == '\n') {
niz[i] = '\0';
}
i++;
}
printf("Upisite poziciju > ");
scanf("%... | 17.722222 | 41 | 0.39185 |
377418087de0f64c9a785b28912ca33d1eb84427 | 24,098 | c | C | platform/drm/cog-drm-modeset-renderer.c | jameshilliard/cog | d2720103ff8a5c3c5c056487586ed0b5acdc2b91 | [
"MIT"
] | 129 | 2018-05-08T20:57:17.000Z | 2022-03-18T17:38:17.000Z | platform/drm/cog-drm-modeset-renderer.c | jameshilliard/cog | d2720103ff8a5c3c5c056487586ed0b5acdc2b91 | [
"MIT"
] | 298 | 2018-05-09T13:54:56.000Z | 2022-03-31T06:16:54.000Z | platform/drm/cog-drm-modeset-renderer.c | jameshilliard/cog | d2720103ff8a5c3c5c056487586ed0b5acdc2b91 | [
"MIT"
] | 36 | 2018-05-15T11:33:43.000Z | 2022-03-03T03:23:41.000Z | /*
* cog-drm-modeset-renderer.c
* Copyright (C) 2021 Igalia S.L.
*
* Distributed under terms of the MIT license.
*/
#include "../../core/cog.h"
#include "cog-drm-renderer.h"
#include <errno.h>
#include <gbm.h>
#include <wayland-server.h>
#include <wpe/fdo.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
typedef ... | 34.673381 | 120 | 0.657399 |
a6a9dcad6949c2621315818d4e30e54ff44a67f0 | 2,701 | h | C | src/FedSrv/FedSrvApp.h | AllegianceZone/Allegiance | ef69a16638fb35e34cbb51f6aee891080f71d38b | [
"MIT"
] | 11 | 2015-01-11T08:45:18.000Z | 2022-01-28T09:20:54.000Z | src/FedSrv/FedSrvApp.h | AllegianceZone/Allegiance | ef69a16638fb35e34cbb51f6aee891080f71d38b | [
"MIT"
] | 15 | 2015-05-25T20:22:41.000Z | 2017-08-14T17:10:57.000Z | src/FedSrv/FedSrvApp.h | FreeAllegiance/Allegiance-AZ | 1d8678ddff9e2efc79ed449de6d47544989bc091 | [
"MIT"
] | 3 | 2015-07-12T05:50:54.000Z | 2017-08-13T06:42:50.000Z | #pragma once
/*-------------------------------------------------------------------------
* FedSrvApp
*-------------------------------------------------------------------------
* Purpose:
* This class is called by the assert code when an assert happens
*/
#define FED_DEBUG_DEBUGOUT 1
#define FED_DEBUG_FILE ... | 22.139344 | 155 | 0.609774 |
a6af91499e0e812fabff794d08045c54d156aa35 | 22,192 | c | C | packages/PIPS/pips/src/Libs/comp_sections/propagate.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/pips/src/Libs/comp_sections/propagate.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/pips/src/Libs/comp_sections/propagate.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | /*
$Id$
Copyright 1989-2014 MINES ParisTech
This file is part of PIPS.
PIPS 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
any later version.
PIPS is distr... | 28.306122 | 112 | 0.620854 |
0748893d73bb824ee31dba196ae093c6eaeffde3 | 368 | h | C | src/Wallet/Keychain/KeyDefs.h | yasabi/GrinPlusPlus | 8e9a32b3d2171c3dea1d4de833a1fc5cb12981ea | [
"MIT"
] | null | null | null | src/Wallet/Keychain/KeyDefs.h | yasabi/GrinPlusPlus | 8e9a32b3d2171c3dea1d4de833a1fc5cb12981ea | [
"MIT"
] | null | null | null | src/Wallet/Keychain/KeyDefs.h | yasabi/GrinPlusPlus | 8e9a32b3d2171c3dea1d4de833a1fc5cb12981ea | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <Crypto/BigInteger.h>
namespace KeyDefs
{
static const uint32_t MINIMUM_HARDENED_INDEX = 2147483648;
static const CBigInteger<32> SECP256K1_N = CBigInteger<32>::FromHex("0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE BAAEDCE6 AF48A03B BFD25E8C D0364141");
static const CBigInteger<3... | 33.454545 | 146 | 0.796196 |
729e14dcd81859241e4d3fb5fb1c6edf3138896a | 872 | c | C | src/Quiet.X/Commands/standardCommands.c | callwyat/Quiet-Firmware | 864c210e44d368a4a683704841067717ebc8ac43 | [
"MIT"
] | null | null | null | src/Quiet.X/Commands/standardCommands.c | callwyat/Quiet-Firmware | 864c210e44d368a4a683704841067717ebc8ac43 | [
"MIT"
] | null | null | null | src/Quiet.X/Commands/standardCommands.c | callwyat/Quiet-Firmware | 864c210e44d368a4a683704841067717ebc8ac43 | [
"MIT"
] | null | null | null |
#include "../constants.h"
#include "../CLI/cli.h"
#include "../settings.h"
void IDNCommand(CliHandle_t *handle, void *v)
{
if (handle->LastRead == '?')
{
ReadChar(handle);
WriteString(handle, MakeString);
WriteChar(handle, ',');
WriteString(handle, ModelString);
WriteC... | 22.358974 | 67 | 0.619266 |
b0db3fe7cc8fc83a2bc043fa5d87e69970bb7c3b | 2,341 | h | C | src/HarbourMce.h | monich/harbour-lib | 681f7c4654d7a7ac7324dc8da209c8865174d1e0 | [
"BSD-3-Clause-Clear"
] | 3 | 2016-06-28T13:12:00.000Z | 2022-03-31T07:07:41.000Z | src/HarbourMce.h | monich/harbour-lib | 681f7c4654d7a7ac7324dc8da209c8865174d1e0 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/HarbourMce.h | monich/harbour-lib | 681f7c4654d7a7ac7324dc8da209c8865174d1e0 | [
"BSD-3-Clause-Clear"
] | 4 | 2019-07-04T13:18:25.000Z | 2022-03-31T07:07:51.000Z | /*
* Copyright (C) 2018 Jolla Ltd.
* Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of the BSD license as follows:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... | 40.362069 | 72 | 0.756941 |
8e93d59c0ed00a5143b33dd0c2cc206f55c124bd | 287 | h | C | shpRead_ipad_02/ShapePoint.h | sunhongyue4500/Undergraduate-Graduation-Project | fe489dea9588b3129f7aa0a7bf1c63954bc0bea7 | [
"MIT"
] | null | null | null | shpRead_ipad_02/ShapePoint.h | sunhongyue4500/Undergraduate-Graduation-Project | fe489dea9588b3129f7aa0a7bf1c63954bc0bea7 | [
"MIT"
] | null | null | null | shpRead_ipad_02/ShapePoint.h | sunhongyue4500/Undergraduate-Graduation-Project | fe489dea9588b3129f7aa0a7bf1c63954bc0bea7 | [
"MIT"
] | null | null | null | //
// ShapePoint.h
// shpRead_ipad_02
//
// Created by shy on 15/4/12.
// Copyright (c) 2015年 SHY. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Shapefile.h"
@interface ShapePoint : Shapefile
{
@private
@public
double m_nEast;
double m_nNorth;
}
@end | 11.958333 | 49 | 0.675958 |
fd1d187dc96cb97003199c318deeee6474fb76a5 | 602 | h | C | BanTang/BanTang/Utitls/Store/BTDataBaseManager.h | JMStack/BTApp | 4653a47da3be43ee27343c16a2527779518b060f | [
"MIT"
] | 1 | 2016-05-27T02:58:08.000Z | 2016-05-27T02:58:08.000Z | BanTang/BanTang/Utitls/Store/BTDataBaseManager.h | JMStack/BTApp | 4653a47da3be43ee27343c16a2527779518b060f | [
"MIT"
] | null | null | null | BanTang/BanTang/Utitls/Store/BTDataBaseManager.h | JMStack/BTApp | 4653a47da3be43ee27343c16a2527779518b060f | [
"MIT"
] | null | null | null | //
// RCDataBaseManager.h
// RCloudMessage
//
// Created by 杜立召 on 15/6/3.
// Copyright (c) 2015年 RongCloud. All rights reserved.
//
#import <Foundation/Foundation.h>
@class BTHomePageData,BTHomeBanner;
@interface BTDataBaseManager : NSObject
+ (BTDataBaseManager*)shareInstance;
/** 插入homePageData */
- (void)ins... | 23.153846 | 79 | 0.740864 |
b079b5b4cad24268e0b75312c6dc3c51a68f0759 | 352 | h | C | Catamaran/View/CATOAuthView.h | Alex601t/Catamaran | b97d053256985bd6e3dd3323be30e30f354d70cb | [
"MIT"
] | 45 | 2016-10-15T10:33:06.000Z | 2021-08-02T02:25:53.000Z | Catamaran/View/CATOAuthView.h | Alex601t/Catamaran | b97d053256985bd6e3dd3323be30e30f354d70cb | [
"MIT"
] | 6 | 2016-10-17T05:24:34.000Z | 2018-03-11T16:35:03.000Z | Catamaran/View/CATOAuthView.h | Alex601t/Catamaran | b97d053256985bd6e3dd3323be30e30f354d70cb | [
"MIT"
] | 8 | 2016-10-15T07:24:27.000Z | 2017-10-09T09:21:53.000Z | #import <UIKit/UIKit.h>
@class CATOAuthAppearance;
@interface CATOAuthView : UIView
@property(nonatomic, strong, readonly) UIWebView *webView;
@property(nonatomic, strong, readonly) UIActivityIndicatorView *activityIndicatorView;
- (void)configureWithAppearance:(CATOAuthAppearance *)appearance navigationBar:(UINavig... | 29.333333 | 112 | 0.818182 |
fc4e13bccb5d28861464dc52386548d9665cccf0 | 2,509 | h | C | src/ui/stick20hiddenvolumedialog.h | daringer/nitrokey-app | 65437f2da358527678db8ca2b4cabf4d18009ed5 | [
"MIT"
] | 1 | 2018-09-02T16:57:46.000Z | 2018-09-02T16:57:46.000Z | src/ui/stick20hiddenvolumedialog.h | daringer/nitrokey-app | 65437f2da358527678db8ca2b4cabf4d18009ed5 | [
"MIT"
] | null | null | null | src/ui/stick20hiddenvolumedialog.h | daringer/nitrokey-app | 65437f2da358527678db8ca2b4cabf4d18009ed5 | [
"MIT"
] | 1 | 2021-09-06T16:06:38.000Z | 2021-09-06T16:06:38.000Z | /*
* Author: Copyright (C) Rudolf Boeddeker Date: 2013-08-13
* Copyright (c) 2013-2018 Nitrokey UG
*
* This file is part of Nitrokey App.
*
* Nitrokey App 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 Foundatio... | 28.511364 | 86 | 0.765245 |
5287303a4ed3e23f043ee40755627239d4fafa96 | 232 | h | C | src/types.h | kittrz9/Femur-Fighter-2 | 1e4254767327cf73bcbd6155a7579ce1bef76134 | [
"WTFPL"
] | null | null | null | src/types.h | kittrz9/Femur-Fighter-2 | 1e4254767327cf73bcbd6155a7579ce1bef76134 | [
"WTFPL"
] | null | null | null | src/types.h | kittrz9/Femur-Fighter-2 | 1e4254767327cf73bcbd6155a7579ce1bef76134 | [
"WTFPL"
] | null | null | null | #ifndef TYPES_H
#define TYPES_H
// Probably should have more types than just vec2f eventually but it's better than having it in the entity file
typedef struct {
float x, y;
} vec2f;
#define WIDTH 1600
#define HEIGHT 900
#endif
| 16.571429 | 111 | 0.75431 |
50979b0c4dcfc296dff71a0c87f57c3cff358673 | 262 | h | C | Core/zoolib/UnicodeCU8.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 13 | 2015-01-28T21:05:09.000Z | 2021-11-03T22:21:11.000Z | Core/zoolib/UnicodeCU8.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | null | null | null | Core/zoolib/UnicodeCU8.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 4 | 2018-11-16T08:33:33.000Z | 2021-12-11T19:40:46.000Z | // Copyright (c) 2012-2020 Andrew Green. MIT License. http://www.zoolib.org
#ifndef __ZooLib_UnicodeCU8_h__
#define __ZooLib_UnicodeCU8_h__ 1
#include "zconfig.h"
namespace ZooLib {
typedef char UTF8;
} // namespace ZooLib
#endif // __ZooLib_UnicodeCU8_h__
| 18.714286 | 75 | 0.770992 |
dd9f38c90f0b39ff68f5f3e05877edc69d9fce03 | 612 | h | C | Odin/includes/socket.h | Unam3dd/Train-2018-2020 | afb6ae70fe338cbe55a21b74648d91996b818fa2 | [
"MIT"
] | 4 | 2021-04-23T15:39:17.000Z | 2021-12-27T22:53:24.000Z | includes/socket.h | Unam3dd/Odin | 9f775c85fe598e985d0aaf32a643b65b4c819c46 | [
"MIT"
] | null | null | null | includes/socket.h | Unam3dd/Odin | 9f775c85fe598e985d0aaf32a643b65b4c819c46 | [
"MIT"
] | 2 | 2021-04-19T08:28:54.000Z | 2022-01-19T13:23:29.000Z | #pragma once
#include "console.h"
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
typedef int SOCKET;
typedef struct Fdinfo
{
char *address;
int port;
} Fdinfo_t;
typedef struct ThreadHandle
{
SOCKET fd;
SOCKET *array;
int n;
} ThreadHandle_t;
typedef struct Stream
{
int in... | 18 | 48 | 0.72549 |
f7ed4945a65eae429cf50f5a17fef866242e26f3 | 533 | h | C | stack.h | Eliex/BrainFplusplus | 361bd33a0079b21507184b7dedca76dd7509a299 | [
"MIT"
] | null | null | null | stack.h | Eliex/BrainFplusplus | 361bd33a0079b21507184b7dedca76dd7509a299 | [
"MIT"
] | null | null | null | stack.h | Eliex/BrainFplusplus | 361bd33a0079b21507184b7dedca76dd7509a299 | [
"MIT"
] | null | null | null | #ifndef STACK_H
#define STACK_H
#include<stdlib.h>
int* g_stack;
int g_stack_size;
int g_top;
__inline void create_stack(int p_size){
g_stack = calloc(p_size, sizeof(int));
g_stack_size = p_size;
g_top = 0;
}
__inline void push(int p_data){
g_stack[g_top++] = p_data;
}
__inline void pop(){
g_top--;
}
__inlin... | 13.325 | 39 | 0.699812 |
5a60514afc4e0c7703020c512df288a49d5b5412 | 181 | h | C | Pods/Target Support Files/Pods-The Britannia/Pods-The Britannia-umbrella.h | robpeach/test | ef494524d3e14e35a914a1079937ae8b58998ccd | [
"MIT"
] | null | null | null | Pods/Target Support Files/Pods-The Britannia/Pods-The Britannia-umbrella.h | robpeach/test | ef494524d3e14e35a914a1079937ae8b58998ccd | [
"MIT"
] | null | null | null | Pods/Target Support Files/Pods-The Britannia/Pods-The Britannia-umbrella.h | robpeach/test | ef494524d3e14e35a914a1079937ae8b58998ccd | [
"MIT"
] | null | null | null | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_The_BritanniaVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_The_BritanniaVersionString[];
| 20.111111 | 72 | 0.850829 |
0c7bdc46b69b68a7d1a011a11b56a08125664698 | 1,723 | h | C | include/trace/backend/udp/UdpBackEndControl.h | kotfranek/TraceLog | 078f57b034dc80094d3abfb13cff57f38b4a524f | [
"BSD-2-Clause"
] | 1 | 2018-07-21T21:49:46.000Z | 2018-07-21T21:49:46.000Z | include/trace/backend/udp/UdpBackEndControl.h | kotfranek/TraceLog | 078f57b034dc80094d3abfb13cff57f38b4a524f | [
"BSD-2-Clause"
] | 2 | 2016-02-02T23:15:58.000Z | 2016-02-13T01:42:37.000Z | include/trace/backend/udp/UdpBackEndControl.h | kotfranek/TraceLog | 078f57b034dc80094d3abfb13cff57f38b4a524f | [
"BSD-2-Clause"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: UdpBackEndNetInterface.h
* Author: kret
*
* Created on February 19, 2016, 3:17 PM
*/
#ifndef UDPBACKENDNETINTERFAC... | 27.790323 | 79 | 0.579803 |
40e991d8cecdfdaa19a2ac109681a428e26a138c | 11,567 | h | C | private/inet/urlmon/zones/secmgr.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/urlmon/zones/secmgr.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/urlmon/zones/secmgr.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | // File: secmgr.h
//
// Contents: The object that implements the base IInternetSecurityManager interface
//
// Classes: CSecurityManager
//
// Functions:
//
// History:
//
//----------------------------------------------------------------------------
#ifndef _SECMGR_H_
#define _SECMGR_H_
... | 32.767705 | 123 | 0.60223 |
e5a37fb96d666ab73d8f7aa25c26dd2f9c0ff8d5 | 3,235 | h | C | include/ha/param_tool_box/convert/linear.h | hansen-audio/param-tool-box | 1437eac90a4b85f92dc067a66d15881d46b7ec8c | [
"MIT"
] | null | null | null | include/ha/param_tool_box/convert/linear.h | hansen-audio/param-tool-box | 1437eac90a4b85f92dc067a66d15881d46b7ec8c | [
"MIT"
] | null | null | null | include/ha/param_tool_box/convert/linear.h | hansen-audio/param-tool-box | 1437eac90a4b85f92dc067a66d15881d46b7ec8c | [
"MIT"
] | null | null | null | // Copyright(c) 2021 Hansen Audio.
#pragma once
#include "ha/param_tool_box/convert/detail/lin_scale.h"
#include "ha/param_tool_box/core/clamp.h"
#include "ha/param_tool_box/core/to_string.h"
#include "ha/param_tool_box/core/types.h"
#include <functional>
namespace ha::ptb::convert {
//-----------------------------... | 34.784946 | 99 | 0.550232 |
3cd54f3af0545880c946cd9d31b4e2625f60ea24 | 15,423 | c | C | wovo/bmptk/tools/micronucleus/micronucleus.c | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | wovo/bmptk/tools/micronucleus/micronucleus.c | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | wovo/bmptk/tools/micronucleus/micronucleus.c | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | /*
Created: September 2012
(c) 2012 by ihsan Kehribar <ihsan@kehribar.me>
Changes for Micronucleus protocol version V2.x
(c) 2014 T. Bo"scke
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 Soft... | 35.373853 | 168 | 0.576801 |
292704baf6a3ed0539bf43a797e06c35fd820d4e | 13,138 | c | C | linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-F90/sidl_opaque_fStub.c | pangkeji/warp3d | 8b273b337e557f734298940a63291697cd561d02 | [
"NCSA"
] | 75 | 2015-07-06T18:14:20.000Z | 2022-01-24T02:54:32.000Z | linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-F90/sidl_opaque_fStub.c | pangkeji/warp3d | 8b273b337e557f734298940a63291697cd561d02 | [
"NCSA"
] | 15 | 2017-04-07T18:09:58.000Z | 2022-02-28T01:48:33.000Z | linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-F90/sidl_opaque_fStub.c | pangkeji/warp3d | 8b273b337e557f734298940a63291697cd561d02 | [
"NCSA"
] | 41 | 2015-05-24T23:24:54.000Z | 2021-12-13T22:07:45.000Z | /*********************************************************************
* File: sidl_opaque_fStub.c
* Copyright: (C) 2001-2004 The Regents of the University of California
* Description: FORTRAN API for arrays of opaque
* Revision: $Revision: 1.1 $
*
* AUTOMATICALLY GENERATED BY genfortranarrays.py
**********... | 24.602996 | 110 | 0.649794 |
5db94ff9e2d183fcbdd592522e659ba5d3969b1a | 3,529 | c | C | src/b6b_evloop.c | dimkr/b6b | ee12b6fa2c7a39c9f30f80470d5258e4bf8810f5 | [
"Apache-2.0"
] | 10 | 2017-07-07T18:20:49.000Z | 2021-01-09T19:40:25.000Z | src/b6b_evloop.c | dimkr/b6b | ee12b6fa2c7a39c9f30f80470d5258e4bf8810f5 | [
"Apache-2.0"
] | 4 | 2018-09-09T19:03:20.000Z | 2020-10-01T03:52:54.000Z | src/b6b_evloop.c | dimkr/b6b | ee12b6fa2c7a39c9f30f80470d5258e4bf8810f5 | [
"Apache-2.0"
] | 3 | 2018-01-29T18:28:39.000Z | 2020-10-01T03:28:31.000Z | /*
* This file is part of b6b.
*
* Copyright 2017, 2018 Dima Krasner
*
* 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 r... | 24.506944 | 75 | 0.449702 |
51b827d990b6364344988d7f2deac5ed01a6e591 | 332 | h | C | src/UIState/SeeVersion.h | IDzyre/TankController | 60ccdd6d4023be7a0e0155b508e8b067603bf8b2 | [
"MIT"
] | 1 | 2021-07-14T15:16:04.000Z | 2021-07-14T15:16:04.000Z | src/UIState/SeeVersion.h | IDzyre/TankController | 60ccdd6d4023be7a0e0155b508e8b067603bf8b2 | [
"MIT"
] | 1 | 2021-05-10T05:41:39.000Z | 2021-05-10T05:41:39.000Z | src/UIState/SeeVersion.h | IDzyre/TankController | 60ccdd6d4023be7a0e0155b508e8b067603bf8b2 | [
"MIT"
] | null | null | null | /**
* SeeVersion.h
*
* Display the tankController Version
*/
#pragma once
#include "UIState.h"
class SeeVersion : public UIState {
public:
SeeVersion(TankControllerLib* tc) : UIState(tc) {
}
void start();
const char* name() {
return "SeeVersion";
}
const char* prompt() {
return "Software Versio... | 15.809524 | 51 | 0.641566 |
8e03634b6aed9348b656c88f0e9f1b7abff816b9 | 164 | c | C | 0x04-more_functions_nested_loops/1-isdigit.c | adeyinkaezra123/alx-low_level_programming | 7980b72cc1df70b00be0a56ad2e3612cb8aef4e2 | [
"MIT"
] | null | null | null | 0x04-more_functions_nested_loops/1-isdigit.c | adeyinkaezra123/alx-low_level_programming | 7980b72cc1df70b00be0a56ad2e3612cb8aef4e2 | [
"MIT"
] | null | null | null | 0x04-more_functions_nested_loops/1-isdigit.c | adeyinkaezra123/alx-low_level_programming | 7980b72cc1df70b00be0a56ad2e3612cb8aef4e2 | [
"MIT"
] | null | null | null | #include "holberton.h"
/**
* _isdigit - check for a digit
* @c : character to check
* Return:0 or 1
*/
int _isdigit(int c)
{
return (c >= 48 && c <= 57);
}
| 11.714286 | 31 | 0.567073 |
99cf4b96b2bc67402f74cb42f9e337638eb7dba1 | 3,879 | h | C | PR_BCI_team/Team_RobotArm/BHLee/Kinovarobotics-matlab_Kinovaapi_wrapper-e51b887/JACO2Communicator/JACO2SDK/JacoSDKWrapper.h | PatternRecognition/OpenBMI | d9291ddb81f4319fb3764d7192e0363939a62ee9 | [
"MIT"
] | 217 | 2015-11-02T11:10:29.000Z | 2022-03-22T07:01:12.000Z | PR_BCI_team/Team_RobotArm/BHLee/Kinovarobotics-matlab_Kinovaapi_wrapper-e51b887/JACO2Communicator/JACO2SDK/JacoSDKWrapper.h | deep-bci-g/OpenBMI | 75daf901b2dbe215852cbff243606dcfcd10f05c | [
"MIT"
] | 24 | 2015-11-02T11:10:45.000Z | 2021-09-08T11:10:33.000Z | PR_BCI_team/Team_RobotArm/BHLee/Kinovarobotics-matlab_Kinovaapi_wrapper-e51b887/JACO2Communicator/JACO2SDK/JacoSDKWrapper.h | deep-bci-g/OpenBMI | 75daf901b2dbe215852cbff243606dcfcd10f05c | [
"MIT"
] | 112 | 2016-01-22T01:45:44.000Z | 2022-03-22T07:08:19.000Z | #ifndef JACO_SDK_WRAPPER_H_
#define JACO_SDK_WRAPPER_H_
#include <Windows.h>
#include "CommunicationLayerWindows.h"
#include "CommandLayer.h"
#include <conio.h>
#include "KinovaTypes.h"
#include <iostream>
#define NUM_JOINTS 7
#define NUM_FINGERS 3
#define JACO_SDK_WRAPPER_TINY_NUMBER 0.00001
#define JACO_SDK_WRA... | 26.209459 | 78 | 0.728023 |
6607c0482c8b1c706eb231edc65303f33b9e79a3 | 1,132 | h | C | vkCraft/vkCraft/Device.h | tentone/vkCraft | 01c329e35d043c9fa828e21f70afb805a78d46c4 | [
"MIT"
] | 39 | 2018-10-07T15:44:02.000Z | 2022-01-14T22:09:28.000Z | vkCraft/vkCraft/Device.h | tentone/vkCraft | 01c329e35d043c9fa828e21f70afb805a78d46c4 | [
"MIT"
] | null | null | null | vkCraft/vkCraft/Device.h | tentone/vkCraft | 01c329e35d043c9fa828e21f70afb805a78d46c4 | [
"MIT"
] | 3 | 2020-11-03T15:21:05.000Z | 2021-12-19T15:56:39.000Z | #pragma once
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include <stdexcept>
#include <vector>
#include <iostream>
#include "QueueFamilyIndices.h"
/**
* The device class handles everything related with logical and physical device configuration.
*/
class Device
{
public:
/**
* The physical device is mo... | 22.196078 | 94 | 0.745583 |
19f080d88565481f8be9127b8342b70e99733d24 | 2,666 | c | C | test/zmq_client.c | ouistiti-project/jsonrpc | c486962ca80c9f30d773b26bf18cafca4426cddb | [
"MIT"
] | null | null | null | test/zmq_client.c | ouistiti-project/jsonrpc | c486962ca80c9f30d773b26bf18cafca4426cddb | [
"MIT"
] | null | null | null | test/zmq_client.c | ouistiti-project/jsonrpc | c486962ca80c9f30d773b26bf18cafca4426cddb | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <string.h>
#include <pthread.h>
#include <assert.h>
#include <zmq.h>
#include "jsonrpc.h"
#include "test.h"
void wait_msg(struct user_context_t *userctx)
{
unsigned int rc;
zmq_msg_t msg;
zmq_msg_init(&msg);
rc = zmq_msg_recv(&msg, userctx->sock, 0);
char *output = jsonrpc_handler... | 19.318841 | 73 | 0.646287 |
616341a98b6fe8d50c64afc99fe6c3330417f636 | 211 | h | C | WxxKit/WxxKitFrameWork/wxxiOSCode/view/WxxFileUtil.h | wengxianxun/WxxKit | 582d1ae48baf1c4adde0eb27f678ce276780a87c | [
"MIT"
] | null | null | null | WxxKit/WxxKitFrameWork/wxxiOSCode/view/WxxFileUtil.h | wengxianxun/WxxKit | 582d1ae48baf1c4adde0eb27f678ce276780a87c | [
"MIT"
] | null | null | null | WxxKit/WxxKitFrameWork/wxxiOSCode/view/WxxFileUtil.h | wengxianxun/WxxKit | 582d1ae48baf1c4adde0eb27f678ce276780a87c | [
"MIT"
] | null | null | null | //
// WxxFileUtil.h
// WxxReadClient
//
// Created by weng xiangxun on 2017/4/3.
// Copyright © 2017年 wxx. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface WxxFileUtil : NSObject
@end
| 15.071429 | 47 | 0.691943 |
e832b5d0e80cfa870cd383949792bcafe9e77588 | 43 | h | C | Algorithms/Threshold/Threshold_defaults.h | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | Algorithms/Threshold/Threshold_defaults.h | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | Algorithms/Threshold/Threshold_defaults.h | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | static const int kDefaultThreshold = 2400;
| 21.5 | 42 | 0.813953 |
e85b542d789851880d7071149c075f6f7aace90e | 138 | h | C | sdl/sensor.h | akiross/go-sdl2 | 5437d9fc5f28714259f2728ae28984eed52c23d9 | [
"BSD-3-Clause"
] | null | null | null | sdl/sensor.h | akiross/go-sdl2 | 5437d9fc5f28714259f2728ae28984eed52c23d9 | [
"BSD-3-Clause"
] | null | null | null | sdl/sensor.h | akiross/go-sdl2 | 5437d9fc5f28714259f2728ae28984eed52c23d9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _GO_SDL_SENSOR_H
#define _GO_SDL_SENSOR_H
#if !SDL_VERSION_ATLEAST(2,0,9)
extern const float SDL_STANDARD_GRAVITY;
#endif
#endif | 17.25 | 40 | 0.826087 |
95fa6b9b167882e930b10652243142ca2db1f6b4 | 2,387 | h | C | thread_version/space_comm.h | drjones2010/space-invaders | 175fc3eee780803843612d2f8875b42ed969fe4b | [
"MIT"
] | 2 | 2021-12-13T14:14:24.000Z | 2021-12-23T17:23:57.000Z | thread_version/space_comm.h | drjones2010/space-invaders | 175fc3eee780803843612d2f8875b42ed969fe4b | [
"MIT"
] | null | null | null | thread_version/space_comm.h | drjones2010/space-invaders | 175fc3eee780803843612d2f8875b42ed969fe4b | [
"MIT"
] | null | null | null | /** Space Invaders: 8 bit attack!
*
* File:
*
* Contiene:
*/
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <curses.h>
#include <pthread.h>
#ifndef SPACE_THREAD_H
#define SPACE_THREAD_H
#define COUNTER 0
#define WAIT 0
#define TRYWAIT 1
#define NOMSG 12345
#include "space_game.h"
/*Funzi... | 39.783333 | 201 | 0.802681 |
bf8e7ad8288bfca7a0b7b1da28514fd752313170 | 1,555 | h | C | inc/drivers/system.h | rhn/PIC32-debug-tool | 552392d2d1990d6804675e708dd83634d2c9a3fa | [
"Apache-2.0"
] | null | null | null | inc/drivers/system.h | rhn/PIC32-debug-tool | 552392d2d1990d6804675e708dd83634d2c9a3fa | [
"Apache-2.0"
] | 1 | 2020-03-31T13:37:26.000Z | 2020-04-01T11:36:03.000Z | inc/drivers/system.h | rhn/PIC32-debug-tool | 552392d2d1990d6804675e708dd83634d2c9a3fa | [
"Apache-2.0"
] | 1 | 2020-04-01T11:44:46.000Z | 2020-04-01T11:44:46.000Z | #ifndef SYSTEM_H_3215b7a61b384819b6127a53816114fe
#define SYSTEM_H_3215b7a61b384819b6127a53816114fe
#include <p32xxxx.h>
#include <const.h>
#include <inttypes.h>
typedef enum SystemClocksErrorEnum {
Error_None = 0,
Error_RequestedFrequencyTooHigh = 1,
Error_NoCombinationFound = 2,
... | 31.1 | 75 | 0.789068 |
c75760c0671ee96fa5c85685b47ff98c93547896 | 663 | c | C | lib/Runtime/operator/squeeze.c | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 450 | 2018-08-03T08:17:03.000Z | 2022-03-17T17:21:06.000Z | lib/Runtime/operator/squeeze.c | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 104 | 2018-08-13T07:31:50.000Z | 2021-08-24T11:24:40.000Z | lib/Runtime/operator/squeeze.c | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 100 | 2018-08-12T04:27:39.000Z | 2022-03-11T04:17:42.000Z | #include <onnc/Runtime/operator/squeeze.h>
#include <stdint.h>
#include <stdbool.h>
void ONNC_RUNTIME_squeeze_float(
void * restrict onnc_runtime_context
,const float * restrict input_data
,int32_t input_data_ndim, const int32_t * restrict input_data_dims
,float * restrict output_squeezed
,int32_t output_sq... | 25.5 | 78 | 0.720965 |
2464f0b60a3494c211e7e982fd09ba71db23cbe8 | 333 | h | C | astatine/notifications/notification/notificationview.h | blackaddah/astatine | 2d591c0de77fce635385826dcdbd40074576d293 | [
"MIT"
] | null | null | null | astatine/notifications/notification/notificationview.h | blackaddah/astatine | 2d591c0de77fce635385826dcdbd40074576d293 | [
"MIT"
] | null | null | null | astatine/notifications/notification/notificationview.h | blackaddah/astatine | 2d591c0de77fce635385826dcdbd40074576d293 | [
"MIT"
] | null | null | null | #ifndef NOTIFICATIONVIEW_H
#define NOTIFICATIONVIEW_H
#include <QWebView>
#include <QMouseEvent>
class NotificationView : public QWebView
{
Q_OBJECT
public:
NotificationView(NotificationView::QWidget *parent);
void mousePressEvent(QMouseEvent *event);
signals:
void rightClick();
};
#endif // NOTIFI... | 16.65 | 56 | 0.762763 |
a7e06323c56487795f8309f619e14304998a795b | 2,680 | h | C | com/ole32/olecnv32/error.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/olecnv32/error.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/olecnv32/error.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /****************************************************************************
Unit Error; Interface
*****************************************************************************
Error handles all the interpretation, metafile creation, or read failures
that may occur during the course of t... | 47.017544 | 79 | 0.520149 |
b422c6283dc45d1d3db5cb1b0609cfb6e372e8fd | 2,044 | h | C | source/keyboard.h | PeterSilie24/GamepadMouse | fd3ef4e34ae84d6b7cea8126bdc6d87d8d64b720 | [
"MIT"
] | null | null | null | source/keyboard.h | PeterSilie24/GamepadMouse | fd3ef4e34ae84d6b7cea8126bdc6d87d8d64b720 | [
"MIT"
] | null | null | null | source/keyboard.h | PeterSilie24/GamepadMouse | fd3ef4e34ae84d6b7cea8126bdc6d87d8d64b720 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2018 Phil Badura
*
* 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, modi... | 27.621622 | 81 | 0.772994 |
247eb09f617b505ec01edcfba82cefc8452be0af | 700 | c | C | src/random.c | cyzchina/logistic_regression_mbsgd | 6410a05bc120afded5a3536950f2649a09c5c0e2 | [
"Apache-2.0"
] | 1 | 2020-03-17T07:21:08.000Z | 2020-03-17T07:21:08.000Z | src/random.c | cyzchina/logistic_regression_mbsgd | 6410a05bc120afded5a3536950f2649a09c5c0e2 | [
"Apache-2.0"
] | null | null | null | src/random.c | cyzchina/logistic_regression_mbsgd | 6410a05bc120afded5a3536950f2649a09c5c0e2 | [
"Apache-2.0"
] | null | null | null | #include "base.h"
bool
create_randoms(uint32_t *randoms, size_t size) {
int fd_random;
if (-1 == (fd_random = open("/dev/urandom", O_RDONLY))) {
//if (-1 == (fd_random = open("/dev/random", O_RDONLY))) {
printf("open /dev/urandoom error\n");
return false;
}
read(fd_random, randoms, sizeof(uint32_t... | 17.948718 | 60 | 0.554286 |
24b31bce7acba82e914b515060e0c1afe3121a9d | 2,284 | c | C | compiler/sources/writing.c | ollevche/corewar | ff03457f666b54e5a2f8cb4e6510cbc51ea4a88d | [
"MIT"
] | null | null | null | compiler/sources/writing.c | ollevche/corewar | ff03457f666b54e5a2f8cb4e6510cbc51ea4a88d | [
"MIT"
] | 1 | 2018-07-19T09:07:57.000Z | 2018-07-19T09:07:57.000Z | compiler/sources/writing.c | ollevche/corewar | ff03457f666b54e5a2f8cb4e6510cbc51ea4a88d | [
"MIT"
] | 2 | 2018-07-19T08:42:14.000Z | 2018-08-20T13:55:47.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* writing.c :+: :+: :+: ... | 31.287671 | 80 | 0.437391 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.