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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d264e5463f22dfd62ac4add4a64f5a747e9d7729 | 529 | h | C | include/sound/simple_card.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | include/sound/simple_card.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | include/sound/simple_card.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0
*
* ASoC simple sound card support
*
* Copyright (C) 2012 Renesas Solutions Corp.
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
*/
#ifndef __SIMPLE_CARD_H
#define __SIMPLE_CARD_H
#include <sound/soc.h>
#include <sound/simple_card_utils.h>
struct asoc_simple_card_inf... | 19.592593 | 55 | 0.750473 |
9ac8f4cee0fb223473cbe72e1199e587133db20f | 359 | c | C | packages/PIPS/validation/C_syntax/keryell01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/C_syntax/keryell01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/C_syntax/keryell01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | /* Ronan Keryell: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html */
int keryell01(void) {
static int i, state = 0;
switch (state) {
case 0: /* start of function */
for (i = 0; i < 10; i++) {
state = 1; /* so we will come back to "case 1" */
return i;
case 1:; /* resume control st... | 25.642857 | 80 | 0.579387 |
2c8a9310923c2a677de58f6452e8d5b10a6e136e | 142,532 | h | C | targets/TARGET_GigaDevice/TARGET_GD32F30X/GD32F30x_standard_peripheral/Include/gd32f30x_enet.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 3,897 | 2015-09-04T13:42:23.000Z | 2022-03-30T16:53:07.000Z | targets/TARGET_GigaDevice/TARGET_GD32F30X/GD32F30x_standard_peripheral/Include/gd32f30x_enet.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 13,030 | 2015-09-17T10:30:05.000Z | 2022-03-31T13:36:44.000Z | targets/TARGET_GigaDevice/TARGET_GD32F30X/GD32F30x_standard_peripheral/Include/gd32f30x_enet.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 2,950 | 2015-09-08T19:07:05.000Z | 2022-03-31T13:37:23.000Z | /*!
\file gd32f30x_enet.h
\brief definitions for the ENET
\version 2018-10-10, V1.1.0, firmware for GD32F30x (The version is for mbed)
*/
/*
Copyright (c) 2018, GigaDevice Semiconductor Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification... | 85.144564 | 201 | 0.56327 |
d60f9e645466f119e5347957eac993a59e8fb431 | 5,545 | c | C | programs/isasladm.c | abhinavdangeti/memcached | 8c436755b84bbed2a6f4cadbc097ead8af628909 | [
"BSD-3-Clause"
] | null | null | null | programs/isasladm.c | abhinavdangeti/memcached | 8c436755b84bbed2a6f4cadbc097ead8af628909 | [
"BSD-3-Clause"
] | null | null | null | programs/isasladm.c | abhinavdangeti/memcached | 8c436755b84bbed2a6f4cadbc097ead8af628909 | [
"BSD-3-Clause"
] | null | null | null | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include <memcached/protocol_binary.h>
#include <getopt.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
static void retry_send(int sock, const void* buf, size_t len);
static void retry_r... | 25.552995 | 79 | 0.531109 |
cf36e3cf765b84dd660fdd982c4acb1533cdeebd | 427 | h | C | modules/gin_plugin/plugin/gin_noteduration.h | gorangrubic/Gin | b813c3493159f649336f584ae8eb44ae84fe00d6 | [
"BSD-3-Clause"
] | 1 | 2020-07-02T17:11:40.000Z | 2020-07-02T17:11:40.000Z | modules/gin_plugin/plugin/gin_noteduration.h | gorangrubic/Gin | b813c3493159f649336f584ae8eb44ae84fe00d6 | [
"BSD-3-Clause"
] | null | null | null | modules/gin_plugin/plugin/gin_noteduration.h | gorangrubic/Gin | b813c3493159f649336f584ae8eb44ae84fe00d6 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
/** How long is a note?
*/
class NoteDuration
{
public:
NoteDuration (const char* name = "", float bars = 0.0f, float note = 0.0f);
static const std::vector<NoteDuration>& getNoteDurations();
const String& getName() const { return name; }
float toSeconds (AudioPlayHead* playhead) con... | 21.35 | 79 | 0.64637 |
d677493cc2ccd8dafaefff9a4d2c3b1a588ed13d | 5,221 | c | C | TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/adc_8266.c | frankpolte/UBIA | f665c5462f75456a98b49fc4c19bd078a3872a75 | [
"Unlicense"
] | 17 | 2020-02-22T10:09:06.000Z | 2022-01-20T09:05:05.000Z | TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/adc_8266.c | hussein-repair-co/UBIA | f665c5462f75456a98b49fc4c19bd078a3872a75 | [
"Unlicense"
] | 2 | 2020-08-18T10:11:14.000Z | 2021-04-14T04:54:31.000Z | TlsrSrc/tl_pvvx_ble_sdk/proj/drivers/adc_8266.c | hussein-repair-co/UBIA | f665c5462f75456a98b49fc4c19bd078a3872a75 | [
"Unlicense"
] | 4 | 2020-05-07T20:41:27.000Z | 2021-12-26T13:23:58.000Z | /********************************************************************************************************
* @file adc_8266.c
*
* @brief for TLSR chips
*
* @author telink
*
* @par Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
* All rights reserved.
*
* The inform... | 24.744076 | 105 | 0.658111 |
aa7d985d901c3b7c667ba4ded744213db88ee300 | 4,045 | h | C | sysroot/usr/include/gtk-2.0/gtk/gtktexttagtable.h | 219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero | c3ad917b65b970c451148391ef1c2483593702ed | [
"MIT"
] | 1 | 2022-02-11T23:14:31.000Z | 2022-02-11T23:14:31.000Z | vendor/mono/osx/include/gtk-2.0/gtk/gtktexttagtable.h | njchensl/ASQUI | 285d42a94573457dc7772a6a1d05b06ffb9a6398 | [
"MIT"
] | null | null | null | vendor/mono/osx/include/gtk-2.0/gtk/gtktexttagtable.h | njchensl/ASQUI | 285d42a94573457dc7772a6a1d05b06ffb9a6398 | [
"MIT"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | /* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the Lice... | 39.656863 | 125 | 0.679604 |
a63f0535d241d8bf16d43a46a3e4400d6d00cc79 | 10,129 | c | C | programs/notepad/main.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | 1 | 2019-10-23T04:07:16.000Z | 2019-10-23T04:07:16.000Z | programs/notepad/main.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | null | null | null | programs/notepad/main.c | roytam1/wine-win31look | 2c8284c53a46c1309fbf62a3998538c44fcbf207 | [
"MIT"
] | null | null | null | /*
* Notepad
*
* Copyright 2000 Mike McCormack <Mike_McCormack@looksmart.com.au>
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2002 Andriy Palamarchuk
*
* This library is free software; you can redistribute it and/or
* modify it un... | 28.532394 | 110 | 0.563728 |
b752f733cfa9f7b86447e2fc411d87878ebed67f | 5,237 | h | C | fizz/crypto/aead/Aead.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 995 | 2018-08-06T10:41:15.000Z | 2022-03-16T19:49:14.000Z | fizz/crypto/aead/Aead.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 68 | 2018-08-06T16:29:06.000Z | 2022-03-11T21:20:10.000Z | fizz/crypto/aead/Aead.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 147 | 2018-08-06T16:52:49.000Z | 2022-03-14T21:25:35.000Z | /*
* Copyright (c) 2018-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.
*/
#pragma once
#include <folly/Optional.h>
#include <folly/io/IOBuf.h>
namespace fizz {
struct Traffic... | 29.421348 | 80 | 0.672331 |
a28ac56ccd9bc54d664e0d9ca8d9cccb70df2c70 | 439 | c | C | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/ata/sata_sandbox.c | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | 1,144 | 2018-12-18T09:46:47.000Z | 2022-03-07T14:51:46.000Z | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/ata/sata_sandbox.c | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | 16 | 2019-01-28T06:08:40.000Z | 2019-12-04T10:26:41.000Z | db/u-boot_u-boot_d0d07ba/src/opt/src/drivers/ata/sata_sandbox.c | kaznovac/codeql-uboot | 77ffef6ec2350dfd0d1c1a23ba5f2b375e945f1f | [
"MIT"
] | 129 | 2018-12-18T09:46:50.000Z | 2022-03-30T07:30:13.000Z | // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
int init_sata(int dev)
{
return 0;
}
int reset_sata(int dev)
{
return 0;
}
int scan_sata(int dev)
{
return 0;
}
ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, vo... | 13.30303 | 75 | 0.683371 |
2e6bd7b5ade62f26c215e52231e809a15a746e13 | 8,077 | c | C | examples/pxScene2d/external/giflib-5.1.9/gifhisto.c | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 269 | 2015-01-31T11:08:23.000Z | 2022-03-30T10:06:21.000Z | examples/pxScene2d/external/giflib-5.1.9/gifhisto.c | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/giflib-5.1.9/gifhisto.c | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | /*****************************************************************************
gifhisto - make a color histogram from image color frequencies
*****************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdbool.... | 31.306202 | 82 | 0.616442 |
c81a6e54b472a35998e9de9cfabfdb1b376a4180 | 459 | h | C | StoveFireiOSMenu/Model/SFOrderItem.h | HermC/LearnIOSHCI | 9667cbfe784c266109336e95d1e4b62ffa851b3f | [
"MIT"
] | 587 | 2015-07-01T02:34:21.000Z | 2022-03-22T07:28:03.000Z | StoveFireiOSMenu/Model/SFOrderItem.h | smile-fengling/StoveFireiOSMenu | f7372e9db110a765ab82ceb2e97fa9da23f0d47d | [
"MIT"
] | 5 | 2015-07-08T05:32:25.000Z | 2019-07-02T09:17:58.000Z | StoveFireiOSMenu/Model/SFOrderItem.h | smile-fengling/StoveFireiOSMenu | f7372e9db110a765ab82ceb2e97fa9da23f0d47d | [
"MIT"
] | 221 | 2015-07-07T15:52:52.000Z | 2022-02-12T11:01:10.000Z | //
// SFOrderItem.h
// StoveFireiOSMenu
//
// Created by Joe Shang on 10/16/14.
// Copyright (c) 2014 Shang Chuanren. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SFOrderItem : NSObject
@property (nonatomic, strong) NSNumber *itemid;
@property (nonatomic, strong) NSNumber *count;
@propert... | 21.857143 | 59 | 0.729847 |
08b8d96d2c5a7d562ca759874db74540762911d2 | 2,415 | h | C | sdk-6.5.20/include/soc/dnx/swstate/auto_generated/diagnostic/mdb_kaps_diagnostic.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dnx/swstate/auto_generated/diagnostic/mdb_kaps_diagnostic.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dnx/swstate/auto_generated/diagnostic/mdb_kaps_diagnostic.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#ifndef __MDB_KAPS_DIAGNOSTIC_H__
#define __MDB_KAPS_DIAGNOSTIC_H__
#include <soc/dnxc/swstate/dnxc_sw_state_h_in... | 35.514706 | 134 | 0.835197 |
d3c49639531a3d09bf468019ed8eb2f72d2db047 | 6,489 | h | C | mst/mtype_traits.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | 1 | 2021-01-27T06:34:01.000Z | 2021-01-27T06:34:01.000Z | mst/mtype_traits.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | 46 | 2020-11-05T23:41:37.000Z | 2021-11-12T12:22:11.000Z | mst/mtype_traits.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////////////
// //
// MST Utility Library //
// Copyright (c)2021 Martinus ... | 33.107143 | 95 | 0.625828 |
d6d50e99bd3930638cf2225c7f9a4ad235993535 | 1,024 | c | C | timer.c | matijaspanic/gui-for-arm-mcu | 713c8f3c823b4334b2df6607bf7a4094ad20882b | [
"MIT"
] | 1 | 2015-05-07T06:41:41.000Z | 2015-05-07T06:41:41.000Z | timer.c | matijaspanic/gui-for-arm-mcu | 713c8f3c823b4334b2df6607bf7a4094ad20882b | [
"MIT"
] | null | null | null | timer.c | matijaspanic/gui-for-arm-mcu | 713c8f3c823b4334b2df6607bf7a4094ad20882b | [
"MIT"
] | 1 | 2018-12-07T02:12:37.000Z | 2018-12-07T02:12:37.000Z | #include <arch/philips/LPC214X.h>
#include "main.h"
/*
timer0_reset();
timer0_start();
timer0_stop();
unsigned int t1 = timer0_get_us();
*/
void timer0_init() {
T0PR = (PCLK/1000000)-1; // Prescale - tick = 1ns
//T0MR0 = 1000; // Match register1s
//T0MCR = 0x00000002; // Restart on MR0
}
void timer0_re... | 15.058824 | 52 | 0.637695 |
83f3782e33613ec89c7c39db647db728fa0d751b | 619 | h | C | FreeGuide/FreeGuide/Class/Other/Lib/YUScreentPoper/DIVVIEW/YUDIVView.h | LeeJunhui/FreeGuide | 54f7e9beff2a6c474c942c948f4f61ed949cd884 | [
"MIT"
] | 1 | 2017-09-29T02:43:08.000Z | 2017-09-29T02:43:08.000Z | FreeGuide/FreeGuide/Class/Other/Lib/YUScreentPoper/DIVVIEW/YUDIVView.h | LeeJunhui/FreeGuide | 54f7e9beff2a6c474c942c948f4f61ed949cd884 | [
"MIT"
] | null | null | null | FreeGuide/FreeGuide/Class/Other/Lib/YUScreentPoper/DIVVIEW/YUDIVView.h | LeeJunhui/FreeGuide | 54f7e9beff2a6c474c942c948f4f61ed949cd884 | [
"MIT"
] | null | null | null | //
// YUDIVView.h
// YUANBAOAPP
//
// Created by yxy on 14-8-25.
// Copyright (c) 2014年 ATAW. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YUDIVView : UIView
{
float _marginRight;
float _marginTop;
}
@property(strong,nonatomic) NSMutableArray * viewsArray;
@property(assign,nona... | 18.757576 | 125 | 0.701131 |
eac9e11ddf24c5ea53e80de2801b2f97f13fe856 | 630 | h | C | stratum/hal/lib/barefoot/bf_pd_mock.h | msherman64/stratum | 189ebfaa9687f1d7188d2ae4768a7f0a2f10cb14 | [
"Apache-2.0"
] | 1 | 2020-07-14T09:32:38.000Z | 2020-07-14T09:32:38.000Z | stratum/hal/lib/barefoot/bf_pd_mock.h | davidgengenbach/stratum | 609e7d6af7fb3a0862799619beb8d9873422915a | [
"Apache-2.0"
] | 3 | 2020-07-09T07:37:27.000Z | 2020-08-18T10:05:26.000Z | stratum/hal/lib/barefoot/bf_pd_mock.h | davidgengenbach/stratum | 609e7d6af7fb3a0862799619beb8d9873422915a | [
"Apache-2.0"
] | 1 | 2020-09-14T09:17:58.000Z | 2020-09-14T09:17:58.000Z | // Copyright 2020-present Open Networking Founcation
// SPDX-License-Identifier: Apache-2.0
#include "gmock/gmock.h"
#include "stratum/hal/lib/barefoot/bf_pd_interface.h"
#ifndef STRATUM_HAL_LIB_BAREFOOT_BF_PD_MOCK_H_
#define STRATUM_HAL_LIB_BAREFOOT_BF_PD_MOCK_H_
namespace stratum {
namespace hal {
namespace barefo... | 25.2 | 65 | 0.777778 |
1e12317f87e25080e6c7be26790ee4e5934c6d72 | 392 | h | C | Kernel/checksum.h | mryraghi/tcpcrypt | dc22bff0f2e4505bd5cca42aa40dc508a213b315 | [
"MIT"
] | 2 | 2018-08-10T07:01:39.000Z | 2019-01-30T08:42:29.000Z | Kernel/checksum.h | mryraghi/tcpcrypt | dc22bff0f2e4505bd5cca42aa40dc508a213b315 | [
"MIT"
] | null | null | null | Kernel/checksum.h | mryraghi/tcpcrypt | dc22bff0f2e4505bd5cca42aa40dc508a213b315 | [
"MIT"
] | 2 | 2020-05-29T08:20:30.000Z | 2021-08-04T11:34:39.000Z | //
// checksum.h
// tcpcrypt
//
// Created by Romeo Bellon.
// Copyright © 2017 Romeo Bellon. All rights reserved.
//
#ifndef checksum_h
#define checksum_h
#include <sys/types.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <libkern/libkern.h>
extern void checksum_tcp (struct ip *ip, struct tcphdr *... | 18.666667 | 61 | 0.704082 |
ca9608f0972bfbf1d238e312e010b659ff260903 | 788 | c | C | dokan-sys/src/generate_version.c | dokan-dev/dokan-rust | 1e2676d2ad7d74a9747107ba0ed2f1530259da5b | [
"MIT"
] | 24 | 2020-02-10T18:11:13.000Z | 2022-02-21T16:33:43.000Z | dokan-sys/src/generate_version.c | dokan-dev/dokan-rust | 1e2676d2ad7d74a9747107ba0ed2f1530259da5b | [
"MIT"
] | 3 | 2020-02-12T16:04:23.000Z | 2022-03-05T09:56:29.000Z | dokan-sys/src/generate_version.c | dokan-dev/dokan-rust | 1e2676d2ad7d74a9747107ba0ed2f1530259da5b | [
"MIT"
] | 3 | 2020-11-26T18:02:44.000Z | 2021-12-03T21:57:09.000Z | #include <stdio.h>
#include "dokan.h"
int main() {
FILE *version_rs = fopen("version.rs", "w");
if (version_rs == NULL) return 1;
fprintf(version_rs, "pub const DOKAN_VERSION: u32 = %d;\n", DOKAN_VERSION);
fprintf(version_rs, "pub const DOKAN_MINIMUM_COMPATIBLE_VERSION: u32 = %d;\n", DOKAN_MINIMUM_COMPATIBLE_VERSI... | 37.52381 | 114 | 0.711929 |
379f802d4028341509064307617cd330fd279874 | 1,608 | h | C | aws_lambda/pytorch/source/torch/lib/include/torch/csrc/api/include/torch/nn/modules/linear.h | YevhenVieskov/ML-DL-in-production | 03839abcb93a49d4f05c43aa4e446a040027cdb0 | [
"MIT"
] | 4 | 2020-09-17T11:50:17.000Z | 2021-08-25T06:14:10.000Z | aws_lambda/pytorch/source/torch/lib/include/torch/csrc/api/include/torch/nn/modules/linear.h | YevhenVieskov/ML-DL-in-production | 03839abcb93a49d4f05c43aa4e446a040027cdb0 | [
"MIT"
] | null | null | null | aws_lambda/pytorch/source/torch/lib/include/torch/csrc/api/include/torch/nn/modules/linear.h | YevhenVieskov/ML-DL-in-production | 03839abcb93a49d4f05c43aa4e446a040027cdb0 | [
"MIT"
] | 6 | 2020-10-16T13:28:31.000Z | 2021-08-25T12:08:34.000Z | #pragma once
#include <torch/nn/cloneable.h>
#include <torch/nn/module.h>
#include <torch/nn/pimpl.h>
#include <torch/types.h>
#include <cstddef>
#include <vector>
namespace torch {
namespace nn {
/// Options for the `Linear` module.
struct TORCH_API LinearOptions {
LinearOptions(int64_t in, int64_t out);
/// Th... | 29.236364 | 80 | 0.725124 |
9b35f043c084bad6ffbf8518691430882b62979b | 378 | h | C | pentago/data/compress.h | girving/pentago-learn | b28399aed8a77152786e97e62ee3e3a8c384af2a | [
"BSD-3-Clause"
] | 41 | 2015-01-25T14:37:39.000Z | 2022-02-23T16:29:18.000Z | pentago/data/compress.h | girving/pentago-learn | b28399aed8a77152786e97e62ee3e3a8c384af2a | [
"BSD-3-Clause"
] | 1 | 2019-07-12T22:35:53.000Z | 2019-07-12T22:35:53.000Z | pentago/data/compress.h | girving/pentago-learn | b28399aed8a77152786e97e62ee3e3a8c384af2a | [
"BSD-3-Clause"
] | 2 | 2015-05-06T11:04:40.000Z | 2017-04-18T00:22:11.000Z | // Unified interface to compression libraries
#pragma once
#include "pentago/utility/array.h"
#include "pentago/utility/thread.h"
namespace pentago {
Array<uint8_t> compress(RawArray<const uint8_t> data, int level, event_t event);
Array<uint8_t> decompress(RawArray<const uint8_t> compressed, size_t uncompressed_size,... | 27 | 103 | 0.796296 |
5cf1cf732df9255d50ee8a9ae924f029c1de1434 | 2,417 | h | C | CRAB/journal.h | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 11 | 2020-08-04T08:37:46.000Z | 2022-03-31T22:35:15.000Z | CRAB/journal.h | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 1 | 2020-12-16T16:51:52.000Z | 2020-12-18T06:35:38.000Z | Unrest-iOS/journal.h | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 7 | 2020-08-04T09:34:20.000Z | 2021-09-11T03:00:16.000Z | #pragma once
#include "common_header.h"
#include "ImageManager.h"
#include "questmenu.h"
#include "ImageData.h"
#include "StateButton.h"
#define JE_CUR_NAME "cur"
#define JE_DONE_NAME "done"
#define JE_PEOPLE_NAME "people"
#define JE_LOCATION_NAME "location"
#define JE_HISTORY_NAME "history"
namespace pyrodactyl
{
... | 26.56044 | 115 | 0.703765 |
656a574fcdc7c0252202c79f02b6cee0b3dac933 | 2,562 | h | C | include/graphics.h | clbr/libdragon | f291303207b6ec4ff4ce842104665ecfb56555c8 | [
"Unlicense"
] | 28 | 2017-09-08T19:28:51.000Z | 2021-11-25T01:50:59.000Z | include/graphics.h | clbr/libdragon | f291303207b6ec4ff4ce842104665ecfb56555c8 | [
"Unlicense"
] | 9 | 2017-09-09T13:51:57.000Z | 2020-02-26T13:13:09.000Z | include/graphics.h | clbr/libdragon | f291303207b6ec4ff4ce842104665ecfb56555c8 | [
"Unlicense"
] | 6 | 2017-09-10T06:35:38.000Z | 2020-05-24T10:44:09.000Z | /**
* @file graphics.h
* @brief 2D Graphics
* @ingroup graphics
*/
#ifndef __LIBDRAGON_GRAPHICS_H
#define __LIBDRAGON_GRAPHICS_H
#include "display.h"
/**
* @addtogroup graphics
* @{
*/
/** @brief Generic color structure */
typedef struct
{
/** @brief Red component */
uint8_t r;
/** @brief Green co... | 30.5 | 109 | 0.704137 |
e767dbe214312bb6793ee3322f14f6e6cd4af812 | 15,548 | c | C | port/fsdev/usb_dc_fsdev.c | sakumisu/usb_stack | 43005a1b89c9b10a8b6589b0fd6ebf206aef0c03 | [
"Apache-2.0"
] | 63 | 2021-09-28T06:34:53.000Z | 2022-01-31T11:34:52.000Z | port/fsdev/usb_dc_fsdev.c | sakumisue/usb_stack | 43005a1b89c9b10a8b6589b0fd6ebf206aef0c03 | [
"Apache-2.0"
] | 9 | 2021-11-20T05:45:19.000Z | 2022-02-01T14:57:42.000Z | port/fsdev/usb_dc_fsdev.c | sakumisu/usb_stack | 43005a1b89c9b10a8b6589b0fd6ebf206aef0c03 | [
"Apache-2.0"
] | 8 | 2021-09-28T06:34:47.000Z | 2022-01-31T11:34:53.000Z | #include "usbd_core.h"
#include "usb_fsdev_reg.h"
#ifndef USBD_IRQHandler
#define USBD_IRQHandler USB_LP_CAN1_RX0_IRQHandler //use actual usb irq name instead
#endif
#ifndef USB_NUM_BIDIR_ENDPOINTS
#define USB_NUM_BIDIR_ENDPOINTS 8
#endif
#ifndef USB_RAM_SIZE
#define USB_RAM_SIZE 512
#endif
/* USB device FS */
#def... | 30.249027 | 103 | 0.602071 |
b7929eb5af39302a39d7b5664919c91e1284d6c4 | 2,952 | h | C | assignment-client/src/scripts/EntityScriptServer.h | Penguin-Guru/vircadia | 021268696c73f699364fa93f5d6db03e6b1b8426 | [
"Apache-2.0"
] | 272 | 2021-01-07T03:06:08.000Z | 2022-03-25T03:54:07.000Z | assignment-client/src/scripts/EntityScriptServer.h | Penguin-Guru/vircadia | 021268696c73f699364fa93f5d6db03e6b1b8426 | [
"Apache-2.0"
] | 1,021 | 2020-12-12T02:33:32.000Z | 2022-03-31T23:36:37.000Z | assignment-client/src/scripts/EntityScriptServer.h | Penguin-Guru/vircadia | 021268696c73f699364fa93f5d6db03e6b1b8426 | [
"Apache-2.0"
] | 77 | 2020-12-15T06:59:34.000Z | 2022-03-23T22:18:04.000Z | //
// EntityScriptServer.h
// assignment-client/src/scripts
//
// Created by Clément Brisset on 1/5/17.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_EntityScri... | 30.75 | 117 | 0.78252 |
b7a53a690d87496b2661f5b839c6601450fe0971 | 18,482 | c | C | unit-test/coveragetest/coveragetest_sample_app.c | ejtimmon/sample_app | b95629216ae8cda3b86332f81bb515743fedcede | [
"Apache-2.0"
] | null | null | null | unit-test/coveragetest/coveragetest_sample_app.c | ejtimmon/sample_app | b95629216ae8cda3b86332f81bb515743fedcede | [
"Apache-2.0"
] | null | null | null | unit-test/coveragetest/coveragetest_sample_app.c | ejtimmon/sample_app | b95629216ae8cda3b86332f81bb515743fedcede | [
"Apache-2.0"
] | null | null | null | /*
** GSC-18128-1, "Core Flight Executive Version 6.7"
**
** Copyright (c) 2006-2019 United States Government as represented by
** the Administrator of the National Aeronautics and Space Administration.
** All Rights Reserved.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not us... | 29.5712 | 88 | 0.683205 |
b7b81747c8dd47966fe0ea6d3ef40815cccf611a | 477 | h | C | bwt.h | cifkao/bis | 2918044e836afbace77e11f9e1a5ffccf94974b2 | [
"MIT"
] | null | null | null | bwt.h | cifkao/bis | 2918044e836afbace77e11f9e1a5ffccf94974b2 | [
"MIT"
] | null | null | null | bwt.h | cifkao/bis | 2918044e836afbace77e11f9e1a5ffccf94974b2 | [
"MIT"
] | null | null | null | #ifndef BWT_H
#define BWT_H
#include "util.h"
/* Apply the Burrows-Wheeler transform to the data, writing the result
* to the output array. The length of the output array must be length+1.
*/
void bwt(symbol *data, symbol *output, size_t length);
/* Apply the inverse Burrows-Wheeler transform to the data, writing ... | 26.5 | 72 | 0.735849 |
2e857604e3802c36c73049780add47fdc7474e43 | 7,968 | c | C | usr/src/uts/sun4u/opl/io/pcicmu/pcmu_pbm.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/sun4u/opl/io/pcicmu/pcmu_pbm.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/sun4u/opl/io/pcicmu/pcmu_pbm.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | 27.475862 | 72 | 0.728414 |
2ee4ff08d74e515b3a6487ed40ef6a08a24368ea | 18,259 | h | C | himan-lib/include/info.h | fmidev/himan | 481e0cf9a3d15c900e07d08cf7e22de1c50a6823 | [
"MIT"
] | 18 | 2017-04-20T18:51:41.000Z | 2022-03-23T21:12:49.000Z | himan-lib/include/info.h | fmidev/himan | 481e0cf9a3d15c900e07d08cf7e22de1c50a6823 | [
"MIT"
] | 5 | 2018-07-05T02:15:56.000Z | 2021-06-01T09:36:51.000Z | himan-lib/include/info.h | fmidev/himan | 481e0cf9a3d15c900e07d08cf7e22de1c50a6823 | [
"MIT"
] | 2 | 2020-02-18T06:32:53.000Z | 2021-03-29T15:17:09.000Z | /**
* @file info.h
*
* @brief Define metadata structures requred to calculate and store data
*
*/
#ifndef INFO_H
#define INFO_H
#include "forecast_time.h"
#include "forecast_type.h"
#include "grid.h"
#include "himan_common.h"
#include "lambert_conformal_grid.h"
#include "latitude_longitude_grid.h"
#include "leve... | 19.570204 | 109 | 0.680979 |
c89d355ad2ede4067a46fcb867d356b7ebc7011d | 10,779 | c | C | smilelib/src/platform/windows/ansi-console.c | seanofw/smile | 3bc8807513cdb54053134fe2c79c5bf077aa026d | [
"Apache-2.0"
] | 15 | 2016-05-27T14:30:28.000Z | 2020-12-09T09:14:18.000Z | smilelib/src/platform/windows/ansi-console.c | seanofw/smile | 3bc8807513cdb54053134fe2c79c5bf077aa026d | [
"Apache-2.0"
] | null | null | null | smilelib/src/platform/windows/ansi-console.c | seanofw/smile | 3bc8807513cdb54053134fe2c79c5bf077aa026d | [
"Apache-2.0"
] | 4 | 2016-01-17T03:52:21.000Z | 2019-02-06T19:24:33.000Z | // This code is based on Yasuhiro Matsumoto's (mattn's) "ansicolor-w32.c" library,
// found at https://github.com/mattn/ansicolor-w32.c , heavily refactored and
// with lots of additional functionality.
//
// The original is covered under the MIT open-source license, and unlike the rest
// of SmileLib this file is cove... | 23.230603 | 130 | 0.66175 |
08906a1e01b3f3b16e177471ecb571432204fba9 | 1,653 | h | C | rtt/clinterface/resultstoragearg.h | ph4r05/randomness-testing-toolkit | de3000c7bb467852c3444755a7d84cfe8ff90497 | [
"MIT"
] | 16 | 2016-11-09T15:45:52.000Z | 2021-03-05T13:52:24.000Z | rtt/clinterface/resultstoragearg.h | DalavanCloud/randomness-testing-toolkit | 62dd577ed872961d472c9b234e605ff79cdee5e3 | [
"MIT"
] | 36 | 2015-10-13T19:22:57.000Z | 2020-05-12T16:23:55.000Z | rtt/clinterface/resultstoragearg.h | DalavanCloud/randomness-testing-toolkit | 62dd577ed872961d472c9b234e605ff79cdee5e3 | [
"MIT"
] | 4 | 2016-08-21T00:37:01.000Z | 2022-02-10T16:06:41.000Z | #ifndef RTT_CLINTERFACE_RESULTSTORAGEARG_H
#define RTT_CLINTERFACE_RESULTSTORAGEARG_H
#include <string>
#include <istream>
#include <ostream>
#include "rtt/constants.h"
#include "rtt/bugexception.h"
namespace rtt {
namespace clinterface {
/**
* @brief The ResultStorageArg class Stores information about the chosen ... | 23.28169 | 87 | 0.68542 |
08e9a939db24f1c8b1a7a33a1ba48a6bf25a4eda | 7,246 | h | C | src/Font5x7Fixed.h | DutchMaker/LilyGo-ePaper | ec2270917c3059556fc1dd0cda237ba7c721d49d | [
"MIT"
] | null | null | null | src/Font5x7Fixed.h | DutchMaker/LilyGo-ePaper | ec2270917c3059556fc1dd0cda237ba7c721d49d | [
"MIT"
] | null | null | null | src/Font5x7Fixed.h | DutchMaker/LilyGo-ePaper | ec2270917c3059556fc1dd0cda237ba7c721d49d | [
"MIT"
] | null | null | null | /**
** 5x7 font
*
*
* Author Rob Jennings
*/
const uint8_t Font5x7FixedBitmaps[] PROGMEM = {
0xFA, 0xB4, 0x52, 0xBE, 0xAF, 0xA9, 0x40, 0x23, 0xE8, 0xE2, 0xF8, 0x80,
0xC6, 0x44, 0x44, 0x4C, 0x60, 0x64, 0xA8, 0x8A, 0xC9, 0xA0, 0xD8, 0x00,
0x6A, 0xA4, 0x00, 0x95, 0x58, 0x00, 0x25, 0x5D, 0xF7, 0x54, 0x80, ... | 50.671329 | 74 | 0.33867 |
6485fff364b4f3cf0eddc91d7665e41070f1f541 | 1,286 | h | C | cpp/platform/impl/g3/pipe.h | eric100lin/nearby | 8bdc61a10f14ea47acc9a2c2943d29593b371f72 | [
"Apache-2.0"
] | 106 | 2020-06-02T03:38:57.000Z | 2021-10-07T09:07:09.000Z | cpp/platform/impl/g3/pipe.h | eric100lin/nearby | 8bdc61a10f14ea47acc9a2c2943d29593b371f72 | [
"Apache-2.0"
] | 51 | 2020-09-24T22:20:10.000Z | 2021-10-11T22:29:59.000Z | cpp/platform/impl/g3/pipe.h | eric100lin/nearby | 8bdc61a10f14ea47acc9a2c2943d29593b371f72 | [
"Apache-2.0"
] | 36 | 2020-07-17T10:17:40.000Z | 2021-10-04T00:49:38.000Z | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 28.577778 | 75 | 0.72084 |
83ed73e33c9f6b137c557d29e0eb14d170eeeaf1 | 4,469 | h | C | src/main/include/docscript/generator/generator.h | solosTec/docScript | 0c6688fa1ea5ae5ceaae50f17f5360d84b9d0d7e | [
"MIT"
] | null | null | null | src/main/include/docscript/generator/generator.h | solosTec/docScript | 0c6688fa1ea5ae5ceaae50f17f5360d84b9d0d7e | [
"MIT"
] | 1 | 2020-04-30T06:15:10.000Z | 2020-04-30T10:53:48.000Z | src/main/include/docscript/generator/generator.h | solosTec/docScript | 0c6688fa1ea5ae5ceaae50f17f5360d84b9d0d7e | [
"MIT"
] | 1 | 2021-07-28T08:00:59.000Z | 2021-07-28T08:00:59.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Sylko Olzscher
*
*/
#ifndef DOCSCRIPT_GENERATOR_H
#define DOCSCRIPT_GENERATOR_H
#include <docscript/generator/numbering.h>
#include <cyng/intrinsics/sets.h>
#include <cyng/vm/controller.h>
#include <cyng/async/scheduler.h>
#include <cyng/io/is... | 25.83237 | 79 | 0.662564 |
eafd24f41abd8ebc4fff5101095c8309f80d1e63 | 3,071 | h | C | macOS/10.13/AppKit.framework/NSMorphingDragImageController.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | macOS/10.13/AppKit.framework/NSMorphingDragImageController.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | macOS/10.13/AppKit.framework/NSMorphingDragImageController.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
*/
@interface NSMorphingDragImageController : NSObject <NSTearOffTabWindowDelegate> {
BOOL _dragDone;
NSMorphingDragImageView * _dragImageView;
NSTabBarItem * _dragItem;
<NSMorphingDragImageControll... | 36.559524 | 219 | 0.753826 |
c152efd5f950ebbf5f1c68b8f35446d9677434cf | 18,868 | h | C | S3DWrapper8/d3d8shader.h | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | S3DWrapper8/d3d8shader.h | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | S3DWrapper8/d3d8shader.h | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 3 | 2021-08-16T00:21:08.000Z | 2022-02-23T19:19:36.000Z | /*==========================================================================;
*
* Copyright (C) Microsoft Corporation. All Rights Reserved.
*
* File: d3d8types.h
* Content: Direct3D capabilities include file
*
***************************************************************************/
#ifndef _D3D... | 38.117172 | 464 | 0.712317 |
1e1d96525ac78d0be4f1d4203a5d77e83fb19c92 | 1,785 | c | C | src/libguac/timestamp.c | MT4SoftwareStudio/guacamole-server | 642215760264f7a59a0b7b3d5e4572a5b0e8aeea | [
"MIT"
] | 2 | 2015-03-30T02:31:41.000Z | 2017-09-06T11:08:38.000Z | src/libguac/timestamp.c | MT4SoftwareStudio/guacamole-server | 642215760264f7a59a0b7b3d5e4572a5b0e8aeea | [
"MIT"
] | null | null | null | src/libguac/timestamp.c | MT4SoftwareStudio/guacamole-server | 642215760264f7a59a0b7b3d5e4572a5b0e8aeea | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2013 Glyptodon LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | 30.254237 | 80 | 0.735014 |
b31552ae6519e4f3c46c7c2d83b2cfc78f82206d | 2,406 | c | C | test/maze_runner/maze_runner_test.c | borisskert/c-katas | 1bd5726fe5041226e095cf0a7ffc09ed23572746 | [
"MIT"
] | null | null | null | test/maze_runner/maze_runner_test.c | borisskert/c-katas | 1bd5726fe5041226e095cf0a7ffc09ed23572746 | [
"MIT"
] | null | null | null | test/maze_runner/maze_runner_test.c | borisskert/c-katas | 1bd5726fe5041226e095cf0a7ffc09ed23572746 | [
"MIT"
] | null | null | null | #include <criterion/criterion.h>
#include <criterion/new/assert.h>
char *maze_runner(const int *maze, size_t n, const char *directions);
static void tester(const int *maze, size_t n, const char *directions, char *outcome);
Test(Maze_Runner_Tests, should_pass_all_the_tests_provided) {
#define N 7
const int maze... | 35.382353 | 85 | 0.435993 |
6c8d08b1e2a51740eb9b83fe3c7cf1da5fe8e82d | 8,598 | c | C | release/src/linux/linux/arch/mips/sgi-ip27/ip27-setup.c | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | release/src/linux/linux/arch/mips/sgi-ip27/ip27-setup.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | release/src/linux/linux/arch/mips/sgi-ip27/ip27-setup.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* SGI IP27 specific setup.
*
* Copyright (C) 1999, 2000 Ralf Baechle (ralf@gnu.org)
* Copyright (C) 1999, 2000 Silcon Graphics, Inc.
*/
... | 27.208861 | 85 | 0.64736 |
14795876803f875ce434d69f0686c0f53e5d56d0 | 862 | h | C | src/CtThread/src/CtCondition.h | jxfengzi/MdnsdTest | b2392c95a4362e8278f3bdce31fc6cae5c5cabb6 | [
"MIT"
] | 1 | 2020-09-18T05:43:51.000Z | 2020-09-18T05:43:51.000Z | src/CtThread/src/CtCondition.h | jxfengzi/MdnsdTest | b2392c95a4362e8278f3bdce31fc6cae5c5cabb6 | [
"MIT"
] | null | null | null | src/CtThread/src/CtCondition.h | jxfengzi/MdnsdTest | b2392c95a4362e8278f3bdce31fc6cae5c5cabb6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2013-2015
*
* @author jxfengzi@gmail.com
* @date 2013-11-19
*
* @file CtCondition.h
*
* @remark
*
*/
#ifndef __CT_CONDITION_H__
#define __CT_CONDITION_H__
#include "ct_common.h"
#include "CtMutex.h"
CT_BEGIN_DECLS
#ifdef _WIN32
typedef HANDLE ct_cond_t;
#else /* Linux ... | 17.958333 | 47 | 0.719258 |
e7dc1acc16ac5d983b7a0206f0f5c10b7659d147 | 1,153 | h | C | Geoparse/GSNObject.h | mathewa6/GeoParse | 8be0c0ba57566f3d4367d6b5e89a634636cf959a | [
"MIT"
] | null | null | null | Geoparse/GSNObject.h | mathewa6/GeoParse | 8be0c0ba57566f3d4367d6b5e89a634636cf959a | [
"MIT"
] | null | null | null | Geoparse/GSNObject.h | mathewa6/GeoParse | 8be0c0ba57566f3d4367d6b5e89a634636cf959a | [
"MIT"
] | null | null | null | //
// GSNObject.h
// JSONStage
//
// Created by Adi Mathew on 6/19/14.
// Copyright (c) 2014 RCPD. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import "GSNJSONFriendly.h"
#import "GSNGeometry.h"
#import "GSNCRSObject.h"
#import "GSNObjec... | 27.452381 | 123 | 0.735473 |
9b4712ebc0ad5ed2b5cf64d79b83551f8ebb26fe | 4,909 | c | C | drivers/pwm/pwm_pca9685.c | zephyriot/zephyr-bluetooth | b7d676d6287587cdfe9cc23d82c51f96d9338c35 | [
"Apache-2.0"
] | 2 | 2020-10-21T02:30:05.000Z | 2021-04-07T08:43:08.000Z | drivers/pwm/pwm_pca9685.c | zephyriot/zephyr-bluetooth | b7d676d6287587cdfe9cc23d82c51f96d9338c35 | [
"Apache-2.0"
] | 2 | 2020-10-08T13:53:04.000Z | 2021-01-08T15:46:59.000Z | drivers/pwm/pwm_pca9685.c | zephyriot/zephyr-bluetooth | b7d676d6287587cdfe9cc23d82c51f96d9338c35 | [
"Apache-2.0"
] | 1 | 2020-10-07T07:57:21.000Z | 2020-10-07T07:57:21.000Z | /*
* Copyright (c) 2015 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file Driver for PCA9685 I2C-based PWM driver.
*/
#include <errno.h>
#include <kernel.h>
#include <i2c.h>
#include <pwm.h>
#include "pwm_pca9685.h"
#define REG_MODE1 0x00
#define REG_MODE2 0x01
#define REG_LED_ON_... | 23.15566 | 72 | 0.69505 |
f05e63f466e255e29b249313234ef8273c846580 | 1,773 | h | C | ZJDKit/Classes/ZJD/ZJD_TableView.h | Sdfeidong/ZJDKit | 2f52944b284a1b57cb96c50612dba59e8ec19e5c | [
"MIT"
] | null | null | null | ZJDKit/Classes/ZJD/ZJD_TableView.h | Sdfeidong/ZJDKit | 2f52944b284a1b57cb96c50612dba59e8ec19e5c | [
"MIT"
] | null | null | null | ZJDKit/Classes/ZJD/ZJD_TableView.h | Sdfeidong/ZJDKit | 2f52944b284a1b57cb96c50612dba59e8ec19e5c | [
"MIT"
] | null | null | null | //
// ZJD_TableView.h
// 让UITableView响应touch事件
//
// Created by aidong on 15/5/22.
// Copyright (c) 2015年 aidong. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 我们知道UITableView没有像UIButton那样可以通过addTarget方法来监听touch事件,因此在某些场合,特别是在UITableViewCell中包含UITextField的时候,我们很有可能想通过点击UITableView的其他地方来取消UITextField的焦点... | 23.64 | 258 | 0.743373 |
f06c9230a0e827e0caea2a78d79a34de570ac2d7 | 70,827 | c | C | third_party/gst-plugins-good/ext/soup/gstsouphttpsrc.c | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 6 | 2020-09-22T18:07:15.000Z | 2021-10-21T01:34:04.000Z | third_party/gst-plugins-good/ext/soup/gstsouphttpsrc.c | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 2 | 2020-11-10T13:17:39.000Z | 2022-03-30T11:22:14.000Z | third_party/gst-plugins-good/ext/soup/gstsouphttpsrc.c | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 3 | 2020-09-26T08:40:35.000Z | 2021-10-21T01:33:56.000Z | /* GStreamer
* Copyright (C) 2007-2008 Wouter Cloetens <wouter@mind.be>
*
* 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 2 of the License, or (at your option) any... | 32.296854 | 124 | 0.690951 |
f08216d2c8f2b60be4fedf225c47e60ef94401d4 | 3,381 | c | C | kubernetes/model/extensions_v1beta1_ingress_rule.c | minerba/c | 8eb6593e55d0e5d57a2dd3153c15c9645de677bc | [
"Apache-2.0"
] | 69 | 2020-03-17T13:47:05.000Z | 2022-03-30T08:25:05.000Z | kubernetes/model/extensions_v1beta1_ingress_rule.c | minerba/c | 8eb6593e55d0e5d57a2dd3153c15c9645de677bc | [
"Apache-2.0"
] | 115 | 2020-03-17T14:53:19.000Z | 2022-03-31T11:31:30.000Z | kubernetes/model/extensions_v1beta1_ingress_rule.c | minerba/c | 8eb6593e55d0e5d57a2dd3153c15c9645de677bc | [
"Apache-2.0"
] | 28 | 2020-03-17T13:42:21.000Z | 2022-03-19T23:37:16.000Z | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "extensions_v1beta1_ingress_rule.h"
extensions_v1beta1_ingress_rule_t *extensions_v1beta1_ingress_rule_create(
char *host,
extensions_v1beta1_http_ingress_rule_value_t *http
) {
extensions_v1beta1_ingress_rule_t *extensions_v1beta1_i... | 32.2 | 133 | 0.755989 |
156702b93f1c22b1e81e6868432e9de019c5dbd7 | 2,389 | c | C | assets/heap-exploitation/house_of_spirit/house_of_spirit.c | wotwot563/new_blog | d37712bcbf19442bffb247c3fa660b208a8695c3 | [
"MIT"
] | 1 | 2021-04-06T19:09:42.000Z | 2021-04-06T19:09:42.000Z | assets/heap-exploitation/house_of_spirit/house_of_spirit.c | wotwot563/new_blog | d37712bcbf19442bffb247c3fa660b208a8695c3 | [
"MIT"
] | null | null | null | assets/heap-exploitation/house_of_spirit/house_of_spirit.c | wotwot563/new_blog | d37712bcbf19442bffb247c3fa660b208a8695c3 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
fprintf(stderr, "This file demonstrates the house of spirit attack.\n");
fprintf(stderr, "Calling malloc() once so that it sets up its memory.\n");
malloc(1);
fprintf(stderr, "We will now overwrite a pointer to point to a fake 'fastbin' regi... | 56.880952 | 340 | 0.724571 |
bb8bfe351f91fe78983912c9a05d7ee90fca5d36 | 3,478 | h | C | aws-cpp-sdk-worklink/include/aws/worklink/model/DeviceSummary.h | pixvana/aws-sdk-cpp | 7ba3f49c8a2636b48342c71e038aa09b6e47077c | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-worklink/include/aws/worklink/model/DeviceSummary.h | isubscribed/aws-sdk-cpp | 4689ffab8c5601976e73ac185f20e12a2a0fbc37 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-worklink/include/aws/worklink/model/DeviceSummary.h | isubscribed/aws-sdk-cpp | 4689ffab8c5601976e73ac185f20e12a2a0fbc37 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 28.048387 | 125 | 0.663312 |
77aad590c112cddce78ac89a1a1fd1da28b14f6b | 1,041 | h | C | PrettyOkayKit/PrettyOkayKit.h | natestedman/PrettyOkayKit | 9b053750288838442e7e18b6be72d680523bfab1 | [
"0BSD"
] | null | null | null | PrettyOkayKit/PrettyOkayKit.h | natestedman/PrettyOkayKit | 9b053750288838442e7e18b6be72d680523bfab1 | [
"0BSD"
] | null | null | null | PrettyOkayKit/PrettyOkayKit.h | natestedman/PrettyOkayKit | 9b053750288838442e7e18b6be72d680523bfab1 | [
"0BSD"
] | null | null | null | // Copyright (c) 2016, Nate Stedman <nate@natestedman.com>
//
// Permission to use, copy, modify, and/or 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" ... | 47.318182 | 80 | 0.786744 |
8b399e90da76e5572c675bb4dc8876634d98b21e | 1,477 | h | C | Examples/include/asposecpplib/net/sockets/socket_option_name.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/asposecpplib/net/sockets/socket_option_name.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/asposecpplib/net/sockets/socket_option_name.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | #pragma once
namespace System {
namespace Net {
namespace Sockets {
// Defines socket option names for the <see cref='System.Net.Sockets.Socket'/> class.
enum class SocketOptionName
{
Debug = 0x0001,
AcceptConnection = 0x0002,
ReuseAddress = 0x0004,
KeepAlive = 0x0008,
DontRoute = 0x0010,
Bro... | 24.616667 | 85 | 0.666892 |
53afa01623da7ac65e7f17b18fbfaa3f653b8541 | 768 | c | C | URI/URI_2221.c | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | URI/URI_2221.c | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | URI/URI_2221.c | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(void) {
int N;
scanf("%d", &N);
while(N--) {
int bonus, d_attact, d_defense, d_level, g_attact, g_defense, g_level, d_score, g_score;
scanf("%d", &bonus);
scanf("%d %d %d", &d_attact, &d_defense, &d_level);
scanf("%d %d %d", &g_attact, &g_defense... | 25.6 | 96 | 0.501302 |
53ffad6cf334ab596d3ec71049e202dd5840051e | 1,588 | c | C | cp/copy_file_content.c | yzhs/tlpi | 8ddea09f7c11361956bdb145e4d82080fd8eb0f9 | [
"CC0-1.0"
] | null | null | null | cp/copy_file_content.c | yzhs/tlpi | 8ddea09f7c11361956bdb145e4d82080fd8eb0f9 | [
"CC0-1.0"
] | null | null | null | cp/copy_file_content.c | yzhs/tlpi | 8ddea09f7c11361956bdb145e4d82080fd8eb0f9 | [
"CC0-1.0"
] | null | null | null | #include <err.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdbool.h>
#include <unistd.h>
enum { BUF_SIZE = 512 };
bool
is_zero(const char buf[], const size_t len)
{
for (size_t i = 0; i < len; ++i) {
if (buf[i] != 0) {
return false;
}
}
return true;
}
int
main(int argc, char *argv[])
{
if (arg... | 19.604938 | 73 | 0.581234 |
3eb829a671e3b530f38b52dd0e8de9cf5ea08c5c | 849 | h | C | core/explorer.h | jeriksson/graphserver | b853f3cecc8af00e02a04fd4e489c27527688284 | [
"BSD-3-Clause-Clear"
] | 1 | 2018-05-14T02:43:55.000Z | 2018-05-14T02:43:55.000Z | core/explorer.h | jeriksson/graphserver | b853f3cecc8af00e02a04fd4e489c27527688284 | [
"BSD-3-Clause-Clear"
] | null | null | null | core/explorer.h | jeriksson/graphserver | b853f3cecc8af00e02a04fd4e489c27527688284 | [
"BSD-3-Clause-Clear"
] | null | null | null | #ifndef EXPLORER_H
#define EXPLORER_H
#include "graph.h"
#define LAT_DISTANCE 213.5
#define LONG_DISTANCE ((187.9 + 182.3) / 2)
#define DISTANCE_RATIO (LONG_DISTANCE / LAT_DISTANCE)
#define PNG_PIXELS_HEIGHT 4000
#define PNG_PIXELS_WIDTH (PNG_PIXELS_HEIGHT * DISTANCE_RATIO)
#define LONG_EAST_BOUND 86.866
#define ... | 27.387097 | 106 | 0.783274 |
85c9e5d0c4cfcf19fd80a797d237eeb3b6a30c6e | 32,685 | h | C | inc/dg/multistep.h | gregordecristoforo/feltor | d3b7b296e6f5be3a9ff9d602d98461ed9c60033a | [
"MIT"
] | 18 | 2016-06-28T14:34:29.000Z | 2022-01-06T08:50:48.000Z | inc/dg/multistep.h | gregordecristoforo/feltor | d3b7b296e6f5be3a9ff9d602d98461ed9c60033a | [
"MIT"
] | 11 | 2017-01-18T16:06:15.000Z | 2021-02-22T19:11:42.000Z | inc/dg/multistep.h | gregordecristoforo/feltor | d3b7b296e6f5be3a9ff9d602d98461ed9c60033a | [
"MIT"
] | 12 | 2016-06-27T13:18:11.000Z | 2021-09-03T08:12:25.000Z | #pragma once
#include <map>
#include "implicit.h"
#include "runge_kutta.h"
#include "multistep_tableau.h"
//MW: if ever we want to change the SolverType at runtime (with an input parameter e.g.) make it a new parameter in the solve method (either abstract type or template like RHS)
/*! @file
@brief contains multis... | 40.907384 | 225 | 0.660701 |
85cb0a2c13ae6be4f953f9165da61271a2b2fdb7 | 368 | h | C | libraries/codeframe-master/include/utilities/HashUtilities.h | SebastianMilosz/OpenFlatland | e1c478a4ae51b0a7d2b8c942f9185fbb41a2b56f | [
"MIT"
] | 1 | 2020-04-21T10:11:15.000Z | 2020-04-21T10:11:15.000Z | libraries/codeframe-master/include/utilities/HashUtilities.h | SebastianMilosz/OpenFlatland | e1c478a4ae51b0a7d2b8c942f9185fbb41a2b56f | [
"MIT"
] | 1 | 2020-07-17T14:38:02.000Z | 2020-07-17T14:38:02.000Z | libraries/codeframe-master/include/utilities/HashUtilities.h | SebastianMilosz/OpenFlatland | e1c478a4ae51b0a7d2b8c942f9185fbb41a2b56f | [
"MIT"
] | null | null | null | #ifndef HASHUTILITIES_H
#define HASHUTILITIES_H
#include <QString>
#include <QCryptographicHash>
static QString HashString( QString string )
{
QByteArray datatext = string.toUtf8().left(1000);
QString encodedPass = QString(QCryptographicHash::hash((datatext),QCryptographicHash::Sha256));
retur... | 23 | 100 | 0.736413 |
85eac68d7c0fad9d756ec5a0888c2cc8cd7102b4 | 5,862 | c | C | src/thermodynamics/thermodynamics.c | MHBalsmeier/game_archived | 9f23a580e51fa0e96d43cf7cb254bf2ef686b005 | [
"MIT"
] | 1 | 2021-08-01T16:28:39.000Z | 2021-08-01T16:28:39.000Z | src/thermodynamics/thermodynamics.c | OpenNWP/game | 933238793fd7b9c700494dcc4e239403b066060d | [
"MIT"
] | null | null | null | src/thermodynamics/thermodynamics.c | OpenNWP/game | 933238793fd7b9c700494dcc4e239403b066060d | [
"MIT"
] | null | null | null | /*
This source file is part of the Geophysical Fluids Modeling Framework (GAME), which is released under the MIT license.
Github repository: https://github.com/OpenNWP/GAME
*/
/*
In this file, algebraic conversions and calculations of thermodynamic quantities of a moist atmosphere are collected.
indices as usual:
d: d... | 27.265116 | 163 | 0.744797 |
85127b712c21fac20ec5dfddb9b1e1789d288fb7 | 1,958 | h | C | src/TextureManager.h | LeifNode/World-Generator | f9818fb6c5d507eede76141c2687a66f090cbdc1 | [
"MIT"
] | 16 | 2015-02-12T20:56:01.000Z | 2021-05-31T21:05:41.000Z | src/TextureManager.h | LeifNode/World-Generator | f9818fb6c5d507eede76141c2687a66f090cbdc1 | [
"MIT"
] | null | null | null | src/TextureManager.h | LeifNode/World-Generator | f9818fb6c5d507eede76141c2687a66f090cbdc1 | [
"MIT"
] | 3 | 2017-02-05T15:52:34.000Z | 2018-02-09T08:51:00.000Z | //The MIT License (MIT)
//
//Copyright (c) 2014 Leif Erkenbrach
//
//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,... | 32.098361 | 79 | 0.759959 |
8bf49bacc877621f83b1aba1c9d7afbc1ee547a6 | 50 | h | C | src/qt/include/QtGui/private/qcssutil_p.h | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 46 | 2015-01-08T14:32:34.000Z | 2022-02-05T16:48:26.000Z | src/qt/include/QtGui/private/qcssutil_p.h | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 7 | 2015-01-20T14:28:12.000Z | 2017-01-18T17:21:44.000Z | src/qt/include/QtGui/private/qcssutil_p.h | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 14 | 2015-10-27T06:17:48.000Z | 2020-03-03T06:15:50.000Z | #include "../../../src/gui/painting/qcssutil_p.h"
| 25 | 49 | 0.64 |
8b8bf10437fc0f1b5013f5fca6bbe9b2463126cd | 2,794 | c | C | code/main.c | mohamedfarghaly777/INDUSTRIAL-CONVEYOR-BELT | dcb807a8d4b03eadd471897159c3d3fe62e5a2da | [
"MIT"
] | null | null | null | code/main.c | mohamedfarghaly777/INDUSTRIAL-CONVEYOR-BELT | dcb807a8d4b03eadd471897159c3d3fe62e5a2da | [
"MIT"
] | null | null | null | code/main.c | mohamedfarghaly777/INDUSTRIAL-CONVEYOR-BELT | dcb807a8d4b03eadd471897159c3d3fe62e5a2da | [
"MIT"
] | null | null | null |
#include "avr/io.h"
#include "avr/interrupt.h"
#include "LIB/STD_TYPES.h"
#include "LIB/BIT_MATH.h"
#include "DIO_int.h"
#include "ADC_int.h"
u8 wanted;
u16 u16AdVal;
float desired=0.0;
float error = 0.0;
float action;
float serror=0.0;
float deferror=0.0;
float prev_error=0.0;
float final_erro... | 14.861702 | 52 | 0.60952 |
6a27681703bea0a12921fa6bd370a11a37c7174d | 1,733 | h | C | philibs/ui/uibutton.h | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | 5 | 2015-05-12T14:48:03.000Z | 2021-07-14T13:18:16.000Z | philibs/ui/uibutton.h | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | null | null | null | philibs/ui/uibutton.h | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | 1 | 2021-04-18T07:32:43.000Z | 2021-04-18T07:32:43.000Z | /////////////////////////////////////////////////////////////////////
//
// class: button
//
/////////////////////////////////////////////////////////////////////
#ifndef uiuibutton_h
#define uiuibutton_h
/////////////////////////////////////////////////////////////////////
#include "uibase.h"
#incl... | 23.739726 | 90 | 0.457011 |
3a45245deb6cb34e7a5b63b1a5da964a42ba8575 | 307 | h | C | include/kernel_gen.h | CominLab/EPSim | ec6bf69f2992909af0c57a5792951b3ef5c1501c | [
"OLDAP-2.5"
] | null | null | null | include/kernel_gen.h | CominLab/EPSim | ec6bf69f2992909af0c57a5792951b3ef5c1501c | [
"OLDAP-2.5"
] | null | null | null | include/kernel_gen.h | CominLab/EPSim | ec6bf69f2992909af0c57a5792951b3ef5c1501c | [
"OLDAP-2.5"
] | null | null | null | #ifndef __KERNELGEN_H_INCLUDED__
#define __KERNELGEN_H_INCLUDED__
#include <vector>
class KernelGen
{
public:
std::vector<double> kernel;
double gauss_sigma;
double norm_term;
KernelGen();
KernelGen(double sigma, int lValue);
std::vector<double> &
getKernel();
};
#endif | 14.619048 | 40 | 0.693811 |
583b34e284843d0924564517dff650527422de81 | 10,930 | c | C | source/craftus/render/blockrender.c | RSDuck/Craftus3DS | 8e2505b2c0d99d182fbfa0ffc94c2dc8c070eb1d | [
"Apache-2.0"
] | 21 | 2016-08-14T17:10:00.000Z | 2022-01-10T19:43:15.000Z | source/craftus/render/blockrender.c | RSDuck/Craftus3DS | 8e2505b2c0d99d182fbfa0ffc94c2dc8c070eb1d | [
"Apache-2.0"
] | null | null | null | source/craftus/render/blockrender.c | RSDuck/Craftus3DS | 8e2505b2c0d99d182fbfa0ffc94c2dc8c070eb1d | [
"Apache-2.0"
] | null | null | null | #include "craftus/render/render.h"
#include "craftus/render/vbocache.h"
#include "craftus/world/chunkworker.h"
#include <citro3d.h>
#include <stdio.h>
#include "vec/vec.h"
const world_vertex plantmodel[] = {
// First face
// Erstes Dreieck
{{0, 0}, {0, 0, 0, 255}},
{{1, 1}, {0, 1, 0, 255}},
{{1... | 28.463542 | 147 | 0.53129 |
16719b5502cb57004a49e1ebd73d410dbe0a04ba | 1,189 | h | C | apps/shared/xy_banner_view.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,442 | 2017-08-28T19:39:45.000Z | 2022-03-30T00:56:14.000Z | apps/shared/xy_banner_view.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,321 | 2017-08-28T23:03:10.000Z | 2022-03-31T19:32:17.000Z | apps/shared/xy_banner_view.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 421 | 2017-08-28T22:02:39.000Z | 2022-03-28T20:52:21.000Z | #ifndef SHARED_XY_BANNER_VIEW_H
#define SHARED_XY_BANNER_VIEW_H
#include "banner_view.h"
#include <escher/buffer_text_view.h>
#include <escher/responder.h>
#include <escher/text_field.h>
#include <poincare/print_float.h>
namespace Shared {
class XYBannerView : public BannerView {
public:
XYBannerView(
Escher::... | 31.289474 | 96 | 0.788057 |
558eba929130b4ee0291d21e42a0f347bbb59ad2 | 297 | h | C | drivers/s390/char/hmcdrv_dev.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | drivers/s390/char/hmcdrv_dev.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | drivers/s390/char/hmcdrv_dev.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 20 | 2021-10-22T02:21:23.000Z | 2022-03-31T04:55:35.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/*
* SE/HMC Drive FTP Device
*
* Copyright IBM Corp. 2013
* Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
*/
#ifndef __HMCDRV_DEV_H__
#define __HMCDRV_DEV_H__
int hmcdrv_dev_init(void);
void hmcdrv_dev_exit(void);
#endif /* __HMCDRV_DEV_H__ */
| 18.5625 | 47 | 0.690236 |
0e3fbb5b684416a4d8a236894187e478c3e460be | 2,585 | h | C | TAO/tao/TransportCurrent/IIOP_Current_Impl.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/tao/TransportCurrent/IIOP_Current_Impl.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/tao/TransportCurrent/IIOP_Current_Impl.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | /**
* @file IIOP_Current_Impl.h
*
* @brief Provide implementation for the IIOPTraits interface
*
* $Id: IIOP_Current_Impl.h 88803 2010-02-02 11:13:27Z vzykov $
*
* @author Iliyan Jeliazkov <iliyan@ociweb.com>
*/
#ifndef IIOP_CURRENT_IMPL_H
#define IIOP_CURRENT_IMPL_H
#include /**/ "ace/pre.h"
#if !defined (A... | 23.715596 | 75 | 0.655706 |
cda31fab6210308811ea0bc4ea725c061b7fe97a | 3,317 | c | C | dataset/source/NVD/CVE_2013_0772_VULN_nsGIFDecoder2__OutputRow.c | kppw99/enVAS | 99a92411c21241f7030b3c3b697c4161aaaf852b | [
"Apache-2.0"
] | null | null | null | dataset/source/NVD/CVE_2013_0772_VULN_nsGIFDecoder2__OutputRow.c | kppw99/enVAS | 99a92411c21241f7030b3c3b697c4161aaaf852b | [
"Apache-2.0"
] | null | null | null | dataset/source/NVD/CVE_2013_0772_VULN_nsGIFDecoder2__OutputRow.c | kppw99/enVAS | 99a92411c21241f7030b3c3b697c4161aaaf852b | [
"Apache-2.0"
] | null | null | null | uint32_t CVE_2013_0772_VULN_nsGIFDecoder2::OutputRow()
{
int drow_start, drow_end;
drow_start = drow_end = mGIFStruct.irow;
/* Protect against too much image data */
if ((unsigned)drow_start >= mGIFStruct.height) {
NS_WARNING("GIF2.cpp::OutputRow - too much image data");
return 0;
}
if (!mGIFStruc... | 32.519608 | 92 | 0.60808 |
07959bbbecac8d81db1f03b3b7d2b314c270b328 | 2,598 | c | C | cmds/spells/w/_wieldskill.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 9 | 2021-07-05T15:24:54.000Z | 2022-02-25T19:44:15.000Z | cmds/spells/w/_wieldskill.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | cmds/spells/w/_wieldskill.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 10 | 2021-03-13T00:18:03.000Z | 2022-03-29T15:02:42.000Z | #include <std.h>
#include <magic.h>
inherit SPELL;
int trackera, trackerb;
void create()
{
::create();
set_spell_name("wieldskill");
set_spell_level(([ "inquisitor" : 2, "mage" : 2, "magus" : 2, "paladin" : 2, "psion" : 2 ]));
set_spell_sphere("enchantment_charm");
set_syntax("cast CLASS wieldskil... | 32.475 | 118 | 0.615089 |
35e6c7cf2ab9615523476ac4a5bd974bb1c4952f | 1,720 | h | C | Kernel/Formats/pmdaq/dsp/PMDAQFile.h | rwharton/dspsr_dsn | 135cc86c43931311424beeb5a459ba570f1f83f7 | [
"AFL-2.1"
] | null | null | null | Kernel/Formats/pmdaq/dsp/PMDAQFile.h | rwharton/dspsr_dsn | 135cc86c43931311424beeb5a459ba570f1f83f7 | [
"AFL-2.1"
] | null | null | null | Kernel/Formats/pmdaq/dsp/PMDAQFile.h | rwharton/dspsr_dsn | 135cc86c43931311424beeb5a459ba570f1f83f7 | [
"AFL-2.1"
] | null | null | null | //-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2002 by Matthew Bailes
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
#ifndef __PMDAQFile_h
#define __PMDAQFile_h
#... | 25.294118 | 113 | 0.63314 |
dbc220d2c9899534ddb88fca379d312a58a74a94 | 1,093 | h | C | platform/mcu/atsamd5x_e5x/Drivers/driver_init.h | jinlongliu/AliOS-Things | ce051172a775f987183e7aca88bb6f3b809ea7b0 | [
"Apache-2.0"
] | 4 | 2019-03-12T11:04:48.000Z | 2019-10-22T06:06:53.000Z | platform/mcu/atsamd5x_e5x/Drivers/driver_init.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 3 | 2018-12-17T13:06:46.000Z | 2018-12-28T01:40:59.000Z | platform/mcu/atsamd5x_e5x/Drivers/driver_init.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 6 | 2019-08-30T09:43:03.000Z | 2021-04-05T04:20:41.000Z | /*
* Code generated from Atmel Start.
*
* This file will be overwritten when reconfiguring your Atmel Start project.
* Please copy examples or other code you want to keep to a separate file
* to avoid losing it when reconfiguring.
*/
#ifndef DRIVER_INIT_INCLUDED
#define DRIVER_INIT_INCLUDED
#include "atmel_start... | 20.622642 | 77 | 0.778591 |
dbf648c5766b364cb88826e6b66499f4765e3d65 | 3,560 | h | C | source/Irrlicht/CImage.h | qbasa12/IrrlichtBAW | 6473f1dcd440eddaaacee9c33c782697a262f7ac | [
"Apache-2.0"
] | null | null | null | source/Irrlicht/CImage.h | qbasa12/IrrlichtBAW | 6473f1dcd440eddaaacee9c33c782697a262f7ac | [
"Apache-2.0"
] | 2 | 2019-05-20T12:28:51.000Z | 2019-05-24T10:33:41.000Z | source/Irrlicht/CImage.h | manhnt9/IrrlichtBAW | 502f2200070d8181f235294403a7de63782e9dcc | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_IMAGE_H_INCLUDED__
#define __C_IMAGE_H_INCLUDED__
#include "IImage.h"
#include "rect.h"
namespace irr
{
namespace video
{
... | 31.504425 | 154 | 0.718539 |
e05541602a7c421d201cadf020a125a7d5aba470 | 19,395 | c | C | source/src/Netty/channel/SocketChannel.c | jxfengzi/libtiny | 04147fb118b49a44ecb8d55cec411a00d1cf868b | [
"MIT"
] | 1 | 2017-12-08T03:42:23.000Z | 2017-12-08T03:42:23.000Z | source/src/Netty/channel/SocketChannel.c | jxfengzi/libtiny | 04147fb118b49a44ecb8d55cec411a00d1cf868b | [
"MIT"
] | null | null | null | source/src/Netty/channel/SocketChannel.c | jxfengzi/libtiny | 04147fb118b49a44ecb8d55cec411a00d1cf868b | [
"MIT"
] | 3 | 2019-08-21T06:40:51.000Z | 2020-06-02T11:22:20.000Z | /**
* Copyright (C) 2013-2015
*
* @author jxfengzi@gmail.com
* @date 2013-11-19
*
* @file SocketChannel.c
*
* @remark
* set tabstop=4
* set shiftwidth=4
* set expandtab
*/
#include <tiny_malloc.h>
#include <tiny_log.h>
#include <tiny_socket.h>
#include <tiny_snprintf.h>
#include "SocketC... | 24.96139 | 135 | 0.588141 |
e07098960e53291a0d5f21fc68c68ddd38364f49 | 321 | h | C | ewmh_client.h | jefbed/jbwm | bfd23e09408a666676f0a7b978f895028643b9c0 | [
"MIT"
] | 23 | 2016-01-07T12:58:39.000Z | 2022-01-24T11:55:06.000Z | ewmh_client.h | jefbed/arwm-x11 | bfd23e09408a666676f0a7b978f895028643b9c0 | [
"MIT"
] | 4 | 2016-01-11T00:24:21.000Z | 2020-03-15T03:02:29.000Z | ewmh_client.h | jefbed/arwm-x11 | bfd23e09408a666676f0a7b978f895028643b9c0 | [
"MIT"
] | 3 | 2018-11-14T19:37:19.000Z | 2021-05-13T11:51:41.000Z | // Copyright 2020, Jeffrey E. Bedard
#ifndef JBWM_EWMH_CLIENT_H
#define JBWM_EWMH_CLIENT_H
#include <X11/Xlib.h>
struct JBWMClient;
void jbwm_ewmh_handle_client_message(XClientMessageEvent * e,
struct JBWMClient * c, struct JBWMClient ** head_client,
struct JBWMClient ** current_client);
#endif//!JBWM_EWMH_CLIENT_H... | 32.1 | 61 | 0.803738 |
81be596430012cb2ac33db3247cf5693678e4eaf | 1,987 | h | C | Ano1/Prog2/trabalho03/modules.h | ivzvvv/FEUP | 673a400c71f0a92510a30d864d6911902ecbd684 | [
"Unlicense"
] | 9 | 2017-05-31T09:18:42.000Z | 2020-03-29T12:15:35.000Z | Ano1/Prog2/trabalho03/modules.h | rodzzyx/FEUP | 6668806a37b0e83810929d59de2e9af332f31842 | [
"Unlicense"
] | null | null | null | Ano1/Prog2/trabalho03/modules.h | rodzzyx/FEUP | 6668806a37b0e83810929d59de2e9af332f31842 | [
"Unlicense"
] | 17 | 2017-03-14T13:11:29.000Z | 2021-04-22T23:37:38.000Z | /*****************************************************************/
/* Trabalho pratico 3 | PROG2 | MIEEC | 2016/17 */
/*****************************************************************/
/* NAO ALTERAR ESTE FICHEIRO */
/***********************************************... | 39.74 | 75 | 0.663312 |
81dfe7851214f158a4ff6c7383d095fc2cd82695 | 6,484 | c | C | src/socket.c | mobiliodevelopment/vpn-ws | ec10c3526b115ea32775f495abd449948cc1d807 | [
"MIT"
] | null | null | null | src/socket.c | mobiliodevelopment/vpn-ws | ec10c3526b115ea32775f495abd449948cc1d807 | [
"MIT"
] | null | null | null | src/socket.c | mobiliodevelopment/vpn-ws | ec10c3526b115ea32775f495abd449948cc1d807 | [
"MIT"
] | null | null | null | #include "vpn-ws.h"
vpn_ws_fd vpn_ws_bind_ipv6(char *name) {
struct sockaddr_in6 sin6;
memset(&sin6, 0, sizeof(struct sockaddr_in6));
char *port = strrchr(name, ':');
if (!port) {
vpn_ws_error("invalid ipv6 address, must be in the form [address]:port\n");
return vpn_ws_inval... | 26.683128 | 115 | 0.601018 |
98ad1729c9e0779f4ea7b0ab974aa9643eca16ca | 273 | h | C | RSS-Catalog/RSS-Catalog/RSS-Catalog/RSSSplitViewController.h | rohanaurora/RSS-Aggregator | b22e02b2ea424b251a52584ef446fb114e4a1c09 | [
"MIT"
] | null | null | null | RSS-Catalog/RSS-Catalog/RSS-Catalog/RSSSplitViewController.h | rohanaurora/RSS-Aggregator | b22e02b2ea424b251a52584ef446fb114e4a1c09 | [
"MIT"
] | null | null | null | RSS-Catalog/RSS-Catalog/RSS-Catalog/RSSSplitViewController.h | rohanaurora/RSS-Aggregator | b22e02b2ea424b251a52584ef446fb114e4a1c09 | [
"MIT"
] | null | null | null | //
// RSSSplitViewController.h
// RSS-Catalog
//
// Created by Rohan Aurora on 4/4/15.
// Copyright (c) 2015 Rohan Aurora. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RSSSplitViewController : UISplitViewController <UISplitViewControllerDelegate>
@end
| 19.5 | 89 | 0.739927 |
a6dfe3412258ade52deb7473d14a4422fe79efa6 | 2,167 | h | C | paho.mqtt.c/src/samples/pubsub_opts.h | stratixx/MQTT_Client | a182e564d45a60042efcd3d14532d2cf11766828 | [
"MIT"
] | null | null | null | paho.mqtt.c/src/samples/pubsub_opts.h | stratixx/MQTT_Client | a182e564d45a60042efcd3d14532d2cf11766828 | [
"MIT"
] | null | null | null | paho.mqtt.c/src/samples/pubsub_opts.h | stratixx/MQTT_Client | a182e564d45a60042efcd3d14532d2cf11766828 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2012, 2018 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accom... | 24.908046 | 100 | 0.644209 |
ed816b57face2ccbae8798957594ca7dba3a91d1 | 27 | h | C | linsched-linsched-alpha/arch/cris/include/asm/spinlock.h | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | linsched-linsched-alpha/arch/cris/include/asm/spinlock.h | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | linsched-linsched-alpha/arch/cris/include/asm/spinlock.h | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | #include <arch/spinlock.h>
| 13.5 | 26 | 0.740741 |
edb872fb04cee2daed619128de055014a0d05834 | 2,897 | h | C | ios/versioned-react-native/ABI36_0_0/ReactNative/React/Fabric/ABI36_0_0RCTScheduler.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 3 | 2020-09-06T17:32:53.000Z | 2021-05-20T19:04:48.000Z | ios/versioned-react-native/ABI36_0_0/ReactNative/React/Fabric/ABI36_0_0RCTScheduler.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 16 | 2021-03-01T21:18:59.000Z | 2022-02-27T08:18:52.000Z | ios/versioned-react-native/ABI36_0_0/ReactNative/React/Fabric/ABI36_0_0RCTScheduler.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 2 | 2020-04-25T16:31:11.000Z | 2020-04-25T16:31:13.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#import <memory>
#import <ABI36_0_0React/ABI36_0_0RCTPrimitives.h>
#import <ABI36_0_0React/core/Component... | 43.238806 | 148 | 0.755609 |
54e644cbd637c48a1a2c8f4d71a0455d9ed810de | 1,613 | h | C | chrome_elf/third_party_dlls/packed_list_file.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome_elf/third_party_dlls/packed_list_file.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome_elf/third_party_dlls/packed_list_file.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // 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 CHROME_ELF_THIRD_PARTY_DLLS_PACKED_LIST_FILE_H_
#define CHROME_ELF_THIRD_PARTY_DLLS_PACKED_LIST_FILE_H_
#include <windows.h>
#include <string>
... | 29.87037 | 79 | 0.763794 |
b0e01782421dc05374f43e28f2b188daec853b38 | 277 | h | C | Example/KMTestPod/KMAppDelegate.h | kim68666343/KMTestPod | 04c960389d186cc55ffc66582cce945dd85b27f3 | [
"MIT"
] | null | null | null | Example/KMTestPod/KMAppDelegate.h | kim68666343/KMTestPod | 04c960389d186cc55ffc66582cce945dd85b27f3 | [
"MIT"
] | null | null | null | Example/KMTestPod/KMAppDelegate.h | kim68666343/KMTestPod | 04c960389d186cc55ffc66582cce945dd85b27f3 | [
"MIT"
] | null | null | null | //
// KMAppDelegate.h
// KMTestPod
//
// Created by kim68666343 on 10/16/2018.
// Copyright (c) 2018 kim68666343. All rights reserved.
//
@import UIKit;
@interface KMAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 17.3125 | 62 | 0.722022 |
b84ca9b8a4d65351f97a5a6cdf06522d85642286 | 482 | c | C | src/util/sse42.c | kasymovga/taisei | 8aad971114186b0679ac5447381c427d7319fe21 | [
"CC-BY-4.0"
] | null | null | null | src/util/sse42.c | kasymovga/taisei | 8aad971114186b0679ac5447381c427d7319fe21 | [
"CC-BY-4.0"
] | null | null | null | src/util/sse42.c | kasymovga/taisei | 8aad971114186b0679ac5447381c427d7319fe21 | [
"CC-BY-4.0"
] | null | null | null | /*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#include "taisei.h"
#include <immintrin.h>
#include "sse42.h"
ui... | 20.083333 | 71 | 0.680498 |
fc2fde2d0181f9ddecde984ea714c1799864dc4e | 10,117 | h | C | Core/Symmetry.h | TomasSirgedas/HadwigerNelsonTiling | 2862ef41a2de229eccd9854f283e5424e188f47d | [
"Unlicense"
] | null | null | null | Core/Symmetry.h | TomasSirgedas/HadwigerNelsonTiling | 2862ef41a2de229eccd9854f283e5424e188f47d | [
"Unlicense"
] | null | null | null | Core/Symmetry.h | TomasSirgedas/HadwigerNelsonTiling | 2862ef41a2de229eccd9854f283e5424e188f47d | [
"Unlicense"
] | null | null | null | #pragma once
#include "CoreMacros.h"
#include "DataTypes.h"
#include "Util.h"
#include "Json.h"
#include <vector>
#include <string>
#include <memory>
#include <unordered_map>
class IGraphSymmetry;
//struct Sector
//{
// Sector with0AtIndex( int index ) const { if ( index < 0 ) return *this; Sector ret = *this; r... | 41.979253 | 216 | 0.695957 |
f730ff01b734ef339188d5b4444742a5326217bd | 9,870 | h | C | exectime/time_example.h | dychoe80/samples | ebf3f4b69f2f2bc1c5b0d1afc10999692e5d0c0f | [
"MIT"
] | null | null | null | exectime/time_example.h | dychoe80/samples | ebf3f4b69f2f2bc1c5b0d1afc10999692e5d0c0f | [
"MIT"
] | null | null | null | exectime/time_example.h | dychoe80/samples | ebf3f4b69f2f2bc1c5b0d1afc10999692e5d0c0f | [
"MIT"
] | null | null | null | // This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of this source code package.
#pragma once
#include "ippcore.h" // ippGetCpuClocks
#pragma comment(lib, "ippcoremt.lib") // static linking to IPP core
#include <chrono> // std::chrono::steady_clock
#include <iostream>
... | 29.550898 | 135 | 0.691996 |
74723a427d07a3d7640e430e8183a27966c597fa | 623 | h | C | src/kernel/font.h | fengjixuchui/popcorn | 86b7c6b298db3ae0c00de5898908506a0fdb032d | [
"BSL-1.0"
] | null | null | null | src/kernel/font.h | fengjixuchui/popcorn | 86b7c6b298db3ae0c00de5898908506a0fdb032d | [
"BSL-1.0"
] | null | null | null | src/kernel/font.h | fengjixuchui/popcorn | 86b7c6b298db3ae0c00de5898908506a0fdb032d | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <stdint.h>
#include "kutil/coord.h"
#include "screen.h"
class font
{
public:
font(void const *data);
unsigned glyph_bytes() const { return m_size.y * ((m_size.x + 7) / 8); }
unsigned count() const { return m_count; }
unsigned width() const { return m_size.x; }
unsigned height() const { ret... | 18.323529 | 73 | 0.669342 |
de19833209f76ba33e9c146592504b542b2703c8 | 17,375 | c | C | sdk-6.5.20/src/soc/dnxf/ramon/ramon_fabric_topology.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dnxf/ramon/ramon_fabric_topology.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dnxf/ramon/ramon_fabric_topology.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*
*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
* SOC RAMON FABRIC TOPOLOGY
*/
#ifdef BSL_LOG_MODULE
#error "BSL_LOG_MODULE redefined"
#endif
#define BSL... | 33.935547 | 142 | 0.731971 |
91cfe55f9460cc0e289c8d7c89590fbb98c834ec | 901 | c | C | tests/check_add.c | Sunhick/romanCalculator | 47117f39f9fb8561151818006353ba6641d3c69e | [
"MIT"
] | null | null | null | tests/check_add.c | Sunhick/romanCalculator | 47117f39f9fb8561151818006353ba6641d3c69e | [
"MIT"
] | null | null | null | tests/check_add.c | Sunhick/romanCalculator | 47117f39f9fb8561151818006353ba6641d3c69e | [
"MIT"
] | null | null | null | /* check_add.c -- unit testcases for addition of roman numerals
*
* Copyright (C) 2017 Sunil <sunhick@gmail.com>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <check.h>
#include <stddef.h>
#include <stdio.h>
#include "rmcon... | 20.477273 | 64 | 0.605993 |
c67277a01a555eda469c16a7bed93e563492f12e | 147 | h | C | test/testErrors.h | Sothatsit/CLib | 929fdbb9fdf5448a3e6d75833cf9ed5b2394de12 | [
"MIT"
] | 1 | 2017-09-13T03:19:57.000Z | 2017-09-13T03:19:57.000Z | test/testErrors.h | Sothatsit/CLib | 929fdbb9fdf5448a3e6d75833cf9ed5b2394de12 | [
"MIT"
] | null | null | null | test/testErrors.h | Sothatsit/CLib | 929fdbb9fdf5448a3e6d75833cf9ed5b2394de12 | [
"MIT"
] | null | null | null | #ifndef __CLIB_testErrors_h
#define __CLIB_testErrors_h
/*
* Test error handling.
*/
void test_errors(int * failures, int * successes);
#endif
| 14.7 | 50 | 0.748299 |
c6c80cb6b404fa73616eef287ffb69841f6b2646 | 3,781 | h | C | src/y.tab.h | colored-dye/C-Minus-Compiler | ca4875b9a3b694d2845bf23f591aacb328f14f63 | [
"CC0-1.0"
] | null | null | null | src/y.tab.h | colored-dye/C-Minus-Compiler | ca4875b9a3b694d2845bf23f591aacb328f14f63 | [
"CC0-1.0"
] | null | null | null | src/y.tab.h | colored-dye/C-Minus-Compiler | ca4875b9a3b694d2845bf23f591aacb328f14f63 | [
"CC0-1.0"
] | null | null | null | /* A Bison parser, made by GNU Bison 3.5.1. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... | 23.63125 | 80 | 0.709072 |
4825bb11252d2c3673f6ea0cbdc1386ce96843a0 | 1,517 | c | C | DataStruct&Algorithm/C/Sort/testSort.c | kk07self/DataStruct-Algorithm | 6de99c40358bfaca79a5ce8ee3b404cb736c196f | [
"MIT"
] | null | null | null | DataStruct&Algorithm/C/Sort/testSort.c | kk07self/DataStruct-Algorithm | 6de99c40358bfaca79a5ce8ee3b404cb736c196f | [
"MIT"
] | null | null | null | DataStruct&Algorithm/C/Sort/testSort.c | kk07self/DataStruct-Algorithm | 6de99c40358bfaca79a5ce8ee3b404cb736c196f | [
"MIT"
] | null | null | null | //
// testSort.c
// C
//
// Created by K K on 2018/12/10.
// Copyright © 2018 K K. All rights reserved.
//
#include <stdio.h>
#include "testSort.h"
#include "sort.h"
void testBubbleSort(void);
void testInsertSort(void);
void testSelectionSort(void);
void testMergeSort(void);
void testQuickSort(void);
void te... | 19.960526 | 57 | 0.514832 |
429068dc29701f09376bc9cbd3974a13dc693c54 | 4,801 | h | C | include/trusted/kernelspace/kernel/drivers/tzmem_controller/imx_m4if.h | afitzek/andix-os | d043108c5d62bb075508db0341c1ef133e4e856b | [
"BSD-3-Clause"
] | null | null | null | include/trusted/kernelspace/kernel/drivers/tzmem_controller/imx_m4if.h | afitzek/andix-os | d043108c5d62bb075508db0341c1ef133e4e856b | [
"BSD-3-Clause"
] | null | null | null | include/trusted/kernelspace/kernel/drivers/tzmem_controller/imx_m4if.h | afitzek/andix-os | d043108c5d62bb075508db0341c1ef133e4e856b | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) Andreas Fitzek <andreas[dot]fitzek[at]gmail[dot]com>
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
* Redistributions of source code must retain the above
* copy... | 26.524862 | 69 | 0.73443 |
51b2459713176a207e01a12ec5771ddcd53987c0 | 2,060 | h | C | src/cxx/libsparse/libmga2d/RidNoise.h | jstarck/cosmostat | f686efe4c00073272487417da15e207a529f07e7 | [
"MIT"
] | null | null | null | src/cxx/libsparse/libmga2d/RidNoise.h | jstarck/cosmostat | f686efe4c00073272487417da15e207a529f07e7 | [
"MIT"
] | null | null | null | src/cxx/libsparse/libmga2d/RidNoise.h | jstarck/cosmostat | f686efe4c00073272487417da15e207a529f07e7 | [
"MIT"
] | null | null | null |
/******************************************************************************
** Copyright (C) 200 by CEA + Stanford university
*******************************************************************************
**
** UNIT
**
** Version: 1.0
**
** Author: J.L. Starck
**
** Date: 06/04/00
*... | 29.855072 | 114 | 0.562621 |
4e914f384e82500d72dddad5adac3a3f0d429e3b | 734 | h | C | include/Dynamic/Analysis/DynamicPointer.h | grievejia/tpa | 8a7aa4c7d41c266fcf3a5e2011ff324bcddf5816 | [
"MIT"
] | 16 | 2016-08-03T12:09:19.000Z | 2022-02-20T08:22:12.000Z | include/Dynamic/Analysis/DynamicPointer.h | grievejia/tpa | 8a7aa4c7d41c266fcf3a5e2011ff324bcddf5816 | [
"MIT"
] | 1 | 2016-12-14T08:42:19.000Z | 2016-12-21T08:21:20.000Z | include/Dynamic/Analysis/DynamicPointer.h | grievejia/tpa | 8a7aa4c7d41c266fcf3a5e2011ff324bcddf5816 | [
"MIT"
] | 6 | 2016-08-19T14:17:06.000Z | 2019-08-05T08:34:47.000Z | #pragma once
#include "Util/Hashing.h"
namespace dynamic
{
class DynamicContext;
class DynamicPointer
{
private:
const DynamicContext* ctx;
unsigned ptrId;
public:
DynamicPointer(const DynamicContext* c, unsigned p): ctx(c), ptrId(p) {}
bool operator==(const DynamicPointer& rhs) const
{
return ctx == rhs.ct... | 16.311111 | 73 | 0.69891 |
abdd6ef61c366886cc52539899227f35ef350bf3 | 8,032 | h | C | kame/kame/racoon/crypto_openssl.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 1 | 2019-10-15T06:29:32.000Z | 2019-10-15T06:29:32.000Z | kame/kame/racoon/crypto_openssl.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | null | null | null | kame/kame/racoon/crypto_openssl.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 3 | 2017-01-09T02:15:36.000Z | 2019-10-15T06:30:25.000Z | /* $KAME: crypto_openssl.h,v 1.31 2004/08/24 06:52:41 sakane Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* 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. Re... | 39.566502 | 99 | 0.748381 |
22994bb606e206acd79e79be5e55eb30380f3759 | 196 | h | C | MT_BSBDJ_Swift/MT_BSBDJ_Swift/MT_BSBDJ_Swift-Bridging-Header.h | Massare/MTBaisi-Swift | 24c240bee0df06de284399c4a9af520e0b2f3e93 | [
"Apache-2.0"
] | null | null | null | MT_BSBDJ_Swift/MT_BSBDJ_Swift/MT_BSBDJ_Swift-Bridging-Header.h | Massare/MTBaisi-Swift | 24c240bee0df06de284399c4a9af520e0b2f3e93 | [
"Apache-2.0"
] | null | null | null | MT_BSBDJ_Swift/MT_BSBDJ_Swift/MT_BSBDJ_Swift-Bridging-Header.h | Massare/MTBaisi-Swift | 24c240bee0df06de284399c4a9af520e0b2f3e93 | [
"Apache-2.0"
] | null | null | null | //
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#ifndef MT_BSBDJ_Swift_Bridging_Header_h
#define MT_BSBDJ_Swift_Bridging_Header_h
#endif | 17.818182 | 96 | 0.790816 |
39466a876872a330d5810349dee808b866fb2757 | 3,514 | c | C | terzo esercizio - traccia aereoporto.c | Coding-Teams/traccia-aereoporto---da-sistemare | aab0283a16b02d6d4231342a1101a64849fd96b3 | [
"Apache-2.0"
] | null | null | null | terzo esercizio - traccia aereoporto.c | Coding-Teams/traccia-aereoporto---da-sistemare | aab0283a16b02d6d4231342a1101a64849fd96b3 | [
"Apache-2.0"
] | null | null | null | terzo esercizio - traccia aereoporto.c | Coding-Teams/traccia-aereoporto---da-sistemare | aab0283a16b02d6d4231342a1101a64849fd96b3 | [
"Apache-2.0"
] | 1 | 2020-11-27T19:02:07.000Z | 2020-11-27T19:02:07.000Z | /*
============================================================================
Name : terzo.c
Author : piersilvio
Version :
Copyright :
Description : prova aereoporto
============================================================================
*/
#include <stdio.h>
#include <stri... | 22.525641 | 107 | 0.499715 |
827855a273ce1728ba15dd7c7f879bc69ab40610 | 345 | h | C | src/WBF_BASE/AssimpManager.h | jhs0215/google-test | 5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd | [
"MIT"
] | null | null | null | src/WBF_BASE/AssimpManager.h | jhs0215/google-test | 5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd | [
"MIT"
] | null | null | null | src/WBF_BASE/AssimpManager.h | jhs0215/google-test | 5dd6357bd1d45e11e29f51f0ecc006e5e3577bcd | [
"MIT"
] | 1 | 2019-11-25T02:03:08.000Z | 2019-11-25T02:03:08.000Z | #pragma once
#include "IFileManager.h"
#include "IFileLoader.h"
class CDocBase;
class CAssimpManager : public IFileManager
{
public:
CAssimpManager(CDocBase* pDoc);
virtual ~CAssimpManager();
public:
virtual BOOL ImportFile(const CString & strFullPath) override;
protected:
CDocBase* m_pDoc;
std::vector<IFileLo... | 17.25 | 63 | 0.771014 |
95771f536e09922f79b40ddfdb17d9722156419e | 7,268 | h | C | include/readium-sdk/ePub3/xpath_wrangler.h | bjctw/SDKLauncher-Linux-Qt | 0e3c045ffc8f4a2c7d2f052517d487651e05bd84 | [
"Unlicense"
] | null | null | null | include/readium-sdk/ePub3/xpath_wrangler.h | bjctw/SDKLauncher-Linux-Qt | 0e3c045ffc8f4a2c7d2f052517d487651e05bd84 | [
"Unlicense"
] | null | null | null | include/readium-sdk/ePub3/xpath_wrangler.h | bjctw/SDKLauncher-Linux-Qt | 0e3c045ffc8f4a2c7d2f052517d487651e05bd84 | [
"Unlicense"
] | null | null | null | //
// xpath_wrangler.h
// ePub3
//
// Created by Jim Dovey on 2012-11-29.
// Copyright (c) 2014 Readium Foundation and/or its licensees. All rights reserved.
//
// This program is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY o... | 41.295455 | 105 | 0.708998 |
bf10716aa6307e7df879575c8a83bdb96cbb9a58 | 747 | c | C | src/nanafy/nanafy-memory/src/put-nanafy.c | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null | src/nanafy/nanafy-memory/src/put-nanafy.c | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null | src/nanafy/nanafy-memory/src/put-nanafy.c | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null | #include <nanafy.h>
#include <stddef.h>
int put_nanafy (int value, nanafy_section section, nanafy *nana){
switch (put_nanafy_manually(value, section, nana)){
case NANAFY_SUCCESS:
return 0;
case NANAFY_TEXT_MEMORY_NOT_ENOUGH_MEMORY:
if (extend_nanafy_memory(1, &(nana->text_memory)) != 0){
return 1;
}... | 27.666667 | 65 | 0.708166 |
ba30e1f96f8b92b786df73a3bfc91e7ec9d2e1fe | 845 | h | C | ios/RNPhotosFramework/RNPFManager.h | DylanVann/react-native-cameraroll | 1b84764105686c0d2ea3a842caf3e1cbbd733e3c | [
"MIT"
] | null | null | null | ios/RNPhotosFramework/RNPFManager.h | DylanVann/react-native-cameraroll | 1b84764105686c0d2ea3a842caf3e1cbbd733e3c | [
"MIT"
] | null | null | null | ios/RNPhotosFramework/RNPFManager.h | DylanVann/react-native-cameraroll | 1b84764105686c0d2ea3a842caf3e1cbbd733e3c | [
"MIT"
] | null | null | null | #import <AssetsLibrary/AssetsLibrary.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTConvert.h>
#import <React/RCTBridge.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTEventEmitter.h>
#import "PHOperationResult.h"
#import "PHChangeObserver.h"
@import UIKit;
@import Photos;
typedef void (^assetOpera... | 40.238095 | 119 | 0.807101 |
be79b697b28f79ed44811f322a31cab97b928206 | 746 | c | C | src/builtin.c | JoonSoo-Park/Shell | 7127b8ab3e67b6a6006e1b7bca2bef1598f53099 | [
"MIT"
] | 1 | 2020-03-02T04:33:36.000Z | 2020-03-02T04:33:36.000Z | src/builtin.c | JoonSoo-Park/Shell | 7127b8ab3e67b6a6006e1b7bca2bef1598f53099 | [
"MIT"
] | null | null | null | src/builtin.c | JoonSoo-Park/Shell | 7127b8ab3e67b6a6006e1b7bca2bef1598f53099 | [
"MIT"
] | 1 | 2020-01-18T10:03:35.000Z | 2020-01-18T10:03:35.000Z | #include "./builtin.h"
#include <stdio.h>
#include <unistd.h>
const char* builtin_str[] = {
"cd",
"echo",
"help",
"exit"
};
int (*builtin_func[]) (char**) = {
&lsh_cd,
&lsh_echo,
&lsh_help,
&lsh_exit
};
int builtin_num()
{
return sizeof(builtin_str) / sizeof(char*);
}
int lsh_cd(char** args)
{
if (args[0]... | 13.087719 | 58 | 0.596515 |
d5bdbbda84faca306f73481bebf442f0b918040c | 6,219 | c | C | ofagent/indigo/submodules/bigcode/modules/VPI/module/src/vpi_interface_pcap.c | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | 1 | 2021-05-14T15:33:21.000Z | 2021-05-14T15:33:21.000Z | ofagent/indigo/submodules/bigcode/modules/VPI/module/src/vpi_interface_pcap.c | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | null | null | null | ofagent/indigo/submodules/bigcode/modules/VPI/module/src/vpi_interface_pcap.c | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | 2 | 2019-07-13T06:58:33.000Z | 2022-03-23T03:02:57.000Z | /****************************************************************
*
* Copyright 2013, Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* ... | 25.698347 | 79 | 0.530793 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.