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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2bffc051893e188f137d6475092d38cf3e029cc | 3,534 | h | C | A06 - Octree/Octree.h | ico3939/Simplex_17-18_Spring-master | 1aceb404754cdc2775a224b67b87871e970f197d | [
"MIT"
] | null | null | null | A06 - Octree/Octree.h | ico3939/Simplex_17-18_Spring-master | 1aceb404754cdc2775a224b67b87871e970f197d | [
"MIT"
] | null | null | null | A06 - Octree/Octree.h | ico3939/Simplex_17-18_Spring-master | 1aceb404754cdc2775a224b67b87871e970f197d | [
"MIT"
] | null | null | null | #ifndef __OCTREE_H_
#define __OCTREE_H_
#include "MyEntityManager.h"
namespace Simplex
{
class Octree {
// Variables used throughtout
// --------------------------
static uint m_uiNumOctant;
static uint m_uiNumLeaves;
static uint m_uiMaxLevel;
static uint m_EntityCount;
uint m_uiOctI... | 30.465517 | 115 | 0.693548 |
5ebbf8e85583a4fdce73b7c1d1f96957436d1ed3 | 4,536 | h | C | modfile/subrecords/srcontdatasubrecord.h | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 11 | 2015-07-19T08:33:00.000Z | 2021-07-28T17:40:26.000Z | modfile/subrecords/srcontdatasubrecord.h | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | null | null | null | modfile/subrecords/srcontdatasubrecord.h | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 1 | 2015-02-28T22:52:18.000Z | 2015-02-28T22:52:18.000Z | /*===========================================================================
*
* File: SrContdatasubrecord.H
* Author: Dave Humphrey (dave@uesp.net)
* Created On: 17 December 2011
*
* Description
*
*=========================================================================*/
#ifndef __SRCONTDATASUBRE... | 32.170213 | 163 | 0.430115 |
19772fea187669b1fa8a3fdd87bac444d4a36e8d | 116 | h | C | ClientProject/src/wav_reader.h | pqviet07/SocketAppplication | 736beab7bf711e97bd53591c0359634447feffe9 | [
"MIT"
] | null | null | null | ClientProject/src/wav_reader.h | pqviet07/SocketAppplication | 736beab7bf711e97bd53591c0359634447feffe9 | [
"MIT"
] | null | null | null | ClientProject/src/wav_reader.h | pqviet07/SocketAppplication | 736beab7bf711e97bd53591c0359634447feffe9 | [
"MIT"
] | null | null | null | #ifndef WAV_READER_H
#define WAV_READER_H
class WAV_Reader
{
public:
WAV_Reader();
};
#endif // WAV_READER_H
| 9.666667 | 22 | 0.724138 |
19c7eaefd384a7e8417ce7d481191f338311f730 | 3,614 | h | C | Plugins/SierraPlotTools/pqPlotter.h | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Plugins/SierraPlotTools/pqPlotter.h | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | null | null | null | Plugins/SierraPlotTools/pqPlotter.h | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z |
// -*- c++ -*-
/*=========================================================================
Program: Visualization Toolkit
Module: pqPlotter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | 28.015504 | 113 | 0.696735 |
d7a98d6ae35968ea236ad22770e2a30009d92d6d | 446 | h | C | hex/Classes/WelcomeScene.h | LMJW/cocohex | 366bc0c9f401881800da164db80c26919981c068 | [
"Apache-2.0"
] | null | null | null | hex/Classes/WelcomeScene.h | LMJW/cocohex | 366bc0c9f401881800da164db80c26919981c068 | [
"Apache-2.0"
] | 1 | 2019-03-16T01:38:38.000Z | 2019-03-16T01:38:38.000Z | hex/Classes/WelcomeScene.h | LMJW/cocohex | 366bc0c9f401881800da164db80c26919981c068 | [
"Apache-2.0"
] | null | null | null | #ifndef _WELCOME_SCENE_H_
#define _WELCOME_SCENE_H_
#include "cocos2d.h"
class WelcomeScene : public cocos2d::Layer {
public:
static cocos2d::Scene* createScene();
virtual bool init();
CREATE_FUNC(WelcomeScene);
/// Define callbacks for different menuitems
void menuItemExitCallback();
void ... | 20.272727 | 48 | 0.733184 |
4a3390bfbbc20953c4a702925b7efc606f964064 | 1,181 | h | C | OCLex/oclex/src/OCLexGenerator.h | w3woody/OCTools | 0d0f64ae77229435c4b8451a825cffb9ba77112a | [
"Unlicense"
] | 16 | 2018-08-27T03:17:15.000Z | 2021-11-04T06:16:43.000Z | OCLex/oclex/src/OCLexGenerator.h | w3woody/OCTools | 0d0f64ae77229435c4b8451a825cffb9ba77112a | [
"Unlicense"
] | null | null | null | OCLex/oclex/src/OCLexGenerator.h | w3woody/OCTools | 0d0f64ae77229435c4b8451a825cffb9ba77112a | [
"Unlicense"
] | 2 | 2019-11-28T15:17:36.000Z | 2021-08-30T17:52:37.000Z | //
// OCLexGenerator.h
// oclex
//
// Created by William Woody on 7/30/17.
// Copyright © 2017 Glenview Software. All rights reserved.
//
#ifndef OCLexGenerator_h
#define OCLexGenerator_h
#include <stdio.h>
#include "OCLexDFA.h"
/************************************************************************/
/* ... | 21.87037 | 77 | 0.569856 |
7d6ce744d9e14fbb746ec029c90d56153760d89f | 11,950 | h | C | projects/RTED/CppRuntimeSystem/PointerManager.h | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | projects/RTED/CppRuntimeSystem/PointerManager.h | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | projects/RTED/CppRuntimeSystem/PointerManager.h | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | #ifndef POINTERMANAGER_H_
#define POINTERMANAGER_H_
#include <map>
#include <set>
#include <vector>
#include <list>
#include <iosfwd>
#include "Util.h"
#include "TypeSystem.h"
#include "ptrops.h"
#include "ptrops_operators.h"
#include "rted_typedefs.h"
class VariablesType;
class MemoryType;
/**
* Stores infos for... | 40.508475 | 130 | 0.642176 |
621abbbd3c03d198c60243ab289ea5963ee5e183 | 3,126 | c | C | apps/prime.c | vigortls/vigortls | 96d5ef366291a7a5976bda43025b054021dbf1bf | [
"OpenSSL",
"0BSD"
] | 3 | 2017-02-21T06:57:01.000Z | 2018-11-21T09:57:43.000Z | apps/prime.c | vigortls/vigortls | 96d5ef366291a7a5976bda43025b054021dbf1bf | [
"OpenSSL",
"0BSD"
] | null | null | null | apps/prime.c | vigortls/vigortls | 96d5ef366291a7a5976bda43025b054021dbf1bf | [
"OpenSSL",
"0BSD"
] | 1 | 2018-05-22T02:28:43.000Z | 2018-05-22T02:28:43.000Z | /*
* Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | 26.491525 | 79 | 0.495521 |
4abab3b10c5f94537acf0ae511db5173cce06264 | 1,981 | h | C | SCTK/src/asclite/core/properties.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 113 | 2018-11-20T06:00:39.000Z | 2022-03-29T06:01:55.000Z | SCTK/src/asclite/core/properties.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 28 | 2017-09-11T16:20:26.000Z | 2022-02-13T14:16:33.000Z | SCTK/src/asclite/core/properties.h | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | /*
* ASCLITE
* Author: Jerome Ajot, Jon Fiscus, Nicolas Radde, Chris Laprun
*
* This software was developed at the National Institute of Standards and Technology by
* employees of the Federal Government in the course of their official duties. Pursuant
* to title 17 Section 105 of the United States Code this soft... | 34.155172 | 90 | 0.695103 |
433f353f29f926afd52f798df8fc07f1c655b700 | 3,389 | h | C | mst/mscope_guard.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | 1 | 2021-01-27T06:34:01.000Z | 2021-01-27T06:34:01.000Z | mst/mscope_guard.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | 46 | 2020-11-05T23:41:37.000Z | 2021-11-12T12:22:11.000Z | mst/mscope_guard.h | MartijnTerpstra/mst | c2cc5daa787b668ddb6b0740cda96277c98a777c | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////////////
// //
// MST Utility Library //
// Copyright (c)2021 Martinus ... | 37.241758 | 100 | 0.474476 |
9e599b4f77602008fa6734815804bae4e65b5bd5 | 5,046 | c | C | src/menu.c | civts/emb2020 | 54d3f38782004ef9ee431e5b16410ff007b3f164 | [
"MIT"
] | null | null | null | src/menu.c | civts/emb2020 | 54d3f38782004ef9ee431e5b16410ff007b3f164 | [
"MIT"
] | null | null | null | src/menu.c | civts/emb2020 | 54d3f38782004ef9ee431e5b16410ff007b3f164 | [
"MIT"
] | null | null | null | #include "gameState.h"
#include "menu.h"
#include <stdio.h>
#include "hw_dependent/display.h"
#include "hw_dependent/joystick.h"
#include "hw_dependent/light_sensor.h"
//Vertical offset for the options
const int optionsOffset = 60;
const char *const options[] = {"Game 1", "Snake"};
const int optionsLength = 2;
void ... | 23.690141 | 86 | 0.581649 |
9ebc33211e9204ad14448c8130c478e42bfa7f5f | 7,706 | c | C | libraries/freertos_plus/standard/freertos_plus_posix/source/FreeRTOS_POSIX_clock.c | LibreWireless/amazon-freertos-uno | 2ddb5c0ac906e4ab5340062641776f44e0f1d67d | [
"MIT"
] | 1 | 2020-05-09T03:38:29.000Z | 2020-05-09T03:38:29.000Z | libraries/freertos_plus/standard/freertos_plus_posix/source/FreeRTOS_POSIX_clock.c | LibreWireless/amazon-freertos-uno | 2ddb5c0ac906e4ab5340062641776f44e0f1d67d | [
"MIT"
] | null | null | null | libraries/freertos_plus/standard/freertos_plus_posix/source/FreeRTOS_POSIX_clock.c | LibreWireless/amazon-freertos-uno | 2ddb5c0ac906e4ab5340062641776f44e0f1d67d | [
"MIT"
] | null | null | null | /*
* FreeRTOS POSIX V1.1.3
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, in... | 31.975104 | 118 | 0.548274 |
9ae87c6c166d2562a53ac4e2aa2de4ec26a47ba8 | 341 | h | C | core/src/chr/cross/Context.h | arielm/chronotext-cross | e3fafbd4b688797c3dfa39b1d7b2cfecb90c2297 | [
"MIT"
] | 23 | 2015-07-18T14:07:08.000Z | 2022-01-03T10:31:56.000Z | core/src/chr/cross/Context.h | arielm/chronotext-cross | e3fafbd4b688797c3dfa39b1d7b2cfecb90c2297 | [
"MIT"
] | null | null | null | core/src/chr/cross/Context.h | arielm/chronotext-cross | e3fafbd4b688797c3dfa39b1d7b2cfecb90c2297 | [
"MIT"
] | 6 | 2015-09-17T17:56:47.000Z | 2018-10-31T13:54:13.000Z | #pragma once
#include "chr/cross/CrossDelegate.h"
#include "chr/system/SystemManager.h"
namespace chr
{
CrossSketch* createSketch();
// ---
extern CrossDelegate& delegate();
extern SystemManager& systemManager();
template <class T>
inline T& checkedReference(T *instance)
{
assert(instance);
ret... | 15.5 | 41 | 0.695015 |
b13f8488ac8540df3764e0882f3d3944b8294cd5 | 1,043 | h | C | arch/x86/include/asm/page_32.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | arch/x86/include/asm/page_32.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | arch/x86/include/asm/page_32.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_PAGE_32_H
#define _ASM_X86_PAGE_32_H
#include <asm/page_32_types.h>
#ifndef __ASSEMBLY__
#define __phys_addr_nodebug(x) ((x) - PAGE_OFFSET)
#ifdef CONFIG_DEBUG_VIRTUAL
extern unsigned long __phys_addr(unsigned long);
#else
#define __phys_addr(x) __phys_addr_no... | 20.86 | 50 | 0.746884 |
7f4228d72bc314c6c450f2f5bde72c159d5da022 | 2,644 | h | C | src/media/playback/mediaplayer/graph/nodes/input.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | src/media/playback/mediaplayer/graph/nodes/input.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | src/media/playback/mediaplayer/graph/nodes/input.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_MEDIA_PLAYBACK_MEDIAPLAYER_GRAPH_NODES_INPUT_H_
#define SRC_MEDIA_PLAYBACK_MEDIAPLAYER_GRAPH_NODES_INPUT_H_
#include <atomic>
#include "src/m... | 28.430108 | 79 | 0.740923 |
2c5fe9b7b80a9b454c3d06dc6f34d9500492b32b | 18,647 | c | C | Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/PeiDxeSmmScSmbusCommonLib/ScSmbusExec.c | bcran/edk2-platforms | 7c914946bd014dc1f3cf0a0ef189e7c2d33d382f | [
"BSD-2-Clause"
] | null | null | null | Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/PeiDxeSmmScSmbusCommonLib/ScSmbusExec.c | bcran/edk2-platforms | 7c914946bd014dc1f3cf0a0ef189e7c2d33d382f | [
"BSD-2-Clause"
] | null | null | null | Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Library/Private/PeiDxeSmmScSmbusCommonLib/ScSmbusExec.c | bcran/edk2-platforms | 7c914946bd014dc1f3cf0a0ef189e7c2d33d382f | [
"BSD-2-Clause"
] | null | null | null | /** @file
Apollo Lake South Cluster Smbus Executive Code (common PEI/DXE/SMM code).
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies th... | 28.555896 | 107 | 0.568563 |
82dd7669068ef0e9bcc1d61bd678d535625e7359 | 199 | h | C | CarDetection/src/libs/TimeUtils.h | carlosmccosta/Car-Detection | 2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2 | [
"MIT"
] | 41 | 2015-03-22T08:57:08.000Z | 2020-09-12T21:07:39.000Z | CarDetection/src/libs/TimeUtils.h | Ewenwan/Car-Detection | 2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2 | [
"MIT"
] | 1 | 2016-07-21T07:07:25.000Z | 2016-07-21T08:49:40.000Z | CarDetection/src/libs/TimeUtils.h | carlosmccosta/Car-Detection | 2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2 | [
"MIT"
] | 32 | 2015-03-23T06:14:37.000Z | 2021-01-23T00:00:12.000Z | #pragma once
#include <string>
#include <sstream>
#include <cmath>
using std::string;
using std::stringstream;
class TimeUtils {
public:
static string formatSecondsToDate(double seconds);
};
| 12.4375 | 52 | 0.738693 |
32452f6fb4b046a7ad5cefa81c47ed00d14bb3ac | 266 | h | C | Example/BasicTools/PCAppDelegate.h | pcyan3166/BasicTools | 626a63e376165686ffc4cd24056481e824385896 | [
"MIT"
] | 1 | 2020-08-11T07:41:59.000Z | 2020-08-11T07:41:59.000Z | Example/BasicTools/PCAppDelegate.h | pcyan3166/BasicTools | 626a63e376165686ffc4cd24056481e824385896 | [
"MIT"
] | null | null | null | Example/BasicTools/PCAppDelegate.h | pcyan3166/BasicTools | 626a63e376165686ffc4cd24056481e824385896 | [
"MIT"
] | 1 | 2020-08-17T06:22:53.000Z | 2020-08-17T06:22:53.000Z | //
// PCAppDelegate.h
// BasicTools
//
// Created by pcyan on 08/03/2020.
// Copyright (c) 2020 pcyan. All rights reserved.
//
@import UIKit;
@interface PCAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.625 | 62 | 0.710526 |
c5920fc6744a9961bd1db86b2cbe02a987894a34 | 3,807 | c | C | gempak/source/gemlib/cfl/cflperms.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 42 | 2015-06-03T15:26:21.000Z | 2022-02-28T22:36:03.000Z | gempak/source/gemlib/cfl/cflperms.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 60 | 2015-05-11T21:36:08.000Z | 2022-03-29T16:22:42.000Z | gempak/source/gemlib/cfl/cflperms.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 27 | 2016-06-06T21:55:14.000Z | 2022-03-18T18:23:28.000Z | #include "geminc.h"
#include "gemprm.h"
void cfl_perms ( char *file, Boolean *can_read, Boolean *can_write, int *iret )
/************************************************************************
* cfl_perms *
* ... | 40.073684 | 79 | 0.405043 |
a90ddfcfd6272351789761db7ed6c63c582133db | 5,701 | h | C | vtkm/worklet/connectivities/ImageConnectivity.h | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | 14 | 2019-10-25T03:25:47.000Z | 2022-01-19T02:14:53.000Z | vtkm/worklet/connectivities/ImageConnectivity.h | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | null | null | null | vtkm/worklet/connectivities/ImageConnectivity.h | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | 3 | 2019-08-20T10:49:49.000Z | 2021-12-22T17:39:15.000Z | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | 35.63125 | 99 | 0.65392 |
a93312c816c28bc7ae788693056aa8bcd13c1204 | 3,305 | h | C | contrib/libs/linux-headers/asm/signal_powerpc.h | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | contrib/libs/linux-headers/asm/signal_powerpc.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | contrib/libs/linux-headers/asm/signal_powerpc.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_POWERPC_SIGNAL_H
#define _ASM_POWERPC_SIGNAL_H
#include <linux/types.h>
#define _NSIG 64
#ifdef __powerpc64__
#define _NSIG_BPW 64
#else
#define _NSIG_BPW 32
#endif
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
typedef unsigned long old_sigset_t;... | 24.124088 | 78 | 0.768533 |
04bafdb0059b18df99178082c97844ae51ff27df | 317 | h | C | FileSystemSimulation/block.h | Acytoo/OS_fs | 32458ea0cd5bcaa75c7c943f4dc8352e4c0cf26c | [
"MIT"
] | 1 | 2018-07-10T11:47:28.000Z | 2018-07-10T11:47:28.000Z | FileSystemSimulation/block.h | Acytoo/File_system_simulation | 32458ea0cd5bcaa75c7c943f4dc8352e4c0cf26c | [
"MIT"
] | null | null | null | FileSystemSimulation/block.h | Acytoo/File_system_simulation | 32458ea0cd5bcaa75c7c943f4dc8352e4c0cf26c | [
"MIT"
] | null | null | null | #ifndef BLOCK_H
#define BLOCK_H
#include <iostream>
int free_blk(int);//释放相应的磁盘块
int get_blk(void);//获取磁盘块
//void show_disk_usage();
//void show_inode_usage();
std::string get_disk_info(); //显示磁盘使用情况
std::string get_inode_info(); //显示inode节点使用情况
int get_disk_percentage();
int get_inode_percentage();
#endif
| 18.647059 | 47 | 0.747634 |
aa98a87f434466648fe9569e6fb6cc95f4b5261f | 6,693 | h | C | aws-cpp-sdk-shield/include/aws/shield/model/ListProtectionsResult.h | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2020-07-16T19:03:13.000Z | 2020-07-16T19:03:13.000Z | aws-cpp-sdk-shield/include/aws/shield/model/ListProtectionsResult.h | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 18 | 2018-05-15T16:41:07.000Z | 2018-05-21T00:46:30.000Z | aws-cpp-sdk-shield/include/aws/shield/model/ListProtectionsResult.h | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2019-10-31T11:19:50.000Z | 2019-10-31T11:19:50.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 41.06135 | 133 | 0.709697 |
43f707a0d52ecf79e679db8b6066f4fa6c217d13 | 9,753 | h | C | VST2_SDK/base/source/fmemory.h | jatinchowdhury18/JUCE | 732fc829501461066f4f53da0ff0e64b3b67c52f | [
"ISC"
] | null | null | null | VST2_SDK/base/source/fmemory.h | jatinchowdhury18/JUCE | 732fc829501461066f4f53da0ff0e64b3b67c52f | [
"ISC"
] | null | null | null | VST2_SDK/base/source/fmemory.h | jatinchowdhury18/JUCE | 732fc829501461066f4f53da0ff0e64b3b67c52f | [
"ISC"
] | null | null | null | //------------------------------------------------------------------------
// Project : SDK Base
// Version : 1.0
//
// Category : Helpers
// Filename : base/source/fmemory.h
// Created by : Steinberg, 1998
// Description : memory allocation helper functions and classes
//
//-----------------------------... | 41.151899 | 168 | 0.620835 |
c88867187ec5d5744f36ba990d4bad789acfb01f | 2,735 | h | C | engines/ep/src/config_static.h | jimwwalker/kv_engine | a9d39e3125210525b686ff3acec232f63d70db56 | [
"BSD-3-Clause"
] | 24 | 2015-03-17T02:41:27.000Z | 2022-03-19T20:28:08.000Z | engines/ep/src/config_static.h | jimwwalker/kv_engine | a9d39e3125210525b686ff3acec232f63d70db56 | [
"BSD-3-Clause"
] | 2 | 2016-06-14T23:17:06.000Z | 2016-07-25T11:55:13.000Z | engines/ep/src/config_static.h | jimwwalker/kv_engine | a9d39e3125210525b686ff3acec232f63d70db56 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T09:36:16.000Z | 2017-03-22T20:06:56.000Z | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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
*
* htt... | 21.706349 | 77 | 0.740402 |
aebba92d87c0cbb0565d1a30b79b8c86dfb57b2f | 7,732 | c | C | src/libretro-common/file/nbio/nbio_orbis.c | ToadKing/mame2003-plus-libretro | c86f3b3e446cee9f951c15320d9b2d14875601e2 | [
"RSA-MD"
] | 2 | 2020-02-03T04:16:51.000Z | 2020-02-05T19:00:38.000Z | src/libretro-common/file/nbio/nbio_orbis.c | ToadKing/mame2003-plus-libretro | c86f3b3e446cee9f951c15320d9b2d14875601e2 | [
"RSA-MD"
] | null | null | null | src/libretro-common/file/nbio/nbio_orbis.c | ToadKing/mame2003-plus-libretro | c86f3b3e446cee9f951c15320d9b2d14875601e2 | [
"RSA-MD"
] | 1 | 2020-08-04T04:19:50.000Z | 2020-08-04T04:19:50.000Z | /* Copyright (C) 2010-2018 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (nbio_orbis.c).
* ---------------------------------------------------------------------------------------
*
* Permi... | 27.41844 | 194 | 0.605406 |
eab12c7d359c865767f22436fef6310d1fad3dbc | 909 | c | C | Source/backtrace.c | cianciosa/RAYS | 0a15af58174d7483f42e9479973e1c598bacc18c | [
"MIT"
] | null | null | null | Source/backtrace.c | cianciosa/RAYS | 0a15af58174d7483f42e9479973e1c598bacc18c | [
"MIT"
] | null | null | null | Source/backtrace.c | cianciosa/RAYS | 0a15af58174d7483f42e9479973e1c598bacc18c | [
"MIT"
] | null | null | null | //******************************************************************************
/// @file backtrace.c
/// @brief Functions to fast copy files.
///
/// Routines to print out stack traces.
//******************************************************************************
#include <execinfo.h>
#include <stdio.h>
#inclu... | 31.344828 | 80 | 0.39604 |
fccb09f3dffc3a1ed8c08f6086c61b0f54e9ae82 | 3,198 | h | C | glide/3dfx.h | metarutaiga/xxGraphic | b0d4d5e26b7751db867bddf78f6d4563598b778f | [
"MIT"
] | 11 | 2019-10-16T18:54:39.000Z | 2021-10-04T20:04:52.000Z | glide/3dfx.h | metarutaiga/xxGraphic | b0d4d5e26b7751db867bddf78f6d4563598b778f | [
"MIT"
] | null | null | null | glide/3dfx.h | metarutaiga/xxGraphic | b0d4d5e26b7751db867bddf78f6d4563598b778f | [
"MIT"
] | null | null | null | /*
** Copyright (c) 1995, 3Dfx Interactive, Inc.
** All Rights Reserved.
**
** This is UNPUBLISHED PROPRIETARY SOURCE CODE of 3Dfx Interactive, Inc.;
** the contents of this file may not be disclosed to third parties, copied or
** duplicated in any form, in whole or in part, without the prior written
** permissi... | 25.584 | 79 | 0.642276 |
0052383be6d42fe871b8be57b1e957152acec4a9 | 2,154 | h | C | include/tulips/system/Utils.h | IBM/tulips | 040f79f9a54bb7da85bdb87daefb9e9b2cdeade2 | [
"BSD-2-Clause"
] | 5 | 2020-09-22T06:02:48.000Z | 2021-11-17T09:26:30.000Z | include/tulips/system/Utils.h | xguerin/tulips | 040f79f9a54bb7da85bdb87daefb9e9b2cdeade2 | [
"BSD-2-Clause"
] | null | null | null | include/tulips/system/Utils.h | xguerin/tulips | 040f79f9a54bb7da85bdb87daefb9e9b2cdeade2 | [
"BSD-2-Clause"
] | 4 | 2021-03-22T09:00:24.000Z | 2021-06-28T09:13:44.000Z | /*
* Copyright (c) 2020, International Business Machines
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* thi... | 35.9 | 80 | 0.712628 |
9b8783406bbb30d5c93561c3257391735cf1fd76 | 124 | h | C | libraries/libwidget/Widgets.h | moneytech/skift | fce119cb9364bdc95beaa61bace24df23956ef0c | [
"MIT"
] | null | null | null | libraries/libwidget/Widgets.h | moneytech/skift | fce119cb9364bdc95beaa61bace24df23956ef0c | [
"MIT"
] | null | null | null | libraries/libwidget/Widgets.h | moneytech/skift | fce119cb9364bdc95beaa61bace24df23956ef0c | [
"MIT"
] | null | null | null | #pragma once
#include <libwidget/core/Window.h>
#include <libwidget/widgets/Button.h>
#include <libwidget/widgets/Panel.h>
| 20.666667 | 37 | 0.774194 |
763ef846094868b5171278c826c4ea469daa2d25 | 1,058 | h | C | iOSOpenDev/frameworks/OfficeImport.framework/Headers/OAVStroke.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/OfficeImport.framework/Headers/OAVStroke.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/OfficeImport.framework/Headers/OAVStroke.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
#import <OfficeImport/OAVStroke.h>
#import <OfficeImport/XXUnknownSuperclass.h>
__attribute__((visibility("hidden")))
@interface OAVStroke : XXUnknownSuperclass {
}
+ (id)read... | 35.266667 | 88 | 0.750473 |
63a51eb2be6056a7db2469df0f152639bcb09174 | 1,788 | c | C | DAY07/02-EvaluationSetA.c | Razdeep/Operating-System-Lab | e089f1a0c00c18fc14e60a09295abefa2b08bfd3 | [
"MIT"
] | 4 | 2019-02-12T15:10:03.000Z | 2019-02-23T15:59:09.000Z | DAY07/02-EvaluationSetA.c | Razdeep/Operating-System-Lab | e089f1a0c00c18fc14e60a09295abefa2b08bfd3 | [
"MIT"
] | null | null | null | DAY07/02-EvaluationSetA.c | Razdeep/Operating-System-Lab | e089f1a0c00c18fc14e60a09295abefa2b08bfd3 | [
"MIT"
] | null | null | null | /**
* ------------------
* SET A Question 2
* ------------------
* Create a scenario where there are three threads -
* One is writing the value of the shared variable
* and the other two are reading the value of the shared
* variable. Whne thread is writinh, no thrad is allowed to
* read and there can be concu... | 24.833333 | 70 | 0.708613 |
49b6f0ae61df89e696998cd283c5f90adb711f2e | 3,437 | c | C | a8/a8_p10/a8_p10.c | henrisota/Programming-in-C-and-Cpp | ff09d8b698bf4ed8084a7d24808a642defc4b729 | [
"MIT"
] | null | null | null | a8/a8_p10/a8_p10.c | henrisota/Programming-in-C-and-Cpp | ff09d8b698bf4ed8084a7d24808a642defc4b729 | [
"MIT"
] | null | null | null | a8/a8_p10/a8_p10.c | henrisota/Programming-in-C-and-Cpp | ff09d8b698bf4ed8084a7d24808a642defc4b729 | [
"MIT"
] | 1 | 2021-01-21T19:54:12.000Z | 2021-01-21T19:54:12.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main () {
FILE *file;
char fileName[64], line[64];
char *tempUsername, *tempPassword, *username, *password;
char *usernames[100];
int i = 0, usernameCount = 0, position = 0, endPositions[100];
scanf("%s", fileName);
getchar();
... | 34.029703 | 76 | 0.530986 |
a0b52c72c4a2e274df5a158de003dde0438ab1ec | 381 | h | C | srcAmiga/modeler/arexx.h | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2016-04-03T23:57:54.000Z | 2019-12-05T17:50:37.000Z | srcAmiga/modeler/arexx.h | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | null | null | null | srcAmiga/modeler/arexx.h | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2015-06-20T19:22:47.000Z | 2021-11-15T15:22:14.000Z | /***************
* PROGRAM: Modeler
* NAME: arexx.h
* DESCRIPTION: definitions for arexx command class
* AUTHORS: Andreas Heumann
* HISTORY:
* DATE NAME COMMENT
* 16.01.97 ah initial release
***************/
#ifndef AREXX_H
#define AREXX_H
#ifndef MUIDEFS_H
#include "muide... | 18.142857 | 53 | 0.60105 |
6f5309f4c89f1b898be182cd076709b1daa71f64 | 165 | c | C | contracts/musl/upstream/src/multibyte/mbstowcs.c | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | contracts/musl/upstream/src/multibyte/mbstowcs.c | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | contracts/musl/upstream/src/multibyte/mbstowcs.c | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | 1 | 2019-09-27T10:22:23.000Z | 2019-09-27T10:22:23.000Z | #include <stdlib.h>
#include <wchar.h>
size_t mbstowcs(wchar_t *restrict ws, const char *restrict s, size_t wn)
{
return mbsrtowcs(ws, (void*)&s, wn, 0);
}
| 20.625 | 73 | 0.660606 |
c0c9959ceea2aed06c0aaa2fe367d0a237ba0729 | 2,244 | c | C | src/table.c | raitosyo/rteipc | a5c99219b5e11a486b449bc1ea07015e3541b62c | [
"MIT"
] | 3 | 2020-07-25T04:51:17.000Z | 2022-03-22T09:09:36.000Z | src/table.c | raitosyo/rteipc | a5c99219b5e11a486b449bc1ea07015e3541b62c | [
"MIT"
] | null | null | null | src/table.c | raitosyo/rteipc | a5c99219b5e11a486b449bc1ea07015e3541b62c | [
"MIT"
] | 1 | 2020-04-07T06:12:29.000Z | 2020-04-07T06:12:29.000Z | // Copyright (c) 2018 Ryosuke Saito All rights reserved.
// MIT licensed
#include <stdlib.h>
#include <string.h>
#include "table.h"
static inline void __set_desc_id(ev_uint64_t *desc, int id)
{
int index = id / DESC_BIT_WIDTH;
ev_uint64_t *bits = &desc[index];
*bits |= (1ull << (id % DESC_BIT_WIDTH));
}
static i... | 17.952 | 61 | 0.643048 |
ae12567644d34c7753a34f4fb1307430b4f5e362 | 1,604 | h | C | src/wxTTM/Database/RkStore.h | ttm-tt/wxTTM | f9c75f05a564a0d82034412c1eb4c94d943e267f | [
"MIT"
] | null | null | null | src/wxTTM/Database/RkStore.h | ttm-tt/wxTTM | f9c75f05a564a0d82034412c1eb4c94d943e267f | [
"MIT"
] | null | null | null | src/wxTTM/Database/RkStore.h | ttm-tt/wxTTM | f9c75f05a564a0d82034412c1eb4c94d943e267f | [
"MIT"
] | null | null | null | /* Copyright (C) 2020 Christoph Theis */
// Ranking eines Teams
#ifndef RKSTORE_H
#define RKSTORE_H
#include "StoreObj.h"
struct TmRec;
struct NaRec;
struct CpRec;
struct NaListRec;
struct CpListRec;
struct RkRec
{
long tmID; // Foreign Key TmRec
long naID; // Foreign Key NaRec
s... | 25.0625 | 91 | 0.657107 |
acc4de29c114e40b8c3db03df8a9482072479c8c | 4,976 | h | C | MFBPHTTP/src/Net/KLCSHttpClient.h | Walker2020/MFBPHTTP | 74b345d7d6207abc634f7bd65d523fb12f6636c6 | [
"MIT"
] | 1 | 2020-06-28T02:40:07.000Z | 2020-06-28T02:40:07.000Z | MFBPHTTP/src/Net/KLCSHttpClient.h | Walker2020/MFBP | 74b345d7d6207abc634f7bd65d523fb12f6636c6 | [
"MIT"
] | null | null | null | MFBPHTTP/src/Net/KLCSHttpClient.h | Walker2020/MFBP | 74b345d7d6207abc634f7bd65d523fb12f6636c6 | [
"MIT"
] | null | null | null | //
// KLCSHttpClient.h
// AFNetworking
//
// Created by DengJinHui on 2019/11/14.
//
#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "KLCSJSONObject.h"
#import "KLCSJSONArray.h"
typedef void(^KLCSHttpSessionTaskFailure)(NSString *_Nonnull resultCode, NSString *_Nonnull resultMessage, NSError *_... | 41.815126 | 132 | 0.725884 |
3a7eff6e8f5ca61cc5350c5fb4c6509420181f9e | 9,406 | h | C | include/YIMService.h | islandCw/IMSDK_iOS | 1e0a28c8d4885683ed4272c04fffa592913ef971 | [
"MIT"
] | null | null | null | include/YIMService.h | islandCw/IMSDK_iOS | 1e0a28c8d4885683ed4272c04fffa592913ef971 | [
"MIT"
] | null | null | null | include/YIMService.h | islandCw/IMSDK_iOS | 1e0a28c8d4885683ed4272c04fffa592913ef971 | [
"MIT"
] | null | null | null | //
// YIMService.m
// YoumeIMUILib
//
// Created by 余俊澎 on 16/8/11.
// Copyright © 2016年 余俊澎. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "YIMCallbackProtocol.h"
#define YOUME_IM_NEW_MESSSAGE_NOTIFI @"im.youme.YOUME_IM_NEW_MESSSAGE_NOTIFI"
#define YOUME_IM_AVATAR_CLIC... | 35.764259 | 220 | 0.776738 |
1d5cf56099ef3dd907341b94808633d281f0e959 | 69,576 | c | C | legacy/src/ext_mpi_alltoall.c | rayastoyanova/ext_mpi_collectives | 9f9e48cf40238d3e91af6471c32f620630365b7d | [
"BSD-3-Clause"
] | 9 | 2018-10-03T10:06:29.000Z | 2022-03-04T16:19:03.000Z | legacy/src/ext_mpi_alltoall.c | rayastoyanova/ext_mpi_collectives | 9f9e48cf40238d3e91af6471c32f620630365b7d | [
"BSD-3-Clause"
] | null | null | null | legacy/src/ext_mpi_alltoall.c | rayastoyanova/ext_mpi_collectives | 9f9e48cf40238d3e91af6471c32f620630365b7d | [
"BSD-3-Clause"
] | 1 | 2021-11-24T12:21:09.000Z | 2021-11-24T12:21:09.000Z | #include "ext_mpi_alltoall.h"
#include "ext_mpi_alltoall_native.h"
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BREAK_SIZE 25000
#define MERGE_SIZE 250
typedef struct _FileData {
int nnodes;
int nports;
int parallel;
int msize;
double deltaT;
} FileDa... | 35.60696 | 82 | 0.587315 |
594533e3a5cf9806923ac5dd2d56f2f9c5b6951e | 2,176 | h | C | ctags/main/trace.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | ctags/main/trace.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | ctags/main/trace.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | #ifndef ctags_trace_h_
#define ctags_trace_h_
/*
* Copyright (c) 2016, Szymon Tomasz Stefanek
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
* Tracing facility.
*/
#include "general.h"
#include "debug... | 25.6 | 82 | 0.713235 |
3d5e049ff5e42c6373525989fd931237b25dbe73 | 1,577 | c | C | Parte 2/Ex_004.c | whoisgvb/works_C | eab1f39e165f9bb504f03d90323010927ea47b03 | [
"Apache-2.0"
] | 1 | 2021-06-25T01:21:19.000Z | 2021-06-25T01:21:19.000Z | Parte 2/Ex_004.c | whoisgvb/Works_C | eab1f39e165f9bb504f03d90323010927ea47b03 | [
"Apache-2.0"
] | null | null | null | Parte 2/Ex_004.c | whoisgvb/Works_C | eab1f39e165f9bb504f03d90323010927ea47b03 | [
"Apache-2.0"
] | null | null | null | /*4. Faça um procedimento que receba o vetor de registro definido no exercício anterior (30), por parâmetro, e retorna também por parâmetro: a média de salário entre os habitantes, a menor e a maior idade do grupo e a quantidade de mulheres com 3 filhos que recebe até R$500,00.*/
#include <stdio.h>
#include <stdlib.h>... | 28.160714 | 280 | 0.607483 |
3806fc67c585c21b7c2cbd800105b5d72196efa7 | 269 | c | C | regression/contracts/history-constant/main.c | Kafva/cbmc | 8c1ab89ed09e646602c970b14bcc989dc57359f3 | [
"BSD-4-Clause"
] | null | null | null | regression/contracts/history-constant/main.c | Kafva/cbmc | 8c1ab89ed09e646602c970b14bcc989dc57359f3 | [
"BSD-4-Clause"
] | null | null | null | regression/contracts/history-constant/main.c | Kafva/cbmc | 8c1ab89ed09e646602c970b14bcc989dc57359f3 | [
"BSD-4-Clause"
] | null | null | null | #include <stdio.h>
int foo(int l) __CPROVER_requires(-10 <= l && l <= 10) __CPROVER_ensures(
__CPROVER_return_value == __CPROVER_old(l) + __CPROVER_old(10))
{
return l + 10;
}
int main()
{
int l;
__CPROVER_assume(-10 <= l && l <= 10);
foo(l);
return 0;
}
| 16.8125 | 73 | 0.624535 |
a863d673c4178760ba2c20b49fc14e9f01486833 | 752 | h | C | kernel/shared/hal/hal_frame.h | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | kernel/shared/hal/hal_frame.h | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | kernel/shared/hal/hal_frame.h | betopp/pathetix | a18a1211f6f3ca3c9ebd0e3de6784ae0591d1265 | [
"MIT"
] | null | null | null | //hal_frame.h
//Allocating and freeing physical frames
//Bryan E. Topp <betopp@betopp.com> 2021
#ifndef HAL_FRAME_H
#define HAL_FRAME_H
#include <stdint.h>
#include <sys/types.h>
//Identifies a physical frame.
typedef uint64_t hal_frame_id_t;
#define HAL_FRAME_ID_INVALID ((hal_frame_id_t)0)
//Returns the size of phy... | 25.066667 | 60 | 0.795213 |
b876a3869424788b6f23aae65a82fcfe061c31f7 | 313 | h | C | mame/src/lib/formats/vg5k_cas.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | 15 | 2015-03-03T23:15:57.000Z | 2021-11-12T07:09:24.000Z | mame/src/lib/formats/vg5k_cas.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | null | null | null | mame/src/lib/formats/vg5k_cas.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | 8 | 2015-07-07T16:40:44.000Z | 2020-08-18T06:57:29.000Z | /*********************************************************************
vg5k_cas.h
*********************************************************************/
#ifndef VG5K_CAS_H
#define VG5K_CAS_H
#include "cassimg.h"
CASSETTE_FORMATLIST_EXTERN(vg5k_cassette_formats);
#endif /* VG5K_CAS_H */
| 19.5625 | 71 | 0.376997 |
071f5153a901cb361c549af6ddf1bdce6e670029 | 471 | c | C | 0x05-pointers_arrays_strings/100-atoi.c | jfbm74/holbertonschool-low_level_programming | 9cedaff870af333af5df085cdd776d43f48634d2 | [
"MIT"
] | null | null | null | 0x05-pointers_arrays_strings/100-atoi.c | jfbm74/holbertonschool-low_level_programming | 9cedaff870af333af5df085cdd776d43f48634d2 | [
"MIT"
] | null | null | null | 0x05-pointers_arrays_strings/100-atoi.c | jfbm74/holbertonschool-low_level_programming | 9cedaff870af333af5df085cdd776d43f48634d2 | [
"MIT"
] | null | null | null | /**
* _atoi - function that convert a string to an integer.
* @s: given string
* Return: integer
*/
int _atoi(char *s)
{
int i;
int x;
int sign;
int j;
i = j = x = 0;
sign = 1;
while (s[i] != '\0')
{
if (s[i] == '-')
{
sign = sign * -1;
}
else if (s[i] >= '0' && s[i] <= '9')
{
while (s[i] ... | 13.083333 | 56 | 0.399151 |
8e42946e1785f0b9d714af20003249b701ba5083 | 594 | h | C | src/ciCMS/cfg/components/TexDraw.h | markkorput/ciCMS | a0ec32761ce712e78e31fe15e64ee9bd79c9bd51 | [
"MIT"
] | null | null | null | src/ciCMS/cfg/components/TexDraw.h | markkorput/ciCMS | a0ec32761ce712e78e31fe15e64ee9bd79c9bd51 | [
"MIT"
] | null | null | null | src/ciCMS/cfg/components/TexDraw.h | markkorput/ciCMS | a0ec32761ce712e78e31fe15e64ee9bd79c9bd51 | [
"MIT"
] | null | null | null | #pragma once
#include "cinder/gl/gl.h"
#include "ciCMS/cfg/Cfg.h"
namespace cms { namespace cfg { namespace components {
class TexDraw {
public:
void cfg(cms::cfg::Cfg& cfg);
private:
void draw();
private: //attrs
bool verbose = false;
bool bFillViewport = false;
// std... | 22.846154 | 62 | 0.638047 |
9079e0ef3fd33b228e5c7cadc34a9556a38ccbae | 3,001 | h | C | app/src/main/cpp/sensors/sensor_event_producer.h | horstle/wearmouse | f85cbf3d99a8cce9e9df9a896a9bf2efaaa3c9b2 | [
"Apache-2.0"
] | 1 | 2021-02-16T07:10:26.000Z | 2021-02-16T07:10:26.000Z | app/src/main/cpp/sensors/sensor_event_producer.h | horstle/wearmouse | f85cbf3d99a8cce9e9df9a896a9bf2efaaa3c9b2 | [
"Apache-2.0"
] | null | null | null | app/src/main/cpp/sensors/sensor_event_producer.h | horstle/wearmouse | f85cbf3d99a8cce9e9df9a896a9bf2efaaa3c9b2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 36.156627 | 80 | 0.75908 |
e6d0bdd16f216521111ae0498084d1efe4ff9201 | 1,951 | h | C | src/backend/quad/ast2quad/ivlist.h | zhongxinghong/sysyc | b3cde82c985dc40c2e564e82e4c41db76a992eb8 | [
"MIT"
] | 2 | 2021-11-16T09:46:20.000Z | 2022-03-24T11:49:34.000Z | src/backend/quad/ast2quad/ivlist.h | zhongxinghong/sysyc | b3cde82c985dc40c2e564e82e4c41db76a992eb8 | [
"MIT"
] | null | null | null | src/backend/quad/ast2quad/ivlist.h | zhongxinghong/sysyc | b3cde82c985dc40c2e564e82e4c41db76a992eb8 | [
"MIT"
] | 2 | 2022-02-23T06:34:52.000Z | 2022-03-13T04:05:40.000Z | //------------------------------------------------------------------------------
// A SysY Compiler for PKU Compiling Principles Practice Course (2021 Spring)
//------------------------------------------------------------------------------
// Project: sysyc
// File: ivlist.h
// Created Date: 2021-05-22
// Author: ... | 24.3875 | 81 | 0.572014 |
0aa5477b7a51789b9d8b9a1470a371aafd9b39e1 | 118 | h | C | Pod/Classes/boogaloo/UIFont+Boogaloo.h | parakeety/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 10 | 2015-08-07T19:43:38.000Z | 2019-03-06T10:40:11.000Z | Pod/Classes/boogaloo/UIFont+Boogaloo.h | Maxatma/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 3 | 2016-03-01T10:29:45.000Z | 2017-03-30T12:23:06.000Z | Pod/Classes/boogaloo/UIFont+Boogaloo.h | Maxatma/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 4 | 2016-02-10T12:34:29.000Z | 2020-04-08T07:18:23.000Z | #import <UIKit/UIKit.h>
@interface UIFont (Boogaloo)
+ (instancetype)boogalooRegularFontOfSize:(CGFloat)size;
@end
| 14.75 | 56 | 0.771186 |
f8aeb74c62bc304f070107a30ddc029bdc01be81 | 1,068 | c | C | libft/ft_strcpy.c | tiboitel/FTP | 4de46c720d1accc67518f954ced3cc3491048432 | [
"MIT"
] | null | null | null | libft/ft_strcpy.c | tiboitel/FTP | 4de46c720d1accc67518f954ced3cc3491048432 | [
"MIT"
] | null | null | null | libft/ft_strcpy.c | tiboitel/FTP | 4de46c720d1accc67518f954ced3cc3491048432 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcpy.c :+: :+: :+: ... | 38.142857 | 80 | 0.170412 |
f8e04afa7e79154e3de566127c458c5135410526 | 35,057 | c | C | lugre/baselib/openal-soft-1.8.466/Alc/alsa.c | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | 1 | 2020-10-18T14:33:05.000Z | 2020-10-18T14:33:05.000Z | lugre/baselib/openal-soft-1.8.466/Alc/alsa.c | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | null | null | null | lugre/baselib/openal-soft-1.8.466/Alc/alsa.c | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | null | null | null | /**
* OpenAL cross platform audio library
* Copyright (C) 1999-2007 by authors.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your op... | 31.051373 | 138 | 0.601335 |
50ee0eb7281eb6e541cd6f5eb4db95c491e28b34 | 355,437 | c | C | sdk-6.5.16/src/bcm/esw/cosq.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.16/src/bcm/esw/cosq.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.16/src/bcm/esw/cosq.c | 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-2019 Broadcom Inc. All rights reserved.
*
* COS Queue Management
* Purpose: API to set different cosq, priorities, and scheduler registers.
*/
#include ... | 32.83786 | 134 | 0.576749 |
97f608fac1a8360454c304fa3609264c62e5ba80 | 1,192 | h | C | MyoSphero/Frameworks/RobotKit.framework/Frameworks/RobotCommandKit.framework/Headers/RKCalibrateCommand.h | smngreenberg/myo-sphero-ios | 537cf1bbf8260e2d2b117c38eb614ccdbc1a32b5 | [
"BSD-3-Clause"
] | 12 | 2015-03-02T19:09:49.000Z | 2021-08-17T18:17:54.000Z | MyoSphero/Frameworks/RobotKit.framework/Frameworks/RobotCommandKit.framework/Headers/RKCalibrateCommand.h | smngreenberg/myo-sphero-ios | 537cf1bbf8260e2d2b117c38eb614ccdbc1a32b5 | [
"BSD-3-Clause"
] | 5 | 2015-03-15T14:25:11.000Z | 2015-05-29T21:12:38.000Z | MyoSphero/Frameworks/RobotKit.framework/Frameworks/RobotCommandKit.framework/Headers/RKCalibrateCommand.h | smngreenberg/myo-sphero-ios | 537cf1bbf8260e2d2b117c38eb614ccdbc1a32b5 | [
"BSD-3-Clause"
] | 14 | 2015-03-02T19:09:51.000Z | 2020-05-22T09:41:43.000Z | //
// RKCalibrateCommand.h
// RobotCommandKit
//
// Created by Brian Smith on 6/15/11.
// Imported to RobotCommandKit by Hunter Lang on 12/12/13.
// Copyright 2011 Orbotix Inc. All rights reserved.
//
/*! @file */
#import <Foundation/Foundation.h>
#import "RKDeviceCommand.h"
/*!
* @brief Class to encapsulate a... | 29.073171 | 95 | 0.734899 |
5a28b01627d5aa3795a988a2ce3d7d5c09c9d81e | 2,267 | h | C | wpimath/src/test/native/include/drake/common/unused.h | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | wpimath/src/test/native/include/drake/common/unused.h | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 2 | 2020-07-11T23:47:55.000Z | 2020-07-16T16:09:06.000Z | wpimath/src/test/native/include/drake/common/unused.h | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 1 | 2022-02-16T16:13:24.000Z | 2022-02-16T16:13:24.000Z | #pragma once
namespace drake {
/// Documents the argument(s) as unused, placating GCC's -Wunused-parameter
/// warning. This can be called within function bodies to mark that certain
/// parameters are unused.
///
/// When possible, removing the unused parameter is better than placating the
/// warning. However, in... | 41.981481 | 80 | 0.685487 |
f6c90e9fe3eaaa04a68348d666d071a6c52afb4e | 4,933 | h | C | apps/examples/ocf_mylight/ocf_mylight.h | kimvsparrow/TizenRT-RA8875 | 8970ce0673296ee8967fc69d8b79e015ca4b7f98 | [
"Apache-2.0"
] | 2 | 2018-03-30T06:19:59.000Z | 2021-12-19T05:47:08.000Z | apps/examples/ocf_mylight/ocf_mylight.h | kimvsparrow/TizenRT-RA8875 | 8970ce0673296ee8967fc69d8b79e015ca4b7f98 | [
"Apache-2.0"
] | null | null | null | apps/examples/ocf_mylight/ocf_mylight.h | kimvsparrow/TizenRT-RA8875 | 8970ce0673296ee8967fc69d8b79e015ca4b7f98 | [
"Apache-2.0"
] | 2 | 2018-09-27T04:42:21.000Z | 2020-07-23T14:00:03.000Z | /****************************************************************************
*
* Copyright 2017 Samsung Electronics 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... | 34.739437 | 78 | 0.793837 |
f5cf88048118e5f7c5fdfdae3574a4de65be93e7 | 1,413 | h | C | sdk-6.5.20/include/soc/dfe/fe3200/fe3200_config_imp_defs.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dfe/fe3200/fe3200_config_imp_defs.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/soc/dfe/fe3200/fe3200_config_imp_defs.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.
* This file is auto-generated by autoCoder
* DO NOT EDIT THIS FILE!
*/
#ifndef FE3200_CONFIG_IMP_DEFS
#define... | 34.463415 | 134 | 0.723284 |
67404d615a5b53f1f757afff36dfc1483a9f4838 | 694 | h | C | include/cros_service.h | ProfFan/cros | 25a0721bcd30c1dd3c02ada08c4bd067ceb4142d | [
"BSD-3-Clause"
] | 35 | 2016-03-08T18:15:55.000Z | 2021-11-20T11:13:27.000Z | include/cros_service.h | ProfFan/cros | 25a0721bcd30c1dd3c02ada08c4bd067ceb4142d | [
"BSD-3-Clause"
] | 11 | 2016-03-03T10:31:18.000Z | 2020-05-05T15:36:59.000Z | include/cros_service.h | ProfFan/cros | 25a0721bcd30c1dd3c02ada08c4bd067ceb4142d | [
"BSD-3-Clause"
] | 25 | 2016-03-08T15:54:23.000Z | 2021-11-23T09:50:11.000Z | #ifndef _CROS_SERVICE_H_
#define _CROS_SERVICE_H_
#include "cros_node.h"
#include "cros_message.h"
#include "cros_err_codes.h"
/*! \defgroup cros_service cROS TCPROS
*
* Implementation of the TCPROS protocol for service message exchanges
*/
/*! \addtogroup cros_service
* @{
*/
struct cRosService
{
cRosMess... | 19.828571 | 77 | 0.769452 |
916ecf3f6beece0b176e3b0c889ef2f98b31223f | 673 | h | C | include/io.h | goforbroke1006/gfb-stdgo | 2c897bea3cc5ee644e78114e2e94f9c6cf269047 | [
"MIT"
] | null | null | null | include/io.h | goforbroke1006/gfb-stdgo | 2c897bea3cc5ee644e78114e2e94f9c6cf269047 | [
"MIT"
] | 1 | 2019-03-04T09:24:36.000Z | 2019-03-04T09:24:36.000Z | include/io.h | goforbroke1006/gfb-stdgo | 2c897bea3cc5ee644e78114e2e94f9c6cf269047 | [
"MIT"
] | null | null | null | //
// Created by goforbroke on 07.02.19.
//
#ifndef GFB_STDGO_IO_H
#define GFB_STDGO_IO_H
#include <string>
#include <exception>
#include <stdexcept>
#include <fstream>
#include <sstream>
#include <vector>
namespace gfb {
namespace stdgo {
namespace io {
class Reader {
public:
... | 18.189189 | 66 | 0.555721 |
f47b7966ba5592957fe8088a86efeb9aa5210aed | 516 | h | C | moai/src/aku/AKU-luaext.h | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/aku/AKU-luaext.h | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | moai/src/aku/AKU-luaext.h | jjimenezg93/ai-pathfinding | e32ae8be30d3df21c7e64be987134049b585f1e6 | [
"MIT"
] | null | null | null | //----------------------------------------------------------------//
// Copyright (c) 2010-2011 Zipline Games, Inc.
// All Rights Reserved.
// http://getmoai.com
//----------------------------------------------------------------//
#ifndef AKU_MOAIEXT_LUAEXT_H
#define AKU_MOAIEXT_LUAEXT_H
#include <aku/AKU.h>
AKU_A... | 27.157895 | 68 | 0.550388 |
734b21f517e24618347d90717737e88fb856babd | 7,018 | h | C | scope/testrunner.h | zweger/scope | e07f3d4b636a9807bc3bd67109473f0934716d54 | [
"BSL-1.0"
] | 1 | 2020-10-16T10:09:58.000Z | 2020-10-16T10:09:58.000Z | scope/testrunner.h | zweger/scope | e07f3d4b636a9807bc3bd67109473f0934716d54 | [
"BSL-1.0"
] | 14 | 2015-04-11T01:36:28.000Z | 2021-04-02T20:23:53.000Z | scope/testrunner.h | zweger/scope | e07f3d4b636a9807bc3bd67109473f0934716d54 | [
"BSL-1.0"
] | 2 | 2017-08-20T22:43:45.000Z | 2018-11-05T21:52:46.000Z | /*
© 2009–2016, Jon Stewart
Released under the terms of the Boost license (http://www.boost.org/LICENSE_1_0.txt). See License.txt for details.
*/
#pragma once
#include <cassert>
#include <csignal>
#include <iostream>
#include <memory>
#include <map>
#include <regex>
#include <thread>
#include <mutex>
#include "t... | 28.184739 | 172 | 0.563693 |
29771aa73c13b30f5baf75007112bbe9fc799bb7 | 573 | c | C | ports/xt804/src/utf8_map.c | gengyong/micropython | 89ca27426e11eca00af15fde8c486654faa471b5 | [
"MIT"
] | 16 | 2021-11-17T09:06:36.000Z | 2022-03-15T02:58:56.000Z | ports/xt804/src/utf8_map.c | gengyong/micropython | 89ca27426e11eca00af15fde8c486654faa471b5 | [
"MIT"
] | null | null | null | ports/xt804/src/utf8_map.c | gengyong/micropython | 89ca27426e11eca00af15fde8c486654faa471b5 | [
"MIT"
] | 2 | 2021-11-19T11:32:50.000Z | 2021-12-20T09:20:15.000Z | const unsigned char SizeOfUTF8Code[256] = {
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
0,0,0,0,0,0... | 57.3 | 65 | 0.506108 |
349c27e447d2e4e1f4e89c651d16c279b4e2acfa | 275 | h | C | ProjectTemplate/ProjectTemplate/Classes/Modules/ModuleName/Controller/WJHomeViewController.h | istupid/WilliamPro | 3c3511c34509302214ba4ebf14e55709d8fb566d | [
"MIT"
] | null | null | null | ProjectTemplate/ProjectTemplate/Classes/Modules/ModuleName/Controller/WJHomeViewController.h | istupid/WilliamPro | 3c3511c34509302214ba4ebf14e55709d8fb566d | [
"MIT"
] | null | null | null | ProjectTemplate/ProjectTemplate/Classes/Modules/ModuleName/Controller/WJHomeViewController.h | istupid/WilliamPro | 3c3511c34509302214ba4ebf14e55709d8fb566d | [
"MIT"
] | null | null | null | //
// WJHomeViewController.h
// ProjectTemplate
//
// Created by William on 2018/12/4.
// Copyright © 2018 William. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface WJHomeViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 15.277778 | 50 | 0.752727 |
9562c3b35351d25c1951a76f13edda04a9430824 | 386 | c | C | sample/10/input.c | alexktvsky/tec | 64579ec93ac0b93665678fa4e8dc0de866b78d4a | [
"BSD-2-Clause"
] | null | null | null | sample/10/input.c | alexktvsky/tec | 64579ec93ac0b93665678fa4e8dc0de866b78d4a | [
"BSD-2-Clause"
] | null | null | null | sample/10/input.c | alexktvsky/tec | 64579ec93ac0b93665678fa4e8dc0de866b78d4a | [
"BSD-2-Clause"
] | null | null | null | #include <stdio.h>
#include <stdint.h>
#include <stddef.h>
template <typename T>
typedef struct node_s<T> node_t<T>;
template <typename T>
struct node_s {
T data;
node_t<T> *next;
node_t<T> *prev;
};
template <typename T>
typedef struct {
node_t<T> *head;
node_t<T> *tail;
} list_t;
int main(voi... | 13.310345 | 35 | 0.626943 |
9fe5b97a9e61c41b4372b46640ec84d7b535a2b2 | 387 | h | C | BCC102/include/windows/sdk/drivinit.h | FarouDev/Projects-for-beginner-with-Cpp | 1210457c122cb5da8f7c5a4a7386eb064e8b31b0 | [
"MIT"
] | null | null | null | BCC102/include/windows/sdk/drivinit.h | FarouDev/Projects-for-beginner-with-Cpp | 1210457c122cb5da8f7c5a4a7386eb064e8b31b0 | [
"MIT"
] | null | null | null | BCC102/include/windows/sdk/drivinit.h | FarouDev/Projects-for-beginner-with-Cpp | 1210457c122cb5da8f7c5a4a7386eb064e8b31b0 | [
"MIT"
] | null | null | null | #pragma option push -b -a8 -pc -A- -w-pun /*P_O_Push*/
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992-1999.
//
// File: drivinit.h
//
//--------------------------------------------------------------------------... | 27.642857 | 78 | 0.374677 |
95faa25dae1b2386b94a963462a47c4d3b6dd989 | 561 | h | C | LeetCode/C++/0121._Best_Time_to_Buy_and_Sell_Stock/solution.h | icgw/LeetCode | cb70ca87aa4604d1aec83d4224b3489eacebba75 | [
"MIT"
] | 4 | 2018-09-12T09:32:17.000Z | 2018-12-06T03:17:38.000Z | LeetCode/C++/0121._Best_Time_to_Buy_and_Sell_Stock/solution.h | icgw/algorithm | cb70ca87aa4604d1aec83d4224b3489eacebba75 | [
"MIT"
] | null | null | null | LeetCode/C++/0121._Best_Time_to_Buy_and_Sell_Stock/solution.h | icgw/algorithm | cb70ca87aa4604d1aec83d4224b3489eacebba75 | [
"MIT"
] | null | null | null | /*
* solution.h
* Copyright (C) 2021 Guowei Chen <icgw@outlook.com>
*
* Distributed under terms of the Apache license.
*/
#ifndef _SOLUTION_H_
#define _SOLUTION_H_
#include <vector>
using std::vector;
#include <algorithm>
using std::max;
using std::min;
class Solution {
public:
int maxProfit(vector<int>& pric... | 17.53125 | 52 | 0.654189 |
452994b2a435744a30fb1ea0e642051e0f04c654 | 1,211 | h | C | Software/OOP/Version 2/Soccer_Simulation_v2/Classes/Compass.h | Brenocq/SoccerOpenRCJ | 1711e251861c124e49df21abb63eb169569bea4f | [
"MIT"
] | 2 | 2019-05-02T23:01:06.000Z | 2019-05-11T01:29:06.000Z | Software/OOP/Version 2/Soccer_Simulation_v2/Classes/Compass.h | Brenocq/SoccerOpenRCJ | 1711e251861c124e49df21abb63eb169569bea4f | [
"MIT"
] | null | null | null | Software/OOP/Version 2/Soccer_Simulation_v2/Classes/Compass.h | Brenocq/SoccerOpenRCJ | 1711e251861c124e49df21abb63eb169569bea4f | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
// Compass.h
// Implementation of the Class Compass
// Created on: 21-mar-2018 21:46:56
// Original author: Breno Queiroz
///////////////////////////////////////////////////////////
#ifndef COMPASS_H
#define COMPASS_H
#include "Sensor.h"
... | 18.921875 | 60 | 0.604459 |
c775be6d63f353fd8f374a5d96c98332a61c0768 | 296 | h | C | KRHome/KRHome/Classes/Targets/Target_KRHome.h | KinRainModulization/KRHome | 3d0da6462450107e50251b4b1a06f49983ce3b2f | [
"MIT"
] | null | null | null | KRHome/KRHome/Classes/Targets/Target_KRHome.h | KinRainModulization/KRHome | 3d0da6462450107e50251b4b1a06f49983ce3b2f | [
"MIT"
] | null | null | null | KRHome/KRHome/Classes/Targets/Target_KRHome.h | KinRainModulization/KRHome | 3d0da6462450107e50251b4b1a06f49983ce3b2f | [
"MIT"
] | null | null | null | //
// Target_KRHome.h
// KRHome
//
// Created by LX on 2017/12/12.
// Copyright © 2017年 Ace. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface Target_KRHome : NSObject
- (UIViewController *)Action_HomeViewController:(NSDictionary *)params;
@end
| 17.411765 | 71 | 0.712838 |
ba4739987d6773c16593ea6c98bd5b799fdc32a2 | 876 | h | C | DemoGather/Class/Other/Extension/UIView+HSKit.h | Qing-CN/DemoGather | 636a3050c9f4d720a8ea43e37975befaf521260d | [
"MIT"
] | null | null | null | DemoGather/Class/Other/Extension/UIView+HSKit.h | Qing-CN/DemoGather | 636a3050c9f4d720a8ea43e37975befaf521260d | [
"MIT"
] | null | null | null | DemoGather/Class/Other/Extension/UIView+HSKit.h | Qing-CN/DemoGather | 636a3050c9f4d720a8ea43e37975befaf521260d | [
"MIT"
] | null | null | null | //
// UIView+HSKit.h
// YANGXIN
//
// Created by GY.Z on 2019/9/9.
// Copyright © 2019 张广义. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIView (HSKit)
@property (nonatomic, assign) CGFloat left;
@property (nonatomic, assign) CGFloat right;
@property (nonatomic, assign) CGF... | 24.333333 | 62 | 0.753425 |
ba5b42bdfd09c47768a005a3512c7e1999860c37 | 6,516 | c | C | interfaces/I2C-Master-Slave/I2C_Master/src/main.c | svdpuranik/BLE_SDK6_examples | 1eedc9ae8922e1c0bc4fc1337639085fbb9eeba0 | [
"MIT"
] | 27 | 2021-04-14T06:21:04.000Z | 2022-03-24T02:02:13.000Z | interfaces/I2C-Master-Slave/I2C_Master/src/main.c | svdpuranik/BLE_SDK6_examples | 1eedc9ae8922e1c0bc4fc1337639085fbb9eeba0 | [
"MIT"
] | 10 | 2021-05-03T13:24:43.000Z | 2022-03-21T15:06:42.000Z | interfaces/I2C-Master-Slave/I2C_Master/src/main.c | svdpuranik/BLE_SDK6_examples | 1eedc9ae8922e1c0bc4fc1337639085fbb9eeba0 | [
"MIT"
] | 22 | 2021-04-29T14:30:09.000Z | 2022-03-23T03:10:40.000Z | /**
*******************************************************************************
*
* THIS SOFTWARE IS AN UNOFFICIAL RELEASE FROM DIALOG SEMICONDUCTOR (‘DIALOG’)
* AND MAY ONLY BE USED BY RECIPIENT AT ITS OWN RISK AND WITHOUT SUPPORT OF ANY
* KIND. THIS SOFTWARE IS SOLELY FOR USE ON AUTHORIZED DIALOG PRODUCTS AN... | 29.753425 | 101 | 0.653775 |
0f9aa43d7a74e8e93045e79a43b8d1c74bca029e | 2,746 | c | C | V2.0/contrib/maybe/bloom/Util.c | oldbitpusher/npasswd | c0d535196d0d26bde72f44e4883a5be0a841c6b7 | [
"BSD-4-Clause-UC"
] | null | null | null | V2.0/contrib/maybe/bloom/Util.c | oldbitpusher/npasswd | c0d535196d0d26bde72f44e4883a5be0a841c6b7 | [
"BSD-4-Clause-UC"
] | null | null | null | V2.0/contrib/maybe/bloom/Util.c | oldbitpusher/npasswd | c0d535196d0d26bde72f44e4883a5be0a841c6b7 | [
"BSD-4-Clause-UC"
] | null | null | null | /*----------------------------------------------------------------------------*
| |
| Author: Donald Olivier |
| Instructional Computing Facility |
... | 41.606061 | 79 | 0.201748 |
4451c9876a3d97cde8f66b677df4c2f6c9b8fa6b | 18,254 | c | C | src/mlp/c/mlp.c | augustomatheuss/ia-hub | c36f120e4d090acfa274ce8f376934af15dd6a6e | [
"BSD-2-Clause"
] | null | null | null | src/mlp/c/mlp.c | augustomatheuss/ia-hub | c36f120e4d090acfa274ce8f376934af15dd6a6e | [
"BSD-2-Clause"
] | null | null | null | src/mlp/c/mlp.c | augustomatheuss/ia-hub | c36f120e4d090acfa274ce8f376934af15dd6a6e | [
"BSD-2-Clause"
] | null | null | null | /* C Multilayer Perceptron Neural Network Library
*
* Copyright (c) 2016, Augusto Damasceno.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must ret... | 23.106329 | 81 | 0.624466 |
4154ef850760a1fcbe26c11ca8d3a046bcae2aab | 1,498 | h | C | source/idhook.h | playday3008/hack-cs-1.6-eV0L | 40bdc3ef0fbe4d14a24939417efed6df58efe856 | [
"MIT"
] | 5 | 2020-05-02T17:29:32.000Z | 2021-09-20T19:19:15.000Z | source/idhook.h | playday3008/hack-cs-1.6-eV0L | 40bdc3ef0fbe4d14a24939417efed6df58efe856 | [
"MIT"
] | null | null | null | source/idhook.h | playday3008/hack-cs-1.6-eV0L | 40bdc3ef0fbe4d14a24939417efed6df58efe856 | [
"MIT"
] | 3 | 2020-05-02T19:03:48.000Z | 2021-09-22T03:44:22.000Z | #ifndef _IDHOOK_
#define _IDHOOK_
class IdHook
{
public:
int FirstKillPlayer[33];
void ClearPlayer();
void RelistPlayer();
void AddPlayer(int ax);
struct Player;
struct PlayerEntry{
PlayerEntry() :player(0){}
char name[256];
char content[256];
Player* player;
};
struct Player
{
Player():parent(0)... | 19.454545 | 80 | 0.634179 |
41d1c260b7cbe9d20e0d96b1616d20f058b382be | 5,401 | h | C | ns3/ns-3.26/src/config-store/model/display-functions.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 11 | 2015-11-24T11:07:28.000Z | 2021-12-23T04:10:29.000Z | ns3/ns-3.26/src/config-store/model/display-functions.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-11T03:04:59.000Z | 2017-09-11T14:01:14.000Z | ns3/ns-3.26/src/config-store/model/display-functions.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 6 | 2016-03-01T06:32:21.000Z | 2022-03-24T19:31:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it 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 u... | 35.768212 | 113 | 0.701166 |
5798a0a95032393c469223225fcd96b61d43fe62 | 1,864 | h | C | include/behavior_tree_ros/plugins/decorator/cmd_updater_node.h | hackin-zhao/behavior_tree_ros | 3eaf5c89696fc982d205c313e703fa0b097911ed | [
"MIT"
] | 2 | 2022-03-22T08:47:39.000Z | 2022-03-23T05:45:23.000Z | include/behavior_tree_ros/plugins/decorator/cmd_updater_node.h | hackin-zhao/behavior_tree_ros | 3eaf5c89696fc982d205c313e703fa0b097911ed | [
"MIT"
] | null | null | null | include/behavior_tree_ros/plugins/decorator/cmd_updater_node.h | hackin-zhao/behavior_tree_ros | 3eaf5c89696fc982d205c313e703fa0b097911ed | [
"MIT"
] | null | null | null | #ifndef _CMD_UPDATER_NODE_H_
#define _CMD_UPDATER_NODE_H_
#include <memory>
#include <string>
#include "behaviortree_cpp_v3/decorator_node.h"
#include <ros/ros.h>
#include <ros/callback_queue.h>
#include <geometry_msgs/PoseStamped.h>
#include <std_msgs/String.h>
namespace behavior_tree
{
/**
* @brief A BT::De... | 25.888889 | 83 | 0.677575 |
70b9b0a9d0595090e44d7679c05d3f539c6e462d | 350 | h | C | QSToolKit/QSToolKit.h | qs3673132/QSToolKit | a28f048cb16becf0477907e1e5a8e320efdcc9bd | [
"MIT"
] | null | null | null | QSToolKit/QSToolKit.h | qs3673132/QSToolKit | a28f048cb16becf0477907e1e5a8e320efdcc9bd | [
"MIT"
] | null | null | null | QSToolKit/QSToolKit.h | qs3673132/QSToolKit | a28f048cb16becf0477907e1e5a8e320efdcc9bd | [
"MIT"
] | null | null | null | //
// QSToolKit.h
// QSToolKit
//
// Created by qs on 16/10/30.
// Copyright © 2016年 齐嵩. All rights reserved.
//
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT double QSToolKitVersionNumber;
FOUNDATION_EXPORT const unsigned char QSToolKitVersionString[];
#import <QSToolKit/NSString+QSToolKit.h>
#import <QS... | 19.444444 | 63 | 0.754286 |
02fc9e02b5e70cdbc66eeb97f5897f7c370051c1 | 3,941 | h | C | src/gui/raster/qgshillshaderendererwidget.h | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/gui/raster/qgshillshaderendererwidget.h | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/gui/raster/qgshillshaderendererwidget.h | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
qgshillshaderendererwidget.h
---------------------------------
begin : May 2016
copyright : (C) 2016 by Nathan Woodrow
email : woodrow dot n... | 31.528 | 167 | 0.567622 |
27ab60ac7f3713affa5727e6b450753b6082a8b4 | 29 | h | C | .vim/sourceCode/glibc-2.16.0/include/stropts.h | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 12 | 2018-09-18T19:51:27.000Z | 2022-01-18T15:31:41.000Z | .vim/sourceCode/glibc-2.16.0/include/stropts.h | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | null | null | null | .vim/sourceCode/glibc-2.16.0/include/stropts.h | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 3 | 2019-06-12T19:38:54.000Z | 2020-03-05T19:17:23.000Z | #include <streams/stropts.h>
| 14.5 | 28 | 0.758621 |
b45567ece702754d456e0e1c141618f8e1aec15c | 6,224 | c | C | hal/src/software/system/mblaze/sched.c | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | 3 | 2018-02-14T23:24:45.000Z | 2022-03-30T18:48:06.000Z | hal/src/software/system/ppc440/sched.c | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | null | null | null | hal/src/software/system/ppc440/sched.c | eugenecartwright/hthreads | 826c495dd855f8fcc1e12e1ac01845c2983ecf04 | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************************
* Copyright (c) 2015, University of Arkansas - Hybridthreads Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | 38.184049 | 107 | 0.667898 |
7da7a9ca951e92ad6f69f1d4c74c9f5868f04c44 | 369 | h | C | src/objects/objects.h | nddvn2008/bullet-physics-playground | 2895af190054b6a38525b679cf3f241c7147ee6f | [
"Zlib"
] | 1 | 2015-10-05T01:25:18.000Z | 2015-10-05T01:25:18.000Z | src/objects/objects.h | nddvn2008/bullet-physics-playground | 2895af190054b6a38525b679cf3f241c7147ee6f | [
"Zlib"
] | null | null | null | src/objects/objects.h | nddvn2008/bullet-physics-playground | 2895af190054b6a38525b679cf3f241c7147ee6f | [
"Zlib"
] | 2 | 2015-01-02T20:02:13.000Z | 2018-02-26T03:08:43.000Z | #ifndef OBJECTS_H
#define OBJECTS_H
#include "object.h"
#include <btBulletDynamicsCommon.h>
class Objects : public Object {
public:
Objects();
QList<Object *>getObjects() const;
static void luaBind(lua_State *s);
QString toString() const;
virtual void renderInLocalFrame(QTextStream *s);
protected:
... | 14.192308 | 50 | 0.715447 |
7b05c7327887b2748da4933d7f21667c5a811743 | 2,314 | c | C | gurba/lib/cmds/player/search.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | 4 | 2021-07-21T17:49:01.000Z | 2022-03-11T20:50:59.000Z | gurba/lib/cmds/player/search.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | null | null | null | gurba/lib/cmds/player/search.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | 1 | 2021-12-31T00:55:05.000Z | 2021-12-31T00:55:05.000Z | inherit M_COMMAND;
string *usage(void) {
string *lines;
lines = ({ "Usage: search [-h] [OBJECT]" });
lines += ({ "" });
lines += ({ "Search the specified object." });
lines += ({ "" });
lines += ({ "Options:" });
lines += ({ "\t-h\tHelp, this usage message." });
lines += ({ "Examples:" });
... | 25.152174 | 72 | 0.528954 |
d7ebe2b1b0417bb54d3bb327da66a7646c7786fb | 750 | h | C | src/stack.h | indutny/buoyant-core | ee32482be6ca6d3c3c4a69dfc186a455b293e540 | [
"MIT",
"Unlicense"
] | 1 | 2017-05-31T13:34:24.000Z | 2017-05-31T13:34:24.000Z | src/stack.h | indutny/buoyant-core | ee32482be6ca6d3c3c4a69dfc186a455b293e540 | [
"MIT",
"Unlicense"
] | null | null | null | src/stack.h | indutny/buoyant-core | ee32482be6ca6d3c3c4a69dfc186a455b293e540 | [
"MIT",
"Unlicense"
] | null | null | null | #ifndef SRC_STACK_H_
#define SRC_STACK_H_
#include "assert.h"
typedef struct buoyant__stack_s buoyant__stack_t;
struct buoyant__stack_s {
void** data;
void** start;
void** end;
};
static void buoyant__stack_push(buoyant__stack_t* s, void* data) {
assert(s->data >= s->end);
(*s->data--) = data;
}
static... | 19.230769 | 75 | 0.670667 |
7d4814e272a1d258e78159825a8b5e1a08a50434 | 3,584 | h | C | plugin/YmTypes.h | thepsr/qmmp-plugin-ym | 521c9799658d6626b2a923d66512416b79e4c990 | [
"BSD-2-Clause"
] | 6 | 2015-10-05T08:02:36.000Z | 2021-07-19T16:19:20.000Z | plugin/YmTypes.h | thepsr/qmmp-plugin-ym | 521c9799658d6626b2a923d66512416b79e4c990 | [
"BSD-2-Clause"
] | null | null | null | plugin/YmTypes.h | thepsr/qmmp-plugin-ym | 521c9799658d6626b2a923d66512416b79e4c990 | [
"BSD-2-Clause"
] | 1 | 2017-11-16T14:23:09.000Z | 2017-11-16T14:23:09.000Z | /*-----------------------------------------------------------------------------
ST-Sound ( YM files player library )
Define YM types for multi-platform compilation.
Change that file depending of your platform. Please respect the right size
for each type.
--------------------------------------------------... | 36.948454 | 146 | 0.623884 |
d10c8b6b15b8324588c51fc03455b50370a99aae | 5,328 | h | C | src/compose/compiler_structs.h | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 2 | 2015-05-07T21:03:25.000Z | 2017-10-11T11:17:28.000Z | src/compose/compiler_structs.h | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 4 | 2016-06-25T21:41:50.000Z | 2016-12-26T19:35:19.000Z | src/compose/compiler_structs.h | lachlanorr/gaen | 325b4604ac8a8a366aa93cca9d8393ccdbc682fa | [
"Zlib"
] | 1 | 2016-08-27T18:05:49.000Z | 2016-08-27T18:05:49.000Z | //------------------------------------------------------------------------------
// compiler_structs.h - Compose script compiler structs
//
// Gaen Concurrency Engine - http://gaen.org
// Copyright (c) 2014-2021 Lachlan Orr
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event... | 21.658537 | 80 | 0.626502 |
28e1ea96cffbfe43fb24361c95bdafeb175ad2b7 | 1,431 | c | C | image/effects.c | soueuls/raytraCer | e025d030fc3a4c6790935819d3d1952204f375ac | [
"MIT"
] | null | null | null | image/effects.c | soueuls/raytraCer | e025d030fc3a4c6790935819d3d1952204f375ac | [
"MIT"
] | null | null | null | image/effects.c | soueuls/raytraCer | e025d030fc3a4c6790935819d3d1952204f375ac | [
"MIT"
] | null | null | null | /*
** effects.c for RT in /home/coudra/Desktop/igraph/RT
**
** Made by Colin Coudray
** Login <coudra@epitech.net>
**
** Started on Tue Apr 1 14:33:10 2014 Colin Coudray
** Last update Tue Apr 15 17:34:42 2014 Colin Coudray
*/
#include "igraph.h"
t_pt celshading(t_lif *obj, long double arc_cos)
{
t_pt tmp;
... | 20.442857 | 69 | 0.584207 |
75f474494b8dfec1c8b5dbb890b3253c6d886d9b | 1,188 | h | C | src/EndPoint.h | polosskevin/lw_network | 834f995cf21e6efde51182554dea7631794e50f9 | [
"MIT"
] | 5 | 2018-01-23T18:13:08.000Z | 2018-01-28T21:10:38.000Z | src/EndPoint.h | polosskevin/lw_network | 834f995cf21e6efde51182554dea7631794e50f9 | [
"MIT"
] | 4 | 2018-01-10T15:56:30.000Z | 2018-01-28T16:08:57.000Z | src/network/EndPoint.h | polosskevin/rtype | 605707c430c4b5e6ebd2a19f8131ee59a1e990c5 | [
"MIT"
] | null | null | null | //
// Created by Kévin POLOSSAT on 10/01/2018.
//
#ifndef LW_TCP_SERVER_ENDPOINT_H
#define LW_TCP_SERVER_ENDPOINT_H
#include <cstddef>
#include <string>
#include "Protocol.h"
#include "socket_operations.h"
namespace lw_network {
class EndPoint {
public:
EndPoint();
EndPoint(addrinfo const *addrinfo, std::st... | 25.826087 | 98 | 0.70202 |
92485b8acd54c6f223c2258d90f8b81473b8c0f0 | 1,854 | h | C | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/PBXFilenameSmartGroup.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/PBXFilenameSmartGroup.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/DevToolsInterface/PBXFilenameSmartGroup.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsInterface/PBXSmartGroup.h>
@class NSMutableArray, NSString, PBXGroup, TSRegularExpression;
@interface PBXFilenameSmartGroup : PBXSmartGroup
{
NSMutableArra... | 28.523077 | 133 | 0.731931 |
fad249135a6235e74cba2473861afd243f8c96f6 | 1,463 | h | C | src/mame/machine/namco06.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/machine/namco06.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/machine/namco06.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Mike Harris, Aaron Giles
#ifndef MAME_MACHINE_NAMCO06_H
#define MAME_MACHINE_NAMCO06_H
#pragma once
/* device get info callback */
class namco_06xx_device : public device_t
{
public:
namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint3... | 25.666667 | 100 | 0.760082 |
4f133d8da2a851128dbee5cdf5816e60275bb133 | 3,304 | c | C | pkgs/apps/vips/src/libvips/histograms_lut/im_mpercent.c | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | pkgs/apps/vips/src/libvips/histograms_lut/im_mpercent.c | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | pkgs/apps/vips/src/libvips/histograms_lut/im_mpercent.c | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | /* find percent of pixels
* Copyright: 1990, N. Dessipris
*
* Author: N. Dessipris
* Written on: 02/08/1990
* Modified on : 29/4/93 K.Martinez for Sys5
* 20/2/95 JC
* - now returns result through parameter
* - ANSIfied a little
* 19/1/07
* - redone with the vips hist operators
* 25/3/10
* - gtkdoc
*/
... | 24.116788 | 79 | 0.661017 |
4d7c2d5fd9ee315299b64ef409ee083ebd34312d | 1,515 | c | C | server.c | martinb416/C-Server | 3b1d97b68913d8995eeba1d1a3654e342c572766 | [
"MIT"
] | null | null | null | server.c | martinb416/C-Server | 3b1d97b68913d8995eeba1d1a3654e342c572766 | [
"MIT"
] | null | null | null | server.c | martinb416/C-Server | 3b1d97b68913d8995eeba1d1a3654e342c572766 | [
"MIT"
] | null | null | null | /*
* Binds a socket to the host machine and begins listening.
* Handles the polling/receiving of new connections
*
* Author: Martin Buitrago
* 2018
*/
#include "common.h"
#include "server.h"
#define LISTEN_QUEUE 32
/*
* Set up and tear down the server structs, bind to a port, and start listening
* Returns the... | 21.956522 | 79 | 0.673267 |
9e15f353b7a05d6f4f740b57f751a4622d2c2250 | 114 | h | C | packages/arm32-issuer/rng.h | Dobrokhvalov/shibboleth | e8593b3f9680a467e09031ae90fb9b57d544aec2 | [
"MIT"
] | null | null | null | packages/arm32-issuer/rng.h | Dobrokhvalov/shibboleth | e8593b3f9680a467e09031ae90fb9b57d544aec2 | [
"MIT"
] | 2 | 2022-01-29T05:16:22.000Z | 2022-01-29T05:16:23.000Z | packages/arm32-issuer/rng.h | Dobrokhvalov/shibboleth | e8593b3f9680a467e09031ae90fb9b57d544aec2 | [
"MIT"
] | null | null | null | #ifndef RNG_H
#define RNG_H
#include <stdint.h>
int rng(uint8_t *dest, unsigned size);
void rng_init();
#endif | 11.4 | 38 | 0.719298 |
9e1f3e4efcd97089d70661a5d7ba3d820ca51bed | 35,505 | c | C | src/crt_abstractions.c | sergioprado/azure-c-shared-utility | 9ad82cf0e5d0768506dac2baa192829ae6f34188 | [
"MIT"
] | 1 | 2021-12-26T03:48:42.000Z | 2021-12-26T03:48:42.000Z | src/crt_abstractions.c | sergioprado/azure-c-shared-utility | 9ad82cf0e5d0768506dac2baa192829ae6f34188 | [
"MIT"
] | null | null | null | src/crt_abstractions.c | sergioprado/azure-c-shared-utility | 9ad82cf0e5d0768506dac2baa192829ae6f34188 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#define __STDC_WANT_LIB_EXT1__ 1
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <math.h>
#include <errno.h... | 42.368735 | 335 | 0.610449 |
b11676e4c37ab458165d392573177fad7b7fb46f | 5,268 | c | C | tools-src/gnu/glibc/sysdeps/unix/sysv/aix/tcsetattr.c | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | tools-src/gnu/glibc/sysdeps/unix/sysv/aix/tcsetattr.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | tools-src/gnu/glibc/sysdeps/unix/sysv/aix/tcsetattr.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /* Copyright (C) 1992, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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
... | 26.606061 | 76 | 0.65224 |
7f590737d650953758abbb49b1ef651906a53a5e | 1,052 | c | C | uart.c | 0x664b44c3/TallyRelayBox | 9916ebcb76059417b68008495c202987cb8a38ca | [
"MIT"
] | null | null | null | uart.c | 0x664b44c3/TallyRelayBox | 9916ebcb76059417b68008495c202987cb8a38ca | [
"MIT"
] | null | null | null | uart.c | 0x664b44c3/TallyRelayBox | 9916ebcb76059417b68008495c202987cb8a38ca | [
"MIT"
] | null | null | null | #include <avr/io.h>
#include <avr/pgmspace.h>
void uart_putc(unsigned char data)
{
/* Wait for empty transmit buffer */
while ( !( UCSR0A & (1<<UDRE0)) );
/* Put data into buffer, sends the data */
UDR0 = data;
}/* uart_putc */
/************************************************************************... | 25.658537 | 76 | 0.462928 |
36b057ab6e6e40947e2d0dc3febae6da97c6a8a4 | 1,257 | c | C | cracking-the-coding-interview/ch1-arrays-and-strings/1.2-reverse-string.c | joeghodsi/interview-questions | 3e4eb76891245ce978cb9171e87d60e3b292b0a8 | [
"Unlicense"
] | 1 | 2018-06-11T18:18:39.000Z | 2018-06-11T18:18:39.000Z | cracking-the-coding-interview/ch1-arrays-and-strings/1.2-reverse-string.c | joeghodsi/interview-questions | 3e4eb76891245ce978cb9171e87d60e3b292b0a8 | [
"Unlicense"
] | null | null | null | cracking-the-coding-interview/ch1-arrays-and-strings/1.2-reverse-string.c | joeghodsi/interview-questions | 3e4eb76891245ce978cb9171e87d60e3b292b0a8 | [
"Unlicense"
] | null | null | null | /*
Problem: In C or C++ write a function that reverses a null-terminated string
Solution: inc from start, dec from end. swap at each step
- linear time, constant space
total time: 46
mistakes:
- didn't deal with NULL edge case
struggles:
- char*:
- was passing "..." to function rather than setting... | 23.716981 | 87 | 0.595068 |
cffa9e9f876873ae1700be1bead3edd151b5fe89 | 45,667 | h | C | runtime/vm/compiler/assembler/assembler_x64.h | n0npax/sdk | b683098fde9611cea472cb081da2cea7ba15bc8b | [
"BSD-3-Clause"
] | 1 | 2021-09-26T13:34:27.000Z | 2021-09-26T13:34:27.000Z | runtime/vm/compiler/assembler/assembler_x64.h | Hector096/sdk | e7644d9a4c6f400680206f6d03135f24d0480052 | [
"BSD-3-Clause"
] | null | null | null | runtime/vm/compiler/assembler/assembler_x64.h | Hector096/sdk | e7644d9a4c6f400680206f6d03135f24d0480052 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_X64_H_
#define RUNTIME_VM_COMPILER_ASSEMBLER_ASSEMBLER_... | 36.621492 | 80 | 0.623711 |
82fc6fc24ca9e187e0b648ee12a3c3903d15717b | 459 | c | C | Sum Of Even Numbers.c | Wicerradien/C | a0ef1230a916a50918840c88f2eb0d9a8023599c | [
"MIT"
] | null | null | null | Sum Of Even Numbers.c | Wicerradien/C | a0ef1230a916a50918840c88f2eb0d9a8023599c | [
"MIT"
] | null | null | null | Sum Of Even Numbers.c | Wicerradien/C | a0ef1230a916a50918840c88f2eb0d9a8023599c | [
"MIT"
] | null | null | null | //
// main.c
// Sum Of Even Numbers Using Recurtion
//
// Created by Nafiur Rahman Dhrubo on 10/3/20.
//
#include <stdio.h>
int even_Sum (int x);
int main ()
{
int n, sum;
printf("Enter the number : ");
scanf("%d", &n);
printf("Sum of even numbers %d\n", even_Sum(n));
return 0;
}
int even_Sum(... | 14.34375 | 52 | 0.503268 |
963edf34adb61fb8d0b429913adf4fff7c9e958c | 4,890 | c | C | ds1307/ds1307.c | tfateba/drivers | 5d66b17d402ca75ff5fd486bee83315643ccdf0a | [
"Apache-2.0"
] | null | null | null | ds1307/ds1307.c | tfateba/drivers | 5d66b17d402ca75ff5fd486bee83315643ccdf0a | [
"Apache-2.0"
] | null | null | null | ds1307/ds1307.c | tfateba/drivers | 5d66b17d402ca75ff5fd486bee83315643ccdf0a | [
"Apache-2.0"
] | null | null | null | /**
*
* @file ds1307.c
*
* @brief Real time clock driver source file.
*
* @author Theodore Ateba, tf.ateba@gmail.com
*
* @date 21 June 2015
*
*/
/*==========================================================================*/
/* Include files. ... | 25.873016 | 78 | 0.51636 |
c582c1e674802e730ed65358a152eae4eeaac53a | 2,731 | h | C | Platform/OSX/Frameworks/OgreDebug.framework/Versions/A/Headers/OgreStableHeaders.h | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | 91 | 2015-01-19T11:03:56.000Z | 2022-03-12T15:54:06.000Z | Platform/OSX/Frameworks/OgreDebug.framework/Versions/A/Headers/OgreStableHeaders.h | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | null | null | null | Platform/OSX/Frameworks/OgreDebug.framework/Versions/A/Headers/OgreStableHeaders.h | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | 9 | 2015-03-16T03:36:50.000Z | 2021-06-17T09:47:26.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2006 Torus Knot Software Ltd
Also see acknowledgements in Readme.html
This program is fre... | 33.716049 | 85 | 0.738557 |
309d1c20e055e44a892fd9f180426b193f10719d | 162 | h | C | Example/Pods/Target Support Files/Pods-FlightKit_Tests/Pods-FlightKit_Tests-umbrella.h | nderkach/FlightKit | ea84778d5c116a5ddab82f7782ca95777cc6b9ef | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-FlightKit_Tests/Pods-FlightKit_Tests-umbrella.h | nderkach/FlightKit | ea84778d5c116a5ddab82f7782ca95777cc6b9ef | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-FlightKit_Tests/Pods-FlightKit_Tests-umbrella.h | nderkach/FlightKit | ea84778d5c116a5ddab82f7782ca95777cc6b9ef | [
"MIT"
] | null | null | null | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_FlightKit_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_FlightKit_TestsVersionString[];
| 23.142857 | 74 | 0.864198 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.