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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4259258ae97ccc6e15a09a7f0c41901ddaef041c | 2,969 | h | C | src/cpp-ethereum/libweb3jsonrpc/TestFace.h | XianlinGong/fabcoinsc-dev | 585d90f376a9223ab172151a81b92dca1113ecd6 | [
"MIT"
] | 26 | 2018-04-24T00:33:11.000Z | 2022-03-26T15:46:04.000Z | src/cpp-ethereum/libweb3jsonrpc/TestFace.h | XianlinGong/fabcoinsc-dev | 585d90f376a9223ab172151a81b92dca1113ecd6 | [
"MIT"
] | 4 | 2018-07-17T13:33:26.000Z | 2018-08-27T07:10:49.000Z | src/cpp-ethereum/libweb3jsonrpc/TestFace.h | XianlinGong/fabcoinsc-dev | 585d90f376a9223ab172151a81b92dca1113ecd6 | [
"MIT"
] | 22 | 2018-04-24T00:33:31.000Z | 2022-02-03T09:40:26.000Z | /**
* This file is generated by jsonrpcstub, DO NOT CHANGE IT MANUALLY!
*/
#ifndef JSONRPC_CPP_STUB_DEV_RPC_TESTFACE_H_
#define JSONRPC_CPP_STUB_DEV_RPC_TESTFACE_H_
#include "ModularServer.h"
namespace dev {
namespace rpc {
class TestFace : public ServerInterface<TestFace>
{
public:... | 54.981481 | 221 | 0.625463 |
512a079c172fdeb424c768ab3564f847e2e599f5 | 2,483 | h | C | vendor/github.com/google/certificate-transparency/cpp/server/server.h | weltonrodrigo/origin | 075680352a29112ec40a1a9ab3e63665aa5dd143 | [
"Apache-2.0"
] | 220 | 2017-01-07T14:32:15.000Z | 2022-02-22T08:56:16.000Z | vendor/github.com/google/certificate-transparency/cpp/server/server.h | weltonrodrigo/origin | 075680352a29112ec40a1a9ab3e63665aa5dd143 | [
"Apache-2.0"
] | 23 | 2018-03-06T09:20:28.000Z | 2018-05-28T07:57:05.000Z | vendor/github.com/google/certificate-transparency/cpp/server/server.h | weltonrodrigo/origin | 075680352a29112ec40a1a9ab3e63665aa5dd143 | [
"Apache-2.0"
] | 31 | 2017-01-09T06:38:45.000Z | 2020-11-03T16:57:29.000Z | #ifndef CERT_TRANS_SERVER_SERVER_H_
#define CERT_TRANS_SERVER_SERVER_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <thread>
#include "base/macros.h"
#include "log/strict_consistent_store.h"
#include "monitoring/gauge.h"
#include "util/libevent_wrapper.h"
#include "util/masterelection.h"
#include... | 26.414894 | 75 | 0.775272 |
663332e01ea83594cfb14d9b21916de072eb96ce | 2,976 | h | C | test_src/Polyhedron.h | rafael-radkowski/setforge | cfa42fc4fc77a3f74c0118a00e047a4c67a7452c | [
"MIT"
] | 5 | 2019-08-19T16:06:45.000Z | 2021-11-12T08:40:52.000Z | test_src/Polyhedron.h | rafael-radkowski/setforge | cfa42fc4fc77a3f74c0118a00e047a4c67a7452c | [
"MIT"
] | 1 | 2019-06-14T20:30:37.000Z | 2019-06-20T14:29:41.000Z | test_src/Polyhedron.h | rafael-radkowski/DNNHelpers | cfa42fc4fc77a3f74c0118a00e047a4c67a7452c | [
"MIT"
] | 1 | 2019-03-12T19:45:57.000Z | 2019-03-12T19:45:57.000Z | #pragma once
/*
Class Polyhedron
Create an Icosahedron and extend it to a Polyhedron by recursive decomposition.
see https://schneide.blog/2016/07/15/generating-an-icosphere-in-c/ for details.
Rafael Radkowski
Iowa State University
rafael@iastate.edu
+1 (515) 294 7044
Jan 2019
All copyrights reserved
-------------... | 22.044444 | 147 | 0.691868 |
66458aff79cfcae487edaa370ea73c685154f8b1 | 1,476 | c | C | bp_common/test/src/demos/src/mc_template.c | maximaka/black-parrot | 7478eaba03c1defcb0c690abbddc809c3a71dcfb | [
"BSD-3-Clause"
] | 2 | 2020-03-05T23:53:32.000Z | 2020-05-02T12:21:24.000Z | bp_common/test/src/demos/src/mc_template.c | maximaka/black-parrot | 7478eaba03c1defcb0c690abbddc809c3a71dcfb | [
"BSD-3-Clause"
] | 13 | 2020-03-09T19:07:23.000Z | 2020-04-05T21:56:38.000Z | bp_common/test/src/demos/src/mc_template.c | maximaka/black-parrot | 7478eaba03c1defcb0c690abbddc809c3a71dcfb | [
"BSD-3-Clause"
] | 2 | 2020-03-06T22:46:05.000Z | 2020-03-06T22:52:36.000Z | /*
* Name:
* mc_template.c
*
* Description:
* This is a template program for multicore tests.
*
*/
#include <stdint.h>
#include "bp_utils.h"
#include "mc_util.h"
#ifndef N
#define N 16
#endif
typedef uint32_t matrix[N];
matrix MATRIX;
#ifndef NUM_CORES
#define NUM_CORES 2
#endif
volatile uint64_t __attr... | 19.421053 | 70 | 0.660569 |
619c01fe39f1b4ec92bfa09fa5d09c9e59afa65b | 9,697 | c | C | src/avl/python/avl.py.c | guidanoli/aa | 81814c7d72d7126308440d0ad07892a36800de20 | [
"MIT"
] | null | null | null | src/avl/python/avl.py.c | guidanoli/aa | 81814c7d72d7126308440d0ad07892a36800de20 | [
"MIT"
] | 2 | 2021-08-19T17:57:12.000Z | 2021-08-19T17:59:23.000Z | src/avl/python/avl.py.c | guidanoli/aa | 81814c7d72d7126308440d0ad07892a36800de20 | [
"MIT"
] | null | null | null | #define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <yadsl/pydefines.h>
#include <avl/avl.h>
#ifdef YADSL_DEBUG
#include <memdb/memdb.h>
#else
#include <stdlib.h>
#endif
//
// Objects
//
typedef struct
{
PyObject_HEAD
yadsl_AVLTreeHandle *ob_tree;
PyObject *ob_func;
unsigned char lock : 1;
} yadsl_AVLTreePyth... | 20.720085 | 123 | 0.69537 |
e8acaf2906f9c2cb3b0a247a0b45a6b5056b6e8b | 11,247 | c | C | test_coverage.c | sternmull/yalloc | 2d38f57d64f38eedc2c314e1c1090fb9cf26379f | [
"MIT"
] | 4 | 2021-02-11T06:49:01.000Z | 2022-03-08T13:58:26.000Z | test_coverage.c | sternmull/yalloc | 2d38f57d64f38eedc2c314e1c1090fb9cf26379f | [
"MIT"
] | 1 | 2021-02-18T20:40:03.000Z | 2021-02-19T15:52:02.000Z | test_coverage.c | sternmull/yalloc | 2d38f57d64f38eedc2c314e1c1090fb9cf26379f | [
"MIT"
] | null | null | null | #include "yalloc/yalloc.h"
#include <stdint.h>
#include <memory.h>
#include <assert.h>
#include "test_util.h"
// carefully crafted test sequence that covers all paths of the allocation function
static void test_alloc_coverage()
{
uint32_t pool[MAX_POOL_SIZE / 4];
assert(!yalloc_init(pool, 15)); // path that ro... | 27.70197 | 226 | 0.640171 |
9fa269ebaf284c1a0c1adc0a33813c94a14a47d2 | 3,117 | c | C | cmd-confirm-before.c | dittonedo45/tmux2 | ad364415d68bf8995f3edd961cc3828ff1300ebb | [
"ISC"
] | null | null | null | cmd-confirm-before.c | dittonedo45/tmux2 | ad364415d68bf8995f3edd961cc3828ff1300ebb | [
"ISC"
] | null | null | null | cmd-confirm-before.c | dittonedo45/tmux2 | ad364415d68bf8995f3edd961cc3828ff1300ebb | [
"ISC"
] | null | null | null | /* $OpenBSD$ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.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 PROVI... | 26.193277 | 75 | 0.683349 |
d7557fcc068a16a35c8f09d396ddc4bb3fc60a63 | 1,506 | c | C | programacao_estruturada/listas_6_8/lista_8/exercicio1.c | PedroHenrique-git/c | b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece | [
"MIT"
] | null | null | null | programacao_estruturada/listas_6_8/lista_8/exercicio1.c | PedroHenrique-git/c | b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece | [
"MIT"
] | null | null | null | programacao_estruturada/listas_6_8/lista_8/exercicio1.c | PedroHenrique-git/c | b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <conio.h>
main()
{
const int registros = 256;
struct TASCII
{
int codigo;
char caractere;
} ascii;
FILE * arquivo;
char c, nomeArquivo[80];
int i;
char opcao;
printf("*******************************\n");
printf("*** Manipulacao de arquivos ***\n");
printf("... | 21.211268 | 66 | 0.583665 |
ba471deb4b168ff71caa1070e5f878eba7ca905b | 1,677 | h | C | Modelica_DeviceDrivers/Resources/Include/MDDAVRDigital.h | hubertus65/Modelica_DeviceDrivers | 79df766871e2451f65882fb69e1cfa784df3d792 | [
"BSD-3-Clause"
] | 29 | 2015-04-16T08:02:33.000Z | 2019-02-22T03:06:16.000Z | Modelica_DeviceDrivers/Resources/Include/MDDAVRDigital.h | hubertus65/Modelica_DeviceDrivers | 79df766871e2451f65882fb69e1cfa784df3d792 | [
"BSD-3-Clause"
] | 172 | 2015-02-06T11:10:55.000Z | 2019-04-03T08:31:39.000Z | Modelica_DeviceDrivers/Resources/Include/MDDAVRDigital.h | hubertus65/Modelica_DeviceDrivers | 79df766871e2451f65882fb69e1cfa784df3d792 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T10:50:50.000Z | 2019-03-15T11:13:17.000Z | #ifndef MDDAVRDIGITAL__H
#define MDDAVRDIGITAL__H
#if !defined(__AVR__)
#error "The AVR package can only be used when targeting AVR CPUs"
#endif
#include <avr/io.h>
#include <util/delay.h>
/* Return only the port and not the pin in order to avoid malloc
* Trust the user calls the following functions correctly...
*... | 21.5 | 124 | 0.634466 |
80b1e5686fd1b264c824b5ae3c38dcac180f8c55 | 6,476 | h | C | iOS/Classes/Native/mscorlib_System_Security_Policy_CodeGroup4075050400MethodDeclarations.h | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | 11 | 2016-07-22T19:58:09.000Z | 2021-09-21T12:51:40.000Z | iOS/Classes/Native/mscorlib_System_Security_Policy_CodeGroup4075050400MethodDeclarations.h | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | 1 | 2018-05-07T14:32:13.000Z | 2018-05-08T09:15:30.000Z | iOS/Classes/Native/mscorlib_System_Security_Policy_CodeGroup4075050400MethodDeclarations.h | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.Security.Policy.CodeGroup
struct CodeGroup_t4075050400;
// System.Security.Policy.IMembershipCondition
struct IMembershipCondition_t... | 80.95 | 237 | 0.842959 |
2a2d906000ed4ba525cc641dc950eddff62b8ed1 | 588 | c | C | server/src/models/mx_model_user.c | viacheslavpleshkov/unit-factory-ucode-uchat | e9a6f910f9ad5ad2bf3e572b1e5840d8fcac5c3c | [
"MIT"
] | 1 | 2020-07-25T14:07:42.000Z | 2020-07-25T14:07:42.000Z | server/src/models/mx_model_user.c | viacheslavpleshkov/unit-factory-ucode-uchat | e9a6f910f9ad5ad2bf3e572b1e5840d8fcac5c3c | [
"MIT"
] | null | null | null | server/src/models/mx_model_user.c | viacheslavpleshkov/unit-factory-ucode-uchat | e9a6f910f9ad5ad2bf3e572b1e5840d8fcac5c3c | [
"MIT"
] | 3 | 2020-07-11T19:09:21.000Z | 2021-01-14T13:43:48.000Z | #include "uchat_server.h"
char *mx_model_user_database(void) {
return "sqlite3";
}
char *mx_model_user_name_table(void) {
return "users";
}
char **mx_model_user_fill_table(void) {
char **fill_table = malloc(sizeof(char*) * 8);
fill_table[0] = mx_strdup("id");
fill_table[1] = mx_strdup("first_nam... | 23.52 | 50 | 0.659864 |
4a5ab2fa2a9bc5abbfb2ad14184fe923ca14f8ca | 11,999 | c | C | hid_test_buttons/Core/Src/main.c | joaomorenorf/STM32F401-Joystick-Shield | 99926d9cae607cdbae8ae06a99d5e8e952ca878d | [
"Unlicense"
] | 1 | 2021-12-04T05:31:53.000Z | 2021-12-04T05:31:53.000Z | hid_test_buttons/Core/Src/main.c | joaomorenorf/STM32F401-Joystick-Shield | 99926d9cae607cdbae8ae06a99d5e8e952ca878d | [
"Unlicense"
] | null | null | null | hid_test_buttons/Core/Src/main.c | joaomorenorf/STM32F401-Joystick-Shield | 99926d9cae607cdbae8ae06a99d5e8e952ca878d | [
"Unlicense"
] | null | null | null | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c)... | 28.637232 | 114 | 0.647554 |
9a07bb599042e231bde8a8fcbb7fc573db2ee589 | 86,570 | h | C | include/powv34.h | eder-matheus/flute3 | 03798146ce9544885f747b930b837aff7a303aaa | [
"BSD-3-Clause"
] | 1 | 2021-03-04T02:35:43.000Z | 2021-03-04T02:35:43.000Z | include/powv34.h | eder-matheus/flute3 | 03798146ce9544885f747b930b837aff7a303aaa | [
"BSD-3-Clause"
] | null | null | null | include/powv34.h | eder-matheus/flute3 | 03798146ce9544885f747b930b837aff7a303aaa | [
"BSD-3-Clause"
] | null | null | null | #include <string>
void initPOWV34() {
std::vector<std::string> powv_temp = {"A5$E", "BA$1", "B5$E", "95$E", "D5$E", "057319", "057314", "057314", "057314", "057315", "057316", "057317", "057318", "057319", "057319", "057315", "057315", "H", "01ABC5D$", "1DE$5", "23$D", "29AB$1", "43$D", "45$DE", "134$CD", "79A$1", "723... | 17,314 | 86,469 | 0.445582 |
62939e84949b3cd35d583b293ffb90a6ed2864c1 | 918 | h | C | src/ScanDialog.h | huseyinkozan/softfm-gui | 570ff2aacb7b68b1237c0121fbc9dccbb5f0a19e | [
"MIT"
] | 1 | 2022-03-29T19:41:36.000Z | 2022-03-29T19:41:36.000Z | src/ScanDialog.h | huseyinkozan/softfm-gui | 570ff2aacb7b68b1237c0121fbc9dccbb5f0a19e | [
"MIT"
] | null | null | null | src/ScanDialog.h | huseyinkozan/softfm-gui | 570ff2aacb7b68b1237c0121fbc9dccbb5f0a19e | [
"MIT"
] | null | null | null | #ifndef SCANDIALOG_H
#define SCANDIALOG_H
#include <QDialog>
#include "ChannelRecord.h"
#include "MainWindow.h"
namespace Ui {
class ScanDialog;
}
class ScanDialog : public QDialog
{
Q_OBJECT
public:
explicit ScanDialog(QWidget *parent = nullptr);
~ScanDialog();
const ChannelRecordMap &crMap() co... | 17 | 56 | 0.714597 |
d124c4496a056898a034ca070962a4213180584d | 2,878 | c | C | platform/ethernut2/ethernut-main.c | teco-kit/contiki-jn51xx | 867c0e86c189387cac7decf90c95e3c0b038c611 | [
"BSD-3-Clause"
] | null | null | null | platform/ethernut2/ethernut-main.c | teco-kit/contiki-jn51xx | 867c0e86c189387cac7decf90c95e3c0b038c611 | [
"BSD-3-Clause"
] | null | null | null | platform/ethernut2/ethernut-main.c | teco-kit/contiki-jn51xx | 867c0e86c189387cac7decf90c95e3c0b038c611 | [
"BSD-3-Clause"
] | null | null | null |
/* Copyright (c) 2005, Swedish Institute of Computer Science
* 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
* noti... | 28.78 | 103 | 0.732453 |
2bd027e873bc5f47e6635945e4cdefa36e12276d | 861 | h | C | bootstrap/include/panda$util$JSONParser$closure152.h | ethannicholas/panda-old | 75576bcf5c4e5a34e964547d623a5de874e6e47c | [
"MIT"
] | null | null | null | bootstrap/include/panda$util$JSONParser$closure152.h | ethannicholas/panda-old | 75576bcf5c4e5a34e964547d623a5de874e6e47c | [
"MIT"
] | null | null | null | bootstrap/include/panda$util$JSONParser$closure152.h | ethannicholas/panda-old | 75576bcf5c4e5a34e964547d623a5de874e6e47c | [
"MIT"
] | null | null | null | // This file was automatically generated by the Panda compiler
#ifndef panda$util$JSONParser$closure152_H
#define panda$util$JSONParser$closure152_H
extern panda$core$Class panda$util$JSONParser$closure152_class;
#ifndef CLASS_panda$util$JSONParser$closure152
#define CLASS_panda$util$JSONParser$closure152
struct panda$... | 50.647059 | 196 | 0.832753 |
2be84b5ca1f9680732d3cb79edfdc4c6d7c630c8 | 2,940 | h | C | nau/src/nau/geometry/vertexData.h | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 29 | 2015-09-16T22:28:30.000Z | 2022-03-11T02:57:36.000Z | nau/src/nau/geometry/vertexData.h | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 1 | 2017-03-29T13:32:58.000Z | 2017-03-31T13:56:03.000Z | nau/src/nau/geometry/vertexData.h | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 10 | 2015-10-15T14:20:15.000Z | 2022-02-17T10:37:29.000Z | #ifndef VERTEXDATA_H
#define VERTEXDATA_H
#include "nau/math/vec3.h"
#include <map>
#include <memory>
#include <string>
#include <vector>
using namespace nau::math;
namespace nau
{
namespace geometry
{
class VertexAttrib {
public:
float x,y,z,w;
VertexAttrib() : x(0), y(0), z(0), w(0) {};
VertexAt... | 21.940299 | 80 | 0.611224 |
9ae2dc15ff2dddfad1e223a96981b012538088c4 | 1,648 | h | C | tests/corruption_test_0/allocator_policy.h | bridgerrholt/cpp_allocators | 9cfc79cb168918b2ec01ad618c5c705e6d2bff93 | [
"MIT"
] | null | null | null | tests/corruption_test_0/allocator_policy.h | bridgerrholt/cpp_allocators | 9cfc79cb168918b2ec01ad618c5c705e6d2bff93 | [
"MIT"
] | null | null | null | tests/corruption_test_0/allocator_policy.h | bridgerrholt/cpp_allocators | 9cfc79cb168918b2ec01ad618c5c705e6d2bff93 | [
"MIT"
] | null | null | null | #ifndef BRH_CPP_ALLOCATORS_CORRUPTION_TEST_0_ALLOCATOR_POLICY_H
#define BRH_CPP_ALLOCATORS_CORRUPTION_TEST_0_ALLOCATOR_POLICY_H
#include <cstddef>
#include <string>
#include <allocators/blocks/block.h>
namespace brh {
namespace allocators {
namespace tests {
class AllocatorPolicy
{
public:
virtual ~AllocatorP... | 21.128205 | 68 | 0.740898 |
32625e96c3efc15dc2b1e768a9dd00c6382fdf09 | 7,660 | c | C | STM32F030/STM32F0xx_StdPeriph_Lib_V1.5.0/Projects/STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c | EEWX/VFD28016-display | 94f799cbb890784818ba3e87457d68dfe88c0bbb | [
"CC-BY-4.0"
] | null | null | null | STM32F030/STM32F0xx_StdPeriph_Lib_V1.5.0/Projects/STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c | EEWX/VFD28016-display | 94f799cbb890784818ba3e87457d68dfe88c0bbb | [
"CC-BY-4.0"
] | null | null | null | STM32F030/STM32F0xx_StdPeriph_Lib_V1.5.0/Projects/STM32F0xx_StdPeriph_Examples/IWDG/IWDG_Reset/main.c | EEWX/VFD28016-display | 94f799cbb890784818ba3e87457d68dfe88c0bbb | [
"CC-BY-4.0"
] | null | null | null | /**
******************************************************************************
* @file IWDG/IWDG_Reset/main.c
* @author MCD Application Team
* @version V1.4.0
* @date 24-July-2014
* @brief Main program body
******************************************************************************
* @... | 27.854545 | 81 | 0.599739 |
68415df551432903a439e5f035e1bdcb4e492a0e | 1,533 | h | C | Gra/button.h | ObalonyPiwot/Alien_Space_Shooter_Game_PwJC | b941cfbb2d382c79519ba41c27633f8b23b25454 | [
"MIT"
] | 4 | 2022-01-02T16:45:00.000Z | 2022-01-11T15:59:29.000Z | Gra/button.h | ObalonyPiwot/Alien_Space_Shooter_Game_PwJC | b941cfbb2d382c79519ba41c27633f8b23b25454 | [
"MIT"
] | null | null | null | Gra/button.h | ObalonyPiwot/Alien_Space_Shooter_Game_PwJC | b941cfbb2d382c79519ba41c27633f8b23b25454 | [
"MIT"
] | 1 | 2022-01-06T22:02:21.000Z | 2022-01-06T22:02:21.000Z | #pragma once
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <string>
#include "Sciany.h"
#include "run_game.h"
using namespace std;
using namespace sf;
class Button: public Sciany
{
public:
Button(float p_x, float p_y, float a, float b, int type, string tekst) :Sciany(p_x, p_y, a, b, ty... | 23.953125 | 142 | 0.6197 |
04a8a94f0a0aca2b4180358355be6351d18dda7f | 4,126 | c | C | src/ReturnStack/ReturnStack.c | andreigramescu/GoForth | e6c6f8613ce3b400d8715d0e14695d51d948291d | [
"MIT"
] | 2 | 2020-09-19T12:27:40.000Z | 2020-09-22T21:09:40.000Z | src/ReturnStack/ReturnStack.c | andreigramescu/GoForth | e6c6f8613ce3b400d8715d0e14695d51d948291d | [
"MIT"
] | null | null | null | src/ReturnStack/ReturnStack.c | andreigramescu/GoForth | e6c6f8613ce3b400d8715d0e14695d51d948291d | [
"MIT"
] | null | null | null | #include "ReturnStack.h"
#include <malloc.h>
#include <stdbool.h>
#include <assert.h>
struct return_stack
{
size_t length;
size_t size;
size_t arr[1];
};
bool ReturnStack_append(ReturnStack **darr, size_t val)
{
struct return_stack *dynarray = (struct return_stack *) *darr;
assert(dynarray != NU... | 28.068027 | 184 | 0.668929 |
2c0f8dac7e836f878bb4d025a01ba01cb6bcff38 | 1,356 | h | C | Ursa-Editor/src/EditorLayer.h | quiniks/Ursa | 4f6c7c153d9d4c2ccb4c42f06d2fa88910d15c8c | [
"Apache-2.0"
] | null | null | null | Ursa-Editor/src/EditorLayer.h | quiniks/Ursa | 4f6c7c153d9d4c2ccb4c42f06d2fa88910d15c8c | [
"Apache-2.0"
] | null | null | null | Ursa-Editor/src/EditorLayer.h | quiniks/Ursa | 4f6c7c153d9d4c2ccb4c42f06d2fa88910d15c8c | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Ursa.h"
#include "imgui/imgui.h"
#include "Panels/SceneHierarchyPanel.h"
#include "Ursa/Renderer/EditorCamera.h"
namespace Ursa {
class EditorLayer : public Layer {
public:
EditorLayer();
virtual ~EditorLayer() = default;
virtual void OnAttach() override;
virtual void OnDetach() overr... | 24.214286 | 59 | 0.743363 |
c8423af7729fc79403cdb0265c9c91a3dc90c21a | 10,317 | h | C | src/Generic/state/XMLElement.h | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/Generic/state/XMLElement.h | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/Generic/state/XMLElement.h | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2011 by BBN Technologies Corp.
// All Rights Reserved.
//
// XMLElement: serialization & deserialization of SERIF's annotations to XML
#ifndef XML_ELEMENT_H
#define XML_ELEMENT_H
#include "Generic/state/XMLStrings.h"
#include "Generic/common/UnexpectedInputException.h"
#include "Generic/common/... | 42.632231 | 107 | 0.690899 |
0893cb47fa2d997ab1f237deb718116602976626 | 584 | h | C | collection/cp/ACM_Notebook_new-master/String/minmove.h | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/ACM_Notebook_new-master/String/minmove.h | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/ACM_Notebook_new-master/String/minmove.h | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | // Tính vị trí của xâu xoay vòng có thứ tự từ điển nhỏ nhất của xâu s[]
int minmove(string s) {
int n = s.length();
int x, y, i, j, u, v; // x is the smallest string before string y
for (x = 0, y = 1; y < n; ++ y) {
i = u = x;
j = v = y;
while (s[i] == s[j]) {
++ u; ++ v;... | 26.545455 | 71 | 0.364726 |
ec6d74b00f8bc49900d4f39c9c8897efe012f07d | 546 | h | C | LinkedList.h | GregoryWizard/rd_linkedlist | 9d7e5fad6a1cb312e42874c3713e55f0cfe54d1a | [
"Apache-2.0"
] | null | null | null | LinkedList.h | GregoryWizard/rd_linkedlist | 9d7e5fad6a1cb312e42874c3713e55f0cfe54d1a | [
"Apache-2.0"
] | null | null | null | LinkedList.h | GregoryWizard/rd_linkedlist | 9d7e5fad6a1cb312e42874c3713e55f0cfe54d1a | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
// Data types.
enum t_type { t_int,t_float,t_string };
// Struct of item in list.
struct Item
{
void* x;
t_type type;
Item* next, *prev;
};
// List class.
class LinkedList
{
private:
Item* head_, *tail_;
int size_;
public:
... | 16.545455 | 39 | 0.514652 |
ecb9af530ece74c92f71f7cb3e2c82e2c400836d | 6,998 | h | C | System/Library/PrivateFrameworks/MediaControls.framework/MediaControlsEndpointsViewController.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/PrivateFrameworks/MediaControls.framework/MediaControlsEndpointsViewController.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/MediaControls.framework/MediaControlsEndpointsViewController.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:51:14 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/MediaControls.framework/MediaControls
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016... | 59.811966 | 322 | 0.817948 |
ae6a523b0e3242f7f5a8309f715fafcd261e542b | 5,411 | c | C | kernel/linux-3.4.y/arch/arm/mach-hi3518ev200/pm.c | suda-morris/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 4 | 2020-04-28T02:12:34.000Z | 2021-02-23T01:57:39.000Z | kernel/linux-3.4.y/arch/arm/mach-hi3518ev200/pm.c | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | null | null | null | kernel/linux-3.4.y/arch/arm/mach-hi3518ev200/pm.c | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 5 | 2018-05-16T16:36:08.000Z | 2020-11-04T05:51:11.000Z | /*copyright:hisilicon,bvt,liucan,2014-7-14*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/suspend.h>
#include <asm/memory.h>
#include <mach/system.h>
#include <mach/early-debug.h>
#include <mach/platform.h>
#include <linux/delay.h>
#include <linux/su... | 21.730924 | 72 | 0.730179 |
b7f11b0835f69dd87865402c88bc401215f217b7 | 219 | h | C | source/RobotController/RobotControllerGUI/rlHeaders.h | xxzl0130/ProgrammingExperience | 4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd | [
"MIT"
] | 1 | 2020-09-08T02:54:11.000Z | 2020-09-08T02:54:11.000Z | source/RobotController/RobotControllerGUI/rlHeaders.h | xxzl0130/ProgrammingExperience | 4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd | [
"MIT"
] | 1 | 2020-09-08T02:53:54.000Z | 2020-09-23T00:55:35.000Z | source/RobotController/RobotControllerGUI/rlHeaders.h | xxzl0130/ProgrammingExperience | 4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd | [
"MIT"
] | null | null | null | #pragma once
#include <rl/math/Rotation.h>
#include <rl/math/Unit.h>
#include <rl/math/Vector.h>
#include <rl/math/Polynomial.h>
#include <rl/math/Transform.h>
#include <rl/math/Quaternion.h>
#include <rl/math/Unit.h>
| 21.9 | 31 | 0.726027 |
3129878cc20c61d7a523387139ef9219d109e429 | 6,179 | h | C | tests/testapp/testapp_assert_helper.h | rohansuri/kv_engine | 6d377448a787ce5dc268c95def2850e36f5f1328 | [
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_assert_helper.h | rohansuri/kv_engine | 6d377448a787ce5dc268c95def2850e36f5f1328 | [
"BSD-3-Clause"
] | null | null | null | tests/testapp/testapp_assert_helper.h | rohansuri/kv_engine | 6d377448a787ce5dc268c95def2850e36f5f1328 | [
"BSD-3-Clause"
] | 2 | 2019-10-11T14:00:49.000Z | 2020-04-06T09:20:15.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 33.042781 | 80 | 0.555268 |
c150837fe037c5dc1ffcdeb3e7aa0d301476bd52 | 2,175 | h | C | src/redland/RedlandWrapper/src/include/redland/LibrdfModel.h | sys-bio/tesemantic | f25f44a0a7e67d38f1e94fd69c08ae7f73be2079 | [
"Apache-2.0"
] | 6 | 2020-07-07T11:23:29.000Z | 2021-11-19T09:49:02.000Z | src/redland/RedlandWrapper/src/include/redland/LibrdfModel.h | sys-bio/tesemantic | f25f44a0a7e67d38f1e94fd69c08ae7f73be2079 | [
"Apache-2.0"
] | 79 | 2020-06-23T15:32:44.000Z | 2022-02-23T06:46:43.000Z | src/redland/RedlandWrapper/src/include/redland/LibrdfModel.h | sys-bio/tesemantic | f25f44a0a7e67d38f1e94fd69c08ae7f73be2079 | [
"Apache-2.0"
] | 5 | 2020-11-29T04:29:54.000Z | 2021-08-17T15:55:41.000Z | //
// Created by Ciaran on 5/17/2020.
//
#ifndef LIBOMEXMETA_LIBRDFMODEL_H
#define LIBOMEXMETA_LIBRDFMODEL_H
#include "LibrdfQuery.h"
#include "LibrdfQueryResults.h"
#include "LibrdfStatement.h"
#include "LibrdfStorage.h"
#include "LibrdfStream.h"
#include "LibrdfWorld.h"
#include "librdf.h"
#include <iostream>
#incl... | 25.588235 | 121 | 0.687816 |
1e22a750f6a51031b4cb0a24b41a4ed110241b07 | 293 | h | C | ch4_bridging_with_a_virtual_constructor/SimpleMC3.h | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | ch4_bridging_with_a_virtual_constructor/SimpleMC3.h | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | ch4_bridging_with_a_virtual_constructor/SimpleMC3.h | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | #ifndef SIMPLEMC3_H
#define SIMPLEMC3_H
#include "Vanilla1.h"
double SimpleMonteCarlo3(const VanillaOption& TheOption,
double Spot,
double Vol,
double r,
unsigned long NumberOfPaths);
#endif | 24.416667 | 56 | 0.532423 |
3669c66ceff3bc0ea928c80d6bde27bd38adc9ce | 991 | h | C | libraries/stdlib/NullOrReference.h | AymenSekhri/CyanOS | 1e42772911299a40aab0e7aac50181b180941800 | [
"MIT"
] | 63 | 2020-06-18T11:04:07.000Z | 2022-02-24T09:01:44.000Z | libraries/stdlib/NullOrReference.h | AymenSekhri/CyanOS | 1e42772911299a40aab0e7aac50181b180941800 | [
"MIT"
] | 4 | 2020-08-31T23:07:37.000Z | 2021-06-08T21:54:02.000Z | libraries/stdlib/NullOrReference.h | AymenSekhri/CyanOS | 1e42772911299a40aab0e7aac50181b180941800 | [
"MIT"
] | 9 | 2020-08-03T13:48:50.000Z | 2022-03-31T11:50:59.000Z | #pragma once
#include "Assert.h"
template <typename T> class NullOrReference
{
public:
DEFAULT_COPY(NullOrReference)
DEFAULT_MOVE(NullOrReference)
DEFAULT_DESTRUCTOR(NullOrReference)
NullOrReference() { m_storage = nullptr; }
NullOrReference(T* storage) : m_storage{storage} { ASSERT(storage); }
NullOrReferenc... | 16.79661 | 70 | 0.665994 |
cfc01894f3845ccaf4381b0da703ff5c06ddcc50 | 2,470 | h | C | drivers/usbd_stm.h | a-v-s/stm32usb | b994149b42e9132090ada929ee55153ab0e482c8 | [
"MIT"
] | null | null | null | drivers/usbd_stm.h | a-v-s/stm32usb | b994149b42e9132090ada929ee55153ab0e482c8 | [
"MIT"
] | 3 | 2019-12-24T14:41:07.000Z | 2019-12-24T15:49:32.000Z | drivers/usbd_stm.h | a-v-s/stm32usb | b994149b42e9132090ada929ee55153ab0e482c8 | [
"MIT"
] | null | null | null | /*
File: usbd_stm.h
Author: André van Schoubroeck
License: MIT
MIT License
Copyright (c) 2018, 2019 André van Schoubroeck
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... | 29.759036 | 79 | 0.791093 |
965d8c8568139b85777e47daa15e8124feb9076f | 314 | h | C | SGP/Coin.h | olehermanse/SGP | ec898da6bf8b6aa39fd23697db076b412ad66425 | [
"MIT"
] | 2 | 2015-01-16T23:46:55.000Z | 2016-03-28T23:04:58.000Z | SGP/Coin.h | olehermanse/SGP | ec898da6bf8b6aa39fd23697db076b412ad66425 | [
"MIT"
] | null | null | null | SGP/Coin.h | olehermanse/SGP | ec898da6bf8b6aa39fd23697db076b412ad66425 | [
"MIT"
] | null | null | null | #ifndef __GameJam__Coin__
#define __GameJam__Coin__
#include "mGraphics.h"
#include "mHeightmap.h"
class Coin{
public:
Coin();
static mGraphics* gfx;
float theta;
float phi;
float radius;
mVector pos;
void draw();
void update();
void rotate();
private:
};
#endif /* defined(__GameJam__Coin__) */
| 12.56 | 39 | 0.703822 |
d2bdb0746cefa0d86dc8d0de086da58545e6bef8 | 16,925 | h | C | kernels/geometry/triangle_intersector_woop.h | Patafikss/embree3-AT | c3e83ef157bd1fde1db7d1d90c8fd55a5a278573 | [
"Apache-2.0"
] | null | null | null | kernels/geometry/triangle_intersector_woop.h | Patafikss/embree3-AT | c3e83ef157bd1fde1db7d1d90c8fd55a5a278573 | [
"Apache-2.0"
] | null | null | null | kernels/geometry/triangle_intersector_woop.h | Patafikss/embree3-AT | c3e83ef157bd1fde1db7d1d90c8fd55a5a278573 | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2020 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 39.178241 | 134 | 0.461152 |
cf38202e4acef00489075cd06d78eb76ef359689 | 213 | h | C | Project-one/include/semaphores-lib.h | carvalheirafc/cDump | 6a61b914d47f0df6296a3cf22ae7cfd8172b9ffc | [
"Apache-2.0"
] | null | null | null | Project-one/include/semaphores-lib.h | carvalheirafc/cDump | 6a61b914d47f0df6296a3cf22ae7cfd8172b9ffc | [
"Apache-2.0"
] | null | null | null | Project-one/include/semaphores-lib.h | carvalheirafc/cDump | 6a61b914d47f0df6296a3cf22ae7cfd8172b9ffc | [
"Apache-2.0"
] | null | null | null | #ifndef __SEMAPHORES_LIB_H__
#define __SEMAPHORES_LIB_H__
void fillMatrix(int** targetMatrix, int number, int matrix_size);
void matrixMultiplicationWithTreads(int dimmentions);
#endif //__SEMAPHORES_LIB_H__
| 19.363636 | 65 | 0.830986 |
cf78db62581aff434900cd87903ed8f0b76a3e87 | 727 | h | C | fboss/agent/state/StateUtils.h | fakeNetflix/facebook-repo-fboss | b4b64540c779022bcbeff72376549d0addf3f7e7 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/state/StateUtils.h | fakeNetflix/facebook-repo-fboss | b4b64540c779022bcbeff72376549d0addf3f7e7 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/state/StateUtils.h | fakeNetflix/facebook-repo-fboss | b4b64540c779022bcbeff72376549d0addf3f7e7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pra... | 24.233333 | 79 | 0.730399 |
65cd3ae01444a91f60a2e6e33c688badd4d197e9 | 529 | c | C | Implementation/Lisa's Workbook.c | iamvk1996/HackerRank-Solutions | 781553d4f87549372136c7a541a2cf55a69d40ac | [
"Apache-2.0"
] | null | null | null | Implementation/Lisa's Workbook.c | iamvk1996/HackerRank-Solutions | 781553d4f87549372136c7a541a2cf55a69d40ac | [
"Apache-2.0"
] | null | null | null | Implementation/Lisa's Workbook.c | iamvk1996/HackerRank-Solutions | 781553d4f87549372136c7a541a2cf55a69d40ac | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main() {
int n,k;
scanf("%d %d",&n,&k);
int pages[n+1];
int p=1;
int count=0;
for(int i=1;i<=n;i++)
{
scanf("%d",&pages[i]);
}
for(int i=1;i<=n;i++)
{
for(int q=1;q<=pag... | 16.030303 | 37 | 0.359168 |
65f9330acc5ff8053d522edbcf092595e14c3ed3 | 5,661 | c | C | usr/tests/testdesc/testdesc.c | mslovy/barrelfish | 780bc02cfbc3594b0ae46ca3a921d183557839be | [
"MIT"
] | null | null | null | usr/tests/testdesc/testdesc.c | mslovy/barrelfish | 780bc02cfbc3594b0ae46ca3a921d183557839be | [
"MIT"
] | null | null | null | usr/tests/testdesc/testdesc.c | mslovy/barrelfish | 780bc02cfbc3594b0ae46ca3a921d183557839be | [
"MIT"
] | null | null | null | /** \file
* \brief inheritance of file descriptors
*/
/*
* Copyright (c) 2010, 2012, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Z... | 26.957143 | 82 | 0.594595 |
68163e6ff24d44775ce46042a93c09e20c6df250 | 2,007 | h | C | src/IceRay/main/interface/c/core/render/ray.h | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | src/IceRay/main/interface/c/core/render/ray.h | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | src/IceRay/main/interface/c/core/render/ray.h | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | #ifndef f8d904309b2543a588747a56c4e59a9a
#define f8d904309b2543a588747a56c4e59a9a
#include "../../system/system.h"
#include "../../type/interval.h"
#include "../object/object.h"
#include "../geometry/geometry.h"
struct IceRayC_Render_Ray_Struct {};
typedef IceRayC_Render_Ray_Struct* IceRayC_Render_Ray_Han... | 60.818182 | 173 | 0.786248 |
fdd7e7bae87d3ce1b2966cafbdb05cad753c4278 | 1,715 | h | C | ctcdecode/src/cpu_binding.h | shamoons/ctcdecode | f78df9c7847e5086312648d0e68ab8506b436b0c | [
"MIT"
] | null | null | null | ctcdecode/src/cpu_binding.h | shamoons/ctcdecode | f78df9c7847e5086312648d0e68ab8506b436b0c | [
"MIT"
] | null | null | null | ctcdecode/src/cpu_binding.h | shamoons/ctcdecode | f78df9c7847e5086312648d0e68ab8506b436b0c | [
"MIT"
] | null | null | null | typedef enum {
CTC,
CTC_DICT,
CTC_KENLM
} DecodeType ;
/* scorers */
int kenlm_enabled();
void* get_dict_scorer(const wchar_t* label_str, int labels_size, int space_index, int blank_index,
const char* trie_path);
void* get_kenlm_scorer(const wchar_t* label_str, int labels_size, int space_... | 38.977273 | 107 | 0.727697 |
0498cee5184bb3096c0979d40adaa7c80402bc4a | 304 | h | C | SimG4Core/PhysicsLists/plugins/FTFCMS_BIC.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | SimG4Core/PhysicsLists/plugins/FTFCMS_BIC.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimG4Core/PhysicsLists/plugins/FTFCMS_BIC.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-04-03T19:23:27.000Z | 2019-04-03T19:23:27.000Z | #ifndef SimG4Core_PhysicsLists_FTFCMS_BIC_H
#define SimG4Core_PhysicsLists_FTFCMS_BIC_H
#include "SimG4Core/Physics/interface/PhysicsList.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
class FTFCMS_BIC: public PhysicsList {
public:
FTFCMS_BIC(const edm::ParameterSet & p);
};
#endif
| 17.882353 | 55 | 0.8125 |
ca327e4834d9a71185af2a6eb806a7e232250cb9 | 671 | h | C | imagelist.h | zemc77/ProjectIMG | acd74f326e87e6b5c63957e6712d56ad0d2e4bcc | [
"MIT"
] | null | null | null | imagelist.h | zemc77/ProjectIMG | acd74f326e87e6b5c63957e6712d56ad0d2e4bcc | [
"MIT"
] | null | null | null | imagelist.h | zemc77/ProjectIMG | acd74f326e87e6b5c63957e6712d56ad0d2e4bcc | [
"MIT"
] | null | null | null | #pragma once
#include <QString>
#include <QList>
class imagelist
{
public:
enum FilterMode {All, Cropped, Uncropped};
imagelist(QString folder);
~imagelist();
int getPosition();
void setPosition(int position);
void Seek(int direction, int mode);
void Cycle(int direction);
QString getPat... | 21.645161 | 49 | 0.66468 |
a9c5799ec9a722aa39dad90b52a4f4cca289c956 | 7,368 | h | C | src/js/vm/Printer.h | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 149 | 2018-12-23T09:08:00.000Z | 2022-02-02T09:18:38.000Z | src/js/vm/Printer.h | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | null | null | null | src/js/vm/Printer.h | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 56 | 2018-12-23T18:11:40.000Z | 2021-11-30T13:18:17.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 31.896104 | 97 | 0.654045 |
a62013fd4da6cf21e0cee05942cf09376e4f77e8 | 2,310 | c | C | src/data.c | johnmastro/sky | b96ef49c1f9f341d5ea111e16bc7367cb0c7bdff | [
"MIT"
] | null | null | null | src/data.c | johnmastro/sky | b96ef49c1f9f341d5ea111e16bc7367cb0c7bdff | [
"MIT"
] | null | null | null | src/data.c | johnmastro/sky | b96ef49c1f9f341d5ea111e16bc7367cb0c7bdff | [
"MIT"
] | null | null | null | // data.c - Basic data constructors and accessors
#include "sky.h"
enum type_tag get_type_tag(value_t value)
{
if (value == NIL) return TAG_LIST;
enum type_tag tag = value & ~VAL_MASK;
if (!tag)
tag = ((struct object *)value)->tag;
assert(tag != TAG_UNUSED);
return tag;
}
static struct... | 20.625 | 53 | 0.669697 |
b7ce6141d2c3eedeef7f50a3bc0d517339d22893 | 11,598 | h | C | gpu/ipc/service/gpu_watchdog_thread.h | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | gpu/ipc/service/gpu_watchdog_thread.h | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | gpu/ipc/service/gpu_watchdog_thread.h | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright (c) 2012 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 GPU_IPC_SERVICE_GPU_WATCHDOG_THREAD_H_
#define GPU_IPC_SERVICE_GPU_WATCHDOG_THREAD_H_
#include "base/atomicops.h"
#include "base/macros.h"
#i... | 35.907121 | 80 | 0.758752 |
a284af91d985b3c3e92f66a511335772bf0b54e4 | 422 | h | C | Sources/Views/OAScrollView.h | Zahnstocher/OsmAnd-ios | d67009024c5ebb0084c83e3a9c305455b5db3397 | [
"MIT"
] | null | null | null | Sources/Views/OAScrollView.h | Zahnstocher/OsmAnd-ios | d67009024c5ebb0084c83e3a9c305455b5db3397 | [
"MIT"
] | null | null | null | Sources/Views/OAScrollView.h | Zahnstocher/OsmAnd-ios | d67009024c5ebb0084c83e3a9c305455b5db3397 | [
"MIT"
] | null | null | null | //
// OAScrollView.h
// OsmAnd
//
// Created by Alexey Kulish on 23/02/2018.
// Copyright © 2018 OsmAnd. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol OAScrollViewDelegate
@required
- (void) onContentOffsetChanged:(CGPoint)contentOffset;
- (BOOL) isScrollAllowed;
@end
@interface OAScrollView : UISc... | 16.230769 | 64 | 0.732227 |
2c3bdb50a8c5d7d4c7464cbe2d6729f48c5f0a1e | 5,716 | h | C | Pods/Headers/Public/pjsip/pjmedia/include/pjmedia/alaw_ulaw.h | vikt0r40/Cheryz | 08e8bd0ac9b3ce62d024a8fc82e678e9737d104e | [
"MIT"
] | null | null | null | Pods/Headers/Public/pjsip/pjmedia/include/pjmedia/alaw_ulaw.h | vikt0r40/Cheryz | 08e8bd0ac9b3ce62d024a8fc82e678e9737d104e | [
"MIT"
] | null | null | null | Pods/Headers/Public/pjsip/pjmedia/include/pjmedia/alaw_ulaw.h | vikt0r40/Cheryz | 08e8bd0ac9b3ce62d024a8fc82e678e9737d104e | [
"MIT"
] | null | null | null | /* $Id: alaw_ulaw.h 3553 2011-05-05 06:14:19Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | 26.71028 | 77 | 0.679146 |
c8e28577a9583957411cfd1142a7dc37cd871872 | 1,169 | h | C | TRIdleTimer.h | etoile/StepChat | 8b89dc93d1ef225397775326edded2137dda409e | [
"BSD-3-Clause"
] | 1 | 2019-03-08T02:09:08.000Z | 2019-03-08T02:09:08.000Z | TRIdleTimer.h | etoile/StepChat | 8b89dc93d1ef225397775326edded2137dda409e | [
"BSD-3-Clause"
] | null | null | null | TRIdleTimer.h | etoile/StepChat | 8b89dc93d1ef225397775326edded2137dda409e | [
"BSD-3-Clause"
] | 2 | 2017-03-13T11:15:09.000Z | 2020-03-12T02:56:37.000Z | //
// TRIdleTimer.h
// Jabber
//
// Created by David Chisnall on 09/01/2005.
// Copyright 2005 David Chisnall. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#ifdef MACOSX
#include <Carbon/Carbon.h>
#include <time.h>
#endif
@interface TRIdleTimer : NSObject {
BOOL isValid;
... | 23.38 | 72 | 0.74166 |
c8fdfc7b48500150469c0ea999868df3d7cf8475 | 921 | h | C | getgood/Controllers/ChatListController.h | takemurakimio/get-good-py | 0d9b66b8186c3104d9f5aa38c5d55605ba6b2df8 | [
"Apache-2.0"
] | 1 | 2021-10-05T10:04:05.000Z | 2021-10-05T10:04:05.000Z | getgood/Controllers/ChatListController.h | takemurakimio/get-good-py | 0d9b66b8186c3104d9f5aa38c5d55605ba6b2df8 | [
"Apache-2.0"
] | null | null | null | getgood/Controllers/ChatListController.h | takemurakimio/get-good-py | 0d9b66b8186c3104d9f5aa38c5d55605ba6b2df8 | [
"Apache-2.0"
] | null | null | null | //
// ChatListController.h
// getgood
//
// Created by Md Aminuzzaman on 22/12/17.
// Copyright © 2017 PH. All rights reserved.
//
//
// HomeActivityController.h
// getgood
//
// Created by Md Aminuzzaman on 21/11/17.
// Copyright © 2017 PH. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XLPagerTabSt... | 21.418605 | 70 | 0.744843 |
647d9899b43f3181342228013e7c5a1863e4a758 | 3,768 | c | C | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/cmd/wdt.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/cmd/wdt.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | null | null | null | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/cmd/wdt.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | 1 | 2021-12-15T09:54:37.000Z | 2021-12-15T09:54:37.000Z | // SPDX-License-Identifier: GPL-2.0+
/*
* Watchdog commands
*
* Copyright (c) 2019 Michael Walle <michael@walle.cc>
*/
#include <common.h>
#include <command.h>
#include <dm.h>
#include <wdt.h>
static struct udevice *currdev;
static int do_wdt_list(cmd_tbl_t *cmdtp, int flag, int argc,
char *const argv[]... | 21.531429 | 66 | 0.680732 |
3124d0779f64fcf3a70ac3ef106c31fd65d69e25 | 934 | h | C | usr/libexec/timed/TMNtpResults.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 2 | 2020-07-26T20:30:54.000Z | 2020-08-10T04:26:23.000Z | usr/libexec/timed/TMNtpResults.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 1 | 2020-07-26T20:45:31.000Z | 2020-08-09T09:30:46.000Z | usr/libexec/timed/TMNtpResults.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@interface TMNtpResults : NSObject
{
struct _TMNtpResult *_results; // 8 = 0x8
unsigned long long _capacity; // ... | 37.36 | 143 | 0.734475 |
1e966e55d0f0ad535a2d57280c412d82e1290e57 | 700 | c | C | src/ap/plan9/stat.c | gmacd/apex | 69a3a102f2b8cb21fee3271b49c6ed25fb901f02 | [
"LPL-1.02",
"MIT"
] | 29 | 2016-02-15T19:26:10.000Z | 2022-01-19T19:10:07.000Z | src/ap/plan9/stat.c | Harvey-OS/ape | 69a3a102f2b8cb21fee3271b49c6ed25fb901f02 | [
"LPL-1.02",
"MIT"
] | 75 | 2016-02-23T23:52:27.000Z | 2019-03-25T12:36:55.000Z | src/ap/plan9/stat.c | Harvey-OS/ape | 69a3a102f2b8cb21fee3271b49c6ed25fb901f02 | [
"LPL-1.02",
"MIT"
] | 15 | 2016-02-23T23:48:37.000Z | 2022-01-15T19:49:20.000Z | /*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, prop... | 22.580645 | 79 | 0.692857 |
f0215aff338169922e63f28a65d1e9dfd5ab439f | 643 | h | C | include/die.h | horsicq/die_library | 414cb51f06de5234e36da6b4af7e12e7ffdc5415 | [
"MIT"
] | 3 | 2020-06-20T05:11:32.000Z | 2020-08-14T19:44:12.000Z | include/die.h | horsicq/die_library | 414cb51f06de5234e36da6b4af7e12e7ffdc5415 | [
"MIT"
] | null | null | null | include/die.h | horsicq/die_library | 414cb51f06de5234e36da6b4af7e12e7ffdc5415 | [
"MIT"
] | 1 | 2020-08-07T00:33:40.000Z | 2020-08-07T00:33:40.000Z | #ifndef DIELIB_H
#define DIELIB_H
#include <windows.h>
// flags
#define DIE_DEEPSCAN 0x00000002
#define DIE_RESULTASXML 0x00000004
#define DIE_RESULTASJSON 0x00000008
#ifdef __cplusplus
extern "C" {
#endif
int DIE_CreateScanHandle();
void DIE_CloseScanHandle(int... | 21.433333 | 79 | 0.723173 |
535627d08d29d1be362f9d4c83008dacb78e37ef | 5,283 | h | C | Networking/src/MultiClientSender.h | keithrausch/InterprocessMemPool | 9610dbeb880b35457d5f7f050912502cde258abd | [
"MIT"
] | null | null | null | Networking/src/MultiClientSender.h | keithrausch/InterprocessMemPool | 9610dbeb880b35457d5f7f050912502cde258abd | [
"MIT"
] | null | null | null | Networking/src/MultiClientSender.h | keithrausch/InterprocessMemPool | 9610dbeb880b35457d5f7f050912502cde258abd | [
"MIT"
] | 1 | 2021-08-31T00:06:22.000Z | 2021-08-31T00:06:22.000Z | // Keith Rausch
#ifndef MULTI_CLIENT_SENDER_H
#define MULTI_CLIENT_SENDER_H
#include "UtilsASIO.h"
#include "listener.h"
#include "shared_state.h"
namespace IPC
{
struct MultiClientSenderArgs
{
std::string broadcastDestination = "255.255.255.255"; // send broadcast to all listeners
unsigned short broadcastSend... | 39.425373 | 163 | 0.636759 |
7aeda268414420aebe655c448db705744e431235 | 753 | h | C | Frameworks/DyteSdk.xcframework/ios-arm64/DyteSdk.framework/Headers/DyteMeetingView.h | dyte-in/dyte-ios-sdk | cbe3796525a6a3310f416cb1126d6adf98cbe71d | [
"Apache-2.0"
] | 1 | 2021-11-23T13:21:39.000Z | 2021-11-23T13:21:39.000Z | Frameworks/DyteSdk.xcframework/ios-arm64/DyteSdk.framework/Headers/DyteMeetingView.h | dyte-in/dyte-ios-sdk | cbe3796525a6a3310f416cb1126d6adf98cbe71d | [
"Apache-2.0"
] | 22 | 2021-09-06T11:22:07.000Z | 2022-03-28T12:45:57.000Z | Frameworks/ios-simulator.xcarchive/Products/Library/Frameworks/DyteSdk.framework/Headers/DyteMeetingView.h | dyte-in/dyte-ios-sdk | cbe3796525a6a3310f416cb1126d6adf98cbe71d | [
"Apache-2.0"
] | null | null | null | //
// DyteMeeting.h
// dyteClientMobile
//
// Created by Rohit Bhatia on 08/06/21.
//
#import <UIKit/UIKit.h>
#import "DyteMeetingConfig.h"
#import "DyteParticipant.h"
@protocol DyteMeetingViewDelegate <NSObject>
@optional
- (void)meetingConnected;
- (void)meetingDisconnect;
- (void)meetingJoined;
- (void)meetin... | 20.351351 | 75 | 0.762284 |
15de2b4d3126bfb7a2f55bc9c9fe8ad51c316470 | 936 | h | C | src/maxpool_edge.h | guker/convnet | c4da73ffb942577daeec4587ab22ca643fb6b7cf | [
"BSD-2-Clause"
] | 1 | 2015-11-06T05:30:04.000Z | 2015-11-06T05:30:04.000Z | src/maxpool_edge.h | guker/convnet | c4da73ffb942577daeec4587ab22ca643fb6b7cf | [
"BSD-2-Clause"
] | null | null | null | src/maxpool_edge.h | guker/convnet | c4da73ffb942577daeec4587ab22ca643fb6b7cf | [
"BSD-2-Clause"
] | null | null | null | #ifndef MAXPOOL_EDGE_H_
#define MAXPOOL_EDGE_H_
#include "edge.h"
/** Implements a Max-pool edge.*/
class MaxPoolEdge : public Edge {
public:
MaxPoolEdge(const config::Edge& edge_config);
virtual void SetTiedTo(Edge* e);
virtual void AllocateMemory(bool fprop_only);
virtual void ComputeUp(Matrix& input, Matri... | 33.428571 | 80 | 0.723291 |
9ddaff8b71ae7731b9fecc0510a04be686c5add3 | 42,736 | c | C | runtime/libupc/portals4/gupcr_llvm_access.c | tactcomplabs/clang-upc | 1d84947ce43f385b068888ade64243c1394c119a | [
"Apache-2.0"
] | null | null | null | runtime/libupc/portals4/gupcr_llvm_access.c | tactcomplabs/clang-upc | 1d84947ce43f385b068888ade64243c1394c119a | [
"Apache-2.0"
] | 2 | 2022-01-06T17:58:00.000Z | 2022-01-20T05:51:19.000Z | runtime/libupc/portals4/gupcr_llvm_access.c | clangupc/clang-upc | 08d86f3ecc63b7a0fc00f1754253ab4330584cc4 | [
"Apache-2.0"
] | null | null | null | /*===-- upc_llvm_access.c - UPC Runtime Support Library ------------------===
|*
|* The LLVM Compiler Infrastructure
|*
|* Copyright 2012-2015, Intrepid Technology, Inc. All rights reserved.
|* This file is distributed under a BSD-style Open Source License.
|* See LICENSE-INTREPID.TXT for details.
|*
... | 29.21121 | 79 | 0.656355 |
a5a1d02ae56dc5406d609090952790c2cf9269d6 | 165 | c | C | C01/ex00/main0.c | tahaerel/42-Ecole | bce9398f88eb286d4386eae108983a9ec7851102 | [
"MIT"
] | null | null | null | C01/ex00/main0.c | tahaerel/42-Ecole | bce9398f88eb286d4386eae108983a9ec7851102 | [
"MIT"
] | null | null | null | C01/ex00/main0.c | tahaerel/42-Ecole | bce9398f88eb286d4386eae108983a9ec7851102 | [
"MIT"
] | null | null | null | #include <stdio.h>
void ft_ft(int *nbr);
int main (void)
{
int *p_nbr;
int nbr;
nbr = 21;
p_nbr = &nbr;
ft_ft(p_nbr);
printf("%d\n", nbr);
return (0);
}
| 9.705882 | 21 | 0.569697 |
9d86ad2e25dca241443d744f416abdcc50016440 | 6,558 | c | C | plugins/out_stackdriver/gce_metadata.c | StevenYCChou/fluent-bit | 27b25a16ad5e808b296b44b352d468a5dfde59b1 | [
"Apache-2.0"
] | null | null | null | plugins/out_stackdriver/gce_metadata.c | StevenYCChou/fluent-bit | 27b25a16ad5e808b296b44b352d468a5dfde59b1 | [
"Apache-2.0"
] | null | null | null | plugins/out_stackdriver/gce_metadata.c | StevenYCChou/fluent-bit | 27b25a16ad5e808b296b44b352d468a5dfde59b1 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Fluent Bit
* ==========
* Copyright (C) 2019-2020 The Fluent Bit Authors
*
* 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... | 29.408072 | 84 | 0.606587 |
4f7dd40b54f243d204d3a6f4ef9a747e01355d6a | 208 | c | C | 717-2_erb-2-2.c | TROLLyBUS/timp-717-2_erb | 025563a67b88ccbe15ca8b668859d149ad9f04b1 | [
"BSD-3-Clause"
] | null | null | null | 717-2_erb-2-2.c | TROLLyBUS/timp-717-2_erb | 025563a67b88ccbe15ca8b668859d149ad9f04b1 | [
"BSD-3-Clause"
] | null | null | null | 717-2_erb-2-2.c | TROLLyBUS/timp-717-2_erb | 025563a67b88ccbe15ca8b668859d149ad9f04b1 | [
"BSD-3-Clause"
] | null | null | null | #include <stdio.h>
#include <math.h>
int main() {
int n, x;
int S = 0;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &x);
if (i % 2 != 0) {
S += pow(x, 3);
}
}
printf("%d", S);
}
| 13 | 30 | 0.413462 |
a032c192ef1d6f0b149c52c13308b4fdc0a750a5 | 51,633 | c | C | drivers/crypto/hisilicon/hpre/hpre_crypto.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | drivers/crypto/hisilicon/hpre/hpre_crypto.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 1 | 2021-01-27T01:29:47.000Z | 2021-01-27T01:29:47.000Z | drivers/crypto/hisilicon/hpre/hpre_crypto.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | // SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2019 HiSilicon Limited. */
#include <crypto/akcipher.h>
#include <crypto/curve25519.h>
#include <crypto/dh.h>
#include <crypto/ecc_curve.h>
#include <crypto/ecdh.h>
#include <crypto/rng.h>
#include <crypto/internal/akcipher.h>
#include <crypto/internal/kpp.h>
#includ... | 24.004184 | 85 | 0.701857 |
53bf07f028729cd612cb1771cf6694df7aca75ab | 4,928 | h | C | include/retdec/llvmir2hll/hll/bir_writer.h | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-07-04T16:14:07.000Z | 2021-07-04T16:14:07.000Z | include/retdec/llvmir2hll/hll/bir_writer.h | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | include/retdec/llvmir2hll/hll/bir_writer.h | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /**
* @file include/retdec/llvmir2hll/hll/bir_writer.h
* @brief Class for writing BIR to stdout.
* @copyright (c) 2018 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_LLVMIR2HLL_HLL_BIR_WRITER_H
#define RETDEC_LLVMIR2HLL_HLL_BIR_WRITER_H
#include <cstddef>
#include <string>
#include <sstream>
#inclu... | 39.424 | 68 | 0.787744 |
991351ed4c94f05dc5ff0204aa7a8cb06a542ad1 | 349 | h | C | DataGraph.framework/Versions/A/Headers/DGStructures.h | HildrethResearchGroup/Graphs | 86ee4bf8635dfc81c59a446fa1ada2b4165b5d7a | [
"MIT"
] | 5 | 2020-11-23T21:30:49.000Z | 2022-03-11T16:58:14.000Z | DataGraph.framework/Versions/A/Headers/DGStructures.h | HildrethResearchGroup/Graphs | 86ee4bf8635dfc81c59a446fa1ada2b4165b5d7a | [
"MIT"
] | null | null | null | DataGraph.framework/Versions/A/Headers/DGStructures.h | HildrethResearchGroup/Graphs | 86ee4bf8635dfc81c59a446fa1ada2b4165b5d7a | [
"MIT"
] | null | null | null | //
// DGStructures.h
// Created by David Adalsteinsson on 3/8/09.
// Copyright 2009-2013, Visual Data Tools Inc. All rights reserved.
//
typedef struct _DGRange {
double minV,maxV;
} DGRange;
static __inline__ DGRange DGMakeRange(double x,double y) {
DGRange r;
r.minV = (x<y ? x : y);
r.maxV = (x<... | 18.368421 | 68 | 0.633238 |
3fcf7c536fa6fcac25440f3f09f14f0d765593cd | 38,840 | c | C | framework/src/araui/utils/emoji/__emoji_u1F63E.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 511 | 2017-03-29T09:14:09.000Z | 2022-03-30T23:10:29.000Z | framework/src/araui/utils/emoji/__emoji_u1F63E.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 4,673 | 2017-03-29T10:43:43.000Z | 2022-03-31T08:33:44.000Z | framework/src/araui/utils/emoji/__emoji_u1F63E.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 642 | 2017-03-30T20:45:33.000Z | 2022-03-24T17:07:33.000Z | #include <stdint.h>
const uint8_t __emoji_u1F63E[6456] = {
0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0... | 826.382979 | 960 | 0.666014 |
e23866a728f2086d08ac4c1002c43e651eac59c7 | 27,906 | c | C | utils/1l/asm.c | kryptine/inferno-3 | a0249d7e6e3176eff94b4fab5a68bbab3aa479de | [
"MIT"
] | 4 | 2021-03-24T20:50:09.000Z | 2021-03-26T20:24:57.000Z | utils/1l/asm.c | kryptine/inferno-3 | a0249d7e6e3176eff94b4fab5a68bbab3aa479de | [
"MIT"
] | null | null | null | utils/1l/asm.c | kryptine/inferno-3 | a0249d7e6e3176eff94b4fab5a68bbab3aa479de | [
"MIT"
] | 1 | 2021-08-08T07:20:04.000Z | 2021-08-08T07:20:04.000Z | #include "l.h"
short opa[20];
short *op;
long
entryvalue(void)
{
char *a;
Sym *s;
a = INITENTRY;
if(*a >= '0' && *a <= '9')
return atolwhex(a);
s = lookup(a, 0);
if(s->type == 0)
return INITTEXT;
if(s->type != STEXT)
diag("entry not text: %s", s->name);
return s->value;
}
void
asmb(void)
{
Prog *p;
... | 18.179805 | 66 | 0.472766 |
e9b6bffe87b823120df242dfdf2d2894c84635a7 | 1,322 | h | C | OTVideoPlayerDemo/OTVideoPlayerDemo/Util/UIView+Extension.h | irobbin1024/OTVideoPlayer | 4d5fc87567502e5b4e7dad5b151a03df41a00d85 | [
"MIT"
] | 1 | 2018-03-05T15:04:48.000Z | 2018-03-05T15:04:48.000Z | OTVideoPlayerDemo/OTVideoPlayerDemo/Util/UIView+Extension.h | irobbin1024/OTVideoPlayer | 4d5fc87567502e5b4e7dad5b151a03df41a00d85 | [
"MIT"
] | null | null | null | OTVideoPlayerDemo/OTVideoPlayerDemo/Util/UIView+Extension.h | irobbin1024/OTVideoPlayer | 4d5fc87567502e5b4e7dad5b151a03df41a00d85 | [
"MIT"
] | null | null | null | //
// UIView+Extension.h
// yolo
//
// Created by Eli on 7/10/14.
// Copyright (c) 2014 EliTsai. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (Extension)
@property (assign, nonatomic) CGFloat x;
@property (assign, nonatomic) CGFloat y;
@property (assign, nonatomic) CGSize size;
@property... | 16.948718 | 52 | 0.673222 |
5faf6921e392b9d9d4e8a26a385809083ab28cf9 | 8,945 | h | C | hetlib.h | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | 1 | 2020-03-14T01:38:44.000Z | 2020-03-14T01:38:44.000Z | hetlib.h | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | null | null | null | hetlib.h | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | null | null | null | /* HETLIB.C (c) Copyright Leland Lucius, 2000-2012 */
/* Header for the Hercules Emulated Tape library */
/* */
/* Released under "The Q Public License Version 1" */
/* (http://www.hercules-390.or... | 44.949749 | 83 | 0.526551 |
583b779f9e900335968462148820ce71d243c21a | 430 | c | C | libsrc/common/rewind.c | cvemu/cc65 | 11be575b6dddeba424c0bf02d848f6dd143ada8d | [
"Zlib"
] | 1 | 2015-01-01T14:15:28.000Z | 2015-01-01T14:15:28.000Z | libsrc/common/rewind.c | cvemu/cc65 | 11be575b6dddeba424c0bf02d848f6dd143ada8d | [
"Zlib"
] | null | null | null | libsrc/common/rewind.c | cvemu/cc65 | 11be575b6dddeba424c0bf02d848f6dd143ada8d | [
"Zlib"
] | null | null | null | /*
* rewind.c
*
* Christian Groessler, 07-Aug-2000
*/
#include <stdio.h>
/*****************************************************************************/
/* Code */
/****************************************************************************... | 16.538462 | 79 | 0.239535 |
168ba43b49f2c1665276cd2a0dc4f46ca70fc60d | 733 | h | C | Hardware.h | stnkl/FastLEDManager | b63262b436b9f1acdd28ba4028f7b789453b254c | [
"MIT"
] | 4 | 2019-10-23T18:02:13.000Z | 2021-12-11T12:43:20.000Z | Hardware.h | stnkl/FastLEDManager | b63262b436b9f1acdd28ba4028f7b789453b254c | [
"MIT"
] | 2 | 2020-01-26T21:58:32.000Z | 2021-12-11T12:42:44.000Z | Hardware.h | stnkl/FastLEDManager | b63262b436b9f1acdd28ba4028f7b789453b254c | [
"MIT"
] | null | null | null | #pragma once
#include <Arduino.h>
#include <Ticker.h>
// Suppress FastLED warnings
#define FASTLED_INTERNAL
#include "FastLED.h"
#include "Animation.h"
#include "Fade.h"
#define NUM_LEDS 6
#define LIGHTSTRIP_PIN 5
#define BUTTON_PIN 4
#define MAX_BETTER_HUE 1535
extern CRGB leds[NUM_LEDS];
extern CRGB brightnessCo... | 20.361111 | 72 | 0.765348 |
16c48163b217e0b92822b51a556f6f9d7e105f8a | 3,452 | c | C | Project 0/lab0.c | ioneone/UCLA-CS-111 | a899c858ff250fff79e4180a83577796478eaefa | [
"MIT"
] | 1 | 2019-04-23T21:26:27.000Z | 2019-04-23T21:26:27.000Z | Project 0/lab0.c | ioneone/UCLA-CS-111 | a899c858ff250fff79e4180a83577796478eaefa | [
"MIT"
] | null | null | null | Project 0/lab0.c | ioneone/UCLA-CS-111 | a899c858ff250fff79e4180a83577796478eaefa | [
"MIT"
] | 1 | 2020-12-19T01:19:40.000Z | 2020-12-19T01:19:40.000Z | // Name : Junhong Wang
// ID : 504941113
// Email : oneone@g.ucla.edu
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <getopt.h>
#include <e... | 21.177914 | 80 | 0.598494 |
ce4c7502ab25b40dd06d248de1322f25e53cdf2a | 254 | h | C | src/main/hook/patch/usb-mnt.h | pumpitupdev/pumptools | 6c27b8164cfe9708b2f8d823e94530e934eec38c | [
"Unlicense"
] | 1 | 2022-03-10T11:24:31.000Z | 2022-03-10T11:24:31.000Z | src/main/hook/patch/usb-mnt.h | pumpitupdev/pumptools | 6c27b8164cfe9708b2f8d823e94530e934eec38c | [
"Unlicense"
] | 1 | 2021-08-15T17:18:08.000Z | 2021-08-15T17:20:14.000Z | src/main/hook/patch/usb-mnt.h | pumpitupdev/pumptools | 6c27b8164cfe9708b2f8d823e94530e934eec38c | [
"Unlicense"
] | null | null | null | /**
* Ensures that the mount points /mnt/0 and /mnt/1 exist to allow mounting
* of connected usb sticks with profile data
*/
#ifndef PATCH_USB_MNT_H
#define PATCH_USB_MNT_H
/**
* Initialize the patch module
*/
void patch_usb_mnt_init(void);
#endif | 19.538462 | 74 | 0.740157 |
cee913a949ba3c22b750d2690afc11eda6aa5c58 | 410 | h | C | init.h | Razzaz/djik-path | 6cb03eb3b603358f3ce4276069f366ab9337ffea | [
"MIT"
] | 1 | 2020-12-13T05:29:02.000Z | 2020-12-13T05:29:02.000Z | init.h | MWLKR/djik-path | f9e08bf9d31c446aa13ed68e3f9eb48f8cc1541c | [
"MIT"
] | null | null | null | init.h | MWLKR/djik-path | f9e08bf9d31c446aa13ed68e3f9eb48f8cc1541c | [
"MIT"
] | 6 | 2018-12-22T12:09:15.000Z | 2019-10-16T06:35:05.000Z | #define N 6
#define IN 99
int traffic[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
int trafficCon[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
int weightNodes[10] = {16, 2, 1, 4, 11, 13, 2, 4, 5, 6};
int flag = 0;
int source, target,x,y;
int flagger(int flag);
int dijkstra(int cost[][N], int source, int target);
int queueSys(int lo... | 25.625 | 56 | 0.580488 |
e1af9cbc20a29ac6c3938881e848cd5265206f1e | 36 | c | C | test/cases/T1.c | rodrigogribeiro/typedef | 0fceb0221c3f16e25a8eaff2f8be54f80068e7b0 | [
"BSD-3-Clause"
] | 1 | 2016-02-11T12:00:29.000Z | 2016-02-11T12:00:29.000Z | test/cases/T1.c | rodrigogribeiro/typedef | 0fceb0221c3f16e25a8eaff2f8be54f80068e7b0 | [
"BSD-3-Clause"
] | 12 | 2015-09-07T16:25:31.000Z | 2017-11-17T21:55:08.000Z | test/cases/T1.c | rodrigogribeiro/typedef | 0fceb0221c3f16e25a8eaff2f8be54f80068e7b0 | [
"BSD-3-Clause"
] | null | null | null | int foo (T i) {
return *i + 1;
}
| 9 | 17 | 0.444444 |
e07ae9fa5905cbcd793bdf93dbb06a788def3954 | 2,781 | h | C | src/rtv1.h | logankaser/rtv1 | 5219f7826f13a3db17a620ee42899708bbe52456 | [
"MIT"
] | null | null | null | src/rtv1.h | logankaser/rtv1 | 5219f7826f13a3db17a620ee42899708bbe52456 | [
"MIT"
] | null | null | null | src/rtv1.h | logankaser/rtv1 | 5219f7826f13a3db17a620ee42899708bbe52456 | [
"MIT"
] | 1 | 2019-12-08T10:46:51.000Z | 2019-12-08T10:46:51.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* rtv1.h :+: :+: :+: ... | 24.830357 | 80 | 0.497303 |
0d772be2ebe89899e6abe2ff2cb6e225627da287 | 136 | h | C | src/BLEMIDI_Defs.h | yoelkastro/Arduino-BLE-MIDI | 75e7b903c756301691aa02ca55e781bcbcd2ee64 | [
"MIT"
] | 1 | 2022-02-16T11:40:28.000Z | 2022-02-16T11:40:28.000Z | src/BLEMIDI_Defs.h | alf45tar/Arduino-BLE-MIDI | 3f9b48cb1a5548d1ccfbd952732387ffe36ba55b | [
"MIT"
] | null | null | null | src/BLEMIDI_Defs.h | alf45tar/Arduino-BLE-MIDI | 3f9b48cb1a5548d1ccfbd952732387ffe36ba55b | [
"MIT"
] | null | null | null | #pragma once
#include "BLEMIDI_Namespace.h"
#if ARDUINO
#include <Arduino.h>
#else
#include <inttypes.h>
typedef uint8_t byte;
#endif
| 12.363636 | 30 | 0.75 |
b49ffcea79c94566fa09104e5cfa3b6a0f503c87 | 654 | h | C | Kiez ToGo/K2GFSLocation.h | kiez/togo | 19f88b596480aee21d0c6fcbfa1b0476db1821c5 | [
"MIT"
] | 1 | 2015-02-05T16:59:39.000Z | 2015-02-05T16:59:39.000Z | Kiez ToGo/K2GFSLocation.h | kiez/togo | 19f88b596480aee21d0c6fcbfa1b0476db1821c5 | [
"MIT"
] | null | null | null | Kiez ToGo/K2GFSLocation.h | kiez/togo | 19f88b596480aee21d0c6fcbfa1b0476db1821c5 | [
"MIT"
] | null | null | null | //
// K2GFSLocation.h
// Kiez ToGo
//
// Created by Christian Beer on 16.05.14.
// Copyright (c) 2014 kiez e.V. GmbH (i.G.). All rights reserved.
//
#import <Foundation/Foundation.h>
@interface K2GFSLocation : NSObject
@property (nonatomic, strong) NSString *address;
@property (nonatomic, strong) NSString *cc;
@... | 27.25 | 66 | 0.749235 |
8feee18ece41dd79753c4c617535158d185b4f43 | 741 | h | C | resources/usr/lib/root/etc/dictpch/io/gfal/inc/LinkDef.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/usr/lib/root/etc/dictpch/io/gfal/inc/LinkDef.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/usr/lib/root/etc/dictpch/io/gfal/inc/LinkDef.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 1 | 2020-05-28T23:01:44.000Z | 2020-05-28T23:01:44.000Z | /* @(#)root/gfal:$Id$ */
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | 35.285714 | 75 | 0.398111 |
3783f60c4430fa7b5f46e61eff3ea539a7ed7026 | 54 | c | C | semantic-analysis/system-test/additional-examples/d050e2487be2d5c9dba1c3f03af69300/d050e2487be2d5c9dba1c3f03af69300.c | fgulan/p-p-j | cb66c0a3e51eaf4199fe590d8a6f06507d42a619 | [
"MIT"
] | 1 | 2017-10-21T09:07:10.000Z | 2017-10-21T09:07:10.000Z | semantic-analysis/system-test/additional-examples/d050e2487be2d5c9dba1c3f03af69300/d050e2487be2d5c9dba1c3f03af69300.c | fgulan/p-p-j | cb66c0a3e51eaf4199fe590d8a6f06507d42a619 | [
"MIT"
] | null | null | null | semantic-analysis/system-test/additional-examples/d050e2487be2d5c9dba1c3f03af69300/d050e2487be2d5c9dba1c3f03af69300.c | fgulan/p-p-j | cb66c0a3e51eaf4199fe590d8a6f06507d42a619 | [
"MIT"
] | 1 | 2019-11-10T18:04:17.000Z | 2019-11-10T18:04:17.000Z | int main(void) {
int a[10] = {2,3,4};
return 0;
}
| 7.714286 | 21 | 0.5 |
a660b4631286ec76a725a3e6b819e29c36416da9 | 2,398 | h | C | chrome/browser/ui/views/file_system_access/file_system_access_restricted_directory_dialog_view.h | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/ui/views/file_system_access/file_system_access_restricted_directory_dialog_view.h | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/ui/views/file_system_access/file_system_access_restricted_directory_dialog_view.h | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_RESTRICTED_DIRECTORY_DIALOG_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_FILE_SYSTEM_ACCE... | 35.264706 | 108 | 0.806922 |
8168c96e83e67591abd04ff48ab7be81b3da4e38 | 875 | h | C | Dependencies/CB/PayUCustomBrowser.framework/Headers/CBConstant.h | ShubhGar/PayUMoney-IOS-SDK | fd9c03aa13c46fad6bed9e9e6d2801a5b95b429a | [
"MIT"
] | 14 | 2017-03-07T02:42:02.000Z | 2021-11-16T11:03:09.000Z | Dependencies/CB/PayUCustomBrowser.framework/Headers/CBConstant.h | ShubhGar/PayUMoney-IOS-SDK | fd9c03aa13c46fad6bed9e9e6d2801a5b95b429a | [
"MIT"
] | 56 | 2017-01-19T10:07:01.000Z | 2021-10-30T17:03:09.000Z | Dependencies/CB/PayUCustomBrowser.framework/Headers/CBConstant.h | ShubhGar/PayUMoney-IOS-SDK | fd9c03aa13c46fad6bed9e9e6d2801a5b95b429a | [
"MIT"
] | 25 | 2017-01-19T07:40:21.000Z | 2022-02-10T13:09:27.000Z | //
// CBConstant.h
// iOSCustomeBrowser
//
// Created by Suryakant Sharma on 15/04/15.
// Copyright (c) 2015 PayU, India. All rights reserved.
//
#ifndef iOSCustomeBrowser_CBConstant_h
#define iOSCustomeBrowser_CBConstant_h
//Macros To prevent instantiation of class by standard methods
#define ATTRIBUTE_ALLOC __a... | 38.043478 | 113 | 0.795429 |
54e72c9166b8e2d9355a91b0f11b106e26a2cbf1 | 424 | c | C | glibc-2.21/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c | LinuxUser404/smack-glibc | 75137ec47348317a8dbb431774b74dbb7bd2ec4f | [
"MIT"
] | null | null | null | glibc-2.21/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c | LinuxUser404/smack-glibc | 75137ec47348317a8dbb431774b74dbb7bd2ec4f | [
"MIT"
] | null | null | null | glibc-2.21/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c | LinuxUser404/smack-glibc | 75137ec47348317a8dbb431774b74dbb7bd2ec4f | [
"MIT"
] | null | null | null | /*
* __isinf_nsl(x) returns != 0 if x is ±inf, else 0;
* no branching!
* slightly dodgy in relying on signed shift right copying sign bit
*/
#include <math.h>
#include <math_private.h>
int
__isinf_nsl (long double x)
{
double xhi;
int64_t hx, mask;
xhi = ldbl_high (x);
EXTRACT_WORDS64 (hx, xhi);
mask ... | 17.666667 | 67 | 0.660377 |
c2b0e9b7d87a22e0cdb8077381f546c0c747ac26 | 3,325 | h | C | source/core/search-manager/DocumentIterator.h | izenecloud/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 77 | 2015-02-12T20:59:20.000Z | 2022-03-05T18:40:49.000Z | source/core/search-manager/DocumentIterator.h | fytzzh/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 1 | 2017-04-28T08:55:47.000Z | 2017-07-10T10:10:53.000Z | source/core/search-manager/DocumentIterator.h | fytzzh/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 33 | 2015-01-05T03:03:05.000Z | 2022-02-06T04:22:46.000Z | /**
* @file sf1r/search-manager/DocumentIterator.h
* @author Yingfeng Zhang
* @date Created <2009-09-21>
* @brief Interface for DocumentIterator
*/
#ifndef DOCUMENT_ITERATOR_H
#define DOCUMENT_ITERATOR_H
#include <common/type_defs.h>
#include <ranking-manager/RankingManager.h>
#include <ranking-manag... | 21.451613 | 99 | 0.601805 |
b05d26819d770dd4ed206b2b729d8b0aaa6ab7bb | 854 | h | C | labs/lab5/task2/string/ReverseIteratorImpl.h | denis-petrov/oop | 6bd2679e8f2f39f41cf6520cbbeafa8c01c7bc96 | [
"MIT"
] | null | null | null | labs/lab5/task2/string/ReverseIteratorImpl.h | denis-petrov/oop | 6bd2679e8f2f39f41cf6520cbbeafa8c01c7bc96 | [
"MIT"
] | null | null | null | labs/lab5/task2/string/ReverseIteratorImpl.h | denis-petrov/oop | 6bd2679e8f2f39f41cf6520cbbeafa8c01c7bc96 | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
class CReverseIteratorImpl
{
public:
CReverseIteratorImpl(char* ptr = nullptr);
CReverseIteratorImpl& operator++();
CReverseIteratorImpl& operator--();
CReverseIteratorImpl operator++(int);
CReverseIteratorImpl operator--(int);
CReverseIteratorImpl& operator+=(ptrdiff_t const& r... | 30.5 | 125 | 0.770492 |
b0a835cce087089e563f8a414da9099a4748ca94 | 457 | h | C | OrderingS/BMKOpenOption.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"MIT"
] | null | null | null | OrderingS/BMKOpenOption.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"MIT"
] | null | null | null | OrderingS/BMKOpenOption.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"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 "NSObject.h"
@class NSString;
@interface BMKOpenOption : NSObject
{
_Bool isSupportWeb;
NSString *appScheme;
}
@property(nonatomic) _Bool isSupportWeb; // @synthe... | 19.041667 | 83 | 0.693654 |
fc8de2958653c7cc70b9db92387d94d6ec3990ff | 3,010 | c | C | Theory/vektor.c | MartinTam/PA1 | 486c35574ea1d55233451f69056bd2ae955e63db | [
"MIT"
] | null | null | null | Theory/vektor.c | MartinTam/PA1 | 486c35574ea1d55233451f69056bd2ae955e63db | [
"MIT"
] | null | null | null | Theory/vektor.c | MartinTam/PA1 | 486c35574ea1d55233451f69056bd2ae955e63db | [
"MIT"
] | null | null | null | /* _____ _______ _ _
* |_ _|__ __| | | | |
* | | | |_ __ ___| |___ _____ _ __| | __ ___ ____
* | | | | '_ \ / _ \ __\ \ /\ / / _ \| '__| |/ / / __|_ /
* _| |_ | | | | | __/ |_ \ V V / (_) | | | < | (__ ... | 27.87037 | 91 | 0.6 |
1168eb8ff6f0312b886bb76d126749902e5de7ec | 18,726 | h | C | include/app_common.h | Coquinho/tizenfx-stub | 37d3f68ac20cd43800ace87c78637abd43577c01 | [
"Apache-2.0"
] | 1 | 2018-02-26T04:42:28.000Z | 2018-02-26T04:42:28.000Z | include/app_common.h | Coquinho/tizenfx-stub | 37d3f68ac20cd43800ace87c78637abd43577c01 | [
"Apache-2.0"
] | null | null | null | include/app_common.h | Coquinho/tizenfx-stub | 37d3f68ac20cd43800ace87c78637abd43577c01 | [
"Apache-2.0"
] | 4 | 2019-05-24T11:58:53.000Z | 2021-11-04T23:38:04.000Z | /*
* Copyright (c) 2017 - 2016 Samsung Electronics Co., Ltd 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
*
* Unles... | 44.269504 | 268 | 0.752804 |
f828febf7b419f8cada2702fae6cec9eca64a70c | 199 | h | C | PCCWFoundation/Model/PCCWModel.h | lizhihui0215/PCCWFoundation | 4007bd0fb65118f32e101c61a77e5047e9136796 | [
"MIT"
] | 1 | 2018-01-05T17:36:45.000Z | 2018-01-05T17:36:45.000Z | PCCWFoundation/Model/PCCWModel.h | lizhihui0215/PCCWFoundation | 4007bd0fb65118f32e101c61a77e5047e9136796 | [
"MIT"
] | null | null | null | PCCWFoundation/Model/PCCWModel.h | lizhihui0215/PCCWFoundation | 4007bd0fb65118f32e101c61a77e5047e9136796 | [
"MIT"
] | null | null | null | //
// PCCWModel.h
// PCCWFoundation
//
// Created by 李智慧 on 13/12/2016.
// Copyright © 2016 PCCW. All rights reserved.
//
#import <JSONModel/JSONModel.h>
@interface PCCWModel : JSONModel
@end
| 14.214286 | 47 | 0.678392 |
f86ca49b8417026392a09b200ee06bef1601712e | 1,740 | h | C | include/animation/aniren.h | sonich2401/SM64_Save_File_Converter | bd6876d66cbc3177b634540c7a2241e0ae8c759c | [
"MIT-0"
] | 6 | 2020-07-27T19:07:37.000Z | 2021-08-29T19:16:07.000Z | include/animation/aniren.h | sonich2401/SM64_Save_File_Converter | bd6876d66cbc3177b634540c7a2241e0ae8c759c | [
"MIT-0"
] | 2 | 2021-06-09T05:49:41.000Z | 2022-01-30T04:06:40.000Z | include/animation/aniren.h | sonich2401/SM64_Save_File_Converter | bd6876d66cbc3177b634540c7a2241e0ae8c759c | [
"MIT-0"
] | null | null | null | /*RenDev#2616 SM64SFM
Copyright (C) 2021 RenDev
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
Permission is also granted to not credit the author in any way as long as you do not take credit
for this piece of software.
THE S... | 31.636364 | 170 | 0.736782 |
507cd5cc252a1ac6b6e6d149ce02b1dc3f09b8e1 | 3,612 | h | C | services/media/framework_mojo/mojo_formatting.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | null | null | null | services/media/framework_mojo/mojo_formatting.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | null | null | null | services/media/framework_mojo/mojo_formatting.h | smklein/motown | eb4cd4f30c134eb411f6e6390ebe1b396769e2d5 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_
#define SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_FORMATTING_H_
#include "mojo/services/media/common/in... | 42.494118 | 80 | 0.700166 |
76ddc2557e559fb1dff194d668b873cf5e13b7fb | 775 | h | C | src/include/falconn/ffht/fht_header_only.h | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 1,068 | 2015-12-10T18:03:11.000Z | 2022-03-29T09:05:38.000Z | src/include/falconn/ffht/fht_header_only.h | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 108 | 2015-12-10T21:14:41.000Z | 2022-03-15T17:51:17.000Z | src/include/falconn/ffht/fht_header_only.h | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 224 | 2015-12-17T02:35:21.000Z | 2022-03-29T09:05:40.000Z | #ifndef _FHT_H_
#define _FHT_H_
#define FHT_HEADER_ONLY
#ifdef __cplusplus
extern "C" {
#endif
int fht_float(float *buf, int log_n);
int fht_double(double *buf, int log_n);
int fht_float_oop(float *in, float *out, int log_n);
int fht_double_oop(double *in, double *out, int log_n);
#ifdef __cplusplus
}
#endif
#ifdef... | 19.871795 | 60 | 0.717419 |
0a0b96574dcd1225746ddd0916a6a973af79cd6b | 1,523 | h | C | src/openvslam/optimize/internal/gnss_vertex.h | nfynt/openvslam | ad2da9636637e8e9abc3df1776cd1e4851a50e22 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 4 | 2020-11-16T07:11:13.000Z | 2021-12-31T13:05:52.000Z | src/openvslam/optimize/internal/gnss_vertex.h | nfynt/openvslam | ad2da9636637e8e9abc3df1776cd1e4851a50e22 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | src/openvslam/optimize/internal/gnss_vertex.h | nfynt/openvslam | ad2da9636637e8e9abc3df1776cd1e4851a50e22 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 2 | 2020-09-04T06:21:13.000Z | 2021-03-19T05:57:38.000Z | #ifndef OPENVSLAM_OPTIMIZER_G2O_GNSS_VERTEX_H
#define OPENVSLAM_OPTIMIZER_G2O_GNSS_VERTEX_H
#include "openvslam/type.h"
#include <g2o/core/base_vertex.h>
namespace openvslam {
namespace optimize {
namespace internal {
class gnss_vertex final : public g2o::BaseVertex<3, Vec3_t> {
public:
EIGEN_MAKE_ALIGNED_OPERA... | 20.039474 | 66 | 0.648063 |
92b453de5df2b9886bd267d9cd72bff8c08736f7 | 4,334 | c | C | ext/rbtelldus/rbtelldus.c | kaffepanna/rbtelldus | 04966f0f92ea5181472ed42f17620e7e4fb0eb1b | [
"MIT"
] | null | null | null | ext/rbtelldus/rbtelldus.c | kaffepanna/rbtelldus | 04966f0f92ea5181472ed42f17620e7e4fb0eb1b | [
"MIT"
] | null | null | null | ext/rbtelldus/rbtelldus.c | kaffepanna/rbtelldus | 04966f0f92ea5181472ed42f17620e7e4fb0eb1b | [
"MIT"
] | null | null | null | #include <ruby.h>
#include <telldus-core.h>
static VALUE rb_mTelldus;
static VALUE telldus_on(VALUE self, VALUE id)
{
int ret;
ret = tdTurnOn(FIX2INT(id));
return INT2FIX(ret);
}
static VALUE telldus_off(VALUE self, VALUE id)
{
int ret;
ret = tdTurnOff(FIX2INT(id));
return INT2FIX(ret);
}
static VALUE telldus_... | 25.952096 | 103 | 0.759345 |
25bc5e16ca98221e777caf833d9c1387e06ada4c | 182 | h | C | gamelogic/global_flags.h | vesan66/Nim_Qt | f2f262d1a6211b9e1b42742b4c4b81e5335d8aa4 | [
"MIT"
] | null | null | null | gamelogic/global_flags.h | vesan66/Nim_Qt | f2f262d1a6211b9e1b42742b4c4b81e5335d8aa4 | [
"MIT"
] | null | null | null | gamelogic/global_flags.h | vesan66/Nim_Qt | f2f262d1a6211b9e1b42742b4c4b81e5335d8aa4 | [
"MIT"
] | null | null | null | #ifndef GLOBAL_FLAGS_H
#define GLOBAL_FLAGS_H
#define _USEQT true
#define _SHOWDESTRUCTORS false
#define _SHOWCONSTRUCTORS false
#define _SHOWOTHERS false
#endif // GLOBAL_FLAGS_H
| 18.2 | 31 | 0.835165 |
976ffbc9e087a24ef624020dcfda7ee93a9cc2f6 | 924 | h | C | pinyinsearchdemo/ContactsHelper.h | handsomezhou/pinyin_search_library_cpp | a01600b2660c273fa0c1c2af69e5f339f8da0736 | [
"Apache-2.0"
] | 9 | 2016-03-31T06:55:21.000Z | 2020-10-13T13:39:02.000Z | pinyinsearchdemo/ContactsHelper.h | handsomezhou/pinyin_search_library_cpp | a01600b2660c273fa0c1c2af69e5f339f8da0736 | [
"Apache-2.0"
] | 1 | 2016-07-12T03:40:03.000Z | 2016-10-08T10:21:59.000Z | pinyinsearchdemo/ContactsHelper.h | handsomezhou/pinyin_search_library_cpp | a01600b2660c273fa0c1c2af69e5f339f8da0736 | [
"Apache-2.0"
] | 1 | 2017-01-02T05:50:01.000Z | 2017-01-02T05:50:01.000Z | #ifndef CONTACTSHELPER_H
#define CONTACTSHELPER_H
#include <QList>
#include "Contacts.h"
class ContactsHelper
{
public:
ContactsHelper();
~ContactsHelper();
static ContactsHelper* getInstance();
void loadContacts();
QList<Contacts*> *getBaseContacts();
void setBaseContacts(QList<Contacts*> *pB... | 24.972973 | 73 | 0.742424 |
1c80b9b1e3181614fa69b4e5cc43ab39f4990350 | 2,522 | h | C | plugins/newarc.ex/Modules/7z/Include/7z.File.h | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 1,256 | 2015-07-07T12:19:17.000Z | 2022-03-31T18:41:41.000Z | plugins/newarc.ex/Modules/7z/Include/7z.File.h | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 305 | 2017-11-01T18:58:50.000Z | 2022-03-22T11:07:23.000Z | plugins/newarc.ex/Modules/7z/Include/7z.File.h | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 183 | 2017-10-28T11:31:14.000Z | 2022-03-30T16:46:24.000Z | #pragma once
#include "7z.h"
class CInFile : public IInStream {
private:
HANDLE m_hFile;
int m_nRefCount;
string m_strFileName;
public:
CInFile(const TCHAR *lpFileName);
~CInFile();
bool Open();
bool Create();
void Close();
bool GetFindData(WIN32_FIND_DATA& fData);
const TCHAR *GetName();
virtual H... | 22.720721 | 113 | 0.770024 |
59ea02ef96b0baf0ae4f55dcf5bd9080718a5269 | 355 | h | C | compiler/extensions/cpp/runtime/src/zserio/pmr/Set.h | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 86 | 2018-09-06T09:30:53.000Z | 2022-03-27T01:12:36.000Z | compiler/extensions/cpp/runtime/src/zserio/pmr/Set.h | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 362 | 2018-09-04T20:21:24.000Z | 2022-03-30T15:14:38.000Z | compiler/extensions/cpp/runtime/src/zserio/pmr/Set.h | dkBrazz/zserio | 29dd8145b7d851fac682d3afe991185ea2eac318 | [
"BSD-3-Clause"
] | 20 | 2018-09-10T15:59:02.000Z | 2021-12-01T15:38:22.000Z | #ifndef ZSERIO_PMR_SET_H_INC
#define ZSERIO_PMR_SET_H_INC
#include <set>
#include "zserio/pmr/PolymorphicAllocator.h"
namespace zserio
{
namespace pmr
{
template <typename T, typename COMPARE = std::less<T>>
using set = std::set<T, COMPARE, PropagatingPolymorphicAllocator<T>>;
} // namespace pmr
} // namespace zser... | 18.684211 | 69 | 0.766197 |
ee9c8aaab2b1e905a87d3dc7a38404a0e92e2d6e | 2,903 | c | C | tests/capture/capture_concat1.c | data-man/libfsm | 90eb0e0794f4eee2e65584549104023f224fed89 | [
"BSD-2-Clause"
] | 766 | 2017-02-01T21:47:09.000Z | 2022-03-30T23:14:02.000Z | tests/capture/capture_concat1.c | data-man/libfsm | 90eb0e0794f4eee2e65584549104023f224fed89 | [
"BSD-2-Clause"
] | 174 | 2017-02-02T18:11:46.000Z | 2022-02-24T23:06:17.000Z | tests/capture/capture_concat1.c | data-man/libfsm | 90eb0e0794f4eee2e65584549104023f224fed89 | [
"BSD-2-Clause"
] | 52 | 2017-02-01T21:45:45.000Z | 2022-01-25T09:21:30.000Z | /*
* Copyright 2020 Scott Vokes
*
* See LICENCE for the full copyright terms.
*/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fsm/fsm.h>
#include <fsm/capture.h>
#include <fsm/bool.h>
#include "captest.h"
/* concat /(ab)/ and /(cde)/ */
static struct fsm *
build(unsi... | 21.664179 | 64 | 0.686876 |
2d9a050d5202ccbc8cb8ee8c06b7ed8bea9d63db | 880 | h | C | lib/nacl/NDArray.h | pcrane70/furious.js | dfd2d68ab567220f6d51f067a66f6244998bf101 | [
"MIT"
] | 77 | 2015-01-18T11:16:27.000Z | 2021-08-20T20:32:41.000Z | lib/nacl/NDArray.h | pcrane70/furious.js | dfd2d68ab567220f6d51f067a66f6244998bf101 | [
"MIT"
] | 1 | 2015-01-18T11:18:01.000Z | 2017-09-25T10:38:11.000Z | lib/nacl/NDArray.h | pcrane70/furious.js | dfd2d68ab567220f6d51f067a66f6244998bf101 | [
"MIT"
] | 13 | 2015-10-21T19:04:58.000Z | 2022-01-12T23:27:45.000Z | #pragma once
#include <stdint.h>
#include "Interfaces.h"
#include "DataType.h"
struct NDArray {
enum FJS_DataType dataType;
void* data;
uint32_t length;
uint32_t dimensions;
};
struct NDArray* FJS_NDArray_Create(uint32_t dimensions, uint32_t length, const uint32_t shape[static dimensions], enum FJS_DataType dat... | 24.444444 | 142 | 0.763636 |
eed6da66577b78d6eb4f004cc4ba141a2f27bae7 | 8,521 | h | C | Dependencies/Include/cml/vector/vector_unroller.h | prophecy/Pillar | a60b07857e66312ee94d69678b1ca8c97b1a19eb | [
"MIT"
] | 89 | 2015-12-11T12:05:02.000Z | 2022-03-10T15:07:05.000Z | Foreign/cml-1_0_2/cml/vector/vector_unroller.h | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | 4 | 2017-05-03T00:28:58.000Z | 2020-01-30T12:32:16.000Z | Foreign/cml-1_0_2/cml/vector/vector_unroller.h | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | 16 | 2017-10-29T12:11:33.000Z | 2022-03-14T04:07:13.000Z | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 Jesse Anders and Demian Nave http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------------... | 32.773077 | 78 | 0.598404 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.