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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a9ec60846d8d2c8892c3ffac8a05595efd9f807 | 377 | h | C | Example/UICollectionView-YCHLayoutCacheCell/YCHFeedModel.h | onekyle/UICollectionView-YCHLayoutCacheCell | 2ff6d7a9721d0758a11e81a34b6b4c0a2f878a4a | [
"MIT"
] | null | null | null | Example/UICollectionView-YCHLayoutCacheCell/YCHFeedModel.h | onekyle/UICollectionView-YCHLayoutCacheCell | 2ff6d7a9721d0758a11e81a34b6b4c0a2f878a4a | [
"MIT"
] | null | null | null | Example/UICollectionView-YCHLayoutCacheCell/YCHFeedModel.h | onekyle/UICollectionView-YCHLayoutCacheCell | 2ff6d7a9721d0758a11e81a34b6b4c0a2f878a4a | [
"MIT"
] | null | null | null | //
// YCHFeedModel.h
// UICollectionView-YCHLayoutCacheCell
//
// Created by Kyle on 10/9/17.
// Copyright © 2017年 ych.wang@outlook.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface YCHFeedModel : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *... | 20.944444 | 64 | 0.729443 |
00a7b95a7f9020a853b450ee714ce97d055a8731 | 328 | h | C | hello/hello_Z4_1/include/platform_inits.h | dapperfu/mpc5748G_examples | 6ba2fd8cfa312d59036284e368a3cca2aba7df4b | [
"Unlicense"
] | 3 | 2021-03-29T14:14:15.000Z | 2021-09-09T06:19:47.000Z | hello/hello_Z4_1/include/platform_inits.h | dapperfu/mpc5748G_examples | 6ba2fd8cfa312d59036284e368a3cca2aba7df4b | [
"Unlicense"
] | 1 | 2020-10-14T14:15:21.000Z | 2020-10-14T14:15:21.000Z | hello/hello_Z4_1/include/platform_inits.h | dapperfu/mpc5748G_examples | 6ba2fd8cfa312d59036284e368a3cca2aba7df4b | [
"Unlicense"
] | 1 | 2021-01-11T05:35:00.000Z | 2021-01-11T05:35:00.000Z | /*
* platform_inits.h
*
* Created on: Feb 24, 2016
* Author: B55457
*/
#ifndef PLATFORM_INITS_H_
#define PLATFORM_INITS_H_
#include "project.h"
void memory_config_16mhz(void);
void memory_config_160mhz(void);
void crossbar_config(void);
void bridges_config(void);
#endif /* PLATFORM_INITS... | 17.263158 | 33 | 0.695122 |
7a941769ace4b53ab05dc1c155a676dec92e2384 | 795 | c | C | sorts/quicksort.c | 115100/algos | bc5d33a4aab5c072b0e48c5cf57b9c1799a84937 | [
"BSD-3-Clause"
] | null | null | null | sorts/quicksort.c | 115100/algos | bc5d33a4aab5c072b0e48c5cf57b9c1799a84937 | [
"BSD-3-Clause"
] | null | null | null | sorts/quicksort.c | 115100/algos | bc5d33a4aab5c072b0e48c5cf57b9c1799a84937 | [
"BSD-3-Clause"
] | null | null | null | // Theoretical O(nLog(n)) average algorithm.
#include "quicksort.h"
#include "utils.h"
int medianOfThree(int A[], long lo, long hi)
{
int mid = hi - (hi - lo) / 2;
if (A[lo] > A[hi])
swap(A, lo, hi);
if (A[lo] > A[mid])
swap(A, lo, mid);
if (A[mid] > A[hi])
swap(A, mid, hi);
return A[mid];
}
int partit... | 13.25 | 44 | 0.540881 |
1a5facb5c6738e4fd3174aae23627a12253171bc | 2,903 | h | C | ir_viewer/include/falsecolor.h | ethz-asl/FLIR_tools | b969dbeaddc102977b87efb64cc1573f0a0eb176 | [
"Apache-2.0"
] | 9 | 2016-08-26T15:21:24.000Z | 2022-02-11T12:04:00.000Z | ir_viewer/include/falsecolor.h | ethz-asl/FLIR_tools | b969dbeaddc102977b87efb64cc1573f0a0eb176 | [
"Apache-2.0"
] | 1 | 2021-01-21T20:19:57.000Z | 2021-01-21T20:19:57.000Z | ir_viewer/include/falsecolor.h | ethz-asl/FLIR_tools | b969dbeaddc102977b87efb64cc1573f0a0eb176 | [
"Apache-2.0"
] | 3 | 2016-12-08T17:42:09.000Z | 2019-12-26T14:31:22.000Z | /*
*
* Copyright (c) 2013, Simon Lynen, ASL, ETH Zurich, Switzerland
* You can contact the authors at <firstname.lastname at ethz dot ch>
*
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | 30.882979 | 159 | 0.738202 |
060209aac1a076b754b493faa869ccae9b00b805 | 10,423 | h | C | Engine/Include/Core/Types/Array.h | SparkyPotato/Ignis | 40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c | [
"MIT"
] | 1 | 2021-02-27T15:42:47.000Z | 2021-02-27T15:42:47.000Z | Engine/Include/Core/Types/Array.h | SparkyPotato/Ignis | 40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c | [
"MIT"
] | null | null | null | Engine/Include/Core/Types/Array.h | SparkyPotato/Ignis | 40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c | [
"MIT"
] | null | null | null | /// Copyright (c) 2021 Shaye Garg.
/// \file
/// Arrays and ArrayRefs.
#pragma once
#include <initializer_list>
#include "Core/Memory/Memory.h"
#include "Core/Memory/RawAllocator.h"
#include "Core/Misc/Assert.h"
#include "Core/Types/Traits.h"
namespace Ignis {
/// View into an Array, SafeArray, SmallArray, or Stack... | 21.535124 | 107 | 0.634366 |
ff41cdff020a725e2be8ab5abba63c6174365e66 | 4,980 | h | C | dyn_array.h | xexyl/mkiocccentry | 4df499940f269cbd2f2b6d733f29cf5b213bd2ad | [
"Unlicense"
] | 12 | 2021-12-28T20:37:08.000Z | 2022-02-27T10:12:35.000Z | dyn_array.h | xexyl/mkiocccentry | 4df499940f269cbd2f2b6d733f29cf5b213bd2ad | [
"Unlicense"
] | 130 | 2022-01-16T05:50:35.000Z | 2022-03-31T22:11:29.000Z | dyn_array.h | xexyl/mkiocccentry | 4df499940f269cbd2f2b6d733f29cf5b213bd2ad | [
"Unlicense"
] | 14 | 2022-01-16T06:05:49.000Z | 2022-03-02T11:11:26.000Z | /*
* dyn_array - dynamic array facility
*
* Copyright (c) 2014,2015,2022 by Landon Curt Noll. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby granted,
* provided that the above copyright, this permission not... | 32.54902 | 115 | 0.725502 |
9eaef56878760f72c1966ab02621991d06534d27 | 334 | c | C | d/koenig/weapon/broad.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/koenig/weapon/broad.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/koenig/weapon/broad.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | inherit "/std/weapon";
create() {
::create();
set_id(({ "sword", "broad sword", "broad" }));
set_name("broad");
set_short("A broad sword");
set_long(
"This is a shiny, well kept broad sword. "
);
set_weight(4);
set_size(2);
set("value", 10);
set_wc(2,4);
set_large_wc(1,6);
set_typ... | 18.555556 | 49 | 0.568862 |
7fb8b81654291c8a65894f2b7de688b9d48bf60c | 4,808 | h | C | libMXF++/File.h | Limecraft/ebu-libmxfpp | 8148d928a13c13738dcc95c328c3609322d67203 | [
"BSD-3-Clause"
] | 4 | 2015-06-09T22:02:39.000Z | 2021-04-13T20:48:53.000Z | libMXF++/File.h | Limecraft/ebu-libmxfpp | 8148d928a13c13738dcc95c328c3609322d67203 | [
"BSD-3-Clause"
] | null | null | null | libMXF++/File.h | Limecraft/ebu-libmxfpp | 8148d928a13c13738dcc95c328c3609322d67203 | [
"BSD-3-Clause"
] | 1 | 2021-07-09T19:53:27.000Z | 2021-07-09T19:53:27.000Z | /*
* Copyright (C) 2008, British Broadcasting Corporation
* All Rights Reserved.
*
* Author: Philip de Nier
*
* 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 t... | 31.019355 | 80 | 0.72421 |
cfa65093d78f0d6d24973133c1f3acae55f64931 | 261 | h | C | rt-boot/common/include/reboot/reboot.h | MagicPrince666/rt-boot | 2ecfcd35c2fcd94db33acbcb4c83b357ed3d7625 | [
"MIT"
] | 97 | 2018-11-17T19:06:39.000Z | 2022-03-24T16:44:40.000Z | rt-boot/common/include/reboot/reboot.h | MagicPrince666/rt-boot | 2ecfcd35c2fcd94db33acbcb4c83b357ed3d7625 | [
"MIT"
] | 5 | 2018-11-18T15:39:06.000Z | 2019-10-30T05:22:52.000Z | rt-boot/common/include/reboot/reboot.h | MagicPrince666/rt-boot | 2ecfcd35c2fcd94db33acbcb4c83b357ed3d7625 | [
"MIT"
] | 43 | 2018-11-19T15:37:44.000Z | 2022-01-05T03:08:11.000Z | /*
* SOC common registers and helper function/macro definitions
*
* Copyright (C) 2016 Piotr Dymacz <piotr@dymacz.pl>
*
* SPDX-License-Identifier: GPL-2.0
*/
#ifndef __REBOOT_H_
#define __REBOOT_H_
void system_reboot(void);
#endif /* _SOC_COMMON_H_ */
| 17.4 | 61 | 0.724138 |
36f661a8617340c50d413248161a4c4d3acecefe | 3,796 | h | C | breakpad/src/processor/basic_code_modules.h | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | src/oslibs/google_breakpad/google-breakpad-read-only/src/processor/basic_code_modules.h | dios-game/dios | ce947382bcc8692ea70533d6def112a2838a9d0e | [
"MIT"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | breakpad/src/processor/basic_code_modules.h | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.000Z | // Copyright (c) 2006, Google Inc.
// 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... | 44.139535 | 78 | 0.760537 |
2c9c2520325090ad0790fb3367601a948d300581 | 11,632 | c | C | Source/Lib/Codec/EbPictureOperators.c | EwoutH/SVT-VP9 | 39bb49adfd63a34797c368a5937db0cb414d00c0 | [
"BSD-2-Clause-Patent"
] | null | null | null | Source/Lib/Codec/EbPictureOperators.c | EwoutH/SVT-VP9 | 39bb49adfd63a34797c368a5937db0cb414d00c0 | [
"BSD-2-Clause-Patent"
] | null | null | null | Source/Lib/Codec/EbPictureOperators.c | EwoutH/SVT-VP9 | 39bb49adfd63a34797c368a5937db0cb414d00c0 | [
"BSD-2-Clause-Patent"
] | 1 | 2020-01-30T17:40:00.000Z | 2020-01-30T17:40:00.000Z | /*
* Copyright(c) 2019 Intel Corporation
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
/*********************************
* Includes
*********************************/
#include "EbPictureOperators.h"
#define VARIANCE_PRECISION 16
#define MEAN_PRECISION (VARIANCE_PRECISION >> 1)
#include "Eb... | 24.233333 | 144 | 0.57273 |
2cd6cbd6ef1b58f3643734cd485e1eb7cd558e4a | 838 | h | C | Retro Virtual Machine/ViewControllers/rvmMachinesCollectionViewController.h | jcgamestoy/retrovm1 | 8d03a8d7f8e7483815c24493bc53c56ced13872f | [
"MIT"
] | 5 | 2021-08-31T14:21:42.000Z | 2021-09-19T11:22:54.000Z | Retro Virtual Machine/ViewControllers/rvmMachinesCollectionViewController.h | jcgamestoy/retrovm1 | 8d03a8d7f8e7483815c24493bc53c56ced13872f | [
"MIT"
] | null | null | null | Retro Virtual Machine/ViewControllers/rvmMachinesCollectionViewController.h | jcgamestoy/retrovm1 | 8d03a8d7f8e7483815c24493bc53c56ced13872f | [
"MIT"
] | null | null | null | //
// rvmMachinesCollectionViewController.h
// Retro Virtual Machine
//
// Created by Juan Carlos González Amestoy on 24/03/14.
// Copyright (c) 2014 Juan Carlos González Amestoy. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "rvmNavigationItemViewController.h"
#import "rvmSimpleCollectionView.h"
#import... | 28.896552 | 121 | 0.801909 |
32901a24546f5913b67cdced816f002de9edc6e3 | 13,216 | c | C | release/src/router/pppd/pppd/session.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src/router/pppd/pppd/session.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src/router/pppd/pppd/session.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*
* session.c - PPP session control.
*
* Copyright (c) 2007 Diego Rivera. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copy... | 31.317536 | 78 | 0.624849 |
aab345493b9110f488b22857c565f6d8955352a5 | 447 | h | C | M3CoreData/Source/M3StoreObjectFactory.h | mcubedsw/M3CoreData | d323731e96342858a4aa6a405276456d3c5220ed | [
"MIT"
] | 2 | 2017-03-09T18:25:24.000Z | 2017-10-29T10:10:44.000Z | M3CoreData/Source/M3StoreObjectFactory.h | mcubedsw/M3CoreData | d323731e96342858a4aa6a405276456d3c5220ed | [
"MIT"
] | null | null | null | M3CoreData/Source/M3StoreObjectFactory.h | mcubedsw/M3CoreData | d323731e96342858a4aa6a405276456d3c5220ed | [
"MIT"
] | null | null | null | /*****************************************************************
M3StoreObjectFactory.h
M3CoreData
Created by Martin Pilkington on 21/01/2013.
Please read the LICENCE.txt for licensing information
*****************************************************************/
#import <Foundation/Foundation.h>
@protocol ... | 26.294118 | 87 | 0.557047 |
5cc24fb1e1641e1a78ae9db13615dd728b429c34 | 2,368 | h | C | HashTable.h | OzanCinci/Functional-Equivalent-of-a-Maps-Application | 0c471e1fc1152e56105fb0f7cec25bf9fab7bf71 | [
"MIT"
] | null | null | null | HashTable.h | OzanCinci/Functional-Equivalent-of-a-Maps-Application | 0c471e1fc1152e56105fb0f7cec25bf9fab7bf71 | [
"MIT"
] | null | null | null | HashTable.h | OzanCinci/Functional-Equivalent-of-a-Maps-Application | 0c471e1fc1152e56105fb0f7cec25bf9fab7bf71 | [
"MIT"
] | null | null | null | #ifndef __KEYED_HASH_TABLE_H__
#define __KEYED_HASH_TABLE_H__
#include <vector>
#include <string>
// Expand threshold is the multiplicative inverse of the 1/3 (%33)
// in order to prevent floating point math
#define EXPAND_THRESHOLD 3
// Only first 100 primes are defined, test cases would not exceed the maximum
// pr... | 30.753247 | 77 | 0.701436 |
a9361f41dcc587e344dd859e2284eb14a21dd0ef | 113 | c | C | bin/gzip/crypt.c | aaliomer/exos | 6a37c41cad910c373322441a9f23cfabdbfae275 | [
"BSD-3-Clause"
] | 1 | 2018-01-23T23:07:19.000Z | 2018-01-23T23:07:19.000Z | bin/gzip/crypt.c | aaliomer/exos | 6a37c41cad910c373322441a9f23cfabdbfae275 | [
"BSD-3-Clause"
] | null | null | null | bin/gzip/crypt.c | aaliomer/exos | 6a37c41cad910c373322441a9f23cfabdbfae275 | [
"BSD-3-Clause"
] | null | null | null | /* crypt.c (dummy version) -- do not perform encryption
* Hardly worth copyrighting :-)
*/
#ifdef RCSID
#endif
| 18.833333 | 55 | 0.690265 |
a94cfca19f88a06376ce245c63ccf6bac2b9cd91 | 11,895 | h | C | indra/llcommon/llcoros.h | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | null | null | null | indra/llcommon/llcoros.h | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | null | null | null | indra/llcommon/llcoros.h | SaladDais/LSO2-VM-Performance | d7ec9ad9daa9a2c9e48c5f06cd768606e3e50638 | [
"ISC"
] | null | null | null | /**
* @file llcoros.h
* @author Nat Goodspeed
* @date 2009-06-02
* @brief Manage running boost::coroutine instances
*
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it... | 35.507463 | 84 | 0.680034 |
049e290d67c4ade30504d57649aa1c55f81a3054 | 3,058 | h | C | src/include/common/event_util.h | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 1 | 2022-01-02T06:58:50.000Z | 2022-01-02T06:58:50.000Z | src/include/common/event_util.h | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 7 | 2020-04-06T19:31:12.000Z | 2020-05-12T23:05:09.000Z | src/include/common/event_util.h | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 2 | 2021-11-20T02:32:37.000Z | 2022-02-01T15:30:37.000Z | #pragma once
#include <event2/buffer.h>
#include <event2/bufferevent.h>
#include <event2/event.h>
#include <event2/listener.h>
#include "common/exception.h"
namespace terrier {
/**
* Static utility class with wrappers for libevent functions.
*
* Wrapper functions are functions with the same signature and return
... | 31.854167 | 114 | 0.700131 |
10fd6ddcd26c0cadc1d216f4c8f209ff57257378 | 716 | h | C | lib/air/src/collection/writer/UtilizationWriter.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null | lib/air/src/collection/writer/UtilizationWriter.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null | lib/air/src/collection/writer/UtilizationWriter.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null |
#ifndef AIR_COLLECTION_UTILIZATION_WRITER_H
#define AIR_COLLECTION_UTILIZATION_WRITER_H
#include "src/collection/writer/Writer.h"
#include "src/lib/Data.h"
namespace collection
{
class UtilizationWriter : public Writer
{
public:
UtilizationWriter(void)
{
}
virtual ~UtilizationWriter(void)
{
}... | 19.351351 | 83 | 0.687151 |
b7b4a558278ab1a41e1ec14a2246a31b0980cf7f | 813 | h | C | src/Loaders/Shared/CanFile.h | AmrikSadhra/FCE-To-Obj | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 212 | 2019-08-10T16:57:57.000Z | 2022-03-30T02:21:05.000Z | src/Loaders/Shared/CanFile.h | AmrikSadhra/FCE-To-Obj | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 11 | 2018-07-10T18:01:09.000Z | 2019-06-26T13:41:24.000Z | src/Loaders/Shared/CanFile.h | AmrikSadhra/FCE-to-OBJ | a3c928077add2bd5d5f3463daee6008f150a0a54 | [
"MIT"
] | 20 | 2020-02-09T02:38:35.000Z | 2022-03-23T20:26:28.000Z | #pragma once
#include "../Common/IRawData.h"
struct CameraAnimPoint
{
glm::ivec3 pt;
int16_t od1, od2, od3, od4; // OD2 seems to be something more than just rotation, like zoom or some shit
// OD3 seems to set perspective
// OD4 similar to OD1, i... | 28.034483 | 108 | 0.659287 |
a2c730aad319ded836cf234a73deb476321a78d4 | 359 | h | C | Classes/YYChatMarqueeLabelView.h | 673697831/YYChatMarqueeLabelView | 4621cc19181bec3e1beb1d99947bcec0a630d1a2 | [
"MIT"
] | null | null | null | Classes/YYChatMarqueeLabelView.h | 673697831/YYChatMarqueeLabelView | 4621cc19181bec3e1beb1d99947bcec0a630d1a2 | [
"MIT"
] | null | null | null | Classes/YYChatMarqueeLabelView.h | 673697831/YYChatMarqueeLabelView | 4621cc19181bec3e1beb1d99947bcec0a630d1a2 | [
"MIT"
] | null | null | null | //
// YYChatMarqueeLabel.h
// YYChatMarqueeLabel
//
// Created by ouzhirui on 2019/1/21.
// Copyright © 2019年 ozr. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "YYChatMarqueeText.h"
NS_ASSUME_NONNULL_BEGIN
@interface YYChatMarqueeLabelView : UIView
@property (nonatomic, strong) YYChatMarqueeText *mar... | 17.095238 | 61 | 0.760446 |
aeb141c3db68424fdd271be58fc4b136748d0125 | 1,132 | c | C | src/xrt/targets/common/target_instance_no_comp.c | leviathanch/monado | 36a540a764fd5529018dfceb28e10804db9596bf | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 2 | 2021-11-08T05:17:12.000Z | 2022-01-24T12:50:59.000Z | src/xrt/targets/common/target_instance_no_comp.c | SimulaVR/monado | b5d46eebf5f9b7f96a52639484a1b35d8ab3cd21 | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/xrt/targets/common/target_instance_no_comp.c | SimulaVR/monado | b5d46eebf5f9b7f96a52639484a1b35d8ab3cd21 | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Shared default implementation of the instance, but with no compositor
* usage
* @author Jakob Bornecrantz <jakob@collabora.com>
*/
#include "target_instance_parts.h"
static int
t_instance_create_system_compositor_stub(s... | 22.196078 | 86 | 0.69258 |
b7db9f8fb3d738e07deec5c238dab6e0bd950ae7 | 58,401 | h | C | lib/wlan/common/include/wlan/common/element.h | kong1191/garnet | 609c727895e477ac086db38c1cee654dc10f2008 | [
"BSD-3-Clause"
] | null | null | null | lib/wlan/common/include/wlan/common/element.h | kong1191/garnet | 609c727895e477ac086db38c1cee654dc10f2008 | [
"BSD-3-Clause"
] | null | null | null | lib/wlan/common/include/wlan/common/element.h | kong1191/garnet | 609c727895e477ac086db38c1cee654dc10f2008 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <fbl/type_support.h>
#include <wlan/common/bitfield.h>
#include <wlan/common/element_id.h>
#include <wlan/common/logging.h>
#include... | 36.477826 | 100 | 0.662609 |
4d149f984ecb4aa5654fab94d8c56e0dd6fbfb9b | 2,884 | h | C | dbms/src/Common/HashTable/FixedClearableHashMap.h | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Common/HashTable/FixedClearableHashMap.h | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Common/HashTable/FixedClearableHashMap.h | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 29.428571 | 113 | 0.648405 |
3116626a807fefdfaae356103fd4ca8238db229e | 626 | h | C | src/cpp/IdpResponse.h | VitalElement/IdpProtocol | 323531da023d853ddb59794d225fb7e39c0a6943 | [
"MIT"
] | 2 | 2018-10-02T19:06:41.000Z | 2019-03-14T02:20:08.000Z | src/cpp/IdpResponse.h | VitalElement/IdpProtocol | 323531da023d853ddb59794d225fb7e39c0a6943 | [
"MIT"
] | null | null | null | src/cpp/IdpResponse.h | VitalElement/IdpProtocol | 323531da023d853ddb59794d225fb7e39c0a6943 | [
"MIT"
] | null | null | null | // Copyright (c) VitalElement. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for
// full license information.
#pragma once
#include "IncomingTransaction.h"
/**
* IdpResponse
*/
class IdpResponse
{
private:
IdpResponseCode _responseCode;
uint16_t _response... | 21.586207 | 78 | 0.736422 |
035a86a48dd19def5d98327313f7ac34c1cf44a1 | 1,162 | h | C | tools/ifaceed/ifaceed/scripting/scenenodes/scenenodesoptionssetter.h | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 58 | 2015-08-09T14:56:35.000Z | 2022-01-15T22:06:58.000Z | tools/ifaceed/ifaceed/scripting/scenenodes/scenenodesoptionssetter.h | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 245 | 2015-08-08T08:44:22.000Z | 2022-01-04T09:18:08.000Z | tools/ifaceed/ifaceed/scripting/scenenodes/scenenodesoptionssetter.h | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 23 | 2015-12-06T03:57:49.000Z | 2020-10-12T14:15:50.000Z | /*! \file scenenodesoptionssetter.h
Describes a setter for options property of scene node (used for sad::Sprite2D and custom objects)
*/
#pragma once
#include "scenenodessetter.h"
namespace scripting
{
namespace scenenodes
{
/*! A setter for options property of sprite
*/
class OptionsSetter... | 27.023256 | 140 | 0.650602 |
03eed6ce162156915217f47fe90c510e3d4b695f | 927 | h | C | DashWallet/Sources/UI/Views/DWUIKit.h | magicwave/dashwallet-ios | 57ca6d4cc2cd8ea699f294580e6e3f62d25c3f22 | [
"MIT"
] | 51 | 2016-01-19T12:01:58.000Z | 2019-02-03T19:46:24.000Z | DashWallet/Sources/UI/Views/DWUIKit.h | magicwave/dashwallet-ios | 57ca6d4cc2cd8ea699f294580e6e3f62d25c3f22 | [
"MIT"
] | 32 | 2015-10-31T07:01:03.000Z | 2019-01-09T15:48:54.000Z | DashWallet/Sources/UI/Views/DWUIKit.h | magicwave/dashwallet-ios | 57ca6d4cc2cd8ea699f294580e6e3f62d25c3f22 | [
"MIT"
] | 38 | 2015-09-17T00:35:53.000Z | 2021-04-29T06:08:40.000Z | //
// Created by Andrew Podkovyrin
// Copyright © 2019 Dash Core Group. All rights reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Unles... | 28.090909 | 76 | 0.740022 |
03fb7da5048ae9a53cbf519459c1323c73bfcc63 | 958 | h | C | src/hash.h | jaitengill/crypt-local | 6e003ab5ee7f936a8e2def8b5e9f793f8e76d685 | [
"MIT"
] | 6 | 2015-01-08T09:58:37.000Z | 2022-02-16T03:45:58.000Z | src/hash.h | GabrielJacobson91/dcrypt | 988ecc26edf397abf82dca7217a0f6234b7cf4aa | [
"MIT"
] | 1 | 2015-05-29T16:13:18.000Z | 2015-05-29T16:13:18.000Z | src/hash.h | GabrielJacobson91/dcrypt | 988ecc26edf397abf82dca7217a0f6234b7cf4aa | [
"MIT"
] | 6 | 2015-01-09T13:04:13.000Z | 2022-02-16T03:45:59.000Z | #ifndef __NODE_DCRYPT_HASH_H__
#define __NODE_DCRYPT_HASH_H__
#include <v8.h>
#include <node.h>
#include <node_object_wrap.h>
#include <node_buffer.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "common.h"
using namespace ... | 21.288889 | 63 | 0.7119 |
26d3a2dcb451a105e6a2e5c12cce499aca8e4c22 | 11,155 | c | C | contrib/python/scikit-learn/py2/sklearn/svm/src/libsvm/libsvm_helper.c | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | contrib/python/scikit-learn/py2/sklearn/svm/src/libsvm/libsvm_helper.c | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | contrib/python/scikit-learn/py2/sklearn/svm/src/libsvm/libsvm_helper.c | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | #include <stdlib.h>
#include <numpy/arrayobject.h>
#include "svm.h"
/*
* Some helper methods for libsvm bindings.
*
* We need to access from python some parameters stored in svm_model
* but libsvm does not expose this structure, so we define it here
* along some utilities to convert from numpy arrays.
*
* Licen... | 26.496437 | 117 | 0.620977 |
c17ea9f92710a8bea110042974c1792d0199fd41 | 9,762 | h | C | CPPQEDcore/quantumdata/DensityOperator.h | vukics/cppqed | a933375f53b982b14cebf7cb63de300996ddd00b | [
"BSL-1.0"
] | 5 | 2021-02-21T14:00:54.000Z | 2021-07-29T15:12:11.000Z | CPPQEDcore/quantumdata/DensityOperator.h | vukics/cppqed | a933375f53b982b14cebf7cb63de300996ddd00b | [
"BSL-1.0"
] | 10 | 2020-04-14T11:18:02.000Z | 2021-07-04T20:11:23.000Z | CPPQEDcore/quantumdata/DensityOperator.h | vukics/cppqed | a933375f53b982b14cebf7cb63de300996ddd00b | [
"BSL-1.0"
] | 2 | 2021-01-25T10:16:35.000Z | 2021-01-28T18:29:01.000Z | // Copyright András Vukics 2006–2020. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
/// \briefFileDefault
#ifndef CPPQEDCORE_QUANTUMDATA_DENSITYOPERATOR_H_INCLUDED
#define CPPQEDCORE_QUANTUMDATA_DENSITYOPERATOR_H_INCLUDED
#include "QuantumDataFwd.h"
#include "ArrayBase... | 33.662069 | 187 | 0.71932 |
88c73a73ef6138494091967cbe28d6b47cf6240a | 637 | h | C | NewStock/View/GoodStockView/TaoIndexSkillBottomView.h | JiangYongKang/NewStock-iOS | 012dd017b89ff7a093bf79f882f46c56f0492e25 | [
"Apache-2.0"
] | null | null | null | NewStock/View/GoodStockView/TaoIndexSkillBottomView.h | JiangYongKang/NewStock-iOS | 012dd017b89ff7a093bf79f882f46c56f0492e25 | [
"Apache-2.0"
] | null | null | null | NewStock/View/GoodStockView/TaoIndexSkillBottomView.h | JiangYongKang/NewStock-iOS | 012dd017b89ff7a093bf79f882f46c56f0492e25 | [
"Apache-2.0"
] | null | null | null | //
// TaoIndexSkillBottomView.h
// NewStock
//
// Created by 王迪 on 2017/6/22.
// Copyright © 2017年 Willey. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol TaoIndexSkillBottomViewDelegate <NSObject>
- (void)taoIndexSkillBottomViewDelegatePushTo:(NSString *)url title:(NSString *)title;
@end
@interface ... | 19.30303 | 86 | 0.759812 |
bb0843809bdf4d282db528161ca1591c9070fdcb | 12,188 | h | C | FriendLink-Common/game_structures.h | m6jones/FriendLink | 8c7cae54ebc7f6673a76532edca2debc3c30d16c | [
"MIT"
] | 1 | 2020-01-23T21:33:52.000Z | 2020-01-23T21:33:52.000Z | FriendLink-Common/game_structures.h | m6jones/FriendLink | 8c7cae54ebc7f6673a76532edca2debc3c30d16c | [
"MIT"
] | null | null | null | FriendLink-Common/game_structures.h | m6jones/FriendLink | 8c7cae54ebc7f6673a76532edca2debc3c30d16c | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2016 Matthew Jones
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,... | 35.123919 | 125 | 0.708976 |
15f411d79366c210c58aff2a9fd84bcefc4ea119 | 4,635 | c | C | src/astrometry/util/test_starutil.c | zfedoran/astrometry.js | 38d14d490f33fc933c3d90226691dd1e685ced08 | [
"BSD-3-Clause"
] | 4 | 2018-02-13T23:11:40.000Z | 2021-09-30T16:02:22.000Z | src/astrometry/util/test_starutil.c | zfedoran/astrometry.js | 38d14d490f33fc933c3d90226691dd1e685ced08 | [
"BSD-3-Clause"
] | null | null | null | src/astrometry/util/test_starutil.c | zfedoran/astrometry.js | 38d14d490f33fc933c3d90226691dd1e685ced08 | [
"BSD-3-Clause"
] | 1 | 2019-02-11T06:56:30.000Z | 2019-02-11T06:56:30.000Z | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <unistd.h>
#include <stdio.h>
#include "starutil.h"
#include "cutest.h"
void test_ra2hmsstring(CuTest* tc) {
char rastr[32], decstr[32];
double hr;
double as;
ra2hmsstring(0, rastr);
CuAs... | 29.903226 | 91 | 0.626537 |
10a31d242609a3f0e185859e87aa822896d676e3 | 751 | h | C | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/TXCAudioEffect.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 30 | 2020-03-22T12:30:21.000Z | 2022-02-09T08:49:13.000Z | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/TXCAudioEffect.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | null | null | null | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/TXCAudioEffect.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 8 | 2020-03-22T12:30:23.000Z | 2020-09-22T04:01:47.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSString;
@interface TXCAudioEffect : NSObject
{
_Bool _publish;
int _effectId;
int _loo... | 25.896552 | 90 | 0.715047 |
a158a915109ac6c27f20eca57cd15398822f5158 | 1,737 | h | C | drivers/gpu/drm/tegra/plane.h | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | 2 | 2020-09-18T07:01:49.000Z | 2022-01-27T08:59:04.000Z | drivers/gpu/drm/tegra/plane.h | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | null | null | null | drivers/gpu/drm/tegra/plane.h | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | 4 | 2020-06-29T04:09:48.000Z | 2022-01-27T08:59:01.000Z | /* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2017 NVIDIA CORPORATION. All rights reserved.
*/
#ifndef TEGRA_PLANE_H
#define TEGRA_PLANE_H 1
#include <drm/drm_plane.h>
struct tegra_bo;
struct tegra_dc;
struct tegra_plane {
struct drm_plane base;
struct tegra_dc *dc;
unsigned int offset;
unsi... | 21.444444 | 73 | 0.772596 |
3159781e0c27667e3a1de892029e9fb3dabd78e2 | 1,382 | h | C | System/Library/PrivateFrameworks/ExchangeSync.framework/Frameworks/DAEAS.framework/ASAutodiscoverV2Task.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/ExchangeSync.framework/Frameworks/DAEAS.framework/ASAutodiscoverV2Task.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/ExchangeSync.framework/Frameworks/DAEAS.framework/ASAutodiscoverV2Task.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:26 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ExchangeSync.framework/Frameworks/DAEAS.framework/DAEAS
* classdump-dyld is licensed under GPLv3, Co... | 31.409091 | 111 | 0.78437 |
c8ce05bfc1c1c18f35b642e76d961cb94aa00db3 | 1,924 | c | C | week-1/credit.c | rogersanbr/cs50 | 9d81456fbf60c033efa895ac849a383d48782c98 | [
"Apache-2.0"
] | null | null | null | week-1/credit.c | rogersanbr/cs50 | 9d81456fbf60c033efa895ac849a383d48782c98 | [
"Apache-2.0"
] | null | null | null | week-1/credit.c | rogersanbr/cs50 | 9d81456fbf60c033efa895ac849a383d48782c98 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <regex.h>
#include <string.h>
#include <cs50.h>
bool is_number(string digits);
string is_valid(string digits);
bool validate_luhn_algorithm(string digits);
bool is_mastercard(string digits);
bool is_visa(string digits);
bool is_amex(string digits);
int main(void)
{
string digits = get_... | 18.32381 | 130 | 0.527027 |
eab74aed5c23d3d58282f5a80ffdb221b2e18bd3 | 7,451 | c | C | Mesa-7.11.2_GPGPU-Sim/src/mesa/drivers/dri/nouveau/nv20_state_tex.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2019-01-26T10:34:02.000Z | 2019-01-26T10:34:02.000Z | Mesa-7.11.2_GPGPU-Sim/src/mesa/drivers/dri/nouveau/nv20_state_tex.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | null | null | null | Mesa-7.11.2_GPGPU-Sim/src/mesa/drivers/dri/nouveau/nv20_state_tex.c | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2021-07-06T10:40:34.000Z | 2021-07-06T10:40:34.000Z | /*
* Copyright (C) 2009 Francisco Jerez.
* 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,... | 27.802239 | 73 | 0.737753 |
8ae42de8b6c9d038d966eb7aeed0814b82d08703 | 383 | h | C | Code/BBearEditor/Engine/Render/BufferObject/BBShaderStorageBufferObject.h | lishangdian/BBearEditor-2.0 | 1f4b463ef756ed36cc15d10abae822efc400c4d7 | [
"MIT"
] | 1 | 2021-09-01T08:19:34.000Z | 2021-09-01T08:19:34.000Z | Code/BBearEditor/Engine/Render/BufferObject/BBShaderStorageBufferObject.h | lishangdian/BBearEditor-2.0 | 1f4b463ef756ed36cc15d10abae822efc400c4d7 | [
"MIT"
] | null | null | null | Code/BBearEditor/Engine/Render/BufferObject/BBShaderStorageBufferObject.h | lishangdian/BBearEditor-2.0 | 1f4b463ef756ed36cc15d10abae822efc400c4d7 | [
"MIT"
] | null | null | null | #ifndef BBSHADERSTORAGEBUFFEROBJECT_H
#define BBSHADERSTORAGEBUFFEROBJECT_H
#include "BBVertexBufferObject.h"
class BBShaderStorageBufferObject : public BBVertexBufferObject
{
public:
BBShaderStorageBufferObject(int nVertexCount);
~BBShaderStorageBufferObject();
void bind() override;
void unbind() o... | 19.15 | 63 | 0.798956 |
d82d7e2d72b87de4f480826f7bca2e3b34984f3a | 20,706 | c | C | src/driver-logitech-g600.c | kyokenn/libratbag | 1e3a85433af41955424f237af1975243edeabefa | [
"MIT"
] | 1,531 | 2015-09-16T00:40:44.000Z | 2022-03-29T14:02:01.000Z | src/driver-logitech-g600.c | kyokenn/libratbag | 1e3a85433af41955424f237af1975243edeabefa | [
"MIT"
] | 979 | 2015-09-01T16:06:24.000Z | 2022-03-23T05:59:01.000Z | src/driver-logitech-g600.c | kyokenn/libratbag | 1e3a85433af41955424f237af1975243edeabefa | [
"MIT"
] | 271 | 2015-08-31T23:09:03.000Z | 2022-03-23T08:56:27.000Z | /*
* Copyright © 2018 Thomas Hindoe Paaboel Andersen.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modi... | 30.05225 | 113 | 0.748189 |
b32bade8289b61492c5633c9f86c176386cbd501 | 3,065 | h | C | ui/base/gestures/gesture_recognizer.h | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2017-03-21T23:19:25.000Z | 2019-02-03T05:32:47.000Z | ui/base/gestures/gesture_recognizer.h | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/base/gestures/gesture_recognizer.h | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_GESTURES_GESTURE_RECOGNIZER_H_
#define UI_BASE_GESTURES_GESTURE_RECOGNIZER_H_
#include <vector>
#include "base/memory/scoped_vector.... | 42.569444 | 80 | 0.726917 |
cad75b0e22a6286eb08e196044e13fd4368c9896 | 6,571 | h | C | TDEngine2/include/ecs/CSystemManager.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/include/ecs/CSystemManager.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/include/ecs/CSystemManager.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | /*!
\file CSystemManager.h
\date 29.09.2018
\authors Kasimov Ildar
*/
#pragma once
#include "ISystemManager.h"
#include "../core/CBaseObject.h"
#include "../utils/Utils.h"
#include "../core/Event.h"
#include <unordered_map>
#include <vector>
#include <list>
#include <algorithm>
#include <mutex>
namespace TDEngi... | 28.201717 | 141 | 0.730026 |
1e6ea5496384e01924015c29a80976e29f7ba66a | 1,516 | h | C | src/transactions/test/test_helper/WithdrawRequestHelper.h | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/transactions/test/test_helper/WithdrawRequestHelper.h | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/transactions/test/test_helper/WithdrawRequestHelper.h | RomanTkachenkoDistr/SwarmCore | db0544758e7bb3c879778cfdd6946b9a72ba23ab | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #pragma once
// Copyright 2014 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include <ledger/ReviewableRequestFrame.h>
#include "overlay/StellarXDR.h"
#inclu... | 36.095238 | 103 | 0.687995 |
f033fc4ff9622c814f43b98c31cdcd43d1ef7ffd | 557 | h | C | selection2.h | CelestialAmber/tobutobugirl-dx | 5c2ec21f800966c67825afe825765a082021b2da | [
"MIT"
] | 47 | 2019-10-28T21:49:06.000Z | 2022-03-06T12:21:38.000Z | selection2.h | CelestialAmber/tobutobugirl-dx | 5c2ec21f800966c67825afe825765a082021b2da | [
"MIT"
] | null | null | null | selection2.h | CelestialAmber/tobutobugirl-dx | 5c2ec21f800966c67825afe825765a082021b2da | [
"MIT"
] | 5 | 2019-10-29T02:38:16.000Z | 2021-09-12T02:51:03.000Z | #ifndef SELECTION2_MAP_H
#define SELECTION2_MAP_H
#define selection2_data_length 28U
#define selection2_data_length2 28U
#define selection2_tiles_width 16U
#define selection2_tiles_height 6U
#define selection2_tiles_offset 90U
#define selection2_palette_data_length 1U
#define selection2_palette_offset 3U
extern const u... | 32.764706 | 52 | 0.861759 |
29f4585bf8022b7ee233f5b16f33431f8a6f41ee | 3,404 | h | C | src/ajs_target.h | artynet/alljoyn-js | 1e910726267ae294012ee097e4effa82cc188d23 | [
"Apache-2.0"
] | null | null | null | src/ajs_target.h | artynet/alljoyn-js | 1e910726267ae294012ee097e4effa82cc188d23 | [
"Apache-2.0"
] | null | null | null | src/ajs_target.h | artynet/alljoyn-js | 1e910726267ae294012ee097e4effa82cc188d23 | [
"Apache-2.0"
] | null | null | null | #ifndef _AJS_TARGET_H
#define _AJS_TARGET_H
/**
* @file
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
* SPDX-License-Identifier: Apache-2.0
*
... | 33.70297 | 99 | 0.685664 |
7654729274eb39f28c13f1f70235520c19841272 | 1,455 | h | C | windows/wrapper/impl_org_webRtc_RTCCertificate.h | webrtc-uwp/webrtc-windows-apis | accb133e195da9b0e77f59d749a282d133a80f24 | [
"BSD-3-Clause"
] | 9 | 2019-03-27T12:19:29.000Z | 2022-01-25T05:13:55.000Z | windows/wrapper/impl_org_webRtc_RTCCertificate.h | webrtc-uwp/webrtc-windows-apis | accb133e195da9b0e77f59d749a282d133a80f24 | [
"BSD-3-Clause"
] | 8 | 2018-11-07T19:09:19.000Z | 2019-11-27T15:20:08.000Z | windows/wrapper/impl_org_webRtc_RTCCertificate.h | webrtc-uwp/webrtc-windows-apis | accb133e195da9b0e77f59d749a282d133a80f24 | [
"BSD-3-Clause"
] | 12 | 2019-06-06T14:15:26.000Z | 2022-01-24T13:35:30.000Z |
#pragma once
#include "types.h"
#include "generated/org_webRtc_RTCCertificate.h"
#include "impl_org_webRtc_pre_include.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "impl_org_webRtc_post_include.h"
namespace wrapper {
namespace impl {
namespace org {
namespace webRtc {
struct RTCCertificate ... | 32.333333 | 113 | 0.704467 |
6392e01da0d06c1715c60ad80db388da18fc254e | 2,188 | h | C | AlfrescoSDK/CMIS/AlfrescoCMIS/AlfrescoCMISUtil.h | Alfresco/alfresco-ios-sdk | c2290a19793e650a22bbfde505f7825f3107138a | [
"Apache-2.0"
] | 10 | 2015-01-12T16:42:25.000Z | 2021-05-25T13:37:51.000Z | AlfrescoSDK/CMIS/AlfrescoCMIS/AlfrescoCMISUtil.h | Alfresco/alfresco-ios-sdk | c2290a19793e650a22bbfde505f7825f3107138a | [
"Apache-2.0"
] | 10 | 2015-01-12T16:14:20.000Z | 2020-08-05T14:42:35.000Z | AlfrescoSDK/CMIS/AlfrescoCMIS/AlfrescoCMISUtil.h | Alfresco/alfresco-ios-sdk | c2290a19793e650a22bbfde505f7825f3107138a | [
"Apache-2.0"
] | 12 | 2015-02-13T07:43:03.000Z | 2021-05-25T13:37:53.000Z | /*
******************************************************************************
* Copyright (C) 2005-2020 Alfresco Software Limited.
*
* This file is part of the Alfresco Mobile SDK.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | 35.290323 | 109 | 0.626143 |
e4187a600ae548d6386c0b8bd0613e5b4ad52ed4 | 751 | h | C | source/slang/object-meta-begin.h | 0xafbf/slang | 43ce8d2a6aa654a8e6877b5423cf5d8d52636710 | [
"MIT"
] | 2 | 2019-02-11T11:17:42.000Z | 2019-03-16T03:20:33.000Z | source/slang/object-meta-begin.h | 0xafbf/slang | 43ce8d2a6aa654a8e6877b5423cf5d8d52636710 | [
"MIT"
] | null | null | null | source/slang/object-meta-begin.h | 0xafbf/slang | 43ce8d2a6aa654a8e6877b5423cf5d8d52636710 | [
"MIT"
] | null | null | null | // object-meta-begin.h
#ifndef SYNTAX_CLASS
#error The 'SYNTAX_CLASS' macro should be defined before including 'object-meta-begin.h'
#endif
#ifndef ABSTRACT_SYNTAX_CLASS
#define ABSTRACT_SYNTAX_CLASS(NAME, BASE) SYNTAX_CLASS(NAME, BASE)
#endif
#ifndef END_SYNTAX_CLASS
#define END_SYNTAX_CLASS() /* empty */
#endif
#... | 20.297297 | 88 | 0.757656 |
8d4e7ad0f403ae1f176480817815f69d46bb4a4f | 5,213 | c | C | Chapter16/carddeck_1c.c | Biswajeetray7/Learn-C-Programming | b5d7f9a6ab0d753089912f54f060b5b2cb3118cb | [
"MIT"
] | 105 | 2020-06-08T02:48:35.000Z | 2022-03-29T17:50:38.000Z | Chapter16/carddeck_1c.c | Biswajeetray7/Learn-C-Programming | b5d7f9a6ab0d753089912f54f060b5b2cb3118cb | [
"MIT"
] | 2 | 2021-06-01T16:56:48.000Z | 2021-12-04T06:51:59.000Z | Chapter16/carddeck_1c.c | Biswajeetray7/Learn-C-Programming | b5d7f9a6ab0d753089912f54f060b5b2cb3118cb | [
"MIT"
] | 37 | 2020-06-24T01:17:04.000Z | 2022-03-30T13:40:09.000Z | // carddeck_1c.c
// Chapter 16
// Learn C Programming
//
// carddeck_1c.c builds upon carddeck_1b.c.
// In this version, we add an array of structures, called Deck
// and some functions to manipulate the Deck array.
//
// compile with
//
// cc carddeck_1c.c -o carddeck_1c -Wall -Werror =std=c11
//
#include <stdbo... | 23.803653 | 71 | 0.532323 |
a55b1b930392e33f6de2eb33863df67eb8076d78 | 15,826 | c | C | lib/console.c | noahbliss/shim | c252b9ee94c342f9074a3e9064fd254eef203a63 | [
"BSD-2-Clause"
] | 1 | 2020-12-15T18:37:13.000Z | 2020-12-15T18:37:13.000Z | lib/console.c | noahbliss/shim | c252b9ee94c342f9074a3e9064fd254eef203a63 | [
"BSD-2-Clause"
] | null | null | null | lib/console.c | noahbliss/shim | c252b9ee94c342f9074a3e9064fd254eef203a63 | [
"BSD-2-Clause"
] | 3 | 2021-01-29T17:37:02.000Z | 2021-02-10T19:35:26.000Z | /*
* Copyright 2012 <James.Bottomley@HansenPartnership.com>
* Copyright 2013 Red Hat Inc. <pjones@redhat.com>
*
* see COPYING file
*/
#include <efi.h>
#include <efilib.h>
#include <stdarg.h>
#include <stdbool.h>
#include "shim.h"
static UINT8 console_text_mode = 0;
static int
count_lines(CHAR16 *str_arr[])
{
i... | 22.836941 | 72 | 0.672691 |
a57a4f0f772c93c93f42b86db4904ad1326cd4db | 16,929 | c | C | example/ofp_vs/main.c | mfhw/ofp | 064dba8b3da7e4a1ad9b639a581c7423ed1b7490 | [
"BSD-3-Clause"
] | null | null | null | example/ofp_vs/main.c | mfhw/ofp | 064dba8b3da7e4a1ad9b639a581c7423ed1b7490 | [
"BSD-3-Clause"
] | null | null | null | example/ofp_vs/main.c | mfhw/ofp | 064dba8b3da7e4a1ad9b639a581c7423ed1b7490 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016, lvsgate@163.com
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <getopt.h>
#include <string.h>
#include <signal.h>
#include <sys/socket.h>
#include "ofp.h"
#include "ofp_vs.h"
#define MAX_WORKERS 32
/**
* Parsed command line application arguments
*/
typ... | 24.253582 | 83 | 0.679721 |
a57f14911906b4a963aecc8d9b5470d8338fc2f8 | 487 | h | C | COMSC-165/PandemicLite/Program.h | aadiego/CollegeProjects | 404dc798f152ce10c974e16a88c7f81a6fdd9156 | [
"MIT"
] | null | null | null | COMSC-165/PandemicLite/Program.h | aadiego/CollegeProjects | 404dc798f152ce10c974e16a88c7f81a6fdd9156 | [
"MIT"
] | 18 | 2018-11-30T03:49:18.000Z | 2019-05-22T01:46:45.000Z | COMSC-165/PandemicLite/Program.h | aadiego/CollegeProjects | 404dc798f152ce10c974e16a88c7f81a6fdd9156 | [
"MIT"
] | null | null | null | #pragma once
#ifndef PROGRAM_H
#define PROGRAM_H
#include <string>
#include "Game.h"
using namespace std;
// Function Prototypes
bool parseCmdLineArgs(int, char* []);
void displayHelpMessage(string&);
void displayHowToPlayMessage();
// Variables and Constants
extern Game::Options options; // Hol... | 25.631579 | 125 | 0.720739 |
9d24c344ea89f3c643b98f62819267847a1fcfb4 | 5,190 | h | C | src/adera/Machines/Rocket.h | haennes/osp-magnum | 242958d71ab34a79250b9f426d97ab4dfdfc775f | [
"MIT"
] | null | null | null | src/adera/Machines/Rocket.h | haennes/osp-magnum | 242958d71ab34a79250b9f426d97ab4dfdfc775f | [
"MIT"
] | null | null | null | src/adera/Machines/Rocket.h | haennes/osp-magnum | 242958d71ab34a79250b9f426d97ab4dfdfc775f | [
"MIT"
] | null | null | null | /**
* Open Space Program
* Copyright © 2019-2020 Open Space Program Project
*
* MIT License
*
* 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 li... | 33.701299 | 80 | 0.718112 |
4fdc1c4d3d7ff5ea6bec02b615c766600a90ca75 | 4,492 | h | C | osprey/common/com/erirb.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/com/erirb.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/com/erirb.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 34.290076 | 73 | 0.680098 |
411731def71062f55016f0e4c20d3dfacd2903d6 | 1,160 | h | C | pj_tflite_style_transfer/ImageProcessor/StyleTransferEngine.h | bjarkirafn/play_with_tflite | ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0 | [
"Apache-2.0"
] | 1 | 2021-01-13T00:52:14.000Z | 2021-01-13T00:52:14.000Z | pj_tflite_style_transfer/ImageProcessor/StyleTransferEngine.h | chiminghui/play_with_tflite | 6359e7a4677ae70418f653a77e478d1fae1e3d40 | [
"Apache-2.0"
] | null | null | null | pj_tflite_style_transfer/ImageProcessor/StyleTransferEngine.h | chiminghui/play_with_tflite | 6359e7a4677ae70418f653a77e478d1fae1e3d40 | [
"Apache-2.0"
] | null | null | null | #ifndef STYLE_TRANSFER_ENGINE_
#define STYLE_TRANSFER_ENGINE_
/* for general */
#include <cstdint>
#include <cmath>
#include <string>
#include <vector>
#include <array>
#include <memory>
/* for OpenCV */
#include <opencv2/opencv.hpp>
/* for My modules */
#include "InferenceHelper.h"
class StyleTr... | 23.2 | 125 | 0.675 |
3f908c1f9f99c96932e971d3abcc8a02587dd09f | 954 | h | C | src/ui/SDL2/shared_state.h | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 349 | 2017-11-15T22:51:00.000Z | 2022-03-21T13:43:57.000Z | src/ui/SDL2/shared_state.h | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 12 | 2018-08-28T21:38:29.000Z | 2021-12-11T16:24:36.000Z | src/ui/SDL2/shared_state.h | MrKOSMOS/ANESE | 8ae814d615479b1496c98033a1f5bc4da5921c6f | [
"MIT"
] | 28 | 2018-06-10T07:31:13.000Z | 2022-03-21T10:54:26.000Z | #pragma once
#include <string>
#include <SDL.h>
#include "config.h"
#include "nes/cartridge/cartridge.h"
#include "nes/nes.h"
#include "nes/params.h"
class GUIModule;
struct SDL_Common {
SDL_GameController* controller = nullptr;
};
struct GUIStatus {
bool in_menu = true;
uint avg_fps = 60;
};
struct Share... | 17.345455 | 57 | 0.672956 |
8b6b4d8ebf029dd70d3ce7184fa55338bd2bc836 | 3,291 | h | C | Code/Framework/AzToolsFramework/AzToolsFramework/UI/Notifications/ToastBus.h | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Code/Framework/AzToolsFramework/AzToolsFramework/UI/Notifications/ToastBus.h | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Code/Framework/AzToolsFramework/AzToolsFramework/UI/Notifications/ToastBus.h | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#if !defined(Q_MOC_RUN)
#include <AzCore/EBus/EBus.h>
#include <AzCore/Component/Enti... | 35.771739 | 146 | 0.68186 |
6a5a00b1838d7b0b99b2db3a7ec9f181ee1190aa | 560 | h | C | MapillarySDK/MapillarySDK/MAPLoginManagerDelegate.h | mapillary/mapillary-sdk-ios | 22090ff19902960f2bf2a1143257e4a152391d5f | [
"MIT"
] | 15 | 2017-11-01T13:00:39.000Z | 2021-05-21T20:25:12.000Z | MapillarySDK/MapillarySDK/MAPLoginManagerDelegate.h | mapillary/mapillary-sdk-ios | 22090ff19902960f2bf2a1143257e4a152391d5f | [
"MIT"
] | 2 | 2018-12-04T12:31:53.000Z | 2020-12-07T18:20:36.000Z | MapillarySDK/MapillarySDK/MAPLoginManagerDelegate.h | mapillary/mapillary-sdk-ios | 22090ff19902960f2bf2a1143257e4a152391d5f | [
"MIT"
] | 3 | 2019-02-26T18:34:43.000Z | 2021-06-11T13:49:22.000Z | //
// MAPLoginManagerDelegate.h
// MapillarySDK
//
// Created by martensson on 2020-08-06.
//
#import <Foundation/Foundation.h>
@class MAPLoginManager;
@protocol MAPLoginManagerDelegate <NSObject>
@optional
/**
Delegate method for when the user was logged out.
@param loginManager The login manager object th... | 21.538462 | 101 | 0.748214 |
ac07196a0fa4c3708413ae0ad2385454ba8de2f0 | 5,046 | h | C | jni/Box2D/binding/dynamics/joints/com_wiyun_engine_box2d_dynamics_joints_WheelJoint.h | zchajax/WiEngine | ea2fa297f00aa5367bb5b819d6714ac84a8a8e25 | [
"MIT"
] | 39 | 2015-01-23T10:01:31.000Z | 2021-06-10T03:01:18.000Z | jni/Box2D/binding/dynamics/joints/com_wiyun_engine_box2d_dynamics_joints_WheelJoint.h | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 1 | 2015-04-15T08:07:47.000Z | 2015-04-15T08:07:47.000Z | jni/Box2D/binding/dynamics/joints/com_wiyun_engine_box2d_dynamics_joints_WheelJoint.h | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 20 | 2015-01-20T07:36:10.000Z | 2019-09-15T01:02:19.000Z | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_wiyun_engine_box2d_dynamics_joints_WheelJoint */
#ifndef _Included_com_wiyun_engine_box2d_dynamics_joints_WheelJoint
#define _Included_com_wiyun_engine_box2d_dynamics_joints_WheelJoint
#ifdef __cplusplus
extern "C" {
#endif
... | 33.64 | 101 | 0.82065 |
16c14332116b42006d6d1ce0d285c7da9ba3d079 | 1,618 | h | C | lib/lib_mixer.h | Fadoli/EasierSDL2 | 734cfe308db16e9eae175b0772254e8eb58ce372 | [
"MIT"
] | 1 | 2019-07-08T20:34:58.000Z | 2019-07-08T20:34:58.000Z | lib/lib_mixer.h | Fadoli/EasierSDL2 | 734cfe308db16e9eae175b0772254e8eb58ce372 | [
"MIT"
] | null | null | null | lib/lib_mixer.h | Fadoli/EasierSDL2 | 734cfe308db16e9eae175b0772254e8eb58ce372 | [
"MIT"
] | null | null | null | /**
* @file lib_mixer.h
* @author Franck Mourre (franck.mourre@gmail.com)
* @brief Wrapper around sounds / sounds volume and angles
* @version 0.1
* @date 2019-07-13
*
* @copyright Copyright (c) 2019
*/
#ifndef mixer_H
#define mixer_H
#include <SDL2/SDL_mixer.h>
/// viens de la lib sous sdl 1... | 20.481013 | 89 | 0.605686 |
cede0c0c4523a86ac2c579c37938abfe933bb7df | 3,656 | h | C | simulator/src/event_recorder.h | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 17 | 2021-07-10T13:22:26.000Z | 2022-02-09T20:11:39.000Z | simulator/src/event_recorder.h | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 4 | 2021-08-18T14:07:24.000Z | 2022-01-24T16:38:06.000Z | simulator/src/event_recorder.h | CMU-SAFARI/DAMOV | ed39a0642f22d551bed6ab6baaf91c89cc8a3855 | [
"MIT"
] | 2 | 2021-08-03T10:56:16.000Z | 2022-01-31T12:10:56.000Z | /** $lic$
* Copyright (C) 2012-2015 by Massachusetts Institute of Technology
* Copyright (C) 2010-2013 by The Board of Trustees of Stanford University
*
* This file is part of zsim.
*
* zsim is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as publishe... | 28.123077 | 79 | 0.6436 |
771b55c779125aacb097e0f0f8b702c713153c7d | 3,086 | c | C | lib/libc/mingw/math/tgammaf.c | shiimizu/zig | 7277670843d259d19093c8900b1f8445e41202ae | [
"MIT"
] | 1 | 2020-02-27T05:17:53.000Z | 2020-02-27T05:17:53.000Z | lib/libc/mingw/math/tgammaf.c | shiimizu/zig | 7277670843d259d19093c8900b1f8445e41202ae | [
"MIT"
] | 2 | 2019-07-01T17:05:03.000Z | 2019-08-27T19:42:45.000Z | lib/libc/mingw/math/tgammaf.c | shiimizu/zig | 7277670843d259d19093c8900b1f8445e41202ae | [
"MIT"
] | 1 | 2020-11-05T02:32:51.000Z | 2020-11-05T02:32:51.000Z | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include "cephes_mconf.h"
/* define MAXGAM 34.84425627277176174 */
/* Stirling's formula for the gamma... | 15.825641 | 77 | 0.562541 |
dca4e84addeab1300b2bbbe3a14104a13b3851c1 | 1,127 | c | C | bucket_17/arc/patches/patch-arcrun.c | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 17 | 2017-04-22T21:53:52.000Z | 2021-01-21T16:57:55.000Z | bucket_17/arc/patches/patch-arcrun.c | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 186 | 2017-09-12T20:46:52.000Z | 2021-11-27T18:15:14.000Z | bucket_17/arc/patches/patch-arcrun.c | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 74 | 2017-09-06T14:48:01.000Z | 2021-08-28T02:48:27.000Z | --- arcrun.c.orig 2013-06-27 02:00:19 UTC
+++ arcrun.c
@@ -96,7 +96,7 @@ runfile(hdr, num, arg) /* run a file */
strcpy(sys, buf);
else {
- if (warn) {
+ if (arcwarn) {
printf("File %s is not a .BAS, .BAT, .COM, or .EXE\n",
hdr->name);
nerrs++;
@@ -110,7 +110,7 @@ runfile(hdr, num, arg) /*... | 28.897436 | 71 | 0.4685 |
98aa5cbc892fc77dbe8c7e9547bd1505ba20eb8f | 1,603 | h | C | syn/core/grm_parser.h | asmwarrior/syncpp | df34b95b308d7f2e6479087d629017efa7ab9f1f | [
"Apache-2.0"
] | 1 | 2019-02-08T02:23:56.000Z | 2019-02-08T02:23:56.000Z | syn/core/grm_parser.h | asmwarrior/syncpp | df34b95b308d7f2e6479087d629017efa7ab9f1f | [
"Apache-2.0"
] | null | null | null | syn/core/grm_parser.h | asmwarrior/syncpp | df34b95b308d7f2e6479087d629017efa7ab9f1f | [
"Apache-2.0"
] | 1 | 2020-12-02T02:37:40.000Z | 2020-12-02T02:37:40.000Z | /*
* Copyright 2014 Anton Karmanov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 26.716667 | 103 | 0.736744 |
0731daff9f1e19940cce065fdda9eba28b55b99f | 496 | h | C | NO76/NO76.h | wanyakun/YKLeetCode | d27efca74a5af7ff1dc566b98900f33482721ca7 | [
"MIT"
] | null | null | null | NO76/NO76.h | wanyakun/YKLeetCode | d27efca74a5af7ff1dc566b98900f33482721ca7 | [
"MIT"
] | null | null | null | NO76/NO76.h | wanyakun/YKLeetCode | d27efca74a5af7ff1dc566b98900f33482721ca7 | [
"MIT"
] | null | null | null | //
// NO76.h
// NO76
//
// Created by wanyakun on 2020/11/12.
//
/**
76. 最小覆盖子串
给你一个字符串 s 、一个字符串 t 。返回 s 中涵盖 t 所有字符的最小子串。如果 s 中不存在涵盖 t 所有字符的子串,则返回空字符串 "" 。
注意:如果 s 中存在这样的子串,我们保证它是唯一的答案。
示例 1:
输入:s = "ADOBECODEBANC", t = "ABC"
输出:"BANC"
示例 2:
输入:s = "a", t = "a"
输出:"a"
提示:
1 <= s.length, t.len... | 11.809524 | 76 | 0.578629 |
e69d2f7ede377e7622d200a38cdd7992d1d03130 | 1,446 | h | C | Sprite_shared.h | lighterlightbulb/JFKMW | 693793def1c2beb6c92596a5aa99a69c6d48133d | [
"WTFPL"
] | null | null | null | Sprite_shared.h | lighterlightbulb/JFKMW | 693793def1c2beb6c92596a5aa99a69c6d48133d | [
"WTFPL"
] | null | null | null | Sprite_shared.h | lighterlightbulb/JFKMW | 693793def1c2beb6c92596a5aa99a69c6d48133d | [
"WTFPL"
] | null | null | null | #pragma once
string SPR_CODE[256]; //Cache
void preloadSpriteCache()
{
for (int i = 0; i < 256; i++) {
SPR_CODE[i] = "";
}
int sprs = 0;
for (int i = 0; i < 256; i++)
{
ifstream SprCode(path + "Code/Sprites/" + int_to_hex(i, true) + ".lua");
if (SprCode.is_open()) {
std::stringstream buffer;
buffer... | 21.264706 | 157 | 0.568465 |
9031cf11186a5ab622c5f09bb981b819d99db6f2 | 9,192 | h | C | tests/cuda2.2/sdk/rendercheck_gl.h | florianjacob/gpuocelot | fa63920ee7c5f9a86e264cd8acd4264657cbd190 | [
"BSD-3-Clause"
] | 221 | 2015-03-29T02:05:49.000Z | 2022-03-25T01:45:36.000Z | tests/cuda2.2/sdk/rendercheck_gl.h | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 106 | 2015-03-29T01:28:42.000Z | 2022-02-15T19:38:23.000Z | tests/cuda2.2/sdk/rendercheck_gl.h | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 83 | 2015-07-10T23:09:57.000Z | 2022-03-25T03:01:00.000Z | /*
* Copyright 1993-2009 NVIDIA Corporation. All rights reserved.
*
* NOTICE TO USER:
*
* This source code is subject to NVIDIA ownership rights under U.S. and
* international Copyright laws. Users and possessors of this source code
* are hereby granted a nonexclusive, royalty-free license to use this code
* ... | 34.556391 | 149 | 0.71943 |
9055309b8f8123d8f4ef283e9aedca031e8716c9 | 2,408 | c | C | ClassMaterials/CV_ProducerConsumer/prodcons_solution.c | 17hsteward/CSSE_WorkingPersonal | b51f3d174b0c3e07712ca68022b5e2256cda4c6c | [
"MIT"
] | null | null | null | ClassMaterials/CV_ProducerConsumer/prodcons_solution.c | 17hsteward/CSSE_WorkingPersonal | b51f3d174b0c3e07712ca68022b5e2256cda4c6c | [
"MIT"
] | null | null | null | ClassMaterials/CV_ProducerConsumer/prodcons_solution.c | 17hsteward/CSSE_WorkingPersonal | b51f3d174b0c3e07712ca68022b5e2256cda4c6c | [
"MIT"
] | null | null | null | #include <pthread.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
/**
* The goal of this activity is to implement the correct concurrency management
* for the producer/consumer problem using condition variables.
*/
const int loops = 100;
#define MAX 10
#define NUM_PRODUCERS 5
#def... | 23.153846 | 79 | 0.61794 |
11c688c1d7ecf74cd116bbf6a9b926f50320f62c | 255 | h | C | kernel/linux-5.4/arch/alpha/include/asm/syscall.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | kernel/linux-5.4/arch/alpha/include/asm/syscall.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | kernel/linux-5.4/arch/alpha/include/asm/syscall.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_ALPHA_SYSCALL_H
#define _ASM_ALPHA_SYSCALL_H
#include <uapi/linux/audit.h>
static inline int syscall_get_arch(struct task_struct *task)
{
return AUDIT_ARCH_ALPHA;
}
#endif /* _ASM_ALPHA_SYSCALL_H */
| 19.615385 | 60 | 0.780392 |
507c6d18616b63ad56ea04da2ccc1dd85f4a2cdf | 6,665 | c | C | ports/esp32s2/common-hal/wifi/ScannedNetworks.c | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 1 | 2021-08-08T18:53:00.000Z | 2021-08-08T18:53:00.000Z | ports/esp32s2/common-hal/wifi/ScannedNetworks.c | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | null | null | null | ports/esp32s2/common-hal/wifi/ScannedNetworks.c | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 2 | 2020-11-27T19:47:47.000Z | 2021-09-13T12:15:25.000Z | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Dan Halbert for Adafruit Industries
* Copyright (c) 2018 Artur Pacholec
* Copyright (c) 2017 Glenn Ruben Bakke
*
* Permission is hereby granted, free of charge, to any person obtaining a ... | 38.526012 | 105 | 0.628507 |
1f514105888608b2940bed011d16692d38ab63d1 | 107 | h | C | jt_helpers.h | barak/JoppyType | d2e64583084b2d3445ca4ffff26e17470311ed8b | [
"MIT"
] | null | null | null | jt_helpers.h | barak/JoppyType | d2e64583084b2d3445ca4ffff26e17470311ed8b | [
"MIT"
] | null | null | null | jt_helpers.h | barak/JoppyType | d2e64583084b2d3445ca4ffff26e17470311ed8b | [
"MIT"
] | 1 | 2020-03-25T14:01:35.000Z | 2020-03-25T14:01:35.000Z | SDL_Surface *loadImage(char *filename);
SDL_Texture *loadTexture(SDL_Renderer *renderer, char *filename);
| 26.75 | 65 | 0.803738 |
d3140765093897d47642312f8dab2e5dfa35e701 | 1,047 | c | C | hello_world.c | vcalderon2009/Cprogramming | 52fd9e15e38c6ba1023f816dfca51035935a08f9 | [
"MIT"
] | 7 | 2019-03-11T23:17:55.000Z | 2021-07-27T20:57:31.000Z | hello_world.c | vcalderon2009/Cprogramming | 52fd9e15e38c6ba1023f816dfca51035935a08f9 | [
"MIT"
] | 2 | 2019-03-11T23:05:01.000Z | 2019-04-30T22:56:21.000Z | hello_world.c | vcalderon2009/Cprogramming | 52fd9e15e38c6ba1023f816dfca51035935a08f9 | [
"MIT"
] | 15 | 2015-05-29T20:11:30.000Z | 2020-10-10T09:05:09.000Z | #include <stdio.h> // printf is defined in this header file
// This defines a function called "main"
// The return type is an int (integer)
// And it takes no arguments
//
// The main function is required for all
// C programs. It's where execution of the
// code begins. The return type must be an
// int.
int main(... | 29.914286 | 60 | 0.662846 |
2057b28bc3054877e725040f6985ebaea1aecd29 | 6,193 | h | C | base/DynamicVector.h | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 23 | 2015-08-13T07:36:00.000Z | 2022-01-24T19:00:04.000Z | base/DynamicVector.h | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | null | null | null | base/DynamicVector.h | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 6 | 2015-07-06T21:37:31.000Z | 2020-07-01T04:07:50.000Z | // Copyright Ryan Schmidt 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef _RMS_DYNAMIC_VECTOR_H
#define _RMS_DYNAMIC_VECTOR_H
#include <cstddef> // 'size_t'
#include "config.h"
#include <vector>
namespace rms
{
template<... | 24.971774 | 123 | 0.677539 |
2d26be2aedabdcfb4de1622e3969aa7ac29d695f | 2,921 | c | C | ips/block.c | aaaaaa123456789/bspbuild | 7563c218cc2eaaa271f9962f89e1d6d87d485622 | [
"Unlicense"
] | 4 | 2017-11-18T02:10:35.000Z | 2018-10-30T04:04:07.000Z | ips/block.c | aaaaaa123456789/xorbsp | 7563c218cc2eaaa271f9962f89e1d6d87d485622 | [
"Unlicense"
] | 4 | 2018-02-17T19:10:47.000Z | 2018-07-18T10:48:47.000Z | ips/block.c | aaaaaa123456789/bspbuild | 7563c218cc2eaaa271f9962f89e1d6d87d485622 | [
"Unlicense"
] | null | null | null | #include "proto.h"
void write_ips_blocks_for_data (const void * data, unsigned length, unsigned offset) {
if (!(data && length)) return;
unsigned block_size;
while (length) {
if (offset == IPS_EOF_MARKER) {
char * buf = malloc(length + 1);
*buf = ips_target[IPS_EOF_MARKER - 1];
memcpy(buf +... | 34.364706 | 112 | 0.678877 |
5a23da37994c4870b72058d35603a3637fa78156 | 2,147 | h | C | frameworks/entity/plugins/state/dmzEntityPluginAutoRestoreHealth.h | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | 2 | 2015-11-05T03:03:43.000Z | 2017-05-15T12:55:39.000Z | frameworks/entity/plugins/state/dmzEntityPluginAutoRestoreHealth.h | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | frameworks/entity/plugins/state/dmzEntityPluginAutoRestoreHealth.h | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | #ifndef DMZ_ENTITY_PLUGIN_AUTO_RESTORE_HEALTH_DOT_H
#define DMZ_ENTITY_PLUGIN_AUTO_RESTORE_HEALTH_DOT_H
#include <dmzObjectObserverUtil.h>
#include <dmzRuntimeLog.h>
#include <dmzRuntimePlugin.h>
#include <dmzRuntimeTimeSlice.h>
#include <dmzTypesHashTableHandleTemplate.h>
namespace dmz {
class EntityPluginAutoRe... | 27.883117 | 90 | 0.649278 |
6e8a1f4fbe9325bb2fb7f6c4d47d36ac977f750b | 806 | c | C | src/a0.c | rybchanivskyi/2D_Game-About-Fish- | 6d7b0896adcec19d236ce25c3736173668ba26de | [
"MIT"
] | 7 | 2019-08-15T11:53:40.000Z | 2019-11-06T13:57:39.000Z | src/a0.c | rybchanivskyi/2D_Game-About-Fish- | 6d7b0896adcec19d236ce25c3736173668ba26de | [
"MIT"
] | 1 | 2020-05-31T05:02:14.000Z | 2020-05-31T05:11:45.000Z | src/a0.c | viacheslavpleshkov/unit-factory-ucode-endgame | 38282684e90340a070144a3f5c19ecf53d7f126f | [
"MIT"
] | null | null | null | #include "header.h"
int A0(int randAy, int Ay0, int Ax0 , int *Ay0r) {
switch(randAy) {
case 0:
mvprintw(Ay0 + 1, Ax0, "<><");
Ax0 = Ax0 - 1;
*Ay0r = Ay0 + 1;
break;
case 1:
mvprintw(Ay0 + 10, Ax0, "<><");
Ax0 = Ax0 -1;
... | 23.705882 | 50 | 0.351117 |
0c620c29f92006fb5ab9d45df02d18886cb431c2 | 448 | c | C | lang/C/random-numbers.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 2 | 2017-06-10T14:21:53.000Z | 2017-06-26T18:52:29.000Z | lang/C/random-numbers.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C/random-numbers.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | #include <stdlib.h>
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
double drand() /* uniform distribution, (0..1] */
{
return (rand()+1.0)/(RAND_MAX+1.0);
}
double random_normal() /* normal distribution, centered on 0, std dev 1 */
{
return sqrt(-2*log(drand())) * cos(2*M_PI*drand());... | 19.478261 | 75 | 0.625 |
673f81f73f846d420659bffd64f49120e3c78235 | 130 | c | C | src/crypto/crypto_ops_builder/ref10CommentedCombined/fe_invert.c | OIEIEIO/ombre-working-old-chain-before-for-test | 4069cc254c3a142b2d40a665185e58130e3ded8d | [
"BSD-3-Clause"
] | 107 | 2018-07-03T19:35:21.000Z | 2022-01-12T09:05:44.000Z | src/crypto/crypto_ops_builder/ref10CommentedCombined/fe_invert.c | OIEIEIO/ombre-working-old-chain-before-for-test | 4069cc254c3a142b2d40a665185e58130e3ded8d | [
"BSD-3-Clause"
] | 87 | 2018-06-25T14:04:20.000Z | 2021-05-31T08:15:47.000Z | src/crypto/crypto_ops_builder/ref10CommentedCombined/fe_invert.c | OIEIEIO/ombre-working-old-chain-before-for-test | 4069cc254c3a142b2d40a665185e58130e3ded8d | [
"BSD-3-Clause"
] | 69 | 2018-06-25T05:41:34.000Z | 2022-03-09T08:57:37.000Z | #include "fe.h"
void fe_invert(fe out, const fe z)
{
fe t0;
fe t1;
fe t2;
fe t3;
int i;
#include "pow225521.h"
return;
}
| 8.666667 | 34 | 0.607692 |
67780c4b65730597e6d66d08e238b44669456823 | 1,511 | c | C | linux-4.14.90-dev/linux-4.14.90/arch/mips/jz4740/reset.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 34 | 2019-07-19T20:44:15.000Z | 2022-03-07T12:09:00.000Z | linux-4.14.90-dev/linux-4.14.90/arch/mips/jz4740/reset.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 5 | 2020-04-04T09:24:09.000Z | 2020-04-19T12:33:55.000Z | linux-4.14.90-dev/linux-4.14.90/arch/mips/jz4740/reset.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ver... | 23.246154 | 75 | 0.725347 |
7be6cd4f2f45de66183e360b33833e2171e32032 | 5,716 | c | C | netbsd/sys/arch/hpcmips/vr/com_vrip.c | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 1 | 2019-10-15T06:29:32.000Z | 2019-10-15T06:29:32.000Z | netbsd/sys/arch/hpcmips/vr/com_vrip.c | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | null | null | null | netbsd/sys/arch/hpcmips/vr/com_vrip.c | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 3 | 2017-01-09T02:15:36.000Z | 2019-10-15T06:30:25.000Z | /* $NetBSD: com_vrip.c,v 1.12 2002/02/02 10:50:09 takemura Exp $ */
/*-
* Copyright (c) 1999 SASAKI Takesi. All rights reserved.
* Copyright (c) 1999, 2002 PocketBSD Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | 28.157635 | 78 | 0.718509 |
bc2b696cbbe1b78e9f127c1a1c897c2309eadd13 | 834 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PromotionDAOManage.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PromotionDAOManage.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PromotionDAOManage.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class APCustomStorage;
@protocol PromotionDAOProxy;
@interface PromotionDAOManage : NSObject
{
id <Pro... | 26.0625 | 96 | 0.732614 |
421e84390f7f91ac6191a03f3bb08ed63e5e52e6 | 437 | h | C | linux/Chess/RuleManager.h | bricsi0000000000000/Chess | f1d93153bc7d2f25a117cdc81c69ac23b6407f87 | [
"MIT"
] | null | null | null | linux/Chess/RuleManager.h | bricsi0000000000000/Chess | f1d93153bc7d2f25a117cdc81c69ac23b6407f87 | [
"MIT"
] | null | null | null | linux/Chess/RuleManager.h | bricsi0000000000000/Chess | f1d93153bc7d2f25a117cdc81c69ac23b6407f87 | [
"MIT"
] | null | null | null | #ifndef RULEMANAGER_H
#define RULEMANAGER_H
#include <iostream>
#include <cmath>
#include "Piece.h"
#include "Position.h"
#include "PieceManager.h"
class RuleManager {
private:
~RuleManager();
RuleManager() {}
static RuleManager* instance;
public:
static RuleManager* Instance();
static bool CanStep(std::sh... | 19.863636 | 117 | 0.748284 |
223ad00b575c23c1ee47857c687e72589e83a879 | 4,487 | c | C | libsrc/_DEVELOPMENT/EXAMPLES/sms/SpaceHawks/screens/screen_title.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/EXAMPLES/sms/SpaceHawks/screens/screen_title.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/EXAMPLES/sms/SpaceHawks/screens/screen_title.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | #include <stdbool.h> //for true/false
#include <stddef.h> //for null
#include <arch/sms/SMSlib.h>
#include "../s8/joy.h"
#include "../s8/rastercolor.h"
#include "../s8/vdp.h"
#include "../game/game_hud.h"
#include "../game/game_setup.h"
#include "../game/game_text.h"
#include "../game/game_sound.h"
#include "../resourc... | 21.265403 | 84 | 0.689325 |
e82cc1e812afd9697318ea8f009cf5ae42e3400f | 2,677 | h | C | MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/SpeechPlugin.h | microsoft/Microsoft-OpenXR-Unreal | e7a21e859e2797d5881f3e5b383a22c0d960ec10 | [
"MIT"
] | 105 | 2020-11-24T17:24:36.000Z | 2022-03-31T05:33:24.000Z | MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/SpeechPlugin.h | fieldsJacksonG/Microsoft-OpenXR-Unreal | fccb12a31070bab0d45e8e948f809e6dbdde5937 | [
"MIT"
] | 20 | 2021-02-06T16:08:34.000Z | 2022-03-10T15:07:30.000Z | MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/SpeechPlugin.h | fieldsJacksonG/Microsoft-OpenXR-Unreal | fccb12a31070bab0d45e8e948f809e6dbdde5937 | [
"MIT"
] | 36 | 2020-11-26T15:14:50.000Z | 2022-03-30T21:34:42.000Z | // Copyright (c) 2020 Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#if PLATFORM_WINDOWS || PLATFORM_HOLOLENS
#include "OpenXRCommon.h"
#include "OpenXRCore.h"
#include "MicrosoftOpenXR.h"
#include "HeadMountedDisplayTypes.h"
#include "GameFramework/PlayerInput.h"
#include "GameFramework/Pl... | 31.494118 | 157 | 0.809862 |
0f06dc385daa40386333f53c2e74d681d33ddc99 | 14,441 | c | C | test-core.c | data-respons-solutions/libnvram | 6924f5136f45679d8fb3d87f2cd5d49628626cfe | [
"MIT"
] | null | null | null | test-core.c | data-respons-solutions/libnvram | 6924f5136f45679d8fb3d87f2cd5d49628626cfe | [
"MIT"
] | null | null | null | test-core.c | data-respons-solutions/libnvram | 6924f5136f45679d8fb3d87f2cd5d49628626cfe | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <inttypes.h>
#include "libnvram.h"
#include "test-common.h"
static int test_libnvram_header_size()
{
const uint32_t required = 24;
if (libnvram_header_len() != required) {
printf("libnvram_header_len != %u\n", required);
retu... | 23.329564 | 79 | 0.691434 |
45031c3862ff803302fcba0c9ab0e9f0fe6a58ec | 37 | h | C | iRemeber/Pods/Headers/Private/WCDB/os_wcdb.h | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 1,208 | 2016-01-28T05:21:36.000Z | 2022-03-30T11:50:00.000Z | Pods/Headers/Private/WCDB/os_wcdb.h | zhaijunyu/TLChat | 9a1ec8b623356813a9179750f9f3ca2112d52ecd | [
"MIT"
] | 55 | 2016-03-04T11:18:34.000Z | 2021-10-21T07:37:59.000Z | Pods/Headers/Private/WCDB/os_wcdb.h | zhaijunyu/TLChat | 9a1ec8b623356813a9179750f9f3ca2112d52ecd | [
"MIT"
] | 423 | 2016-02-15T13:47:07.000Z | 2022-03-10T09:07:44.000Z | ../../../WCDB/sqlcipher/src/os_wcdb.h | 37 | 37 | 0.648649 |
451b1fe6cd46e5c80b119e684abd2c17135212ea | 258 | c | C | examples/gdb/test2.c | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 7 | 2019-04-12T07:46:05.000Z | 2022-03-30T06:11:47.000Z | examples/gdb/test2.c | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 3 | 2018-03-05T20:35:50.000Z | 2022-03-28T13:09:44.000Z | examples/gdb/test2.c | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 10 | 2017-10-04T07:05:51.000Z | 2020-12-15T12:08:32.000Z | #include "stdlib.h"
#include "stdio.h"
// new function
int addition(int a, int b)
{
return a + b;
}
#define SIZE 3
int main(int argc, char **argv)
{
for (int i = 0; i < SIZE; i++)
{
printf("i=%d i+3=%d\n", i, addition(i, 3));
}
return 0;
}
| 12.285714 | 47 | 0.550388 |
ba53081ee856496eda803f419de9d540784d222b | 1,049 | h | C | src/Engine/sithTemplate.h | MacSourcePorts/OpenJKDF2 | 4e129d1429ff549fbf95945d5675865a154aabde | [
"0BSD"
] | null | null | null | src/Engine/sithTemplate.h | MacSourcePorts/OpenJKDF2 | 4e129d1429ff549fbf95945d5675865a154aabde | [
"0BSD"
] | null | null | null | src/Engine/sithTemplate.h | MacSourcePorts/OpenJKDF2 | 4e129d1429ff549fbf95945d5675865a154aabde | [
"0BSD"
] | null | null | null | #ifndef _SITHTEMPLATE_H
#define _SITHTEMPLATE_H
#include "types.h"
#include "globals.h"
#define sithTemplate_Startup_ADDR (0x004DD880)
#define sithTemplate_Shutdown_ADDR (0x004DD8A0)
#define sithTemplate_New_ADDR (0x004DD8C0)
#define sithTemplate_GetEntryByIdx_ADDR (0x004DD970)
#define sithTemplate_Load_ADDR (0x004DD... | 34.966667 | 66 | 0.845567 |
a7f6c5a96b9b6d9702f4ffb0afc02cf60d807455 | 920 | h | C | src/all/frm/core/world/components/LookAtComponent.h | john-chapman/GfxSampleFramework | 6c19d1c7fdf28d8a74884876aa8839b4b982d65a | [
"MIT"
] | 19 | 2017-02-22T21:02:44.000Z | 2021-05-19T16:41:30.000Z | src/all/frm/core/world/components/LookAtComponent.h | john-chapman/GfxSampleFramework | 6c19d1c7fdf28d8a74884876aa8839b4b982d65a | [
"MIT"
] | 68 | 2016-11-14T17:48:54.000Z | 2021-11-08T13:41:06.000Z | src/all/frm/core/world/components/LookAtComponent.h | john-chapman/GfxSampleFramework | 6c19d1c7fdf28d8a74884876aa8839b4b982d65a | [
"MIT"
] | 7 | 2017-05-05T17:49:02.000Z | 2020-12-31T06:51:13.000Z | #pragma once
#include "Component.h"
namespace frm {
////////////////////////////////////////////////////////////////////////////////
// LookAtComponent
////////////////////////////////////////////////////////////////////////////////
FRM_COMPONENT_DECLARE(LookAtComponent)
{
public:
static void Update(Component** _f... | 27.878788 | 97 | 0.6 |
f1e547ef6b4c21c576f45edd53e743da1459b57f | 373 | h | C | SDL2Sandbox/SDL2Sandbox/Renderers/BaseRenderer.h | playdeezgames/SDL2Sandbox | bd71595f6b890d00fdf91341b467d1cd9fe755c5 | [
"MIT"
] | null | null | null | SDL2Sandbox/SDL2Sandbox/Renderers/BaseRenderer.h | playdeezgames/SDL2Sandbox | bd71595f6b890d00fdf91341b467d1cd9fe755c5 | [
"MIT"
] | null | null | null | SDL2Sandbox/SDL2Sandbox/Renderers/BaseRenderer.h | playdeezgames/SDL2Sandbox | bd71595f6b890d00fdf91341b467d1cd9fe755c5 | [
"MIT"
] | null | null | null | #pragma once
#include "..\Common\Application.h"
#include "..\Managers\RomFontManager.h"
class BaseRenderer : public tggd::common::Renderer
{
private:
SDL_Renderer* renderer;
const RomFontManager& romFontManager;
protected:
SDL_Renderer* GetMainRenderer() const;
const RomFontManager& GetRomFont() const;
public:
Bas... | 23.3125 | 52 | 0.77748 |
24cce1f9479ac5f7b2b3147a0f8a112b2cb9708f | 8,816 | c | C | mon/mons_handlers.c | janetuk/trust_router | 2f4ae52389bf44238b4b45c6818152c17c37c34a | [
"BSD-3-Clause"
] | 2 | 2015-05-21T19:15:17.000Z | 2016-03-29T22:47:32.000Z | mon/mons_handlers.c | janetuk/trust_router | 2f4ae52389bf44238b4b45c6818152c17c37c34a | [
"BSD-3-Clause"
] | 2 | 2015-03-09T15:26:20.000Z | 2016-03-17T13:13:46.000Z | mon/mons_handlers.c | janetuk/trust_router | 2f4ae52389bf44238b4b45c6818152c17c37c34a | [
"BSD-3-Clause"
] | 2 | 2016-03-17T11:18:02.000Z | 2017-11-07T10:20:10.000Z | /*
* Copyright (c) 2018, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 33.907692 | 104 | 0.690222 |
2ab2cf88b69d15060997873f72d8055e5d9ac66a | 1,766 | h | C | source/kernel.h | mgowanlock/gpu_lomb_scargle | a99dd11e49a8e72620dd926b8e37a42d7bf996c6 | [
"MIT"
] | 4 | 2021-05-11T07:51:50.000Z | 2021-10-31T21:25:51.000Z | source/kernel.h | mgowanlock/gpu_lomb_scargle | a99dd11e49a8e72620dd926b8e37a42d7bf996c6 | [
"MIT"
] | null | null | null | source/kernel.h | mgowanlock/gpu_lomb_scargle | a99dd11e49a8e72620dd926b8e37a42d7bf996c6 | [
"MIT"
] | null | null | null | #include "structs.h"
#include <math.h>
//Only include parameters file if we're not creating the shared library
#ifndef PYTHON
#include "params.h"
#endif
__global__ void lombscarglegpuonethread(DTYPE * x, DTYPE * y, DTYPE * freqs, unsigned int * sizexy, unsigned int * sizefreqs, DTYPE * pgram);
__global__ void lombsca... | 92.947368 | 200 | 0.785391 |
a4b4a0fb3668416310af22d09933e16558cce9cd | 5,269 | h | C | src/Router/RouterImp.h | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 735 | 2019-04-10T10:00:52.000Z | 2022-03-17T06:28:53.000Z | src/Router/RouterImp.h | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 67 | 2019-04-10T10:25:41.000Z | 2022-03-20T03:41:50.000Z | src/Router/RouterImp.h | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 186 | 2019-04-10T10:18:22.000Z | 2022-03-10T06:39:42.000Z | /**
* Tencent is pleased to support the open source community by making DCache available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of t... | 40.844961 | 96 | 0.541279 |
2baee0ebfeaa41cd69306a6a3970e72e7bab717c | 551 | h | C | libhwsec/overalls/overalls_api.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | libhwsec/overalls/overalls_api.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | libhwsec/overalls/overalls_api.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBHWSEC_OVERALLS_OVERALLS_API_H_
#define LIBHWSEC_OVERALLS_OVERALLS_API_H_
#include "libhwsec/hwsec_export.h"
#include "libhwsec/overalls/ove... | 26.238095 | 73 | 0.785844 |
0097625b8d26cbf5b98044e3907099a471ee93cd | 400 | h | C | DiscuzQ_Mobile/DiscuzQ/Classes/Library/PRScaleAlert/DZScaleView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | 27 | 2020-04-05T14:02:58.000Z | 2021-09-13T02:14:12.000Z | DiscuzQ_Mobile/DiscuzQ/Classes/Library/PRScaleAlert/DZScaleView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | null | null | null | DiscuzQ_Mobile/DiscuzQ/Classes/Library/PRScaleAlert/DZScaleView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | 6 | 2020-07-18T11:36:11.000Z | 2022-01-30T06:09:48.000Z | //
// DZScaleView.h
// DiscuzQ
// 联系作者:微信: ChinaMasker gao@btbk.org
// Github :https://github.com/webersongao/DiscuzQ_iOS
// Created by WebersonGao on 2018/9/28.
//
#import <UIKit/UIKit.h>
@interface DZScaleView : UIView
@property(nonatomic,copy) void (^dismissBlock)(void); /// 移除弹窗后执行的block
@property(nonatomi... | 23.529412 | 91 | 0.7225 |
7ab7b246f437bd2b21bc31ab64bbb838c48eb942 | 2,068 | h | C | qqtw/qqheaders7.2/QQSMItemElementVideoViewForQZone.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 5 | 2018-02-20T14:24:17.000Z | 2020-08-06T09:31:21.000Z | qqtw/qqheaders7.2/QQSMItemElementVideoViewForQZone.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 1 | 2020-06-10T07:49:16.000Z | 2020-06-12T02:08:35.000Z | qqtw/qqheaders7.2/QQSMItemElementVideoViewForQZone.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 "QQSMItemElementPictureView.h"
@class NSString, QQAIOTinyVideoCellPlayView, QQURLRichMsgHelper, QQVideoCircleProgressView, UIActivityIndicatorView, UIImageView;
@interface... | 41.36 | 129 | 0.788685 |
1aacbd4a30a5f8b03f1ac6573131e3fa09e47be0 | 5,261 | c | C | mdsshr/mds_dsc_string.c | consorzio-rfx/mdsplus | 81cdbfc759d92b101d84328e6eb7b3a6e6e22103 | [
"BSD-2-Clause"
] | null | null | null | mdsshr/mds_dsc_string.c | consorzio-rfx/mdsplus | 81cdbfc759d92b101d84328e6eb7b3a6e6e22103 | [
"BSD-2-Clause"
] | null | null | null | mdsshr/mds_dsc_string.c | consorzio-rfx/mdsplus | 81cdbfc759d92b101d84328e6eb7b3a6e6e22103 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2017, Massachusetts Institute of Technology 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 condition... | 33.724359 | 86 | 0.73218 |
1ac476000330677a48db7b7de23ba2743a765684 | 466 | h | C | contoso_asset_tracker/trace.h | kartben/contoso_asset_tracker | 23eccb6a6400e8f941ea0c76e9105fbce0cf5f48 | [
"MIT"
] | 2 | 2019-11-01T08:23:17.000Z | 2020-08-10T10:50:21.000Z | contoso_asset_tracker/trace.h | kartben/contoso_asset_tracker | 23eccb6a6400e8f941ea0c76e9105fbce0cf5f48 | [
"MIT"
] | null | null | null | contoso_asset_tracker/trace.h | kartben/contoso_asset_tracker | 23eccb6a6400e8f941ea0c76e9105fbce0cf5f48 | [
"MIT"
] | null | null | null | #ifndef _TRACE_H_
#define _TRACE_H_
#ifdef DEBUG
#define __TRACE__(msg) Serial.println(msg)
#define __TRACEF__(fmt, ...) Serial_printf(fmt, __VA_ARGS__)
#else
#define __TRACE__(msg) {}
#define __TRACEF__(fmt, ...) {}
#endif
#if USE_DISPLAY
#include "./graphics/contoso_display.h"
#ifdef DEBUG
#define __TRACE_... | 21.181818 | 61 | 0.73176 |
4f2bd620a3527e62d71d816d12d5c26543ed2c32 | 347 | h | C | utils/dfuse-dfu-util/src/portable.h | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | 25 | 2015-03-30T20:19:23.000Z | 2021-12-10T06:18:10.000Z | utils/dfuse-dfu-util/src/portable.h | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | null | null | null | utils/dfuse-dfu-util/src/portable.h | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | 16 | 2015-01-02T22:43:29.000Z | 2020-04-22T08:44:36.000Z |
#ifndef PORTABLE_H
#define PORTABLE_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_USLEEP
# include <unistd.h>
# define milli_sleep(msec) usleep(1000 * (msec))
#elif defined HAVE_WINDOWS_H
# define milli_sleep(msec) Sleep(msec)
#else
# error "Can't get no sleep! Please report"
#endif /* HAVE_USLEEP *... | 18.263158 | 48 | 0.73487 |
94cf72ace2bb9f815f82117e36d88f0dbd2b95ba | 2,523 | c | C | components/hal_csi/csi2/timer.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 9 | 2020-05-12T03:01:55.000Z | 2021-08-12T10:22:31.000Z | components/hal_csi/csi2/timer.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | null | null | null | components/hal_csi/csi2/timer.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 12 | 2020-04-15T11:37:33.000Z | 2021-09-13T13:19:04.000Z | /*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include "soc.h"
#include "aos/hal/timer.h"
#include "drv/timer.h"
#define CONFIG_TIMER_NUM 4
typedef struct {
csi_timer_t csi_tim_handle;
timer_dev_t *hal_tim_handle;
} timer_handlers_t;
static timer_handlers_t timer_handlers[CONFIG_... | 20.184 | 137 | 0.663099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.