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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb7532f9a9bdf5e05e35f12cc7fc73ce928e97f6 | 6,600 | h | C | Crawler/Install Files/pygame/src/doc/examples_doc.h | hanvo/MusicCloud | b91b9481df087955fcb09f472308c9ad1a94ba94 | [
"BSD-3-Clause"
] | null | null | null | Crawler/Install Files/pygame/src/doc/examples_doc.h | hanvo/MusicCloud | b91b9481df087955fcb09f472308c9ad1a94ba94 | [
"BSD-3-Clause"
] | null | null | null | Crawler/Install Files/pygame/src/doc/examples_doc.h | hanvo/MusicCloud | b91b9481df087955fcb09f472308c9ad1a94ba94 | [
"BSD-3-Clause"
] | null | null | null | /* Auto generated file: with makeref.py . Docs go in src/ *.doc . */
#define DOC_PYGAMEEXAMPLES "module of example programs"
#define DOC_PYGAMEEXAMPLESALIENSMAIN "aliens.main() -> None\nplay the full aliens example"
#define DOC_PYGAMEEXAMPLESOLDALIENMAIN "oldalien.main() -> None\nplay the original aliens example"
#... | 35.294118 | 228 | 0.798485 |
6fae1c26244652bdfbc426ea8272f08422eadd5d | 14,836 | h | C | drivers/staging/media/atomisp/pci/css_2401_system/hrt/mipi_backend_defs.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | drivers/staging/media/atomisp/pci/css_2401_system/hrt/mipi_backend_defs.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | drivers/staging/media/atomisp/pci/css_2401_system/hrt/mipi_backend_defs.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free... | 70.647619 | 189 | 0.66278 |
cbee98642e2f461a433a3c64a93bb46397632489 | 3,215 | h | C | MediaRemote.framework/MRAVOutputContext.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | MediaRemote.framework/MRAVOutputContext.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | MediaRemote.framework/MRAVOutputContext.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
*/
@interface MRAVOutputContext : NSObject {
bool _attemptingLogicalDeviceRecovery;
AVOutputContext * _avOutputContext;
bool _handleDiscoverySessionOutputDevicesChangedScheduled;
bool _handl... | 42.302632 | 106 | 0.80311 |
c4e21d43929a691d5a138f0569b8efdf0d66380f | 1,491 | h | C | Source/Core/Utils/SystemUtils_win.h | igor-sadchenko/image-uploader | d559aa0d7319660a93b036821b7b99cc53e70c7e | [
"Apache-2.0"
] | 107 | 2015-03-13T08:58:26.000Z | 2022-03-14T02:56:36.000Z | Source/Core/Utils/SystemUtils_win.h | igor-sadchenko/image-uploader | d559aa0d7319660a93b036821b7b99cc53e70c7e | [
"Apache-2.0"
] | 285 | 2015-03-12T23:08:54.000Z | 2022-02-20T15:22:31.000Z | Source/Core/Utils/SystemUtils_win.h | igor-sadchenko/image-uploader | d559aa0d7319660a93b036821b7b99cc53e70c7e | [
"Apache-2.0"
] | 40 | 2015-03-14T13:37:08.000Z | 2021-08-15T05:58:10.000Z | #ifndef IU_CORE_UTILS_SYSTEMUTILS_WIN_H
#define IU_CORE_UTILS_SYSTEMUTILS_WIN_H
#include <string>
#include <windows.h>
namespace IuCoreUtils
{
bool IsOs64Bit() {
#if _WIN64
return true;
#elif _WIN32
BOOL isWow64 = FALSE;
//IsWow64Process is not available on all supported versions of Windows... | 24.442623 | 100 | 0.646546 |
ae20057cfaad74258bd4d97d15bf3eb36bcb3046 | 729 | h | C | src/utility/models/VoxelContourModel.h | Shimmen/ArkoseRendererThesis | 51497768ae910587a7f03050ceda5eb1c0a9be3d | [
"MIT"
] | 2 | 2021-07-21T16:30:33.000Z | 2021-08-21T16:47:32.000Z | src/utility/models/VoxelContourModel.h | Shimmen/ArkoseRendererThesis | 51497768ae910587a7f03050ceda5eb1c0a9be3d | [
"MIT"
] | null | null | null | src/utility/models/VoxelContourModel.h | Shimmen/ArkoseRendererThesis | 51497768ae910587a7f03050ceda5eb1c0a9be3d | [
"MIT"
] | null | null | null | #pragma once
#include "utility/Model.h"
#include <vector>
class VoxelContourModel final : public Model {
public:
struct VoxelContour {
aabb3 aabb;
vec3 normal;
float distance;
uint32_t colorIndex;
};
VoxelContourModel(std::vector<VoxelContour>, std::vector<vec3> colors);
... | 25.137931 | 76 | 0.679012 |
993c791be50d4f7ad82a8c40ae6f48866e80a7fb | 750 | h | C | src/common/console_inputter.h | jeroendebaat/lc3tools | b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41 | [
"Apache-2.0"
] | 58 | 2018-07-13T03:41:38.000Z | 2022-03-08T19:06:20.000Z | src/common/console_inputter.h | jeroendebaat/lc3tools | b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41 | [
"Apache-2.0"
] | 26 | 2019-12-02T05:33:00.000Z | 2022-03-12T15:54:26.000Z | src/common/console_inputter.h | jeroendebaat/lc3tools | b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41 | [
"Apache-2.0"
] | 24 | 2019-08-30T15:00:13.000Z | 2022-01-26T05:11:36.000Z | /*
* Copyright 2020 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
*/
#ifndef CONSOLE_INPUTTER_H
#define CONSOLE_INPUTTER_H
#include "inputter.h"
namespace lc3 {
class ConsoleInputter : public utils::IInputter
{
pub... | 25.862069 | 153 | 0.689333 |
c42b9bcb52f850916839e551cf854ff410d0421e | 1,551 | h | C | src/LogisticRegression.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 71 | 2015-03-30T17:22:52.000Z | 2022-01-01T14:19:23.000Z | src/LogisticRegression.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 190 | 2015-01-27T16:18:58.000Z | 2022-03-31T16:49:58.000Z | src/LogisticRegression.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 45 | 2015-04-13T13:42:35.000Z | 2021-12-17T08:26:21.000Z | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... | 31.653061 | 81 | 0.63314 |
e345304337fcdc10c164a071eab7102591fddec1 | 3,643 | h | C | src/verifier/state_dumper.h | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 18 | 2015-02-11T13:52:46.000Z | 2021-07-05T10:50:22.000Z | src/verifier/state_dumper.h | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 58 | 2015-01-02T11:31:12.000Z | 2022-03-23T07:16:47.000Z | src/verifier/state_dumper.h | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 17 | 2015-04-02T03:52:48.000Z | 2021-02-07T02:29:38.000Z | /**
* @file state_dumper.h
*
* Copyright (c) 2019, Ueda Laboratory LMNtal Group
* <lmntal@ueda.info.waseda.ac.jp>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | 33.118182 | 79 | 0.706286 |
64cf772329c1a9fad15d7da0d70f23cb98a044a3 | 386 | h | C | twrt/src/utils.h | lingfliu/smart_tuwa | 6dc4bcfe7ee72828e1bc34269413d8596ea65acd | [
"Apache-2.0"
] | null | null | null | twrt/src/utils.h | lingfliu/smart_tuwa | 6dc4bcfe7ee72828e1bc34269413d8596ea65acd | [
"Apache-2.0"
] | null | null | null | twrt/src/utils.h | lingfliu/smart_tuwa | 6dc4bcfe7ee72828e1bc34269413d8596ea65acd | [
"Apache-2.0"
] | null | null | null | #ifndef _UTILS_
#define _UTILS_
#include <sys/time.h>
//time functions
/*get the time difference in milli-seconds*/
long timediff_ms(struct timeval time1, struct timeval time2);
/*get the time difference in seconds*/
long timediff_s(struct timeval time1, struct timeval time2);
/*get the time difference in hours*/
lon... | 25.733333 | 61 | 0.777202 |
fedc51f7c5dd8438e6dba4ddf9a52a5c85afc9ad | 4,583 | h | C | source/r_emwin_rx/r_emwin_rx_vx.xx/r_emwin_rx/lib/GUI/GUIDRV_TemplateI.h | HirokiIshiguro/rx-driver-package | 4af73486ecdd07ad58258625e9e8410db2fdaaba | [
"MIT"
] | null | null | null | source/r_emwin_rx/r_emwin_rx_vx.xx/r_emwin_rx/lib/GUI/GUIDRV_TemplateI.h | HirokiIshiguro/rx-driver-package | 4af73486ecdd07ad58258625e9e8410db2fdaaba | [
"MIT"
] | null | null | null | source/r_emwin_rx/r_emwin_rx_vx.xx/r_emwin_rx/lib/GUI/GUIDRV_TemplateI.h | HirokiIshiguro/rx-driver-package | 4af73486ecdd07ad58258625e9e8410db2fdaaba | [
"MIT"
] | null | null | null | /*********************************************************************
* SEGGER Microcontroller GmbH *
* Solutions for real time microcontroller applications *
**********************************************************************
* ... | 41.288288 | 127 | 0.58237 |
5fcef20fe3ed6eed3609a066d81d5ffa48b67b9d | 266 | h | C | StRoot/StEEmcPool/muEztPanitkin/SpyCorruption.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StEEmcPool/muEztPanitkin/SpyCorruption.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StEEmcPool/muEztPanitkin/SpyCorruption.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | #ifndef SpyCorruption_h
#define SpyCorruption_h
#include <TArrayF.h>
#include "SpyGeneric.h"
class SpyCorruption: public SpyGeneric {
TArrayF a0,d0;// last histo and last difference
int lastSum;
public:
SpyCorruption();
bool sense(FILE *fd);
};
#endif
| 15.647059 | 49 | 0.733083 |
38b5cf002a00486af2ed8d28de5920bd8c57e12e | 1,395 | h | C | shared/source/os_interface/windows/windows_wrapper.h | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | shared/source/os_interface/windows/windows_wrapper.h | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | shared/source/os_interface/windows/windows_wrapper.h | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#if _WIN32
#include <windows.h>
#pragma warning(push)
#pragma warning(disable : 4005)
#include <ntstatus.h>
#pragma warning(pop)
// There is a conflict with max/min defined as macro in windows headers with std::max/s... | 22.5 | 94 | 0.780645 |
0dfd37e0120acebeebbfc3b970e0fbde775d0b7a | 2,615 | c | C | tsl/src/fdw/fdw_utils.c | backwardn/timescaledb | b1eeb56c12c699c336245bb75dc1a843b19f949b | [
"Apache-2.0"
] | 1 | 2020-09-17T10:21:21.000Z | 2020-09-17T10:21:21.000Z | tsl/src/fdw/fdw_utils.c | backwardn/timescaledb | b1eeb56c12c699c336245bb75dc1a843b19f949b | [
"Apache-2.0"
] | null | null | null | tsl/src/fdw/fdw_utils.c | backwardn/timescaledb | b1eeb56c12c699c336245bb75dc1a843b19f949b | [
"Apache-2.0"
] | null | null | null | /*
* This file and its contents are licensed under the Timescale License.
* Please see the included NOTICE for copyright information and
* LICENSE-TIMESCALE for a copy of the license.
*/
#include <postgres.h>
#include <optimizer/paths.h>
#include <optimizer/pathnode.h>
#include <nodes/extensible.h>
#include "fdw_u... | 20.429688 | 96 | 0.691013 |
be084bea1fb5892bd4f4358a52f9e10af16328c4 | 611 | h | C | CMSPaaSDemo/Classes/CMSPaaS.framework/Headers/CMSAdaptWidthButtonCollectionViewCell.h | fyaojie/CMSPaaSDemo | b1f2f90b41f82dd008e50bb77bcfffe40f025eca | [
"MIT"
] | null | null | null | CMSPaaSDemo/Classes/CMSPaaS.framework/Headers/CMSAdaptWidthButtonCollectionViewCell.h | fyaojie/CMSPaaSDemo | b1f2f90b41f82dd008e50bb77bcfffe40f025eca | [
"MIT"
] | null | null | null | CMSPaaSDemo/Classes/CMSPaaS.framework/Headers/CMSAdaptWidthButtonCollectionViewCell.h | fyaojie/CMSPaaSDemo | b1f2f90b41f82dd008e50bb77bcfffe40f025eca | [
"MIT"
] | null | null | null | //
// CMSAdaptWidthButtonCollectionViewCell.h
// CMSPaaS
//
// Created by sway on 2020/10/16.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface CMSAdaptWidthButtonItem : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, assign) BOOL isSelected;
@property (nonatomic, copy) ... | 23.5 | 71 | 0.772504 |
0796c396405932b498f933a7475cf999cfadcaaf | 497 | h | C | duilib/Utils/SvgUtil.h | l619534951/monitor_helper_duilib | a0df2a0285bdd37b77a611fba080dee0e55bda4f | [
"BSD-2-Clause",
"MIT"
] | null | null | null | duilib/Utils/SvgUtil.h | l619534951/monitor_helper_duilib | a0df2a0285bdd37b77a611fba080dee0e55bda4f | [
"BSD-2-Clause",
"MIT"
] | null | null | null | duilib/Utils/SvgUtil.h | l619534951/monitor_helper_duilib | a0df2a0285bdd37b77a611fba080dee0e55bda4f | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #ifndef UI_UTILS_SVGUTIL_H_
#define UI_UTILS_SVGUTIL_H_
namespace ui
{
class UILIB_API SvgUtil
{
public:
static bool IsSvgFile(const std::wstring& strImageFullPath);
static std::unique_ptr<ImageInfo> LoadSvg(const std::wstring& strImageFullPath);
static std::unique_ptr<ImageInfo> LoadSvg(HGLOBAL hGlobal, const std... | 23.666667 | 99 | 0.794769 |
e03dc35c18ff4bff2b44df0f1b5f0e97304e4d6c | 5,299 | c | C | 5th_sem_C_Java_VB/local system/Graphics/cia4.c | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | 5th_sem_C_Java_VB/local system/Graphics/cia4.c | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | 5th_sem_C_Java_VB/local system/Graphics/cia4.c | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | #include<stdio.h>
#include<graphics.h>
#include<conio.h>
#include<math.h>
int c_bgcolor,c_line;
void draw_xy();
int signx(int x);
int round1(float x);
void line_draw(int x1,int y1,int x2,int y2,int c);
int bresenham(int x1,int y1,int x2,int y2,int x[],int y[]);
void ... | 24.532407 | 105 | 0.480845 |
6aea94e0034c7c92812a9efc5cdf49afdd0a95db | 18,429 | c | C | lib/peak_netmap.c | fichtner/libpeak | ae6b6389245e2345807e67286c80533becc1cf29 | [
"ISC"
] | 14 | 2015-04-22T13:58:15.000Z | 2020-09-27T11:04:34.000Z | lib/peak_netmap.c | packetwerk/libpeak | ae6b6389245e2345807e67286c80533becc1cf29 | [
"0BSD"
] | null | null | null | lib/peak_netmap.c | packetwerk/libpeak | ae6b6389245e2345807e67286c80533becc1cf29 | [
"0BSD"
] | 4 | 2015-05-07T07:25:26.000Z | 2020-10-01T20:36:16.000Z | /*
* Copyright (c) 2013-2014 Franco Fichtner <franco@packetwerk.com>
* Copyright (c) 2014 Alexey Saushev <alexey@packetwerk.com>
* Copyright (c) 2014 Tobias Boertitz <tobias@packetwerk.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, p... | 23.416773 | 77 | 0.672636 |
9837f53430e560899c26de68322d785feea64216 | 483 | c | C | build/stx/support/tools/splint-3.1.2/test/argorder4.c | GunterMueller/ST_STX_Fork | d891b139f3c016b81feeb5bf749e60585575bff7 | [
"MIT"
] | 1 | 2020-01-23T20:46:08.000Z | 2020-01-23T20:46:08.000Z | build/stx/support/tools/splint-3.1.2/test/argorder4.c | GunterMueller/ST_STX_Fork | d891b139f3c016b81feeb5bf749e60585575bff7 | [
"MIT"
] | null | null | null | build/stx/support/tools/splint-3.1.2/test/argorder4.c | GunterMueller/ST_STX_Fork | d891b139f3c016b81feeb5bf749e60585575bff7 | [
"MIT"
] | null | null | null | int glob;
int add(int x, int y) { return (x + y); }
int f()
{
return (glob);
}
int g()
{
return (++glob);
}
int h()
{
if (f() > 3)
{
return (f() + g()); /* bad --- order of evaluation matters! */
}
else
{
if (g() < 2)
{
return (f() + (++glob)); /* bad! */
}
else
{
retu... | 12.075 | 80 | 0.42236 |
a6522f3e50b5596f8a04c7e8afcdc36b909cd87e | 344 | c | C | UESTC-Programming-Course/Grade 1/Chapter 13/Homework 2/F.c | HeRaNO/ChickenRibs | 9aa8dd8f915aa39a7168940b5ff99a1d665f5212 | [
"MIT"
] | 14 | 2020-03-02T09:55:44.000Z | 2021-09-17T09:39:40.000Z | UESTC-Programming-Course/Grade 1/Chapter 13/Homework 2/F.c | HeRaNO/ChickenRibs | 9aa8dd8f915aa39a7168940b5ff99a1d665f5212 | [
"MIT"
] | null | null | null | UESTC-Programming-Course/Grade 1/Chapter 13/Homework 2/F.c | HeRaNO/ChickenRibs | 9aa8dd8f915aa39a7168940b5ff99a1d665f5212 | [
"MIT"
] | 8 | 2020-06-08T12:38:56.000Z | 2021-06-27T14:23:30.000Z | #include <stdio.h>
#include <string.h>
int max(int a,int b){return a>b?a:b;}
int main()
{
int i,n;char s[100];
puts("Enter full name of a file:");printf("The extension is: ");
scanf("%s",s);n=strlen(s);
for (i=n-1;~i;i--) if (s[i]=='.') break;
if (s[max(i,0)]!='.') return 0;
for (++i;i<n;i++) putchar(s[i]);putc... | 21.5 | 65 | 0.561047 |
074ad4cd52ff2b701ebf8aaa570db9b298dab14e | 306 | h | C | include/processor.h | xjohncz/CppND-System-Monitor | 4b40c77da7366cfbb2c3b9c9b93627f5d77b7a0e | [
"MIT"
] | null | null | null | include/processor.h | xjohncz/CppND-System-Monitor | 4b40c77da7366cfbb2c3b9c9b93627f5d77b7a0e | [
"MIT"
] | null | null | null | include/processor.h | xjohncz/CppND-System-Monitor | 4b40c77da7366cfbb2c3b9c9b93627f5d77b7a0e | [
"MIT"
] | null | null | null | #ifndef PROCESSOR_H
#define PROCESSOR_H
class Processor {
public:
float Utilization(); // TODO: See src/processor.cpp
// TODO: Declare any necessary private members
private:
static int previdle, previowait;
static int prevuser, prevnice, prevsystem, previrq, prevsoftirq, prevsteal;
};
#endif | 21.857143 | 77 | 0.751634 |
727abfb94f456651cf60de93d372c1abc63e0a68 | 3,954 | c | C | thirdparty/dmcurl/thirdparty/curl/tests/libtest/lib576.c | brinkqiang/luahttpclient | 1c5e0555a80aa15dd0e765a8084d0af83f0a488a | [
"MIT"
] | null | null | null | thirdparty/dmcurl/thirdparty/curl/tests/libtest/lib576.c | brinkqiang/luahttpclient | 1c5e0555a80aa15dd0e765a8084d0af83f0a488a | [
"MIT"
] | null | null | null | thirdparty/dmcurl/thirdparty/curl/tests/libtest/lib576.c | brinkqiang/luahttpclient | 1c5e0555a80aa15dd0e765a8084d0af83f0a488a | [
"MIT"
] | null | null | null | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \... | 31.380952 | 79 | 0.549317 |
729676bc0b611b2255f40a78623ca68df73aef51 | 537 | h | C | Sources/CXX/include/CXX.h | ProfFan/cxx-interop-test | 9b9d2a6857397bc4e3dbda57025c4822bf6bd0f1 | [
"Apache-2.0"
] | null | null | null | Sources/CXX/include/CXX.h | ProfFan/cxx-interop-test | 9b9d2a6857397bc4e3dbda57025c4822bf6bd0f1 | [
"Apache-2.0"
] | null | null | null | Sources/CXX/include/CXX.h | ProfFan/cxx-interop-test | 9b9d2a6857397bc4e3dbda57025c4822bf6bd0f1 | [
"Apache-2.0"
] | null | null | null | #ifndef CXX_H
#define CXX_H
#include <sstream>
#include <string>
#include <vector>
class V {
public:
V() : Vec({1, 2, 3, 4}), str("Hello from C++!") {}
std::vector<int> &getVec() { return Vec; }
std::vector<int> Vec;
std::string str;
};
using cxx_std_vector_of_int = std::vector<int>;
static int dummy() {
a... | 14.513514 | 57 | 0.625698 |
72b0e7212d003d8d5cc0d61989ebc84246ac0bf3 | 1,685 | h | C | src/file_storage.h | G-Ray/libtorrent-native | ce89d1ffaeba51cb99e70a417b932f987f7d31e1 | [
"MIT"
] | null | null | null | src/file_storage.h | G-Ray/libtorrent-native | ce89d1ffaeba51cb99e70a417b932f987f7d31e1 | [
"MIT"
] | null | null | null | src/file_storage.h | G-Ray/libtorrent-native | ce89d1ffaeba51cb99e70a417b932f987f7d31e1 | [
"MIT"
] | null | null | null | #ifndef FILESTORAGE_H
#define FILESTORAGE_H
#include <memory>
#include <nan.h>
namespace libtorrent
{
class file_storage;
}
namespace lt
{
class FileStorage : public Nan::ObjectWrap
{
public:
static NAN_MODULE_INIT(Init);
static v8::Local<v8::Object> NewInstance(v8::Local<v8::Value> a... | 26.328125 | 88 | 0.647478 |
b84c89c8f45dd4e7d98c89972d24573cd7eadd3e | 2,985 | c | C | nm_otool/src/ft_otool.c | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | nm_otool/src/ft_otool.c | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | nm_otool/src/ft_otool.c | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_otool.c :+: :+: :+: ... | 28.160377 | 80 | 0.468677 |
f747b3c201ab42ef8477bfcbfb20b86d44018c28 | 1,282 | c | C | nitan/d/beijing/zhuang3.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/d/beijing/zhuang3.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/d/beijing/zhuang3.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | #include <room.h>
#include <ansi.h>
inherit ROOM;
int do_break(string arg);
void create()
{
set("short", "莊府大門");
set("long", @LONG
這裏就是文士莊允城的舊居。自從他被朝廷抓走後,這裏好像就
沒有人住了。一扇大門(men)緊鎖着, 周圍是高高的圍牆(wall)。一
切都很乾淨,並沒有積多少灰塵。
LONG );
set("exits", ([
"south" : "/d/beijing/zhuang2",
]));
set("item_d... | 20.03125 | 55 | 0.514041 |
743ff97377b98e6523f153487743d3a49f5a2497 | 3,085 | h | C | include/il2cpp/System/Collections/Generic/Dictionary/ValueCollection_byte__object_.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/System/Collections/Generic/Dictionary/ValueCollection_byte__object_.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/System/Collections/Generic/Dictionary/ValueCollection_byte__object_.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void System_Collections_Generic_Dictionary_ValueCollection_byte__object____ctor (System_Collections_Generic_Dictionary_ValueCollection_byte__object__o* __this, System_Collections_Generic_Dictionary_TKey__TValue__o* dictionary, const MethodInfo* method_info);
System_Collections_Generic... | 181.470588 | 291 | 0.935494 |
ddf7a4cb9d05f7b9a8e387206edefff16a656e11 | 2,491 | h | C | src/trusted/channel.h | pinklite34/Teechain | d27fad8e30ac75f38a7b443280dbe4df260bfbb5 | [
"Unlicense"
] | 46 | 2018-02-12T14:42:28.000Z | 2022-03-10T12:48:55.000Z | src/trusted/channel.h | pinklite34/Teechain | d27fad8e30ac75f38a7b443280dbe4df260bfbb5 | [
"Unlicense"
] | 5 | 2018-10-05T07:27:30.000Z | 2021-04-14T06:16:18.000Z | src/trusted/channel.h | pinklite34/Teechain | d27fad8e30ac75f38a7b443280dbe4df260bfbb5 | [
"Unlicense"
] | 14 | 2018-02-24T00:54:24.000Z | 2021-09-27T07:44:16.000Z | #ifndef _CHANNEL_H_
#define _CHANNEL_H_
#include <string>
#include <map>
#include <set>
#include <vector>
#include <queue>
#include "service_provider.h"
#include "state.h"
enum BackupBlockRequest {
Channel_Create_Request, // perform backup: a new channel is being created
Backup_Store_Request, // a new backup... | 32.776316 | 110 | 0.7499 |
a19af3a18d9a128d51907cdaebaedc8f8e5bcfd4 | 9,312 | c | C | freeswitch/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c | gidmoth/freeswitch-image-builder | f0169671d6a4683dd4ac7226a6b38ad94640e592 | [
"BSD-2-Clause"
] | null | null | null | freeswitch/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c | gidmoth/freeswitch-image-builder | f0169671d6a4683dd4ac7226a6b38ad94640e592 | [
"BSD-2-Clause"
] | null | null | null | freeswitch/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c | gidmoth/freeswitch-image-builder | f0169671d6a4683dd4ac7226a6b38ad94640e592 | [
"BSD-2-Clause"
] | null | null | null | /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2009, Mathieu Parent <math.parent@gmail.com>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in complianc... | 32.333333 | 155 | 0.764175 |
a1e8bd92671eab20848d59316313e50376f43d08 | 546 | h | C | src/core/checkpoint.h | dani3/sc-emulator | 54b61a56e801c353c15bf3d88f27c836c5559242 | [
"MIT"
] | null | null | null | src/core/checkpoint.h | dani3/sc-emulator | 54b61a56e801c353c15bf3d88f27c836c5559242 | [
"MIT"
] | 3 | 2021-11-26T14:20:08.000Z | 2022-02-04T23:04:44.000Z | src/core/checkpoint.h | dani3/sc-emulator | 54b61a56e801c353c15bf3d88f27c836c5559242 | [
"MIT"
] | null | null | null | /**
* \file checkpoint.h
*
* \brief Set of 'checkpoints' that can be left in the code.
*/
#ifndef CHECKPOINT_H
#define CHECKPOINT_H
#include <setjmp.h>
/**
* \brief Action to be performed when a reset has been received.
*/
typedef enum {
COLD_RESET = 1, ///< Perform a cold reset.
ACCEPT_NEW_CONNE... | 22.75 | 70 | 0.652015 |
74c630bb9847185f952a16ee72c0908768dec765 | 11,679 | c | C | sound/soc/sof/intel/atom.c | rajkinkhabwala/linux | bbb30aa9e76b23422327d886527014449b79099a | [
"Linux-OpenIB"
] | null | null | null | sound/soc/sof/intel/atom.c | rajkinkhabwala/linux | bbb30aa9e76b23422327d886527014449b79099a | [
"Linux-OpenIB"
] | null | null | null | sound/soc/sof/intel/atom.c | rajkinkhabwala/linux | bbb30aa9e76b23422327d886527014449b79099a | [
"Linux-OpenIB"
] | null | null | null | // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license. When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2018-2021 Intel Corporation. All rights reserved.
//
// Author: Liam Girdwood <liam.r.girdwood@linux.i... | 25.334056 | 74 | 0.70494 |
de79728922c6374f8d6f5fa3d5696e20b758c47e | 172 | c | C | getMaxPIDTest.c | yousef-virgal/operating-system-project | 31b4116df77f7dd6aa72ce6e813207ba80395da3 | [
"MIT-0"
] | null | null | null | getMaxPIDTest.c | yousef-virgal/operating-system-project | 31b4116df77f7dd6aa72ce6e813207ba80395da3 | [
"MIT-0"
] | null | null | null | getMaxPIDTest.c | yousef-virgal/operating-system-project | 31b4116df77f7dd6aa72ce6e813207ba80395da3 | [
"MIT-0"
] | null | null | null | #include "types.h"
#include "stat.h"
#include "user.h"
int
main(void){
printf(1, "The maximum PID of all active processes in the system is %d\n", getMaxPID());
exit();
} | 19.111111 | 89 | 0.674419 |
d31581c01cb7d78db1fbfe8da520751343ed0bd1 | 2,090 | h | C | src/stt/stt_operations_simple_list.h | katesalazar/bat | 3c84a3c2263f3d40147411843c066b9313b967b4 | [
"Apache-2.0"
] | 1 | 2019-06-04T22:39:37.000Z | 2019-06-04T22:39:37.000Z | src/stt/stt_operations_simple_list.h | katesalazar/bat | 3c84a3c2263f3d40147411843c066b9313b967b4 | [
"Apache-2.0"
] | null | null | null | src/stt/stt_operations_simple_list.h | katesalazar/bat | 3c84a3c2263f3d40147411843c066b9313b967b4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018-2019 Mercedes Catherine Salazar
*
* 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 applicab... | 27.5 | 75 | 0.814354 |
5adb81f4e3ce459424422f265c2af153e55fff8d | 1,557 | h | C | butano/include/bn_log.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | 1 | 2022-02-06T10:02:14.000Z | 2022-02-06T10:02:14.000Z | butano/include/bn_log.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | null | null | null | butano/include/bn_log.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | null | null | null | /*
* Copyright (c) 2020-2022 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#ifndef BN_LOG_H
#define BN_LOG_H
/**
* @file
* BN_LOG header file.
*
* @ingroup log
*/
#include "bn_config_log.h"
#include "bn_config_doxygen.h"
/**
* @def BN_LOG(...)
*
* Prints in one lin... | 20.220779 | 92 | 0.597945 |
c1cc746b362102bc09c48d701d8d5a9ec70c93a6 | 1,046 | h | C | include/bits/minelement.h | peterlauro/type_list | 945695a5d45362f2a676945d49675b0e78dbee3f | [
"Apache-2.0"
] | null | null | null | include/bits/minelement.h | peterlauro/type_list | 945695a5d45362f2a676945d49675b0e78dbee3f | [
"Apache-2.0"
] | null | null | null | include/bits/minelement.h | peterlauro/type_list | 945695a5d45362f2a676945d49675b0e78dbee3f | [
"Apache-2.0"
] | null | null | null | #ifndef STDX_BITS_MINELEMENT_H
#define STDX_BITS_MINELEMENT_H
#include <cstdlib>
namespace stdx::detail
{
template<typename List>
struct min_element_mixin
{
template<class Compare>
static constexpr std::size_t min_element(Compare comp)
{
if constexpr (List::empty())
{
return List... | 20.115385 | 89 | 0.572658 |
94232fe715a9cfad67ae8108dea927448982e401 | 7,110 | h | C | include/amino/rx/rx_ct.h | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 32 | 2015-06-02T20:06:09.000Z | 2022-03-14T16:49:22.000Z | include/amino/rx/rx_ct.h | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 28 | 2016-05-18T20:54:44.000Z | 2021-03-22T23:43:23.000Z | include/amino/rx/rx_ct.h | dyalab/amino | e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22 | [
"BSD-3-Clause"
] | 20 | 2016-01-05T18:55:14.000Z | 2022-02-22T01:32:20.000Z | /* -*- mode: C; c-basic-offset: 4; -*- */
/* ex: set shiftwidth=4 tabstop=4 expandtab: */
/*
* Copyright (c) 2017, Rice University
* Copyright (c) 2018, Colorado School of Mines
* All rights reserved.
*
* Author(s): Neil T. Dantam <ndantam@mines.edu>
*
* Redistribution and use in source and binary forms, with ... | 34.514563 | 88 | 0.687482 |
ea18cac20ad489b2f139971fed5847bfce05c720 | 585 | h | C | iOS/Runtime/MethodSwizzling/MethodSwizzling/SwizzlingMethodObject.h | lzackx/Zone | bf8a3d2b965c383a691a6e7b61d23db15ce11dba | [
"MIT"
] | null | null | null | iOS/Runtime/MethodSwizzling/MethodSwizzling/SwizzlingMethodObject.h | lzackx/Zone | bf8a3d2b965c383a691a6e7b61d23db15ce11dba | [
"MIT"
] | null | null | null | iOS/Runtime/MethodSwizzling/MethodSwizzling/SwizzlingMethodObject.h | lzackx/Zone | bf8a3d2b965c383a691a6e7b61d23db15ce11dba | [
"MIT"
] | null | null | null | //
// SwizzlingMethodObject.h
// MethodSwizzling
//
// Created by lzackx on 2018/3/15.
// Copyright © 2018年 lzackx. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SwizzlingMethodObject : NSObject
- (instancetype)initWithOriginalClass:(Class)original_class
OriginalSelect... | 26.590909 | 60 | 0.596581 |
ea40e9cbe3136523ce92d89885c46e9d1c94fd4c | 2,699 | h | C | Engine/Source/Editor/DetailCustomizations/Private/IntervalStructCustomization.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Editor/DetailCustomizations/Private/IntervalStructCustomization.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Editor/DetailCustomizations/Private/IntervalStructCustomization.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Implements a details panel customization for numeric TInterval structures.
*/
template <typename NumericType>
class FIntervalStructCustomization : public IPropertyTypeCustomization
{
public:
FIntervalStructCustomization()
: bIsUsingSl... | 30.325843 | 189 | 0.772138 |
c6e495d34fe95bb31b3b9a188ad8a3bf6a582809 | 4,887 | c | C | src/tool/hpcrun/syscalls/select.c | vladaindjic/hpctoolkit | 8a401b37384965272fabcee57064dcfa614ff834 | [
"BSD-3-Clause"
] | null | null | null | src/tool/hpcrun/syscalls/select.c | vladaindjic/hpctoolkit | 8a401b37384965272fabcee57064dcfa614ff834 | [
"BSD-3-Clause"
] | null | null | null | src/tool/hpcrun/syscalls/select.c | vladaindjic/hpctoolkit | 8a401b37384965272fabcee57064dcfa614ff834 | [
"BSD-3-Clause"
] | 2 | 2021-11-30T18:24:10.000Z | 2022-02-13T18:13:17.000Z | // -*-Mode: C++;-*- // technically C99
// * BeginRiceCopyright *****************************************************
//
// $HeadURL$
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research an... | 30.166667 | 80 | 0.536935 |
0c8e34afe7cf54a397aff4dc87597ca489029f46 | 324 | h | C | budejie/budejie/Classes/Essence/View/ELTopicVideoView.h | CoderEllis/budejie | deb15cf246445d9e06ee190f3ead9f27eb74de2b | [
"Apache-2.0"
] | null | null | null | budejie/budejie/Classes/Essence/View/ELTopicVideoView.h | CoderEllis/budejie | deb15cf246445d9e06ee190f3ead9f27eb74de2b | [
"Apache-2.0"
] | null | null | null | budejie/budejie/Classes/Essence/View/ELTopicVideoView.h | CoderEllis/budejie | deb15cf246445d9e06ee190f3ead9f27eb74de2b | [
"Apache-2.0"
] | null | null | null | //
// ELTopicVideoView.h
// budejie
//
// Created by Soul Ai on 29/11/2018.
// Copyright © 2018 Soul Ai. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class ELTopic;
@interface ELTopicVideoView : UIView
/** 模型数据 */
@property (nonatomic, strong) ELTopic *topic;
@end
NS_ASSUME_NONNULL_... | 15.428571 | 50 | 0.712963 |
7b75b2607e1edd499931f40b529f022f028d1e7a | 371 | h | C | Hoko/HOKFilterBlockWrapper.h | YourMD/hoko-ios | 6bc738ad8d43375fc6244ed87e5263d74cea3d77 | [
"Apache-2.0"
] | 32 | 2015-01-16T17:49:33.000Z | 2016-05-09T01:25:10.000Z | Hoko/HOKFilterBlockWrapper.h | YourMD/hoko-ios | 6bc738ad8d43375fc6244ed87e5263d74cea3d77 | [
"Apache-2.0"
] | 4 | 2016-10-20T10:39:50.000Z | 2018-12-01T20:53:09.000Z | Hoko/HOKFilterBlockWrapper.h | YourMD/hoko-ios | 6bc738ad8d43375fc6244ed87e5263d74cea3d77 | [
"Apache-2.0"
] | 8 | 2016-06-12T08:44:36.000Z | 2019-05-23T11:30:58.000Z | //
// HOKFilterBlockWrapper.h
// Hoko
//
// Created by Hoko, S.A. on 04/08/15.
// Copyright (c) 2015 Hoko, S.A. All rights reserved.
//
#import "HOKDeeplink.h"
@interface HOKFilterBlockWrapper : NSObject
- (instancetype)initWithFilterBlock:(BOOL (^)(HOKDeeplink *deeplink))filterBlock;
@property (nonatomic, copy... | 21.823529 | 81 | 0.714286 |
72fd748ec188a8c959011d5c13d57d530fd73836 | 3,965 | h | C | common/inc/qcc/windows/util.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 33 | 2018-01-12T00:37:43.000Z | 2022-03-24T02:31:36.000Z | common/inc/qcc/windows/util.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 1 | 2020-01-05T05:51:27.000Z | 2020-01-05T05:51:27.000Z | common/inc/qcc/windows/util.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 30 | 2017-12-13T23:24:00.000Z | 2022-01-25T02:11:19.000Z | #ifndef _QCC_UTIL_WINDOWS_H
#define _QCC_UTIL_WINDOWS_H
/**
* @file
*
* This file provides platform specific macros for Windows
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contri... | 33.888889 | 88 | 0.693569 |
73a808a9c53c709c34f185e843ca77b30dc5e1b2 | 1,671 | c | C | include/libmlx/src/ft_draw_line.c | W2Codam/FDF | 4dcbaf330b1d81ba1f3453321659cb9967833982 | [
"MIT"
] | null | null | null | include/libmlx/src/ft_draw_line.c | W2Codam/FDF | 4dcbaf330b1d81ba1f3453321659cb9967833982 | [
"MIT"
] | null | null | null | include/libmlx/src/ft_draw_line.c | W2Codam/FDF | 4dcbaf330b1d81ba1f3453321659cb9967833982 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* :::::::: */
/* ft_draw_line.c :+: :+: ... | 29.315789 | 80 | 0.329144 |
73db449c1af93c82db97ad383cb5b4db232e1636 | 2,733 | c | C | sr/lsri/lib/libsys/env_get_prm.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | 2 | 2018-03-01T13:45:41.000Z | 2018-03-01T14:11:47.000Z | src.clean/lib/libsys/env_get_prm.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | src.clean/lib/libsys/env_get_prm.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | #include "sysutil.h"
#include <string.h>
PUBLIC int env_argc = 0;
PUBLIC char **env_argv = NULL;
FORWARD _PROTOTYPE( char *find_key, (const char *params, const char *key));
/*===========================================================================*
* env_setargs *
*=========================... | 27.059406 | 80 | 0.493231 |
ad2e63cc8d3eba0857598a5971f71be1c25333c3 | 551 | h | C | src/subsystem/perception/detection/basic_lane_detector.h | AndrewCr0w/road_controller | 3db8cadf828c118607f2c3e07b3feffc22b6232c | [
"MIT"
] | null | null | null | src/subsystem/perception/detection/basic_lane_detector.h | AndrewCr0w/road_controller | 3db8cadf828c118607f2c3e07b3feffc22b6232c | [
"MIT"
] | null | null | null | src/subsystem/perception/detection/basic_lane_detector.h | AndrewCr0w/road_controller | 3db8cadf828c118607f2c3e07b3feffc22b6232c | [
"MIT"
] | null | null | null | #ifndef ROAD_CONTROLLER_LANE_DETECTOR_H
#define ROAD_CONTROLLER_LANE_DETECTOR_H
#include "lane_detector_strategy.h"
class BasicLaneDetector {
protected:
#pragma clang diagnostic push
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
cv::Mat execute(const cv::Mat&);
#pragma clang diagnostic pop
... | 27.55 | 68 | 0.782214 |
f8e71a2ba6d23fba5922534ebbfbcfa60ab37b3e | 881 | h | C | iOS/10.0.2/Frameworks/HomeKit.framework/HMVendorDataManager.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | iOS/10.0.2/Frameworks/HomeKit.framework/HMVendorDataManager.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | iOS/10.0.2/Frameworks/HomeKit.framework/HMVendorDataManager.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/HomeKit.framework/HomeKit
*/
@interface HMVendorDataManager : NSObject {
long long _dataVersion;
NSObject<OS_dispatch_queue> * _databaseQueue;
NSDictionary * _vendorModelEntries;
}
@property (nonatomic) long long dataVersion;
@property ... | 29.366667 | 73 | 0.766175 |
5d75ab683026eb21c52322a71a9a5ed9b2f46f5d | 11,308 | h | C | WoW API/WoWClientDB.h | Fernir/Dinnerbot | 7f517a46c66a44b32ab9904283babb8b3faa1d5b | [
"MIT"
] | 3 | 2018-04-25T10:01:53.000Z | 2022-01-09T20:30:37.000Z | WoW API/WoWClientDB.h | Fernir/Dinnerbot | 7f517a46c66a44b32ab9904283babb8b3faa1d5b | [
"MIT"
] | null | null | null | WoW API/WoWClientDB.h | Fernir/Dinnerbot | 7f517a46c66a44b32ab9904283babb8b3faa1d5b | [
"MIT"
] | 1 | 2022-01-09T20:30:40.000Z | 2022-01-09T20:30:40.000Z | #pragma once
#include <Windows.h>
enum eClientDb
{
Achievement = 0x000000EB, // 0x00A73888
Achievement_Criteria = 0x000000EC, // 0x00A738AC
Achievement_Category = 0x000000ED, // 0x00A738D0
AnimationData = 0x000000EE, // 0x00A738F4
AreaGroup = 0x000000EF, // 0x00A73918
AreaPOI = 0x000000F0, // 0x00A7393
AreaTa... | 44.171875 | 62 | 0.732313 |
56f68eae6f409cce4217f2ea454db3fbc78e6876 | 3,292 | c | C | extern/llvm/tools/clang/test/CodeGen/override-layout.c | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | null | null | null | extern/llvm/tools/clang/test/CodeGen/override-layout.c | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | 1 | 2020-02-22T09:59:21.000Z | 2020-02-22T09:59:21.000Z | extern/llvm/tools/clang/test/CodeGen/override-layout.c | chip5441/clReflect | d366cced2fff9aefcfc5ec6a0c97ed6c827263eb | [
"MIT"
] | null | null | null | // RUN: %clang_cc1 -w -fdump-record-layouts %s 2> %t.layouts
// RUN: %clang_cc1 -w -fdump-record-layouts-simple %s > %t.before 2>&1
// RUN: %clang_cc1 -w -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after 2>&1
// RUN: diff %t.before %t.after
// RUN: FileCheck %s < ... | 18.811429 | 129 | 0.606318 |
5ea903413022b3cff36981d9729752cd037f4ce8 | 821 | h | C | bobuniverse.h | OtacilioN/Bob-Robot-Simulator | 5c6beb5062c0299f270fc703b1d1c514ad10c5ab | [
"MIT"
] | 2 | 2017-12-23T14:39:52.000Z | 2018-10-23T19:39:23.000Z | bobuniverse.h | OtacilioN/Bob-Robot-Simulator | 5c6beb5062c0299f270fc703b1d1c514ad10c5ab | [
"MIT"
] | null | null | null | bobuniverse.h | OtacilioN/Bob-Robot-Simulator | 5c6beb5062c0299f270fc703b1d1c514ad10c5ab | [
"MIT"
] | null | null | null | /*
* bobuniverse.h
*
* It is a Bob Robot Universe Simulator
*
* Created on September 13, 2017
* By Otacilio Neto (github: @OtacilioN | Email: contato@otaciliomaia.com)
*
* Published under mit license
*/
#ifndef bobuniverse_h
#define bobuniverse_h
class Universe {
public:
Universe(int initialDis... | 22.189189 | 76 | 0.601705 |
957dfece35e8ac8cd8c369c4e11f2a4225b2b597 | 469 | h | C | renderer/core/include/core/ogl/uniforms/OpenGLDoubleUniformVariable.h | wookie41/blitz | 7f587bee9b6189c32f0f60c69316bc8deca23c16 | [
"MIT"
] | 1 | 2020-01-04T21:04:52.000Z | 2020-01-04T21:04:52.000Z | renderer/core/include/core/ogl/uniforms/OpenGLDoubleUniformVariable.h | wookie41/blitz | 7f587bee9b6189c32f0f60c69316bc8deca23c16 | [
"MIT"
] | 15 | 2019-08-26T20:54:31.000Z | 2020-03-15T14:11:44.000Z | renderer/core/include/core/ogl/uniforms/OpenGLDoubleUniformVariable.h | wookie41/blitz | 7f587bee9b6189c32f0f60c69316bc8deca23c16 | [
"MIT"
] | null | null | null | #pragma once
#include <core/UniformVariable.h>
#include <core/ogl/uniforms/OpenGLUniformVariable.h>
namespace blitz::ogl
{
class OpenGLDoubleUniformVariable : public UniformVariable<double>, public OpenGLUniformVariable
{
public:
OpenGLDoubleUniformVariable(const GLint& variableLocation, const d... | 27.588235 | 115 | 0.724947 |
e5ef65b0efdf1663032162baa70bd56b2d958fd4 | 4,668 | h | C | third_party/hpipm/include/hpipm_d_dense_qp_ipm_hard.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | third_party/hpipm/include/hpipm_d_dense_qp_ipm_hard.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | third_party/hpipm/include/hpipm_d_dense_qp_ipm_hard.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | /**************************************************************************************************
* *
* This file is part of HPIPM. *
* ... | 51.866667 | 145 | 0.495716 |
b56bc02f6a970b6249f55245e7f493095e158cd9 | 875 | h | C | util/include/outputinterface.h | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 9 | 2019-02-18T09:08:43.000Z | 2021-08-25T13:59:15.000Z | util/include/outputinterface.h | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 65 | 2017-12-06T16:01:11.000Z | 2021-06-10T15:24:23.000Z | util/include/outputinterface.h | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 7 | 2017-12-04T20:21:28.000Z | 2021-12-01T15:59:40.000Z | #ifndef OUTPUTINTERFACE_H
#define OUTPUTINTERFACE_H
#include <json.h>
#include <memory>
namespace glass3 {
namespace util {
/**
* \interface iOutput
* \brief The output message interface, used in sending data to output classes in
* neic-glass3
*
* The iOutput interface is implemented by classes that manage outp... | 25 | 81 | 0.72 |
67ea545178052edb20c06d6bf5941f1dfd45151a | 549 | h | C | examples/NEED_GRRLIB_FUNCTION/source/gfx/font9x12.h | HTV04/GRRLIB | 7840bd4e1e23faf52015e8ef3d3fd55a2539dca4 | [
"MIT"
] | 72 | 2015-04-05T00:03:18.000Z | 2022-03-27T19:43:59.000Z | examples/NEED_GRRLIB_FUNCTION/source/gfx/font9x12.h | HTV04/GRRLIB | 7840bd4e1e23faf52015e8ef3d3fd55a2539dca4 | [
"MIT"
] | 10 | 2015-11-17T05:25:31.000Z | 2022-03-03T20:57:42.000Z | examples/NEED_GRRLIB_FUNCTION/source/gfx/font9x12.h | HTV04/GRRLIB | 7840bd4e1e23faf52015e8ef3d3fd55a2539dca4 | [
"MIT"
] | 18 | 2015-07-07T03:53:23.000Z | 2022-03-27T19:44:00.000Z | /*
This file was autogenerated by raw2c.
Visit http://www.devkitpro.org
*/
//---------------------------------------------------------------------------------
#ifndef _font9x12_h_
#define _font9x12_h_
//---------------------------------------------------------------------------------
extern const unsigned char font9... | 36.6 | 83 | 0.302368 |
d5ac4ab6bb267a2757d12f56cb4c789ca1012317 | 18,364 | h | C | headers/termios.h | mwichmann/lsb-buildenv | 7a7eb64b5960172e0032e7202aeb454e076880fa | [
"BSD-3-Clause"
] | null | null | null | headers/termios.h | mwichmann/lsb-buildenv | 7a7eb64b5960172e0032e7202aeb454e076880fa | [
"BSD-3-Clause"
] | null | null | null | headers/termios.h | mwichmann/lsb-buildenv | 7a7eb64b5960172e0032e7202aeb454e076880fa | [
"BSD-3-Clause"
] | null | null | null | #if (__LSB_VERSION__ >= 10 )
#ifndef _TERMIOS_H_
#define _TERMIOS_H_
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#if __LSB_VERSION__ >= 11
#define TCIFLUSH 0
#define TCOOFF 0
#define TCSANOW 0
#define BS0 0000000
#define CR0 0000000
#define FF0 0000000
#define NL0 0000000
#define TAB0 0000000
#def... | 19.725027 | 73 | 0.768242 |
84f975ed02361820aac340ce9da6229fbeb77618 | 2,724 | c | C | src/besh_initialization.c | Hektelion/besh | dd4103a61130fc8ae8dcbb6d9c3abe5c35970afd | [
"MIT"
] | null | null | null | src/besh_initialization.c | Hektelion/besh | dd4103a61130fc8ae8dcbb6d9c3abe5c35970afd | [
"MIT"
] | null | null | null | src/besh_initialization.c | Hektelion/besh | dd4103a61130fc8ae8dcbb6d9c3abe5c35970afd | [
"MIT"
] | null | null | null | #include "../include/besh_initialization.h"
#include "../include/besh_constant.h"
#include "../include/environement.h"
#include <stdio.h> //stderr, printf() et EOF
#include <stdlib.h> //EXIT_FAILURE et NULL
#include <unistd.h> //environ
#include <string.h>
#include <fcntl.h>
char **besh_environement;
int besh_nb_var... | 17.350318 | 91 | 0.644273 |
b90fdc64ddaf99c797983149f8b4811dd6994229 | 12,462 | c | C | src/bcmltd/chip/bcmltd_vlan_egr_tag_action_profile_t.c | lguohan/SDKLT | 37acbc80e162bdfc7f7d5fb0833178f4f7a8afd4 | [
"Apache-2.0"
] | 2 | 2018-01-31T07:21:32.000Z | 2018-01-31T07:21:49.000Z | src/bcmltd/chip/bcmltd_vlan_egr_tag_action_profile_t.c | lguohan/SDKLT | 37acbc80e162bdfc7f7d5fb0833178f4f7a8afd4 | [
"Apache-2.0"
] | null | null | null | src/bcmltd/chip/bcmltd_vlan_egr_tag_action_profile_t.c | lguohan/SDKLT | 37acbc80e162bdfc7f7d5fb0833178f4f7a8afd4 | [
"Apache-2.0"
] | 3 | 2021-07-13T08:29:18.000Z | 2022-01-14T06:14:56.000Z | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from INTERNAL/fltg/xgs/vlan/VLAN_EGR_TAG_ACTION_PROFILE.tbl.ltl
* Edits to this file will be lost when it is regenerated.
*
* Copyright: (c) 2018 Broadcom. All Rights R... | 40.72549 | 102 | 0.628872 |
fe2ca13ec187c819b86a4d6de72d5e21ccccc1ce | 334 | c | C | test.c | sanjitk7/bankersAlgorithmWithInterrupts | 724edb95d9174a4bebdc6dd276ce7156e28ff63f | [
"MIT"
] | null | null | null | test.c | sanjitk7/bankersAlgorithmWithInterrupts | 724edb95d9174a4bebdc6dd276ce7156e28ff63f | [
"MIT"
] | null | null | null | test.c | sanjitk7/bankersAlgorithmWithInterrupts | 724edb95d9174a4bebdc6dd276ce7156e28ff63f | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
char stringBuffer[20];
char* outputStrings[5];
int main(){
int i;
int example[]={1,2,3,4,5};
for (i = 0 ; i < 5 ; ++i)
{
snprintf(stringBuffer, 20, "%d", example[i]);
// check for overrun omitted
outputStrings[i] = strdup(stringBuffer);
printf("%s",string... | 20.875 | 49 | 0.601796 |
b3fe89f3c963ef2e7591639afd49748d6a0f912f | 436 | h | C | src/coreclr/ToolBox/superpmi/superpmi/jithost.h | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 9,402 | 2019-11-25T23:26:24.000Z | 2022-03-31T23:19:41.000Z | src/coreclr/ToolBox/superpmi/superpmi/jithost.h | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 37,522 | 2019-11-25T23:30:32.000Z | 2022-03-31T23:58:30.000Z | src/coreclr/ToolBox/superpmi/superpmi/jithost.h | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 3,629 | 2019-11-25T23:29:16.000Z | 2022-03-31T21:52:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#ifndef _JITHOST
#define _JITHOST
class JitHost final : public ICorJitHost
{
public:
JitHost(JitInstance& jitInstance);
#include "icorjithostimpl.h"
private:
bool convertS... | 20.761905 | 90 | 0.754587 |
bef91ec2df3e0c8185af7f51b05e54833ebcc7f6 | 961 | h | C | modules/paged_article/paged_article.h | Relintai/rcpp_framework | 6416ecc5e0c88115f209cd63945a29c0e16a8e99 | [
"MIT"
] | null | null | null | modules/paged_article/paged_article.h | Relintai/rcpp_framework | 6416ecc5e0c88115f209cd63945a29c0e16a8e99 | [
"MIT"
] | null | null | null | modules/paged_article/paged_article.h | Relintai/rcpp_framework | 6416ecc5e0c88115f209cd63945a29c0e16a8e99 | [
"MIT"
] | null | null | null | #ifndef PAGED_ARTICLE_H
#define PAGED_ARTICLE_H
#include <map>
#include "core/containers/vector.h"
#include "core/string.h"
#include "core/file_cache.h"
#include "core/http/web_node.h"
#include "core/http/request.h"
struct Article {
String url;
String summary_page;
std::map<String, String *> pages;
FileCache *f... | 18.480769 | 90 | 0.702393 |
7eba2beef75fe511d5e39d7d2b96a01d2a10f488 | 477 | c | C | q11332.c | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | 1 | 2018-03-19T05:18:49.000Z | 2018-03-19T05:18:49.000Z | q11332.c | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | q11332.c | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | // 0.004
#include <stdio.h>
int sum(int inputNum){
if(inputNum<10){
return inputNum;
}
int outputNum = 0;
while(inputNum>0){
outputNum += inputNum%10;
inputNum /= 10;
}
return sum(outputNum);
}
int main(){
#ifndef ONLINE_JUDGE
freopen("q11332.in", "r", stdin);
freopen("q11332.out... | 14.029412 | 37 | 0.54717 |
62561043d1fda457a014578503f108adf6d50908 | 1,976 | h | C | myexamplederivedclassl3.h | LouisParkin/VoidPtrDemonstration | 89cf979c1c927733598281b6d3a6428f772bdc03 | [
"MIT"
] | null | null | null | myexamplederivedclassl3.h | LouisParkin/VoidPtrDemonstration | 89cf979c1c927733598281b6d3a6428f772bdc03 | [
"MIT"
] | null | null | null | myexamplederivedclassl3.h | LouisParkin/VoidPtrDemonstration | 89cf979c1c927733598281b6d3a6428f772bdc03 | [
"MIT"
] | null | null | null | /// @file myexamplederivedclassl3.h
///
/// For the better part, this class (MyExampleDerivedClassL3) actually does nothing but occupy memory.
///
/// It inherits from MyExampleDerivedClassL2, overrides some virtual functions, but those, inherited
/// and overridden mostly do nothing.
///
/// The purpose of it and its ... | 34.666667 | 102 | 0.752024 |
2bd32519c3a92adf1ca21a09f1e6c01ffe18cade | 4,025 | h | C | PrivateFrameworks/AudioServerDriver/ASDPlugin.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/AudioServerDriver/ASDPlugin.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/AudioServerDriver/ASDPlugin.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 <AudioServerDriver/ASDObject.h>
#import "ASDDeviceConfigurationChangeDelegate.h"
#import "ASDPropertyChangedDelegate.h"
@class NSMapTable, NSMutableDictionary, NSObject<OS... | 40.656566 | 209 | 0.78236 |
2e15577b0e16d2a34880d8a7be550877db871941 | 632 | c | C | RandC/openMP.c | joey-kilgore/playground | 2ad1f9f0c51a4a3a4ad9e2646e8a8bde7f368320 | [
"Unlicense"
] | null | null | null | RandC/openMP.c | joey-kilgore/playground | 2ad1f9f0c51a4a3a4ad9e2646e8a8bde7f368320 | [
"Unlicense"
] | 1 | 2019-12-10T01:37:23.000Z | 2019-12-10T01:37:23.000Z | RandC/openMP.c | joey-kilgore/playground | 2ad1f9f0c51a4a3a4ad9e2646e8a8bde7f368320 | [
"Unlicense"
] | 2 | 2019-03-26T03:20:41.000Z | 2019-12-09T23:22:40.000Z | #include <omp.h>
#include <stdio.h>
#include <stdlib.h>
int someMath(int num,int i){
num = num * num * num * i;
return num;
}
int main(int argc, char** argv){
int nthreads, tid;
int i;
int num = atoi(argv[1]);
int data[10000];
#pragma omp parallel
{
#pragma omp for
for(i=0; i<... | 17.555556 | 35 | 0.488924 |
f3ba937cafd6eb1dce6c7c38d69a63680503723f | 4,906 | h | C | oi_async.h | citisolo/liboi | f6d0026f9ef69f5fdca779b14a983d44a23d3f00 | [
"BSD-2-Clause"
] | null | null | null | oi_async.h | citisolo/liboi | f6d0026f9ef69f5fdca779b14a983d44a23d3f00 | [
"BSD-2-Clause"
] | null | null | null | oi_async.h | citisolo/liboi | f6d0026f9ef69f5fdca779b14a983d44a23d3f00 | [
"BSD-2-Clause"
] | 1 | 2020-11-02T12:03:51.000Z | 2020-11-02T12:03:51.000Z | #include <ev.h>
#include <pthread.h>
#include <netdb.h>
#include <oi.h>
#ifndef oi_async_h
#define oi_async_h
#ifdef __cplusplus
extern "C" {
#endif
typedef struct oi_async oi_async;
typedef struct oi_task oi_task;
struct oi_async {
/* private */
ev_async watcher;
struct ev_loop *loop;
oi_queue finished... | 22.401826 | 106 | 0.664696 |
4317f8a58e6680b9a1368363efb6b6e02117b880 | 4,347 | c | C | src/hexmove.c | YTEC-info/hexed | f81dc2c6144a49607bdfdcad7993b48e03dfcf6b | [
"BSD-2-Clause"
] | null | null | null | src/hexmove.c | YTEC-info/hexed | f81dc2c6144a49607bdfdcad7993b48e03dfcf6b | [
"BSD-2-Clause"
] | null | null | null | src/hexmove.c | YTEC-info/hexed | f81dc2c6144a49607bdfdcad7993b48e03dfcf6b | [
"BSD-2-Clause"
] | null | null | null | /******************************************************************************
*
* hexmove.c - hexed move command
*
******************************************************************************
*
* Copyright (c) 2011, B.ZaaR
*
* All rights reserved.
* Redistribution and use in source and binary form... | 22.878947 | 80 | 0.603635 |
28787235cff2018f3cc34f3d24ef2d789140410c | 1,092 | h | C | Practice - other groups tasks/Practice 1/Lilbib.h | Keikeu/CPP-Laboratories | 6030838ce666ab42755754523e4513a32b586a65 | [
"MIT"
] | null | null | null | Practice - other groups tasks/Practice 1/Lilbib.h | Keikeu/CPP-Laboratories | 6030838ce666ab42755754523e4513a32b586a65 | [
"MIT"
] | 3 | 2019-11-15T22:58:09.000Z | 2019-11-15T23:09:15.000Z | Practice - other groups tasks/Practice 1/Lilbib.h | Keikeu/CPP-Laboratories | 6030838ce666ab42755754523e4513a32b586a65 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <iostream>
using namespace std;
class Page
{
public:
Page(string header = "empty", string text = "empty") : m_header(header), m_text(text) {}
Page* Copy();
void Print();
void AddHeader(string header) {m_header = header;}
void AddText(string text) {m_text = ... | 18.508475 | 92 | 0.644689 |
1a938bf2a492439d3d04b4e5f9030fa86402aa73 | 1,082 | h | C | Engine/ResourcePacker/Packer/ResourcePacker.h | azhirnov/GraphicsGenFramework-modular | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | 12 | 2017-12-23T14:24:57.000Z | 2020-10-02T19:52:12.000Z | Engine/ResourcePacker/Packer/ResourcePacker.h | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | Engine/ResourcePacker/Packer/ResourcePacker.h | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt'
#pragma once
#include "Engine/ResourcePacker/Pipelines/PipelineConverter.h"
#include "Engine/ResourcePacker/FilePacker/IFileSystemPacker.h"
namespace ResPack
{
//
// Resource Packer
//
class ResourcePacker final
{
friend struct ScriptH... | 18.338983 | 80 | 0.735675 |
9f8afea1e1aa83dea22ffa85c44f155c1d2e84d6 | 2,524 | h | C | cores/arduino/USBMscHandler.h | Tophness/Arduino_Core_STM32 | d892359dfe4ab0140358ff389e1e8321c01f9119 | [
"Apache-2.0"
] | null | null | null | cores/arduino/USBMscHandler.h | Tophness/Arduino_Core_STM32 | d892359dfe4ab0140358ff389e1e8321c01f9119 | [
"Apache-2.0"
] | null | null | null | cores/arduino/USBMscHandler.h | Tophness/Arduino_Core_STM32 | d892359dfe4ab0140358ff389e1e8321c01f9119 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2015 Arduino LLC. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
T... | 28.359551 | 89 | 0.697702 |
5881fbf93d4ff0a1bcd50e0993441dc55a4f8a28 | 341 | h | C | development/plot-var/plot-var.h | makamekm/genome | a951caa74dd38893e4b18a90a8a5ec432e33334c | [
"Apache-2.0"
] | null | null | null | development/plot-var/plot-var.h | makamekm/genome | a951caa74dd38893e4b18a90a8a5ec432e33334c | [
"Apache-2.0"
] | null | null | null | development/plot-var/plot-var.h | makamekm/genome | a951caa74dd38893e4b18a90a8a5ec432e33334c | [
"Apache-2.0"
] | null | null | null | #include <imgui.h>
namespace ImGui {
// Plot value over time
// Pass FLT_MAX value to draw without adding a new value
void PlotVar(const char* label, float value, float scale_min = FLT_MAX, float scale_max = FLT_MAX, size_t buffer_size = 120);
// Call this periodically to discard old/unused data
void PlotVa... | 34.1 | 127 | 0.741935 |
bf23a5d47e0c0ac520d8c4a9ce521a0ee6f42d8f | 10,411 | c | C | Userland/SampleCodeModule/shell.c | gprinc/RoundTwo | afec4b592b7fb1226338c5af7c4574cb1a0cbc8f | [
"BSD-3-Clause"
] | 1 | 2016-06-11T22:15:03.000Z | 2016-06-11T22:15:03.000Z | Userland/SampleCodeModule/shell.c | jcaracciolo/Arqui2016 | 180bbfd8cc657f2de72c5ec6a32912c0cadcf6c2 | [
"BSD-3-Clause"
] | null | null | null | Userland/SampleCodeModule/shell.c | jcaracciolo/Arqui2016 | 180bbfd8cc657f2de72c5ec6a32912c0cadcf6c2 | [
"BSD-3-Clause"
] | null | null | null | #include "include/shell.h"
#include "include/IPCstructs.h"
#include "types.h"
#include "include/stdio.h"
#include "include/strings.h"
#include "include/stdvid.h"
#include "include/stdtime.h"
#include "include/sw.h"
#include "include/gedit.h"
#include "include/paint.h"
#include "include/sync.h"
#include "include/philoso... | 25.89801 | 113 | 0.592642 |
f9694ac9c4d3aadd1bfa118684d4a5d4e6be2c1a | 533 | c | C | developments/boot/boot/src/script/system_script.c | kokabe2/surfes | 7c93fc08e74973cef53cf4a5859767201d457134 | [
"MIT"
] | null | null | null | developments/boot/boot/src/script/system_script.c | kokabe2/surfes | 7c93fc08e74973cef53cf4a5859767201d457134 | [
"MIT"
] | null | null | null | developments/boot/boot/src/script/system_script.c | kokabe2/surfes | 7c93fc08e74973cef53cf4a5859767201d457134 | [
"MIT"
] | null | null | null | // Copyright(c) 2019 Ken Okabe
// This software is released under the MIT License, see LICENSE.
#include "system_script.h"
#include <stddef.h>
static ISystemExecutorFactory its_factory = NULL;
void SystemScript_Create(ISystemExecutorFactory factory) {
its_factory = factory;
}
void SystemScript_Destro... | 25.380952 | 79 | 0.718574 |
80737b9149ae6d3dbfccbdbec13fbdf5106a59f8 | 1,720 | h | C | src/sys/events/windowevent.h | AlkimiaStudios/alkahest-engine | f8ad44a78362e45361f9fc2b1ab17048537eeb82 | [
"Beerware"
] | null | null | null | src/sys/events/windowevent.h | AlkimiaStudios/alkahest-engine | f8ad44a78362e45361f9fc2b1ab17048537eeb82 | [
"Beerware"
] | null | null | null | src/sys/events/windowevent.h | AlkimiaStudios/alkahest-engine | f8ad44a78362e45361f9fc2b1ab17048537eeb82 | [
"Beerware"
] | null | null | null | #pragma once
#include "../../macros.h"
#include "event.h"
// Much of the early systems developed for AlkahestEngine were developed following
// along with the Game Engine series from The Cherno (Yan Chernikov) as he built
// the Hazel game engine. A future refactor of these systems is planned to
// eventually re-work... | 37.391304 | 146 | 0.690698 |
57e7514c32bf8925d7c4902ac2564f12ab5eccb4 | 604 | h | C | cases/spherical_surfers/param/env/objects/surfer__us_1o0__surftimeconst_5o0__reorientationtime_2o5/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | cases/spherical_surfers/param/env/objects/surfer__us_1o0__surftimeconst_5o0__reorientationtime_2o5/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | cases/spherical_surfers/param/env/objects/surfer__us_1o0__surftimeconst_5o0__reorientationtime_2o5/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | #ifndef C0P_PARAM_OBJECTS_SURFER__US_1O0__SURFTIMECONST_5O0__REORIENTATIONTIME_2O5_CHOICE_H
#define C0P_PARAM_OBJECTS_SURFER__US_1O0__SURFTIMECONST_5O0__REORIENTATIONTIME_2O5_CHOICE_H
#pragma once
// THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS.
// THIS FILE WILL BE AUTOMATICALLY EDITED WHEN THE
// CHOOSE COMM... | 37.75 | 121 | 0.869205 |
b938e1952761571e78465c3ccdefd81164074ee3 | 165 | h | C | context_proxies/unix/ipc_impl_unix.h | getdnsapi/libnss_getdns | a7b082083a437846b0f6704004fb221619449164 | [
"BSD-3-Clause"
] | 3 | 2016-08-08T22:20:59.000Z | 2018-11-24T20:00:21.000Z | context_proxies/unix/ipc_impl_unix.h | getdnsapi/libnss_getdns | a7b082083a437846b0f6704004fb221619449164 | [
"BSD-3-Clause"
] | null | null | null | context_proxies/unix/ipc_impl_unix.h | getdnsapi/libnss_getdns | a7b082083a437846b0f6704004fb221619449164 | [
"BSD-3-Clause"
] | 3 | 2016-04-07T11:55:20.000Z | 2021-09-24T15:28:18.000Z | // Copyright Verisign, Inc and NLNetLabs. See LICENSE file for details
#include "../../context_interface.h"
void ipc_unix_listen();
void ipc_unix_start_daemon();
| 23.571429 | 71 | 0.757576 |
5f7ca494f066d6f437289ebccf5344ab78bee83b | 5,204 | h | C | MODBUS/registerlist.h | Fance/BacnetThermostat | a478d80c5ce1d15d24418f315e760aa7cfc8f31e | [
"MIT"
] | 14 | 2018-02-28T11:29:07.000Z | 2022-01-24T16:57:00.000Z | MODBUS/registerlist.h | Fance/BacnetThermostat | a478d80c5ce1d15d24418f315e760aa7cfc8f31e | [
"MIT"
] | 1 | 2019-10-02T04:10:55.000Z | 2019-10-02T04:10:55.000Z | MODBUS/registerlist.h | Fance/BacnetThermostat | a478d80c5ce1d15d24418f315e760aa7cfc8f31e | [
"MIT"
] | 9 | 2018-03-07T16:11:04.000Z | 2020-09-26T08:02:54.000Z | #ifndef __REGISTERLIST_H
#define __REGISTERLIST_H
//typedef enum
//{
// EEP_SERIALNUMBER_LOWORD = 0,
// EEP_SERIALNUMBER_HIWORD = EEP_SERIALNUMBER_LOWORD + 2,
// EEP_VERSION_NUMBER_LO = EEP_SERIALNUMBER_HIWORD + 2,
// EEP_VERSION_NUMBER_HI,
// EEP_ADDRESS,
// EEP_PRODUCT_MODEL,
// EEP_HARDWARE_REV,
// EEP_PIC_VER,
// ... | 24.317757 | 58 | 0.675442 |
e0e30389bfa6bc1aeed5e0e3791d9c07b09533d8 | 366 | h | C | HuaTRefresh/Classes/HuaTRefresh/UIImage+MHHome.h | XMiHu/HuaTRefresh | 2ab70e3733f0625421a5363e5084e6e5b0e4fd30 | [
"MIT"
] | null | null | null | HuaTRefresh/Classes/HuaTRefresh/UIImage+MHHome.h | XMiHu/HuaTRefresh | 2ab70e3733f0625421a5363e5084e6e5b0e4fd30 | [
"MIT"
] | null | null | null | HuaTRefresh/Classes/HuaTRefresh/UIImage+MHHome.h | XMiHu/HuaTRefresh | 2ab70e3733f0625421a5363e5084e6e5b0e4fd30 | [
"MIT"
] | null | null | null | //
// UIImage+MHHome.h
// HuaTRefresh
//
// Created by MiHu on 2018/4/27.
//
#import <UIKit/UIKit.h>
@interface UIImage (MHHome)
/**
获取图片的路径
@param imageName 图片的名字
@param bundle bundel
@param targetClass 调用的Class
@return 返回图片
*/
+ (instancetype)ff_imagePathWithName:(NSString *)imageName bundle:(NSString *... | 15.25 | 116 | 0.715847 |
043ffd86293db4b1ae5d257fa487634581d34f76 | 5,845 | c | C | osprey/common/util/c_q_sqrt.c | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/util/c_q_sqrt.c | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/util/c_q_sqrt.c | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 19.680135 | 74 | 0.574337 |
a41cfefea30ce71c802a9031ca1dfd7277883bee | 414 | h | C | cppLearningExercises/GeometricObject.h | QueeniePun/cppLearningExercises | 4c4181573d1b7de9f67acdea1b0fd6d2245b8806 | [
"MIT"
] | null | null | null | cppLearningExercises/GeometricObject.h | QueeniePun/cppLearningExercises | 4c4181573d1b7de9f67acdea1b0fd6d2245b8806 | [
"MIT"
] | null | null | null | cppLearningExercises/GeometricObject.h | QueeniePun/cppLearningExercises | 4c4181573d1b7de9f67acdea1b0fd6d2245b8806 | [
"MIT"
] | null | null | null | #ifndef GEOMETRICOBJECT_H
#define GEOMETRICOBJECT_H
#include <string>
using namespace std;
class GeometricObject
{
public:
GeometricObject();
GeometricObject(const string& color, bool filled);
string getColor() const;
void setColor(const string& color);
bool isFilled() const;
void setFilled(boo... | 19.714286 | 54 | 0.717391 |
f2df573987ce340fa32704078b6d63f12494df4b | 1,276 | c | C | G/03/12/task1.c | elsys/po-2015 | 28d352ab8d7d4eb55620b01f9176f8e3f6838744 | [
"MIT"
] | 27 | 2015-09-28T19:47:23.000Z | 2016-07-25T15:17:32.000Z | G/03/12/task1.c | elsys/po-2015 | 28d352ab8d7d4eb55620b01f9176f8e3f6838744 | [
"MIT"
] | 391 | 2015-09-28T05:57:05.000Z | 2016-06-09T16:43:53.000Z | G/03/12/task1.c | elsys/po-2015 | 28d352ab8d7d4eb55620b01f9176f8e3f6838744 | [
"MIT"
] | 351 | 2015-06-29T17:17:31.000Z | 2016-05-04T17:57:14.000Z | #include <stdio.h>
#include <string.h>
int main(){
char arr[12];
int egn[10];
int counter;
int month = 0;
int days = 0;
int helper;
scanf("%s", arr);
if(strlen(arr) != 10){
printf("0");
return 0;
}
counter = 0;
for(; counter < 10; counter++){
eg... | 22 | 145 | 0.398903 |
925dc1a9a204f092fdc8c6db42e3b8e3fff10747 | 3,027 | h | C | Assignment5/ArrayList.h | stephe00/DataStructs260 | 931fc728ba184c7f19548579ec8254e4ed507b3a | [
"CC0-1.0"
] | null | null | null | Assignment5/ArrayList.h | stephe00/DataStructs260 | 931fc728ba184c7f19548579ec8254e4ed507b3a | [
"CC0-1.0"
] | null | null | null | Assignment5/ArrayList.h | stephe00/DataStructs260 | 931fc728ba184c7f19548579ec8254e4ed507b3a | [
"CC0-1.0"
] | null | null | null | #include <cstdlib>
#include <iostream>
using std::cout;
using std::endl;
#define MAX 10
template <class T>
class ArrayList
{
private:
T myList[MAX];
int topIndex;
public:
ArrayList();
void addItem(T newValue);
void deleteItem(T deleteData);
... | 24.609756 | 83 | 0.484969 |
fac34e13c2c5fcf5874e640038f1e1fa1d9476f6 | 254 | c | C | kernel/kmain.c | tesla1889/osdev | 0f4c4867f5fc08e4ad35d56c1bb75597b9b0cbb1 | [
"MIT"
] | null | null | null | kernel/kmain.c | tesla1889/osdev | 0f4c4867f5fc08e4ad35d56c1bb75597b9b0cbb1 | [
"MIT"
] | null | null | null | kernel/kmain.c | tesla1889/osdev | 0f4c4867f5fc08e4ad35d56c1bb75597b9b0cbb1 | [
"MIT"
] | null | null | null | /*
kernel/kmain.c
Copyright (C) 2017 Nick Trebes
MIT License (MIT)
*/
#include <integer.h>
#include "vga.h"
extern uint32_t ksize __asm__("_ksize");
void kmain() {
ksize = ((ksize >> 12) + 1);
vga_init();
vga_puts("Success!\n");
for (;;) {}
} | 13.368421 | 40 | 0.614173 |
4d70c2945760d05e47d408bb7381aa88726663e2 | 1,192 | h | C | runtime-src/Classes/FFmpegVideoPlayer.h | shiniu0606/cocos_socket | 2c460a6b42a94c95d8413fe94d4a24afbbaf8788 | [
"MIT"
] | null | null | null | runtime-src/Classes/FFmpegVideoPlayer.h | shiniu0606/cocos_socket | 2c460a6b42a94c95d8413fe94d4a24afbbaf8788 | [
"MIT"
] | null | null | null | runtime-src/Classes/FFmpegVideoPlayer.h | shiniu0606/cocos_socket | 2c460a6b42a94c95d8413fe94d4a24afbbaf8788 | [
"MIT"
] | null | null | null | #ifndef __CFFMPEG_VIDEO_PLAYER_H__
#define __CFFMPEG_VIDEO_PLAYER_H__
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include <vector>
USING_NS_CC;
using namespace ui;
using namespace std;
class AVPicture;
class AVFormatContext;
class AVCodecContext;
class AVCodec;
class AVPacket;
class AVFrame;
clas... | 21.285714 | 101 | 0.744128 |
9e80c37c4bd1659097c81b66982b8caec422c85d | 24,833 | c | C | freebsd4/sys/contrib/dev/acpica/dswexec.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | freebsd4/sys/contrib/dev/acpica/dswexec.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | freebsd4/sys/contrib/dev/acpica/dswexec.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /******************************************************************************
*
* Module Name: dswexec - Dispatcher method execution callbacks;
* dispatch to interpreter.
* $Revision: 98 $
*
*****************************************************************************/
/****... | 31.796415 | 105 | 0.592679 |
cff9ef4a7ce8c80cf6044c6ef5dec856448e2ecb | 8,240 | h | C | blingfireclient.library/inc/FATokenSegmentationTools_1best_t.h | palerdot/BlingFire | 7e0fbc719042a4857c824b42d9cb5fbefe48aa3e | [
"MIT"
] | 1,251 | 2019-03-30T00:13:56.000Z | 2019-05-06T15:05:24.000Z | blingfireclient.library/inc/FATokenSegmentationTools_1best_t.h | palerdot/BlingFire | 7e0fbc719042a4857c824b42d9cb5fbefe48aa3e | [
"MIT"
] | 57 | 2019-05-14T03:13:38.000Z | 2022-03-29T14:49:04.000Z | blingfireclient.library/inc/FATokenSegmentationTools_1best_t.h | palerdot/BlingFire | 7e0fbc719042a4857c824b42d9cb5fbefe48aa3e | [
"MIT"
] | 62 | 2019-05-07T21:45:39.000Z | 2022-01-22T01:14:59.000Z | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef _FA_TOKENSEGMENTATIONTOOLS_1BEST_T_H_
#define _FA_TOKENSEGMENTATIONTOOLS_1BEST_T_H_
#include "FAConfig.h"
#include "FARSDfaCA.h"
#include "FAMealyDfaCA.h"
#include "FAArrayCA.h"
#include "FAMult... | 29.014085 | 97 | 0.581311 |
3212422047f6e9c47814af8e5d31fc2426f1365c | 4,744 | h | C | CustomCode/Modules/Manager/OKWalletManager.h | danielsocials/ios | 0347c5da6da9529e4f0d7b49b49f5aa409dc848a | [
"MIT"
] | null | null | null | CustomCode/Modules/Manager/OKWalletManager.h | danielsocials/ios | 0347c5da6da9529e4f0d7b49b49f5aa409dc848a | [
"MIT"
] | null | null | null | CustomCode/Modules/Manager/OKWalletManager.h | danielsocials/ios | 0347c5da6da9529e4f0d7b49b49f5aa409dc848a | [
"MIT"
] | null | null | null | //
// OKWalletManager.h
// OneKey
//
// Created by xiaoliang on 2020/11/3.
// Copyright © 2020 OneKey. All rights reserved..
//
#import <Foundation/Foundation.h>
#import "OKWalletInfoModel.h"
#define COIN_BTC @"BTC"
#define COIN_ETH @"ETH"
#define COIN_HECO @"HECO"
#define COIN_... | 32.054054 | 80 | 0.675169 |
322559acaae3e4d2fffaf0580f9e5d4534737847 | 9,799 | h | C | aws-cpp-sdk-neptune/include/aws/neptune/model/ValidStorageOptions.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-neptune/include/aws/neptune/model/ValidStorageOptions.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-neptune/include/aws/neptune/model/ValidStorageOptions.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/neptune/Neptune_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector... | 39.995918 | 181 | 0.691805 |
d609a94dfb2205e2cab6274070307ae25a56f879 | 8,590 | c | C | src/lib/fy-utils.c | mfederczuk/libfyaml | a32b65db2329d5332e22f5f70f6c411ccf0a177b | [
"MIT"
] | 1 | 2021-03-28T21:48:18.000Z | 2021-03-28T21:48:18.000Z | src/lib/fy-utils.c | rittelle/libfyaml | 12bb36689514b7f060d62beac1036595b0c7de94 | [
"MIT"
] | null | null | null | src/lib/fy-utils.c | rittelle/libfyaml | 12bb36689514b7f060d62beac1036595b0c7de94 | [
"MIT"
] | null | null | null | /*
* fy-utils.c - Generic utilities for functionality that's missing
* from platforms.
*
* For now only used to implement memstream for Apple platforms.
*
* Copyright (c) 2019 Pantelis Antoniou <pantelis.antoniou@konsulko.com>
*
* SPDX-License-Identifier: MIT
*/
#ifdef HAVE_CONFIG_H
#include "conf... | 21.80203 | 80 | 0.603725 |
324acfcf87b54981b93a5d209d1945d03ee5c191 | 671 | h | C | memscrimper_cpp_implementation/src/memdump.h | d-we/memscrimper | 7429583624a6e350a939bf3521c63561255c4878 | [
"BSD-2-Clause"
] | 25 | 2018-06-12T16:28:00.000Z | 2022-02-18T01:17:46.000Z | memscrimper_cpp_implementation/src/memdump.h | d-we/memscrimper | 7429583624a6e350a939bf3521c63561255c4878 | [
"BSD-2-Clause"
] | null | null | null | memscrimper_cpp_implementation/src/memdump.h | d-we/memscrimper | 7429583624a6e350a939bf3521c63561255c4878 | [
"BSD-2-Clause"
] | 8 | 2018-06-12T16:28:07.000Z | 2019-05-27T18:55:36.000Z | // Copyright [2019] <Daniel Weber>
#ifndef MEMDUMP_H_
#define MEMDUMP_H_
#include <mutex>
#include <set>
#include <string>
#include <unordered_map>
namespace mscr {
class memdump {
public:
explicit memdump(const std::string &name);
std::string getPath() const;
const std::unordered_map<std::string, std::set<u... | 21.645161 | 79 | 0.718331 |
328d4c818fdef6f8aac90738f25a1a8466cd31fb | 4,907 | h | C | compiled/types.h | xtompok/osmawalk | fc63a36deaffaaebfd5022235bd3c4cb134d3cb2 | [
"MIT"
] | 1 | 2017-02-22T10:10:01.000Z | 2017-02-22T10:10:01.000Z | compiled/types.h | xtompok/osmawalk | fc63a36deaffaaebfd5022235bd3c4cb134d3cb2 | [
"MIT"
] | null | null | null | compiled/types.h | xtompok/osmawalk | fc63a36deaffaaebfd5022235bd3c4cb134d3cb2 | [
"MIT"
] | null | null | null | #ifndef TYPES_H
#define TYPES_H
#include <ucw/lib.h>
#include <stdint.h>
#include "include/premap.pb-c.h"
#define SWEEP_TYPE int64_t
/*!
* @abstract Structures for preparing data
* @discussion This file contains almost all structures used when preparing data
*/
/*! @struct nodesIdxNode
* @field key Node id
* @... | 24.782828 | 80 | 0.732219 |
c586f9796d3666a49c6ccb97793805d00be7d51c | 3,641 | c | C | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/osal_files_unix.c | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 1,414 | 2015-06-28T09:57:51.000Z | 2021-10-14T03:51:10.000Z | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/osal_files_unix.c | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 2,369 | 2015-06-25T01:45:44.000Z | 2021-10-16T08:44:18.000Z | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/osal_files_unix.c | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 430 | 2015-06-29T04:28:58.000Z | 2021-10-05T18:24:17.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Mupen64plus-core - osal_files_unix.c *
* Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
* Copyright (C) 2009 Richard Goedeken *
* ... | 31.119658 | 101 | 0.504257 |
303c0d6189e9be0070b11bbe469ebe5f6b4a8858 | 336 | h | C | order.h | jakeh999/restaurant | f4ab87bc3318ddf0cf3d3e22c056564822c2b3c9 | [
"MIT"
] | null | null | null | order.h | jakeh999/restaurant | f4ab87bc3318ddf0cf3d3e22c056564822c2b3c9 | [
"MIT"
] | null | null | null | order.h | jakeh999/restaurant | f4ab87bc3318ddf0cf3d3e22c056564822c2b3c9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
class Order {
private:
string name;
double price;
public:
Order(string, double = 10);
string get_name() const;
double get_price() const;
//ostream& print(ostream&) const;
};
ostream& operator<<(ostr... | 17.684211 | 41 | 0.589286 |
30836420b0b706bca5fe2c26edd89f63f6e74cba | 545 | h | C | FarLight/src/FarLight/ResourceSystem/ResourceManager.h | NewBediver/FarLight | 1ffaf127f51bb88ea3f5eb8d05c04458532d5389 | [
"Apache-2.0"
] | null | null | null | FarLight/src/FarLight/ResourceSystem/ResourceManager.h | NewBediver/FarLight | 1ffaf127f51bb88ea3f5eb8d05c04458532d5389 | [
"Apache-2.0"
] | null | null | null | FarLight/src/FarLight/ResourceSystem/ResourceManager.h | NewBediver/FarLight | 1ffaf127f51bb88ea3f5eb8d05c04458532d5389 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "FarLight/Core/Core.h"
#include "FarLight/Abstraction/Singleton/Singleton.h"
#include "FarLight/ResourceSystem/Resources/ShaderLibrary.h"
namespace FarLight
{
class ResourceManager
: public Singleton<ResourceManager>
{
public:
explicit ResourceManager() noexcept
... | 21.8 | 85 | 0.691743 |
d68956bd0e2fc5488cd35a50f19ca45e54d7c318 | 1,251 | c | C | d/avatars/lurue/masq_key_53.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/avatars/lurue/masq_key_53.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | null | null | null | d/avatars/lurue/masq_key_53.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
inherit OBJECT;
void create(){
::create();
set_name("masq_key_53");
set_id(({ "key", "masq_key_53", "white key" }));
set_short("%^RESET%^%^BOLD%^%^WHITE%^Key to Room Number 53%^RESET%^");
set_obvious_short("%^RESET%^%^BOLD%^%^WHITE%^Key to Room Number 53%^RESET%^");
set_long(
@AVATAR
%^RESET%^%^... | 65.842105 | 896 | 0.695444 |
68178fd001dd28a9b0028034c708fb3076940aed | 12,304 | c | C | standalone/pruntime/rizin/librz/bin/format/elf/elf_symbols.c | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | standalone/pruntime/rizin/librz/bin/format/elf/elf_symbols.c | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | standalone/pruntime/rizin/librz/bin/format/elf/elf_symbols.c | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | // SPDX-FileCopyrightText: 2021 08A <08A@riseup.net>
// SPDX-FileCopyrightText: 2008-2020 nibble <nibble.ds@gmail.com>
// SPDX-FileCopyrightText: 2008-2020 pancake <pancake@nopcode.org>
// SPDX-FileCopyrightText: 2008-2020 alvaro_fe <alvaro.felipe91@gmail.com>
// SPDX-License-Identifier: LGPL-3.0-only
#include "elf.h"... | 26.8061 | 153 | 0.725699 |
a92855f6e22a0f1c734247a159aa5050a43297fb | 19,332 | h | C | boards/spracing/h7extreme/nuttx-config/include/board.h | qperrotElistair/Firmware | 60d613ea049bc04cf37487f0226e3e754cd20572 | [
"BSD-3-Clause"
] | 2 | 2021-02-01T02:13:25.000Z | 2021-04-04T00:25:00.000Z | boards/spracing/h7extreme/nuttx-config/include/board.h | qperrotElistair/Firmware | 60d613ea049bc04cf37487f0226e3e754cd20572 | [
"BSD-3-Clause"
] | 16 | 2020-12-26T13:03:01.000Z | 2021-01-17T09:58:43.000Z | boards/spracing/h7extreme/nuttx-config/include/board.h | qperrotElistair/Firmware | 60d613ea049bc04cf37487f0226e3e754cd20572 | [
"BSD-3-Clause"
] | 4 | 2020-12-08T07:09:15.000Z | 2021-05-12T05:14:23.000Z | /************************************************************************************
* nuttx-configs/spracing/h7extreme/include/board.h
*
* Copyright (C) 2016-2020 Gregory Nutt. All rights reserved.
* Authors: Igor Misic <igy1000mb@gmail.com>
*
* Redistribution and use in source and binary forms, with or wit... | 38.130178 | 135 | 0.6467 |
a9cca1182e36b81b1c60400417501c92f260f0cd | 24,027 | c | C | hw/sensor/src/sensor_oic.c | Nemo157/mynewt-core | 489b115361559814a68bf7beaf3e36f869817a38 | [
"Apache-2.0"
] | 16 | 2020-08-05T18:34:37.000Z | 2021-05-21T14:47:04.000Z | hw/sensor/src/sensor_oic.c | Nemo157/mynewt-core | 489b115361559814a68bf7beaf3e36f869817a38 | [
"Apache-2.0"
] | 2 | 2017-03-23T14:05:51.000Z | 2018-10-24T12:33:52.000Z | hw/sensor/src/sensor_oic.c | Nemo157/mynewt-core | 489b115361559814a68bf7beaf3e36f869817a38 | [
"Apache-2.0"
] | 9 | 2020-08-06T06:49:24.000Z | 2020-12-07T10:08:23.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 ... | 31.993342 | 85 | 0.555042 |
aa5adbb6eb5d48d3f573f83c227d45632f44a2c8 | 5,210 | c | C | linux-4.14.90-dev/linux-4.14.90/sound/usb/6fire/midi.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 34 | 2019-07-19T20:44:15.000Z | 2022-03-07T12:09:00.000Z | linux-4.14.90-dev/linux-4.14.90/sound/usb/6fire/midi.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 5 | 2020-04-04T09:24:09.000Z | 2020-04-19T12:33:55.000Z | linux-4.14.90-dev/linux-4.14.90/sound/usb/6fire/midi.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* Linux driver for TerraTec DMX 6Fire USB
*
* Rawmidi driver
*
* Author: Torsten Schenk <torsten.schenk@zoho.com>
* Created: Jan 01, 2011
* Copyright: (C) Torsten Schenk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | 23.789954 | 75 | 0.705374 |
a627cf5ce15af5fd984c9e108d0397a6085c1d5f | 2,892 | h | C | src/latools/ITSOL_2/INC/ios.h | xywei/Mirana | 81d0ed67fad20cd3be8880ed672c12feff3c22c9 | [
"MIT"
] | null | null | null | src/latools/ITSOL_2/INC/ios.h | xywei/Mirana | 81d0ed67fad20cd3be8880ed672c12feff3c22c9 | [
"MIT"
] | null | null | null | src/latools/ITSOL_2/INC/ios.h | xywei/Mirana | 81d0ed67fad20cd3be8880ed672c12feff3c22c9 | [
"MIT"
] | null | null | null | #define MAX_MAT 100
#define MAX_LINE 256
#define MaxNamLen 64
#define HB 1
#define MM0 2
#define MM1 3
#define UNK 4
typedef struct _io_t {
FILE *fout; /* output file handle */
char outfile[MAX_LINE]; /* output filename */
char Fname[MAX_LINE]... | 56.705882 | 76 | 0.434302 |
43f357e5589fb0ee85715569d32591acbbcea475 | 263 | h | C | Vibe/Plug-ins/MAXON CINEWARE AE/(CINEWARE Support)/lite/resource/modules/shader/description/xcloud.h | kaapiel/Vibe-Rendering-Template | d2aee7aab21dc32831e9e298576caac3db7bdef3 | [
"Apache-2.0"
] | 1 | 2022-02-06T06:24:04.000Z | 2022-02-06T06:24:04.000Z | Vibe/Plug-ins/MAXON CINEWARE AE/(CINEWARE Support)/lite/resource/modules/shader/description/xcloud.h | kaapiel/Vibe-Rendering-Template | d2aee7aab21dc32831e9e298576caac3db7bdef3 | [
"Apache-2.0"
] | null | null | null | Vibe/Plug-ins/MAXON CINEWARE AE/(CINEWARE Support)/lite/resource/modules/shader/description/xcloud.h | kaapiel/Vibe-Rendering-Template | d2aee7aab21dc32831e9e298576caac3db7bdef3 | [
"Apache-2.0"
] | null | null | null | #ifndef XCLOUD_H__
#define XCLOUD_H__
enum
{
CLOUDSHADER_SCALEX = 1002, // REAL
CLOUDSHADER_SCALEY = 1003, // REAL
CLOUDSHADER_LEVEL = 1004, // REAL
CLOUDSHADER_COLOR = 1005, // VECTOR
CLOUDSHADER_COMPATIBILITY = 1006
};
#endif // XCLOUD_H__
| 18.785714 | 40 | 0.69962 |
b745c464dbd4b1540269de50e78d4c97393d4997 | 1,252 | h | C | System/Library/PrivateFrameworks/DiagnosticExtensionsDaemon.framework/DEDWorkerProtocol.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/DiagnosticExtensionsDaemon.framework/DEDWorkerProtocol.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/DiagnosticExtensionsDaemon.framework/DEDWorkerProtocol.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:52 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Diagnos... | 44.714286 | 136 | 0.70607 |
2c41cbbd44a9c54f5f93ec9f65cd638c4d8f5177 | 202 | h | C | PYTHIA6/QPYTHIA/qpythiaLinkDef.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PYTHIA6/QPYTHIA/qpythiaLinkDef.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PYTHIA6/QPYTHIA/qpythiaLinkDef.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | #ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class AliQPythiaWrapper+;
//#pragma link C++ class AliPythiaRndm+;
#endif
| 20.2 | 42 | 0.747525 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.