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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14244e2ee8624dea6334dd6578a11ed9d4753250 | 669 | c | C | Assignment2/assigment2.c | osbaldomartinez20/CSC615 | dc3836464c6a7ced540481a827b16460cd3ad5c9 | [
"MIT"
] | null | null | null | Assignment2/assigment2.c | osbaldomartinez20/CSC615 | dc3836464c6a7ced540481a827b16460cd3ad5c9 | [
"MIT"
] | null | null | null | Assignment2/assigment2.c | osbaldomartinez20/CSC615 | dc3836464c6a7ced540481a827b16460cd3ad5c9 | [
"MIT"
] | null | null | null | /**************************************************************
* Class: CSC-615-01 Spring 2020
* Name: Osbaldo Martinez
* Student ID: 916754207
* Project: <Assignment 2 - Tapeless Ruler>
*
* File: <assigment2.c>
*
* Description: The main function helps in making an infinite loop
* to have the sensor const... | 26.76 | 91 | 0.547085 |
caedef371dbab84ca65beba93b7751253460a0a2 | 673 | h | C | BucketEngine/BucketSource/Bucket/BucketCore.h | Wyxaldir/Bucket | 2135e2bd921d5c44b3726d21c344970e7b9fb81a | [
"Apache-2.0"
] | 1 | 2019-10-25T03:17:13.000Z | 2019-10-25T03:17:13.000Z | BucketEngine/BucketSource/Bucket/BucketCore.h | Wyxaldir/Bucket | 2135e2bd921d5c44b3726d21c344970e7b9fb81a | [
"Apache-2.0"
] | null | null | null | BucketEngine/BucketSource/Bucket/BucketCore.h | Wyxaldir/Bucket | 2135e2bd921d5c44b3726d21c344970e7b9fb81a | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifdef BUCKET_PLATFORM_WINDOWS
#ifdef BUCKET_BUILD_DLL
#define BUCKET_DLL __declspec(dllexport)
#else
#define BUCKET_DLL __declspec(dllimport)
#endif
#else
#error Bucket is windows only.
#endif
#define BIT(x) (1 << x)
#ifdef BUCKET_ENABLE_ASSERTS
#define BUCKET_ASSERT(x, ...) {if(!(x)) { BUCKET_... | 28.041667 | 123 | 0.717682 |
1b56fdfd1d73126c5ed5419b6672a05bc51854ab | 241 | h | C | Source/GameService/GameFlow/Stage/GsStageMode.h | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | 3 | 2019-06-25T05:09:47.000Z | 2020-09-30T18:06:17.000Z | Source/GameService/GameFlow/Stage/GsStageMode.h | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | null | null | null | Source/GameService/GameFlow/Stage/GsStageMode.h | BaekTaehyun/T1Project | d7d98c7cfc88e57513631124c32dfee8794307db | [
"MIT"
] | 2 | 2018-10-15T08:09:16.000Z | 2020-04-07T05:25:52.000Z | #pragma once
class FGsStageMode
{
public:
enum Lobby
{
INTRO,
ASSET_DOWNLOAD,
SERVER_SELECT,
CAHRACTER_SELECT,
CHARACTER_CREATE,
CHARACTER_PREVIEW,
LOBBY_MAX,
};
enum Game
{
TOWN,
FIELD,
DUNGEON,
GAME_MAX,
};
}; | 10.041667 | 20 | 0.680498 |
8883888bfadbf982672d1e4f49faf473e9566294 | 10,506 | c | C | brutus_system/ISE/fsl_test/isim/tb_fsl_test_isim_beh.exe.sim/work/a_1103126521_0908556911.c | Noxet/embedded_bruteforce | 8a7f25874c2cd275dd530625ee768338e0bdf2fe | [
"MIT"
] | 2 | 2019-07-30T14:54:28.000Z | 2020-10-25T21:35:17.000Z | brutus_system/ISE/fsl_test/isim/tb_fsl_test_isim_beh.exe.sim/work/a_1103126521_0908556911.c | Noxet/embedded_bruteforce | 8a7f25874c2cd275dd530625ee768338e0bdf2fe | [
"MIT"
] | 1 | 2019-07-30T14:54:53.000Z | 2019-08-15T15:37:10.000Z | brutus_system/ISE/fsl_test/isim/tb_fsl_test_isim_beh.exe.sim/work/a_1103126521_0908556911.c | Noxet/embedded_bruteforce | 8a7f25874c2cd275dd530625ee768338e0bdf2fe | [
"MIT"
] | null | null | null | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | 23.608989 | 228 | 0.499905 |
bb1bc17a88d6ce1e3d24f6356f114a93cc69aaf0 | 29,926 | h | C | include/bsp430/clock.h | pabigot/bsp430 | 44ef3c7c0afb333076e0603aab3d2c0f839b0c7d | [
"BSD-3-Clause"
] | 18 | 2015-01-15T20:39:05.000Z | 2021-07-25T17:21:43.000Z | include/bsp430/clock.h | pabigot/bsp430 | 44ef3c7c0afb333076e0603aab3d2c0f839b0c7d | [
"BSD-3-Clause"
] | 1 | 2018-09-03T12:05:31.000Z | 2018-09-03T12:05:31.000Z | include/bsp430/clock.h | pabigot/bsp430 | 44ef3c7c0afb333076e0603aab3d2c0f839b0c7d | [
"BSD-3-Clause"
] | 6 | 2015-02-08T08:21:41.000Z | 2021-03-23T17:46:34.000Z | /* Copyright 2012-2014, Peter A. Bigot
*
* 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 copyright notice,
* this list of condi... | 38.415918 | 141 | 0.757936 |
bb9e509ca1c793b71c1c3d44ece4f3b6ac929345 | 213 | h | C | ZP_Base/XiangQi/XiangQi/ViewController.h | zhangpoor/MyExercise | 3b610eeb0fa95a684d273d0bb6f252c5c6d13e4b | [
"MIT"
] | null | null | null | ZP_Base/XiangQi/XiangQi/ViewController.h | zhangpoor/MyExercise | 3b610eeb0fa95a684d273d0bb6f252c5c6d13e4b | [
"MIT"
] | null | null | null | ZP_Base/XiangQi/XiangQi/ViewController.h | zhangpoor/MyExercise | 3b610eeb0fa95a684d273d0bb6f252c5c6d13e4b | [
"MIT"
] | null | null | null | //
// ViewController.h
// XiangQi
//
// Created by zhangpoor on 15/12/31.
// Copyright © 2015年 zhangpoor. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@end
| 13.3125 | 53 | 0.690141 |
eb7bc665fd8cfd1fe5e154e8c6f43b2dea1718ae | 17,654 | c | C | sha256.c | SchwarzeFalke/api_votoBlock | 63a039e163e69a7e2680e51460e64fe5f818efb1 | [
"MIT"
] | null | null | null | sha256.c | SchwarzeFalke/api_votoBlock | 63a039e163e69a7e2680e51460e64fe5f818efb1 | [
"MIT"
] | null | null | null | sha256.c | SchwarzeFalke/api_votoBlock | 63a039e163e69a7e2680e51460e64fe5f818efb1 | [
"MIT"
] | null | null | null | #include "Python.h"
#include "structmember.h"
#include "hashlib.h"
#include "pystrhex.h"
typedef unsigned char SHA_BYTE;
#if SIZEOF_INT == 4
typedef unsigned int SHA_INT32;
#else
#endif
#define SHA_BLOCKSIZE 64
#define SHA_DIGESTSIZE 32
typedef struct
{
PyObject_HEAD
SHA_INT32 digest[8]; /* Message... | 34.081081 | 79 | 0.536309 |
8d27f54d96ae5bfd15ca0714978625870b0718c7 | 4,021 | h | C | chromium/chrome/browser/ui/views/frame/browser_header_painter_ash.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/ui/views/frame/browser_header_painter_ash.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/ui/views/frame/browser_header_painter_ash.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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_FRAME_BROWSER_HEADER_PAINTER_ASH_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_HEADER_PAINTER_ASH_H_
#include "ash/fra... | 32.427419 | 79 | 0.754787 |
c4ee9db6b4701f06ea7f825bc1413702aa55f357 | 2,191 | h | C | drivers/scsi/bfa/bfa_port.h | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | 4 | 2016-07-01T04:50:02.000Z | 2021-11-14T21:29:42.000Z | drivers/scsi/bfa/bfa_port.h | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | null | null | null | drivers/scsi/bfa/bfa_port.h | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | 1 | 2020-04-03T14:00:39.000Z | 2020-04-03T14:00:39.000Z | /*
* Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | 33.19697 | 74 | 0.761296 |
a010fadff50f3ae9ddfe8e53bd0ff29746eb47da | 5,841 | c | C | bundles/deployment_admin/src/log_sync.c | reiform/celix | c1e900ea53d6ac65388bcbfc70e06d132d1df7c0 | [
"Apache-2.0"
] | 113 | 2015-03-12T12:47:40.000Z | 2022-03-28T08:47:11.000Z | bundles/deployment_admin/src/log_sync.c | reiform/celix | c1e900ea53d6ac65388bcbfc70e06d132d1df7c0 | [
"Apache-2.0"
] | 295 | 2015-10-16T12:32:07.000Z | 2022-03-26T14:48:11.000Z | bundles/deployment_admin/src/log_sync.c | reiform/celix | c1e900ea53d6ac65388bcbfc70e06d132d1df7c0 | [
"Apache-2.0"
] | 93 | 2015-09-13T14:02:04.000Z | 2022-02-14T02:19:56.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 27.682464 | 119 | 0.719226 |
12338bb88915e6b99f70223c6a04ee48452c3ac9 | 508 | h | C | Custom/Custom/Commons/Categories/NSNumber+Extension.h | ShuailongWang/MyCustom | 53cd186aaeb69b500a56c90c2d38eaf007f95e21 | [
"MIT"
] | null | null | null | Custom/Custom/Commons/Categories/NSNumber+Extension.h | ShuailongWang/MyCustom | 53cd186aaeb69b500a56c90c2d38eaf007f95e21 | [
"MIT"
] | null | null | null | Custom/Custom/Commons/Categories/NSNumber+Extension.h | ShuailongWang/MyCustom | 53cd186aaeb69b500a56c90c2d38eaf007f95e21 | [
"MIT"
] | null | null | null | //
// NSNumber+Extension.h
// RGfzzd
//
// Created by admin on 16/12/19.
// Copyright © 2016年 北京奥泰瑞格科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSNumber (Extension)
//年月日
- (NSString *)ReturnDateWithFormatter:(NSString*)format;
/**
根据秒返回年月日时分
@return NSString
*/
- (NSString... | 12.390244 | 56 | 0.661417 |
161df359bb069b560432a7b64d692913fbaf4271 | 1,406 | h | C | prom/src/prom_process_limits_t.h | edgego/prometheus-client-c | 8c22746668b7d0bf930f4bb58d52e0490713c2c8 | [
"Apache-2.0"
] | 98 | 2019-10-23T19:01:46.000Z | 2022-03-30T08:35:59.000Z | prom/src/prom_process_limits_t.h | edgego/prometheus-client-c | 8c22746668b7d0bf930f4bb58d52e0490713c2c8 | [
"Apache-2.0"
] | 41 | 2019-10-24T18:10:38.000Z | 2022-02-23T13:20:26.000Z | prom/src/prom_process_limits_t.h | edgego/prometheus-client-c | 8c22746668b7d0bf930f4bb58d52e0490713c2c8 | [
"Apache-2.0"
] | 32 | 2019-10-23T19:11:29.000Z | 2022-03-16T09:33:44.000Z | /**
* Copyright 2019-2020 DigitalOcean 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 31.954545 | 75 | 0.728307 |
e942e93a451d470393c2ecbd7355b78fd490ff87 | 2,200 | h | C | AmberFoundation/NSData+Additions.h | PedroTrujilloV/amber-framework | 80748ed5ffea564bfb59505cdaca9b366caa99b2 | [
"BSD-3-Clause"
] | 1 | 2019-01-14T03:12:01.000Z | 2019-01-14T03:12:01.000Z | AmberFoundation/NSData+Additions.h | PedroTrujilloV/amber-framework | 80748ed5ffea564bfb59505cdaca9b366caa99b2 | [
"BSD-3-Clause"
] | null | null | null | AmberFoundation/NSData+Additions.h | PedroTrujilloV/amber-framework | 80748ed5ffea564bfb59505cdaca9b366caa99b2 | [
"BSD-3-Clause"
] | null | null | null | //
// NSData+Additions.h
// Amber
//
// Created by Keith Duncan on 04/01/2007.
// Copyright 2007. All rights reserved.
//
#import <Foundation/Foundation.h>
/*!
\brief
Wrapper around the CommonCrypto hashing functions.
These data objects are unlikely to be used raw, there are a number of base conversion methods... | 27.160494 | 146 | 0.733182 |
eb2e8a959556c73a1876ee92a1e1f8b7b8285884 | 5,542 | h | C | bsp/at91sam9260/platform/gpio.h | Davidfind/rt-thread | 56f1a8af4f9e8bad0a0fdc5cea7112767267b243 | [
"Apache-2.0"
] | 10 | 2019-12-23T07:18:27.000Z | 2020-12-19T04:35:43.000Z | bsp/at91sam9260/platform/gpio.h | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 5 | 2019-02-28T10:07:03.000Z | 2019-03-11T10:40:20.000Z | bsp/at91sam9260/platform/gpio.h | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 7 | 2019-07-01T02:50:47.000Z | 2020-12-11T10:01:07.000Z | /*
* File : gpio.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the... | 38.22069 | 75 | 0.726633 |
eb32a8f19e3c44cd91b9a6fb708bf0c4fa85b539 | 11,517 | h | C | src/proc-db/tea.h | behollis/brlcad-svn-rev65072-gsoc2015 | c2e49d80e0776ea6da4358a345a04f56e0088b90 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 35 | 2015-03-11T11:51:48.000Z | 2021-07-25T16:04:49.000Z | src/proc-db/tea.h | CloudComputer/brlcad | 05952aafa27ee9df17cd900f5d8f8217ed2194af | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/proc-db/tea.h | CloudComputer/brlcad | 05952aafa27ee9df17cd900f5d8f8217ed2194af | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 19 | 2016-05-04T08:39:37.000Z | 2021-12-07T12:45:54.000Z | /* T E A . H
* BRL-CAD
*
* Copyright (c) 2004-2014 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as pub... | 28.937186 | 93 | 0.41747 |
3a72ccb22f09fcb8233130fbd3b141d547dd6b11 | 213 | h | C | Example/IndoorLocation/IndoorLocation/ViewController.h | Ubudu/IOS-IndoorLocation-SDK | 11ac0233a0f4ce28baa74bbfd1b85ce0c2ccd830 | [
"BSD-2-Clause"
] | 4 | 2015-06-23T12:47:41.000Z | 2018-05-25T22:11:23.000Z | Example/IndoorLocation/IndoorLocation/ViewController.h | Ubudu/IOS-IndoorLocation-SDK | 11ac0233a0f4ce28baa74bbfd1b85ce0c2ccd830 | [
"BSD-2-Clause"
] | 3 | 2015-08-24T08:20:21.000Z | 2018-06-20T08:53:11.000Z | Example/IndoorLocation/IndoorLocation/ViewController.h | Ubudu/IOS-IndoorLocation-SDK | 11ac0233a0f4ce28baa74bbfd1b85ce0c2ccd830 | [
"BSD-2-Clause"
] | null | null | null | //
// ViewController.h
// IndoorLocation
//
// Created by zioolek on 07/09/16.
// Copyright © 2016 ubudu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 13.3125 | 48 | 0.690141 |
5fc74f93f32ee244d308c7781d42c683b437abd3 | 3,505 | h | C | src/framework/Navi/Navi/Lib/SketchHeaders/Frame/MSMainSplitViewController.h | design-to-release/sketch-navi | a29006b37fa6b3a313041b0adc7ccb35e0cd71a8 | [
"MIT"
] | 1 | 2020-06-18T08:58:45.000Z | 2020-06-18T08:58:45.000Z | src/framework/Navi/Navi/Lib/SketchHeaders/Frame/MSMainSplitViewController.h | design-to-release/sketch-navi | a29006b37fa6b3a313041b0adc7ccb35e0cd71a8 | [
"MIT"
] | 3 | 2020-11-04T09:24:49.000Z | 2021-08-31T19:48:22.000Z | src/framework/Navi/Navi/Lib/SketchHeaders/Frame/MSMainSplitViewController.h | design-to-release/sketch-navi | a29006b37fa6b3a313041b0adc7ccb35e0cd71a8 | [
"MIT"
] | 2 | 2020-08-17T14:38:24.000Z | 2020-11-24T11:33:11.000Z | @interface MSMainSplitViewController : NSSplitViewController <NSSplitViewDelegate>
{
BOOL _inspectorVisible;
BOOL _isInVersionBrowser;
BOOL _shouldEncodeCurrentSidebarWidth;
NSWindow *_window;
// MSDocument *_document;
// BCSideBarViewController *_sidebarController;
// MSCanvasViewController *_... | 50.797101 | 139 | 0.815121 |
5550cf78b96dc591153f19bdf721abc6dab7725a | 1,745 | h | C | gloox-1.0.22/src/dataformitem.h | zhichao281/SuperWisdom | e3bd1608a7aaf9b36dc274138081cf427ba4bbfc | [
"Apache-2.0"
] | 9 | 2019-04-13T03:15:32.000Z | 2021-06-22T09:57:19.000Z | gloox-1.0.22/src/dataformitem.h | zhichao281/SuperWisdom | e3bd1608a7aaf9b36dc274138081cf427ba4bbfc | [
"Apache-2.0"
] | null | null | null | gloox-1.0.22/src/dataformitem.h | zhichao281/SuperWisdom | e3bd1608a7aaf9b36dc274138081cf427ba4bbfc | [
"Apache-2.0"
] | 8 | 2019-09-12T03:18:05.000Z | 2021-06-22T09:57:22.000Z | /*
Copyright (c) 2005-2017 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distr... | 27.698413 | 104 | 0.66533 |
1de0c25933342e9619fdb0d2024a905b999b1596 | 5,641 | h | C | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Geometry/Polygon2D.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Geometry/Polygon2D.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Geometry/Polygon2D.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | #ifndef RS_POLYGON2D_H
#define RS_POLYGON2D_H
namespace RSLib
{
/**
This is a class for representing 2-dimensional polygons in the plane.
\todo: de-templatize, make this an actual RSLib_API class with vertices of type double
*/
template<class RealType>
class rsPolygon2D
{
public:
//friend cl... | 28.634518 | 99 | 0.639426 |
3da7f1cedd0b94676938ddded3c066e9c6b4a0fa | 404 | c | C | code/src/netsys/configtests/posix_shm.c | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | code/src/netsys/configtests/posix_shm.c | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | code/src/netsys/configtests/posix_shm.c | UnixJunkie/ocamlnet | 81282279d073a85e3ed6e8b7030710ed9b7b2d02 | [
"BSD-3-Clause"
] | null | null | null | #include <fcntl.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include "caml/mlvalues.h"
#include "caml/alloc.h"
/* reminder: we return the exit code, and 0 means success */
value check(value dummy) {
int ret;
ret = shm_open("/thisFileDoesNotExist", O_RDONLY, 0);
if (ret == -1 && er... | 20.2 | 60 | 0.631188 |
3863d6b3a7dfefc0eaeec0b47852aebbf05f4bb5 | 530 | c | C | src/init/init_button.c | simlf/my_rpg | 2a5e3f36392a38d9c1e6fb12d9de9cdd770139f9 | [
"MIT"
] | 1 | 2021-05-28T12:11:31.000Z | 2021-05-28T12:11:31.000Z | src/init/init_button.c | VictorHarri-Chal/my_rpg | 6496e286e1e9713562c9d0c4d1c6bd9928ddbb11 | [
"MIT"
] | null | null | null | src/init/init_button.c | VictorHarri-Chal/my_rpg | 6496e286e1e9713562c9d0c4d1c6bd9928ddbb11 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** B-MUL-200-NAN-2-1-myrpg-simon.le-fourn
** File description:
** init_button.c
*/
#include "my.h"
#include "my_rpg.h"
#include "my_struct.h"
button_t *init_button(int x, int y, int width, int height)
{
button_t *button = malloc(sizeof(*button));
if (!button)
return (NULL)... | 23.043478 | 71 | 0.681132 |
c020d25ee6eb5922cf0d81857425443af3f8edb5 | 1,367 | h | C | util/url.h | gozfree/aquila | 23c47040d586fa2829eb0cc71f5938acc703cc47 | [
"MIT"
] | 199 | 2017-12-06T09:23:51.000Z | 2022-03-28T08:46:37.000Z | util/url.h | gozfree/aquila | 23c47040d586fa2829eb0cc71f5938acc703cc47 | [
"MIT"
] | 4 | 2019-07-24T12:33:32.000Z | 2021-12-07T11:13:39.000Z | util/url.h | gozfree/aquila | 23c47040d586fa2829eb0cc71f5938acc703cc47 | [
"MIT"
] | 65 | 2018-12-04T08:07:07.000Z | 2022-03-28T08:47:40.000Z | /******************************************************************************
* Copyright (C) 2014-2018 Zhifeng Gong <gozfree@163.com>
*
* This program 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 Foundat... | 26.288462 | 80 | 0.629115 |
c03acf5e16fe560a15c2d8058614643b1dd0e877 | 5,079 | c | C | .vim/sourceCode/glibc-2.16.0/posix/tst-mmap.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 47 | 2015-03-10T23:21:52.000Z | 2022-02-17T01:04:14.000Z | .vim/sourceCode/glibc-2.16.0/posix/tst-mmap.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 1 | 2020-06-30T18:01:37.000Z | 2020-06-30T18:01:37.000Z | .vim/sourceCode/glibc-2.16.0/posix/tst-mmap.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | #include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
int
main (void)
{
int result = 0;
FILE *fp;
size_t c;
char buf[1000];
int fd;
unsigned char *ptr;
size_t ps = sysconf (_SC_PAGESIZE);
void *mem;
/* Create a file and put some data... | 25.651515 | 101 | 0.557984 |
b896b19b943942d5780e990ae6fb9d6348833f95 | 393 | c | C | Sprint10/t05/src/mx_strstr.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | Sprint10/t05/src/mx_strstr.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | Sprint10/t05/src/mx_strstr.c | LoveNek0/UCode-Connect-Marathone | d80e0c1e6719dd5069d2a065fe529fd09a1dad40 | [
"MIT"
] | null | null | null | int mx_strncmp(const char *s1, const char *s2, int n);
char *mx_strchr(const char *str, int c);
int mx_strlen(const char *s);
char *mx_strstr(const char *s1, const char *s2) {
int offset = 0;
while (offset + mx_strlen(s2) <= mx_strlen(s1)) {
if (!mx_strncmp(s1+offset, s2, mx_strlen(s2)))
... | 23.117647 | 54 | 0.590331 |
ef90b005a16f810aa44d482f7266abf3057f1a85 | 14,474 | c | C | source/COSMOS-Fine/OM/OM_WriteObject.c | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | 6 | 2016-08-29T08:03:21.000Z | 2022-03-25T09:56:23.000Z | source/COSMOS-Fine/OM/OM_WriteObject.c | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | null | null | null | source/COSMOS-Fine/OM/OM_WriteObject.c | odysseus-oosql/ODYSSEUS-OOSQL | 49a5e32b6f73cea611dafdcc0e6767f80d4450ae | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... | 43.335329 | 107 | 0.537516 |
370ddf470bdaf697a9d19fbb38a4a13acd8a1349 | 828 | h | C | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Uno.ArgumentNullException.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Uno.ArgumentNullException.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Uno.ArgumentNullException.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | // This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/UnoCore/1.9.0/Source/Uno/Exceptions/ArgumentNullException.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.ArgumentException.h>
namespace g{namespace Uno{struct ArgumentNullException;... | 33.12 | 149 | 0.785024 |
89a4941673d26336228d7bde0a6bfed623fcbc7c | 3,039 | h | C | sdk-6.5.20/libs/sdklt/bcmlta/include/bcmlta/bcm56990_a0/bcm56990_a0_lta_bcmcfg.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlta/include/bcmlta/bcm56990_a0/bcm56990_a0_lta_bcmcfg.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlta/include/bcmlta/bcm56990_a0/bcm56990_a0_lta_bcmcfg.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /* Handlers for Device bcm56990_a0 Component bcmcfg */
/*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from Logical Table mapping files.
*
* Tool: $SDK/INTERNAL/fltg/bin/fltg
*
* Edits to this file will be lost when... | 63.3125 | 134 | 0.879237 |
8151d950189d260b002df81eea0f825e6a1a8b30 | 8,446 | h | C | ios/app/Erigo/com/google/common/collect/FluentIterable.h | kebernet/erigo | 476af345aa412909286cafb1eea508e33f4363c1 | [
"Apache-2.0"
] | 2 | 2017-07-08T16:24:03.000Z | 2017-07-08T16:56:39.000Z | ios/app/Erigo/com/google/common/collect/FluentIterable.h | kebernet/erigo | 476af345aa412909286cafb1eea508e33f4363c1 | [
"Apache-2.0"
] | null | null | null | ios/app/Erigo/com/google/common/collect/FluentIterable.h | kebernet/erigo | 476af345aa412909286cafb1eea508e33f4363c1 | [
"Apache-2.0"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Volumes/Personal/Documents/raspi-config/client-framework/build/j2oSources/com/google/common/collect/FluentIterable.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_ComGoogleCommonCollectFluentIterable")
#ifdef RESTRICT_ComGoogleCo... | 44.925532 | 280 | 0.842055 |
8187624e9b6573cbf652cb542f8675d75940261d | 727 | h | C | Card.h | ejderuby/Terminal_Klindike | d25d6469bb7dd9c9700bdcc71a16518969608939 | [
"MIT"
] | null | null | null | Card.h | ejderuby/Terminal_Klindike | d25d6469bb7dd9c9700bdcc71a16518969608939 | [
"MIT"
] | null | null | null | Card.h | ejderuby/Terminal_Klindike | d25d6469bb7dd9c9700bdcc71a16518969608939 | [
"MIT"
] | null | null | null | // Card Header File
#ifndef CARD_H
#define CARD_H
class Card{
private:
char suit;
int value;
char color;
int conceal;
Card* next;
Card* prev;
public:
Card(); // Default Constructor
~Card(); // Destructor
// Methods
void displayCard();
void assignCardFace(int index)... | 18.175 | 35 | 0.602476 |
fcbbcb5c8e1d3dd29bce4ace43fc5de425193328 | 424 | h | C | 62. Unique Paths.h | Mids/LeetCode | 589b9e40acfde6e2dde37916fc1c69a3ac481070 | [
"MIT"
] | 1 | 2021-01-05T07:54:10.000Z | 2021-01-05T07:54:10.000Z | 62. Unique Paths.h | Mids/LeetCode | 589b9e40acfde6e2dde37916fc1c69a3ac481070 | [
"MIT"
] | null | null | null | 62. Unique Paths.h | Mids/LeetCode | 589b9e40acfde6e2dde37916fc1c69a3ac481070 | [
"MIT"
] | null | null | null | //
// Created by Jin on 5/5/2021.
//
#ifndef LEETCODE_62_UNIQUE_PATHS_H
#define LEETCODE_62_UNIQUE_PATHS_H
using namespace std;
class Solution {
public:
int uniquePaths(int m, int n) {
int i = 1, j;
if (m == 1 || n == 1)
return 1;
vector<int> row(n, 1);
for (; i < m; ++i) {
for (j = 1; j < n; ++j) ... | 12.848485 | 35 | 0.566038 |
509ac10c4b3830f0452d382b893817a452e839f2 | 202 | h | C | WTableView/ViewController.h | Heshuwang/WTableView | aa0f9ac6c21211eeb7270846959bef860939a266 | [
"MIT"
] | null | null | null | WTableView/ViewController.h | Heshuwang/WTableView | aa0f9ac6c21211eeb7270846959bef860939a266 | [
"MIT"
] | null | null | null | WTableView/ViewController.h | Heshuwang/WTableView | aa0f9ac6c21211eeb7270846959bef860939a266 | [
"MIT"
] | null | null | null | //
// ViewController.h
// WTableView
//
// Created by hs on 2019/10/9.
// Copyright © 2019 hs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 12.625 | 45 | 0.673267 |
f712d47a80f90522f38fdf113ee4e8f055d79615 | 546 | h | C | Plugins/InputBuffer/Source/InputBufferEditor/Private/InputCommandAssetTypeActions.h | iliags/LittleFighter | a7043cc1b136477f8eaa5583bdadd2cc9edbcbac | [
"MIT"
] | null | null | null | Plugins/InputBuffer/Source/InputBufferEditor/Private/InputCommandAssetTypeActions.h | iliags/LittleFighter | a7043cc1b136477f8eaa5583bdadd2cc9edbcbac | [
"MIT"
] | null | null | null | Plugins/InputBuffer/Source/InputBufferEditor/Private/InputCommandAssetTypeActions.h | iliags/LittleFighter | a7043cc1b136477f8eaa5583bdadd2cc9edbcbac | [
"MIT"
] | 1 | 2021-10-21T11:34:22.000Z | 2021-10-21T11:34:22.000Z | // Copyright 2018 Isaac Hsu.
#pragma once
#include "AssetTypeActions_Base.h"
class FInputCommandAssetTypeActions : public FAssetTypeActions_Base
{
public:
FInputCommandAssetTypeActions(EAssetTypeCategories::Type InAssetCategory);
// IAssetTypeActions interface
virtual FText GetName() const override;
virtual FCo... | 26 | 75 | 0.81685 |
fb60fdaf8fa325f6e9806be824c3d9b6b4f4b672 | 773 | h | C | src/nes/memory/memory.h | mukerjee/nes-2a03 | 6cfd8d6b7ae4b437e6bc5bc4bb612fd9ce7fd2d3 | [
"MIT"
] | 2 | 2018-02-01T11:58:06.000Z | 2020-03-13T16:38:28.000Z | src/nes/memory/memory.h | mukerjee/nes-2a03 | 6cfd8d6b7ae4b437e6bc5bc4bb612fd9ce7fd2d3 | [
"MIT"
] | null | null | null | src/nes/memory/memory.h | mukerjee/nes-2a03 | 6cfd8d6b7ae4b437e6bc5bc4bb612fd9ce7fd2d3 | [
"MIT"
] | null | null | null | #ifndef NES_MEMORY_MEMORY_H_
#define NES_MEMORY_MEMORY_H_
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#define MEM_SIZE 1<<16
class Memory {
public:
Memory();
~Memory();
void LoadCart(const uint8_t* cart, const uint16_t start_address,
const size_t len... | 24.15625 | 72 | 0.697283 |
d3386e553188a343cb7ba84f42841bda34b3e6e1 | 471 | h | C | MLN-iOS/Example/Pods/Headers/Public/MLN/MLNKitBridgesManager.h | jackwiy/MLN | 0b4dd2438cb2f0c87a18a8e4766f996e728ac1d8 | [
"MIT"
] | 1,615 | 2019-09-19T09:36:39.000Z | 2022-03-31T13:05:47.000Z | MLN-iOS/Example/Pods/Headers/Public/MLN/MLNKitBridgesManager.h | jackwiy/MLN | 0b4dd2438cb2f0c87a18a8e4766f996e728ac1d8 | [
"MIT"
] | 193 | 2019-09-19T09:10:03.000Z | 2022-02-23T02:48:02.000Z | MLN-iOS/Example/Pods/Headers/Public/MLN/MLNKitBridgesManager.h | jackwiy/MLN | 0b4dd2438cb2f0c87a18a8e4766f996e728ac1d8 | [
"MIT"
] | 203 | 2019-09-19T09:39:22.000Z | 2022-03-27T12:18:44.000Z | //
// MLNKitBridgesManager.h
// MLN
//
// Created by MoMo on 2019/8/29.
//
#import <Foundation/Foundation.h>
#import "MLNExportProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@class MLNLuaCore;
@interface MLNKitBridgesManager : NSObject
- (void)registerKitForLuaCore:(MLNLuaCore *)luaCore;
@end
@class MLNKitInstance;
@inte... | 18.115385 | 62 | 0.77707 |
ee639e58d6bf272ec4c4cb3df842724ecb806c19 | 273 | h | C | src/gryphon/tc_manager.h | wslfa/gryphon | f3708a7c33c7aa41ae89b4223cfcbf896142a9a0 | [
"BSD-2-Clause"
] | 21 | 2017-06-03T12:45:23.000Z | 2020-11-16T02:02:50.000Z | src/gryphon/tc_manager.h | qz267/gryphon | 74377d40e90193b60d01037db6ea2c462175022f | [
"BSD-2-Clause"
] | null | null | null | src/gryphon/tc_manager.h | qz267/gryphon | 74377d40e90193b60d01037db6ea2c462175022f | [
"BSD-2-Clause"
] | 4 | 2017-07-27T07:34:03.000Z | 2021-07-16T11:50:29.000Z | #ifndef TC_MANAGER_INCLUDED
#define TC_MANAGER_INCLUDED
#include <xcopy.h>
#include <gryphon.h>
int gryphon_init(tc_event_loop_t *event_loop);
void gryphon_over(const int sig);
void gryphon_release_resources();
#endif /* ----- #ifndef TC_MANAGER_INCLUDED ----- */
| 21 | 54 | 0.747253 |
2064dc56a2ac3c7484b43b0da9ab3a01287ac78a | 21,001 | h | C | src/libxsmm/src/generator_x86_instructions.h | IntelLabs/SkimCaffe | 27df6a8796a012da722c3e2673739350133c1779 | [
"BSD-2-Clause"
] | 255 | 2016-09-14T03:34:18.000Z | 2022-02-03T17:09:24.000Z | src/libxsmm/src/generator_x86_instructions.h | IntelLabs/SkimCaffe | 27df6a8796a012da722c3e2673739350133c1779 | [
"BSD-2-Clause"
] | 22 | 2017-05-08T11:13:52.000Z | 2019-11-06T02:53:10.000Z | src/libxsmm/src/generator_x86_instructions.h | IntelLabs/SkimCaffe | 27df6a8796a012da722c3e2673739350133c1779 | [
"BSD-2-Clause"
] | 83 | 2016-09-18T19:33:15.000Z | 2021-08-29T07:35:32.000Z | /******************************************************************************
** Copyright (c) 2015-2017, Intel Corporation **
** All rights reserved. **
** **
... | 62.317507 | 193 | 0.609447 |
54526526b1cc59fad298061b4d9a361353665724 | 2,827 | h | C | GroundControlStation_V3.1/GroundControlStation_V3.1/DialogWP/waypointTabWidget.h | FlyTheThings/QtProject | 02c5f6659e71d05aa89aa320f70c880ae329aa00 | [
"Apache-2.0"
] | 1 | 2019-01-07T14:37:25.000Z | 2019-01-07T14:37:25.000Z | GroundControlStation_V3.1/GroundControlStation_V3.1/DialogWP/waypointTabWidget.h | FlyTheThings/QtProject | 02c5f6659e71d05aa89aa320f70c880ae329aa00 | [
"Apache-2.0"
] | null | null | null | GroundControlStation_V3.1/GroundControlStation_V3.1/DialogWP/waypointTabWidget.h | FlyTheThings/QtProject | 02c5f6659e71d05aa89aa320f70c880ae329aa00 | [
"Apache-2.0"
] | 1 | 2019-01-07T14:37:27.000Z | 2019-01-07T14:37:27.000Z | #ifndef WAYPOINTTABWIDGET_H
#define WAYPOINTTABWIDGET_H
#include <QTabWidget>
#include <QMessageBox>
#include <QFileDialog>
#include <QFile>
#include <QTextStream>
#include <QTableWidgetItem>
#include <QStringList>
#include <QPointF>
#include <QMap>
#include <QTimer>
#include <QtMath>
#include <QString>
#include <QMen... | 25.241071 | 109 | 0.678811 |
2d27344796583457e6a7cb070798e5fc1ad74ebd | 3,868 | h | C | System/Library/PrivateFrameworks/ActivityAchievementsUI.framework/AAUIAchievementLocalizationProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/ActivityAchievementsUI.framework/AAUIAchievementLocalizationProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/ActivityAchievementsUI.framework/AAUIAchievementLocalizationProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:34 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Activit... | 52.27027 | 158 | 0.757756 |
052753181258699bd95e68f748dea91dd69d4902 | 4,240 | h | C | src/events_generated.h | norse/aestream | c2e48b9f9adb53d645830716db241333781e3b4c | [
"MIT"
] | 5 | 2022-01-30T13:54:42.000Z | 2022-03-29T02:45:51.000Z | src/events_generated.h | norse/aestream | c2e48b9f9adb53d645830716db241333781e3b4c | [
"MIT"
] | 4 | 2022-01-30T13:57:04.000Z | 2022-03-03T22:12:47.000Z | src/events_generated.h | norse/aestream | c2e48b9f9adb53d645830716db241333781e3b4c | [
"MIT"
] | null | null | null | // automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_EVENTS_H_
#define FLATBUFFERS_GENERATED_EVENTS_H_
#include "flatbuffers/flatbuffers.h"
// Ensure the included flatbuffers.h is the same version as when this file was
// generated, otherwise it may not be compatible.
... | 28.843537 | 87 | 0.719811 |
e5ae7a0fad219f06b871091fc864ee9efc792edd | 282 | h | C | include/script_def.h | GithubPrankster/mirv-web | 54e1950ea36e168a2cebeb6e17c5f5659e853e6e | [
"MIT"
] | null | null | null | include/script_def.h | GithubPrankster/mirv-web | 54e1950ea36e168a2cebeb6e17c5f5659e853e6e | [
"MIT"
] | null | null | null | include/script_def.h | GithubPrankster/mirv-web | 54e1950ea36e168a2cebeb6e17c5f5659e853e6e | [
"MIT"
] | null | null | null | #pragma once
#include "script.h"
int lua_scr_clean(lua_State *L);
#define MRV_LUAFS 1
const mrv_fpair lua_funcs[MRV_LUAFS] =
{
{"scr_clean", lua_scr_clean}
};
#define reg_cfunc(L, func, name){ \
lua_pushcfunction(L, func); \
lua_setglobal(L, name); \
} | 18.8 | 39 | 0.652482 |
ea04c0ee20ef32733ccc4f4bdd0fb65910d8e380 | 16,273 | c | C | snake.X/main.c | yetkinakyz/PIC18F46K22-SnakeGame | 779cfbd1453c39af7dd0cff8de2ca33548a48d9e | [
"MIT"
] | null | null | null | snake.X/main.c | yetkinakyz/PIC18F46K22-SnakeGame | 779cfbd1453c39af7dd0cff8de2ca33548a48d9e | [
"MIT"
] | null | null | null | snake.X/main.c | yetkinakyz/PIC18F46K22-SnakeGame | 779cfbd1453c39af7dd0cff8de2ca33548a48d9e | [
"MIT"
] | null | null | null | /*
* Project Name: Snake Game Project with PIC18F46K22
*
* Authors: Yetkin AKYUZ (yetkin.akyuz@outlook.com)
*
* Created on December 29, 2020, 5:35 PM
*/
#include <stdio.h>
#include <stdlib.h>
#include <xc.h>
// *************** CONFIGURATIONS ***************
// CONFIG1H
#pragma config FOSC = INTIO67 // Osci... | 31.055344 | 217 | 0.520556 |
86d9d37143af5d82fb8360882e1299174b8e777f | 63,671 | h | C | externals/include/SDL_gpu.h | lordmu/scml-pp | 7d7f25f87ed64b172eb33367c6cc27e11d5e062e | [
"MIT"
] | 2 | 2018-02-12T21:33:09.000Z | 2020-06-15T16:41:05.000Z | externals/include/SDL_gpu.h | lordmu/scml-pp | 7d7f25f87ed64b172eb33367c6cc27e11d5e062e | [
"MIT"
] | null | null | null | externals/include/SDL_gpu.h | lordmu/scml-pp | 7d7f25f87ed64b172eb33367c6cc27e11d5e062e | [
"MIT"
] | 1 | 2017-01-01T00:06:33.000Z | 2017-01-01T00:06:33.000Z | #ifndef _SDL_GPU_H__
#define _SDL_GPU_H__
#include "SDL.h"
#include <stdio.h>
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
// Compile-time versions
#define SDL_GPU_VERSION_MAJOR 0
#define SDL_GPU_VERSION_MINOR 8
#define SDL_GPU_VERSION_PATCH 0
/* Auto-detect if we're using the SDL2 API by the headers... | 41.184347 | 284 | 0.754362 |
86e1d3145d65723fe881643d9f46007ccad1817e | 358 | h | C | ObserverPattern/Example/Observer/ObserverInterface.h | liuyongjiesail/DesignPatterns | e48ca585c8c992cf8f10b880ce5c787bd8c42d96 | [
"Apache-2.0"
] | null | null | null | ObserverPattern/Example/Observer/ObserverInterface.h | liuyongjiesail/DesignPatterns | e48ca585c8c992cf8f10b880ce5c787bd8c42d96 | [
"Apache-2.0"
] | null | null | null | ObserverPattern/Example/Observer/ObserverInterface.h | liuyongjiesail/DesignPatterns | e48ca585c8c992cf8f10b880ce5c787bd8c42d96 | [
"Apache-2.0"
] | null | null | null | //
// ObserverInterface.h
// DesignPatterns
//
// Created by 刘永杰 on 2018/12/4.
// Copyright © 2018 刘永杰. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol ObserverInterface <NSObject>
- (void)updateTemperature:(float)temperature humidity:(float)humidity pressure:(float)p... | 17.9 | 95 | 0.759777 |
efb95d67c5248a43e6a175dacd46fd3c5096d594 | 1,589 | h | C | genetics/shared/symbols/ParameterDescriptor.h | crest01/ShapeGenetics | 7321f6484be668317ad763c0ca5e4d6cbfef8cd1 | [
"MIT"
] | 18 | 2017-04-26T13:53:43.000Z | 2021-05-29T03:55:27.000Z | genetics/shared/symbols/ParameterDescriptor.h | crest01/ShapeGenetics | 7321f6484be668317ad763c0ca5e4d6cbfef8cd1 | [
"MIT"
] | null | null | null | genetics/shared/symbols/ParameterDescriptor.h | crest01/ShapeGenetics | 7321f6484be668317ad763c0ca5e4d6cbfef8cd1 | [
"MIT"
] | 2 | 2017-10-17T10:32:01.000Z | 2019-11-11T07:23:54.000Z | /*
* ParamterDescriptor.h
*
* Created on: Nov 6, 2015
* Author: Karl Haubenwallner
*/
#ifndef GPUPROCGENETICS_SRC_PARAMETER_PARAMETERDESCRIPTOR_H_
#define GPUPROCGENETICS_SRC_PARAMETER_PARAMETERDESCRIPTOR_H_
#include <vector>
#include <cstring>
#include "Parameter.h"
#include "RandomValues.h"
namespace PG... | 22.7 | 78 | 0.696035 |
f407eb454e6f30d87cc070b4ad518333f71ef50b | 330 | h | C | Editor/DataImporter.h | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | null | null | null | Editor/DataImporter.h | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | null | null | null | Editor/DataImporter.h | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | 1 | 2018-10-16T20:12:59.000Z | 2018-10-16T20:12:59.000Z | #pragma once
#include "ModuleAnimation.h"
#include <memory>
class Level;
class DataImporter
{
public:
DataImporter() = default;
~DataImporter() = default;
std::shared_ptr<Level> ImportLevel(const char* path, const char* file) const;
std::shared_ptr<Animation> ImportAnimation(const char* path, const char* file) ... | 19.411765 | 86 | 0.742424 |
4cc8bbce59a52ab55b39ac317f2e20cbbf262aa5 | 1,305 | h | C | GFX_Linux_SDK/OGLES2/SDKPackage/Shell/OS/LinuxEWS/PVRShellOS.h | andreimironenko/graphics-sdk | a00f508acfd016ae8412529d60d015446c3a1ff9 | [
"Fair",
"Unlicense"
] | 1 | 2022-03-21T15:39:01.000Z | 2022-03-21T15:39:01.000Z | GFX_Linux_SDK/OGLES2/SDKPackage/Shell/OS/LinuxEWS/PVRShellOS.h | jhofstee/Graphics_SDK | 805bd44f347ed40699a84979bc9f3e8eb085fd9e | [
"Fair",
"Unlicense"
] | null | null | null | GFX_Linux_SDK/OGLES2/SDKPackage/Shell/OS/LinuxEWS/PVRShellOS.h | jhofstee/Graphics_SDK | 805bd44f347ed40699a84979bc9f3e8eb085fd9e | [
"Fair",
"Unlicense"
] | null | null | null | /******************************************************************************
@File PVRShellOS.h
@Title LinuxEWS/PVRShellOS
@Version @Version
@Copyright Copyright (c) Imagination Technologies Limited.
@Platform Example Window System support for Linux
@Descript... | 29 | 89 | 0.438314 |
71506793bd812e74435f6510fea5712a630955ba | 10,923 | h | C | CppCollection/ConverterV2.42.inline.h | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | 1 | 2020-06-25T05:36:23.000Z | 2020-06-25T05:36:23.000Z | CppCollection/ConverterV2.42.inline.h | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | null | null | null | CppCollection/ConverterV2.42.inline.h | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | null | null | null |
/**
* @file
* @brief Convertors
* @version 2.34
* @author Yongkai HUO, yh3g09 (forevervhuo@gmail.com, yh3g09@ecs.soton.ac.uk)
* @date Jun 8, 2010-Nov 11, 2011
* @copyright None.
*/
#ifndef _CONVERTER_INLINE_H
#define _CONVERTER_INLINE_H
#include "Headers.h"
#include Converter_DEF
#include Assert_H
template<... | 25.052752 | 132 | 0.610272 |
90ff17b116a1506438133b321cfd6062436059e1 | 2,352 | h | C | thread_pool.h | BrandonKi/thread_pool | 06454ff1d98cb8cd6e1902e853f53486a1829206 | [
"MIT"
] | null | null | null | thread_pool.h | BrandonKi/thread_pool | 06454ff1d98cb8cd6e1902e853f53486a1829206 | [
"MIT"
] | null | null | null | thread_pool.h | BrandonKi/thread_pool | 06454ff1d98cb8cd6e1902e853f53486a1829206 | [
"MIT"
] | null | null | null | /**
* @file thread_pool.h
* @author Brandon Kirincich
*/
#ifndef THREAD_POOL_H
#define THREAD_POOL_H
#include <concepts>
#include <condition_variable>
#include <functional>
#include <future>
#include <memory>
#include <mutex>
#include <queue>
#include <thread>
#include <vector>
class ThreadPool {
public:
Th... | 28.682927 | 132 | 0.545493 |
ad41ca44cf18bb87de4ead810efcc03d3257311f | 367 | h | C | examples/demo/OLCategoryHelperDemo/OLMasterViewController.h | payliu/OLCategoryHelper | 3576f31b08533bebd03e699fcd0af0ad5524cc39 | [
"MIT"
] | null | null | null | examples/demo/OLCategoryHelperDemo/OLMasterViewController.h | payliu/OLCategoryHelper | 3576f31b08533bebd03e699fcd0af0ad5524cc39 | [
"MIT"
] | null | null | null | examples/demo/OLCategoryHelperDemo/OLMasterViewController.h | payliu/OLCategoryHelper | 3576f31b08533bebd03e699fcd0af0ad5524cc39 | [
"MIT"
] | null | null | null | //
// OLMasterViewController.h
// OLCategoryHelperDemo
//
// Created by Pay Liu on 13/9/5.
// Copyright (c) 2013年 Octalord Information Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@class OLDetailViewController;
@interface OLMasterViewController : UITableViewController
@property (strong, nonatomic) OLDet... | 20.388889 | 75 | 0.768392 |
0971220b37347649bf05e2ca21ce31e96df7d1cf | 791 | h | C | src/layers/route_layer.h | zozoiiiiii/jenny | 21a157e00b2a2ba6a6b1dd7c36768a38a235e897 | [
"MIT"
] | null | null | null | src/layers/route_layer.h | zozoiiiiii/jenny | 21a157e00b2a2ba6a6b1dd7c36768a38a235e897 | [
"MIT"
] | null | null | null | src/layers/route_layer.h | zozoiiiiii/jenny | 21a157e00b2a2ba6a6b1dd7c36768a38a235e897 | [
"MIT"
] | null | null | null | /************************************************************************/
/*
@author: junliang
@brief: convolution LayerData
@time: 2019/02/22
*/
/************************************************************************/
#pragma once
#include <string>
#include <vector>
#include <map>
#include "layer.h"
#include... | 23.264706 | 110 | 0.580278 |
865a6376cb4eab0e9246a29500b94683aac69f64 | 466 | h | C | Source/OEXHelperUnitCompletionTracker.h | wajeeha-khalid/McKA-iOS | eed58c62352b2c2dde14e13d7d89171862a3f46a | [
"Apache-2.0"
] | 1 | 2017-11-07T18:25:44.000Z | 2017-11-07T18:25:44.000Z | Source/OEXHelperUnitCompletionTracker.h | wajeeha-khalid/McKA-iOS | eed58c62352b2c2dde14e13d7d89171862a3f46a | [
"Apache-2.0"
] | null | null | null | Source/OEXHelperUnitCompletionTracker.h | wajeeha-khalid/McKA-iOS | eed58c62352b2c2dde14e13d7d89171862a3f46a | [
"Apache-2.0"
] | null | null | null | //
// OEXHelperUnitCompletionTracker.h
// edX
//
// Created by Naveen Katari on 18/02/17.
// Copyright © 2017 edX. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface OEXHelperUnitCompletionTracker : NSObject
@property (nonatomic, strong, nullable) NSString *unitID;
@property (nonatomic, strong,... | 24.526316 | 60 | 0.753219 |
af392d9abcbfab698e822302f609c72a1e900bae | 2,312 | h | C | src-native/BCIDynamic/JClass/JMemStream.h | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | src-native/BCIDynamic/JClass/JMemStream.h | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | src-native/BCIDynamic/JClass/JMemStream.h | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | /**********************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... | 24.083333 | 80 | 0.558824 |
797963ce8551e3bcad1e5d0fc5223696e0974f1c | 1,742 | h | C | inetsrv/iis/admin/certmap/edwldrul.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/admin/certmap/edwldrul.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/admin/certmap/edwldrul.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // EdWldRul.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEditWildcardRule dialog
class CEditWildcardRule : public CNTBrowsingDialog
{
// Construction
public:
CEditWildcardRule(IMSAdminBase* pMB, CWnd* pParent = NULL); // standard constructor
... | 25.246377 | 90 | 0.634328 |
05c1a0448ea1a93a98d7cddceaf760da64f4f12a | 635 | h | C | exp2/2_4/pluginController.h | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | exp2/2_4/pluginController.h | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | exp2/2_4/pluginController.h | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | // @brief 插件控制器,用于访问所有外部插件
#ifndef PLUGINCONTROLLER_H
#define PLUGINCONTROLLER_H
#include <vector>
using namespace std;
class IPrintPlugin;
class pluginController
{
private:
vector<void *> v_pluginHandle; // 用于存放所有的句柄
vector<IPrintPlugin*> v_plugin; // 用于存放所有的插件
public:
pluginController(/* args */); ... | 19.84375 | 59 | 0.685039 |
e5e8537c36de6eac84669463cc2dd936b876081d | 1,159 | h | C | admin/cmdline/eventcreate/pch.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/cmdline/eventcreate/pch.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/cmdline/eventcreate/pch.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // *********************************************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Module Name:
//
// pch.h
//
// Abstract:
//
// pre-compiled header declaration
// files that has to be pre-compiled into .pch file
//
... | 19 | 85 | 0.522865 |
c3ebdc056c467e94e59220093f92dc2cc6cf8471 | 1,281 | h | C | ptShared/ptInclude/ptbuild.h | bbelson2/k64f_coro | a280252a53aca2c8f6a35008b17b2653b4dc71dd | [
"MIT"
] | 11 | 2020-08-09T16:20:55.000Z | 2021-05-05T15:10:25.000Z | ptShared/ptInclude/ptbuild.h | bbelson2/coro-mc-wwl-code | 3112bb72f59f2374fba3b39a79a120866f32c0da | [
"MIT"
] | null | null | null | ptShared/ptInclude/ptbuild.h | bbelson2/coro-mc-wwl-code | 3112bb72f59f2374fba3b39a79a120866f32c0da | [
"MIT"
] | null | null | null | /*
* ptbuild.h
*
* Created on: 1 Apr 2019
* Author: Bruce Belson
*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*
*/
#ifndef SOURCES_PTINCLUDE_PTBUILD_H_
#define SOURCES_PTINCLUDE_PTBUILD_H_
#if defined(PTBUILD_EXTERNA... | 20.333333 | 131 | 0.807182 |
c3588b5ca18ae7b4bd4b3e3002f6bbd6ec1c0afc | 460 | c | C | latex/src/av8/z6.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | 2 | 2019-05-23T20:41:05.000Z | 2019-05-24T13:51:28.000Z | latex/src/av8/z6.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | null | null | null | latex/src/av8/z6.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | null | null | null | #include <stdio.h>
#define MAX 100
int nzd(int m, int n) {
if (!n)
return m;
return nzd(n, m % n);
}
int main() {
int i, n, a[MAX];
printf("Vnesi ja goleminata na nizata:");
scanf("%d", &n);
printf("Vnesi gi elementite na nizata: \n");
for (i = 0; i < n; i++)
scanf("%d", &a[i]);
int NZD = ... | 19.166667 | 53 | 0.517391 |
bf4883168e7392efc49e81eb3a78a9c59e16d53e | 3,545 | c | C | src/sp1.c | batousik/2002wBeforeLast | d319e2788fbf7ce95d0d426d075bd6f2af4153f0 | [
"MIT"
] | null | null | null | src/sp1.c | batousik/2002wBeforeLast | d319e2788fbf7ce95d0d426d075bd6f2af4153f0 | [
"MIT"
] | null | null | null | src/sp1.c | batousik/2002wBeforeLast | d319e2788fbf7ce95d0d426d075bd6f2af4153f0 | [
"MIT"
] | null | null | null | #include "sp1.h"
int main(int argc, char *argv[]) {
char *phrase = malloc(1024 * sizeof(char));
memset(phrase, '\0', 1024);
for (int i = 1; i < argc; ++i) {
strcat(phrase, argv[i]);
strcat(phrase, " ");
}
return do_filtering(190, phrase);
}
int do_filtering(int repeat_times, char ... | 29.057377 | 73 | 0.553173 |
4405a416ff44010db8723ca115f9de06c81650de | 5,495 | c | C | platforms/unix/vm/dlfcn-dyld.c | bavison/opensmalltalk-vm | d494240736f7c0309e3e819784feb1d53ed0985a | [
"MIT"
] | 445 | 2016-06-30T08:19:11.000Z | 2022-03-28T06:09:49.000Z | platforms/unix/vm/dlfcn-dyld.c | bavison/opensmalltalk-vm | d494240736f7c0309e3e819784feb1d53ed0985a | [
"MIT"
] | 439 | 2016-06-29T20:14:36.000Z | 2022-03-17T19:59:58.000Z | platforms/unix/vm/dlfcn-dyld.c | bavison/opensmalltalk-vm | d494240736f7c0309e3e819784feb1d53ed0985a | [
"MIT"
] | 137 | 2016-07-02T17:32:07.000Z | 2022-03-20T11:17:25.000Z | /* dlfcn-dyld.c -- provides dlopen() and friends as wrappers around Mach dyld
*
* Author: Ian.Piumarta@INRIA.Fr
*
* Copyright (C) 1996-2006 by Ian Piumarta and other authors/contributors
* listed elsewhere in this file.
* All rights reserved.
*
* This file is part of Unix... | 25.55814 | 88 | 0.675705 |
68b23f038e003ce8b8ef221bc2bfd2bf0cfd8f4e | 1,182 | h | C | Amber/src/Amber/Core/Assert.h | muthubro/Amber | 076db07de87d9231c59416114ac40ab9712aa697 | [
"Apache-2.0"
] | null | null | null | Amber/src/Amber/Core/Assert.h | muthubro/Amber | 076db07de87d9231c59416114ac40ab9712aa697 | [
"Apache-2.0"
] | null | null | null | Amber/src/Amber/Core/Assert.h | muthubro/Amber | 076db07de87d9231c59416114ac40ab9712aa697 | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifdef AB_ENABLE_ASSERTS
#define AB_ASSERT_NO_MESSAGE(condition) { if(!(condition)) { AB_ERROR("Assertion Failed"); AB_DEBUGBREAK(); } }
#define AB_ASSERT_MESSAGE(condition, ...) { if(!(condition)) { AB_ERROR("Assertion Failed: {0}", __VA_ARGS__); AB_DEBUGBREAK(); } }
#define AB_CORE_... | 56.285714 | 146 | 0.729272 |
db3277202f4852e460899eba20d66cc3a92374f6 | 1,071 | h | C | base/sdk/interfaces/iglobalvarsbase.h | ChoZenTime/qo0-base | be524136a6fc20daf71553a6ca7dc833358b4e40 | [
"MIT"
] | 1 | 2020-05-25T09:04:36.000Z | 2020-05-25T09:04:36.000Z | base/sdk/interfaces/iglobalvarsbase.h | ChoZenTime/qo0-base | be524136a6fc20daf71553a6ca7dc833358b4e40 | [
"MIT"
] | null | null | null | base/sdk/interfaces/iglobalvarsbase.h | ChoZenTime/qo0-base | be524136a6fc20daf71553a6ca7dc833358b4e40 | [
"MIT"
] | 1 | 2020-06-26T18:32:51.000Z | 2020-06-26T18:32:51.000Z | #pragma once
class IGlobalVarsBase
{
public:
float flRealTime; //0x0000
std::uint32_t iFrameCount; //0x0004
float flAbsoluteFrameTime; //0x0008
float flFrameStartTime; //0x000C
float flCurrentTime; //0x0010
float flFrameTime; //0x0014
std::uint32_t nMaxClients; //0x0018
std::uint32... | 32.454545 | 50 | 0.691877 |
c52dbc04036546873d104b8de7de6c19ebf8bed4 | 3,191 | h | C | blades/xbmc/xbmc/input/touch/generic/IGenericTouchGestureDetector.h | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/input/touch/generic/IGenericTouchGestureDetector.h | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/input/touch/generic/IGenericTouchGestureDetector.h | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | #pragma once
/*
* Copyright (C) 2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.... | 30.682692 | 90 | 0.694767 |
cb1a318dadde2a502b2ad1e826d5aa2efdd5770c | 4,862 | c | C | Etape 5/Etape5/section.c | PsykoPatato/Projet-PROG5-2018-2019 | c46f24460eb052d71ee7bd64b0ea56aa150d14b2 | [
"Apache-2.0"
] | null | null | null | Etape 5/Etape5/section.c | PsykoPatato/Projet-PROG5-2018-2019 | c46f24460eb052d71ee7bd64b0ea56aa150d14b2 | [
"Apache-2.0"
] | null | null | null | Etape 5/Etape5/section.c | PsykoPatato/Projet-PROG5-2018-2019 | c46f24460eb052d71ee7bd64b0ea56aa150d14b2 | [
"Apache-2.0"
] | 2 | 2018-12-20T13:56:20.000Z | 2018-12-20T14:00:39.000Z | #include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <elf.h>
#include "section.h"
char *type(int val){
switch(val){
case 1:
return "PROGBITS";
case 2:
return "SYMTAB ";
case 3:
return "STRTAB "... | 31.166667 | 279 | 0.510078 |
3b51b72b556bda5e02a22a0dccae4b2507198b78 | 13,109 | h | C | qqtw/qqheaders7.2/QSContactsEngine.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 5 | 2018-02-20T14:24:17.000Z | 2020-08-06T09:31:21.000Z | qqtw/qqheaders7.2/QSContactsEngine.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 1 | 2020-06-10T07:49:16.000Z | 2020-06-12T02:08:35.000Z | qqtw/qqheaders7.2/QSContactsEngine.h | onezens/SmartQQ | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "QSContactsEngineBase.h"
#import "IEngineDispatchDelegate.h"
#import "IQSContactsEngine.h"
@class NSData, NSMutableArray, NSMutableDictionary, NSMutableSet, NSString;
@in... | 49.097378 | 213 | 0.809215 |
734b5079f763bbc8acf070cf60df2485d004b494 | 1,365 | h | C | include/mlio/byte.h | aws-patlin/ml-io | 047e7d40609ced6f839d0b08d1917e9742a785af | [
"Apache-2.0"
] | null | null | null | include/mlio/byte.h | aws-patlin/ml-io | 047e7d40609ced6f839d0b08d1917e9742a785af | [
"Apache-2.0"
] | null | null | null | include/mlio/byte.h | aws-patlin/ml-io | 047e7d40609ced6f839d0b08d1917e9742a785af | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 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 "lice... | 20.073529 | 77 | 0.721612 |
1ef327d8dbbc194dbf66bd578aabb084c23faabb | 6,993 | h | C | src/FSDoAction.h | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 4 | 2018-09-16T09:55:22.000Z | 2020-12-19T02:02:40.000Z | src/FSDoAction.h | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | null | null | null | src/FSDoAction.h | pperehozhih/transform-cxx | f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48 | [
"BSD-3-Clause"
] | 2 | 2015-11-24T20:27:35.000Z | 2019-06-04T15:23:30.000Z | /*
* FSDoAction.h
* Transform SWF
*
* Copyright (c) 2001-2004 Flagstone Software Ltd.. 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 ... | 41.378698 | 331 | 0.697412 |
71650a47133ae9b8ac1e72c02094aafba87ab1eb | 2,750 | h | C | lib/DRV8301/DRV8301.h | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | lib/DRV8301/DRV8301.h | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | lib/DRV8301/DRV8301.h | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | #ifndef DRV_H
#define DRV_H
/// Registers ///
#define SR1 0x0 /// Status Register 1
#define SR2 0x1 /// Status Register 2
#define CTR1 0x2 /// Control Register 1
#define CTR2 0x3 /// Control Register 2
/// Register maps, ordered from low bits to high bits ///
/// Control Register 1 (Gate Driver Control) Fields ///
#d... | 29.255319 | 114 | 0.779636 |
7167f82b4814d07f95a4829445cf9d64729df614 | 812 | c | C | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/usb/host/ehci-vct.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/usb/host/ehci-vct.c | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | 16 | 2019-01-28T06:08:40.000Z | 2019-12-04T10:26:41.000Z | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/usb/host/ehci-vct.c | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | 129 | 2018-12-18T09:46:50.000Z | 2022-03-30T07:30:13.000Z | // SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering
*/
#include <common.h>
#include <usb.h>
#include "ehci.h"
int vct_ehci_hcd_init(u32 *hccr, u32 *hcor);
/*
* Create the appropriate control structures to manage
* a new EHCI host controller.
*/
int ... | 18.044444 | 74 | 0.699507 |
bc336102b0a4c33a6ee08cb914f63da6c51a67d1 | 555 | c | C | tests/test_break.c | JC-LL/crokus | a5c8c188af983ef481c90307a252a44aeecf978e | [
"MIT"
] | 15 | 2020-03-30T15:46:26.000Z | 2022-03-18T21:59:55.000Z | tests/test_break.c | JC-LL/crokus | a5c8c188af983ef481c90307a252a44aeecf978e | [
"MIT"
] | null | null | null | tests/test_break.c | JC-LL/crokus | a5c8c188af983ef481c90307a252a44aeecf978e | [
"MIT"
] | 2 | 2021-11-16T07:43:55.000Z | 2022-01-07T07:35:41.000Z | // Program to calculate the sum of maximum of 10 numbers
// If negative number is entered, loop terminates and sum is displayed
#include <stdio.h>
int main()
{
int i;
double number, sum = 0.0;
for(i=1; i <= 10; ++i)
{
printf("Enter a n%d: ",i);
scanf("%lf",&number);
// If user... | 19.137931 | 70 | 0.511712 |
90c25f3595a40eb2d726a77faca5d504ce8416fc | 3,727 | h | C | closed/PengChengLaboratory/code/vww/riscv_baremetal/include/cmsis/driver_i2c.h | AidanYok/tiny_results_v0.5 | 3ec2c4a4fb5c7261876bb3e468b34d4e0e2ab4b2 | [
"Apache-2.0"
] | 5 | 2021-06-22T15:34:37.000Z | 2022-03-29T06:12:03.000Z | closed/PengChengLaboratory/code/vww/riscv_baremetal/include/cmsis/driver_i2c.h | AidanYok/tiny_results_v0.5 | 3ec2c4a4fb5c7261876bb3e468b34d4e0e2ab4b2 | [
"Apache-2.0"
] | null | null | null | closed/PengChengLaboratory/code/vww/riscv_baremetal/include/cmsis/driver_i2c.h | AidanYok/tiny_results_v0.5 | 3ec2c4a4fb5c7261876bb3e468b34d4e0e2ab4b2 | [
"Apache-2.0"
] | 5 | 2021-08-02T16:39:02.000Z | 2022-03-29T06:12:04.000Z | #ifndef DRIVER_I2C_H_
#define DRIVER_I2C_H_
#include "driver_common.h"
#define I2C_API_VERSION DRIVER_VERSION_MAJOR_MINOR(1,0) /* API version */
/****** I2C Control Codes *****/
#define I2C_OWN_ADDRESS (0x01) // Set Own Slave Address; arg = address
#define I2C_BUS_SPEED (0x02) ... | 44.369048 | 118 | 0.668903 |
90fd58f9878652240be15480f3efb5dcf8b29cd1 | 1,151 | h | C | Pods/Headers/Public/CrutchKit/CDProxy/Proxy/CDObserversProxy.h | rambler-digital-solutions/RamblerConferences | 533a76d8dd8e6d77585087dba72b0683e6211f30 | [
"MIT"
] | 264 | 2016-10-06T07:28:14.000Z | 2022-03-03T02:10:22.000Z | Pods/Headers/Public/CrutchKit/CDProxy/Proxy/CDObserversProxy.h | rambler-digital-solutions/RamblerConferences | 533a76d8dd8e6d77585087dba72b0683e6211f30 | [
"MIT"
] | 121 | 2015-11-17T20:35:39.000Z | 2016-09-29T05:44:41.000Z | Pods/Headers/Public/CrutchKit/CDProxy/Proxy/CDObserversProxy.h | rambler-digital-solutions/RamblerConferences | 533a76d8dd8e6d77585087dba72b0683e6211f30 | [
"MIT"
] | 73 | 2016-10-06T13:12:28.000Z | 2022-02-11T16:12:08.000Z | //
// CDObserversProxy.h
// CrutchKitExample
//
// Created by Smal Vadim on 07/06/15.
// Copyright (c) 2015 cognitivedisson. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CDProxy.h"
@protocol CDObserver;
@class CDProxyDefinition;
@interface CDObserversProxy : UIResponder <CDProxy>
- (instancetype)ini... | 27.404762 | 77 | 0.688966 |
a415fa5f58e47bae942ec27eadc772eac8afd183 | 8,183 | h | C | include/MOSEKSolver.h | samuelgerber/ITKOptimalTransport | 99f34d8003062d99ac2be8f2fce4705df5ccd994 | [
"Apache-2.0"
] | 1 | 2020-12-24T05:50:58.000Z | 2020-12-24T05:50:58.000Z | include/MOSEKSolver.h | samuelgerber/ITKOptimalTransport | 99f34d8003062d99ac2be8f2fce4705df5ccd994 | [
"Apache-2.0"
] | null | null | null | include/MOSEKSolver.h | samuelgerber/ITKOptimalTransport | 99f34d8003062d99ac2be8f2fce4705df5ccd994 | [
"Apache-2.0"
] | 1 | 2021-06-04T02:17:08.000Z | 2021-06-04T02:17:08.000Z |
#ifndef MOSEKSOLVER_H
#define MOSEKSOLVER_H
#include "mosek.h"
#include "LPSolver.h"
#include <vector>
#include <iostream>
static void MSKAPI printstr(void *handle,
MSKCONST char str[])
{
printf("%s",str);
} /* printstr */
class MOSEKSolver : public LPSolver{
private:
typ... | 22.419178 | 86 | 0.577539 |
e543e5ee1ef1018bfb5c9807f4084c498836ea9d | 293 | h | C | roi1d_pooling_avg/src/roi1d_pooling_cuda.h | happygds/two_level | 6ab47951f929d5403745cf0d3d60f63b2f9a0117 | [
"BSD-3-Clause"
] | null | null | null | roi1d_pooling_avg/src/roi1d_pooling_cuda.h | happygds/two_level | 6ab47951f929d5403745cf0d3d60f63b2f9a0117 | [
"BSD-3-Clause"
] | null | null | null | roi1d_pooling_avg/src/roi1d_pooling_cuda.h | happygds/two_level | 6ab47951f929d5403745cf0d3d60f63b2f9a0117 | [
"BSD-3-Clause"
] | null | null | null | int roi1d_pooling_forward_cuda(int pooled_depth, float temporal_scale,
THCudaTensor * features, THCudaTensor * rois, THCudaTensor * output);
int roi1d_pooling_backward_cuda(int pooled_depth, float temporal_scale,
THCudaTensor * top_grad, THCudaTensor * rois, THCudaTensor * bottom_grad);
| 48.833333 | 75 | 0.819113 |
ab83e01b8d2bd1655dbe2faa25d79a893563b48a | 767 | h | C | src/plugins/bittorrent/movetorrentfiles.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/bittorrent/movetorrentfiles.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/bittorrent/movetorrentfiles.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2015 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 28.407407 | 84 | 0.616688 |
2239d13facac9568b5f47129f37ad0cce3e580b9 | 3,048 | c | C | c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/common/c/crc/crc_32_alt.c | ramok/Themis_ForHPSDR | d0f323a843ac0a488ef816ccb7c828032855a40a | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/common/c/crc/crc_32_alt.c | ramok/Themis_ForHPSDR | d0f323a843ac0a488ef816ccb7c828032855a40a | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/common/c/crc/crc_32_alt.c | ramok/Themis_ForHPSDR | d0f323a843ac0a488ef816ccb7c828032855a40a | [
"Unlicense"
] | 1 | 2021-07-21T08:10:37.000Z | 2021-07-21T08:10:37.000Z | //#############################################################################
//! \file source/common/C/crc/crc_32_alt.c
//!
//! \brief 32-bit CRC
// \author Vishal Coelho
// \date Apr 7, 2011
//
// o CRC implementation is based on tables. If the tables
// are calculated on the fly, the macro GEN_CRC_TABLES sh... | 31.42268 | 81 | 0.574475 |
66b00e65a1e28ccebfc4cecb46af8d676415247a | 377 | c | C | C_tutorial/conditional/01_if_else.c | rohitaswchoudhary/C | cdac597acd9df25de628bac65f4840e6d1b4e3b5 | [
"MIT"
] | 4 | 2021-04-02T16:03:54.000Z | 2021-06-10T10:31:25.000Z | C_tutorial/conditional/01_if_else.c | rohitaswchoudhary/C | cdac597acd9df25de628bac65f4840e6d1b4e3b5 | [
"MIT"
] | null | null | null | C_tutorial/conditional/01_if_else.c | rohitaswchoudhary/C | cdac597acd9df25de628bac65f4840e6d1b4e3b5 | [
"MIT"
] | null | null | null | // a example of conditional if else statements.
// write a program in C to check whether the number is positive or not.
#include <stdio.h>
void main()
{
int num;
printf("Enter a number: ");
scanf("%d", &num);
if (num > 0)
{
printf("This is a positive number. ");
}
else
{
... | 17.136364 | 71 | 0.564987 |
c92d9a299d28b1b1522f2c3731437048b7aaa168 | 1,700 | h | C | src/ui/ItemSelector.h | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | src/ui/ItemSelector.h | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | src/ui/ItemSelector.h | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | //
// Created by fab on 11.01.17.
//
#ifndef UIC_ITEMSELECTOR_H
#define UIC_ITEMSELECTOR_H
#include <vector>
using namespace std;
template<class Item>
class ItemSelector {
private:
int currentIndex = 0;
vector<Item> items;
protected:
virtual void onSelect(int index, Item item);
public:
inline ItemS... | 18.681319 | 80 | 0.683529 |
a750e38883bbe08e2d7f6d940292b979fc18629e | 396 | h | C | Archived/v1/WCDistractionFreeXcodePlugin/Headers/PlugIns/DebuggerUI/DBGRectInspectorPropertyView.h | wokalski/Distraction-Free-Xcode-plugin | 54ab4b9d9825e8370855b7985d6ff39d64c19f25 | [
"MIT"
] | 25 | 2016-03-03T07:43:56.000Z | 2021-09-05T08:47:40.000Z | PlugIns/DebuggerUI/DBGRectInspectorPropertyView.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | 8 | 2016-02-23T18:40:20.000Z | 2016-08-18T13:21:05.000Z | PlugIns/DebuggerUI/DBGRectInspectorPropertyView.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | 4 | 2016-02-24T13:24:27.000Z | 2016-06-28T12:50:36.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSView.h"
@interface DBGRectInspectorPropertyView : NSView
{
struct CGRect _rect;
}
@property struct CGRect rect; // @synthesize rect=_rect;
- (struct CGRect)scaledRe... | 19.8 | 83 | 0.699495 |
9c7efa5aa8f6db30e3af966e19c36d6f00e109c9 | 12,974 | h | C | usr/sbin/WirelessRadioManagerd/WRM_HandoverManager.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | usr/sbin/WirelessRadioManagerd/WRM_HandoverManager.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | usr/sbin/WirelessRadioManagerd/WRM_HandoverManager.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "CXCallObserverDelegate-Protocol.h"
@class CXCallObserver, NSDate, NSMutableArray, NSString, WCM_WiFiController... | 68.284211 | 276 | 0.801141 |
d59a1069782d848b2a08685a0bbc815ab479b307 | 263 | h | C | 09.30.2018/Quaternion/Vector.h | HuiloIvanovich/HomeworkSPBU | 5db9bd19d7e4cfe1e080526a9d5bb78f423510a8 | [
"Apache-2.0"
] | null | null | null | 09.30.2018/Quaternion/Vector.h | HuiloIvanovich/HomeworkSPBU | 5db9bd19d7e4cfe1e080526a9d5bb78f423510a8 | [
"Apache-2.0"
] | null | null | null | 09.30.2018/Quaternion/Vector.h | HuiloIvanovich/HomeworkSPBU | 5db9bd19d7e4cfe1e080526a9d5bb78f423510a8 | [
"Apache-2.0"
] | null | null | null | class Vector{
public:
Vector(float, float, float);
float x;
float y;
float z;
float Lenght;
Vector operator* (Vector&);
Vector operator* (float);
Vector operator+ (Vector&);
float ScalarMult (Vector&);
void PrintVec();
};
| 17.533333 | 32 | 0.604563 |
cb5b384c61fc97c0779387547e4730bca1b02fc7 | 313 | c | C | lib/libc/arch/hppa/gen/fpgetsticky.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2019-02-16T13:29:23.000Z | 2019-02-16T13:29:23.000Z | lib/libc/arch/hppa/gen/fpgetsticky.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2018-08-21T03:56:33.000Z | 2018-08-21T03:56:33.000Z | lib/libc/arch/hppa/gen/fpgetsticky.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | null | null | null | /* $OpenBSD: fpgetsticky.c,v 1.4 2014/04/18 15:09:52 guenther Exp $ */
/*
* Written by Miodrag Vallat. Public domain
*/
#include <sys/types.h>
#include <ieeefp.h>
fp_except
fpgetsticky()
{
u_int64_t fpsr;
__asm__ volatile("fstd %%fr0,0(%1)" : "=m" (fpsr) : "r" (&fpsr));
return ((fpsr >> 59) & 0x1f);
}
| 17.388889 | 70 | 0.619808 |
02876d57e3ae218013173607b4fc2b4428a02f34 | 625 | h | C | src/error.h | sundogu/GM-Bark | d44d7dc2cd02077a0d8eda2391ea6e07a56a0726 | [
"MIT"
] | null | null | null | src/error.h | sundogu/GM-Bark | d44d7dc2cd02077a0d8eda2391ea6e07a56a0726 | [
"MIT"
] | null | null | null | src/error.h | sundogu/GM-Bark | d44d7dc2cd02077a0d8eda2391ea6e07a56a0726 | [
"MIT"
] | null | null | null | //
// Created by Daddy on 3/08/2019.
//
#ifndef BARKPROJECT_ERROR_H
#define BARKPROJECT_ERROR_H
typedef enum {
OK // 0
, NUM_ARGS // 1
, ARG_TYPE // 2
, DECK_FILE // 3
, SAVE_FILE // 4
, SHORT_DECK // 5
, BOARD_FULL // 6
, EOI ... | 18.939394 | 76 | 0.5664 |
7ed4157ebd8a6a7ea9ee0012e7bd20c800f56952 | 826 | c | C | m3-libs/libm3/src/os/POSIX/OSConfigPosixC.c | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 105 | 2015-03-02T16:58:34.000Z | 2022-03-28T07:17:49.000Z | m3-libs/libm3/src/os/POSIX/OSConfigPosixC.c | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 145 | 2015-03-18T10:08:17.000Z | 2022-03-31T01:27:08.000Z | m3-libs/libm3/src/os/POSIX/OSConfigPosixC.c | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 26 | 2015-10-10T09:37:44.000Z | 2022-02-23T02:02:05.000Z | /* Copyright 1996-2000, Critical Mass, Inc. All rights reserved. */
/* See file COPYRIGHT-CMASS for details. */
#ifndef INCLUDED_M3CORE_H
#include "m3core.h"
#endif
#include <sys/utsname.h>
#ifdef __cplusplus
extern "C"
{
#endif
// Callback from C to Modula3 so that C does not traffic in traced reference... | 19.666667 | 83 | 0.698547 |
463d17d8d8d927c860435c0637308965a446f1d6 | 1,007 | h | C | ui/visitor/ivisitor.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 1 | 2017-08-11T19:12:24.000Z | 2017-08-11T19:12:24.000Z | ui/visitor/ivisitor.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 11 | 2018-07-07T20:09:44.000Z | 2020-02-16T22:45:09.000Z | ui/visitor/ivisitor.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | null | null | null | //------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#pragma once
#include "../result.h"
#include "../protos.h"
#include "../typedefs.h"
#include "../api.h"
namespace so... | 28.771429 | 81 | 0.526316 |
70546bb092dd9ef21d2ad8180fede525ac513348 | 90 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/pch/macro-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | llvm-gcc-4.2-2.9/gcc/testsuite/gcc.dg/pch/macro-1.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-gcc-4.2-2.9/gcc/testsuite/gcc.dg/pch/macro-1.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | #include "macro-1.h"
int main(void)
{
return DEFINED_VALUE + 1 - DEFINED_PARAM (3);
}
| 12.857143 | 47 | 0.655556 |
4661c71a0ce6db823d9c23a390227067e77c2f0d | 391 | h | C | WindowArea.h | twtyypmb/DawnOfTheCircle | d56c314c916b8b8e500566c67c24f1b264515fa3 | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | WindowArea.h | twtyypmb/DawnOfTheCircle | d56c314c916b8b8e500566c67c24f1b264515fa3 | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | WindowArea.h | twtyypmb/DawnOfTheCircle | d56c314c916b8b8e500566c67c24f1b264515fa3 | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | #ifndef WINDOW_AREA_H
#define WINDOW_AREA_H
#include <SDL_image.h>
typedef void (* ClearFun)(void* _this);
typedef struct
{
SDL_Surface* area;
int window_number;
int position[2];
int width_height[2];
ClearFun Clear;
}WindowArea;
typedef WindowArea* PWindowArea;
PWindowArea NewWindowArea();
... | 14.481481 | 45 | 0.736573 |
d7ecba37eb18e32bd3d0c20872237b0020f264c9 | 3,264 | c | C | src/input.c | MartinezTorres/Edelweiss | ef7eeaa1b8262e85f708c672fbb3310a6912be0c | [
"MIT"
] | 2 | 2021-01-20T13:12:31.000Z | 2021-02-24T17:00:36.000Z | src/input.c | MartinezTorres/Edelweiss | ef7eeaa1b8262e85f708c672fbb3310a6912be0c | [
"MIT"
] | 1 | 2021-04-07T20:19:37.000Z | 2021-04-07T20:19:37.000Z | src/input.c | MartinezTorres/Edelweiss | ef7eeaa1b8262e85f708c672fbb3310a6912be0c | [
"MIT"
] | 1 | 2021-02-24T17:00:43.000Z | 2021-02-24T17:00:43.000Z | #include <common.h>
uint8_t keyboard[16];
uint8_t keyboard_prev[16];
uint8_t keyboard_click[16];
#ifdef MSX
void update_keyboard_and_joystick_placeholder() {
__asm
_update_keyboard_and_joystick::
; Read keyboard lines 4 and 8
ld a, #0x04
call #0x0141 ; SNSMAT
ld (_keyboard+0x04), a ; keyboard[4];
ld ... | 21.615894 | 75 | 0.640931 |
6284f57be6e7410ccac273c6ba65a5d3af6feaf9 | 673 | h | C | devrandom/queue.h | corytodd/devrandom | a5f19ea2f67ebd8d7813ec7de7082df7e95a4ad5 | [
"MIT"
] | null | null | null | devrandom/queue.h | corytodd/devrandom | a5f19ea2f67ebd8d7813ec7de7082df7e95a4ad5 | [
"MIT"
] | null | null | null | devrandom/queue.h | corytodd/devrandom | a5f19ea2f67ebd8d7813ec7de7082df7e95a4ad5 | [
"MIT"
] | null | null | null | //
// This is the context that can be placed per queue
// and would contain per queue information.
//
typedef struct _QUEUE_CONTEXT {
// Here we allocate a buffer from a test write so it can be read back
PVOID Buffer;
ULONG Length;
// Virtual I/O
WDFREQUEST CurrentRequest;
NTSTATU... | 21.709677 | 76 | 0.753343 |
d12f225e1a5ec8ad82571f3c7c7b5b1795903b59 | 810 | h | C | Mattwitter/Tweet.h | marenas/Mattwitter | 8c7727659508192b85b892756f72d63e0343ca6a | [
"Apache-2.0"
] | null | null | null | Mattwitter/Tweet.h | marenas/Mattwitter | 8c7727659508192b85b892756f72d63e0343ca6a | [
"Apache-2.0"
] | 2 | 2015-11-10T04:23:01.000Z | 2017-04-19T00:54:18.000Z | Mattwitter/Tweet.h | marenas/Mattwitter | 8c7727659508192b85b892756f72d63e0343ca6a | [
"Apache-2.0"
] | null | null | null | //
// Tweet.h
// Mattwitter
//
// Created by Matias Arenas Sepulveda on 11/3/15.
// Copyright © 2015 Matias Arenas Sepulveda. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "User.h"
@interface Tweet : NSObject
@property (nonatomic, strong) NSString *text;
@property (nonatomic, strong) NSDate *... | 27 | 66 | 0.749383 |
2fb17d2a83c78113f6f4ed7966b1ac14695a2e7a | 2,732 | h | C | primitives/mq_time.h | douzzer/megaqueue | d22c9a02e300bbcc048396efbed7869805e4bc0d | [
"MIT"
] | 2 | 2015-07-24T02:06:54.000Z | 2015-08-05T01:02:45.000Z | primitives/mq_time.h | douzzer/megaqueue | d22c9a02e300bbcc048396efbed7869805e4bc0d | [
"MIT"
] | null | null | null | primitives/mq_time.h | douzzer/megaqueue | d22c9a02e300bbcc048396efbed7869805e4bc0d | [
"MIT"
] | null | null | null | /* MegaQueue
*
* Copyright 2015 Daniel Pouzzner
*
* mq_time.h 2015mar20 daniel.pouzzner@megaqueue.com
*
* time processing routines
*/
#ifndef MQ_TIME_H
#define MQ_TIME_H
#include <sys/time.h>
#include <time.h>
typedef int64_t MQ_Time_t;
#define MQ_ONE_SECOND 1000000000L
#define MQ_ONE_MINUTE 60000000000L
#... | 28.757895 | 74 | 0.650439 |
0080bc28173e2d56c0e8b5b6a558ce8845494316 | 2,741 | h | C | uC/Pinball_Controller_V0/Core/Inc/main.h | 4lc0n/PinToWin | 2340f6710558ff82d130679e885fdab28af93bb0 | [
"MIT"
] | null | null | null | uC/Pinball_Controller_V0/Core/Inc/main.h | 4lc0n/PinToWin | 2340f6710558ff82d130679e885fdab28af93bb0 | [
"MIT"
] | null | null | null | uC/Pinball_Controller_V0/Core/Inc/main.h | 4lc0n/PinToWin | 2340f6710558ff82d130679e885fdab28af93bb0 | [
"MIT"
] | null | null | null | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
*******************************************... | 27.969388 | 81 | 0.479752 |
18fe43830984ea4e7d59954487a07fe664cc86c4 | 262 | h | C | Cyano/Cyano/class/controller/identity/CTIdentityViewController.h | ontio-cyano/cyano-ios-oc-sdk | 7cf25d0ccf7cb2754ef9ae9f976f092e5ae75347 | [
"MIT"
] | null | null | null | Cyano/Cyano/class/controller/identity/CTIdentityViewController.h | ontio-cyano/cyano-ios-oc-sdk | 7cf25d0ccf7cb2754ef9ae9f976f092e5ae75347 | [
"MIT"
] | 1 | 2019-02-22T02:57:21.000Z | 2019-02-22T02:57:21.000Z | Cyano/Cyano/class/controller/identity/CTIdentityViewController.h | ontio-cyano/cyano-ios-oc-sdk | 7cf25d0ccf7cb2754ef9ae9f976f092e5ae75347 | [
"MIT"
] | 1 | 2019-01-14T06:18:02.000Z | 2019-01-14T06:18:02.000Z | //
// CTIdentityViewController.h
// Cyano
//
// Created by Yuanhai on 26/12/18.
// Copyright © 2018年 Yuanhai. All rights reserved.
//
#import "CTParentNavigationViewController.h"
@interface CTIdentityViewController : CTParentNavigationViewController
@end
| 18.714286 | 70 | 0.759542 |
2882419a998bb9fea97da3a881326bba0c7481bf | 555 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-27.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-27.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-27.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-pre -fno-code-hoisting" } */
int foo (int i, int j, int b)
{
int res = 0;
if (b)
res = i/j;
/* We should insert the possibly trapping i/j. */
res += i/j;
return res;
}
extern void bar (void);
int foo2 (int i, int j, int b)
{
int res = 0;
if (... | 19.821429 | 70 | 0.562162 |
930ce2130565652b13a29faaebbc8e273f324f59 | 950 | h | C | src/quick_sort.h | skeid21/sorting | 2dee1926e25d37e03acfcba147ba1d9c92458de0 | [
"MIT"
] | null | null | null | src/quick_sort.h | skeid21/sorting | 2dee1926e25d37e03acfcba147ba1d9c92458de0 | [
"MIT"
] | null | null | null | src/quick_sort.h | skeid21/sorting | 2dee1926e25d37e03acfcba147ba1d9c92458de0 | [
"MIT"
] | null | null | null | template <typename RANDOM_ACCESS_ITR>
RANDOM_ACCESS_ITR partition(RANDOM_ACCESS_ITR _first, RANDOM_ACCESS_ITR _last)
{
auto pivot = _last;
auto low = _first;
for (auto current = _first; current != _last; ++current)
{
if (*current < *pivot)
{
if (current != low)
{
... | 22.093023 | 78 | 0.588421 |
d25fd80f74c660cb6e9f125aa76605f01c32e3b8 | 2,705 | h | C | C/AT-wifi/inc/hal_wifi.h | huyht1205/coding | 6f046587faba107e99b007466fd6140c0de59574 | [
"MIT"
] | null | null | null | C/AT-wifi/inc/hal_wifi.h | huyht1205/coding | 6f046587faba107e99b007466fd6140c0de59574 | [
"MIT"
] | null | null | null | C/AT-wifi/inc/hal_wifi.h | huyht1205/coding | 6f046587faba107e99b007466fd6140c0de59574 | [
"MIT"
] | null | null | null | #ifndef HAL_WIFI_H
#define HAL_WIFI_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#ifdef __arm__
#include "wifi_at_cmd.h"
#else
#include "wifi_posix_socket.h"
#endif // __arm
typedef enum {
WIFI_OK = 0,
WIFI_ERROR,
WIFI_BUSY,
} HAL_WifiStatus;
#define MAX_CLIENT_NUM 9
/**
* @b... | 29.086022 | 98 | 0.733457 |
9a6e72a9b21ebfcb768bbbb0242fa65a0734d907 | 100,298 | h | C | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/storagetransfer/v1/transfer.pb.h | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/storagetransfer/v1/transfer.pb.h | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 11 | 2019-06-02T23:50:17.000Z | 2022-02-04T23:58:56.000Z | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/storagetransfer/v1/transfer.pb.h | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/storagetransfer/v1/transfer.proto
#ifndef PROTOBUF_google_2fstoragetransfer_2fv1_2ftransfer_2eproto__INCLUDED
#define PROTOBUF_google_2fstoragetransfer_2fv1_2ftransfer_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/com... | 43.702832 | 181 | 0.753215 |
82a98ddc5b99a2ae7a882dac39cf95a6404d557b | 6,678 | h | C | Office-ProPlus-Deployment/Microsoft.ProPlus.InstallGenerator/Microsoft.OfficeProPlus.MSIGenerator/Wix_bin/SDK/inc/IBootstrapperEngine.h | cvvamsi/Office-IT-Pro-Deployment-Scripts | e0283abbde0f5d322403acc4868c3d3c57b50c8e | [
"MIT"
] | 9 | 2016-01-27T14:46:09.000Z | 2020-03-10T21:00:20.000Z | Office-ProPlus-Deployment/Microsoft.ProPlus.InstallGenerator/Microsoft.OfficeProPlus.MSIGenerator/Wix_bin/SDK/inc/IBootstrapperEngine.h | golfkinguk/Office-IT-Pro-Deployment-Scripts | e0283abbde0f5d322403acc4868c3d3c57b50c8e | [
"MIT"
] | 1 | 2020-12-22T08:11:32.000Z | 2020-12-22T08:11:32.000Z | Office-ProPlus-Deployment/Microsoft.ProPlus.InstallGenerator/Microsoft.OfficeProPlus.MSIGenerator/Wix_bin/SDK/inc/IBootstrapperEngine.h | golfkinguk/Office-IT-Pro-Deployment-Scripts | e0283abbde0f5d322403acc4868c3d3c57b50c8e | [
"MIT"
] | 6 | 2019-11-03T11:56:46.000Z | 2020-08-05T15:03:28.000Z | //-------------------------------------------------------------------------------------------------
// <copyright file="IBootstrapperEngine.h" company="Outercurve Foundation">
// Copyright (c) 2004, Outercurve Foundation.
// This software is released under Microsoft Reciprocal License (MS-RL).
// The license and ... | 28.660944 | 127 | 0.696167 |
191d6e118c716bd6ba567a34cf10450ac14b4bb3 | 309 | h | C | Dev/Cpp/Effekseer/Effekseer/Culling/Culling3D.ReferenceObject.h | emadurandal/Effekseer | c5cb963c9a8483258a9f972bd681b0c08b2ceef3 | [
"Apache-2.0",
"BSD-3-Clause"
] | 957 | 2015-01-03T11:44:51.000Z | 2022-03-29T06:50:43.000Z | Dev/Cpp/Effekseer/Effekseer/Culling/Culling3D.ReferenceObject.h | emadurandal/Effekseer | c5cb963c9a8483258a9f972bd681b0c08b2ceef3 | [
"Apache-2.0",
"BSD-3-Clause"
] | 305 | 2015-01-03T04:04:43.000Z | 2022-03-28T13:29:11.000Z | Dev/Cpp/Effekseer/Effekseer/Culling/Culling3D.ReferenceObject.h | emadurandal/Effekseer | c5cb963c9a8483258a9f972bd681b0c08b2ceef3 | [
"Apache-2.0",
"BSD-3-Clause"
] | 175 | 2015-01-22T11:58:49.000Z | 2022-03-28T07:41:56.000Z |
#pragma once
#include "Culling3D.h"
namespace Culling3D
{
class ReferenceObject : public IReference
{
private:
int32_t m_reference;
public:
ReferenceObject();
virtual ~ReferenceObject();
virtual int32_t AddRef();
virtual int32_t GetRef();
virtual int32_t Release();
};
} // namespace Culling3D
| 12.36 | 41 | 0.737864 |
aae13343bcec92582e8e5de70a3395b7cdc29de9 | 7,760 | h | C | release/src-ra-4300/linux/linux-2.6.36.x/drivers/gpu/drm/nouveau/nv50_evo.h | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 129 | 2015-02-20T16:33:33.000Z | 2022-03-24T20:17:26.000Z | release/src-ra-4300/linux/linux-2.6.36.x/drivers/gpu/drm/nouveau/nv50_evo.h | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 11 | 2015-07-27T07:47:02.000Z | 2022-01-15T16:39:39.000Z | release/src-ra-4300/linux/linux-2.6.36.x/drivers/gpu/drm/nouveau/nv50_evo.h | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 46 | 2015-01-07T03:42:21.000Z | 2022-03-24T20:17:52.000Z | /*
* Copyright (C) 2008 Maarten Maathuis.
* All Rights Reserved.
*
* 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... | 68.070175 | 80 | 0.564691 |
c559bcafcf49393fcf1782c6cf1bd86ef5e89320 | 14,685 | h | C | pxr/usd/lib/usdLux/listAPI.h | octarrow/USD | 1845291a9701ab0a3a7d591bc243a1a80fdcba8a | [
"Unlicense"
] | 3 | 2019-02-20T07:34:17.000Z | 2019-08-13T08:17:04.000Z | pxr/usd/lib/usdLux/listAPI.h | octarrow/USD | 1845291a9701ab0a3a7d591bc243a1a80fdcba8a | [
"Unlicense"
] | null | null | null | pxr/usd/lib/usdLux/listAPI.h | octarrow/USD | 1845291a9701ab0a3a7d591bc243a1a80fdcba8a | [
"Unlicense"
] | 1 | 2019-10-04T21:57:06.000Z | 2019-10-04T21:57:06.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 39.475806 | 123 | 0.669186 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.