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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
726aa9622fe9fb4a19058abb2351812058038cad | 882 | h | C | simulator/method.h | leandrohw/et2-simulator | ed87e38f1b62ab7e1a7bc684da3364d1154b5878 | [
"Apache-2.0"
] | null | null | null | simulator/method.h | leandrohw/et2-simulator | ed87e38f1b62ab7e1a7bc684da3364d1154b5878 | [
"Apache-2.0"
] | 11 | 2018-04-10T02:46:30.000Z | 2018-04-24T18:12:58.000Z | simulator/method.h | leandrohw/et2-simulator | ed87e38f1b62ab7e1a7bc684da3364d1154b5878 | [
"Apache-2.0"
] | null | null | null | #ifndef ET2_SIMULATOR_SIMULATOR_METHOD_H_
#define ET2_SIMULATOR_SIMULATOR_METHOD_H_
#include <string>
#include <map>
namespace et_simulator {
class Method;
typedef std::map<int, Method *> MethodMap;
class Method
{
private:
int id;
std::string class_name;
std::string method_name;
std::string signature;
st... | 21.512195 | 67 | 0.701814 |
20a9c2eed7667706586196900459684840632656 | 2,506 | h | C | scene/camera.h | oceancx/DmitrysEngine | 67856be79b6970168e57acd67db913a625a3797a | [
"MIT"
] | null | null | null | scene/camera.h | oceancx/DmitrysEngine | 67856be79b6970168e57acd67db913a625a3797a | [
"MIT"
] | null | null | null | scene/camera.h | oceancx/DmitrysEngine | 67856be79b6970168e57acd67db913a625a3797a | [
"MIT"
] | 1 | 2020-03-10T13:47:12.000Z | 2020-03-10T13:47:12.000Z | /* Copyright (c) 2017-2019 Dmitry Stepanov a.k.a mr.DIMAS
*
* 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... | 40.419355 | 89 | 0.725858 |
1f7dd2f1ad82eb7a9c1aeadf9366aee16b6a9313 | 601 | h | C | exerciceP10/general/integrateur/integrateur.h | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | exerciceP10/general/integrateur/integrateur.h | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | exerciceP10/general/integrateur/integrateur.h | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | #ifndef H_INTEGRATEUR
#define H_INTEGRATEUR
#include "oscillateur.h"
/*!
* Classe de base des Intégrateurs.
*/
class Integrateur{
public:
/* Le constructeur par défaut est suffisent, car il n'y a
* rien à initialiser dans cette classe.
*/
virtual ~Integrateur() {}
//! Méthode qui fait évoluer l'oscill... | 24.04 | 87 | 0.710483 |
deb505fc81120fbd8fc4b8e4311bada7ccf45733 | 543 | h | C | src/Mesh.h | williamsandst/fractal-raymarcher | 2252f75051dc73452eb547b7d6eb9111879e1109 | [
"MIT"
] | 3 | 2020-08-08T19:23:22.000Z | 2020-08-09T06:28:40.000Z | src/Mesh.h | williamsandst/fractal-raymarcher | 2252f75051dc73452eb547b7d6eb9111879e1109 | [
"MIT"
] | null | null | null | src/Mesh.h | williamsandst/fractal-raymarcher | 2252f75051dc73452eb547b7d6eb9111879e1109 | [
"MIT"
] | null | null | null | #pragma once
#include "VBOWrapper.h"
struct Mesh
{
public:
Vec3i pos;
std::vector<GeometryVertexAttrib> vertices;
Mesh(Vec3i pos, std::vector<GeometryVertexAttrib>& vertices)
{
this->vertices = vertices;
this->pos = pos;
}
Mesh(Vec3i pos, std::vector<float>& fVertices)
{
vertices = std::vector<Geometr... | 17.516129 | 94 | 0.651934 |
46adbf475941099c4df081a7e945b7cfad842530 | 1,178 | c | C | release/src/router/busybox/applets/usage.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | null | null | null | release/src/router/busybox/applets/usage.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | null | null | null | release/src/router/busybox/applets/usage.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | null | null | null | /* vi: set sw=4 ts=4: */
/*
* Copyright (C) 2008 Denys Vlasenko.
*
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "autoconf.h"
/* Since we can't use platform.h, have to do this again by hand: */
#if ENABLE_NOMMU
# defin... | 21.035714 | 79 | 0.687606 |
2047f420cf473ba97dbb33776e088633284fe31e | 648 | h | C | Rendering/ColoredRectangle.h | DeltaEngine/DeltaEngineCpp | 7be036473927750a89b8ccaefd425c07d7dd3319 | [
"Apache-2.0"
] | 7 | 2015-02-01T21:03:22.000Z | 2021-06-29T03:27:28.000Z | Rendering/ColoredRectangle.h | DeltaEngine/DeltaEngineCpp | 7be036473927750a89b8ccaefd425c07d7dd3319 | [
"Apache-2.0"
] | null | null | null | Rendering/ColoredRectangle.h | DeltaEngine/DeltaEngineCpp | 7be036473927750a89b8ccaefd425c07d7dd3319 | [
"Apache-2.0"
] | 7 | 2015-02-19T11:46:56.000Z | 2019-08-17T12:37:04.000Z | #include "Renderable.h"
#include "Renderer.h"
namespace DeltaEngine { namespace Rendering
{
// Keeps position, size and color for an automatically rendered rectangle on screen.
class RenderingLibrary ColoredRectangle : public Renderable
{
public:
ColoredRectangle(std::shared_ptr<Renderer> render, const Datatypes... | 30.857143 | 86 | 0.753086 |
204935cd570236a61e7887271bf7b2674caa8519 | 664 | h | C | samples/net/ws_echo_server/src/config.h | SebastianBoe/fw-nrfconnect-zephyr | c74c0ef21daf7594b5c4d531e75cc72bae29f9b7 | [
"Apache-2.0"
] | 2 | 2018-12-17T21:00:20.000Z | 2019-02-03T09:47:38.000Z | samples/net/ws_echo_server/src/config.h | SebastianBoe/fw-nrfconnect-zephyr | c74c0ef21daf7594b5c4d531e75cc72bae29f9b7 | [
"Apache-2.0"
] | 6 | 2019-01-09T08:50:20.000Z | 2019-07-29T09:47:59.000Z | samples/net/ws_echo_server/src/config.h | SebastianBoe/fw-nrfconnect-zephyr | c74c0ef21daf7594b5c4d531e75cc72bae29f9b7 | [
"Apache-2.0"
] | 5 | 2018-07-24T11:06:52.000Z | 2018-12-26T06:39:50.000Z | /*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
/* The startup time needs to be longish if DHCP is enabled as setting
* DHCP up takes some time.
*/
#define APP_STARTUP_TIME K_SECONDS(20)
#ifdef CONFIG_NET_CONFIG_SETTINGS
#ifdef CONFIG_N... | 19.529412 | 69 | 0.730422 |
5a75b397858ed8531084cdac33e22c0050689ca3 | 760 | h | C | sdk-6.5.20/include/soc/dnxc/swstate/auto_generated/access/dnx_sw_state_defragmented_chunk_access.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dnxc/swstate/auto_generated/access/dnx_sw_state_defragmented_chunk_access.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dnxc/swstate/auto_generated/access/dnx_sw_state_defragmented_chunk_access.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#ifndef __DNX_SW_STATE_DEFRAGMENTED_CHUNK_ACCESS_H__
#define __DNX_SW_STATE_DEFRAGMENTED_CHUNK_ACCESS_H__
#ifdef ... | 29.230769 | 134 | 0.828947 |
6e2f3db54bf9b7c76a9913ea7b29abfc29b22498 | 929 | h | C | Espruino/src/jswrap_arraybuffer.h | pgmsoul/jsuse | 9f95af72bf68d7c6393d0ec6281b1ba321f1f4f0 | [
"Apache-2.0"
] | 162 | 2019-01-04T14:23:52.000Z | 2021-12-26T05:51:34.000Z | Espruino/src/jswrap_arraybuffer.h | pgmsoul/jsuse | 9f95af72bf68d7c6393d0ec6281b1ba321f1f4f0 | [
"Apache-2.0"
] | 6 | 2019-01-04T14:32:15.000Z | 2020-08-07T06:47:34.000Z | Espruino/src/jswrap_arraybuffer.h | pgmsoul/jsuse | 9f95af72bf68d7c6393d0ec6281b1ba321f1f4f0 | [
"Apache-2.0"
] | 130 | 2019-01-04T14:24:33.000Z | 2021-06-25T16:48:56.000Z | /*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http... | 46.45 | 122 | 0.638321 |
6e6f64959f6287ab6c8ef56ba2f78e0e5db55d54 | 130,301 | c | C | suricata-4.1.4/src/detect-engine.c | runtest007/dpdk_surcata_4.1.1 | 5abf91f483b418b5d9c2dd410b5c850d6ed95c5f | [
"MIT"
] | 77 | 2019-06-17T07:05:07.000Z | 2022-03-07T03:26:27.000Z | suricata-4.1.4/src/detect-engine.c | clockdad/DPDK_SURICATA-4_1_1 | 974cc9eb54b0b1ab90eff12a95617e3e293b77d3 | [
"MIT"
] | 22 | 2019-07-18T02:32:10.000Z | 2022-03-24T03:39:11.000Z | suricata-4.1.4/src/detect-engine.c | clockdad/DPDK_SURICATA-4_1_1 | 974cc9eb54b0b1ab90eff12a95617e3e293b77d3 | [
"MIT"
] | 49 | 2019-06-18T03:31:56.000Z | 2022-03-13T05:23:10.000Z | /* Copyright (C) 2007-2010 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... | 31.835084 | 150 | 0.621691 |
4c1da860f7dcf94e514cc40e243165793feac47d | 2,293 | h | C | MailHeaders/Catalina/MailUI/MailTableViewDelegate-Protocol.h | larkov/MailTrackerBlocker | 9b019adf2f37bf4403261c93e9c54e3353b84e08 | [
"BSD-3-Clause"
] | 1,062 | 2020-07-11T00:18:42.000Z | 2022-03-20T14:20:20.000Z | MailHeaders/Catalina/MailUI/MailTableViewDelegate-Protocol.h | JannikArndt/MailTrackerBlocker | 9c073c7b3bb37b4f82a1bf661ac9d34891f1c062 | [
"BSD-3-Clause"
] | 136 | 2020-07-29T02:10:09.000Z | 2022-03-13T07:02:45.000Z | MailHeaders/Catalina/MailUI/MailTableViewDelegate-Protocol.h | JannikArndt/MailTrackerBlocker | 9c073c7b3bb37b4f82a1bf661ac9d34891f1c062 | [
"BSD-3-Clause"
] | 32 | 2020-07-29T02:40:49.000Z | 2022-03-30T18:48:07.000Z | //
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "NSTableViewDelegate-Protocol.h"
@class MailTableView, NSArray, NSDraggingSession, NSEvent, NSImage, NSIndexSet, NSMenu, NSString, NSTableColumn, NSWindow;
@protocol ... | 55.926829 | 157 | 0.800698 |
486cc54a47422ccc2b71894b96d93e6916ec4e0d | 1,185 | h | C | C/bison/Expression.h | Catamondium/scratch | c67dc76e11a66fc5cf0fe142f161791223ca6861 | [
"Unlicense"
] | null | null | null | C/bison/Expression.h | Catamondium/scratch | c67dc76e11a66fc5cf0fe142f161791223ca6861 | [
"Unlicense"
] | null | null | null | C/bison/Expression.h | Catamondium/scratch | c67dc76e11a66fc5cf0fe142f161791223ca6861 | [
"Unlicense"
] | null | null | null | /*
* Expression.h
* Definition of the structure used to build the syntax tree.
*/
#ifndef __EXPRESSION_H__
#define __EXPRESSION_H__
/**
* @brief The operation type
*/
typedef enum tagEOperationType
{
eVALUE,
eMULTIPLY,
eADD
} EOperationType;
/**
* @brief The expression structure
*/
typedef struct t... | 22.358491 | 89 | 0.701266 |
483bbe5d7b39089352b5dc6de7cab18616faae87 | 4,991 | h | C | Geometry.h | rems4e/CoreGL | ff2f0e2225c4c73c5676c077500f8bd9235a0c99 | [
"MIT"
] | null | null | null | Geometry.h | rems4e/CoreGL | ff2f0e2225c4c73c5676c077500f8bd9235a0c99 | [
"MIT"
] | null | null | null | Geometry.h | rems4e/CoreGL | ff2f0e2225c4c73c5676c077500f8bd9235a0c99 | [
"MIT"
] | null | null | null | //
// Geometry.h
// CoreGL
//
// Created by Rémi on 07/06/08.
// Additional contributor (2012): Marc Promé
//
#ifndef COREGL_GEOMETRY_H
#define COREGL_GEOMETRY_H
#include <iosfwd>
#define GLM_SWIZZLE
#include <glm/glm.hpp>
#include <glm/gtc/matrix_access.hpp>
#include <type_traits>
namespace CoreGL {
using :... | 33.05298 | 112 | 0.608495 |
bc3ed41ad9d8daf5fc3a4d0874300b8ed6069023 | 7,295 | h | C | src/bint.h | dlbeer/libdlb | 03760de452dbed4b3cfe32e771520bf694cde000 | [
"0BSD"
] | 11 | 2017-04-04T16:39:04.000Z | 2021-11-26T22:07:46.000Z | src/bint.h | dlbeer/libdlb | 03760de452dbed4b3cfe32e771520bf694cde000 | [
"0BSD"
] | null | null | null | src/bint.h | dlbeer/libdlb | 03760de452dbed4b3cfe32e771520bf694cde000 | [
"0BSD"
] | 2 | 2017-08-26T03:57:49.000Z | 2022-03-23T08:51:36.000Z | /* libdlb - data structures and utilities library
* Copyright (C) 2011 Daniel Beer <dlbeer@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all cop... | 36.293532 | 78 | 0.736669 |
429ab1cb9228dcfcf437d78001c803ed74ad6667 | 420 | h | C | T194/Backend/blackBoard/node_modules/opencv4nodejs/cc/tracking/Trackers/TrackerCSRT.h | DevelopAppWithMe/Hackathon_5.0 | 6af503a995721c04986931d6a29d8f946ceaa067 | [
"MIT"
] | 1 | 2021-02-22T17:47:13.000Z | 2021-02-22T17:47:13.000Z | T194/Backend/blackBoard/node_modules/opencv4nodejs/cc/tracking/Trackers/TrackerCSRT.h | DevelopAppWithMe/Hackathon_5.0 | 6af503a995721c04986931d6a29d8f946ceaa067 | [
"MIT"
] | null | null | null | T194/Backend/blackBoard/node_modules/opencv4nodejs/cc/tracking/Trackers/TrackerCSRT.h | DevelopAppWithMe/Hackathon_5.0 | 6af503a995721c04986931d6a29d8f946ceaa067 | [
"MIT"
] | null | null | null | #include "../Tracker.h"
#if CV_VERSION_GREATER_EQUAL(3, 4, 1)
#ifndef __FF_TRACKERCSRT_H__
#define __FF_TRACKERCSRT_H__
class TrackerCSRT : public Tracker {
public:
cv::Ptr<cv::TrackerCSRT> tracker;
static NAN_MODULE_INIT(Init);
static NAN_METHOD(New);
static Nan::Persistent<v8::FunctionTemplate>... | 17.5 | 59 | 0.702381 |
0969b044a8ecedfea56f9f874c55c8b3681b228e | 5,517 | h | C | dev/Gems/StarterGameGem/Code/Source/StatComponent.h | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | 5 | 2018-08-17T21:05:55.000Z | 2021-04-17T10:48:26.000Z | dev/Gems/StarterGameGem/Code/Source/StatComponent.h | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | null | null | null | dev/Gems/StarterGameGem/Code/Source/StatComponent.h | horvay/lumberyardtutor | 63b0681a7ed2a98d651b699984de92951721353e | [
"AML"
] | 5 | 2017-12-05T16:36:00.000Z | 2021-04-27T06:33:54.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 31.706897 | 91 | 0.705093 |
ba49fd69f86edd8e87f6e314cd04f4db840bc627 | 10,076 | c | C | lib/tran.c | raphael-nutanix/muser | 50e7bfb5f86749070aef7dc3982875ef6129601b | [
"BSD-3-Clause"
] | 13 | 2019-10-11T08:59:20.000Z | 2020-11-22T09:18:27.000Z | lib/tran.c | raphael-nutanix/muser | 50e7bfb5f86749070aef7dc3982875ef6129601b | [
"BSD-3-Clause"
] | 82 | 2019-11-05T15:46:44.000Z | 2020-11-27T14:56:40.000Z | lib/tran.c | raphael-nutanix/muser | 50e7bfb5f86749070aef7dc3982875ef6129601b | [
"BSD-3-Clause"
] | 11 | 2019-10-07T08:39:22.000Z | 2020-06-29T20:29:08.000Z | /*
* Copyright (c) 2020 Nutanix Inc. All rights reserved.
*
* Authors: Thanos Makatos <thanos@nutanix.com>
* Swapnil Ingle <swapnil.ingle@nutanix.com>
* Felipe Franciosi <felipe@nutanix.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... | 29.037464 | 80 | 0.577015 |
a7cf65fd5518a36d1950e4c069de42b4ae57e243 | 643 | h | C | server_utils.h | notdylanburns/c_http_server | d38d94d1ba18d9b938890c2070674025f312619e | [
"MIT"
] | null | null | null | server_utils.h | notdylanburns/c_http_server | d38d94d1ba18d9b938890c2070674025f312619e | [
"MIT"
] | null | null | null | server_utils.h | notdylanburns/c_http_server | d38d94d1ba18d9b938890c2070674025f312619e | [
"MIT"
] | null | null | null | #ifndef SERVER_UTILS_H_GUARD_
#define SERVER_UTILS_H_GUARD_
#include <stdio.h>
#include "server.h"
#include "http.h"
#define ROUTE(n) void n(struct HTTPRequest *req, struct HTTPResponse *res)
#define STATIC(n, filepath, mime) void n(struct HTTPRequest *req, struct HTTPresponse *res) { FILE *f = fopen(filepath, "rb");... | 53.583333 | 389 | 0.718507 |
68c65c6c0e1f2042ae5ad7776e7394885291df44 | 234 | h | C | CrayWebViewController/MasterViewController.h | PlusR/CrayWebViewController | beff5dcb583180d965da4ea5fa67a5ef5e221731 | [
"MIT"
] | 5 | 2015-01-15T12:19:53.000Z | 2017-08-12T01:51:50.000Z | CrayWebViewController/MasterViewController.h | PlusR/CrayWebViewController | beff5dcb583180d965da4ea5fa67a5ef5e221731 | [
"MIT"
] | 1 | 2015-09-10T01:01:55.000Z | 2015-09-10T01:01:55.000Z | CrayWebViewController/MasterViewController.h | PlusR/CrayWebViewController | beff5dcb583180d965da4ea5fa67a5ef5e221731 | [
"MIT"
] | null | null | null | //
// MasterViewController.h
// CrayWebViewController
//
// Created by azu on 2014/05/15.
// Copyright (c) 2014 azu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MasterViewController : UITableViewController
@end | 15.6 | 55 | 0.717949 |
844fdb9c5c85500ce897545fa4b1a3e5d4521355 | 1,714 | h | C | realsense2_camera/include/image_publisher.h | yushijinhun/realsense-ros | d227d612f91c83c526cc74e059f024b0d812499f | [
"Apache-2.0"
] | null | null | null | realsense2_camera/include/image_publisher.h | yushijinhun/realsense-ros | d227d612f91c83c526cc74e059f024b0d812499f | [
"Apache-2.0"
] | null | null | null | realsense2_camera/include/image_publisher.h | yushijinhun/realsense-ros | d227d612f91c83c526cc74e059f024b0d812499f | [
"Apache-2.0"
] | null | null | null | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2022 Intel Corporation. All Rights Reserved.
#pragma once
#include <rclcpp/rclcpp.hpp>
#include <sensor_msgs/msg/image.hpp>
#if defined( DASHING ) || defined( ELOQUENT )
#include <image_transport/image_transport.h>
#else
#include <image_tran... | 32.339623 | 91 | 0.715869 |
ec48318580d731a395d174dc5497f50159cb5d69 | 1,874 | h | C | src/conv2d/direct/kernel_params.h | GeorgeWeb/SYCL-DNN | 50fe1357f5302d188d85512c58de1ae7ed8a0912 | [
"Apache-2.0"
] | 85 | 2018-06-04T08:07:20.000Z | 2022-03-30T15:53:46.000Z | src/conv2d/direct/kernel_params.h | GeorgeWeb/SYCL-DNN | 50fe1357f5302d188d85512c58de1ae7ed8a0912 | [
"Apache-2.0"
] | 8 | 2019-07-19T11:10:43.000Z | 2021-02-05T10:18:49.000Z | src/conv2d/direct/kernel_params.h | GeorgeWeb/SYCL-DNN | 50fe1357f5302d188d85512c58de1ae7ed8a0912 | [
"Apache-2.0"
] | 19 | 2018-12-28T12:09:22.000Z | 2022-01-08T02:55:14.000Z | /*
* Copyright 2018 Codeplay Software 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 ... | 31.762712 | 77 | 0.762006 |
b9263d11b5496228a15b0152d72c5da255c917a8 | 1,445 | h | C | compiler_old/cStmtsNode.h | qwertymodo/stackl | b34769d41afff7e125bef8dde27c14a279fd304c | [
"MIT"
] | 11 | 2016-04-26T15:47:43.000Z | 2021-11-04T06:17:27.000Z | compiler_old/cStmtsNode.h | qwertymodo/stackl | b34769d41afff7e125bef8dde27c14a279fd304c | [
"MIT"
] | 8 | 2015-04-17T19:15:24.000Z | 2020-07-23T17:15:58.000Z | compiler_old/cStmtsNode.h | philip-w-howard/stackl | 2ac986e29ef9294aa93c08ed10c12968500273a4 | [
"MIT"
] | 3 | 2019-05-01T18:21:52.000Z | 2021-11-04T06:47:07.000Z | #pragma once
//*******************************************************
// Purpose: Class for a list of statements
//
// Author: Philip Howard
// Email: phil.howard@oit.edu
//
// Date: 2/20/2015
//
//*******************************************************
#include <string>
#include <list>
using std::list;
#include "c... | 21.893939 | 62 | 0.498962 |
f34e40dc851b5d2c17f58b10e07f3862813ca5fb | 3,605 | h | C | pathfinderai.h | vitorgodeiro/Labirinto | 3fe067b42c0b748d74928a74b4af66e625d417e6 | [
"MIT"
] | null | null | null | pathfinderai.h | vitorgodeiro/Labirinto | 3fe067b42c0b748d74928a74b4af66e625d417e6 | [
"MIT"
] | null | null | null | pathfinderai.h | vitorgodeiro/Labirinto | 3fe067b42c0b748d74928a74b4af66e625d417e6 | [
"MIT"
] | null | null | null | /**
* Projeto: Maze
* Versao: 1.0b
* Autores: Leno
* Raimundo
*/
#ifndef PATHFINDERAI_H
#define PATHFINDERAI_H
#include "labirinto.h"
#include <vector>
#include <QTimer>
#include <QObject>
#include <QMutex>
/**
* @brief Cria a inteligencia artificial para caminhar no labirinto ate atingir
* uma celu... | 26.902985 | 82 | 0.644383 |
b417eb953f43cf283de5f0f066eef1c99fe87622 | 1,277 | c | C | ncurses.c | WaryWolf/forest | 2025e05e3e8f9d1fd22a00ccf6398464cdddcdcd | [
"MIT"
] | 1 | 2019-09-14T12:14:06.000Z | 2019-09-14T12:14:06.000Z | ncurses.c | WaryWolf/forest | 2025e05e3e8f9d1fd22a00ccf6398464cdddcdcd | [
"MIT"
] | null | null | null | ncurses.c | WaryWolf/forest | 2025e05e3e8f9d1fd22a00ccf6398464cdddcdcd | [
"MIT"
] | null | null | null | #include "forest.h"
void init_ncurses(int x, int y) {
//system("resize -s 50 50");
initscr();
start_color();
init_pair(1, COLOR_BLACK, COLOR_BLACK);
init_pair(2, COLOR_RED, COLOR_RED);
init_pair(3, COLOR_GREEN, COLOR_GREEN);
wresize(stdscr, x, y);
}
void out_ncurses(forest* f) {
in... | 20.934426 | 43 | 0.39859 |
2ab84f86010d38c6bd7aa17fdd7f2f2c5fb3e525 | 408 | c | C | mdns/libphidgets22/src/ext/mos/mos_dl-unix.c | rabarar/phidget_docker | ceca56c86d27f291a4300a1257c02096862335ec | [
"MIT"
] | null | null | null | mdns/libphidgets22/src/ext/mos/mos_dl-unix.c | rabarar/phidget_docker | ceca56c86d27f291a4300a1257c02096862335ec | [
"MIT"
] | null | null | null | mdns/libphidgets22/src/ext/mos/mos_dl-unix.c | rabarar/phidget_docker | ceca56c86d27f291a4300a1257c02096862335ec | [
"MIT"
] | null | null | null | #include <dlfcn.h>
#include "mos_dl.h"
void *
mos_dlopen(const char *path, int flags) {
return (dlopen(path, flags));
}
int
mos_dlclose(void *hdl) {
return (dlclose(hdl));
}
void *
mos_dlsym(void * __restrict hdl, const char * __restrict symname) {
return (dlsym(hdl, symname));
}
const char *
mos_dlerror(cha... | 14.068966 | 67 | 0.683824 |
cc8e2b100d94ae96b6dc69252d5e416b19599799 | 245 | c | C | Recursion/100_1_rec.c | Srinujavahub/Cprogram | b8bdf9dc53f0742b663bf8c9559aa71a4ff7ee19 | [
"MIT"
] | null | null | null | Recursion/100_1_rec.c | Srinujavahub/Cprogram | b8bdf9dc53f0742b663bf8c9559aa71a4ff7ee19 | [
"MIT"
] | null | null | null | Recursion/100_1_rec.c | Srinujavahub/Cprogram | b8bdf9dc53f0742b663bf8c9559aa71a4ff7ee19 | [
"MIT"
] | null | null | null | #include<stdio.h>
void display(int);
void main()
{
int num;
printf("Enter the number\n");
scanf("%d",&num);
printf("%d\t",num);
display(num);
}
void display(int n)
{
if(n == 0)
return;
n = n-1;
printf("%d\t",n);
display(n);
}
| 9.8 | 30 | 0.559184 |
006168ea9dab6acdbebf3b981865559c2d8ba530 | 193 | h | C | PodTest/class/common/Model.h | SampleProjectsBooth/PodTest | beafa45ad9d318b422c4202db2edd01288e9dafe | [
"MIT"
] | null | null | null | PodTest/class/common/Model.h | SampleProjectsBooth/PodTest | beafa45ad9d318b422c4202db2edd01288e9dafe | [
"MIT"
] | null | null | null | PodTest/class/common/Model.h | SampleProjectsBooth/PodTest | beafa45ad9d318b422c4202db2edd01288e9dafe | [
"MIT"
] | null | null | null | //
// Model.h
// PodTest
//
// Created by LamTsanFeng on 2020/10/29.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface Model : NSObject
@end
NS_ASSUME_NONNULL_END
| 11.352941 | 41 | 0.720207 |
6d123ecb757371d8c4ba4f15b56a3d6785af0692 | 2,771 | h | C | source/math/nckQuadtree.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-10-16T22:26:01.000Z | 2022-03-29T14:32:15.000Z | source/math/nckQuadtree.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 1 | 2015-12-08T00:27:10.000Z | 2016-10-30T21:59:50.000Z | source/math/nckQuadtree.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-07-18T21:42:10.000Z | 2019-12-16T01:33:20.000Z |
/**
* NCtoolKit © 2007-2017 Luís F.Loureiro, under zlib software license.
* https://github.com/nczeroshift/nctoolkit
*/
#ifndef NCK_QUADTREE_H
#define NCK_QUADTREE_H
#include "nckBoundBox.h"
#include <list>
#include <vector>
_MATH_BEGIN
class Quadtree_Node;
/**
* Quadtree leaf abstract class. Implement the a... | 19.377622 | 75 | 0.702634 |
a39d04a360ae8fd229e0abe3cd876aa17dc9ca4a | 8,945 | h | C | src/mpi/common/mpistr.h | hpourreza/Microsoft-MPI | 1dbbaee6373245d0458a8d775b2618b54df2a1eb | [
"mpich2",
"MIT"
] | 147 | 2019-05-07T05:35:01.000Z | 2022-02-08T06:36:22.000Z | src/mpi/common/mpistr.h | hpourreza/Microsoft-MPI | 1dbbaee6373245d0458a8d775b2618b54df2a1eb | [
"mpich2",
"MIT"
] | 39 | 2019-05-07T15:54:41.000Z | 2021-12-03T12:00:31.000Z | src/mpi/common/mpistr.h | hpourreza/Microsoft-MPI | 1dbbaee6373245d0458a8d775b2618b54df2a1eb | [
"mpich2",
"MIT"
] | 48 | 2019-05-10T10:21:36.000Z | 2022-03-13T18:04:17.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <strsafe.h>
#include <oacr.h>
/*@ MPIU_Strncpy - Copy a string with buffer size. Force null termination
Input Parameters:
. dst - String to copy into
+ src - String to copy
- n - 'dst' bu... | 24.373297 | 86 | 0.680268 |
a3fa54b686048e8fcb0b15a253ac24d4ac80c063 | 994 | h | C | TW/TW_Engine/TW_StopWatch.h | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | 4 | 2019-07-21T07:06:42.000Z | 2020-11-26T02:37:08.000Z | TW/TW_Engine/TW_StopWatch.h | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | null | null | null | TW/TW_Engine/TW_StopWatch.h | TWANG006/TW | 5f4ce9fc74dcc748730de5b75d75dcb5b7d71791 | [
"BSD-3-Clause"
] | 6 | 2019-07-02T14:20:24.000Z | 2022-03-11T03:06:29.000Z | #ifndef TW_STOPWATCH_H
#define TW_STOPWATCH_H
#include "TW.h"
#include <Windows.h>
namespace TW
{
class TW_LIB_DLL_EXPORTS StopWatch
{
public:
StopWatch();
~StopWatch();
void start(); //! Start timer
void stop(); //! Stop timer
void reset(); //! Reset timer
//! Get elapsed time afte... | 24.243902 | 74 | 0.677062 |
9315c6af7c7da1e7383bdbdb3c13038714573686 | 3,341 | h | C | 3.15/src/ca/legacy/pcas/example/directoryService/directoryServer.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | 3.15/src/ca/legacy/pcas/example/directoryService/directoryServer.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | 3.15/src/ca/legacy/pcas/example/directoryService/directoryServer.h | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | /*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.... | 22.574324 | 75 | 0.630949 |
4f15f7b27d14fb770c52e1b6f5aade3900cdac92 | 26 | c | C | src/guest.c | Neopallium/cr-sys | 26450eacc001ac948de8e5a63a2e74a9249372ad | [
"MIT"
] | 1 | 2021-10-11T21:47:06.000Z | 2021-10-11T21:47:06.000Z | src/guest.c | Neopallium/cr-sys | 26450eacc001ac948de8e5a63a2e74a9249372ad | [
"MIT"
] | null | null | null | src/guest.c | Neopallium/cr-sys | 26450eacc001ac948de8e5a63a2e74a9249372ad | [
"MIT"
] | null | null | null | #include "../vendor/cr.h"
| 13 | 25 | 0.615385 |
9ee038cff05d318ec17f93db565186ac9cb6a9b8 | 1,974 | h | C | src/place.h | Angry-Potato/islander | 827dd809f79322b86360a3b2fac42a0acba03df4 | [
"MIT"
] | null | null | null | src/place.h | Angry-Potato/islander | 827dd809f79322b86360a3b2fac42a0acba03df4 | [
"MIT"
] | null | null | null | src/place.h | Angry-Potato/islander | 827dd809f79322b86360a3b2fac42a0acba03df4 | [
"MIT"
] | null | null | null | #ifndef PLACE_H
#define PLACE_H
#include <string>
#include <limits>
#include "vector2d.h"
#include "geometry.h"
struct Place {
Place(std::string id = "", long x = 0, long y = 0) : _id(id), _position(new Vector2D(x, y)) {
_nearestPlace = (Place*)0;
_isPotentialIsland = true;
_distanceToNearestPlace = -1... | 30.369231 | 102 | 0.679331 |
7fd9f2c1aae501af5e04ab140ac614e31a8e32ad | 265 | h | C | Classes/NumberPadReturn.h | t2health/T2-Mood-Tracker-iOS | 016133b596072662cab5425e21ac61aa2c1f7fc0 | [
"NASA-1.3"
] | 3 | 2015-04-12T15:05:49.000Z | 2021-08-09T17:09:35.000Z | Classes/NumberPadReturn.h | t2health/T2-Mood-Tracker-iOS | 016133b596072662cab5425e21ac61aa2c1f7fc0 | [
"NASA-1.3"
] | null | null | null | Classes/NumberPadReturn.h | t2health/T2-Mood-Tracker-iOS | 016133b596072662cab5425e21ac61aa2c1f7fc0 | [
"NASA-1.3"
] | 2 | 2015-08-15T10:16:22.000Z | 2018-09-13T17:58:06.000Z | //
// NumberPadReturn.h
// VAS002
//
// Created by Hasan Edain on 1/7/11.
// Copyright 2011 GDIT. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface UIViewController (NumPadReturn)
- (void)addButtonToKeyboard;
@end
| 15.588235 | 45 | 0.709434 |
2c9426a1b0cce439587369855f9956ca4cd86027 | 888 | h | C | 1Projekt/include/Entity.h | Miki864/PSIOProject | 26a1b14191633a524e50433562c368c7c92c9c97 | [
"MIT"
] | null | null | null | 1Projekt/include/Entity.h | Miki864/PSIOProject | 26a1b14191633a524e50433562c368c7c92c9c97 | [
"MIT"
] | null | null | null | 1Projekt/include/Entity.h | Miki864/PSIOProject | 26a1b14191633a524e50433562c368c7c92c9c97 | [
"MIT"
] | null | null | null | #ifndef ENTITY_H
#define ENTITY_H
#include <iostream>
class Entity
{
public:
Entity(){}
virtual ~Entity(){}
void st_plus(int bonus=1){st+=bonus;}
void ag_plus(int bonus=1){ag+=bonus;}
void iq_plus(int bonus=1){iq+=bonus;}
void max_hp_plus(int bonus=1){max... | 30.62069 | 73 | 0.601351 |
89c2bd1a19e9ef1ccdaec2a29589a0952162acfd | 1,495 | c | C | Foundation-of-CS/ics14_lab1-3/lab1/src/puzzles/float_half.c | chaohu/Daily-Learning | 0e8d14a3497ad319eda20bc4682cec08d5d6fb08 | [
"MIT"
] | 12 | 2016-04-09T15:43:02.000Z | 2022-03-22T01:58:25.000Z | Foundation-of-CS/ics14_lab1-3/lab1/src/puzzles/float_half.c | chaohu/Daily-Learning | 0e8d14a3497ad319eda20bc4682cec08d5d6fb08 | [
"MIT"
] | null | null | null | Foundation-of-CS/ics14_lab1-3/lab1/src/puzzles/float_half.c | chaohu/Daily-Learning | 0e8d14a3497ad319eda20bc4682cec08d5d6fb08 | [
"MIT"
] | 2 | 2018-08-23T07:34:59.000Z | 2019-06-20T10:17:31.000Z | #ifdef PROTOTYPE
unsigned float_half(unsigned);
unsigned test_float_half(unsigned);
#endif
#ifdef DECL
{"float_half", (funct_t) float_half, (funct_t) test_float_half, 1,
"$", 30, 4,
{{1, 1},{1,1},{1,1}}},
#endif
#ifdef CODE
/*
* float_half - Return bit-level equivalent of expression 0.5*f for
* floating ... | 26.22807 | 76 | 0.633445 |
326123444d455d30303a89d78d0206cb3f1671a1 | 25,470 | h | C | bebop_driver/include/bebop_driver/autogenerated/common_state_callback_includes.h | tongtybj/bebop_autonomy | 448153dc3acfac9083228c26d165161bba1d3060 | [
"BSD-3-Clause"
] | null | null | null | bebop_driver/include/bebop_driver/autogenerated/common_state_callback_includes.h | tongtybj/bebop_autonomy | 448153dc3acfac9083228c26d165161bba1d3060 | [
"BSD-3-Clause"
] | null | null | null | bebop_driver/include/bebop_driver/autogenerated/common_state_callback_includes.h | tongtybj/bebop_autonomy | 448153dc3acfac9083228c26d165161bba1d3060 | [
"BSD-3-Clause"
] | null | null | null | /**
Software License Agreement (BSD)
\file common_state_callback_includes.h
\authors Mani Monajjemi <mmonajje@sfu.ca>
\copyright Copyright (c) 2015, Autonomy Lab (Simon Fraser University), All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provid... | 64.64467 | 153 | 0.812721 |
d2ef83b1971b09a8fd98aa3b80807f5812185193 | 14,005 | c | C | contrib/gnu/gcc/dist/gcc/common/config/riscv/riscv-common.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2021-05-04T17:09:06.000Z | 2021-10-04T07:19:26.000Z | contrib/gnu/gcc/dist/gcc/common/config/riscv/riscv-common.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | contrib/gnu/gcc/dist/gcc/common/config/riscv/riscv-common.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | /* Common hooks for RISC-V.
Copyright (C) 2016-2020 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 option)
any later... | 22.661812 | 78 | 0.634416 |
304248ccea1b20b801de28825b18c3376683ebff | 414 | h | C | PES_Project_6/source/util.h | Taylorjtt/PES-Project-6 | 3bf1e1f8737976b6bda8a7184752cb058c1a7e37 | [
"MIT"
] | null | null | null | PES_Project_6/source/util.h | Taylorjtt/PES-Project-6 | 3bf1e1f8737976b6bda8a7184752cb058c1a7e37 | [
"MIT"
] | null | null | null | PES_Project_6/source/util.h | Taylorjtt/PES-Project-6 | 3bf1e1f8737976b6bda8a7184752cb058c1a7e37 | [
"MIT"
] | null | null | null | /*
* util.h
*
* Created on: Nov 1, 2019
* Author: john
*/
#ifndef UTIL_H_
#define UTIL_H_
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define EnableInterrupts asm(" CPSIE i");
#define DisableInterrupts asm(" CPSID i");
#define START_CRITICAL DisableInterrupts
#define END_CRITICAL EnableIn... | 16.56 | 42 | 0.719807 |
d03a64752e69226f1c8dc662a126f0d38b3b0573 | 367 | h | C | src/TextureManager.h | thamstras/GamesProgramming | b576760cd12c1a13347bc488a2eb3d5a141abac1 | [
"MIT"
] | null | null | null | src/TextureManager.h | thamstras/GamesProgramming | b576760cd12c1a13347bc488a2eb3d5a141abac1 | [
"MIT"
] | null | null | null | src/TextureManager.h | thamstras/GamesProgramming | b576760cd12c1a13347bc488a2eb3d5a141abac1 | [
"MIT"
] | null | null | null | #pragma once
#include "CommonIncludes.h"
#include <map>
#include <exception>
#include "SDL_image.h"
class TextureManager
{
public:
TextureManager();
~TextureManager();
void initTextures();
void loadTextureList(SDL_Renderer * ren);
void cleanup();
SDL_Texture * getTexture(std::string name);
private:
std::m... | 14.115385 | 49 | 0.724796 |
652e9fd8f48ed02e89c292ca15423652df2f525b | 1,028 | h | C | PrivateFrameworks/ClassroomKit/CRKIdentitySharingOperation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/ClassroomKit/CRKIdentitySharingOperation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/ClassroomKit/CRKIdentitySharingOperation.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 "CATOperation.h"
@class IDSService, NSDictionary, NSObject<CRKIdentitySharingOperationDelegate>, NSSet;
@interface CRKIdentitySharingOperation : CATOperation
{
NSObjec... | 33.16129 | 119 | 0.761673 |
6570291505986178cad664750f2c1e1c93771b40 | 7,610 | c | C | uni_log.c | junlon2006/wav_pcm_parse_tools | 0bc080057bdff5ddffea1443b052647eac7f943a | [
"Apache-2.0"
] | 2 | 2020-08-31T06:30:51.000Z | 2020-09-07T09:51:40.000Z | logger/src/uni_log.c | junlon2006/wheels | 05232e05b83dbcd44ea477df4ad0666f0e08959c | [
"Apache-2.0"
] | 7 | 2019-11-13T10:02:25.000Z | 2019-12-10T12:43:53.000Z | logger/src/uni_log.c | junlon2006/wheels | 05232e05b83dbcd44ea477df4ad0666f0e08959c | [
"Apache-2.0"
] | 4 | 2019-11-13T02:34:10.000Z | 2021-12-23T06:24:40.000Z | /**************************************************************************
* Copyright (C) 2018-2019 Junlon2006
*
* 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 L... | 31.188525 | 78 | 0.596321 |
a9e63b855d99d0e6d521ae9fbb50c81ac2a3032b | 1,049 | h | C | deps/cinder/include/boost/predef/os/irix.h | multi-os-engine/cinder-natj-binding | 969b66fdd49e4ca63442baf61ce90ae385ab8178 | [
"Apache-2.0"
] | 978 | 2015-03-25T04:30:43.000Z | 2022-03-18T22:47:35.000Z | src/third_party/boost-1.56.0/boost/predef/os/irix.h | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 194 | 2015-01-10T15:45:46.000Z | 2022-03-20T08:02:27.000Z | src/third_party/boost-1.56.0/boost/predef/os/irix.h | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 412 | 2015-01-14T07:31:04.000Z | 2022-03-31T08:41:41.000Z | /*
Copyright Rene Rivera 2008-2013
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_PREDEF_OS_IRIX_H
#define BOOST_PREDEF_OS_IRIX_H
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>... | 21.854167 | 59 | 0.762631 |
aa1ea77d8820772f9fdd4b506bd6b9a665b47dde | 3,470 | c | C | util/util.c | andrewchambers/mc | 56fbadf5e329f00c9c8058e2dfe2350a8cafa850 | [
"MIT"
] | null | null | null | util/util.c | andrewchambers/mc | 56fbadf5e329f00c9c8058e2dfe2350a8cafa850 | [
"MIT"
] | null | null | null | util/util.c | andrewchambers/mc | 56fbadf5e329f00c9c8058e2dfe2350a8cafa850 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "util.h"
/* Some systems don't have strndup. */
char *strdupn(char *s, size_t len)
{... | 17.178218 | 74 | 0.576945 |
4e11b619e3879b63621aaab070b2eb7155346557 | 252 | h | C | Module/ViewController/TestViewController.h | KayDing/Module | 894fa1ff6c7b3e22662d7b9df2c2ab817f04f5c2 | [
"MIT"
] | null | null | null | Module/ViewController/TestViewController.h | KayDing/Module | 894fa1ff6c7b3e22662d7b9df2c2ab817f04f5c2 | [
"MIT"
] | null | null | null | Module/ViewController/TestViewController.h | KayDing/Module | 894fa1ff6c7b3e22662d7b9df2c2ab817f04f5c2 | [
"MIT"
] | null | null | null | //
// TestViewController.h
// MGJRouter
//
// Created by 丁磊 on 2020/7/27.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TestViewController : UIViewController
@property (nonatomic, copy) NSString *text;
@end
NS_ASSUME_NONNULL_END
| 14.823529 | 48 | 0.746032 |
bd3d609b47421dcf3ac939af857d222a5a8ed4f0 | 12,378 | h | C | dep/include/yse/JuceLibraryCode/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_FillType.h | ChrSacher/MyEngine | 8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8 | [
"Apache-2.0"
] | 2 | 2015-10-27T21:36:59.000Z | 2017-03-17T21:52:19.000Z | dep/include/yse/JuceLibraryCode/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_FillType.h | ChrSacher/MyEngine | 8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8 | [
"Apache-2.0"
] | null | null | null | dep/include/yse/JuceLibraryCode/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_FillType.h | ChrSacher/MyEngine | 8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8 | [
"Apache-2.0"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details of these ... | 31.336709 | 140 | 0.485054 |
860e2de9d64184444c540a43485b5b0c82d2538f | 5,640 | h | C | hdi/dimensionality_reduction/knn_utils.h | alxvth/HDILibSlim | ac2c43ba40b5896d9124e07d907a6e9418c0f7f7 | [
"MIT"
] | null | null | null | hdi/dimensionality_reduction/knn_utils.h | alxvth/HDILibSlim | ac2c43ba40b5896d9124e07d907a6e9418c0f7f7 | [
"MIT"
] | null | null | null | hdi/dimensionality_reduction/knn_utils.h | alxvth/HDILibSlim | ac2c43ba40b5896d9124e07d907a6e9418c0f7f7 | [
"MIT"
] | null | null | null | /*
*
* Copyright (c) 2019, BIOVAULT (Leiden University Medical Center, Delft University 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:
* 1. Redistributions of source code mu... | 39.166667 | 199 | 0.68617 |
26d93b947b9b9679036e23530391ab1a93028968 | 191 | h | C | SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystem/Node.h | llanesjuan/AllMyProjects | 5944b248ae8f4f84cfea9fcf379f877909372551 | [
"MIT"
] | null | null | null | SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystem/Node.h | llanesjuan/AllMyProjects | 5944b248ae8f4f84cfea9fcf379f877909372551 | [
"MIT"
] | null | null | null | SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystem/Node.h | llanesjuan/AllMyProjects | 5944b248ae8f4f84cfea9fcf379f877909372551 | [
"MIT"
] | null | null | null | #pragma once
#include<list>
#include<string>
using namespace std;
class Node
{
public:
string name;
list<Node>* nodeList;
Node(string);
Node(string, list<Node>*);
Node();
~Node();
};
| 11.235294 | 27 | 0.670157 |
9cd9a8d4f6f662e780da3e6a837635e7668bba79 | 1,162 | h | C | ncgen/odom.h | nokutu/netcdf-c | eba281a8d985e24caad97a6badc3369cfa399f77 | [
"BSD-3-Clause"
] | 386 | 2015-01-07T21:22:54.000Z | 2022-03-31T15:12:52.000Z | ncgen/odom.h | nokutu/netcdf-c | eba281a8d985e24caad97a6badc3369cfa399f77 | [
"BSD-3-Clause"
] | 1,748 | 2015-01-08T11:47:48.000Z | 2022-03-30T20:45:13.000Z | ncgen/odom.h | nokutu/netcdf-c | eba281a8d985e24caad97a6badc3369cfa399f77 | [
"BSD-3-Clause"
] | 242 | 2015-01-05T11:09:11.000Z | 2022-03-30T08:07:18.000Z | /*********************************************************************
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*********************************************************************/
#ifndef ODOM_H
#define ODOM_H 1
typedef struct Odometer {
int r... | 29.794872 | 77 | 0.654045 |
6c5b94a504ba76563ed77ed47e63bd225e462ed8 | 808 | c | C | 3rdparty/musl/libc-test/src/api/sys_shm.c | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 2 | 2022-03-31T05:46:57.000Z | 2022-03-31T07:13:13.000Z | 3rdparty/musl/libc-test/src/api/sys_shm.c | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 21 | 2020-02-05T11:09:56.000Z | 2020-03-26T18:09:09.000Z | 3rdparty/musl/libc-test/src/api/sys_shm.c | jbdelcuv/openenclave | c2e9cfabd788597f283c8dd39edda5837b1b1339 | [
"MIT"
] | 4 | 2019-09-14T07:58:58.000Z | 2020-03-03T15:55:28.000Z | #include <sys/shm.h>
#define T(t) (t*)0;
#define F(t,n) {t *y = &x.n;}
#define C(n) switch(n){case n:;}
static void f()
{
T(shmatt_t)
T(pid_t)
T(size_t)
T(time_t)
C(SHM_RDONLY)
C(SHM_RND)
C(SHMLBA)
{
struct shmid_ds x;
F(struct ipc_perm, shm_perm)
F(size_t,shm_segsz)
F(pid_t, shm_lpid)
F(pid_t, shm_cpid)
F(shmatt_t,shm... | 15.843137 | 45 | 0.678218 |
18ca989a63aac44f699da6eac544a3dd81f74cab | 6,747 | h | C | Microsoft.WindowsAzure.Storage/includes/wascore/xml_wrapper.h | ShippyMSFT/azure-storage-cpp | ee3a3f7db31a39ed5041fe1cb947c784ce64295b | [
"Apache-2.0"
] | 137 | 2015-01-06T09:12:04.000Z | 2022-02-08T06:07:02.000Z | Microsoft.WindowsAzure.Storage/includes/wascore/xml_wrapper.h | ShippyMSFT/azure-storage-cpp | ee3a3f7db31a39ed5041fe1cb947c784ce64295b | [
"Apache-2.0"
] | 313 | 2015-01-07T05:43:27.000Z | 2022-03-23T11:06:21.000Z | Microsoft.WindowsAzure.Storage/includes/wascore/xml_wrapper.h | ShippyMSFT/azure-storage-cpp | ee3a3f7db31a39ed5041fe1cb947c784ce64295b | [
"Apache-2.0"
] | 159 | 2015-01-19T13:37:58.000Z | 2021-12-25T18:03:19.000Z | /***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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 a... | 35.510526 | 133 | 0.59671 |
17d3b60a6392cb3b2533f55fd8f522778bcd2c67 | 572 | c | C | c/KR/mysql.c | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null | c/KR/mysql.c | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null | c/KR/mysql.c | yanrong/book_demo | 20cd13f3c3507a11e826ebbf22bd1c7bcb36e06f | [
"Apache-2.0"
] | null | null | null |
#include <stdio.h>
#include "mysql.h"
int main()
{
MYSQL conn;
int res;
mysql_init(&conn);
if(mysql_real_connect(&conn,"localhost","username","password","your's DB",0,NULL,CLIENT_FOUND_ROWS))
{
printf("Linke Mysql success!\n");
res=mysql_query(&conn,"insert into children values('20... | 19.724138 | 104 | 0.520979 |
025e977f623d7eef69854f89e954e16b6ef309e2 | 342 | h | C | Pods/Target Support Files/Pods-SwiftySnippets_macOS/Pods-SwiftySnippets_macOS-umbrella.h | MarekKojder/SwiftySnippets | 8fbde6d3ea1c55bb837e0c1a4ae7c05fc66754d3 | [
"MIT"
] | 1 | 2021-12-27T02:43:36.000Z | 2021-12-27T02:43:36.000Z | Pods/Target Support Files/Pods-SwiftySnippets_macOS/Pods-SwiftySnippets_macOS-umbrella.h | MarekKojder/SwiftySnippets | 8fbde6d3ea1c55bb837e0c1a4ae7c05fc66754d3 | [
"MIT"
] | null | null | null | Pods/Target Support Files/Pods-SwiftySnippets_macOS/Pods-SwiftySnippets_macOS-umbrella.h | MarekKojder/SwiftySnippets | 8fbde6d3ea1c55bb837e0c1a4ae7c05fc66754d3 | [
"MIT"
] | null | null | null | #ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_SwiftySnippets_macOSVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SwiftySnippets_m... | 20.117647 | 79 | 0.842105 |
77f63e24186c3ff39cc17f9401834bc4b9a6bc4c | 259 | h | C | Example/PNPullToRefresh/PNPullToRefreshViewController.h | giuseppenucifora/PNPullToRefresh | 76f73f23786ba1f078a57477d0e20dd05bf3c1a5 | [
"MIT"
] | null | null | null | Example/PNPullToRefresh/PNPullToRefreshViewController.h | giuseppenucifora/PNPullToRefresh | 76f73f23786ba1f078a57477d0e20dd05bf3c1a5 | [
"MIT"
] | null | null | null | Example/PNPullToRefresh/PNPullToRefreshViewController.h | giuseppenucifora/PNPullToRefresh | 76f73f23786ba1f078a57477d0e20dd05bf3c1a5 | [
"MIT"
] | null | null | null | //
// PNPullToRefreshViewController.h
// PNPullToRefresh
//
// Created by Giuseppe Nucifora on 04/27/2016.
// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved.
//
@import UIKit;
@interface PNPullToRefreshViewController : UIViewController
@end
| 18.5 | 62 | 0.752896 |
ae2d3840f6fb0eb9dd14fbcd40cd891daf1c472c | 8,485 | h | C | RPCS3_HLE_UYA_physgun/RPCS3/Utilities/bit_set.h | isJuhn/RPCS3_HLE_UYA_physgun | ed71ac1ad60f3fcd4fde186183bf870496271b96 | [
"MIT"
] | null | null | null | RPCS3_HLE_UYA_physgun/RPCS3/Utilities/bit_set.h | isJuhn/RPCS3_HLE_UYA_physgun | ed71ac1ad60f3fcd4fde186183bf870496271b96 | [
"MIT"
] | null | null | null | RPCS3_HLE_UYA_physgun/RPCS3/Utilities/bit_set.h | isJuhn/RPCS3_HLE_UYA_physgun | ed71ac1ad60f3fcd4fde186183bf870496271b96 | [
"MIT"
] | null | null | null | #pragma once
/*
This header implements bs_t<> class for scoped enum types (enum class).
To enable bs_t<>, enum scope must contain `__bitset_enum_max` entry.
enum class flagzz : u32
{
flag1, // Bit indices start from zero
flag2,
__bitset_enum_max // It must be the last value
};
This also enables helper operators ... | 20.495169 | 122 | 0.682616 |
c4442aa3b3538a2a2713b7e772a9f1ae7cbc934a | 89 | c | C | restart.c | vzvca/flash | 61ebd8c1edbd013cfad6366961a764f7c2d8d429 | [
"MIT"
] | 1 | 2021-04-19T13:17:49.000Z | 2021-04-19T13:17:49.000Z | restart.c | vzvca/flash | 61ebd8c1edbd013cfad6366961a764f7c2d8d429 | [
"MIT"
] | null | null | null | restart.c | vzvca/flash | 61ebd8c1edbd013cfad6366961a764f7c2d8d429 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <sys/reboot.h>
main()
{
sync();
reboot(RB_AUTOBOOT);
}
| 9.888889 | 23 | 0.629213 |
8fbb652f0d0dd61ea546f1bb7c3b5ed730f2575e | 6,289 | c | C | dependencies/agar/tests/network.c | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 5 | 2016-04-18T23:12:51.000Z | 2022-03-06T05:12:07.000Z | dependencies/agar/tests/network.c | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 2 | 2015-10-09T19:13:25.000Z | 2018-12-25T17:16:54.000Z | dependencies/agar/tests/network.c | amvb/GUCEF | 08fd423bbb5cdebbe4b70df24c0ae51716b65825 | [
"Apache-2.0"
] | 15 | 2015-02-23T16:35:28.000Z | 2022-03-25T13:40:33.000Z | /* Public domain */
/*
* Test the AG_Net(3) network interface.
*/
#include "agartest.h"
#ifdef AG_NETWORK
#include <string.h>
typedef struct {
AG_TestInstance _inherit;
char testHost[128];
char testPort[16];
AG_Console *cons;
} MyTestInstance;
static void
TestConnect(AG_Event *event)
{
MyTestInstance *ti = ... | 24.956349 | 75 | 0.656066 |
3a8ed35c08bc01e3bbab7c151cbd252709ef437c | 19,382 | h | C | src/utilities.h | leyhline/modern-mutual-information | ca2e5579d0b82979ee9a8a0dee0b4453b96647b2 | [
"Apache-2.0"
] | 2 | 2021-01-12T09:23:38.000Z | 2022-03-03T14:00:30.000Z | src/utilities.h | leyhline/modern-mutual-information | ca2e5579d0b82979ee9a8a0dee0b4453b96647b2 | [
"Apache-2.0"
] | null | null | null | src/utilities.h | leyhline/modern-mutual-information | ca2e5579d0b82979ee9a8a0dee0b4453b96647b2 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018, University of Freiburg
* Optophysiology Lab.
* Thomas Leyh <thomas.leyh@mailbox.org>
*
* 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/licens... | 36.29588 | 109 | 0.704674 |
3a9a3fb86ee1de7a9f52c4036890d47029c8b9d3 | 2,708 | h | C | ios/chrome/browser/ui/payments/credit_card_edit_coordinator.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ios/chrome/browser/ui/payments/credit_card_edit_coordinator.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ios/chrome/browser/ui/payments/credit_card_edit_coordinator.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_PAYMENTS_CREDIT_CARD_EDIT_COORDINATOR_H_
#define IOS_CHROME_BROWSER_UI_PAYMENTS_CREDIT_CARD_EDIT_COORDINATOR_H_
#import "io... | 41.661538 | 80 | 0.80613 |
27188cde716a584612661ba47297f2c0e6b95060 | 1,699 | h | C | base/message_loop.h | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2017-07-27T15:08:19.000Z | 2017-07-27T15:08:19.000Z | base/message_loop.h | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | null | null | null | base/message_loop.h | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2020-10-01T08:46:10.000Z | 2020-10-01T08:46:10.000Z | // Copyright (c) 2014 The Caroline authors. All rights reserved.
// Use of this source file is governed by a MIT license that can be found in the
// LICENSE file.
// @author Aleksandr Derbenev <alex@technoworks.ru>
#ifndef BASE_MESSAGE_LOOP_H_
#define BASE_MESSAGE_LOOP_H_
#include <functional>
#include <string>
#inc... | 20.975309 | 80 | 0.68452 |
5c8b57de0ebf7b92fa6539b3e828b02f19808630 | 1,932 | c | C | src/recipe.c | luciusmagn/c2tc | 96cd70d0e666604fad4f44c2e2f52260465a1fd7 | [
"MIT",
"BSD-2-Clause-FreeBSD",
"0BSD"
] | 1 | 2016-06-26T10:52:49.000Z | 2016-06-26T10:52:49.000Z | src/recipe.c | luciusmagn/c2tc | 96cd70d0e666604fad4f44c2e2f52260465a1fd7 | [
"MIT",
"BSD-2-Clause-FreeBSD",
"0BSD"
] | null | null | null | src/recipe.c | luciusmagn/c2tc | 96cd70d0e666604fad4f44c2e2f52260465a1fd7 | [
"MIT",
"BSD-2-Clause-FreeBSD",
"0BSD"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "util.h"
#include "types.h"
#include "mpc.h"
#include "shared.h"
#include "errors.h"
#include "log.h"
#include "tree_transform.h"
void processrecipe()
{
if(opts->print_info) printf("number of targets:%ld\n", recipe->target_count);
for (int32 ... | 31.16129 | 102 | 0.565735 |
5807cbd4b2e50d08655a59ad822b7a06bd806c68 | 11,154 | c | C | carray/carray.c | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | 5 | 2018-06-13T14:56:57.000Z | 2021-08-25T01:07:32.000Z | carray/carray.c | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | null | null | null | carray/carray.c | zhoujie-jay/sortix | 7348cb0b9ad5931bf73c8b3fa2dd63c99cae6afa | [
"0BSD"
] | null | null | null | /*
* Copyright (c) 2014 Jonas 'Sortie' Termansen.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 27.472906 | 91 | 0.570199 |
5be0386eaf6accd6c4efaa94e974f4d2a5e422e8 | 459 | c | C | lib/source/my_malloc.c | kassisdion/Raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | 1 | 2015-02-17T03:26:16.000Z | 2015-02-17T03:26:16.000Z | lib/source/my_malloc.c | kassisdion/raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | null | null | null | lib/source/my_malloc.c | kassisdion/raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | null | null | null | /*
** my_malloc.c for my_malloc in /home/florian/git/rt/lib/source
**
** Made by florian faisant
** Login <faisan_f@epitech.eu>
**
** Started on Tue Apr 9 21:53:35 2013 florian faisant
** Last update Sun Apr 14 14:56:34 2013 florian faisant
*/
#include <stdlib.h>
#include "my.h"
void *xmalloc(int size)
{
voi... | 19.956522 | 69 | 0.657952 |
21fcdf0e2334fc4d434005a426255731f197bfda | 3,459 | c | C | d/barriermnts/ruins/obj/circlet.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 9 | 2021-07-05T15:24:54.000Z | 2022-02-25T19:44:15.000Z | d/barriermnts/ruins/obj/circlet.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/barriermnts/ruins/obj/circlet.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 10 | 2021-03-13T00:18:03.000Z | 2022-03-29T15:02:42.000Z | // updated int bonus from the new system. Nienne, 09/07.
#include <std.h>
#include <daemons.h>
#include "../inherit/ruins.h"
inherit ARMOUR;
void create(){
::create();
set_name("silvery circlet");
set_id(({ "circlet","Circlet","coronet","Coronet","silver circlet","silvery circlet","coronet of illumination","C... | 50.867647 | 294 | 0.655103 |
1d15625e717b4eb4180cfe01c39e68dd8c3841c9 | 4,885 | c | C | ompi/mca/mtl/base/mtl_base_frame.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2019-02-25T19:56:36.000Z | 2019-02-25T19:56:36.000Z | ompi/mca/mtl/base/mtl_base_frame.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/mca/mtl/base/mtl_base_frame.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 3 | 2015-11-29T06:00:56.000Z | 2021-03-29T07:03:29.000Z | /*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... | 38.769841 | 110 | 0.636438 |
df461b0b6461893617123de7b6caa8985395e18a | 402 | h | C | content/electronic-safe/SafeState.h | Puneethkumarsn/good-arduino-code | 361115010c030d5514cdc7d9d345968a0f49d728 | [
"MIT"
] | 18 | 2020-06-23T13:50:44.000Z | 2022-03-29T03:30:12.000Z | content/electronic-safe/SafeState.h | LironHazan/good-arduino-code | 3e3c7b374b1039b0890cffafa7f5639c33f60ea5 | [
"MIT"
] | 27 | 2020-07-21T06:33:38.000Z | 2022-03-26T23:20:07.000Z | content/electronic-safe/SafeState.h | LironHazan/good-arduino-code | 3e3c7b374b1039b0890cffafa7f5639c33f60ea5 | [
"MIT"
] | 11 | 2020-06-30T12:18:21.000Z | 2022-01-22T19:16:22.000Z | /**
Arduino Electronic Safe
Copyright (C) 2020, Uri Shaked.
Released under the MIT License.
*/
#ifndef SAFESTATE_H
#define SAFESTATE_H
class SafeState {
public:
SafeState();
void lock();
bool unlock(String code);
bool locked();
bool hasCode();
void setCode(String newCode);
priva... | 15.461538 | 34 | 0.649254 |
0ebaa113d619c123a4a439ebfe4454f85a8d60e5 | 1,198 | h | C | Applications/PineBoard/PBOpenAppDialogsTransaction.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | usr/sbin/usr/libexec/PineBoard/PBOpenAppDialogsTransaction.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | usr/sbin/usr/libexec/PineBoard/PBOpenAppDialogsTransaction.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <BaseBoard/BSTransaction.h>
@class NSNumber, PBOpenApplicationRequest;
@interface PBOpenAppDialogsTransaction : BSTransaction
{
PBOpe... | 38.645161 | 120 | 0.776294 |
1dc741affdc14cdfdf40262bc3978cc1b60af7b8 | 915 | c | C | machine.c | hjparker/mrasm | e2eff738f0f210c9af446f7361fb443426a12f55 | [
"MIT"
] | null | null | null | machine.c | hjparker/mrasm | e2eff738f0f210c9af446f7361fb443426a12f55 | [
"MIT"
] | null | null | null | machine.c | hjparker/mrasm | e2eff738f0f210c9af446f7361fb443426a12f55 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include "machine.h"
// two global variables pointing to start and end of queue
INSTRUCTION *prog_head = NULL;
INSTRUCTION *prog_current = NULL;
int prog_add(int instrCount, char addrMode, unsigned long opcode, int operand, char zReg, char yReg, char xReg, char aSig, char bSig)
{
INSTRUCTION *ptr... | 19.468085 | 133 | 0.66776 |
3d4f94370289b0de57c1e1284932b915ccf9a93e | 358 | h | C | chap01/interp.h | dangerggg/TigerCompiler | 38d6acebc123ef6776fdfad04c1698dedb02b525 | [
"MIT"
] | null | null | null | chap01/interp.h | dangerggg/TigerCompiler | 38d6acebc123ef6776fdfad04c1698dedb02b525 | [
"MIT"
] | null | null | null | chap01/interp.h | dangerggg/TigerCompiler | 38d6acebc123ef6776fdfad04c1698dedb02b525 | [
"MIT"
] | null | null | null | #ifndef INTERP_H
#define INTERP_H
#include "node.h"
typedef struct I_table_ *I_table;
struct I_table_ {
string id;
int value;
I_table tail;
};
/* This function can also be used as update */
I_table I_Table(string, int, I_table);
int Lookup(string, I_table);
I_table InterpStm(A_stm, I_table);
I_table Inte... | 17.9 | 46 | 0.72067 |
ce38dc853983d94254be61573f44a97a47ff65ca | 140 | h | C | src/exact_cover/dlx.h | JamsRamen/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | 2 | 2020-09-09T16:36:36.000Z | 2021-11-01T17:59:06.000Z | src/exact_cover/dlx.h | jamesrayman/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | 9 | 2020-09-15T15:57:51.000Z | 2021-06-07T23:18:13.000Z | src/exact_cover/dlx.h | jamesrayman/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | null | null | null | #pragma once
#include "exact_cover.h"
namespace exact_cover {
std::vector<Solution> dlx (const Problem& problem, int solutionLimit);
} | 20 | 74 | 0.742857 |
c4072de8a8c80042f9f596822c4ffbe607108b4f | 652 | h | C | ProofTreeInterpreter/ProofTreeVisitor.h | roncato/ProofTreeInterpreter | ef43b5f09e25ccd1a701fef128ae62da7c35ca7d | [
"BSD-2-Clause"
] | null | null | null | ProofTreeInterpreter/ProofTreeVisitor.h | roncato/ProofTreeInterpreter | ef43b5f09e25ccd1a701fef128ae62da7c35ca7d | [
"BSD-2-Clause"
] | null | null | null | ProofTreeInterpreter/ProofTreeVisitor.h | roncato/ProofTreeInterpreter | ef43b5f09e25ccd1a701fef128ae62da7c35ca7d | [
"BSD-2-Clause"
] | null | null | null | #ifndef PROOFTREEVISITOR_H
#define PROOFTREEVISITOR_H
#include "ProofTreeAST\AbstractSyntaxTree.h"
#include "ProofTreeAST\Connective.h"
#include "ProofTreeAST\Sentence.h"
#include "ProofTreeAST\AtomicFormula.h"
#include "ProofTreeAST\BinaryFormula.h"
namespace ProofTreeAST
{
class ProofTreeVisitor
{
public :
... | 26.08 | 83 | 0.783742 |
e07bfd25f056adbaf3d0cf6dc14c75b146b14d35 | 486 | h | C | Applications/HeadBoard/TVCarouselViewDataSource-Protocol.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | Applications/HeadBoard/TVCarouselViewDataSource-Protocol.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | Applications/HeadBoard/TVCarouselViewDataSource-Protocol.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "NSObject-Protocol.h"
@class UICollectionViewCell, _TVCarouselView;
@protocol TVCarouselViewDataSource <NSObject>
- (UICollectionViewCell... | 30.375 | 120 | 0.76749 |
ef8e7e74a7100716861d955e34abd5687515e346 | 1,441 | h | C | asix/dyndns/dyndns.h | temcocontrols/Programmable-Controller | a78527b60ccc536a9d8d88759d9b1be1a9eb6cb0 | [
"FTL"
] | 1 | 2015-11-06T01:48:52.000Z | 2015-11-06T01:48:52.000Z | asix/dyndns/dyndns.h | temcocontrols/Programmable-Controller | a78527b60ccc536a9d8d88759d9b1be1a9eb6cb0 | [
"FTL"
] | 1 | 2020-11-03T04:56:30.000Z | 2020-11-03T04:56:30.000Z | asix/dyndns/dyndns.h | temcocontrols/Programmable-Controller | a78527b60ccc536a9d8d88759d9b1be1a9eb6cb0 | [
"FTL"
] | 6 | 2015-11-24T05:57:32.000Z | 2020-11-03T03:16:59.000Z | /*
******************************************************************************
* Copyright (c) 2006 ASIX Electronic Corporation All rights reserved.
*
* This is unpublished proprietary source code of ASIX Electronic Corporation
*
* The copyright notice above does not evidence any actual or int... | 29.408163 | 92 | 0.582929 |
dcf3734fb68067d10361186357b9c2ee0e66dd41 | 379 | h | C | WWFoundation/Services/OEMonitorService.h | Dean-Z/WWFoundation | 5490809fc628cd94d105735403d764126894fdf7 | [
"MIT"
] | 1 | 2016-04-13T12:49:02.000Z | 2016-04-13T12:49:02.000Z | WWFoundation/Services/OEMonitorService.h | Dean-Z/WWFoundation | 5490809fc628cd94d105735403d764126894fdf7 | [
"MIT"
] | null | null | null | WWFoundation/Services/OEMonitorService.h | Dean-Z/WWFoundation | 5490809fc628cd94d105735403d764126894fdf7 | [
"MIT"
] | null | null | null | //
// OEMonitorService.h
// WWFoundation
//
// Created by William Wu on 2/1/14.
// Copyright (c) 2014 WW. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OEMonitorInfo.h"
@interface OEMonitorService : NSObject
- (NSMutableDictionary *)loadAllMonitors;
- (OEMonitorInfo *) monitorAction:(NSURL ... | 19.947368 | 93 | 0.730871 |
8177b0ddc087a40d6f365dd3794f195af6cbaedb | 3,507 | c | C | src/kms-message/src/kms_crypto_windows.c | MahdiMaarouf2016/mongo-c-driver-build | 345a1fb0b2b33fa14b19b64f6fe4404ccaeca02e | [
"Apache-2.0"
] | 728 | 2015-01-23T02:18:29.000Z | 2022-03-05T05:32:45.000Z | src/kms-message/src/kms_crypto_windows.c | MahdiMaarouf2016/mongo-c-driver-build | 345a1fb0b2b33fa14b19b64f6fe4404ccaeca02e | [
"Apache-2.0"
] | 397 | 2015-01-06T09:13:57.000Z | 2022-03-30T22:02:40.000Z | src/kms-message/src/kms_crypto_windows.c | MahdiMaarouf2016/mongo-c-driver-build | 345a1fb0b2b33fa14b19b64f6fe4404ccaeca02e | [
"Apache-2.0"
] | 451 | 2015-01-04T13:10:45.000Z | 2022-03-03T03:41:19.000Z | /*
* Copyright 2018-present MongoDB, 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... | 25.59854 | 80 | 0.660679 |
e66b0f038aa183bd639072e4df97ef3c90cef50f | 4,429 | c | C | Unix Family/Linux.Superkit.a/src/sha1.c | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:13.000Z | 2022-03-16T09:11:05.000Z | Unix Family/Linux.Superkit.a/src/sha1.c | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | null | null | null | Unix Family/Linux.Superkit.a/src/sha1.c | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:15.000Z | 2022-01-08T20:51:04.000Z | /*
* $Id: sha1.c, implementation of sha1 in c,
* originally By Steve Reid <steve@edmweb.com>
*/
#include "sk.h"
#include "sha1.h"
#include "strasm.h"
void SHA1Transform(ulong state[5], uchar buffer[64])
{
ulong a, b, c, d, e;
typedef union {
uchar c[64];
ulong l[16];
} CHAR64LONG16;
CHAR64LONG16 *... | 23.684492 | 63 | 0.496049 |
fc2366b3f77c88f2453b49ec5570296c537dd7dc | 89 | h | C | netbsd/sys/arch/hp700/include/kcore.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | netbsd/sys/arch/hp700/include/kcore.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | netbsd/sys/arch/hp700/include/kcore.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /* $NetBSD: kcore.h,v 1.1 2002/06/06 19:48:09 fredette Exp $ */
#include <hppa/kcore.h>
| 22.25 | 63 | 0.640449 |
76d61cea18cd50b456b2005a156fcb12db22f6b9 | 484 | h | C | GameEngineCore/LightmapSet.h | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 42 | 2020-06-06T13:54:11.000Z | 2022-03-21T20:29:48.000Z | GameEngineCore/LightmapSet.h | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 2 | 2020-05-19T21:50:27.000Z | 2020-05-31T15:54:07.000Z | GameEngineCore/LightmapSet.h | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 5 | 2020-06-06T12:57:18.000Z | 2021-11-13T16:35:57.000Z | #ifndef GAME_ENGINE_LIGHTMAP_SET_H
#define GAME_ENGINE_LIGHTMAP_SET_H
#include "CoreLib/Basic.h"
#include "ObjectSpaceMapSet.h"
namespace GameEngine
{
class Actor;
class Level;
struct LightmapSet
{
CoreLib::List<RawObjectSpaceMap> Lightmaps;
CoreLib::Dictionary<Actor*, int> ActorLight... | 22 | 66 | 0.702479 |
748b26a21de8c82834d8da4b30e096c991fea423 | 330 | h | C | src/evol/Rng.h | mpohl100/Blackjack | 73646ff39015784f864ec32aed81dce6c15cf99b | [
"Apache-2.0"
] | null | null | null | src/evol/Rng.h | mpohl100/Blackjack | 73646ff39015784f864ec32aed81dce6c15cf99b | [
"Apache-2.0"
] | null | null | null | src/evol/Rng.h | mpohl100/Blackjack | 73646ff39015784f864ec32aed81dce6c15cf99b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <random>
#include <stack>
namespace evol{
class Rng{
public:
Rng();
std::stack<int> fetchUniform(int from, int to, size_t num) const;
std::stack<double> fetchNormal( double expValue, double stdDev, size_t num) const;
private:
std::random_device rd_;
mutable std::mt19937 gen... | 15.714286 | 86 | 0.684848 |
20cf578703b35b3b599f8be92be68f9fee9c9c16 | 12,143 | c | C | src/cfile.c | jahnf/cranberry-server | 30f50f9ff267b530b6d8e3d85f4a29e81d370538 | [
"MIT"
] | 1 | 2015-10-21T02:52:39.000Z | 2015-10-21T02:52:39.000Z | src/cfile.c | jahnf/cranberry-server | 30f50f9ff267b530b6d8e3d85f4a29e81d370538 | [
"MIT"
] | 4 | 2016-01-22T12:27:25.000Z | 2016-01-22T12:37:47.000Z | src/cfile.c | jahnf/cranberry-server | 30f50f9ff267b530b6d8e3d85f4a29e81d370538 | [
"MIT"
] | null | null | null | /* cranberry-server
* https://github.com/jahnf/cranberry-server
* For licensing see LICENSE file or
* https://github.com/jahnf/cranberry-server/blob/master/LICENSE
*/
/** @addtogroup cfile
* @{
* @file cfile.c
*/
#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <dirent.h>
... | 30.819797 | 108 | 0.482747 |
dd5281173e3d7ed6ac0c4bec792e59a3ee34aaa1 | 2,090 | h | C | rfc/threads/KTimer.h | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 9 | 2017-10-02T08:15:50.000Z | 2021-08-09T21:29:46.000Z | rfc/threads/KTimer.h | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 1 | 2021-09-18T07:38:53.000Z | 2021-09-26T12:11:48.000Z | rfc/threads/KTimer.h | hasaranga/RFC-Framework | 9c1881d412db6f9f7670b910a0918a631208cfd1 | [
"MIT"
] | 8 | 2017-10-02T13:21:29.000Z | 2021-07-30T09:35:31.000Z |
/*
RFC - KTimer.h
Copyright (C) 2013-2019 CrownSoft
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including ... | 22.473118 | 81 | 0.744976 |
dd623e03754c7f3469821da6fb4845d0d4543361 | 3,697 | h | C | release/src/linux/linux/include/asm-arm/sl811-hw.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src/linux/linux/include/asm-arm/sl811-hw.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src/linux/linux/include/asm-arm/sl811-hw.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*
File: include/asm-arm/sl811-hw.h
19.09.2003 hne@ist1.de
Use Kernel 2.4.20 and this source from 2.4.22
Splitt hardware depens into file sl811-x86.h and sl811-arm.h.
Functions as inline.
23.09.2003 hne
Move Hardware depend header sl811-arm.h into include/asm-arm/sl811-hw.h.
GPRD as parameter.
24.09.2003 hne
Use Off... | 24.812081 | 105 | 0.653773 |
1c82b424207d5c37a3886369ae76ddc6ec9daa43 | 912 | h | C | usr/libexec/gamed/GKEntitlements.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | usr/sbin/usr/libexec/gamed/GKEntitlements.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | usr/sbin/usr/libexec/gamed/GKEntitlements.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@interface GKEntitlements : NSObject
{
unsigned long long _entitlements; // 8 = 0x8
}
- (_Bool)_shouldBypasAuthenti... | 35.076923 | 120 | 0.758772 |
c1e082060e6dbe01ded0636591b5e1bd624d8189 | 993 | h | C | RockBuster/Player.h | Mateusz1223/RockBuster | 6261391425188059baf79e892272fc19ce50c26d | [
"MIT"
] | 1 | 2021-04-17T09:49:18.000Z | 2021-04-17T09:49:18.000Z | RockBuster/Player.h | Mateusz1223/RockBuster | 6261391425188059baf79e892272fc19ce50c26d | [
"MIT"
] | null | null | null | RockBuster/Player.h | Mateusz1223/RockBuster | 6261391425188059baf79e892272fc19ce50c26d | [
"MIT"
] | null | null | null | #pragma once
#include "common.h"
#include "TexturePack.h"
class Player
{
private:
// Player body
sf::RectangleShape body;
// Logic variables
float maxSpeed; // always positive value
float speed;
float acceleration;
unsigned int points;
unsigned int healthPoints;
// Private funtions
void initVariables(sf... | 19.096154 | 70 | 0.728097 |
e3ecdb7944bb0d42436112c0d2b2f95e005df680 | 2,060 | h | C | include/uml/activityGroup.h | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | null | null | null | include/uml/activityGroup.h | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | 1 | 2022-02-25T18:14:21.000Z | 2022-03-10T08:59:55.000Z | include/uml/activityGroup.h | nemears/uml-cpp | d72c8b5506f391f2b6a5696972ff8da7ec10bd21 | [
"MIT"
] | null | null | null | #ifndef _UML_ACTIVITY_GROUP_H_
#define _UML_ACTIVITY_GROUP_H_
#include "activityNode.h"
#include "activityEdge.h"
namespace UML {
class ActivityGroup;
typedef UmlPtr<Activity> ActivityPtr;
typedef UmlPtr<ActivityGroup> ActivityGroupPtr;
class ActivityGroup : public NamedElement {
friend cla... | 42.040816 | 113 | 0.669903 |
6e31ed070070d20e743a198cbfa67c3afc870e9a | 911 | h | C | BTE/Tools/HttpTool/YQNetworking/Cache/YQDiskCache.h | sophiemarceau/bte_iOS | 3e44be16be9559709e5dfbe24855f929e68832b1 | [
"MIT"
] | 1 | 2022-02-08T06:42:11.000Z | 2022-02-08T06:42:11.000Z | ISSCloudTools/ISSCloudTools/ISSCloudTool/Tools/YQNetworking/Cache/YQDiskCache.h | zzxdx/ISSCloudTools | 42d2517bc80cb4517aee1970a75059b14e587ead | [
"MIT"
] | 1 | 2021-11-12T02:04:11.000Z | 2021-11-12T02:04:11.000Z | ISSCloudTools/ISSCloudTools/ISSCloudTool/Tools/YQNetworking/Cache/YQDiskCache.h | zzxdx/ISSCloudTools | 42d2517bc80cb4517aee1970a75059b14e587ead | [
"MIT"
] | null | null | null | //
// YQDiskCache.h
// YQNetworking
//
// Created by yingqiu huang on 2017/2/10.
// Copyright © 2017年 yingqiu huang. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface YQDiskCache : NSObject
/**
* 将数据写入磁盘
*
* @param data 数据
* @param directory 目录
* @param filename 文件名
*/
+ (void)w... | 15.706897 | 57 | 0.620198 |
f56ef37143c61445cee5c294dfc29d2104f66673 | 487 | h | C | src/RakNet/include/RouterInterface.h | tomazas/open-bomber | ddbcbd701f1440acb579f8927dee02701dc44b7c | [
"MIT"
] | 1 | 2016-06-28T18:19:30.000Z | 2016-06-28T18:19:30.000Z | src/RakNet/include/RouterInterface.h | tomazas/open-bomber | ddbcbd701f1440acb579f8927dee02701dc44b7c | [
"MIT"
] | null | null | null | src/RakNet/include/RouterInterface.h | tomazas/open-bomber | ddbcbd701f1440acb579f8927dee02701dc44b7c | [
"MIT"
] | null | null | null | #ifndef __ROUTER_INTERFACE_H
#define __ROUTER_INTERFACE_H
#include "Export.h"
#include "RakNetTypes.h"
/// On failed directed sends, RakNet can call an alternative send function to use.
class RAK_DLL_EXPORT RouterInterface
{
public:
RouterInterface() {}
virtual ~RouterInterface() {}
virtual bool Send... | 27.055556 | 170 | 0.765914 |
0ce372318581a173ff28756b0892cf5d63b56061 | 1,117 | h | C | lib/erlang/c_src/src/lib/cat_test.h | woozhijun/cat | 3d523202c38e37b1a2244b26d4336ebbea5db001 | [
"Apache-2.0"
] | 17,318 | 2015-01-03T03:02:07.000Z | 2022-03-31T02:43:28.000Z | lib/erlang/c_src/src/lib/cat_test.h | MrCoderYu/cat | 674bd9ab70267dd6fc74879e4344af77397f4acd | [
"Apache-2.0"
] | 1,162 | 2015-01-04T08:23:49.000Z | 2022-03-31T15:38:04.000Z | lib/erlang/c_src/src/lib/cat_test.h | MrCoderYu/cat | 674bd9ab70267dd6fc74879e4344af77397f4acd | [
"Apache-2.0"
] | 5,520 | 2015-01-03T03:02:07.000Z | 2022-03-31T16:16:56.000Z | //
// Created by Terence on 2018/10/18.
//
#ifndef CCAT_TEST_H
#define CCAT_TEST_H
static int g_assertions = 0;
static void inline _assert_null(void* ptr) {
g_assertions++;
if (NULL != ptr) {
printf("The pointer expected to be null, non-null value given.\n");
}
}
static void inline _assert_not_n... | 23.765957 | 82 | 0.675022 |
4938e03c308e548951ad0e41bd7960fbd77db4e2 | 3,618 | c | C | components/av/swresample/resample.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 9 | 2020-05-12T03:01:55.000Z | 2021-08-12T10:22:31.000Z | components/av/swresample/resample.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | null | null | null | components/av/swresample/resample.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 12 | 2020-04-15T11:37:33.000Z | 2021-09-13T13:19:04.000Z | /*
* Copyright (C) 2018-2020 Alibaba Group Holding Limited
*/
#include "avutil/common.h"
#include "swresample/resample.h"
#define TAG "resample"
static struct resx_ops *_res_ops;
/**
* @brief regist resample ops
* @param [in] ops
* @return 0/-1
*/
int resx_ops_register(const struct r... | 25.478873 | 96 | 0.574627 |
2961330152a4d34e6c6f9df4168e411e341b7bc8 | 5,275 | h | C | include/QtNetwork/qlocalsocket.h | 219-design/build_qt4_binaries_armv5tejl_sbc6000x | 0d33869719a56ce4e9c7009f825c7d3c79869f36 | [
"MIT"
] | null | null | null | include/QtNetwork/qlocalsocket.h | 219-design/build_qt4_binaries_armv5tejl_sbc6000x | 0d33869719a56ce4e9c7009f825c7d3c79869f36 | [
"MIT"
] | null | null | null | include/QtNetwork/qlocalsocket.h | 219-design/build_qt4_binaries_armv5tejl_sbc6000x | 0d33869719a56ce4e9c7009f825c7d3c79869f36 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding val... | 34.933775 | 91 | 0.726445 |
51e9463b2fa9fc84419f4b596e75aabdc910b0e8 | 1,500 | h | C | src/include/cm/cm_server/cms_cn.h | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 1 | 2021-11-05T10:14:39.000Z | 2021-11-05T10:14:39.000Z | src/include/cm/cm_server/cms_cn.h | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | null | null | null | src/include/cm/cm_server/cms_cn.h | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS ... | 37.5 | 112 | 0.687333 |
55416bc9c39f61d36ca1aff92e5aabce3bb60979 | 888 | h | C | src/hmm_calcerrorlod.h | gatarelib/qtl2 | 4aba67a3a43ca16888c18f913934098bb28895c0 | [
"RSA-MD"
] | null | null | null | src/hmm_calcerrorlod.h | gatarelib/qtl2 | 4aba67a3a43ca16888c18f913934098bb28895c0 | [
"RSA-MD"
] | null | null | null | src/hmm_calcerrorlod.h | gatarelib/qtl2 | 4aba67a3a43ca16888c18f913934098bb28895c0 | [
"RSA-MD"
] | null | null | null | // calculate genotyping error LOD scores
// (assumes constant is_female and cross_info and pre-calcs the step and emit matrices)
#ifndef HMM_CALCERRORLOD_H
#define HMM_CALCERRORLOD_H
#include <Rcpp.h>
Rcpp::NumericMatrix calc_errorlod(const Rcpp::String& crosstype,
const Rcpp::Numeri... | 52.235294 | 121 | 0.61036 |
4ef315317855affd216d8ae359d523ff2f8c0b4c | 352 | h | C | Flix Application/Views/MovieCollectionCell.h | randrade13/Flix_Application | 6d0461fd8c48bb770b28207c41d259d3e6779ea1 | [
"Apache-2.0"
] | null | null | null | Flix Application/Views/MovieCollectionCell.h | randrade13/Flix_Application | 6d0461fd8c48bb770b28207c41d259d3e6779ea1 | [
"Apache-2.0"
] | 1 | 2019-07-02T03:01:16.000Z | 2019-07-02T03:01:16.000Z | Flix Application/Views/MovieCollectionCell.h | randrade13/Flix_Application | 6d0461fd8c48bb770b28207c41d259d3e6779ea1 | [
"Apache-2.0"
] | null | null | null | //
// MovieCollectionCell.h
// Flix Application
//
// Created by rodrigoandrade on 6/27/19.
// Copyright © 2019 rodrigoandrade. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MovieCollectionCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *posterVie... | 18.526316 | 61 | 0.769886 |
b6fe5131e90cd168e36a8d3efb9a581a1db2bd44 | 679 | h | C | AmbaDemo/AmbaRemoteCam/wifiViewController.h | BFAlex/BFsTCPCommands | cf5c3bc3b0e3bc2191fc4977e0ef2e4d4730dd10 | [
"MIT"
] | null | null | null | AmbaDemo/AmbaRemoteCam/wifiViewController.h | BFAlex/BFsTCPCommands | cf5c3bc3b0e3bc2191fc4977e0ef2e4d4730dd10 | [
"MIT"
] | null | null | null | AmbaDemo/AmbaRemoteCam/wifiViewController.h | BFAlex/BFsTCPCommands | cf5c3bc3b0e3bc2191fc4977e0ef2e4d4730dd10 | [
"MIT"
] | null | null | null | //
// wifiViewController.h
// AmbaRemoteCam
//
// Created by (Ram Kumar) Ambarella
// Copyright (c) 2014 Ambarella. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ambaStateMachine.h"
@interface wifiViewController : UIViewController
@property (retain, nonatomic) NSMutableArray *defaultIP;
@property (reta... | 27.16 | 68 | 0.771723 |
391612e8bfb574e22c7a04de285b8e6ab66a4058 | 1,450 | c | C | kernel/interrupts.c | puchake/odysseos | f78f43c97e58ea776d2d30bc6ab4fde5081dc536 | [
"MIT"
] | null | null | null | kernel/interrupts.c | puchake/odysseos | f78f43c97e58ea776d2d30bc6ab4fde5081dc536 | [
"MIT"
] | null | null | null | kernel/interrupts.c | puchake/odysseos | f78f43c97e58ea776d2d30bc6ab4fde5081dc536 | [
"MIT"
] | null | null | null | #include "interrupts.h"
#include "pic.h"
#include "keyboard.h"
#include "utilities.h"
volatile int timer_i = 0;
void timer_handler() {
timer_i++;
send_eoi(TIMER_IRQ);
}
void keystroke_handler() {;
if (keyboard_input_state == WAITING_FOR_KEYBOARD_INPUT) {
// Fill in the scancode buffer, if get_... | 30.208333 | 74 | 0.66 |
fbe32d0781f142e68aeb088eea3769b9c12fa399 | 498 | h | C | gdm/gdm-2.6.0.5/gui/greeter/greeter_events.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | gdm/gdm-2.6.0.5/gui/greeter/greeter_events.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | gdm/gdm-2.6.0.5/gui/greeter/greeter_events.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | #ifndef GREETER_EVENTS_H
#define GREETER_EVENTS_H
typedef void (*ActionFunc) (GreeterItemInfo *info,
gpointer user_data);
gint greeter_item_event_handler (GnomeCanvasItem *item,
GdkEvent *event,
gpointer data);
void greeter_item_register_action_callback (c... | 27.666667 | 66 | 0.644578 |
2560b43bddd98a15f2aa2355f17e467e6fbb150c | 9,299 | c | C | old codes/Ultimate linked list programe.c | ikaushikpal/C-practice | abab8a186eaf38b434811755833a32306cd47d64 | [
"MIT"
] | null | null | null | old codes/Ultimate linked list programe.c | ikaushikpal/C-practice | abab8a186eaf38b434811755833a32306cd47d64 | [
"MIT"
] | null | null | null | old codes/Ultimate linked list programe.c | ikaushikpal/C-practice | abab8a186eaf38b434811755833a32306cd47d64 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
}*first=NULL;
void insert()
{
struct node *p,*q;
p=(struct node*)malloc(sizeof(struct node));
printf("enter value\n");
scanf("%d",&p->data);
p->next=NULL;
if(first==NULL)
{
first=p;
}
else
{
q=first;
while(q->next!=NULL)
... | 17.22037 | 71 | 0.513604 |
f94cd9ccd951ac9d020ed1abf9cc5ccc0f6e1fc9 | 1,608 | h | C | src/php_pq_params.h | trowski/ext-pq | 63fb773601422aa39375d8effb9f37abab981804 | [
"BSD-2-Clause"
] | 33 | 2015-05-29T13:07:24.000Z | 2022-02-07T07:58:41.000Z | src/php_pq_params.h | trowski/ext-pq | 63fb773601422aa39375d8effb9f37abab981804 | [
"BSD-2-Clause"
] | 43 | 2015-06-10T14:35:14.000Z | 2022-02-01T09:46:10.000Z | src/php_pq_params.h | trowski/ext-pq | 63fb773601422aa39375d8effb9f37abab981804 | [
"BSD-2-Clause"
] | 10 | 2015-06-10T15:40:51.000Z | 2021-04-22T08:10:22.000Z | /*
+--------------------------------------------------------------------+
| PECL :: pq |
+--------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modificatio... | 34.212766 | 96 | 0.562189 |
c3561842b6f5c578b967ff00e4247fff4145f892 | 10,938 | h | C | Havtorn/Source/Engine/Input/InputTypes.h | nicolas-risberg/NewEngine | 38441f0713167ca8a469a1c6c0e7a290b5e402de | [
"MIT"
] | null | null | null | Havtorn/Source/Engine/Input/InputTypes.h | nicolas-risberg/NewEngine | 38441f0713167ca8a469a1c6c0e7a290b5e402de | [
"MIT"
] | null | null | null | Havtorn/Source/Engine/Input/InputTypes.h | nicolas-risberg/NewEngine | 38441f0713167ca8a469a1c6c0e7a290b5e402de | [
"MIT"
] | 1 | 2022-01-09T12:01:24.000Z | 2022-01-09T12:01:24.000Z | // Copyright 2022 Team Havtorn. All Rights Reserved.
#pragma once
namespace Havtorn
{
enum class EInputModifier
{
None = 0,
Shift = BIT(0),
Ctrl = BIT(1),
Alt = BIT(2),
};
enum class EInputContext
{
Editor = BIT(0),
InGame = BIT(1),
};
enum class EInputKey
{
None = 0x00,
Mouse1 = 0x... | 24.360802 | 184 | 0.664381 |
c36a79f758a2a84175d23ce643a0e1565781ea06 | 851 | c | C | src/sched_round_robin.c | uLipe/Kalango | b084f651bb786292bfc7b3f2426ead9477dbb29c | [
"MIT"
] | 2 | 2019-12-31T21:20:34.000Z | 2020-01-05T17:47:36.000Z | src/sched_round_robin.c | uLipe/Kalango | b084f651bb786292bfc7b3f2426ead9477dbb29c | [
"MIT"
] | null | null | null | src/sched_round_robin.c | uLipe/Kalango | b084f651bb786292bfc7b3f2426ead9477dbb29c | [
"MIT"
] | 1 | 2019-12-30T03:52:32.000Z | 2019-12-30T03:52:32.000Z | #include <sched.h>
#if CONFIG_ENABLE_ROUND_ROBIN_SCHED
KernelResult SchedulerDoRoundRobin(TaskPriorityList *list) {
ASSERT_PARAM(list);
uint8_t top_priority = (31 - ArchCountLeadZeros(list->ready_task_bitmap));
ArchCriticalSectionEnter();
sys_dnode_t *current_head = sys_dlist_peek_head(&list->ta... | 31.518519 | 90 | 0.719154 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.