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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c82bca03355c8995693120eb2af4e5c6d2d8c5d1 | 456 | h | C | TLColorFlowLayout/Classes/TLCollectionViewFlowLayout.h | huawtswork/TLColorFlowLayout | 7b7ab5b0335a7eed93ed674dc64ed641efb2ff45 | [
"MIT"
] | null | null | null | TLColorFlowLayout/Classes/TLCollectionViewFlowLayout.h | huawtswork/TLColorFlowLayout | 7b7ab5b0335a7eed93ed674dc64ed641efb2ff45 | [
"MIT"
] | null | null | null | TLColorFlowLayout/Classes/TLCollectionViewFlowLayout.h | huawtswork/TLColorFlowLayout | 7b7ab5b0335a7eed93ed674dc64ed641efb2ff45 | [
"MIT"
] | null | null | null |
#import <UIKit/UIKit.h>
@protocol TLCollectionViewDelegateFlowLayout <UICollectionViewDelegateFlowLayout>
- (UIColor *)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout backgroundColorForSection:(NSInteger)section;
@end
@interface TLCollectionViewFlowLayout : U... | 30.4 | 162 | 0.850877 |
aed216b433af7c355b7198d0998da244827f5083 | 150 | h | C | test/patterns/mediator/mediator_test.h | saadshams/puremvc-c-standard-framework | e629648d5299110d47b43241becc698298cf483e | [
"BSD-3-Clause"
] | null | null | null | test/patterns/mediator/mediator_test.h | saadshams/puremvc-c-standard-framework | e629648d5299110d47b43241becc698298cf483e | [
"BSD-3-Clause"
] | null | null | null | test/patterns/mediator/mediator_test.h | saadshams/puremvc-c-standard-framework | e629648d5299110d47b43241becc698298cf483e | [
"BSD-3-Clause"
] | null | null | null | #ifndef PUREMVC_MEDIATOR_TEST_H
#define PUREMVC_MEDIATOR_TEST_H
void testNameAccessor();
void testViewAccessor();
#endif //PUREMVC_MEDIATOR_TEST_H
| 16.666667 | 32 | 0.84 |
261201783eca61d3a8830d51b99c431036f47090 | 209 | h | C | choice.h | jfcasley/go-fltk | f086de1087ed492859328319b7dbec7f3f6bc832 | [
"MIT"
] | null | null | null | choice.h | jfcasley/go-fltk | f086de1087ed492859328319b7dbec7f3f6bc832 | [
"MIT"
] | null | null | null | choice.h | jfcasley/go-fltk | f086de1087ed492859328319b7dbec7f3f6bc832 | [
"MIT"
] | null | null | null | #pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Fl_Choice Fl_Choice;
extern Fl_Choice *go_fltk_new_Choice(int x, int y, int w, int h, const char *label);
#ifdef __cplusplus
}
#endif
| 14.928571 | 86 | 0.732057 |
6470f1eb3500b88765d0bba75e71d24f2fe77142 | 1,062 | h | C | src/xrGame/UI.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrGame/UI.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrGame/UI.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | #pragma once
#include "UICursor.h"
#include "UIDialogHolder.h"
// refs
class CHUDManager;
class CUIGameCustom;
class CUIMainIngameWnd;
class CUIMessagesWindow;
struct SDrawStaticStruct;
class CUI : public CDialogHolder
{
CUIGameCustom* pUIGame;
bool m_bShowGameIndicators;
public:
CHUDManager* m_Parent;... | 20.823529 | 64 | 0.719397 |
afed726482586337505e9bcb7139b40a79b6cc06 | 14,102 | c | C | Verilog/P5/isim/tb.exe.sim/work/m_00000000003279699937_2175365797.c | JJLeo/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | 9 | 2021-03-04T07:22:24.000Z | 2021-11-30T02:56:08.000Z | Verilog/P5/isim/tb.exe.sim/work/m_00000000003279699937_2175365797.c | johnnyamazing/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | null | null | null | Verilog/P5/isim/tb.exe.sim/work/m_00000000003279699937_2175365797.c | johnnyamazing/BUAA-CO-2020 | 1d1a3797f7188530464a1dfbe8a017dd01bb817a | [
"MIT"
] | 3 | 2021-09-28T07:41:35.000Z | 2021-12-14T08:55:28.000Z | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | 22.455414 | 131 | 0.467239 |
53007fb7697348d1b007dd3b20b66c3bf43964de | 55,112 | c | C | krb5/krb5ctx.c | twosigma/gsskrb5 | 1a8f4a98fa996daf7a2b39be52ba60d3a9218a04 | [
"FSFAP"
] | 2 | 2019-03-09T21:58:40.000Z | 2020-08-07T18:37:03.000Z | krb5/krb5ctx.c | twosigma/gsskrb5 | 1a8f4a98fa996daf7a2b39be52ba60d3a9218a04 | [
"FSFAP"
] | null | null | null | krb5/krb5ctx.c | twosigma/gsskrb5 | 1a8f4a98fa996daf7a2b39be52ba60d3a9218a04 | [
"FSFAP"
] | null | null | null | #include "mysccs.h"
SCCSID("@(#)$Id: //tools/src/freeware/gsskrb5/krb5/krb5ctx.c#7 $")
/************************************************************************
* $Id: //tools/src/freeware/gsskrb5/krb5/krb5ctx.c#7 $
************************************************************************
*
* Copyright (c) 1997-200... | 35.396275 | 113 | 0.619774 |
8863c383e500deea4709076fc0ac1a12e039d7e7 | 3,150 | h | C | openmp/libomptarget/plugins/amdgpu/impl/rt.h | cmc-rep/llvm | 678cd959ac9de7b48d1fb5d930e2197b10b60653 | [
"Apache-2.0"
] | null | null | null | openmp/libomptarget/plugins/amdgpu/impl/rt.h | cmc-rep/llvm | 678cd959ac9de7b48d1fb5d930e2197b10b60653 | [
"Apache-2.0"
] | null | null | null | openmp/libomptarget/plugins/amdgpu/impl/rt.h | cmc-rep/llvm | 678cd959ac9de7b48d1fb5d930e2197b10b60653 | [
"Apache-2.0"
] | null | null | null | /*===--------------------------------------------------------------------------
* ATMI (Asynchronous Task and Memory Interface)
*
* This file is distributed under the MIT License. See LICENSE.txt for details.
*===------------------------------------------------------------------------*/
#ifndef SRC_RUN... | 28.899083 | 79 | 0.675556 |
bb036625737509e6dcd3aa6c8744c463f1bc57e7 | 378 | c | C | navy-apps/libs/libc/src/libm/complex/crealf.c | diguage/ics2018 | 46d51bd0fd098754c7dcb383ed61a74cb85a2c10 | [
"Apache-2.0"
] | null | null | null | navy-apps/libs/libc/src/libm/complex/crealf.c | diguage/ics2018 | 46d51bd0fd098754c7dcb383ed61a74cb85a2c10 | [
"Apache-2.0"
] | null | null | null | navy-apps/libs/libc/src/libm/complex/crealf.c | diguage/ics2018 | 46d51bd0fd098754c7dcb383ed61a74cb85a2c10 | [
"Apache-2.0"
] | null | null | null | /* $NetBSD: crealf.c,v 1.2 2010/09/15 16:11:29 christos Exp $ */
/*
* Written by Matthias Drochner <drochner@NetBSD.org>.
* Public domain.
*
* imported and modified include for newlib 2010/10/03
* Marco Atzeri <marco_atzeri@yahoo.it>
*/
#include <complex.h>
#include "fdlibm.h"
float
crealf(float complex z)
{
... | 18 | 64 | 0.669312 |
18630743038d49f9ccd15a209642fd6b398f5d18 | 4,449 | h | C | nodes/core_node/src/credentials_utility.h | J-Pai/EnvTrackerNode | c2c6f95b3d124e1a70262af271aef4313f776531 | [
"MIT"
] | 5 | 2021-01-01T11:42:36.000Z | 2022-02-13T04:11:22.000Z | nodes/core_node/src/credentials_utility.h | J-Pai/EnvTrackerNode | c2c6f95b3d124e1a70262af271aef4313f776531 | [
"MIT"
] | 2 | 2021-01-11T17:50:23.000Z | 2021-01-11T19:39:07.000Z | nodes/core_node/src/credentials_utility.h | J-Pai/EnvTrackerNode | c2c6f95b3d124e1a70262af271aef4313f776531 | [
"MIT"
] | null | null | null | #ifndef ENVTRACKERNODE_CORENODE_CREDENTIALS_UTILITY_H_
#define ENVTRACKERNODE_CORENODE_CREDENTIALS_UTILITY_H_
#include <fstream>
#include <iostream>
#include <linux/limits.h>
#include <memory>
#include <regex>
#include <sstream>
#include <stdexcept>
#include <string>
#include <bsoncxx/stdx/make_unique.hpp>
#include <... | 30.265306 | 87 | 0.672061 |
63aa99823f6cea8ad52bc0179a1c0d288f1c811e | 11,539 | h | C | syzygy/minidump/minidump.h | nzeh/syzygy | 3573e3d458dbb4285753c28a7cb42ced739f9f55 | [
"Apache-2.0"
] | 343 | 2015-01-07T05:58:44.000Z | 2022-03-15T14:55:21.000Z | syzygy/minidump/minidump.h | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 61 | 2015-03-19T18:20:21.000Z | 2019-10-23T12:58:23.000Z | syzygy/minidump/minidump.h | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 66 | 2015-01-20T15:35:05.000Z | 2021-11-25T16:49:41.000Z | // Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 33.158046 | 80 | 0.733772 |
6f1d65a668db76c88aed8fd16adb7a1fcb9eb96e | 1,281 | h | C | System/Library/PrivateFrameworks/Trial.framework/TRILogger.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | 1 | 2020-11-11T06:05:23.000Z | 2020-11-11T06:05:23.000Z | System/Library/PrivateFrameworks/Trial.framework/TRILogger.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/Trial.framework/TRILogger.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:21:56 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/Trial.fra... | 38.818182 | 130 | 0.680718 |
c0cb8d10578cae2f3bc18e41bb60319d37e24fdb | 1,734 | h | C | StuFW/src/core/commands/gcode/feature/g60.h | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | 1 | 2020-12-30T21:45:12.000Z | 2020-12-30T21:45:12.000Z | StuFW/src/core/commands/gcode/feature/g60.h | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | 1 | 2020-08-24T16:17:25.000Z | 2020-08-24T16:17:25.000Z | StuFW/src/core/commands/gcode/feature/g60.h | onekk/StuFW | 9dd7cd41c0cec2749ded8d1d97b7f9fcaa61489b | [
"RSA-MD"
] | null | null | null | /**
* StuFW Firmware for 3D Printer
*
* Based on MK4duo, Marlin, Sprinter and grbl
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2013 Alberto Cotronei @MagoKimbra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | 30.964286 | 77 | 0.693195 |
a029bf493fa1133769a27a3f1e7e9d120fce16e6 | 2,483 | c | C | engine/src/core/move_function.c | Anglaisjulie/RPG-Manhattan-Aftermath-2048 | a6695fc30c26cdd6ae4531893f691090e929427b | [
"MIT"
] | 2 | 2020-05-04T13:46:07.000Z | 2020-05-04T14:25:41.000Z | engine/src/core/move_function.c | Anglaisjulie/RPG-Manhattan-Aftermath-2048 | a6695fc30c26cdd6ae4531893f691090e929427b | [
"MIT"
] | null | null | null | engine/src/core/move_function.c | Anglaisjulie/RPG-Manhattan-Aftermath-2048 | a6695fc30c26cdd6ae4531893f691090e929427b | [
"MIT"
] | 1 | 2020-05-06T17:49:37.000Z | 2020-05-06T17:49:37.000Z | /*
** EPITECH PROJECT, 2020
** engine
** File description:
** function to move entities
*/
#include "../../include/macro.h"
#include "../../include/internal.h"
void starset_entities_teleport(entities_t *entities, char *name
, float x, float y)
{
entities_t *copy = entities;
sfVector2f vector;
while (cop... | 26.414894 | 78 | 0.58679 |
ae516b8e36caeb9dbd8b6ca656770e0e9b2b94ab | 512 | h | C | src/login/LoginViewController.h | kitefishlabs/iOSClient | f71a6be0d879692cd5658e9867d0ccec9155b201 | [
"MIT"
] | 1 | 2016-04-28T03:06:23.000Z | 2016-04-28T03:06:23.000Z | src/login/LoginViewController.h | kitefishlabs/iOSClient | f71a6be0d879692cd5658e9867d0ccec9155b201 | [
"MIT"
] | null | null | null | src/login/LoginViewController.h | kitefishlabs/iOSClient | f71a6be0d879692cd5658e9867d0ccec9155b201 | [
"MIT"
] | null | null | null | //
// LoginViewController.h
// ARIS
//
// Created by Ben Longoria on 2/11/09.
// Copyright 2009 University of Wisconsin. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Player;
@protocol LoginViewControllerDelegate
- (void) loginCredentialsApprovedForPlayer:(Player *)p toGame:(int)gameId newPlayer:(BOOL)n... | 24.380952 | 140 | 0.769531 |
1d039f3270087c06cc3c58e4e5f622f4b0efc287 | 120,289 | c | C | nuitka/build/static_src/HelpersOperationBinaryAdd.c | mkoppanen/Nuitka | 5f8285a452b9aaf8d5bdd44db00da06ddbb267dc | [
"Apache-2.0"
] | null | null | null | nuitka/build/static_src/HelpersOperationBinaryAdd.c | mkoppanen/Nuitka | 5f8285a452b9aaf8d5bdd44db00da06ddbb267dc | [
"Apache-2.0"
] | null | null | null | nuitka/build/static_src/HelpersOperationBinaryAdd.c | mkoppanen/Nuitka | 5f8285a452b9aaf8d5bdd44db00da06ddbb267dc | [
"Apache-2.0"
] | null | null | null | // Copyright 2019, Kay Hayen, mailto:kay.hayen@gmail.com
//
// Part of "Nuitka", an optimizing Python compiler that is compatible and
// integrates with CPython, but also works on its own.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | 25.517395 | 118 | 0.456077 |
d9f7c2b8fedcfb3271075f57755795d0ef9d5671 | 216 | c | C | test/small/func1.c | chrisvrose/deputy-old-mirror | 657350639cfd358ff14090d31813473885c44c7e | [
"BSD-3-Clause"
] | null | null | null | test/small/func1.c | chrisvrose/deputy-old-mirror | 657350639cfd358ff14090d31813473885c44c7e | [
"BSD-3-Clause"
] | null | null | null | test/small/func1.c | chrisvrose/deputy-old-mirror | 657350639cfd358ff14090d31813473885c44c7e | [
"BSD-3-Clause"
] | null | null | null |
int foo(int * COUNT(n), int n);
// Now change the name of the variables. We must handle this gracefully.
int foo(int * COUNT(m) p, int m) {
p[2] = 1;
}
int main() {
int buff[8];
foo(buff, 8);
return 0;
}
| 14.4 | 72 | 0.592593 |
a828ba809bd7de754f0944ec76241fe1ac411657 | 23,062 | h | C | aws-cpp-sdk-connect/include/aws/connect/model/Contact.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-connect/include/aws/connect/model/Contact.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-connect/include/aws/connect/model/Contact.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/connect/model/ContactInitiationMethod.h>
#include <aws/connect/model/Channel.h>
#in... | 35.810559 | 154 | 0.662258 |
a3191570a720d13e04138d6c377c88cbeaab6e7e | 602 | h | C | pushquickview.h | net147/Push2Qml | a89b9b573312164ed670ac5e1fc0dd4ee3c5de58 | [
"MIT"
] | 21 | 2015-12-16T22:44:01.000Z | 2022-01-03T03:10:39.000Z | pushquickview.h | net147/Push2Qml | a89b9b573312164ed670ac5e1fc0dd4ee3c5de58 | [
"MIT"
] | 1 | 2018-12-10T23:14:26.000Z | 2018-12-11T12:16:59.000Z | pushquickview.h | net147/Push2Qml | a89b9b573312164ed670ac5e1fc0dd4ee3c5de58 | [
"MIT"
] | 2 | 2016-12-01T10:24:40.000Z | 2018-11-11T20:12:27.000Z | #ifndef PUSHQUICKVIEW_H
#define PUSHQUICKVIEW_H
#include "fboquickview.h"
#include <QScopedPointer>
class PushQuickViewPrivate;
class PushQuickView : public FboQuickView
{
Q_OBJECT
Q_DECLARE_PRIVATE(PushQuickView)
Q_PROPERTY(bool dithering READ dithering WRITE setDithering NOTIFY ditheringChanged)
publi... | 20.066667 | 88 | 0.759136 |
b49bad7d307886df78ce9c64c1b4b32f420f0856 | 892 | h | C | Wangscape/noise/module/codecs/NoiseQualityCodec.h | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 60 | 2016-12-30T03:18:34.000Z | 2022-02-15T21:43:59.000Z | Wangscape/noise/module/codecs/NoiseQualityCodec.h | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 149 | 2016-12-29T19:38:36.000Z | 2017-10-29T18:19:51.000Z | Wangscape/noise/module/codecs/NoiseQualityCodec.h | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 16 | 2016-12-31T06:09:42.000Z | 2021-09-10T05:34:51.000Z | #pragma once
#include <spotify/json.hpp>
#include <noise/noise.h>
namespace spotify
{
namespace json
{
template<>
struct default_codec_t<noise::NoiseQuality>
{
using NoiseQuality = noise::NoiseQuality;
static codec::one_of_t<
codec::enumeration_t<NoiseQuality, codec::number_t<int>>,
codec::e... | 24.777778 | 72 | 0.628924 |
33113a519d004b520dc15ff0c4c99e3636b1379b | 1,336 | h | C | RTAPI/RTstruct.h | RuinedStar/RayTracingIntegration | 822ac95fb3f5aa2aa1172e813baa5a205b168450 | [
"MIT"
] | null | null | null | RTAPI/RTstruct.h | RuinedStar/RayTracingIntegration | 822ac95fb3f5aa2aa1172e813baa5a205b168450 | [
"MIT"
] | null | null | null | RTAPI/RTstruct.h | RuinedStar/RayTracingIntegration | 822ac95fb3f5aa2aa1172e813baa5a205b168450 | [
"MIT"
] | null | null | null | #pragma once
//emissive, diffuse, dielectric (palstic), mirror
typedef enum { EMIS, DIFF, DIELEC, MIRR } BRDFType;
//for host
#ifndef __OPENCL_C_VERSION__
#include <glm\glm.hpp>
typedef glm::vec4 float4;
//for device
#else
typedef enum { MISS, LIGHT, TRI, SPH } PrimType;
#endif
#if defined(_MSC_VER)
#define _CL_A... | 19.085714 | 71 | 0.741766 |
9887002b0c2c4c9c404c3e6b4acece0b0d642f89 | 2,725 | h | C | OpenFeint/api/internal/Systems/AuroraLib/Kernel/Network/HTTP/OFHttpRequest.h | zichuanwang/TanChess_iOS | cbf2edbc90ea9a7d9dcbfec22664514754aadb4d | [
"Zlib",
"MIT"
] | 1 | 2016-06-15T18:03:45.000Z | 2016-06-15T18:03:45.000Z | OpenFeint/api/internal/Systems/AuroraLib/Kernel/Network/HTTP/OFHttpRequest.h | zichuanwang/TanChess_iOS | cbf2edbc90ea9a7d9dcbfec22664514754aadb4d | [
"Zlib",
"MIT"
] | null | null | null | OpenFeint/api/internal/Systems/AuroraLib/Kernel/Network/HTTP/OFHttpRequest.h | zichuanwang/TanChess_iOS | cbf2edbc90ea9a7d9dcbfec22664514754aadb4d | [
"Zlib",
"MIT"
] | null | null | null | // Copyright 2009-2010 Aurora Feint, 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... | 36.824324 | 212 | 0.784587 |
debe9f95daa80fdfeaa33898a2f277d9ac9ed390 | 2,265 | h | C | weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/List.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | 2 | 2017-10-18T01:36:31.000Z | 2018-05-07T23:00:21.000Z | weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/List.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | null | null | null | weex_core/Source/android/jsengine/dependence/bmalloc/bmalloc/List.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | 5 | 2019-05-28T11:48:42.000Z | 2020-05-15T07:31:55.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... | 23.59375 | 100 | 0.612362 |
7247394162c8ee72f7d638c264f7b5fd79968176 | 1,162 | h | C | packages/repack/ios/ChunkConfig.h | blitzstudios/repack | b3f28e830f0c7997d5a0a455323ccd4539db8af0 | [
"MIT"
] | 587 | 2021-06-16T15:27:27.000Z | 2022-03-31T17:47:36.000Z | packages/repack/ios/ChunkConfig.h | blitzstudios/repack | b3f28e830f0c7997d5a0a455323ccd4539db8af0 | [
"MIT"
] | 67 | 2021-06-16T23:19:43.000Z | 2022-03-21T11:40:02.000Z | packages/repack/ios/ChunkConfig.h | blitzstudios/repack | b3f28e830f0c7997d5a0a455323ccd4539db8af0 | [
"MIT"
] | 33 | 2021-07-05T07:08:39.000Z | 2022-03-29T07:29:32.000Z | #ifndef ChunkConfig_h
#define ChunkConfig_h
@interface ChunkConfig : NSObject
@property (readonly, nonnull) NSString *chunkId;
@property (readonly, nonnull) NSURL *url;
@property (readonly, nonnull) NSString *method;
@property (readonly, nullable) NSString *query;
@property (readonly) BOOL fetch;
@property (readonly)... | 36.3125 | 76 | 0.655766 |
4723896a3d0feb0bd43fee7fdeaf3b1c785badc0 | 2,197 | h | C | include/flatbufserver/FlatBufferServer.h | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 2 | 2020-08-24T10:02:51.000Z | 2020-08-24T20:03:50.000Z | include/flatbufserver/FlatBufferServer.h | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | include/flatbufserver/FlatBufferServer.h | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | #pragma once
// util
#include <utils/Logger.h>
#include <utils/settings.h>
#include <utils/Image.h>
// qt
#include <QVector>
class BonjourServiceRegister;
class QTcpServer;
class QLocalServer;
class FlatBufferClient;
class NetOrigin;
#define HYPERHDR_DOMAIN_SERVER QStringLiteral("hyperhdr-domain")
///
/// @brief A... | 20.155963 | 108 | 0.737369 |
740e925aa28cc7d9fb22da6358d790be3282c8fd | 735 | h | C | XVim2/XcodeHeader/IDEKit/_TtC6IDEKit26WorkingCopyHistoryLocation.h | petergp/XVim2 | 4d53d0983544dd8385501ba8396b1ce753351de8 | [
"MIT"
] | null | null | null | XVim2/XcodeHeader/IDEKit/_TtC6IDEKit26WorkingCopyHistoryLocation.h | petergp/XVim2 | 4d53d0983544dd8385501ba8396b1ce753351de8 | [
"MIT"
] | 1 | 2020-01-27T08:01:55.000Z | 2020-01-27T08:09:38.000Z | XVim2/XcodeHeader/IDEKit/_TtC6IDEKit26WorkingCopyHistoryLocation.h | petergp/XVim2 | 4d53d0983544dd8385501ba8396b1ce753351de8 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 6 2019 20:12:56).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <DVTFoundation/DVTDocumentLocation.h>
@interface _TtC6IDEKit26WorkingCopyHistoryLocation : DVTDocumentLocation
{
// Error ... | 26.25 | 90 | 0.711565 |
74edec12e7aae614ca30415677d62975b669502d | 1,176 | h | C | PrivateFrameworks/IMSharedUtilities/IMNotificationCenterEventListener.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/IMSharedUtilities/IMNotificationCenterEventListener.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/IMSharedUtilities/IMNotificationCenterEventListener.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <IMSharedUtilities/IMEventListener.h>
@class NSString;
@interface IMNotificationCenterEventListener : IMEventListener
{
NSString *_registeredNotificationName;
NSSt... | 32.666667 | 139 | 0.784014 |
2d0da6e9ff6ecd93b8b81a8dcd45650c95a47410 | 8,027 | h | C | Descending Europa/Temp/StagingArea/Data/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_UnityStandardAssets_1756613902.h | screwylightbulb/europa | 3dcc98369c8066cb2310143329535206751c8846 | [
"MIT"
] | null | null | null | Descending Europa/Temp/StagingArea/Data/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_UnityStandardAssets_1756613902.h | screwylightbulb/europa | 3dcc98369c8066cb2310143329535206751c8846 | [
"MIT"
] | null | null | null | Descending Europa/Temp/StagingArea/Data/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_UnityStandardAssets_1756613902.h | screwylightbulb/europa | 3dcc98369c8066cb2310143329535206751c8846 | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// UnityEngine.AnimationCurve
struct AnimationCurve_t3667593487;
// UnityEngine.Texture2D
struct Texture2D_t3884108195;
// UnityEngine.Shader
struct Shader_t3191267369;
// UnityEngine... | 44.594444 | 166 | 0.826461 |
e1807affdd029d1fa95c9bdd646cd2c726e79d4b | 4,777 | h | C | pomi/hw/Core.h | jpfli/Pomifactory | ee736a97bcbb5f16625aedae492c267e4911378c | [
"MIT"
] | 2 | 2020-06-16T18:14:53.000Z | 2020-10-07T10:42:28.000Z | pomi/hw/Core.h | jpfli/FMSynth | 7c70fbccc22e3a83afe4eef69bd4e76fbdd41003 | [
"MIT"
] | null | null | null | pomi/hw/Core.h | jpfli/FMSynth | 7c70fbccc22e3a83afe4eef69bd4e76fbdd41003 | [
"MIT"
] | null | null | null |
#pragma once
namespace Pomi {
namespace Hw {
class Core {
public:
Core() = delete;
Core(const Core&) = delete;
Core& operator =(const Core&) = delete;
static inline void enableSysTick() {
volatile unsigned int *SYSTICK = reinterpret_cast<unsigned int... | 46.378641 | 116 | 0.512665 |
7c2b7e8a0204c9267da70c3f3bd6d71d8388832a | 10,927 | h | C | 3rd/vrep/cpp/include/QMLAdapter.h | Tadinu/my_arm | ac4fb295ddad7c7ee999a03d2e7d229802b64226 | [
"BSD-3-Clause"
] | 4 | 2021-02-20T15:59:42.000Z | 2022-03-25T04:04:21.000Z | 3rd/vrep/cpp/include/QMLAdapter.h | Tadinu/my_arm | ac4fb295ddad7c7ee999a03d2e7d229802b64226 | [
"BSD-3-Clause"
] | 1 | 2021-04-14T04:12:48.000Z | 2021-04-14T04:12:48.000Z | 3rd/vrep/cpp/include/QMLAdapter.h | Tadinu/my_arm | ac4fb295ddad7c7ee999a03d2e7d229802b64226 | [
"BSD-3-Clause"
] | 2 | 2019-10-29T12:41:16.000Z | 2021-03-22T16:38:27.000Z | #ifndef QML_ADAPTER_H
#define QML_ADAPTER_H
#include <QObject>
#include <QQmlProperty>
#include "RbGlobal.h"
#include "QMLQuickImageProvider.h"
class QJSEngine;
class QQmlEngine;
class RbMainWindowAgent;
// ==================================================================================================... | 48.136564 | 131 | 0.449437 |
f54565e48f1744d877ed15b9789655f347b5d2a3 | 423 | h | C | Classes/CMClosestPoint.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | 2 | 2017-03-02T09:46:10.000Z | 2018-05-02T03:15:19.000Z | Classes/CMClosestPoint.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | null | null | null | Classes/CMClosestPoint.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | null | null | null | //
// CMClosestPoint.h
// CMSlider
//
// Created by Chuck MA on 02/27/2017.
// Copyright © 2017 Chuck's Lab. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CMClosestPoint : NSObject
@property (nonatomic, assign) CGPoint closestPoint;
@property (nonatomic, assign) double distance;
+ (CMClosestPoint *... | 22.263158 | 115 | 0.744681 |
ed148958971be5ce73d6866d4027ab202b9ec2d3 | 574 | c | C | nitan/d/kunlun/kuhanlou.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/d/kunlun/kuhanlou.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/d/kunlun/kuhanlou.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // Room: /d/kunlun/kuhanlou.c
// Last Modified by Winder on Nov. 15 2000
#include <ansi.h>
#include <room.h>
inherit ROOM;
void create()
{
set("short", "苦寒樓");
set("long",@long
這裏是崑崙派的苦寒樓,取名自“梅花香自苦寒來”之意,乃是昆
侖派前輩為了激勵後進崑崙派弟子而建的,是崑崙弟子靜修之所。
long);
set("exits",([
"west" : __DIR__"sh... | 22.96 | 56 | 0.534843 |
ded07e912443d9bea3e5e380f6e84a5fc33e666c | 1,985 | h | C | llvm-3.5/lib/Target/SystemZ/SystemZTargetMachine.h | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 3 | 2015-03-08T22:21:34.000Z | 2018-06-25T00:18:51.000Z | llvm-3.5/lib/Target/SystemZ/SystemZTargetMachine.h | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 1 | 2016-09-22T06:35:24.000Z | 2016-09-23T08:33:57.000Z | llvm-3.5/lib/Target/SystemZ/SystemZTargetMachine.h | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 1 | 2021-03-24T06:40:32.000Z | 2021-03-24T06:40:32.000Z | //==- SystemZTargetMachine.h - Define TargetMachine for SystemZ ---*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 31.015625 | 80 | 0.659446 |
074c94a90e3a18e51f40a56015fb67194b078885 | 2,492 | h | C | Applications/Podcasts/MTPlaylistSelectPodcastListViewController.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | Applications/Podcasts/MTPlaylistSelectPodcastListViewController.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | Applications/Podcasts/MTPlaylistSelectPodcastListViewController.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 1:50:20 PM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /Applications/Podcasts.app/Podcasts
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <Podca... | 48.862745 | 188 | 0.74679 |
60f41cdcd10e4219c1544d52c8575aa26b0a4894 | 387 | c | C | software/libs/mpatch/mpatch/checkpoint_mpatch.c | bzier/ENGAGE | 3d47a9ee20f02d83c2d032bd4b9567b32e43b61f | [
"MIT"
] | 64 | 2020-12-09T05:25:43.000Z | 2022-03-31T00:21:51.000Z | software/libs/mpatch/mpatch/checkpoint_mpatch.c | bzier/ENGAGE | 3d47a9ee20f02d83c2d032bd4b9567b32e43b61f | [
"MIT"
] | 1 | 2020-12-04T16:56:58.000Z | 2020-12-08T20:08:13.000Z | software/libs/mpatch/mpatch/checkpoint_mpatch.c | bzier/ENGAGE | 3d47a9ee20f02d83c2d032bd4b9567b32e43b61f | [
"MIT"
] | 6 | 2020-12-23T05:43:44.000Z | 2022-03-23T08:51:25.000Z | #include <stdlib.h>
#include "mpatch.h"
#include "checkpoint_mpatch.h"
size_t checkpoint_mpatch(void)
{
mpatch_stage();
mpatch_core_checkpoint(false);
return 0;
}
size_t restore_mpatch(void)
{
mpatch_core_restore();
mpatch_recover();
mpatch_apply_all(false);
return 0;
}
size_t setup_mpat... | 14.884615 | 34 | 0.692506 |
c25e5a32fe2ff6b20abd44adf1c797d05bac3958 | 3,444 | h | C | gpac-0.7.1/src/terminal/media_control.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/src/terminal/media_control.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/src/terminal/media_control.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | 1 | 2021-04-15T18:27:37.000Z | 2021-04-15T18:27:37.000Z | /*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2000-2012
* All rights reserved
*
* This file is part of GPAC / Media terminal sub-project
*
* GPAC is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser G... | 29.689655 | 110 | 0.768002 |
b85e9aa98b9919581a8c4e5ce03a07c49cfdf601 | 1,036 | h | C | src/core/impgeneration.h | TimoBx/pbrt | 1d5634953a79eb251b1a245382cc3587b6e0a15a | [
"BSD-2-Clause"
] | null | null | null | src/core/impgeneration.h | TimoBx/pbrt | 1d5634953a79eb251b1a245382cc3587b6e0a15a | [
"BSD-2-Clause"
] | null | null | null | src/core/impgeneration.h | TimoBx/pbrt | 1d5634953a79eb251b1a245382cc3587b6e0a15a | [
"BSD-2-Clause"
] | null | null | null |
#if defined(_MSC_VER)
#define NOMINMAX
#pragma once
#endif
#ifndef PBRT_CORE_IMPGENERATION_H
#define PBRT_CORE_IMPGENERATION_H
// core/impgeneration.h*
#include "pbrt.h"
namespace pbrt {
std::string computeNewFilename(std::string filename, std::string prefix, std::string suffix, std::string extension);
void co... | 29.6 | 130 | 0.751931 |
fc4457a3070fb774910e2b40232c7b8b18bc4e9b | 2,953 | h | C | ASLogger/ASLQuery.h | nxtstep/aqtoolkit | 93f4a11a75b41c9651d37898bd0b7fddb39c6b3d | [
"BSD-3-Clause"
] | 182 | 2015-01-05T17:18:39.000Z | 2021-11-08T08:45:32.000Z | ASLogger/ASLQuery.h | zhenhuamu/aqtoolkit | 880081dfde17345f50d6e0277ee524b120925fbc | [
"BSD-3-Clause"
] | 2 | 2017-10-02T12:00:46.000Z | 2017-12-21T09:06:37.000Z | ASLogger/ASLQuery.h | zhenhuamu/aqtoolkit | 880081dfde17345f50d6e0277ee524b120925fbc | [
"BSD-3-Clause"
] | 51 | 2015-01-12T01:49:32.000Z | 2020-11-27T05:30:05.000Z | /*
* ASLQuery.h
* AQToolkit
*
* Created by Jim Dovey on 31/8/2008.
*
* Copyright (c) 2008-2009, Jim Dovey
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributi... | 40.452055 | 100 | 0.772096 |
11ae2b72f536168e0b6a4f12027de92fdd65c62e | 203 | h | C | src/ar/read_landmarks.h | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 3 | 2021-12-23T23:31:42.000Z | 2022-02-16T07:17:41.000Z | src/ar/read_landmarks.h | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 2 | 2021-11-22T05:33:43.000Z | 2022-01-23T07:01:47.000Z | src/ar/read_landmarks.h | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../world_interface/data.h"
namespace AR {
bool initializeLandmarkDetection();
bool isLandmarkDetectionInitialized();
robot::types::landmarks_t readLandmarks();
} // namespace AR
| 20.3 | 42 | 0.778325 |
e65c7c8962563323bfd0fc1bf1808bfa5d54ead8 | 5,773 | h | C | src/digits/digit_anim.h | CleyFaye/Pebble-LiveDigits0 | e7a80140e0938c387d1e1118354bddd2af39588d | [
"MIT"
] | 2 | 2015-02-07T13:09:25.000Z | 2015-02-23T03:12:01.000Z | src/digits/digit_anim.h | CleyFaye/Pebble-LiveDigits0 | e7a80140e0938c387d1e1118354bddd2af39588d | [
"MIT"
] | 12 | 2015-02-04T12:09:05.000Z | 2015-07-06T19:59:21.000Z | src/digits/digit_anim.h | CleyFaye/Pebble-LiveDigits0 | e7a80140e0938c387d1e1118354bddd2af39588d | [
"MIT"
] | null | null | null | /** @file
* Control digit's segments animation.
*
* Animations informations tells what segments should be drawn, and the position
* of each segments.
*
* An "animation" is identified by a numeric id. Each animation is made of 9
* steps, and some animations are marked as either "solo" or "double". Double
* anima... | 26.360731 | 80 | 0.705872 |
0a787bdba704953f4c457d1a570f94c3316c5b26 | 473 | h | C | Source/Cannon.h | Memory-Leakers/Pinball | d07228aa92be7988aa2da31f0a86cfd836b8c5a5 | [
"MIT"
] | null | null | null | Source/Cannon.h | Memory-Leakers/Pinball | d07228aa92be7988aa2da31f0a86cfd836b8c5a5 | [
"MIT"
] | null | null | null | Source/Cannon.h | Memory-Leakers/Pinball | d07228aa92be7988aa2da31f0a86cfd836b8c5a5 | [
"MIT"
] | null | null | null | #pragma once
#include "GameObject.h"
class Cannon : public GameObject
{
public:
Cannon(std::string name, std::string tag, Application* _app, iPoint pos);
void Update() override;
void PostUpdate() override;
void OnCollision(PhysBody* col) override;
void ShowCannon();
int renderState = 0;
float holeSize = 0.... | 15.258065 | 74 | 0.701903 |
112913a8888aafb9fa8327cea55423f7c1bbcef5 | 6,710 | c | C | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/SL-TypeTxSync-r14.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/SL-TypeTxSync-r14.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/SL-TypeTxSync-r14.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#include "SL-TypeTxSync-r14.h"
int
SL_TypeTxSync_r14_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void ... | 36.868132 | 89 | 0.790313 |
20e38d08086429c1704a04fcb5c658c777750d95 | 408 | h | C | misc.h | apparentorder/r53db | 8c66a3f954918c2d292700b7494f5315506b169d | [
"BSD-2-Clause"
] | 21 | 2020-10-01T09:35:30.000Z | 2022-02-12T20:01:23.000Z | misc.h | apparentorder/r53db | 8c66a3f954918c2d292700b7494f5315506b169d | [
"BSD-2-Clause"
] | null | null | null | misc.h | apparentorder/r53db | 8c66a3f954918c2d292700b7494f5315506b169d | [
"BSD-2-Clause"
] | null | null | null | #ifndef R53DB_MISC_H
#define R53DB_MISC_H
#include <postgres.h>
#include <access/tupdesc.h>
char *get_relation_hosted_zone_id(Oid relation_id);
List *get_column_positions(TupleDesc td);
r53dbDNSRR *get_rr_from_values(Datum *values, bool *isnulls, List *column_positions);
void palloc_string(char **s);
void make_dns_i... | 22.666667 | 85 | 0.796569 |
9740cf0c8ccd078048ae6dab01dbd432420abf54 | 1,604 | h | C | src/gc/variable_size_pool.h | winnit-myself/Wifie | 53284177b4f4107da5b7e2394cefccaa98194ec3 | [
"Artistic-2.0"
] | 312 | 2015-01-15T01:00:51.000Z | 2022-03-31T11:45:50.000Z | src/gc/variable_size_pool.h | allisonrandal/pkg-parrot | cb37148cef4a6857ba848482da15f7eb7cf74331 | [
"Artistic-2.0"
] | 108 | 2015-01-01T18:24:22.000Z | 2022-02-25T16:53:52.000Z | src/gc/variable_size_pool.h | allisonrandal/pkg-parrot | cb37148cef4a6857ba848482da15f7eb7cf74331 | [
"Artistic-2.0"
] | 80 | 2015-01-14T01:33:52.000Z | 2022-02-26T03:47:55.000Z | /*
Copyright (C) 2001-2010, Parrot Foundation.
=head1 NAME
src/gc/variable_size_pool.h - implementation of allocator variable size objects.
E.g. strings.
=head1 DESCRIPTION
*/
#ifndef PARROT_GC_VARIABLE_SIZE_POOL_H_GUARD
#define PARROT_GC_VARIABLE_SIZE_POOL_H_GUARD
#include "parrot/settings.h"
struct GC_Statisti... | 27.655172 | 89 | 0.714464 |
7c5cc069b016231961f7241f4fd419391c98818f | 2,137 | h | C | components/signin/core/browser/signin_account_id_helper.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-01-25T09:58:49.000Z | 2020-01-25T09:58:49.000Z | components/signin/core/browser/signin_account_id_helper.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/signin/core/browser/signin_account_id_helper.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:17.000Z | 2020-11-04T07:19:17.000Z | // 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ACCOUNT_ID_HELPER_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_ACCOUNT_ID_HELPER_H_
#include "component... | 36.844828 | 79 | 0.771642 |
6eb54a7f4fbc9177d992f8f3e2ecf0ac25384ba2 | 2,139 | h | C | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/elements/SoCacheHintElement.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/elements/SoCacheHintElement.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/elements/SoCacheHintElement.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | #ifndef COIN_SOCACHEHINTELEMENT_H
#define COIN_SOCACHEHINTELEMENT_H
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribu... | 33.952381 | 76 | 0.684432 |
dc3811bf96e6ce1fa0bbdf5994a72cec6b715bee | 2,744 | h | C | PrivateFrameworks/PassKitCore/PKImage.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/PassKitCore/PKImage.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/PassKitCore/PKImage.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSSecureCoding.h"
@class NSData, NSObject<OS_dispatch_queue>;
@interface PKImage : NSObject <NSSecureCoding>
{
NSObject<OS_dispatch_queue> *_que... | 40.352941 | 121 | 0.764577 |
2938a89a7f284624f804e745e85c0864fd1b5142 | 1,505 | h | C | VS2005/Common/Controls/TabSDIFrameWnd.h | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | null | null | null | VS2005/Common/Controls/TabSDIFrameWnd.h | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | null | null | null | VS2005/Common/Controls/TabSDIFrameWnd.h | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | 1 | 2020-06-13T08:34:26.000Z | 2020-06-13T08:34:26.000Z | /**********************************************************************
**
** TabSDIFrameWnd.h : include file
**
** by Andrzej Markowski July 2005
**
**********************************************************************/
#pragma once
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include ... | 25.083333 | 98 | 0.574086 |
34dfa7cf4ae4b73032e2039e9d6a29ac98284f98 | 2,745 | h | C | engine/source/gui/buttons/guiCheckBoxCtrl.h | Jozor/Torque2D | be8ca31307eac572077b28e546b31c84dd9bdb11 | [
"MIT"
] | 412 | 2020-06-01T14:41:18.000Z | 2022-03-31T01:48:15.000Z | engine/source/gui/buttons/guiCheckBoxCtrl.h | Jozor/Torque2D | be8ca31307eac572077b28e546b31c84dd9bdb11 | [
"MIT"
] | 20 | 2020-06-16T03:17:16.000Z | 2022-02-06T21:29:11.000Z | engine/source/gui/buttons/guiCheckBoxCtrl.h | Jozor/Torque2D | be8ca31307eac572077b28e546b31c84dd9bdb11 | [
"MIT"
] | 64 | 2020-06-01T06:00:38.000Z | 2022-03-12T15:47:42.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restr... | 37.60274 | 88 | 0.691439 |
1fb0c6ad03d23a054b2effd4a75dba9750d7007f | 1,961 | h | C | tests/TestFixtures/Marshalling/TNSRecords.h | aaayushsingh/ios-runtime | f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e | [
"Apache-2.0"
] | 1 | 2021-11-14T02:57:26.000Z | 2021-11-14T02:57:26.000Z | tests/TestFixtures/Marshalling/TNSRecords.h | aaayushsingh/ios-runtime | f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e | [
"Apache-2.0"
] | null | null | null | tests/TestFixtures/Marshalling/TNSRecords.h | aaayushsingh/ios-runtime | f8714aaf20ba9cdd288fc34e53d181a4d7f8cd6e | [
"Apache-2.0"
] | 1 | 2021-11-14T02:56:06.000Z | 2021-11-14T02:56:06.000Z | //
// TNSRecords.h
// NativeScriptTests
//
// Created by Jason Zhekov on 2/19/14.
// Copyright (c) 2014 Jason Zhekov. All rights reserved.
//
#import <simd/simd.h>
typedef struct TNSSimpleStruct {
int x;
int y;
} TNSSimpleStruct;
typedef struct TNSStruct16 {
int64_t x;
int32_t y;
int32_t z;
}... | 19.038835 | 57 | 0.670066 |
b6f2390037fa34d9bfbd14b3521824ab59ae5dab | 1,115 | h | C | src/MyPinDetails/UserCreatedMyPinDetailsModelSelectedMessage.h | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 69 | 2017-06-07T10:47:03.000Z | 2022-03-24T08:33:33.000Z | src/MyPinDetails/UserCreatedMyPinDetailsModelSelectedMessage.h | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 23 | 2017-06-07T10:47:00.000Z | 2020-07-09T10:31:17.000Z | src/MyPinDetails/UserCreatedMyPinDetailsModelSelectedMessage.h | usamakhan049/assignment | 40eb153e8fd74f73ba52ce29417d8220ab744b5d | [
"BSD-2-Clause"
] | 31 | 2017-08-12T13:19:32.000Z | 2022-01-04T20:33:40.000Z | // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#pragma once
#include <string>
#include "MyPinModel.h"
namespace ExampleApp
{
namespace MyPinDetails
{
class UserCreatedMyPinDetailsModelSelectedMessage
{
private:
MyPins::SdkModel::MyPinModel::TPinIdType m_pinId;
... | 30.972222 | 103 | 0.521973 |
19618501c35c37687c86afca6f03d3398a62ae9d | 22,812 | c | C | STM32 Discovery/STM32L476G_Discovery_LCD/Src/lcd.c | UdayanSinha/Code_Blocks | 43c010dcfb587942b6e6f8ba72b93862042afa1d | [
"MIT"
] | 3 | 2016-10-30T05:54:44.000Z | 2021-05-17T20:24:42.000Z | STM32 Discovery/STM32L476G_Discovery_LCD/Src/lcd.c | UdayanSinha/Code_Blocks | 43c010dcfb587942b6e6f8ba72b93862042afa1d | [
"MIT"
] | null | null | null | STM32 Discovery/STM32L476G_Discovery_LCD/Src/lcd.c | UdayanSinha/Code_Blocks | 43c010dcfb587942b6e6f8ba72b93862042afa1d | [
"MIT"
] | 1 | 2018-10-04T08:20:25.000Z | 2018-10-04T08:20:25.000Z | /**
******************************************************************************
* File Name : LCD.c
* Description : This file provides code for the configuration
* of the LCD instances.
******************************************************************************
*
... | 37.705785 | 115 | 0.561547 |
c3fa32802f92ce5960f396eae259d927a5b44f16 | 11,595 | c | C | sdk/sdk/driver/net/ameba_sdio/osdep/linux/sdio_ops_linux.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/sdk/driver/net/ameba_sdio/osdep/linux/sdio_ops_linux.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/sdk/driver/net/ameba_sdio/osdep/linux/sdio_ops_linux.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | #include <sdio_ops_linux.h>
#if 1
/**
* sdio_register_driver - register a function driver
* @drv: SDIO function driver
*/
extern int sdio_register_driver(struct sdio_driver *);
/**
* sdio_unregister_driver - unregister a function driver
* @drv: SDIO function driver
*/
extern void sdio_unregister_driver(struct sdi... | 34.81982 | 79 | 0.741182 |
c3403921db5109845db109685f49eb32e843a6b2 | 791 | c | C | structDemo2.c | saransh4975/c-codes | 3d6a055a972a6cc5d89a95a186a08bf1019ca575 | [
"MIT"
] | null | null | null | structDemo2.c | saransh4975/c-codes | 3d6a055a972a6cc5d89a95a186a08bf1019ca575 | [
"MIT"
] | null | null | null | structDemo2.c | saransh4975/c-codes | 3d6a055a972a6cc5d89a95a186a08bf1019ca575 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
struct student{
int rollNo,standard;
char name[10],section;
};
void main(){
struct student s[3];
for(int i=0; i<3; i++){
printf("Enter name\n");
fflush(stdin);
scanf("%[^\n]",&s[i].name);
printf("Enter roll No.\n");
scanf("%d",&s[i].rollNo);
printf("Enter standar... | 20.815789 | 126 | 0.608091 |
c9b82bbeb0dd5d854fe1b1a29e2547180b82536a | 1,118 | h | C | thirdparty/vesta/KeplerianTrajectory.h | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 6 | 2018-09-05T12:41:59.000Z | 2021-07-01T05:34:23.000Z | thirdparty/vesta/KeplerianTrajectory.h | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-02-07T19:09:21.000Z | 2015-08-14T03:15:42.000Z | thirdparty/vesta/KeplerianTrajectory.h | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-03-25T15:50:31.000Z | 2017-12-06T12:16:47.000Z | /*
* $Revision: 223 $ $Date: 2010-03-30 05:44:44 -0700 (Tue, 30 Mar 2010) $
*
* Copyright by Astos Solutions GmbH, Germany
*
* this file is published under the Astos Solutions Free Public License
* For details on copyright and terms of use see
* http://www.astos.de/Astos_Solutions_Free_Public_License.html
*/
... | 23.291667 | 73 | 0.738819 |
445904969eb06876e402a39a7c4fb00e00a25f41 | 1,756 | h | C | gnuradio-3.7.13.4/gr-digital/include/gnuradio/digital/glfsr.h | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-digital/include/gnuradio/digital/glfsr.h | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-digital/include/gnuradio/digital/glfsr.h | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | /* -*- c++ -*- */
/*
* Copyright 2007,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your o... | 26.606061 | 83 | 0.683371 |
68e664f8c3683cd45932b4f1cad7cb938d3acacc | 694 | h | C | src/camera_control.h | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | src/camera_control.h | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | src/camera_control.h | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | #ifndef CAMERA_CONTROL_H
#define CAMERA_CONTROL_H
#include "camera.h"
#include "glfw_window.h"
class CameraControl : public GlfwWindow::Observer {
public:
CameraControl(int width, int height);
Camera *getCam();
void onFramebufferSize(int width, int height) override;
void onMouseButton(int button, int action... | 19.828571 | 64 | 0.757925 |
70a0185e11900db6da419dc35063451f93102e09 | 23,538 | c | C | src/drivers/tsamurai.c | FlexingTiger/mame4allds | 9159c67974609a1099a92afa2fc98c0e42edd33c | [
"Linux-OpenIB"
] | null | null | null | src/drivers/tsamurai.c | FlexingTiger/mame4allds | 9159c67974609a1099a92afa2fc98c0e42edd33c | [
"Linux-OpenIB"
] | null | null | null | src/drivers/tsamurai.c | FlexingTiger/mame4allds | 9159c67974609a1099a92afa2fc98c0e42edd33c | [
"Linux-OpenIB"
] | null | null | null | #include "../vidhrdw/tsamurai.c"
/****************************************************************************
Preliminary driver for Samurai, Nunchackun, Yuke Yuke Yamaguchi-kun
(c) Taito 1985
Known Issues:
- some color problems (need screenshots)
- Nunchackun has wrong colors; sprites look better if you subtr... | 33.198872 | 143 | 0.692795 |
b9981c0ed1b6c8364e94884e454182f9ab6b219a | 2,780 | h | C | libzwaveip/zconnection-internal.h | anta/libzwaveip | 69f0b07d0fab69c3a92dbb46a7a91eddff1ca5b4 | [
"Apache-2.0"
] | 79 | 2016-09-16T22:04:30.000Z | 2021-06-29T23:44:55.000Z | libzwaveip/zconnection-internal.h | anta/libzwaveip | 69f0b07d0fab69c3a92dbb46a7a91eddff1ca5b4 | [
"Apache-2.0"
] | 41 | 2016-09-21T09:50:21.000Z | 2019-10-28T08:34:57.000Z | libzwaveip/zconnection-internal.h | anta/libzwaveip | 69f0b07d0fab69c3a92dbb46a7a91eddff1ca5b4 | [
"Apache-2.0"
] | 33 | 2016-09-21T05:02:04.000Z | 2021-09-21T10:43:40.000Z | /*
* Copyright 2016 Sigma Designs, 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 or ag... | 23.965517 | 79 | 0.691007 |
9a09b8867a031cd574e1aa0672867e8cf0c29904 | 3,011 | c | C | compilers/official-network-plugins/src/main/resources/templates/PosixTimerPlugin.c | brice-morin/ThingML | 5f800da71075e40b9ddf08e8ef5ac37d984cd140 | [
"Apache-2.0"
] | 53 | 2017-06-13T07:31:21.000Z | 2022-02-20T06:52:25.000Z | compilers/official-network-plugins/src/main/resources/templates/PosixTimerPlugin.c | CaoE/ThingML | 9c06202d5437328e149d1d40a4cc6191f8a85e07 | [
"Apache-2.0"
] | 139 | 2017-06-16T10:06:16.000Z | 2021-07-29T15:49:54.000Z | compilers/official-network-plugins/src/main/resources/templates/PosixTimerPlugin.c | CaoE/ThingML | 9c06202d5437328e149d1d40a4cc6191f8a85e07 | [
"Apache-2.0"
] | 30 | 2017-06-14T20:54:12.000Z | 2022-03-31T08:28:35.000Z | #include "Timer.h"
#include <time.h>
#include <unistd.h>
#include <pthread.h>
uint32_t Timer_timeouts[NB_SOFT_TIMERS];
uint8_t Timer_wraps[NB_SOFT_TIMERS];
uint32_t Timer_prev;
pthread_mutex_t Timer_mut;
uint32_t Timer_millis()
{
struct timespec current;
int res;
uint32_t millis;
res = clo... | 27.372727 | 78 | 0.525739 |
787b8f77fd9be8ffdf796800f5aa7113e5ccc1d3 | 160 | c | C | Exercise_5_05_p_107/strNCpy.c | hamiltonjr/TheCProgLang | d43e000aaee8e180adaeee542a1809ac0326cf71 | [
"MIT"
] | null | null | null | Exercise_5_05_p_107/strNCpy.c | hamiltonjr/TheCProgLang | d43e000aaee8e180adaeee542a1809ac0326cf71 | [
"MIT"
] | null | null | null | Exercise_5_05_p_107/strNCpy.c | hamiltonjr/TheCProgLang | d43e000aaee8e180adaeee542a1809ac0326cf71 | [
"MIT"
] | null | null | null | /*
* This function copies string t to s.
*/
void strNCpy(char *s, const char *t, int n)
{
for ( ; (*s = *t) && (--n > 0); s++, t++);
*(++s) = '\0';
}
| 17.777778 | 46 | 0.43125 |
cd63122a60642a7286e0c1e5c4a46ecc1b6d0554 | 1,116 | c | C | libft/src/ft_memchr.c | hamza-ezzahiry/RT | f08a99f5aaee8122149b6532a8c4f9b1a2f08481 | [
"MIT"
] | null | null | null | libft/src/ft_memchr.c | hamza-ezzahiry/RT | f08a99f5aaee8122149b6532a8c4f9b1a2f08481 | [
"MIT"
] | null | null | null | libft/src/ft_memchr.c | hamza-ezzahiry/RT | f08a99f5aaee8122149b6532a8c4f9b1a2f08481 | [
"MIT"
] | 2 | 2020-11-16T00:52:55.000Z | 2021-03-06T13:28:02.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memchr.c :+: :+: :+: ... | 37.2 | 80 | 0.196237 |
780d3791fadd592cfabc238ce6444157b0a9e24a | 1,685 | h | C | hdi/service/include/battery_config.h | openharmony-gitee-mirror/powermgr_battery_manager | e8e1c9d1a6a22a494427a2d4b97511d49e6ca13b | [
"Apache-2.0"
] | null | null | null | hdi/service/include/battery_config.h | openharmony-gitee-mirror/powermgr_battery_manager | e8e1c9d1a6a22a494427a2d4b97511d49e6ca13b | [
"Apache-2.0"
] | null | null | null | hdi/service/include/battery_config.h | openharmony-gitee-mirror/powermgr_battery_manager | e8e1c9d1a6a22a494427a2d4b97511d49e6ca13b | [
"Apache-2.0"
] | 2 | 2021-09-13T11:17:09.000Z | 2022-01-20T16:27:55.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 24.779412 | 75 | 0.681306 |
935652d95581c0d48726780f0746de40c0bfd745 | 844 | h | C | src/platformer/object/object.h | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | 1 | 2021-06-16T15:25:47.000Z | 2021-06-16T15:25:47.000Z | src/platformer/object/object.h | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | src/platformer/object/object.h | marstau/shinsango | d9468787ae8e18fa478f936770d88e9bf93c11c0 | [
"BSD-3-Clause"
] | null | null | null | #ifndef platformer_object_h
#define platformer_object_h
#include <vector>
class Token;
/*! Platformers object class */
namespace Platformer{
class Object{
public:
Object();
virtual ~Object();
virtual void act();
inline virtual void attachCamera(int id){
... | 18.347826 | 49 | 0.514218 |
9357222efba14a4a93f2d1d9b4e035a98d988ccb | 288 | h | C | dev/hsed/hsed/comutil.h | dolphilia/machsp | 0acb5cd792fb0e1a98d86748b6273ab8e16523aa | [
"MIT"
] | 6 | 2018-12-21T10:58:31.000Z | 2022-01-13T19:26:24.000Z | dev/hsed/hsed/comutil.h | dolphilia/machsp | 0acb5cd792fb0e1a98d86748b6273ab8e16523aa | [
"MIT"
] | null | null | null | dev/hsed/hsed/comutil.h | dolphilia/machsp | 0acb5cd792fb0e1a98d86748b6273ab8e16523aa | [
"MIT"
] | null | null | null |
//
// comutil.cpp header
//
#ifndef __comutil_h
#define __comutil_h
typedef struct _COM_GUID {
int Data1; // 4バイト
short Data2; // 2バイト
short Data3; // 2バイト
char Data4[8]; // 1バイト×8
} COM_GUID;
int ConvertIID( COM_GUID *guid, char *name );
#endif
| 16 | 45 | 0.600694 |
1a3c498c08591fa0262e4e894c590f1f90c0e389 | 3,988 | h | C | training/dtrain/pairsampling.h | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 114 | 2015-01-11T05:41:03.000Z | 2021-08-31T03:47:12.000Z | training/dtrain/pairsampling.h | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 29 | 2015-01-09T01:00:09.000Z | 2019-09-25T06:04:02.000Z | training/dtrain/pairsampling.h | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 50 | 2015-02-13T13:48:39.000Z | 2019-08-07T09:45:11.000Z | #ifndef _DTRAIN_PAIRSAMPLING_H_
#define _DTRAIN_PAIRSAMPLING_H_
namespace dtrain
{
bool
accept_pair(score_t a, score_t b, score_t threshold)
{
if (fabs(a - b) < threshold) return false;
return true;
}
bool
cmp_hyp_by_score_d(ScoredHyp a, ScoredHyp b)
{
return a.score > b.score;
}
inline void
all_pairs(vector... | 28.084507 | 154 | 0.567202 |
9e1ef03bcb2185485a3d6deef89f089305ea50c3 | 12,794 | h | C | Source/ComputationNetworkLib/DeprecatedNodes.h | KeyanAndrewLi/CNTK | 4b9f8739c72068d70279f91b4b59923b2ae1fc3a | [
"RSA-MD"
] | null | null | null | Source/ComputationNetworkLib/DeprecatedNodes.h | KeyanAndrewLi/CNTK | 4b9f8739c72068d70279f91b4b59923b2ae1fc3a | [
"RSA-MD"
] | null | null | null | Source/ComputationNetworkLib/DeprecatedNodes.h | KeyanAndrewLi/CNTK | 4b9f8739c72068d70279f91b4b59923b2ae1fc3a | [
"RSA-MD"
] | null | null | null | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#pragma once
#include "Basics.h"
#include "ComputationNode.h"
#include "Matrix.h"
namespace Microsoft { namespace MSR { namespace CNTK {
// -----------------... | 43.517007 | 192 | 0.654995 |
9e9aebb40aaa112b19fd129eca2bc84b2fbcd084 | 1,707 | h | C | include/qqee_clib/utf8_gbk_windows.h | xjboss/NeteaseCacheConveter | 5df89ab3fc19467921ce4781a621a98b40f2947e | [
"Apache-2.0"
] | null | null | null | include/qqee_clib/utf8_gbk_windows.h | xjboss/NeteaseCacheConveter | 5df89ab3fc19467921ce4781a621a98b40f2947e | [
"Apache-2.0"
] | null | null | null | include/qqee_clib/utf8_gbk_windows.h | xjboss/NeteaseCacheConveter | 5df89ab3fc19467921ce4781a621a98b40f2947e | [
"Apache-2.0"
] | null | null | null | #ifndef MM_UTF8_GBK_WINDOWS_H
#define MM_UTF8_GBK_WINDOWS_H
#ifdef __cplusplus
extern "C"{
#endif
/**
* utf8转gbk
* @param in_utf8 输入utf字节
* @param out_gbk 输出gbk字节
* @param out_gbk_len 缓冲区长度
* @return 返回实际输出字节长度
*/
int utf8_gbk(char*in_utf8,char*out_gbk,unsigned out_gbk_len);
/**
* gbk转ut... | 27.983607 | 81 | 0.707674 |
b12cdb893478e906a7e9d3bc3600aec45f28fd26 | 15,524 | h | C | halfnetwork/HalfNetwork/ACE_wrappers/ace/Registry.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 25 | 2019-05-20T08:07:39.000Z | 2021-08-17T11:25:02.000Z | halfnetwork/HalfNetwork/ACE_wrappers/ace/Registry.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | null | null | null | halfnetwork/HalfNetwork/ACE_wrappers/ace/Registry.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 17 | 2019-07-07T12:20:16.000Z | 2022-01-11T08:27:44.000Z | // -*- C++ -*-
//=============================================================================
/**
* @file Registry.h
*
* $Id: Registry.h 85110 2009-04-20 09:18:43Z msmit $
*
* @author Irfan Pyarali (irfan@cs.wustl.edu)
*/
//========================================================================... | 27.573712 | 83 | 0.597011 |
7f3bcf5a2c6c7dc0019eda32ff22ca72ded3b887 | 593 | h | C | week2/smarthome/iot_config.h | kriskleva/smarthome | d0abba6b350819b054ac315d00b688f118c90c6e | [
"MIT"
] | 1 | 2018-11-01T03:12:27.000Z | 2018-11-01T03:12:27.000Z | week2/smarthome/iot_config.h | kriskleva/smarthome | d0abba6b350819b054ac315d00b688f118c90c6e | [
"MIT"
] | null | null | null | week2/smarthome/iot_config.h | kriskleva/smarthome | d0abba6b350819b054ac315d00b688f118c90c6e | [
"MIT"
] | null | null | null | // This file contains your configuration used to connect to Cloud IoT Core
// WIFI
const char* ssid = "OBPwifi";
const char* password = "OBP123456";
// Cloud iot details.
const char* project_id = "openbench-aiy-platform";
const char* location = "us-central1";
const char* registry_id = "obp-device-registry";
const cha... | 29.65 | 74 | 0.681282 |
7fe2c46c5691f16d8903d7d8b3500490044b1ef3 | 673 | h | C | commander/hints.h | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | commander/hints.h | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | commander/hints.h | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #pragma once
#include <sstream>
#include <string>
#include <vector>
class Parsed_line;
class Hints
{
public:
Hints();
// create the expected hints from a set of possibilities
Hints(const Parsed_line &line, const std::vector<std::string> &possibilities);
static const int COLOR_MAGENTA;
stati... | 21.709677 | 86 | 0.637444 |
3d04b8de56da450e66a44b6c3f34221a902f91de | 2,234 | h | C | AlphaOmega/qSlicerAlphaOmegaModule.h | jamesobutler/SlicerNetstim | f13c8eb8996f9cd04375cf3ec845c919b12b87ae | [
"BSD-3-Clause"
] | 9 | 2021-04-19T15:29:19.000Z | 2022-01-18T11:53:46.000Z | AlphaOmega/qSlicerAlphaOmegaModule.h | jamesobutler/SlicerNetstim | f13c8eb8996f9cd04375cf3ec845c919b12b87ae | [
"BSD-3-Clause"
] | 5 | 2021-07-01T21:44:19.000Z | 2022-02-07T08:14:33.000Z | AlphaOmega/qSlicerAlphaOmegaModule.h | jamesobutler/SlicerNetstim | f13c8eb8996f9cd04375cf3ec845c919b12b87ae | [
"BSD-3-Clause"
] | 9 | 2021-06-30T20:04:09.000Z | 2022-02-06T17:43:11.000Z | /*==============================================================================
Program: 3D Slicer
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to ... | 28.641026 | 81 | 0.744852 |
d22c4c55c40689c23b7d275fbb76af17c0b23efa | 3,963 | c | C | release/src-rt-6.x.4708/linux/linux-2.6.36/block/blk-ioc.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 21 | 2021-01-22T06:47:38.000Z | 2022-03-20T14:24:29.000Z | release/src-rt-6.x.4708/linux/linux-2.6.36/block/blk-ioc.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 1 | 2018-08-21T03:43:09.000Z | 2018-08-21T03:43:09.000Z | release/src-rt-6.x.4708/linux/linux-2.6.36/block/blk-ioc.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 12 | 2021-01-22T14:59:28.000Z | 2022-02-22T04:03:31.000Z | /*
* Functions related to io context handling
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/bootmem.h> /* for max_pfn/max_low_pfn */
#include <linux/slab.h>
#include "blk.h"
/*
* For io context allocations
*/
static ... | 22.389831 | 76 | 0.709563 |
3223715363e62a26883b5c6deb18b7aa14052c3e | 2,269 | c | C | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/BandClassPriorityHRPD.c | kikikos/openairinterface5g | 54d541c22cdfcb774774089291c93e4e79294a1d | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/BandClassPriorityHRPD.c | kikikos/openairinterface5g | 54d541c22cdfcb774774089291c93e4e79294a1d | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/BandClassPriorityHRPD.c | kikikos/openairinterface5g | 54d541c22cdfcb774774089291c93e4e79294a1d | [
"Apache-2.0"
] | 1 | 2020-02-10T14:17:39.000Z | 2020-02-10T14:17:39.000Z | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/user/openairinterface5g/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/c... | 37.196721 | 162 | 0.739974 |
9a94d762eed99fa895812ec33cf32abbe94036a0 | 8,310 | h | C | src/mongo/db/operation_context.h | hptabster/mongo | 62ad51641684c6c8a9b502897f04228bc7fa7758 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/operation_context.h | hptabster/mongo | 62ad51641684c6c8a9b502897f04228bc7fa7758 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/operation_context.h | hptabster/mongo | 62ad51641684c6c8a9b502897f04228bc7fa7758 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 36.130435 | 98 | 0.629122 |
c5acc6124d0dab437750041dec541df01c7f73b5 | 459 | h | C | EasyJoke/EasyJoke/Classes/Other/UIBarButtonItem+XMGExtension/UIBarButtonItem+SMARTExtension.h | GoodgoodstudyDaydayups/EasyJoke | 036c722b73aaddd0a72092fab8cbbf98ead1dc19 | [
"MIT"
] | 1 | 2015-12-01T15:11:44.000Z | 2015-12-01T15:11:44.000Z | EasyJoke/EasyJoke/Classes/Other/UIBarButtonItem+XMGExtension/UIBarButtonItem+SMARTExtension.h | GoodgoodstudyDaydayups/EasyJoke | 036c722b73aaddd0a72092fab8cbbf98ead1dc19 | [
"MIT"
] | null | null | null | EasyJoke/EasyJoke/Classes/Other/UIBarButtonItem+XMGExtension/UIBarButtonItem+SMARTExtension.h | GoodgoodstudyDaydayups/EasyJoke | 036c722b73aaddd0a72092fab8cbbf98ead1dc19 | [
"MIT"
] | 1 | 2016-04-01T23:46:01.000Z | 2016-04-01T23:46:01.000Z | //
// UIBarButtonItem+SMARTExtension.h
// 3期-百思不得姐
//
// Created by xiaomage on 15/9/1.
// Copyright (c) 2015年 SMART. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIBarButtonItem (SMARTExtension)
+ (instancetype)itemWithImage:(NSString *)image highImage:(NSString *)highImage target:(id)target action... | 30.6 | 119 | 0.745098 |
65a0eea5e52cbfb8365c09fc1b906aa7477d8a28 | 90 | c | C | 0x1C-binary_trees/124-sorted_array_to_avl.c | johncoleman83/bootcampschool-low_level_programming | fbe8798f6c27ff62c1781fadb297f220955db234 | [
"MIT"
] | 4 | 2017-02-09T19:17:21.000Z | 2018-01-17T11:53:54.000Z | 0x1C-binary_trees/124-sorted_array_to_avl.c | johncoleman83/bootcampschool-low_level_programming | fbe8798f6c27ff62c1781fadb297f220955db234 | [
"MIT"
] | null | null | null | 0x1C-binary_trees/124-sorted_array_to_avl.c | johncoleman83/bootcampschool-low_level_programming | fbe8798f6c27ff62c1781fadb297f220955db234 | [
"MIT"
] | 6 | 2017-03-24T04:08:42.000Z | 2020-06-28T17:10:40.000Z | #include "binary_trees.h"
/**
*
*/
avl_t *sorted_array_to_avl(int *array, size_t size);
| 15 | 52 | 0.688889 |
d68c750f2cf41537ec0d5aa86b483a5e4c561664 | 15,510 | c | C | lotterytest.c | wkim97/xv6 | 9e5ae2276ba412a117901324d6d62316f01a5dc5 | [
"MIT-0"
] | null | null | null | lotterytest.c | wkim97/xv6 | 9e5ae2276ba412a117901324d6d62316f01a5dc5 | [
"MIT-0"
] | null | null | null | lotterytest.c | wkim97/xv6 | 9e5ae2276ba412a117901324d6d62316f01a5dc5 | [
"MIT-0"
] | null | null | null | #include "types.h"
#include "mmu.h"
#include "param.h"
#include "proc.h"
#include "user.h"
#define MAX_CHILDREN 32
typedef void (*function_type)(void);
struct test_case {
const char *name;
int total_tests;
int errors;
int num_children;
int tickets[MAX_CHILDREN];
int expect_ticks_unscaled[MAX_... | 33.141026 | 129 | 0.593359 |
ca2968273842a6a22625427bf0c245f1d0f26e8d | 6,032 | h | C | Marlin/cardreader.h | guiEmotiv/nanodlp-mk | 332209ebe8579b6e39b93e3cb429a97251dbb493 | [
"MIT"
] | null | null | null | Marlin/cardreader.h | guiEmotiv/nanodlp-mk | 332209ebe8579b6e39b93e3cb429a97251dbb493 | [
"MIT"
] | null | null | null | Marlin/cardreader.h | guiEmotiv/nanodlp-mk | 332209ebe8579b6e39b93e3cb429a97251dbb493 | [
"MIT"
] | null | null | null | /**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 31.915344 | 160 | 0.71618 |
a9ba5818c0999def1a199d24e765189d100a973a | 786 | h | C | PrivateFrameworks/ConsoleKit/CSKMenuItemRepresentation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/ConsoleKit/CSKMenuItemRepresentation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/ConsoleKit/CSKMenuItemRepresentation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSMenuItem, NSString;
@interface CSKMenuItemRepresentation : NSObject
{
NSString *_property;
NSMenuItem *_parentMenuItem;
NSString *_groupI... | 27.103448 | 104 | 0.737913 |
aa1c3809e3f073492b1c6b9144318b1db6faed43 | 220 | h | C | Algoritmica Grafurilor App/SFML Tutorial/Random.h | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | 1 | 2021-02-07T11:15:19.000Z | 2021-02-07T11:15:19.000Z | Luxembourg/Luxembourg/Random.h | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | null | null | null | Luxembourg/Luxembourg/Random.h | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <random>
class Random
{
public:
Random();
int generate(int minim, int maxim);
float generate(float minim, float maxim);
private:
std::random_device randomDevice;
std::mt19937 m_MTwister;
};
| 13.75 | 42 | 0.731818 |
aa8ce5247cd71b3842603309275eb82682b3c2a7 | 2,500 | c | C | tests/test_contexts.c | martaiborra/c-blosc2 | 861ba79f31393dec0a0782ca11cf32cebb6f6610 | [
"BSD-3-Clause"
] | null | null | null | tests/test_contexts.c | martaiborra/c-blosc2 | 861ba79f31393dec0a0782ca11cf32cebb6f6610 | [
"BSD-3-Clause"
] | null | null | null | tests/test_contexts.c | martaiborra/c-blosc2 | 861ba79f31393dec0a0782ca11cf32cebb6f6610 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2020 The Blosc Developers
http://blosc.org
License: BSD (see LICENSE.txt)
*/
#include <stdio.h>
#include "test_common.h"
#define SIZE 500 * 1000
#define NTHREADS 2
int main(void) {
static int32_t data[SIZE];
static int32_t data_out[SIZE];
static int32_t data_dest[SIZE];
int32_t data_... | 26.595745 | 90 | 0.6664 |
80345c1ea253adb573e93d0e6910d99f27942157 | 12,898 | c | C | Software/Analysis/src/filters.c | AmberXiong/Mic4Test_KC705 | 0a66a7305934f9d9da5c725a04e1e1ddcc4763c1 | [
"MIT"
] | 2 | 2018-01-17T08:44:39.000Z | 2020-12-14T11:30:45.000Z | Software/Analysis/src/filters.c | AmberXiong/Mic4Test_KC705 | 0a66a7305934f9d9da5c725a04e1e1ddcc4763c1 | [
"MIT"
] | null | null | null | Software/Analysis/src/filters.c | AmberXiong/Mic4Test_KC705 | 0a66a7305934f9d9da5c725a04e1e1ddcc4763c1 | [
"MIT"
] | 2 | 2018-01-17T08:46:04.000Z | 2020-12-14T11:30:47.000Z | #include <string.h>
#include <sys/types.h>
#include <stdint.h>
#include <math.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_wavelet.h>
#include <fftw3.h>
#include "common.h"
#include "utils.h"
#include "filters.h"
filters_t *filters_init(ANALYSIS_WAVEFORM_BASE_TYPE *inWav, size_t n)
{
filters_t *fHdl;
fHdl ... | 31.768473 | 101 | 0.57319 |
bd26b52fc8adb30e00f7d7dbf158151f410b0bf2 | 2,073 | h | C | Source/Dynamics/ParticleSystem/MeshCollision.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | Source/Dynamics/ParticleSystem/MeshCollision.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | Source/Dynamics/ParticleSystem/MeshCollision.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Core/Array/Array.h"
#include "Framework/Framework/CollisionModel.h"
#include "Framework/Framework/ModuleTopology.h"
#include "Framework/Framework/Node.h"
#include "Framework/Framework/FieldArray.h"
namespace PhysIKA {
template <typename>
class CollidablePoints;
template <typename>
class Neighbor... | 27.276316 | 82 | 0.760733 |
2328dc52cd535618f4ed269455ce453c1095a1b5 | 714 | h | C | src/camera/include/CameraData.h | robots-inspired/visual_odometry | 8690830d2a86d51030b2cf10ffc11ca161718b50 | [
"MIT"
] | null | null | null | src/camera/include/CameraData.h | robots-inspired/visual_odometry | 8690830d2a86d51030b2cf10ffc11ca161718b50 | [
"MIT"
] | null | null | null | src/camera/include/CameraData.h | robots-inspired/visual_odometry | 8690830d2a86d51030b2cf10ffc11ca161718b50 | [
"MIT"
] | null | null | null | #pragma once
#include <src/camera/include/CameraModel.h>
namespace my_robot
{
class CameraData
{
public:
CameraData() { };
CameraData(const cv::Mat& image, const cv::Mat& depth, const CameraModel& cameraModel) :
_image(image),
_depth(depth),
_cameraModel(cam... | 22.3125 | 91 | 0.596639 |
6c8a5d58f5ab32c4b3a0bbab134b69322e5424e8 | 3,823 | c | C | test/test_sem.c | kimushu/tinythreads | 000ac8739f5ae8ef19a7f9cc28cf1ad6404c23a4 | [
"MIT"
] | 7 | 2018-03-21T18:35:23.000Z | 2022-01-29T16:59:12.000Z | test/test_sem.c | kimushu/tinythreads | 000ac8739f5ae8ef19a7f9cc28cf1ad6404c23a4 | [
"MIT"
] | 5 | 2016-12-09T15:26:02.000Z | 2020-10-06T00:14:59.000Z | test/test_sem.c | kimushu/tinythreads | 000ac8739f5ae8ef19a7f9cc28cf1ad6404c23a4 | [
"MIT"
] | 3 | 2020-05-20T00:44:28.000Z | 2021-10-09T02:54:05.000Z | #include <tthread.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include "unity.h"
static volatile int test_worker_pass = 0;
static void *wait_worker(sem_t *sem) {
test_worker_pass = 1;
TEST_ASSERT_EQUAL_MESSAGE(
0, sem_wait(sem), "sem_wait() on sub thread should succeed immediately");
... | 31.858333 | 80 | 0.642166 |
1e8a68df90b9b121179556b7371d8ce2e20324b2 | 127 | h | C | private/inet/mshtml/external/inc/msls/plnobj.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/richedit/lsinc/plnobj.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/richedit/lsinc/plnobj.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | #ifndef PLNOBJ_DEFINED
#define PLNOBJ_DEFINED
struct lnobj;
typedef struct lnobj* PLNOBJ;
#endif /* PLNOBJ_DEFINED */
| 15.875 | 30 | 0.740157 |
e7b345ba634b20beb7ade07253a1c6744759ad0f | 252 | h | C | HomeworkPatterns/Models/EnglishMan.h | WytenCode/HomeworkPatterns | e04eaf7d8466f1117be496fad897fb7f8ccd2b66 | [
"MIT"
] | null | null | null | HomeworkPatterns/Models/EnglishMan.h | WytenCode/HomeworkPatterns | e04eaf7d8466f1117be496fad897fb7f8ccd2b66 | [
"MIT"
] | null | null | null | HomeworkPatterns/Models/EnglishMan.h | WytenCode/HomeworkPatterns | e04eaf7d8466f1117be496fad897fb7f8ccd2b66 | [
"MIT"
] | null | null | null | //
// EnglishMan.h
// HomeworkPatterns
//
// Created by Владимир on 08/05/2019.
// Copyright © 2019 Владимир. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "StreetMan.h"
@interface EnglishMan : NSObject <StreetPerson>
@end
| 14.823529 | 51 | 0.702381 |
9b1968b2bdb50987844628c89d42cd3577c2d5e7 | 39,579 | c | C | draw/draw.c | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | 25 | 2015-03-30T20:19:23.000Z | 2021-12-10T06:18:10.000Z | draw/draw.c | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | null | null | null | draw/draw.c | multigcs/multigcs | bd37e2a81411474c6adc5a51bfaef64656920fa3 | [
"libpng-2.0"
] | 16 | 2015-01-02T22:43:29.000Z | 2020-04-22T08:44:36.000Z |
#include <all.h>
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
Uint32 rmask = 0xff000000;
Uint32 gmask = 0x00ff0000;
Uint32 bmask = 0x0000ff00;
Uint32 amask = 0x000000ff;
#else
Uint32 rmask = 0x000000ff;
Uint32 gmask = 0x0000ff00;
Uint32 bmask = 0x00ff0000;
Uint32 amask = 0xff000000;
#endif
SrtmCache AltCache[MAX_ALTCACHE];
... | 35.8181 | 200 | 0.629804 |
bb78a712e85a902cdad33cad1a279b265ac1ea8f | 267 | h | C | c++/updates.h | Notgnoshi/joystick | 4b4e57f059c4604c0a48cfb295142a417cdd9cf5 | [
"MIT"
] | 8 | 2017-04-22T06:55:46.000Z | 2020-06-07T20:21:56.000Z | c++/updates.h | Notgnoshi/joystick | 4b4e57f059c4604c0a48cfb295142a417cdd9cf5 | [
"MIT"
] | null | null | null | c++/updates.h | Notgnoshi/joystick | 4b4e57f059c4604c0a48cfb295142a417cdd9cf5 | [
"MIT"
] | 3 | 2017-12-02T16:09:59.000Z | 2021-12-14T23:02:49.000Z | #pragma once
#include "joy.h"
#include <iostream>
#include <climits>
void update_buttons(Joystick* joy);
void update_axes(Joystick* joy);
short bound_short(int num);
short map(long x, long in_min, long in_max, long out_min, long out_max);
short short_map(long x);
| 20.538462 | 72 | 0.752809 |
159a182fe2f391fd0ace4701a7c94172e40aa2c7 | 4,641 | h | C | DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/BrowserElementDictionariesBinding.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | 1 | 2016-04-20T08:35:44.000Z | 2016-04-20T08:35:44.000Z | DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/BrowserElementDictionariesBinding.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/BrowserElementDictionariesBinding.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | /* THIS FILE IS AUTOGENERATED FROM BrowserElementDictionaries.webidl BY Codegen.py - DO NOT EDIT */
#ifndef mozilla_dom_BrowserElementDictionariesBinding_h
#define mozilla_dom_BrowserElementDictionariesBinding_h
#include "js/RootingAPI.h"
#include "jspubtd.h"
#include "mozilla/ErrorResult.h"
#include "mozilla... | 23.678571 | 120 | 0.729584 |
e9f173ec5db7a2797de76cd6f70d94b7d2dd14fc | 1,067 | c | C | ultrasonic.c | bglebrun/CENG447FinalLab | b23d26f701d4bc89414669cf9391e54839a35a84 | [
"WTFPL"
] | null | null | null | ultrasonic.c | bglebrun/CENG447FinalLab | b23d26f701d4bc89414669cf9391e54839a35a84 | [
"WTFPL"
] | null | null | null | ultrasonic.c | bglebrun/CENG447FinalLab | b23d26f701d4bc89414669cf9391e54839a35a84 | [
"WTFPL"
] | null | null | null | #include "ultrasonic.h"
/******************************************************************************
*
* Ultrasonic sensor functions
*
*
* Sets the pins for ultrasonic sensor,
* then will setup the necessary timer 1
* to properly time the sensor
*/
void initUltrasonic()
{
// Trig on A5
setBit(DDRC, ... | 20.519231 | 79 | 0.593252 |
1880770eb35660ff478b647f779e688cd26cb41b | 1,392 | h | C | elbridge/graph.h | pjrule/elbridge | d889d17fc5b762a7fbaf516861b2a325aff63e6d | [
"MIT"
] | 2 | 2018-07-20T20:17:40.000Z | 2019-03-03T01:01:30.000Z | elbridge/graph.h | pjrule/elbridge | d889d17fc5b762a7fbaf516861b2a325aff63e6d | [
"MIT"
] | 2 | 2019-03-02T22:11:58.000Z | 2019-07-14T03:46:53.000Z | elbridge/graph.h | pjrule/elbridge | d889d17fc5b762a7fbaf516861b2a325aff63e6d | [
"MIT"
] | null | null | null | #ifndef GRAPH_H
#define GRAPH_H
#include <unordered_set>
#include <unordered_map>
#include <vector>
namespace graph {
class VTD {
int id;
int district;
public:
VTD(int id);
void add_neighbor(VTD* vtd);
bool is_neighbor(int id);
int get_id();
... | 31.636364 | 85 | 0.533046 |
767953f433279b16e049caa770360d387f80db27 | 4,744 | h | C | thirdparty/qscintilla/Qt4Qt5/Qsci/qscilexercmake.h | Victor-Y-Fadeev/qreal | 2c7f14d5eb24753d4a7c038e13a3fa3026adce18 | [
"Apache-2.0"
] | 6 | 2017-07-03T13:55:35.000Z | 2018-11-28T03:39:51.000Z | thirdparty/qscintilla/Qt4Qt5/Qsci/qscilexercmake.h | Victor-Y-Fadeev/qreal | 2c7f14d5eb24753d4a7c038e13a3fa3026adce18 | [
"Apache-2.0"
] | 27 | 2017-06-29T09:36:37.000Z | 2017-11-25T14:50:04.000Z | thirdparty/qscintilla/Qt4Qt5/Qsci/qscilexercmake.h | Victor-Y-Fadeev/qreal | 2c7f14d5eb24753d4a7c038e13a3fa3026adce18 | [
"Apache-2.0"
] | null | null | null | // This defines the interface to the QsciLexerCMake class.
//
// Copyright (c) 2017 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of QScintilla.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation... | 29.465839 | 79 | 0.651981 |
b7134e846d9ab9a8bdd8694fa527e6064ac0ab56 | 7,527 | h | C | src/ftagtable_impl.h | glennhickey/context | e7cdb988e2bb6eed5be78567ae7b88378eda9411 | [
"MIT-0"
] | 1 | 2018-04-22T22:16:47.000Z | 2018-04-22T22:16:47.000Z | src/ftagtable_impl.h | glennhickey/context | e7cdb988e2bb6eed5be78567ae7b88378eda9411 | [
"MIT-0"
] | null | null | null | src/ftagtable_impl.h | glennhickey/context | e7cdb988e2bb6eed5be78567ae7b88378eda9411 | [
"MIT-0"
] | null | null | null | //Copyright (C) 2010 by Glenn Hickey
//
//Released under the MIT license, see LICENSE.txt
#include <cassert>
#include <iostream>
#include <cmath>
template<typename T, typename U>
inline
FTAGTable<T, U>::FTAGTable() :
_tab1(NULL), _tab2(NULL), _tab3(NULL),
_lenA(0), _lenB(0),
_winA(0), _winB(0),
_tm(NUL... | 25.777397 | 78 | 0.529826 |
f4eb5992eead994020171df684f4851d49eb7e0d | 1,774 | c | C | MainSource/File8.c | righthalfplane/SdrGult | f6a082939d7922c08cef1f53104a84841be80910 | [
"MIT"
] | null | null | null | MainSource/File8.c | righthalfplane/SdrGult | f6a082939d7922c08cef1f53104a84841be80910 | [
"MIT"
] | null | null | null | MainSource/File8.c | righthalfplane/SdrGult | f6a082939d7922c08cef1f53104a84841be80910 | [
"MIT"
] | null | null | null |
#include "File8.h"
#include "Utilities.h"
extern int cFree(char *data);
extern int mstrncpy(char *out,char *in,long n);
INT8_64 FileSeeks8,FileReads8,FileWrite8,FileReadBytes8;
FILE8 *fopen8(char *name,char *mode)
{
FILE8 *file;
FILE *open;
if(!name || !mode)return NULL;
open=fopen(name,mode);
if(!open)retu... | 18.102041 | 63 | 0.660654 |
63b395789c5d9fcbdcd523f4d2e604705762dda6 | 596 | h | C | particles/Random.h | peppincsoda/particles-demo | a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a | [
"MIT"
] | null | null | null | particles/Random.h | peppincsoda/particles-demo | a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a | [
"MIT"
] | null | null | null | particles/Random.h | peppincsoda/particles-demo | a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a | [
"MIT"
] | null | null | null | #ifndef RANDOM_H
#define RANDOM_H
#include <cstdint>
namespace particles {
// Source: http://en.wikipedia.org/wiki/Linear_congruential_generator#Parameters_in_common_use
inline static uint32_t next_random(uint32_t& seed)
{
seed = seed * 1664525U + 1013904223U;
return seed;
}
// 0 <= _ <= 1
i... | 19.866667 | 96 | 0.677852 |
494a7327e863c47f438fad2d3e88ce1d088291ff | 635 | h | C | include/orz/mem/need.h | ViewFaceCore/OpenRoleZoo | 19cef3cdc5238374cedcf7068dc7a6ad8448c21b | [
"BSD-2-Clause"
] | null | null | null | include/orz/mem/need.h | ViewFaceCore/OpenRoleZoo | 19cef3cdc5238374cedcf7068dc7a6ad8448c21b | [
"BSD-2-Clause"
] | null | null | null | include/orz/mem/need.h | ViewFaceCore/OpenRoleZoo | 19cef3cdc5238374cedcf7068dc7a6ad8448c21b | [
"BSD-2-Clause"
] | null | null | null | //
// Created by Lby on 2017/10/9.
//
#ifndef ORZ_MEM_NEED_H
#define ORZ_MEM_NEED_H
#include "orz/tools/void_bind.h"
namespace orz {
class need {
public:
template<typename FUNC>
need(FUNC func) {
task = void_bind(func);
}
template<typename FUNC, typename... Args... | 17.162162 | 64 | 0.549606 |
49584049bd39e5c4a2b63a79ab92a81eb549f130 | 5,781 | h | C | include/nop/structure.h | carloscm/libnop | 9d56beb16fd1f9ae21ec53ca26da372369352bd2 | [
"Apache-2.0"
] | null | null | null | include/nop/structure.h | carloscm/libnop | 9d56beb16fd1f9ae21ec53ca26da372369352bd2 | [
"Apache-2.0"
] | null | null | null | include/nop/structure.h | carloscm/libnop | 9d56beb16fd1f9ae21ec53ca26da372369352bd2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 The Native Object Protocols Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 44.813953 | 80 | 0.593669 |
5bbec84a4278c4afc289f3792a831a302fa4d943 | 274 | h | C | src/tan_time.h | tansrv/tanshipper | 7096266ea59522058f153fc751a16f8f9a959e53 | [
"BSD-2-Clause"
] | null | null | null | src/tan_time.h | tansrv/tanshipper | 7096266ea59522058f153fc751a16f8f9a959e53 | [
"BSD-2-Clause"
] | null | null | null | src/tan_time.h | tansrv/tanshipper | 7096266ea59522058f153fc751a16f8f9a959e53 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) tanserver.org
* Copyright (C) Chen Daye
*
* Feedback: tanserver@outlook.com
*/
#ifndef TAN_TIME_H
#define TAN_TIME_H
#include "tan_core.h"
void tan_localtime(struct tm *tm);
#define tan_msleep(ms) usleep(ms * 1000)
#endif /* TAN_TIME_H */
| 11.913043 | 41 | 0.682482 |
c0bb31d1f73bdaa353d6f7cd000c481c71fe94b2 | 2,043 | h | C | src/abaeterno/hw_model/cpu.h | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | src/abaeterno/hw_model/cpu.h | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | src/abaeterno/hw_model/cpu.h | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | // (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR C... | 22.955056 | 77 | 0.742535 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.