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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f27c0cb67d02005906fe0b3273ba29081c707c3 | 1,969 | h | C | incl/cs_eip202_global_ext.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | incl/cs_eip202_global_ext.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | incl/cs_eip202_global_ext.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | /* cs_eip202_global_ext.h
*
* Top-level EIP-202 Driver Library Global Control configuration extensions
*/
/*****************************************************************************
* Copyright (c) 2012-2013 INSIDE Secure B.V. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or... | 31.758065 | 79 | 0.559675 |
5c3f28e8db9c08d014dded995ce2f087b5bbb35b | 398 | h | C | Fireworks/Tracks/interface/estimate_field.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Fireworks/Tracks/interface/estimate_field.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | Fireworks/Tracks/interface/estimate_field.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef Fireworks_Tracks_estimate_field_h
#define Fireworks_Tracks_estimate_field_h
// -*- C++ -*-
//
// Package: Tracks
// Class : estimate_field
//
namespace reco {
class Track;
}
namespace fw {
double estimate_field( const reco::Track& track, bool highQuality = false );
double estimate_field( doub... | 22.111111 | 97 | 0.70603 |
b14d07d14f5105929ceb079f39fc0eaf080ebe85 | 1,183 | h | C | src/grid/MessageSection.h | fmidev/smartmet-library-grid-files | c68d271e12e3404cd805a423fe6c5b6c467f00e6 | [
"MIT"
] | null | null | null | src/grid/MessageSection.h | fmidev/smartmet-library-grid-files | c68d271e12e3404cd805a423fe6c5b6c467f00e6 | [
"MIT"
] | null | null | null | src/grid/MessageSection.h | fmidev/smartmet-library-grid-files | c68d271e12e3404cd805a423fe6c5b6c467f00e6 | [
"MIT"
] | null | null | null | #pragma once
#include "Typedefs.h"
#include "../common/AttributeList.h"
namespace SmartMet
{
namespace GRID
{
// ====================================================================================
/*!
\brief This class is a parent class for all message sections in different grid files.
It defines the basic met... | 29.575 | 110 | 0.563821 |
c08aac94da0ef6860ef21402f58ea5805c7abbe7 | 3,320 | c | C | src/spice3/src/lib/dev/mos1/mos1conv.c | yrrapt/cacd | 696f5a22cb71b83eabbb9de199f1972d458fa9e9 | [
"ISC"
] | 11 | 2019-10-16T11:03:49.000Z | 2021-09-28T19:46:12.000Z | src/spice3/src/lib/dev/mos1/mos1conv.c | yrrapt/cacd | 696f5a22cb71b83eabbb9de199f1972d458fa9e9 | [
"ISC"
] | null | null | null | src/spice3/src/lib/dev/mos1/mos1conv.c | yrrapt/cacd | 696f5a22cb71b83eabbb9de199f1972d458fa9e9 | [
"ISC"
] | 1 | 2021-09-29T18:15:17.000Z | 2021-09-29T18:15:17.000Z | /**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include "spice.h"
#include <stdio.h>
#include "cktdefs.h"
#include "mos1defs.h"
#include "sperror.h"
#include "util.h"
int
MOS1convTest(inModel,ckt)
GENmodel *inModel;
register... | 32.23301 | 80 | 0.480422 |
69f383bbd924813b792fc0ac68f6c4b4495440be | 1,431 | h | C | toolboxes/fft/gpu/cuFFTCachedPlan.h | roopchansinghv/gadgetron | fb6c56b643911152c27834a754a7b6ee2dd912da | [
"MIT"
] | 1 | 2022-02-22T21:06:36.000Z | 2022-02-22T21:06:36.000Z | toolboxes/fft/gpu/cuFFTCachedPlan.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | toolboxes/fft/gpu/cuFFTCachedPlan.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | #pragma once
#include "cuFFTPlan.h"
#include <map>
namespace Gadgetron {
template <class ComplexType> class cuFFTCachedPlan {
public:
cuFFTCachedPlan() = default;
void fft1(cuNDArray<ComplexType>& in_out, bool scale=true);
void fft2(cuNDArray<ComplexType>& in_out, bool scale=true);
void fft3(cuNDArr... | 38.675676 | 83 | 0.734451 |
0762e6cae138c1e156423a05bbf34bde239f9c3d | 451 | h | C | tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PART_OBJECT_TO_GC_DERIVED_CLASS_H_
#define PART_OBJECT_TO_GC_DERIVED_CLASS_H_
#include "heap/stubs.h"
namespace blink {
class A : public Garbag... | 18.04 | 73 | 0.747228 |
0d61edecc32ab5bca087bdf481b738c5622edfe5 | 23,253 | c | C | applications/c-toxcore/testing/av_test.c | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 17 | 2019-04-21T14:10:57.000Z | 2022-03-26T09:32:53.000Z | applications/c-toxcore/testing/av_test.c | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 22 | 2019-01-11T19:13:44.000Z | 2022-02-26T17:58:32.000Z | applications/c-toxcore/testing/av_test.c | gaohangaohan/qkd-net | 90f52104412b5c5c82668362dbd3e4791261f332 | [
"MIT"
] | 17 | 2019-03-06T17:29:29.000Z | 2021-08-10T10:17:09.000Z | /*
* Compile with (Linux only; in newly created directory toxcore/dir_name):
* gcc -o av_test ../toxav/av_test.c ../build/.libs/libtox*.a -lopencv_core \
* -lopencv_highgui -lopencv_imgproc -lsndfile -pthread -lvpx -lopus -lsodium -lportaudio
*/
/*
* Copyright © 2016-2017 The TokTok team.
* Copyright © 2013-2015... | 28.151332 | 123 | 0.583538 |
a666892e85da2ab2f3221b4c1a63d5703581abf6 | 2,826 | c | C | src/oneShot/hacTreeTest/hacTreeTest.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 171 | 2015-04-22T15:16:02.000Z | 2022-03-18T20:21:53.000Z | src/oneShot/hacTreeTest/hacTreeTest.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 60 | 2016-10-03T15:15:06.000Z | 2022-03-30T15:21:52.000Z | src/oneShot/hacTreeTest/hacTreeTest.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 80 | 2015-04-16T10:39:48.000Z | 2022-03-29T16:36:30.000Z | /* hacTreeTest - Test out various hacTree code. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "hacTree.h"
#include "pthreadDoList.h"
char* clHacTree = "fromItems";
int clThreads = 10;
void usage()
/* Explain usage and exit. */
{
errAbort(
"hacTreeTest - Test out vario... | 24.573913 | 105 | 0.650743 |
32bf2208a1dfa060cd63f8905d324857c7290d01 | 1,007 | c | C | user/biscuit/c/fstest.c | pdeantihuman/rcore-fork | c27736422f5c6dbb1d2224b8b0e2261988d6e650 | [
"MIT"
] | null | null | null | user/biscuit/c/fstest.c | pdeantihuman/rcore-fork | c27736422f5c6dbb1d2224b8b0e2261988d6e650 | [
"MIT"
] | null | null | null | user/biscuit/c/fstest.c | pdeantihuman/rcore-fork | c27736422f5c6dbb1d2224b8b0e2261988d6e650 | [
"MIT"
] | null | null | null | #include <common.h>
static char buf[1024];
void readprint(int fd)
{
long ret;
if ((ret = read(fd, &buf, sizeof(buf))) < 0) {
err(ret, "read");
exit(-1);
}
printf("FD %d read %ld bytes\n", fd, ret);
if (ret == sizeof(buf))
ret = sizeof(buf) - 1;
buf[ret] = '\0';
printf("FD %d returned: %s\n", fd, buf);
}
... | 18.309091 | 62 | 0.552135 |
8ed3923a85bd1d1650081bc55f0a00e04e1997fb | 378 | h | C | lua_addon/lua_screen.h | reverendhomer/OpenGTA | addd5e219314c32ecd7103a66f5dc4f5a6324182 | [
"MIT"
] | null | null | null | lua_addon/lua_screen.h | reverendhomer/OpenGTA | addd5e219314c32ecd7103a66f5dc4f5a6324182 | [
"MIT"
] | null | null | null | lua_addon/lua_screen.h | reverendhomer/OpenGTA | addd5e219314c32ecd7103a66f5dc4f5a6324182 | [
"MIT"
] | null | null | null | #ifndef LUA_OGTA_SCREEN_H
#define LUA_OGTA_SCREEN_H
#include "gl_screen.h"
#include "lua.hpp"
namespace OpenGTA {
namespace Script {
class Screen {
public:
static int getFullscreen(lua_State *L);
static int setFullscreen(lua_State *L);
static int makeScreenShot(lua_State *L);
... | 18 | 48 | 0.666667 |
508e388348d664e23e2ab4eaef93f55344eb3c4f | 769 | h | C | product/tc0/include/tc0_core.h | iwishguo/SCP-firmware | 85d038227bb3553965703ee19d7328cf7e157e81 | [
"BSD-3-Clause"
] | null | null | null | product/tc0/include/tc0_core.h | iwishguo/SCP-firmware | 85d038227bb3553965703ee19d7328cf7e157e81 | [
"BSD-3-Clause"
] | null | null | null | product/tc0/include/tc0_core.h | iwishguo/SCP-firmware | 85d038227bb3553965703ee19d7328cf7e157e81 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T04:36:51.000Z | 2020-11-04T04:36:51.000Z | /*
* Arm SCP/MCP Software
* Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef TC0_CORE_H
#define TC0_CORE_H
#include <fwk_assert.h>
#define TC0_CORE_PER_CLUSTER_MAX 4
#define CORES_PER_CLUSTER 4
#define NUMBER_OF_CLUSTERS 1
static in... | 20.236842 | 73 | 0.762029 |
742237332849854bbb987054fa8982a60cbbdc56 | 11,827 | h | C | include/_antic.h | karrika/cc65 | 2314cddb5a846fb526032525950058e086e9000c | [
"Zlib"
] | null | null | null | include/_antic.h | karrika/cc65 | 2314cddb5a846fb526032525950058e086e9000c | [
"Zlib"
] | null | null | null | include/_antic.h | karrika/cc65 | 2314cddb5a846fb526032525950058e086e9000c | [
"Zlib"
] | null | null | null | /*****************************************************************************/
/* */
/* _antic.h */
/* */
... | 46.380392 | 131 | 0.567938 |
1f866d6caa779b4d31aaf65715c0dc00a702fcd1 | 5,425 | c | C | dev_scripts/wokni/init_wokni.c | Sandeep-Sarma/ngic-rtc | d65e86595d03c4786ce9e6380f2e0d64c6f1db33 | [
"Apache-2.0"
] | null | null | null | dev_scripts/wokni/init_wokni.c | Sandeep-Sarma/ngic-rtc | d65e86595d03c4786ce9e6380f2e0d64c6f1db33 | [
"Apache-2.0"
] | null | null | null | dev_scripts/wokni/init_wokni.c | Sandeep-Sarma/ngic-rtc | d65e86595d03c4786ce9e6380f2e0d64c6f1db33 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 28.108808 | 90 | 0.686083 |
1f89cfc0e110849974fac9eb9b283f0f468b7aa9 | 2,241 | c | C | driver/misc/drv_fan.c | derek-yi/xdaemon | 38f6e26c03215f221dfffdade7bb92651c6122f4 | [
"MIT"
] | null | null | null | driver/misc/drv_fan.c | derek-yi/xdaemon | 38f6e26c03215f221dfffdade7bb92651c6122f4 | [
"MIT"
] | null | null | null | driver/misc/drv_fan.c | derek-yi/xdaemon | 38f6e26c03215f221dfffdade7bb92651c6122f4 | [
"MIT"
] | null | null | null |
#include "daemon_pub.h"
#include "drv_main.h"
#include "drv_cpu.h"
#include "drv_fpga.h"
uint32 FAN_PWM_CTRL=0x43c30258;
uint32 FAN_T_BDRY=0x43c3025c;
uint32 FAN_T_CTRL=0x43c30260;
uint32 FAN_T_THRESHOLD=0x43c30264;
uint32 FAN_TEMPRATURE=0x43c30268;
uint32 FAN_RPS=0x43c3026c;
uint32 FAN_RPS1=0x43c3027... | 26.05814 | 86 | 0.622044 |
941dbaac7f761753fb0da6d7db1073cfaf611f1f | 693 | h | C | Pods/AerisWeather/AerisWeatherSDK/Aeris.framework/Versions/A/Headers/AWFPrecipitationPeriod.h | spacedrabbit/CatAerisWeatherDemo | 7d6563a9dd0d33f1f8583b44abac01ca53b84517 | [
"MIT"
] | null | null | null | Pods/AerisWeather/AerisWeatherSDK/Aeris.framework/Versions/A/Headers/AWFPrecipitationPeriod.h | spacedrabbit/CatAerisWeatherDemo | 7d6563a9dd0d33f1f8583b44abac01ca53b84517 | [
"MIT"
] | null | null | null | Pods/AerisWeather/AerisWeatherSDK/Aeris.framework/Versions/A/Headers/AWFPrecipitationPeriod.h | spacedrabbit/CatAerisWeatherDemo | 7d6563a9dd0d33f1f8583b44abac01ca53b84517 | [
"MIT"
] | null | null | null | //
// AWFPrecipitationPeriod.h
// Aeris
//
// Created by Nicholas Shipes on 4/5/16.
// Copyright © 2016 Aeris Weather, LLC. All rights reserved.
//
#import <Aeris/AWFGeographicObject.h>
@interface AWFPrecipitationPeriod : AWFGeographicObject
/**
* Date the period is for.
*/
@property (strong, nonatomic) NSDat... | 25.666667 | 61 | 0.746032 |
e3b35cf21eab6dad15ddb8eb9d359b0821e8426b | 4,371 | h | C | third-party/webscalesqlclient/mysql-5.6/storage/rocksdb/properties_collector.h | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/storage/rocksdb/properties_collector.h | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/storage/rocksdb/properties_collector.h | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
Copyright (c) 2015, Facebook, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but ... | 29.533784 | 88 | 0.75795 |
e3fd4382c9b327d2ec97283bf989651059f20f5e | 1,560 | h | C | examples/complex/complex.h | anuragiitg/nixysa | e34b79b8c2bafafbdbdee21580ef9765d51b6c75 | [
"Apache-2.0"
] | 9 | 2015-03-23T17:34:49.000Z | 2021-10-16T22:54:16.000Z | examples/complex/complex.h | anuragiitg/nixysa | e34b79b8c2bafafbdbdee21580ef9765d51b6c75 | [
"Apache-2.0"
] | 1 | 2019-11-27T05:09:49.000Z | 2019-11-27T16:47:58.000Z | examples/complex/complex.h | anuragiitg/nixysa | e34b79b8c2bafafbdbdee21580ef9765d51b6c75 | [
"Apache-2.0"
] | 9 | 2015-12-06T20:42:16.000Z | 2022-03-31T09:27:55.000Z | // Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 31.836735 | 78 | 0.716667 |
2d9303481b613bdffeed8988bc74f46cc30972e8 | 1,321 | h | C | Core/SoarKernel/src/shared/triples.h | Bryan-Stearns/Soar | 969f4fec676293b459ed552ad096549519800534 | [
"BSD-2-Clause"
] | 1 | 2021-03-03T23:20:23.000Z | 2021-03-03T23:20:23.000Z | Core/SoarKernel/src/shared/triples.h | Bryan-Stearns/Soar | 969f4fec676293b459ed552ad096549519800534 | [
"BSD-2-Clause"
] | null | null | null | Core/SoarKernel/src/shared/triples.h | Bryan-Stearns/Soar | 969f4fec676293b459ed552ad096549519800534 | [
"BSD-2-Clause"
] | 1 | 2021-03-03T23:20:25.000Z | 2021-03-03T23:20:25.000Z | #ifndef CORE_SOARKERNEL_SRC_SHARED_TRIPLES_H_
#define CORE_SOARKERNEL_SRC_SHARED_TRIPLES_H_
#include "kernel.h"
typedef struct symbol_triple_struct
{
Symbol* id;
Symbol* attr;
Symbol* value;
symbol_triple_struct(Symbol* new_id = NULL, Symbol* new_attr = NULL, Symbol* new_value = NULL)... | 30.022727 | 198 | 0.701741 |
e17dac3fd69c338cb96e3f68f892c58f5ae9e7fd | 7,463 | h | C | cmd/CmdManager.h | dbonates/cmd | 30e8f2e3da0de47c9de3d15c652d87b8e27e38bd | [
"Unlicense",
"MIT"
] | 5 | 2017-11-21T15:57:26.000Z | 2017-12-03T03:45:05.000Z | cmd/CmdManager.h | dbonates/cmd | 30e8f2e3da0de47c9de3d15c652d87b8e27e38bd | [
"Unlicense",
"MIT"
] | null | null | null | cmd/CmdManager.h | dbonates/cmd | 30e8f2e3da0de47c9de3d15c652d87b8e27e38bd | [
"Unlicense",
"MIT"
] | null | null | null | //
// CmdManager.h
// cmd
//
// Created by Daniel Bonates on 10/11/17.
// Copyright © 2017 Daniel Bonates. All rights reserved.
//
#ifndef CmdManager_h
#define CmdManager_h
#endif /* CmdManager_h */
#import "Logger.h"
@interface CmdManager: NSObject
- (void)createDbFileIfNeeded;
@property (nonatomic, retain)... | 27.039855 | 146 | 0.607262 |
4bfdaab6064b882535eb7f67871b18f2a3891e34 | 884 | c | C | 1-echo_shell.c | MarcoANT9/Shell_Backup | fe557e0f3e762f54e4a424701c541dd8d15c1a48 | [
"MIT"
] | null | null | null | 1-echo_shell.c | MarcoANT9/Shell_Backup | fe557e0f3e762f54e4a424701c541dd8d15c1a48 | [
"MIT"
] | null | null | null | 1-echo_shell.c | MarcoANT9/Shell_Backup | fe557e0f3e762f54e4a424701c541dd8d15c1a48 | [
"MIT"
] | null | null | null | #include "dragola.h"
/**
* _echo_shell - Emulates a simple shell.
*
* @argenv: Environment variables.
*
* Description - This program emulates a simple shell with its prompt which
* waits for the user to input a command.
*
* Return: Nothing (Void).
*
*/
void _echo_shell(char *argenv[])
{
int r... | 19.217391 | 75 | 0.614253 |
ef0b6fdd5ca55f901a0fc4a33a84a6bb098504e1 | 23,292 | c | C | lib/dpdk-20.08/app/test/test_flow_classify.c | jhyunleehi/poseidonos | 1d90e4320855d61742ff37af8c0148da579d95d4 | [
"BSD-3-Clause"
] | null | null | null | lib/dpdk-20.08/app/test/test_flow_classify.c | jhyunleehi/poseidonos | 1d90e4320855d61742ff37af8c0148da579d95d4 | [
"BSD-3-Clause"
] | null | null | null | lib/dpdk-20.08/app/test/test_flow_classify.c | jhyunleehi/poseidonos | 1d90e4320855d61742ff37af8c0148da579d95d4 | [
"BSD-3-Clause"
] | null | null | null | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017 Intel Corporation
*/
#include <string.h>
#include <errno.h>
#include "test.h"
#include <rte_string_fns.h>
#include <rte_mbuf.h>
#include <rte_byteorder.h>
#include <rte_ip.h>
#include <rte_acl.h>
#include <rte_common.h>
#include <rte_table_acl.h>
#includ... | 26.558723 | 76 | 0.714408 |
dca198dfc6d70464ab8ce35d85eaeff3b4342bb6 | 1,630 | h | C | EstimoteFleetManagementSDK/EstimoteFleetManagementSDK.framework/Versions/A/Headers/ESTSimulatedBeaconManager.h | SmartSoftAsia/iOS-Fleet-Management-SDK | 5dfc845366c44be6de1414aca17e9e05ba0ef3fc | [
"MIT"
] | null | null | null | EstimoteFleetManagementSDK/EstimoteFleetManagementSDK.framework/Versions/A/Headers/ESTSimulatedBeaconManager.h | SmartSoftAsia/iOS-Fleet-Management-SDK | 5dfc845366c44be6de1414aca17e9e05ba0ef3fc | [
"MIT"
] | null | null | null | EstimoteFleetManagementSDK/EstimoteFleetManagementSDK.framework/Versions/A/Headers/ESTSimulatedBeaconManager.h | SmartSoftAsia/iOS-Fleet-Management-SDK | 5dfc845366c44be6de1414aca17e9e05ba0ef3fc | [
"MIT"
] | null | null | null | // Estimote Fleet Management SDK
// Copyright (c) 2015 Estimote. All rights reserved.
#import <CoreLocation/CoreLocation.h>
/**
* Use this class to simulate beacons.
*/
DEPRECATED_MSG_ATTRIBUTE("Deprecated since 4.31.0.")
@interface ESTSimulatedBeaconManager : CLLocationManager <CLLocationManagerDelegate>
/**
*... | 37.045455 | 95 | 0.752147 |
c2e1b6a331b222f4af43a1e404d03b964a64c1fc | 999 | h | C | Pods/Headers/Private/ZXLUpload/ZXLUploadFmdb.h | ZXLBoaConstrictor/ZXLBaseLibrary | b2b950dbba4a5182b2f636cbc7087829efe43f07 | [
"MIT"
] | 9 | 2019-03-30T14:23:33.000Z | 2021-04-01T08:11:50.000Z | Pods/Headers/Public/ZXLUpload/ZXLUploadFmdb.h | ZXLBoaConstrictor/ZXLBaseLibrary | b2b950dbba4a5182b2f636cbc7087829efe43f07 | [
"MIT"
] | null | null | null | Pods/Headers/Public/ZXLUpload/ZXLUploadFmdb.h | ZXLBoaConstrictor/ZXLBaseLibrary | b2b950dbba4a5182b2f636cbc7087829efe43f07 | [
"MIT"
] | 4 | 2019-04-17T03:09:35.000Z | 2021-12-09T06:09:13.000Z | //
// ZXLUploadFmdb.h
// ZXLUpload
// 上传信息本地数据库存储代码
// Created by 张小龙 on 2018/4/20.
// Copyright © 2018年 张小龙. All rights reserved.
//
#import <Foundation/Foundation.h>
@class ZXLTaskInfoModel;
@class ZXLFileInfoModel;
@interface ZXLUploadFmdb : NSObject
+(ZXLUploadFmdb*)manager;
//增
-(void)insertUploadTaskInfo:(... | 31.21875 | 76 | 0.800801 |
897c97a162587c6f50b04c4bc8904e266ebbe9a0 | 6,198 | h | C | include/utils/param.h | kaiping/RNNLM_PARAM_SHARING | 7d39f8813d057565224402e230afacb98c8c366b | [
"Apache-2.0"
] | null | null | null | include/utils/param.h | kaiping/RNNLM_PARAM_SHARING | 7d39f8813d057565224402e230afacb98c8c366b | [
"Apache-2.0"
] | null | null | null | include/utils/param.h | kaiping/RNNLM_PARAM_SHARING | 7d39f8813d057565224402e230afacb98c8c366b | [
"Apache-2.0"
] | null | null | null | #ifndef INCLUDE_UTILS_PARAM_H_
#define INCLUDE_UTILS_PARAM_H_
#include <vector>
#include <string>
#include <map>
#include <functional>
#include "proto/model.pb.h"
#include "utils/blob.h"
#include "communication/msg.h"
// Base paramter class.
namespace singa {
class Param {
public:
Param();
virtual ~Param(){ }
/*... | 25.297959 | 84 | 0.66828 |
899523a4809c70b72713a4f88c7bf09d45c83e70 | 192 | c | C | test/hpmove_spmd.c | lecpie/bsponmpi | 95e1539fdad2c7c4777784673278b15dafefe56e | [
"MIT"
] | 8 | 2019-02-16T19:19:01.000Z | 2021-11-15T09:41:03.000Z | test/hpmove_spmd.c | lecpie/bsponmpi | 95e1539fdad2c7c4777784673278b15dafefe56e | [
"MIT"
] | 1 | 2019-02-25T18:56:45.000Z | 2019-02-25T18:56:45.000Z | test/hpmove_spmd.c | lecpie/bsponmpi | 95e1539fdad2c7c4777784673278b15dafefe56e | [
"MIT"
] | 1 | 2019-03-01T14:40:54.000Z | 2019-03-01T14:40:54.000Z | #include <bsp.h>
#include "test.h"
TEST( hpmove_spmd, abort("bsp_hpmove: can only be called within SPMD section") )
{
void * tag;
void * payload;
bsp_hpmove( &tag, &payload );
}
| 17.454545 | 80 | 0.640625 |
fc7203a9d6ed1f2d745406f9c4ed5268a5f9bf91 | 1,074 | h | C | xo/shape/cylinder.h | tgeijten/xo | b60cbf2e19a4c4df0dc588cf53640f863676aff3 | [
"MIT"
] | 10 | 2019-11-08T06:09:59.000Z | 2022-01-04T08:51:23.000Z | xo/shape/cylinder.h | tgeijten/xo | b60cbf2e19a4c4df0dc588cf53640f863676aff3 | [
"MIT"
] | 16 | 2019-04-19T07:52:30.000Z | 2021-06-08T11:04:07.000Z | xo/shape/cylinder.h | tgeijten/xo | b60cbf2e19a4c4df0dc588cf53640f863676aff3 | [
"MIT"
] | 7 | 2018-01-23T19:41:08.000Z | 2020-06-25T12:36:50.000Z | #pragma once
#include "xo/system/assert.h"
#include <cmath>
namespace xo
{
/// cylinder shape, y-up
struct cylinder
{
cylinder() : radius_(), height_() {}
explicit cylinder( float radius, float height ) : radius_( radius ), height_( height ) {}
float radius_;
float height_;
};
inline float volume( cons... | 22.375 | 91 | 0.623836 |
0a5a177c10aebef85fcf537fdf36ea7c4d20d28e | 330 | h | C | src/glossary/include/GlossaryFactory.h | michalovsky/Glossary | a5623d474d7b8a839ef27571adfe5f2151a5fb79 | [
"MIT"
] | 6 | 2020-01-14T05:11:38.000Z | 2021-06-14T09:35:42.000Z | src/glossary/include/GlossaryFactory.h | michalovsky/Glossary | a5623d474d7b8a839ef27571adfe5f2151a5fb79 | [
"MIT"
] | null | null | null | src/glossary/include/GlossaryFactory.h | michalovsky/Glossary | a5623d474d7b8a839ef27571adfe5f2151a5fb79 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include "Glossary.h"
#include "GlossaryApi.h"
namespace glossary
{
class GLOSSARY_API GlossaryFactory
{
public:
virtual ~GlossaryFactory() = default;
virtual std::unique_ptr<Glossary> createGlossary() const = 0;
static std::unique_ptr<GlossaryFactory> createGlossaryFacto... | 17.368421 | 68 | 0.742424 |
50044d87ca3a0968e58fd79a2d41da479f60ddca | 2,477 | c | C | kernel/arch/i386/idt.c | cptaffe/os_v2 | b23706f6b88388aeb54c80fcd87f516ac4e3af5a | [
"MIT"
] | null | null | null | kernel/arch/i386/idt.c | cptaffe/os_v2 | b23706f6b88388aeb54c80fcd87f516ac4e3af5a | [
"MIT"
] | null | null | null | kernel/arch/i386/idt.c | cptaffe/os_v2 | b23706f6b88388aeb54c80fcd87f516ac4e3af5a | [
"MIT"
] | null | null | null |
// Copyright (c) 2015 Connor Taffe <cpaynetaffe@gmail.com>
#include <kernel/idt.h>
#include <kernel/pic.h>
#include <kernel/int.h>
#include <kernel/syscall.h>
#include <sys/io.h>
static idt_state idt_local = {
.entry = {{0}},
.ptr = {0},
.pic_base = 32,
.pic_masks = {0xfe, 0xff}
};
static void *int_handlers[] =... | 24.77 | 87 | 0.64998 |
fb7d81cb0fb2bce79d5894dfe6febae060028cac | 3,752 | h | C | src/utpdf.h | ftns/utpdf | a2693ae8e9e27eb42ce75b2a8b76f635d8fe397a | [
"Apache-2.0"
] | 2 | 2021-01-18T01:51:47.000Z | 2021-03-21T22:06:41.000Z | src/utpdf.h | ftns/utpdf | a2693ae8e9e27eb42ce75b2a8b76f635d8fe397a | [
"Apache-2.0"
] | null | null | null | src/utpdf.h | ftns/utpdf | a2693ae8e9e27eb42ce75b2a8b76f635d8fe397a | [
"Apache-2.0"
] | null | null | null | /*
utpdf/utps
margin-aware converter from utf-8 text to PDF/PostScript
Copyright (c) 2021 by Akihiro SHIMIZU
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/lic... | 28 | 79 | 0.698028 |
f7462625a99dcb25b676bd44037c7565025ab4ab | 343 | h | C | YWNetWorking/Classes/YWNetworking/NetWork/Categories/NSURLRequest+YWNetParams.h | flyOfYW/YWNetworking | 95cc464e42b28bbd6ff576b1b889f7b5984982e1 | [
"MIT"
] | 5 | 2017-01-26T06:24:51.000Z | 2021-06-24T09:09:24.000Z | YWNetWorking/Classes/YWNetworking/NetWork/Categories/NSURLRequest+YWNetParams.h | flyOfYW/YWNetworking | 95cc464e42b28bbd6ff576b1b889f7b5984982e1 | [
"MIT"
] | null | null | null | YWNetWorking/Classes/YWNetworking/NetWork/Categories/NSURLRequest+YWNetParams.h | flyOfYW/YWNetworking | 95cc464e42b28bbd6ff576b1b889f7b5984982e1 | [
"MIT"
] | null | null | null | //
// NSURLRequest+YWNetParams.h
// YWNetworkingExamples
//
// Created by Mr.Yao on 2019/9/12.
// Copyright © 2019 姚威. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSURLRequest (YWNetParams)
@property (nonatomic, copy) NSDictionary * _Nullable requestParams;
@end
... | 18.052632 | 67 | 0.758017 |
7472bb6e070b5a26fdbc4c5cf69dfd135b2f857c | 719 | h | C | ex3/fighter.h | sugartastic81/MCI_DiBSE21_MSE2 | 5565cbe7996402d70483bb5e63dfc0dc9389f0d7 | [
"Unlicense"
] | null | null | null | ex3/fighter.h | sugartastic81/MCI_DiBSE21_MSE2 | 5565cbe7996402d70483bb5e63dfc0dc9389f0d7 | [
"Unlicense"
] | null | null | null | ex3/fighter.h | sugartastic81/MCI_DiBSE21_MSE2 | 5565cbe7996402d70483bb5e63dfc0dc9389f0d7 | [
"Unlicense"
] | null | null | null | //
// Created by juerg on 26.03.2022.
//
#ifndef PROTOTYP_FIGHTER_H
#define PROTOTYP_FIGHTER_H
#include <string>
#include <iostream>
#include "item.h"
#include "character.h"
#include "npc.h"
using namespace std;
class Fighter : public NPC {
protected:
int muscle_strength;
public:
using NPC:... | 20.542857 | 56 | 0.67733 |
74bf2415f34fb23b0a3e36ba6f07fac8ae7d9414 | 250 | c | C | test/cases/cpp/optimize.c | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | 55 | 2015-02-07T12:31:13.000Z | 2022-02-19T15:25:02.000Z | test/cases/cpp/optimize.c | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | null | null | null | test/cases/cpp/optimize.c | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | 9 | 2015-08-06T21:26:33.000Z | 2022-01-14T03:44:40.000Z | // RUN: ! %ucc -dM -E -xc /dev/null | grep __OPTIMIZE__
// RUN: %ucc -O -dM -E -xc /dev/null | grep __OPTIMIZE__
// RUN: ! %ucc -O -dM -E -xc /dev/null | grep __OPTIMIZE_SIZE__
// RUN: %ucc -Os -dM -E -xc /dev/null | grep __OPTIMIZE_SIZE__
| 50 | 64 | 0.6 |
dd72d8cebb29a2ee8751e1d74372b7f3e5ab4c57 | 975 | h | C | src/Kontroller/firstblood/buttons.h | christoferjh/dustwars | 9ad050bbca3e07a91e150d7397a8839a8f017511 | [
"MIT"
] | null | null | null | src/Kontroller/firstblood/buttons.h | christoferjh/dustwars | 9ad050bbca3e07a91e150d7397a8839a8f017511 | [
"MIT"
] | null | null | null | src/Kontroller/firstblood/buttons.h | christoferjh/dustwars | 9ad050bbca3e07a91e150d7397a8839a8f017511 | [
"MIT"
] | null | null | null | #ifndef Oo_BUTTONS_H_oO
#define Oo_BUTTONS_H_oO
#include "lcd_engine.h"
//This only uses one port for gamecontroller
//The other port can easly be added. But sice I've only made one controller this was not necessary at the time.
//Init buttons
void button_init(void);
//Debugging
void test_buttons(LCD_engine *l... | 31.451613 | 113 | 0.786667 |
5a54053386c83253430b3f18b764fe3cb89bef30 | 6,461 | c | C | release/src-rt/linux/linux-2.6/net/core/dev_mcast.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src-rt/linux/linux-2.6/net/core/dev_mcast.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src-rt/linux/linux-2.6/net/core/dev_mcast.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*
* Linux NET3: Multicast List maintenance.
*
* Authors:
* Tim Kordas <tjk@nostromo.eeap.cwru.edu>
* Richard Underwood <richard@wuzz.demon.co.uk>
*
* Stir fried together from the IP multicast and CAP patches above
* Alan Cox <Alan.Cox@linux.org>
*
* Fixes:
* Alan Cox : Update the device on a real delete... | 21.827703 | 79 | 0.679461 |
eeebaadfd16e5125e6fc32f9f2fc6287dfcf2acb | 1,466 | h | C | ios/web_view/internal/web_view_web_state_policy_decider.h | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | ios/web_view/internal/web_view_web_state_policy_decider.h | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ios/web_view/internal/web_view_web_state_policy_decider.h | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_VIEW_INTERNAL_WEB_VIEW_WEB_STATE_POLICY_DECIDER_H_
#define IOS_WEB_VIEW_INTERNAL_WEB_VIEW_WEB_STATE_POLICY_DECIDER_H_
#import <Foundation... | 32.577778 | 79 | 0.797408 |
f68dd05d0ef0e0f951203c1d434f67d2932547dd | 2,100 | c | C | src/queue.c | UrekMazinoTOG/os-simulation | fa2ef796c593c8fc2a36d3ba128b759528dfd79d | [
"MIT"
] | 1 | 2020-05-26T16:47:00.000Z | 2020-05-26T16:47:00.000Z | src/queue.c | UrekMazinoTOG/os-simulation | fa2ef796c593c8fc2a36d3ba128b759528dfd79d | [
"MIT"
] | null | null | null | src/queue.c | UrekMazinoTOG/os-simulation | fa2ef796c593c8fc2a36d3ba128b759528dfd79d | [
"MIT"
] | null | null | null | #include "../include/queue.h"
#include <stddef.h> // macro : NULL(0)
#include <stdint.h> // type : int8_t
#include <stdbool.h> // type : bool
#include <assert.h> // macro : assert()
#define swap(X,Y) { __typeof__(X) _T = X; X = Y; Y = _T; }
// Utility function
int8_t parent(int8_t i) {return (i&1)?(i-1)>>1:(i-2)>... | 28 | 69 | 0.62 |
6e55a99d90290f7584eb88233ab811bfcb5c74b3 | 10,589 | c | C | labs/16-esp8266/libesp/esp-commands.c | Ouyancheng/RPi-WLAN-driver | f8650faa33ce47c6591285dbec09e0247e3343da | [
"MIT"
] | 23 | 2022-01-05T00:06:04.000Z | 2022-03-29T06:14:31.000Z | labs/16-esp8266/libesp/esp-commands.c | Ouyancheng/RPi-WLAN-driver | f8650faa33ce47c6591285dbec09e0247e3343da | [
"MIT"
] | null | null | null | labs/16-esp8266/libesp/esp-commands.c | Ouyancheng/RPi-WLAN-driver | f8650faa33ce47c6591285dbec09e0247e3343da | [
"MIT"
] | 11 | 2022-01-05T03:01:50.000Z | 2022-03-20T16:29:05.000Z | /*
* engler, cs140e: routines to use the ESP. put all your code here
* and in its header (esp-commands.h). do not modify anything else
* in case we need to push bug fixes. sorry.
*
* big issue was the right strategy for handling messages we didn't expect.
* i think everything but message data has a newline ca... | 30.87172 | 96 | 0.585891 |
dc0d04a6a67609454db119ac02f1f4a4f948bd47 | 2,020 | h | C | Portable/zoolib/ChanRPos_XX_ChanR.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 13 | 2015-01-28T21:05:09.000Z | 2021-11-03T22:21:11.000Z | Portable/zoolib/ChanRPos_XX_ChanR.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | null | null | null | Portable/zoolib/ChanRPos_XX_ChanR.h | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 4 | 2018-11-16T08:33:33.000Z | 2021-12-11T19:40:46.000Z | // Copyright (c) 2021 Andrew Green. MIT License. http://www.zoolib.org
#ifndef __ZooLib_ChanRPos_XX_ChanR_h__
#define __ZooLib_ChanRPos_XX_ChanR_h__ 1
#include "zconfig.h"
#include "zoolib/ChanR.h"
#include "zoolib/Util_Chan.h" // For sECopyAll, sCopyFully.
namespace ZooLib {
// ====================================... | 23.764706 | 100 | 0.683663 |
4925f22dff0af0a009196cb5eb5d473fbc9add0e | 1,546 | h | C | drivers/net/wwan/iosm/iosm_ipc_wwan.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | drivers/net/wwan/iosm/iosm_ipc_wwan.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 1 | 2021-01-27T01:29:47.000Z | 2021-01-27T01:29:47.000Z | drivers/net/wwan/iosm/iosm_ipc_wwan.h | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | /* SPDX-License-Identifier: GPL-2.0-only
*
* Copyright (C) 2020-21 Intel Corporation.
*/
#ifndef IOSM_IPC_WWAN_H
#define IOSM_IPC_WWAN_H
/**
* ipc_wwan_init - Allocate, Init and register WWAN device
* @ipc_imem: Pointer to imem data-struct
* @dev: Pointer to device structure
*
* Returns: Pointer to instance... | 27.607143 | 80 | 0.728331 |
563274dab2afd5909e4389a9da3b1f4e98bb216a | 5,512 | h | C | dnn_project/dnn/util/gammatone_fb.h | alexeyche/dnn_old | 58305cf486187575312cef0a753c86a8c7792196 | [
"MIT"
] | null | null | null | dnn_project/dnn/util/gammatone_fb.h | alexeyche/dnn_old | 58305cf486187575312cef0a753c86a8c7792196 | [
"MIT"
] | null | null | null | dnn_project/dnn/util/gammatone_fb.h | alexeyche/dnn_old | 58305cf486187575312cef0a753c86a8c7792196 | [
"MIT"
] | null | null | null | #pragma once
#define BW_CORRECTION 1.0190
#define VERY_SMALL_NUMBER 1e-200
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
/*=======================
* Utility functions
*=======================
*/
#define myMax(x,y) ( ( x ) > ( y ) ? ( x ) : ( y ) )
#define myMod(x,y) ( ( x ) -... | 36.263158 | 109 | 0.396589 |
c683b923af7b2f926f97ac9fc87b6241e3af7de4 | 199 | c | C | c02/ex08/ft_strlowcase.c | luanldcarvalho/42Basecamp | 2d5ba76eac254ecb5c7d768e880fcc34f4acdc1e | [
"MIT"
] | null | null | null | c02/ex08/ft_strlowcase.c | luanldcarvalho/42Basecamp | 2d5ba76eac254ecb5c7d768e880fcc34f4acdc1e | [
"MIT"
] | null | null | null | c02/ex08/ft_strlowcase.c | luanldcarvalho/42Basecamp | 2d5ba76eac254ecb5c7d768e880fcc34f4acdc1e | [
"MIT"
] | null | null | null | char *ft_strlowcase(char *str)
{
int index;
index = 0;
while (str[index] != '\0')
{
if (str[index] >= 'A' && str[index] <= 'Z')
str[index] = str[index] + 32;
index++;
}
return (str);
}
| 14.214286 | 45 | 0.522613 |
566a55ec6d656d3643b926f69186845335d448ed | 322 | h | C | MyGE/src/MyGE/EntryPoint.h | tomasmartinsantos/MyGE | 30f8d9ef6c101fae6c01cc8907dc01c35bbed33a | [
"Apache-2.0"
] | null | null | null | MyGE/src/MyGE/EntryPoint.h | tomasmartinsantos/MyGE | 30f8d9ef6c101fae6c01cc8907dc01c35bbed33a | [
"Apache-2.0"
] | null | null | null | MyGE/src/MyGE/EntryPoint.h | tomasmartinsantos/MyGE | 30f8d9ef6c101fae6c01cc8907dc01c35bbed33a | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifdef MG_PLATFORM_WINDOWS
extern MyGE::Application* MyGE::CreateApplication();
int main(int argc, char** argv)
{
MyGE::Log::Init();
MG_CORE_WARN("Initialized Log");
int a = 5;
MG_INFO("Hello Var={0}", a);
auto App = MyGE::CreateApplication();
App->Run();
delete App;
}
#end... | 16.947368 | 52 | 0.636646 |
b6aa007072839336e35ac90fbb6d3933bc5c8c32 | 4,415 | c | C | src/kernel/proc/process.c | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 80 | 2016-03-27T04:26:57.000Z | 2021-12-24T08:27:55.000Z | src/kernel/proc/process.c | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 1 | 2016-12-08T18:08:20.000Z | 2018-02-23T02:51:35.000Z | src/kernel/proc/process.c | zhengruohuang/toddler | 0d7bde9aaf1fab8fed5f37973eeda9eaa100bd7a | [
"BSD-2-Clause"
] | 11 | 2017-05-09T01:42:07.000Z | 2020-02-13T13:56:36.000Z | /*
* Process manager
*/
#include "common/include/data.h"
#include "common/include/errno.h"
#include "common/include/memory.h"
#include "kernel/include/hal.h"
#include "kernel/include/mem.h"
#include "kernel/include/lib.h"
#include "kernel/include/coreimg.h"
#include "kernel/include/exec.h"
#include "kernel/include/... | 24.258242 | 104 | 0.615629 |
5e2892df1bff08376862676e840850183e78b494 | 30,326 | c | C | ports/esp32/components/driver_framebuffer/fonts/Graphik_Bold16pt7b.c | open-lv/micropython | 60413546add6ffd62609e3b629fc286b639cd4dc | [
"MIT"
] | null | null | null | ports/esp32/components/driver_framebuffer/fonts/Graphik_Bold16pt7b.c | open-lv/micropython | 60413546add6ffd62609e3b629fc286b639cd4dc | [
"MIT"
] | null | null | null | ports/esp32/components/driver_framebuffer/fonts/Graphik_Bold16pt7b.c | open-lv/micropython | 60413546add6ffd62609e3b629fc286b639cd4dc | [
"MIT"
] | null | null | null | #include "../include/driver_framebuffer.h"
const uint8_t Graphik_Bold16pt7bBitmaps[] = {
0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xC0, 0x01, 0xEF, 0xFF, 0xFF, 0xF7, 0x80, 0xFD, 0xFF, 0x9F, 0xF9, 0xF7,
0x9F, 0x79, 0xF7, 0x9F, 0x79, 0xF7, 0x8F, 0x0F, 0x3C, 0x0F, 0x3C, 0x0F,
0x3C, 0... | 68.301802 | 73 | 0.593121 |
5e5ed781e1600335904c15dc79bda5b44d08b6ac | 1,776 | h | C | include/efi/defs.h | mxre/zloader | 57e55b6a5e4033fd429d5d863ac9830fc61d7d13 | [
"BSD-2-Clause"
] | 1 | 2022-03-28T09:49:15.000Z | 2022-03-28T09:49:15.000Z | include/efi/defs.h | mxre/zloader | 57e55b6a5e4033fd429d5d863ac9830fc61d7d13 | [
"BSD-2-Clause"
] | 1 | 2021-11-12T19:57:09.000Z | 2021-11-13T05:20:04.000Z | include/efi/defs.h | mxre/zloader | 57e55b6a5e4033fd429d5d863ac9830fc61d7d13 | [
"BSD-2-Clause"
] | 1 | 2021-11-12T18:37:36.000Z | 2021-11-12T18:37:36.000Z | #pragma once
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdalign.h>
#include "compiler.h"
typedef size_t efi_status_t;
typedef size_t efi_size_t;
typedef void* efi_handle_t;
typedef char char8_t;
typedef uint16_t char16_t;
struct __packed efi_guid {
union {
struct {
uint32_t ms1;
... | 21.39759 | 56 | 0.745495 |
5e7cee34f75ceaeb16dbf4f607d262fb1aa91142 | 1,099 | h | C | modules/mapred/map_pipe_task.h | spiralgenetics/biograph | 33c78278ce673e885f38435384f9578bfbf9cdb8 | [
"BSD-2-Clause"
] | 16 | 2021-07-14T23:32:31.000Z | 2022-03-24T16:25:15.000Z | modules/mapred/map_pipe_task.h | spiralgenetics/biograph | 33c78278ce673e885f38435384f9578bfbf9cdb8 | [
"BSD-2-Clause"
] | 9 | 2021-07-20T20:39:47.000Z | 2021-09-16T20:57:59.000Z | modules/mapred/map_pipe_task.h | spiralgenetics/biograph | 33c78278ce673e885f38435384f9578bfbf9cdb8 | [
"BSD-2-Clause"
] | 9 | 2021-07-15T19:38:35.000Z | 2022-01-31T19:24:56.000Z | #pragma once
#include "modules/mapred/map_task.h"
#include "modules/io/log.h"
struct pipe_params;
struct temp_file_spec;
class map_pipe_task : public task_impl<map_pipe_task>
{
public:
static std::string s_type() { return "map_pipe"; }
TRANSFER_OBJECT
{
VERSION(0);
FIELD(input_stream, TF_... | 23.891304 | 100 | 0.717925 |
395b32592f2eb86783e0f7e4143dda7a7e5c362d | 6,391 | h | C | legacy/Euler3/include/lattice.h | carterbox/cold | 2738e6e9ccfd13007ac4fd987bf1a75656d358bd | [
"BSD-3-Clause"
] | null | null | null | legacy/Euler3/include/lattice.h | carterbox/cold | 2738e6e9ccfd13007ac4fd987bf1a75656d358bd | [
"BSD-3-Clause"
] | 6 | 2022-01-21T17:14:55.000Z | 2022-03-31T10:34:20.000Z | legacy/Euler3/include/lattice.h | carterbox/cold | 2738e6e9ccfd13007ac4fd987bf1a75656d358bd | [
"BSD-3-Clause"
] | 1 | 2022-01-21T17:48:28.000Z | 2022-01-21T17:48:28.000Z | #ifndef LATTICE_H
#define LATTICE_H
#ifndef CHECK_FREE
#define CHECK_FREE(A) { if(A) free(A); (A)=NULL;}
#endif
#ifndef STD_TEMP_DEF_
#define STD_TEMP_DEF_
#define STD_TEMP 22.5 /* standard temperature (C) */
#endif
#ifndef ROOM_TEMP_DEF_
#define ROOM_TEMP_DEF_
#define ROOM_TEMP STD_TEMP /* room temperature (C... | 40.967949 | 138 | 0.69238 |
c2217ff9d91646ee75dcdab06c301c0610f3222f | 306 | h | C | trie.h | michelchevalier/hackysack | 332e4afdff52f43d9f5d71bd39232bd627045e86 | [
"Unlicense"
] | null | null | null | trie.h | michelchevalier/hackysack | 332e4afdff52f43d9f5d71bd39232bd627045e86 | [
"Unlicense"
] | null | null | null | trie.h | michelchevalier/hackysack | 332e4afdff52f43d9f5d71bd39232bd627045e86 | [
"Unlicense"
] | null | null | null | /*
* An ASCII trie
*/
#ifndef TRIE_H
#define TRIE_H
typedef struct _trienode {
struct _trienode *leaves[128];
void *data;
} trienode;
extern size_t trienodesize;
size_t trie_add_string(trienode *t, const char *str, void *data);
void *trie_match_string(trienode *t, const char *str);
#endif
| 15.3 | 65 | 0.712418 |
5ea5b26339e943ed229e9187dc6b1f2e4e78c182 | 1,901 | h | C | video.h | rogerboesch/x16-emulator | e86431245705e09eafde174c3c93aef2dd5d2a10 | [
"BSD-2-Clause"
] | 1 | 2021-04-22T09:19:52.000Z | 2021-04-22T09:19:52.000Z | video.h | rogerboesch/x16-emulator | e86431245705e09eafde174c3c93aef2dd5d2a10 | [
"BSD-2-Clause"
] | null | null | null | video.h | rogerboesch/x16-emulator | e86431245705e09eafde174c3c93aef2dd5d2a10 | [
"BSD-2-Clause"
] | null | null | null | // Commander X16 Emulator
// Copyright (c) 2019 Michael Steil
// All rights reserved. License: 2-clause BSD
#ifndef _VIDEO_H_
#define _VIDEO_H_
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "glue.h"
#include "platform_ios.h"
#define ADDR_VRAM_START 0x00000
#define ADDR_VRAM_END 0x200... | 26.041096 | 106 | 0.791163 |
c3c4b53cdd402ac2f7e7f93923eb3a70cd2a774a | 79 | h | C | MandelbrotVS/MandelbrotShared/image.h | tupieurods/mandelbrot-dyn | 4c29b966b200857f94e91c81031f8495a3da6d99 | [
"MIT"
] | null | null | null | MandelbrotVS/MandelbrotShared/image.h | tupieurods/mandelbrot-dyn | 4c29b966b200857f94e91c81031f8495a3da6d99 | [
"MIT"
] | null | null | null | MandelbrotVS/MandelbrotShared/image.h | tupieurods/mandelbrot-dyn | 4c29b966b200857f94e91c81031f8495a3da6d99 | [
"MIT"
] | null | null | null | #pragma once
void save_image(const char* filename, int* dwells, int w, int h); | 26.333333 | 65 | 0.734177 |
57f682f7a0de16150b4edec660d934d488b02a41 | 261 | c | C | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/goacc/parallel-dims-1.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/goacc/parallel-dims-1.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/goacc/parallel-dims-1.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | /* Valid use of OpenACC parallelism dimensions clauses: num_gangs, num_workers,
vector_length. */
void f(int i)
{
#pragma acc kernels num_gangs(i) num_workers(i) vector_length(i)
;
#pragma acc parallel num_gangs(i) num_workers(i) vector_length(i)
;
}
| 21.75 | 79 | 0.735632 |
411f735aa102dddb42a53005362e88322942d194 | 149 | h | C | src/macro.h | 1BADragon/raytrace | 0a3f943e11858c82186436e9d6b0af50df25923f | [
"MIT"
] | null | null | null | src/macro.h | 1BADragon/raytrace | 0a3f943e11858c82186436e9d6b0af50df25923f | [
"MIT"
] | null | null | null | src/macro.h | 1BADragon/raytrace | 0a3f943e11858c82186436e9d6b0af50df25923f | [
"MIT"
] | null | null | null | #ifndef MACRO_H
#define MACRO_H
#define STRINGIZE(a) _STRINGIZE(a)
#define _STRINGIZE(a) __STRINGIZE(a)
#define __STRINGIZE(a) #a
#endif //MACRO_H
| 16.555556 | 36 | 0.758389 |
41d67bcf5e7beddfd26efefd391fdbf6f5a033bc | 2,734 | c | C | 2D arrays/main.c | violet-sunn/Programming-Languages | 14026f85bc6196fbc1d2cd9d8c8d9c738c7a23ac | [
"MIT"
] | null | null | null | 2D arrays/main.c | violet-sunn/Programming-Languages | 14026f85bc6196fbc1d2cd9d8c8d9c738c7a23ac | [
"MIT"
] | null | null | null | 2D arrays/main.c | violet-sunn/Programming-Languages | 14026f85bc6196fbc1d2cd9d8c8d9c738c7a23ac | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
//TASK 1
int main()
{
int n, m, count, max = 0, max_i = 0, sum = 0;
scanf("%d %d", &n, &m);
int **x, *y;
x = (int **)calloc(n, sizeof(int *));
for (int i = 0; i < n; i++)
x[i] = (int *)calloc(m, sizeof(int));
for (int i = 0; i < n; i++) {
c... | 21.872 | 49 | 0.314557 |
579c82e78b9789d60bc62855bf785108efbae4c7 | 100 | h | C | Chapitre 8 - Avec Assimp/PetitMoteur3D/CollisionTypes.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | Chapitre 8 - Avec Assimp/PetitMoteur3D/CollisionTypes.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | Chapitre 8 - Avec Assimp/PetitMoteur3D/CollisionTypes.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | #pragma once
enum CollisionTypes
{
kPlayer = 1 << 0,
kTerrain = 1 << 1,
kObstacle = 1 << 2
};
| 12.5 | 20 | 0.58 |
7e477c8f1cba96c5bde7d85c9b2290be3431ccd8 | 240 | h | C | server/src/deterministic.h | utnapischtim/polygon | 4c926553f436199d643f43a0129610d8d67d72da | [
"MIT"
] | null | null | null | server/src/deterministic.h | utnapischtim/polygon | 4c926553f436199d643f43a0129610d8d67d72da | [
"MIT"
] | null | null | null | server/src/deterministic.h | utnapischtim/polygon | 4c926553f436199d643f43a0129610d8d67d72da | [
"MIT"
] | null | null | null | #ifndef DETERMINISTIC_H_
#define DETERMINISTIC_H_
#include "CommonSetting.h"
#include "Filter.h"
#include "Point.h"
namespace pl::det {
PointList deterministic(CommonSettingList common_settings, FilterList /*local_filters*/);
}
#endif
| 16 | 89 | 0.783333 |
dfed7703095387fafb223e043b7b6a6db444ada4 | 1,199 | c | C | src/MaterialValidator.c | St-Alin/a3-4-alin | e5573c83f70b9b3712440cc28a33eee2e66dda39 | [
"Xnet",
"X11"
] | null | null | null | src/MaterialValidator.c | St-Alin/a3-4-alin | e5573c83f70b9b3712440cc28a33eee2e66dda39 | [
"Xnet",
"X11"
] | null | null | null | src/MaterialValidator.c | St-Alin/a3-4-alin | e5573c83f70b9b3712440cc28a33eee2e66dda39 | [
"Xnet",
"X11"
] | null | null | null | #include "MaterialValidator.h"
#include <string.h>
#include <math.h>
const char* VALID_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 `~!@#$%^&*()-_=+[{]}\\|;:'\",<.>/?";
int matValid_validate(const Material* mat)
{
if (mat == NULL)
return 0;
// Id.
if (material_id(mat) < 0)... | 24.469388 | 127 | 0.597164 |
623eda82c57624317f74ffcf39f6474c94cdfc9d | 48 | h | C | riscv/insns/vsh.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | 1 | 2015-07-19T07:34:32.000Z | 2015-07-19T07:34:32.000Z | riscv/insns/vsh.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | null | null | null | riscv/insns/vsh.h | qmn/riscv-isa-sim | 917b74c2fe8bcef5c12acda72f5f84cc4e13173e | [
"BSD-3-Clause"
] | 1 | 2022-01-17T19:58:49.000Z | 2022-01-17T19:58:49.000Z | require_vector;
VEC_STORE(RD, store_uint16, 2);
| 16 | 31 | 0.791667 |
2b7c084923c6e07daf350d02bda4ddd448a4ed8c | 1,872 | h | C | scripts/bananapi/rootfs/usr/src/linux-headers-4.9.241-BPI-M5/include/linux/amlogic/media/registers/register_map.h | Dangku/openEuler-bananapi | 058184debb766ce9bb9ea7ebe340fa861ecdd58b | [
"MulanPSL-1.0"
] | null | null | null | scripts/bananapi/rootfs/usr/src/linux-headers-4.9.241-BPI-M5/include/linux/amlogic/media/registers/register_map.h | Dangku/openEuler-bananapi | 058184debb766ce9bb9ea7ebe340fa861ecdd58b | [
"MulanPSL-1.0"
] | null | null | null | scripts/bananapi/rootfs/usr/src/linux-headers-4.9.241-BPI-M5/include/linux/amlogic/media/registers/register_map.h | Dangku/openEuler-bananapi | 058184debb766ce9bb9ea7ebe340fa861ecdd58b | [
"MulanPSL-1.0"
] | null | null | null | /*
* include/linux/amlogic/media/registers/register_map.h
*
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of t... | 43.534884 | 78 | 0.803953 |
44f1e1dca0919f0cfd887bc04babf2fab53b879c | 10,065 | c | C | src/mod_uploadprogress.c | LeSpocky/lighttpd1.4 | 55d787cd5520376074326cdb22be4274c3c886ca | [
"BSD-3-Clause"
] | 458 | 2015-01-24T04:01:23.000Z | 2022-03-27T07:58:12.000Z | src/mod_uploadprogress.c | LeSpocky/lighttpd1.4 | 55d787cd5520376074326cdb22be4274c3c886ca | [
"BSD-3-Clause"
] | 95 | 2015-02-07T11:50:07.000Z | 2021-11-05T11:00:35.000Z | src/mod_uploadprogress.c | LeSpocky/lighttpd1.4 | 55d787cd5520376074326cdb22be4274c3c886ca | [
"BSD-3-Clause"
] | 265 | 2015-03-10T16:01:26.000Z | 2022-03-15T01:57:39.000Z | #include "first.h"
#include "algo_splaytree.h"
#include "log.h"
#include "buffer.h"
#include "request.h"
#include "http_header.h"
#include "plugin.h"
#include <stdlib.h>
#include <string.h>
/**
* this is a uploadprogress for a lighttpd plugin
*
*/
typedef struct {
buffer r_id;
request_st *r;
int ndx... | 30.044776 | 170 | 0.649478 |
6d1130a203fbd197a25e789a9f259e7e928aa390 | 330 | h | C | gameSource.h | abhaymitra/dirt-bike-racing | 75fc6fed1ffea1c70f531b8370a8b3e976d653e4 | [
"MIT"
] | 1 | 2019-03-10T14:58:27.000Z | 2019-03-10T14:58:27.000Z | gameSource.h | abhaymitra/dirt-bike-racing | 75fc6fed1ffea1c70f531b8370a8b3e976d653e4 | [
"MIT"
] | null | null | null | gameSource.h | abhaymitra/dirt-bike-racing | 75fc6fed1ffea1c70f531b8370a8b3e976d653e4 | [
"MIT"
] | null | null | null | /**
@file gameSource.h
Defines the publicly available functions of the gameSource file.
These includes bilinear Interpolation and calculate Tangent required by the Physics Engine.
*/
float vecDifference(float, float, float,float,float, float);
float bilinearInterpolation(float, float);
float calculatePhi(float,float... | 27.5 | 91 | 0.80303 |
4315d55d2fce85a9301a8d3f3285651c7dd7c831 | 137 | c | C | 4388/4388.c | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 14 | 2017-05-02T02:00:42.000Z | 2021-11-16T07:25:29.000Z | 4388/4388.c | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 1 | 2017-12-25T14:18:14.000Z | 2018-02-07T06:49:44.000Z | 4388/4388.c | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 9 | 2016-03-03T22:06:52.000Z | 2020-04-30T22:06:24.000Z | main(a,b,r,i){for(;scanf("%d %d",&a,&b),a+b;){r=0;for(i=10;(a/i!=0)||(b/i!=0);i*=10)a%i+b%i>=i?r++:0;a%i+b%i>=i?r++:0;printf("%d\n",r);}} | 137 | 137 | 0.452555 |
d8b14f14c669c80131c4e2ef4309029e5098b8a0 | 8,187 | c | C | src/lib/hrt/hrt-thread-pool.c | havocp/hwf | a99e9a0461983226717b278513cfd9f1e53ba0f1 | [
"MIT"
] | 1 | 2015-04-19T10:49:48.000Z | 2015-04-19T10:49:48.000Z | src/lib/hrt/hrt-thread-pool.c | havocp/hwf | a99e9a0461983226717b278513cfd9f1e53ba0f1 | [
"MIT"
] | null | null | null | src/lib/hrt/hrt-thread-pool.c | havocp/hwf | a99e9a0461983226717b278513cfd9f1e53ba0f1 | [
"MIT"
] | null | null | null | /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/*
* Copyright (c) 2010 Havoc Pennington
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including... | 25.584375 | 79 | 0.639184 |
94d2d4479968b032ec3826a8c10d4871b1b7896f | 23,642 | c | C | alice4/software/ideas/draw_lamp.c | lkesteloot/alice | 44b85caf744e5830536b5e813e761cc0ce3f695e | [
"Apache-2.0"
] | 63 | 2015-08-14T23:27:39.000Z | 2022-03-09T22:46:11.000Z | alice4/software/ideas/draw_lamp.c | lkesteloot/alice | 44b85caf744e5830536b5e813e761cc0ce3f695e | [
"Apache-2.0"
] | 64 | 2015-09-11T23:13:03.000Z | 2018-10-29T09:38:06.000Z | alice4/software/ideas/draw_lamp.c | lkesteloot/alice | 44b85caf744e5830536b5e813e761cc0ce3f695e | [
"Apache-2.0"
] | 9 | 2016-01-06T00:06:33.000Z | 2021-12-07T10:38:15.000Z | #include <gl.h>
#include "objects.h"
float hp[6][13][3] = {
{
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000, 1.000000},
{0.000000, 0.000000... | 30.427284 | 36 | 0.564842 |
ff431b97720f3999d81a49092f65dc004d8b36d6 | 5,168 | h | C | Interfaz Grafica/Debug_old.h | ORParga/Interfaz_Grafica | d27ae9aa4e7d2639c3515bd428f60ca8bfbf3378 | [
"MIT"
] | null | null | null | Interfaz Grafica/Debug_old.h | ORParga/Interfaz_Grafica | d27ae9aa4e7d2639c3515bd428f60ca8bfbf3378 | [
"MIT"
] | null | null | null | Interfaz Grafica/Debug_old.h | ORParga/Interfaz_Grafica | d27ae9aa4e7d2639c3515bd428f60ca8bfbf3378 | [
"MIT"
] | null | null | null | #pragma once
#include <Windows.h>
class _DEBUGGER
{
//********************************** VARIAS
static const int COMODIN_LENGHT = 1024;
//comodin reservado para this->Debug()
wchar_t comodin[COMODIN_LENGHT];
//****************************** OUTPUT *****************************************************... | 30.046512 | 161 | 0.699884 |
9e3fc1b41739809064f9f727fdb15a5e2034e4e2 | 5,903 | h | C | jni/enet/include/protocol.h | Astroyaxx/Automic-fixed-source | 0d36ee371619dfd9155ea0d26d4eb5f4fc8f2cf9 | [
"MIT"
] | 11 | 2021-07-27T08:52:26.000Z | 2022-03-27T08:34:55.000Z | jni/enet/include/protocol.h | Astroyaxx/Automic-fixed-source | 0d36ee371619dfd9155ea0d26d4eb5f4fc8f2cf9 | [
"MIT"
] | 3 | 2021-09-07T19:58:56.000Z | 2022-02-15T13:15:08.000Z | jni/enet/include/protocol.h | Astroyaxx/Automic-fixed-source | 0d36ee371619dfd9155ea0d26d4eb5f4fc8f2cf9 | [
"MIT"
] | 5 | 2021-07-07T09:07:25.000Z | 2021-12-08T02:44:28.000Z | /**
@file protocol.h
@brief ENet protocol
*/
#ifndef __ENET_PROTOCOL_H__
#define __ENET_PROTOCOL_H__
#include "../include/types.h"
enum
{
ENET_PROTOCOL_MINIMUM_MTU = 576,
ENET_PROTOCOL_MAXIMUM_MTU = 4096,
ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS = 32,
ENET_PROTOCOL_MINIMUM_WINDOW_... | 28.795122 | 117 | 0.797391 |
9e45be42dc39189490d9a5419111db414b116cf1 | 1,544 | h | C | Sourcecode/mx/core/elements/StaffLines.h | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mx/core/elements/StaffLines.h | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mx/core/elements/StaffLines.h | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mx/core/ForwardDeclare.h"
#include "mx/core/ElementInterface.h"
#include "mx/core/Integers.h"
#include <iosfwd>
#include <memory>
#include <vector>
namespace mx
{
namespace core
{
... | 32.166667 | 130 | 0.662565 |
d221d3fe958cc9d1d76b955f4c78aa9b78391eeb | 3,771 | c | C | struct.c | DaerkZeus/Huffman-Compression | f95199a0460d29726533fd37e0371563d2cb75ea | [
"MIT"
] | null | null | null | struct.c | DaerkZeus/Huffman-Compression | f95199a0460d29726533fd37e0371563d2cb75ea | [
"MIT"
] | null | null | null | struct.c | DaerkZeus/Huffman-Compression | f95199a0460d29726533fd37e0371563d2cb75ea | [
"MIT"
] | null | null | null | #include "struct.h"
TreeNode * createTreeNode(char val, long frequency)
{
TreeNode *newNode = malloc(sizeof(TreeNode));
newNode -> frequency = frequency;
newNode -> val = val;
newNode -> left = NULL;
newNode -> right = NULL;
return newNode;
}
// Merge two nodes together with left c... | 24.173077 | 147 | 0.546539 |
cfc4d8069777df74bc069c0cfd82e81b4e953332 | 3,914 | h | C | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/loaderProcs.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/loaderProcs.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/loaderProcs.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /*
* Copyright 1995-1998 by Metro Link, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission noti... | 41.638298 | 78 | 0.738631 |
82a725e68293a2b0608a3e82d94beb1457be7022 | 387 | h | C | tfacc_i8/firm/rvmon/include/uartdrv.h | shin-yamashita/5th-AI-Edge-Contest | b71de5e845b237e5beba5f317eb3fc8531aa5eda | [
"Apache-2.0"
] | 3 | 2021-02-23T23:42:36.000Z | 2021-09-14T08:52:59.000Z | src/tfacc_u8/firm/include/uartdrv.h | shin-yamashita/4th-AI-Edge-Contest | 0642d383c56256e6c0957142e93c0a1e1ec7d4cc | [
"Apache-2.0"
] | null | null | null | src/tfacc_u8/firm/include/uartdrv.h | shin-yamashita/4th-AI-Edge-Contest | 0642d383c56256e6c0957142e93c0a1e1ec7d4cc | [
"Apache-2.0"
] | null | null | null |
#ifndef _UARTDRV_H
#define _UARTDRV_H
#include "types.h"
//void select_uart(int bt);
void uart_tx(unsigned char data);
int uart_rx_ready(void);
void uart_set_baud(int brreg);
void txirq_handl();
void uart_putc(char c);
unsigned char uart_rx(void);
ssize_t uart_read(int fd, char *buf, size_t count);
ssize_t uart_w... | 18.428571 | 58 | 0.754522 |
324776111f3bcda316775b54a5fcd7a56362766d | 1,343 | h | C | Dev/asd_cpp/core/Graphics/3D/Resource/asd.MassModel.h | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/asd_cpp/core/Graphics/3D/Resource/asd.MassModel.h | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/asd_cpp/core/Graphics/3D/Resource/asd.MassModel.h | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z |
#pragma once
#include <asd.common.Base.h>
#include "../../../asd.Core.Base.h"
#include "../../../asd.ReferenceObject.h"
namespace asd
{
/**
@brief 大量描画が可能な3Dモデルクラス
*/
class MassModel
: public IReference
{
private:
protected:
MassModel(){}
virtual ~MassModel(){}
public:
/**
@brief モデルが持つアニメーショ... | 17.441558 | 84 | 0.682055 |
c5c01cc4e7a099a792232d3235770b9b8be1b6de | 826 | c | C | Engine Hacks/PopupRework/Src/PopRCore.c | sme23/Christmas2 | f3f3daeda1afe2b78bfed38cbf60d8bc17ca9f79 | [
"CC0-1.0"
] | 3 | 2020-06-15T14:22:38.000Z | 2020-06-28T19:44:52.000Z | Wizardry/Necessary/PopupRework/Src/PopRCore.c | sme23/WhatHeck | 746a2be83358aaa4e855182176b47c4808f2587a | [
"CC0-1.0"
] | null | null | null | Wizardry/Necessary/PopupRework/Src/PopRCore.c | sme23/WhatHeck | 746a2be83358aaa4e855182176b47c4808f2587a | [
"CC0-1.0"
] | null | null | null | #include "PopupRework.h"
unsigned PopR_GetLength(struct PopupReworkProc* proc) {
const u32* defintion = proc->pop.pDefinition;
unsigned result = 0;
if (defintion) {
while (defintion[0] && gPopupComponentTypes[defintion[0]]) {
const struct PopupComponentType* type = gPopupComponentTypes[defintion[0]];
if ... | 22.944444 | 84 | 0.7046 |
3074148b7e0d3e7acf912d2c7ca30e576b0a68a9 | 85,132 | c | C | linux-4.14.90-dev/linux-4.14.90/mm/percpu.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 3 | 2022-01-20T04:23:25.000Z | 2022-03-27T13:18:30.000Z | linux-4.14.90-dev/linux-4.14.90/mm/percpu.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | null | null | null | linux-4.14.90-dev/linux-4.14.90/mm/percpu.c | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 20 | 2021-10-22T02:21:23.000Z | 2022-03-31T04:55:35.000Z | /*
* mm/percpu.c - percpu memory allocator
*
* Copyright (C) 2009 SUSE Linux Products GmbH
* Copyright (C) 2009 Tejun Heo <tj@kernel.org>
*
* Copyright (C) 2017 Facebook Inc.
* Copyright (C) 2017 Dennis Zhou <dennisszhou@gmail.com>
*
* This file is released under the GPLv2 license.
*
* The percpu allocat... | 30.957091 | 83 | 0.717251 |
d057a419df8f16a69e34776a6c0fac1f79b1f47d | 585 | h | C | JieBanApp/src/Chat/Chat/Chat/Views/RXChatMemberView.h | splsylp/RXDemo | 3f9bb3c1a8f1380e96cf46d93900ecb6e7b2a34a | [
"MIT"
] | null | null | null | JieBanApp/src/Chat/Chat/Chat/Views/RXChatMemberView.h | splsylp/RXDemo | 3f9bb3c1a8f1380e96cf46d93900ecb6e7b2a34a | [
"MIT"
] | null | null | null | JieBanApp/src/Chat/Chat/Chat/Views/RXChatMemberView.h | splsylp/RXDemo | 3f9bb3c1a8f1380e96cf46d93900ecb6e7b2a34a | [
"MIT"
] | 1 | 2020-12-04T13:15:10.000Z | 2020-12-04T13:15:10.000Z | //
// RXChatMemberView.h
// ECSDKDemo_OC
//
// Created by ronglianmac1 on 15/10/27.
// Copyright © 2015年 ronglian. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RXChatMemberView;
@protocol RXChatMemberViewDelegate <NSObject>
- (void)RXChatMemberView:(RXChatMemberView*)memberView index:(NSInteger)index;
... | 24.375 | 78 | 0.784615 |
a9610c2d2ea921d8fba027887693d1d987200036 | 6,462 | h | C | pcie_cdev_dbg.h | cocktail828/pcie_balong5000 | 878c8c9e22f9e63ca9eea5d9beeab06d93fd6a1c | [
"MIT"
] | null | null | null | pcie_cdev_dbg.h | cocktail828/pcie_balong5000 | 878c8c9e22f9e63ca9eea5d9beeab06d93fd6a1c | [
"MIT"
] | null | null | null | pcie_cdev_dbg.h | cocktail828/pcie_balong5000 | 878c8c9e22f9e63ca9eea5d9beeab06d93fd6a1c | [
"MIT"
] | 1 | 2021-09-23T07:06:48.000Z | 2021-09-23T07:06:48.000Z | /*
* Copyright (C) Huawei Technologies Co., Ltd. 2012-2015. All rights reserved.
* foss@huawei.com
*
* If distributed as part of the Linux kernel, the following license terms
* apply:
*
* * This program is free software; you can redistribute it and/or modify
* * it under the terms of the GNU General Public Lice... | 60.392523 | 145 | 0.508976 |
6547b85341f8db1b76b0095c25af8a2c568b9f5b | 429 | h | C | YTTitleBarDemo/Content/View/YTHealthHeadListCell.h | JHB-Client/YTTitleBarDemo | aef76787457ff9d2129286481ac0efd440ce4685 | [
"Apache-2.0"
] | null | null | null | YTTitleBarDemo/Content/View/YTHealthHeadListCell.h | JHB-Client/YTTitleBarDemo | aef76787457ff9d2129286481ac0efd440ce4685 | [
"Apache-2.0"
] | null | null | null | YTTitleBarDemo/Content/View/YTHealthHeadListCell.h | JHB-Client/YTTitleBarDemo | aef76787457ff9d2129286481ac0efd440ce4685 | [
"Apache-2.0"
] | null | null | null | //
// YTHealthHeadListCell.h
// YTTitleBarDemo
//
// Created by admin on 2019/10/28.
// Copyright © 2019 admin. All rights reserved.
//
#import <UIKit/UIKit.h>
@class YTHealthHead;
NS_ASSUME_NONNULL_BEGIN
@interface YTHealthHeadListCell : UITableViewCell
@property (nonatomic, strong) YTHealthHead *healthHead;
+ (... | 21.45 | 59 | 0.771562 |
45e847e51faacf8681b4c2db1cb5c774c32239d5 | 1,457 | h | C | System/Library/PrivateFrameworks/Celestial.framework/BWFigCameraSourceNode.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/PrivateFrameworks/Celestial.framework/BWFigCameraSourceNode.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/Celestial.framework/BWFigCameraSourceNode.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:02:57 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/Celestial.framework/Celestial
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... | 41.628571 | 94 | 0.825669 |
e70f5dd00672b81352fc3bc0c8cdc76796edf0ca | 1,589 | c | C | Python/getcwd.c | Northfear/Python-2.7.3-vita | 51c43989936bb0202cd1eab0a42afa2cd6bb4566 | [
"PSF-2.0"
] | 1 | 2020-10-30T09:20:56.000Z | 2020-10-30T09:20:56.000Z | Python/getcwd.c | Northfear/Python-2.7.3-vita | 51c43989936bb0202cd1eab0a42afa2cd6bb4566 | [
"PSF-2.0"
] | 1 | 2020-11-04T21:09:47.000Z | 2020-11-06T13:25:54.000Z | Python/getcwd.c | Northfear/Python-2.7.3-vita | 51c43989936bb0202cd1eab0a42afa2cd6bb4566 | [
"PSF-2.0"
] | null | null | null |
/* Two PD getcwd() implementations.
Author: Guido van Rossum, CWI Amsterdam, Jan 1991, <guido@cwi.nl>. */
#include <stdio.h>
#include <errno.h>
#ifdef HAVE_GETWD
/* Version for BSD systems -- use getwd() */
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifndef MAXPATHLEN
#if defined(PATH_MAX) && PATH_M... | 18.264368 | 72 | 0.555695 |
3145428846ab3833023b9225baa96f7cda1c4a27 | 17,649 | h | C | Sources/Elastos/LibCore/inc/elastosx/security/auth/CSubject.h | suchto/ElastosRT | 8a542a1d70aebee3dbc31341b7e36d8526258849 | [
"Apache-2.0"
] | 4 | 2017-03-17T07:22:01.000Z | 2021-07-22T13:23:41.000Z | Sources/Elastos/LibCore/inc/elastosx/security/auth/CSubject.h | suchto/ElastosRT | 8a542a1d70aebee3dbc31341b7e36d8526258849 | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/LibCore/inc/elastosx/security/auth/CSubject.h | suchto/ElastosRT | 8a542a1d70aebee3dbc31341b7e36d8526258849 | [
"Apache-2.0"
] | 2 | 2018-03-16T09:20:04.000Z | 2021-07-22T13:23:45.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 32.030853 | 80 | 0.581449 |
316fbad6c2f7493e6f94bc3df859e3baebd7a68b | 1,641 | c | C | src/examples/2chan.c | megoldsby/microcsp | b896f568bb78b9e1574ec41ca448c9ee2f62aa03 | [
"Apache-2.0"
] | null | null | null | src/examples/2chan.c | megoldsby/microcsp | b896f568bb78b9e1574ec41ca448c9ee2f62aa03 | [
"Apache-2.0"
] | null | null | null | src/examples/2chan.c | megoldsby/microcsp | b896f568bb78b9e1574ec41ca448c9ee2f62aa03 | [
"Apache-2.0"
] | null | null | null |
/**
* Two processes, one sending interrupts, one receiving them.
*/
#include "microcsp.h"
#include <stdio.h>
#define ONE_SEC 1000000000ULL
Channel chan[2];
PROCESS(Proc1)
Guard guards[2];
ENDPROC
void Proc1_rtc(void *local)
{
enum { CH0=0, CH1 };
Proc1 *proc1 = (Proc1 *)local;
if (initial()) {... | 22.479452 | 68 | 0.549055 |
2ee1c35b17bb3c327986da9d779208ebc1d85f51 | 619 | h | C | gui-unit-testing-with-qt-test-advanced/GuiUnitTestingAdv/WidgetsLib/PanelConcat.h | emediato/BitsOfBytes | 1c9e9c5a5eff09021e990da8e776c7e9c975d901 | [
"Unlicense"
] | 115 | 2016-11-10T11:58:46.000Z | 2022-03-25T18:04:38.000Z | gui-unit-testing-with-qt-test-advanced/GuiUnitTestingAdv/WidgetsLib/PanelConcat.h | emediato/BitsOfBytes | 1c9e9c5a5eff09021e990da8e776c7e9c975d901 | [
"Unlicense"
] | 5 | 2016-11-25T12:16:19.000Z | 2020-11-15T22:15:14.000Z | gui-unit-testing-with-qt-test-advanced/GuiUnitTestingAdv/WidgetsLib/PanelConcat.h | emediato/BitsOfBytes | 1c9e9c5a5eff09021e990da8e776c7e9c975d901 | [
"Unlicense"
] | 121 | 2016-11-14T17:45:31.000Z | 2022-03-24T12:03:26.000Z | #pragma once
#include "WidgetsLibGlobal.h"
#include <QWidget>
class QLabel;
class QLineEdit;
class QPushButton;
class WIDGETSLIBSHARED_EXPORT PanelConcat : public QWidget
{
Q_OBJECT
MAKE_TESTABLE(PanelConcat);
public:
explicit PanelConcat(QWidget * parent = nullptr);
signals:
void DataAvailable(const QString... | 14.738095 | 58 | 0.751212 |
2c5664d5068f4737366223921b8a49f00322227d | 17,409 | h | C | pascal.h | yugyfoog/pascal | b5307907c984b18ea0402dfb23eb98b52a44300f | [
"MIT"
] | null | null | null | pascal.h | yugyfoog/pascal | b5307907c984b18ea0402dfb23eb98b52a44300f | [
"MIT"
] | null | null | null | pascal.h | yugyfoog/pascal | b5307907c984b18ea0402dfb23eb98b52a44300f | [
"MIT"
] | null | null | null | #define internal_error() x_internal_error(__FILE__,__LINE__,__FUNCTION__)
#define new(T) (T *)malloc(sizeof(T))
typedef enum {false, true} bool;
typedef enum {TO, DOWNTO} For_Mode;
typedef struct Identifier_List {
char *id;
struct Identifier_List *next;
} Identifier_List;
typedef enum {
AND_TOKEN, ARRAY_TOKE... | 29.556876 | 111 | 0.778046 |
c8639d638e66c70e81ffb9272f22b5b3c669e3ec | 2,046 | h | C | include/tudat/astro/basic_astro/sphericalBodyShapeModel.h | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | include/tudat/astro/basic_astro/sphericalBodyShapeModel.h | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | include/tudat/astro/basic_astro/sphericalBodyShapeModel.h | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | #ifndef TUDAT_SPHERICALBODYSHAPEMODEL_H
#define TUDAT_SPHERICALBODYSHAPEMODEL_H
/* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusive... | 26.571429 | 98 | 0.684262 |
4d119269e947ad83f38aefad6ebd4dc0ae611bec | 19,633 | h | C | codecparsers/jpegparser.h | zhongcong/libyami | 0118c0c78cd5a0208da67024cb9c26b61af67851 | [
"Intel"
] | null | null | null | codecparsers/jpegparser.h | zhongcong/libyami | 0118c0c78cd5a0208da67024cb9c26b61af67851 | [
"Intel"
] | null | null | null | codecparsers/jpegparser.h | zhongcong/libyami | 0118c0c78cd5a0208da67024cb9c26b61af67851 | [
"Intel"
] | null | null | null | /*
* jpegparser.h - JPEG parser
*
* Copyright (C) 2011-2012 Intel Corporation
*
* 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 y... | 36.156538 | 82 | 0.623236 |
232028ba9c291584d0fa6f6fba35fa85482188a0 | 213 | h | C | RenderHardwareInterface/Math/MathUtilities.h | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | 2 | 2020-12-18T03:43:07.000Z | 2020-12-23T12:20:00.000Z | RenderHardwareInterface/Math/MathUtilities.h | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | null | null | null | RenderHardwareInterface/Math/MathUtilities.h | xRiveria/Crescent-Engine | b6512b6a8dab2d27cf542c562ccc28f21bf2345d | [
"Apache-2.0"
] | null | null | null | #pragma once
namespace Math::Utilities
{
template <typename T>
T Min(T comparison1, T comparison2)
{
if (comparison1 > comparison2) { return comparison2; } else { return comparison1; }
}
} | 21.3 | 91 | 0.652582 |
d94caa5ad615a55495392d443577296017183605 | 1,387 | h | C | usr/libexec/progressd/CLSBlob-PDSyncableItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | usr/libexec/progressd/CLSBlob-PDSyncableItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | usr/libexec/progressd/CLSBlob-PDSyncableItem.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <ClassKit/CLSBlob.h>
#import "PDDatabaseEntity-Protocol.h"
#import "PDSyncableItem-Protocol.h"
@class NSObject, NSString;
@protocol PDDat... | 38.527778 | 143 | 0.774333 |
eaaa2edd7ea184e6621993c407c3878a288e5d79 | 1,571 | h | C | Frameworks/AssetsLibrary.framework/ALAssetRepresentationPrivate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | Frameworks/AssetsLibrary.framework/ALAssetRepresentationPrivate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | Frameworks/AssetsLibrary.framework/ALAssetRepresentationPrivate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary
*/
@interface ALAssetRepresentationPrivate : NSObject <ALAssetsLibraryAsset> {
NSString * _extension;
bool _isValid;
ALAssetsLibrary * _library;
PLManagedAsset * _photo;
PLPhotoLibrary * _pho... | 30.803922 | 89 | 0.753024 |
d85a149f17d145469ab5dafde8832c82a5fd6c90 | 1,367 | h | C | Tangram/Source/Layouts/TangramWaterFlowLayout.h | MiaoShichang/Tangram-iOS | 2f36bb18746a3d7e2957dd049ca121f8f1a63785 | [
"MIT"
] | null | null | null | Tangram/Source/Layouts/TangramWaterFlowLayout.h | MiaoShichang/Tangram-iOS | 2f36bb18746a3d7e2957dd049ca121f8f1a63785 | [
"MIT"
] | null | null | null | Tangram/Source/Layouts/TangramWaterFlowLayout.h | MiaoShichang/Tangram-iOS | 2f36bb18746a3d7e2957dd049ca121f8f1a63785 | [
"MIT"
] | 1 | 2020-04-22T03:13:17.000Z | 2020-04-22T03:13:17.000Z | //
// TangramWaterFlowLayout.h
// Pods
//
// Created by xiaoxia on 15/12/12.
//
//
#import <UIKit/UIKit.h>
#import "TangramLayoutProtocol.h"
@interface TangramWaterFlowLayout : UIView<TangramLayoutProtocol>
// Models Array , as protocol request.
@property (nonatomic, strong) NSArray *itemModels;
// Numbe... | 32.547619 | 105 | 0.693489 |
affcbaa0d1578577ce5efb87986dc96736118eca | 1,842 | h | C | garnet/lib/vulkan/src/swapchain/image_pipe_surface_async.h | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | garnet/lib/vulkan/src/swapchain/image_pipe_surface_async.h | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 5 | 2020-09-06T09:02:06.000Z | 2022-03-02T04:44:22.000Z | garnet/lib/vulkan/src/swapchain/image_pipe_surface_async.h | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_LIB_VULKAN_SRC_SWAPCHAIN_IMAGE_PIPE_SURFACE_ASYNC_H_
#define GARNET_LIB_VULKAN_SRC_SWAPCHAIN_IMAGE_PIPE_SURFACE_ASYNC_H_
#include "image_pi... | 33.490909 | 79 | 0.743757 |
88a1da8f0663f1c53eea758ea66a8d1e7dec39c3 | 3,234 | h | C | master/core/third/tntnet/framework/common/tnt/data.h | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/tntnet/framework/common/tnt/data.h | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/tntnet/framework/common/tnt/data.h | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z | /*
* Copyright (C) 2003 Tommi Maekitalo
*
* 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.
*
* As a sp... | 27.87931 | 81 | 0.630489 |
88c292ce79baa1eb4fba50f21271671b0ea41ada | 825 | h | C | classpath-0.98/native/jni/qt-peer/slotcallbacks.h | nmldiegues/jvm-stm | d422d78ba8efc99409ecb49efdb4edf4884658df | [
"Apache-2.0"
] | 2 | 2015-09-08T15:40:04.000Z | 2017-02-09T15:19:33.000Z | llvm-gcc-4.2-2.9/libjava/classpath/native/jni/qt-peer/slotcallbacks.h | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-gcc-4.2-2.9/libjava/classpath/native/jni/qt-peer/slotcallbacks.h | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | #ifndef SLOTCALLBACKS_H
#define SLOTCALLBACKS_H
#include <QAbstractButton>
#include <QAbstractSlider>
#include <QAction>
#include <QComboBox>
#include <QListWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QScrollBar>
#include <QTextEdit>
#include <jni.h>
void connectButton(QPushButton *button, JNIEnv *e... | 33 | 72 | 0.789091 |
156745f08eb9c8523dc3ec93934aff87a57e3b94 | 1,578 | c | C | EXP4_Synchronization_Primitives_IPC/src/test_sanguo/process3.c | ucasFL/OperatingSystemEXP | d60310f0fb5d73e64ca6d473b0c1ee1114ea0c0a | [
"MIT"
] | null | null | null | EXP4_Synchronization_Primitives_IPC/src/test_sanguo/process3.c | ucasFL/OperatingSystemEXP | d60310f0fb5d73e64ca6d473b0c1ee1114ea0c0a | [
"MIT"
] | null | null | null | EXP4_Synchronization_Primitives_IPC/src/test_sanguo/process3.c | ucasFL/OperatingSystemEXP | d60310f0fb5d73e64ca6d473b0c1ee1114ea0c0a | [
"MIT"
] | null | null | null | #include "common.h"
#include "syslib.h"
#include "util.h"
#include "printf.h"
void CaoCao(void)
{
// uint32_t myRand = 1234;
uint32_t myRand = timer();
pid_t myPid = getpid();
mbox_t subSunQuan = mbox_open("SunQuan-Publish-PID");
mbox_t subLiuBei = mbox_open("LiuBei-Publish-PID");
pid_t sunquan, liubei;
... | 26.3 | 94 | 0.532953 |
15a6afadfb41dff4e5e4a088686cd4c0ff4a9cd1 | 3,625 | h | C | src/CoviMAC/Operateurs/Op_Grad_CoviMAC_Face.h | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | 12 | 2021-06-30T18:50:38.000Z | 2022-03-23T09:03:16.000Z | src/CoviMAC/Operateurs/Op_Grad_CoviMAC_Face.h | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | null | null | null | src/CoviMAC/Operateurs/Op_Grad_CoviMAC_Face.h | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | 2 | 2021-10-04T09:19:39.000Z | 2021-12-15T14:21:04.000Z | /****************************************************************************
* Copyright (c) 2021, CEA
* 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 retai... | 43.674699 | 260 | 0.707034 |
63b9e9f4a5d1923d8b43aec28b23458adfbea5ed | 20,053 | h | C | roo_material_icons/round/24/maps.h | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/round/24/maps.h | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/round/24/maps.h | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | #include "roo_display/image/image.h"
const ::roo_display::RleImage4bppxBiased<::roo_display::Alpha4, ::roo_display::PrgMemResource>& ic_round_24_maps_360();
const ::roo_display::RleImage4bppxBiased<::roo_display::Alpha4, ::roo_display::PrgMemResource>& ic_round_24_maps_add_business();
const ::roo_display::RleImage4bpp... | 126.917722 | 141 | 0.821772 |
635e2e5926a1f96161fa83524db98f391496c2d7 | 2,954 | h | C | data/playback_data_source_interface.h | BrnSlr/CuteBoard | 00beb783e234c9a08f9a53baa0fe10744452f755 | [
"Apache-2.0"
] | 47 | 2019-10-23T17:55:13.000Z | 2022-03-22T07:49:04.000Z | data/playback_data_source_interface.h | BrnSlr/CuteBoard | 00beb783e234c9a08f9a53baa0fe10744452f755 | [
"Apache-2.0"
] | 1 | 2021-12-20T18:48:26.000Z | 2021-12-20T18:48:26.000Z | data/playback_data_source_interface.h | BrnSlr/CuteBoard | 00beb783e234c9a08f9a53baa0fe10744452f755 | [
"Apache-2.0"
] | 18 | 2020-01-31T06:45:06.000Z | 2022-03-29T16:56:31.000Z | #ifndef PLAYBACK_DATA_SOURCE_INTERFACE_H
#define PLAYBACK_DATA_SOURCE_INTERFACE_H
#include <QDate>
#include "data_source.h"
#include "data_global.h"
#include "log4qt/logger.h"
class DATASHARED_EXPORT PlaybackDataSourceInterface : public DataSource
{
Q_OBJECT
LOG4QT_DECLARE_QCLASS_LOGGER
public:
PlaybackD... | 30.770833 | 139 | 0.646581 |
6362c20bf91acc6d470332170537b41b572f9a07 | 410 | h | C | RWRider.xcframework/ios-x86_64-simulator/RWRider.framework/Headers/SplitFareTableViewCell.h | RahulGera/RWRider | b0094f91d1e8bcaadf442ebaaf8e104e9b422342 | [
"MIT"
] | 5 | 2019-05-07T12:45:50.000Z | 2020-12-03T05:14:26.000Z | RWRider.xcframework/ios-x86_64-simulator/RWRider.framework/Headers/SplitFareTableViewCell.h | RahulGera/RWRider | b0094f91d1e8bcaadf442ebaaf8e104e9b422342 | [
"MIT"
] | null | null | null | RWRider.xcframework/ios-x86_64-simulator/RWRider.framework/Headers/SplitFareTableViewCell.h | RahulGera/RWRider | b0094f91d1e8bcaadf442ebaaf8e104e9b422342 | [
"MIT"
] | 7 | 2020-06-16T20:45:23.000Z | 2021-06-06T18:07:08.000Z | //
// SplitFareTableViewCell.h
// Ride
//
// Created by Roberto Abreu on 1/17/18.
// Copyright © 2018 RideAustin.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SplitFareTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imgUserProfile;
@property (weak, nonatomic) I... | 22.777778 | 65 | 0.74878 |
c0e6b97bb84e8def0f54d2c32afe17abefdb9ec1 | 90,066 | c | C | usr.sbin/moused/moused.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 432 | 2015-01-03T20:05:29.000Z | 2022-03-24T16:39:09.000Z | usr.sbin/moused/moused.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 8 | 2015-12-03T15:45:38.000Z | 2020-12-25T15:42:08.000Z | usr.sbin/moused/moused.c | lambdaxymox/DragonFlyBSD | 6379cf2998a4a073c65b12d99e62988a375b4598 | [
"BSD-3-Clause"
] | 114 | 2015-01-07T16:23:00.000Z | 2022-03-23T18:26:01.000Z | /**
** Copyright (c) 1995 Michael Smith, All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
** 1. Redistributions of source code must retain the above copyright
** notice, this list of ... | 28.830346 | 114 | 0.613728 |
8d8015c28170b0aadf87283c6445e8ec6d4d7c05 | 2,912 | h | C | net/tapi/skywalker/rend/rndreg.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/tapi/skywalker/rend/rndreg.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/tapi/skywalker/rend/rndreg.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1997-2000 Microsoft Corporation
Module Name:
rndreg.h
Abstract:
Definitions for registry operation classes.
--*/
#ifndef __RENDEZVOUS_REGISTRY__
#define __RENDEZVOUS_REGISTRY__
#pragma once
#include "rndcommc.h"
const DWORD MAX_REG_WSTR_SIZE = 100;
const DWORD ... | 23.111111 | 80 | 0.654876 |
022f89bdc43569d47a1f9eeb7a762ea8fbdced2e | 863 | c | C | src/stack.c | suransea/libcoll | bc9e459dad6f63b30e9cbc98de3c74685f21311f | [
"Apache-2.0"
] | 1 | 2022-03-04T11:16:02.000Z | 2022-03-04T11:16:02.000Z | src/stack.c | suransea/libcoll | bc9e459dad6f63b30e9cbc98de3c74685f21311f | [
"Apache-2.0"
] | null | null | null | src/stack.c | suransea/libcoll | bc9e459dad6f63b30e9cbc98de3c74685f21311f | [
"Apache-2.0"
] | null | null | null | //
// Created by sea on 2019/11/28.
//
#include "coll/stack.h"
void coll_stack_init(coll_stack_t *stack, size_t cap) {
coll_vector_init(stack, cap);
}
void coll_stack_push(coll_stack_t *stack, void *data) {
coll_vector_append(stack, data);
}
void *coll_stack_pop(coll_stack_t *stack) {
return coll_vector... | 20.547619 | 69 | 0.739282 |
e28a34ce02c89bc6b0699afd01fb2b1590f20876 | 705 | h | C | System/Library/CoreServices/SpringBoard/PrivateHeaders/SBIconImageAppLowQualityCrossfadeView.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/CoreServices/SpringBoard/PrivateHeaders/SBIconImageAppLowQualityCrossfadeView.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/CoreServices/SpringBoard/PrivateHeaders/SBIconImageAppLowQualityCrossfadeView.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "SBIconImageAppCrossfadeView.h"
@class SBAnimatableCorneredView;
@interface SBIconImageAppLowQualityCrossfadeView : SBIconImageAppCrossfadeView
{
SBAnimatableCorneredV... | 28.2 | 83 | 0.758865 |
9932a2a7cda72fe88dc2e6a10b3aeda4a8daa979 | 1,177 | h | C | src/prefs/GUIPrefs.h | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | 21 | 2015-08-02T20:43:37.000Z | 2022-02-06T04:19:16.000Z | src/prefs/GUIPrefs.h | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | null | null | null | src/prefs/GUIPrefs.h | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | 3 | 2016-05-15T05:35:57.000Z | 2018-09-21T20:50:11.000Z | /**********************************************************************
Audacity: A Digital Audio Editor
GUIPrefs.h
Brian Gunlogson
Joshua Haberman
James Crook
**********************************************************************/
#ifndef __AUDACITY_GUI_PREFS__
#define __AUDACITY_GUI_PREFS__
#include <... | 20.293103 | 79 | 0.663551 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.