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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1b2ed095277da33d325070d3881fc1b643af388 | 1,108 | c | C | ShopEg.c | JulianConneely/multiParadigm | 653142b3af197cc3ff9bc91f3e2c7759fcbc5c44 | [
"MIT"
] | null | null | null | ShopEg.c | JulianConneely/multiParadigm | 653142b3af197cc3ff9bc91f3e2c7759fcbc5c44 | [
"MIT"
] | null | null | null | ShopEg.c | JulianConneely/multiParadigm | 653142b3af197cc3ff9bc91f3e2c7759fcbc5c44 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
struct Product {
char* name;
double price;
};
int main()
{
// this is the customers budget
double budget = 100.0;
// this is how much money the shop has
double shopCash = 2000.0;
// for simplicity we are saying the customer always wants 1 of each item
int quantity = 1;
... | 27.02439 | 140 | 0.672383 |
cc0ec8129ff39a6197716971d03dc749f3ec1104 | 20,366 | h | C | prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h | SKRorg/VFODialHID | c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea | [
"MIT"
] | 41 | 2019-08-22T00:30:54.000Z | 2022-03-20T18:47:34.000Z | prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h | SKRorg/VFODialHID | c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea | [
"MIT"
] | 10 | 2019-10-16T19:02:47.000Z | 2022-02-27T21:35:56.000Z | prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h | SKRorg/VFODialHID | c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea | [
"MIT"
] | 18 | 2019-10-15T17:53:49.000Z | 2022-03-10T11:53:15.000Z | /**
* \file
*
* \brief Instance description for HMATRIX
*
* Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip produc... | 89.718062 | 117 | 0.684769 |
0431aa12e6b8760eccd3670deb78ca11e1a23e09 | 2,006 | h | C | kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | /*
* io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h
*
*
*/
#ifndef _io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_H_
#define _io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../i... | 41.791667 | 239 | 0.871884 |
cc7bd8d6256db1cd906cbe8f22702b2ebc01019b | 2,192 | h | C | geometry/render/render_doxygen.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | geometry/render/render_doxygen.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | geometry/render/render_doxygen.h | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | /** @file
Doxygen-only documentation for @ref render_engines. */
namespace drake {
namespace geometry {
namespace render {
/** @addtogroup render_engines
Rendering engines are used to enable simulation of the perception stack.
<h2>Overview</h2>
Perception simulation is supported via the RenderEngine API. It p... | 36.533333 | 80 | 0.784215 |
432e621d02d9b6a0d45014a73cc3d5c89b69e887 | 474 | c | C | qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 6 | 2019-08-22T17:40:59.000Z | 2022-02-08T08:07:14.000Z | qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 1 | 2021-02-23T18:42:51.000Z | 2021-02-23T18:42:51.000Z | qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 2 | 2020-11-24T16:32:46.000Z | 2021-05-30T04:42:07.000Z | /*
* 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, or (at
* your option) any later version.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <config/general.h>
/** @file
*
... | 19.75 | 70 | 0.723629 |
9353bb31a0b69ea15d838af26b734f47d1ac73a9 | 640 | h | C | circulo/algorithms/biSBM/biSBM.h | kfoss/Circulo | 312f994da8b6389b547edc2e94b009280e2c740e | [
"Apache-2.0"
] | 81 | 2015-01-06T09:10:23.000Z | 2021-04-20T02:07:07.000Z | circulo/algorithms/biSBM/biSBM.h | kfoss/Circulo | 312f994da8b6389b547edc2e94b009280e2c740e | [
"Apache-2.0"
] | 17 | 2015-01-02T21:27:35.000Z | 2018-12-12T17:03:49.000Z | circulo/algorithms/biSBM/biSBM.h | kfoss/Circulo | 312f994da8b6389b547edc2e94b009280e2c740e | [
"Apache-2.0"
] | 44 | 2015-02-17T14:58:10.000Z | 2021-04-02T10:47:14.000Z | /**
* TODO: main comment
*
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <stdbool.h>
#include <math.h>
#include <float.h>
#include <assert.h>
#include <igraph.h>
int igraph_community_bipartite_sbm(igraph_t *graph, igraph_vector_t *membership,
... | 22.857143 | 93 | 0.670313 |
d8a3e3cf3a17727be38dd657ff713561ab590700 | 425 | h | C | include/rudiments/private/client.h | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | include/rudiments/private/client.h | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | include/rudiments/private/client.h | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | // Copyright (c) 2002 David Muse
// See the COPYING file for more information.
protected:
char **_connecterror();
int32_t _timeoutsec();
int32_t _timeoutusec();
uint32_t _retrywait();
uint32_t _tries();
void initialize(char *connecterror,
int32_t timeoutsec,
int32_t timeoutusec,
uint32_... | 21.25 | 45 | 0.701176 |
368e5b54350fe6dbd926cfe5055e80895ea70846 | 6,145 | h | C | DataFormats/Provenance/interface/Hash.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DataFormats/Provenance/interface/Hash.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DataFormats/Provenance/interface/Hash.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #ifndef DataFormats_Provenance_Hash_h
#define DataFormats_Provenance_Hash_h
#include <string>
#include <functional>
/*----------------------------------------------------------------------
Hash:
Note: The call to 'fixup' in every member function is a temporary
measure for backwards compatibility. It is necess... | 24.384921 | 77 | 0.621644 |
cff417cee166f96f9ba13afee4de7f0c4e41131f | 6,160 | h | C | bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h | bit-bots/bitbots_motion | 7bdf35eba88773cc71759b25fae201d2accd573d | [
"MIT"
] | 3 | 2020-05-30T07:04:33.000Z | 2021-08-07T07:41:27.000Z | bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h | bit-bots/bitbots_motion | 7bdf35eba88773cc71759b25fae201d2accd573d | [
"MIT"
] | 149 | 2018-12-18T12:49:56.000Z | 2022-01-06T10:51:32.000Z | bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h | bit-bots/bitbots_motion | 7bdf35eba88773cc71759b25fae201d2accd573d | [
"MIT"
] | 4 | 2019-07-28T11:25:02.000Z | 2021-12-06T19:04:18.000Z | /*
This code is partly based on the original code by Quentin "Leph" Rouxel and Team Rhoban.
The original files can be found at:
https://github.com/Rhoban/model/
*/
#ifndef BITBOTS_QUINTIC_WALK_INCLUDE_BITBOTS_QUINTIC_WALK_WALK_ENGINE_H_
#define BITBOTS_QUINTIC_WALK_INCLUDE_BITBOTS_QUINTIC_WALK_WALK_ENGINE_H_
#include ... | 28.785047 | 114 | 0.752922 |
3214291cbc614ac0447011888e2fbd19bc742719 | 1,294 | h | C | Texture2DClass/Renderer.h | sxysxy/D3D11Lab | 2c4fda826c259677f52e15b3e0b2e10905c858f7 | [
"MIT"
] | 3 | 2017-12-12T15:07:12.000Z | 2018-02-16T13:51:18.000Z | Texture2DClass/Renderer.h | sxysxy/D3D11Lab | 2c4fda826c259677f52e15b3e0b2e10905c858f7 | [
"MIT"
] | null | null | null | Texture2DClass/Renderer.h | sxysxy/D3D11Lab | 2c4fda826c259677f52e15b3e0b2e10905c858f7 | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
//#include "Texture2D.h"
class Texture2D;
struct Rect {
int x, y, w, h;
};
struct Color {
float r, g, b, a;
Color() {
r = g = b = a = 0.0f;
}
};
class Renderer {
int _width, _height;
Texture2D *render_target_texture;
ID3D11Render... | 20.539683 | 56 | 0.653787 |
962aaaac1dec4a4912bdbd87b30b4faad88b534e | 6,349 | c | C | src/bin/fm_calshim.c | DanIverson/OpenVnmrJ | 0db324603dbd8f618a6a9526b9477a999c5a4cc3 | [
"Apache-2.0"
] | 32 | 2016-06-17T05:04:26.000Z | 2022-03-28T17:54:44.000Z | src/bin/fm_calshim.c | timburrow/openvnmrj-source | f5e65eb2db4bded3437701f0fa91abd41928579c | [
"Apache-2.0"
] | 128 | 2016-07-13T17:09:02.000Z | 2022-03-28T17:53:52.000Z | src/bin/fm_calshim.c | timburrow/openvnmrj-source | f5e65eb2db4bded3437701f0fa91abd41928579c | [
"Apache-2.0"
] | 102 | 2016-01-23T15:27:16.000Z | 2022-03-20T05:41:54.000Z | /*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* it may be necessary to define ISOTRPIC by concatnation */
/*rgs1atan.c */... | 26.235537 | 145 | 0.562136 |
d2dc8a2bfb850aea87d6864a3f1bde5aa54e18bc | 10,169 | c | C | 3rdparty/entrypoint/entrypoint_android.c | beardsvibe/leengine | 78fa3d7780252e5e83812fd2bc15f218169d9207 | [
"MIT"
] | 16 | 2017-05-22T00:04:10.000Z | 2021-07-11T20:22:02.000Z | 3rdparty/entrypoint/entrypoint_android.c | beardsvibe/leengine | 78fa3d7780252e5e83812fd2bc15f218169d9207 | [
"MIT"
] | 1 | 2017-09-14T16:06:35.000Z | 2017-10-07T16:46:15.000Z | 3rdparty/entrypoint/entrypoint_android.c | beardsvibe/leengine | 78fa3d7780252e5e83812fd2bc15f218169d9207 | [
"MIT"
] | 2 | 2017-09-14T16:04:52.000Z | 2018-02-28T11:59:57.000Z |
#ifdef __ANDROID__
// TODO partially based on bgfx entry_android.cpp
#define ENTRYPOINT_CTX
#include "entrypoint.h"
#include <android/log.h>
#include <android/input.h>
#include <android/window.h>
#include <android/native_window.h>
#include <android_native_app_glue.c> // just so we don't need to build it
static en... | 26.141388 | 120 | 0.685023 |
308c548df1fe19753fcb40e49d254490e093a785 | 1,290 | h | C | Pica/Chat/View/PCRecordView.h | qiu1993/Pica | 9e159ca4ac3b2556f06b647d1c515a2d87636a24 | [
"MIT"
] | 201 | 2020-11-12T09:12:01.000Z | 2022-03-31T04:42:01.000Z | Pica/Chat/View/PCRecordView.h | qiu1993/Pica | 9e159ca4ac3b2556f06b647d1c515a2d87636a24 | [
"MIT"
] | 24 | 2021-02-03T02:33:09.000Z | 2022-03-31T04:42:20.000Z | Pica/Chat/View/PCRecordView.h | qiu1993/Pica | 9e159ca4ac3b2556f06b647d1c515a2d87636a24 | [
"MIT"
] | 26 | 2020-11-29T04:40:23.000Z | 2022-03-08T12:16:20.000Z | //
// PCRecordView.h
// Pica
//
// Created by Fancy on 2021/6/18.
// Copyright © 2021 fancy. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
* 录音状态枚举
*/
typedef NS_ENUM(NSUInteger, PCVoiceRecordStatus) {
PCVoiceRecordStatusTooShort, //录音时长过短。
PCVoiceRecordStatusTooLong, ... | 18.970588 | 62 | 0.702326 |
cf59deab33dafad845bace4434503e3b4e8c6313 | 229 | c | C | c/hw-fibonacci/main.c | OGLinuk/ptp | bf498759d9958e4fbf4bda30e2b069efa6b7ff5c | [
"Apache-2.0"
] | 1 | 2022-01-31T04:55:59.000Z | 2022-01-31T04:55:59.000Z | c/hw-fibonacci/main.c | oglinuk/labs | 619f25238cd1631ee3446cb91e46e2376bea6dba | [
"Apache-2.0"
] | null | null | null | c/hw-fibonacci/main.c | oglinuk/labs | 619f25238cd1631ee3446cb91e46e2376bea6dba | [
"Apache-2.0"
] | 1 | 2018-10-05T01:54:12.000Z | 2018-10-05T01:54:12.000Z | #include <stdio.h>
#include <unistd.h>
int main()
{
unsigned long int a, b, c, i;
a = 0;
b = 1;
i = 0;
while (1) {
i++;
printf("Fibonacci(%li): %li\n", i, a);
c = a;
a = b;
b = c + a;
sleep(1);
}
return 0;
}
| 10.904762 | 40 | 0.471616 |
a90f486051d7fc881978dceed3d5eb7b2faa6f5b | 24,958 | c | C | tests/Test_Std.c | lbrugnara/fllib | fd777a64b4b05cd9890a4c542bfe99c8ee4ec302 | [
"MIT"
] | 5 | 2019-02-08T12:16:49.000Z | 2020-11-11T16:58:23.000Z | tests/Test_Std.c | lbrugnara/fllib | fd777a64b4b05cd9890a4c542bfe99c8ee4ec302 | [
"MIT"
] | null | null | null | tests/Test_Std.c | lbrugnara/fllib | fd777a64b4b05cd9890a4c542bfe99c8ee4ec302 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "../src/Std.h"
#include "../src/Cstring.h"
#include "../src/Array.h"
#include "../src/threading/Thread.h"
#include <flut/flut.h>
flut_define_suite(std, "fllib standard functions", exceptions, thread_errors, scoped_resources)
void thread_error(void *args)
{
struct FlError error;
c... | 39.805423 | 139 | 0.598365 |
6559eac2c2b4e0102d3b79b6b5bed2bfbb730101 | 3,442 | h | C | include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | // -*- C++ -*-
/*!
\file DistanceAdjDiag2nd2.h
\brief Distance equation. Second-order, adjacent-diagonal scheme.
*/
#if !defined(__hj_DistanceAdjDiag2nd2_h__)
#error This file is an implementation detail of the class DistanceAdjDiag2nd.
#endif
namespace hj {
//! Distance equation. Adjacent-diagon... | 25.124088 | 103 | 0.659791 |
340e927c04accf63d18573399b5ca23b5cf1c862 | 3,538 | c | C | Test Files/Sample Teleop Code.c | cookthebook/2014-2015TempestFTC | 4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4 | [
"CC0-1.0"
] | 1 | 2015-06-02T22:18:13.000Z | 2015-06-02T22:18:13.000Z | Test Files/Sample Teleop Code.c | cookthebook/2014-2015TempestFTC | 4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4 | [
"CC0-1.0"
] | null | null | null | Test Files/Sample Teleop Code.c | cookthebook/2014-2015TempestFTC | 4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4 | [
"CC0-1.0"
] | null | null | null | #pragma config(Hubs, S1, HTMotor, HTServo, none, none)
#pragma config(Sensor, S1, , sensorI2CMuxController)
#pragma config(Motor, motorA, Sweep, tmotorNXT, PIDControl, encoder)
#pragma config(Motor, mtr_S1_C1_1, Right, tmotorTetrix, openLoop)
#pragma config(Motor,... | 34.686275 | 118 | 0.686263 |
343287fec122e088cfbedbe9bb3e61b9bbaf7433 | 24,108 | c | C | ext/phalcon/events/manager.zep.c | DarkSynx/cphalcon | 048efd7b1787e0674d4c3315828a8ec9f8ad033c | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | null | null | null | ext/phalcon/events/manager.zep.c | DarkSynx/cphalcon | 048efd7b1787e0674d4c3315828a8ec9f8ad033c | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | null | null | null | ext/phalcon/events/manager.zep.c | DarkSynx/cphalcon | 048efd7b1787e0674d4c3315828a8ec9f8ad033c | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | null | null | null |
#ifdef HAVE_CONFIG_H
#include "../../ext_config.h"
#endif
#include <php.h>
#include "../../php_ext.h"
#include "../../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/exception.h"
#include "kernel/array.h"
#include ... | 31.349805 | 200 | 0.711216 |
314657973d5e010bb30259a957e0e0ff25a0fe34 | 6,344 | h | C | DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | 1 | 2016-04-20T08:35:44.000Z | 2016-04-20T08:35:44.000Z | DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h | andrasigneczi/TravelOptimiser | b08805f97f0823fd28975a36db67193386aceb22 | [
"Apache-2.0"
] | null | null | null | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIFind.idl
*/
#ifndef __gen_nsIFind_h__
#define __gen_nsIFind_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
... | 40.666667 | 266 | 0.761822 |
3177be0f6a933532d7c13c1fe974b432a7be16bc | 2,825 | c | C | quickstart.c | lusth-music/crlabauve | 508a4829446b622c364bba744dacbbfed876a60f | [
"MIT"
] | null | null | null | quickstart.c | lusth-music/crlabauve | 508a4829446b622c364bba744dacbbfed876a60f | [
"MIT"
] | null | null | null | quickstart.c | lusth-music/crlabauve | 508a4829446b622c364bba744dacbbfed876a60f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include "/usr/local/include/songlib/util.h"
#include "/usr/local/include/songlib/songlib.h"
#define dir "/usr/local/share/samples/"
#define base "ukulele/concert_"
/* change PROGRAM_NAME and PROGRAM_VERSION appropriately */
char *PROGRAM_NAME = "quickstart... | 22.070313 | 74 | 0.642832 |
4e2d19de7983b3bfb43d074dd80f5933ea166dcc | 2,784 | c | C | data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c | htfy96/iptables-icmp-frag | 87d4f9a82e8f23f5bac3cc86f777dc135c6ac718 | [
"Apache-2.0"
] | null | null | null | data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c | htfy96/iptables-icmp-frag | 87d4f9a82e8f23f5bac3cc86f777dc135c6ac718 | [
"Apache-2.0"
] | null | null | null | data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c | htfy96/iptables-icmp-frag | 87d4f9a82e8f23f5bac3cc86f777dc135c6ac718 | [
"Apache-2.0"
] | null | null | null | /* ebt_pkttype
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
*
* April, 2003
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <netdb.h>
#include <xtables.h>
#include <linux/if_packet.h>
#include <linux/netfilter_bridge/ebt_pkttype.h>
static const char *classes[]... | 23.2 | 118 | 0.673132 |
bdd9e6539c473db7098a65f120249ceb0a4c5280 | 7,820 | c | C | src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c | apportable/vogl | 4f05918a14ba3c4efc3cbd8b05b6964e625c751b | [
"MIT"
] | 5 | 2016-07-23T00:33:31.000Z | 2020-12-18T09:40:35.000Z | src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c | LunarG/vogl | 172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e | [
"MIT"
] | null | null | null | src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c | LunarG/vogl | 172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e | [
"MIT"
] | null | null | null | // Anisotropic.c
// Demonstrates anisotropic texture filtering
// OpenGL SuperBible
// Richard S. Wright Jr.
#include "../../common/openglsb.h" // System and OpenGL Stuff
#include "../../common/gltools.h" // OpenGL toolkit
// Rotation amounts
static GLfloat zPos = -60.0f;
// Texture objects
#define TEXTURE_BRICK 0
... | 27.058824 | 106 | 0.594501 |
085f7748a41abfd47cab7cb7b6391bf1a669f19f | 232 | c | C | _18.c | catlak-prof/c_programlama | 63021c4ad670e3f1d20401b12b8c0478eecabbc5 | [
"MIT"
] | null | null | null | _18.c | catlak-prof/c_programlama | 63021c4ad670e3f1d20401b12b8c0478eecabbc5 | [
"MIT"
] | null | null | null | _18.c | catlak-prof/c_programlama | 63021c4ad670e3f1d20401b12b8c0478eecabbc5 | [
"MIT"
] | 3 | 2018-10-24T07:14:45.000Z | 2018-10-24T08:34:58.000Z | #include <stdio.h>
#include <conio.h>
int main()
{
int i,j,n;
printf("Satir Sayisini Giriniz..:");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=n-i;j++)
printf(" ");
for(j=1;j<=(i*2-1);j++)
printf("*");
printf("\n");
}
getch();
}
| 12.888889 | 36 | 0.530172 |
eca3e6327192d27ed75d53868b5a0697265121e7 | 7,018 | c | C | Silverware/src/drv_softi2c.c | silver13/BoldClash-BWHOOP-B-03 | b07bc63f3cffbc8d68cac4e55459531eadd06b42 | [
"MIT"
] | 63 | 2017-04-16T08:41:53.000Z | 2022-02-25T01:07:25.000Z | Silverware/src/drv_softi2c.c | konstantint/Silverware-H345 | bacb26b16474be593fe223122007788a9c4a7c7d | [
"MIT"
] | 16 | 2016-07-02T10:14:38.000Z | 2020-09-11T20:59:14.000Z | Silverware/src/drv_softi2c.c | silver13/BoldClash-BWHOOP-B-03 | b07bc63f3cffbc8d68cac4e55459531eadd06b42 | [
"MIT"
] | 52 | 2017-04-27T14:51:09.000Z | 2021-12-16T03:46:45.000Z | /*
The MIT License (MIT)
Copyright (c) 2016 silverx
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | 16.749403 | 88 | 0.670419 |
23293d5d53a2cb4cf56548eb31533202678d873f | 1,248 | h | C | tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | 44.571429 | 84 | 0.71234 |
d90c678cf04b22def7d5b9da8182d87f059cadb5 | 303 | h | C | KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h | khawkins/KHCocoaPodsFramework2 | 1225c3644c9024eecff47d447b216ab70dd12358 | [
"MIT"
] | null | null | null | KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h | khawkins/KHCocoaPodsFramework2 | 1225c3644c9024eecff47d447b216ab70dd12358 | [
"MIT"
] | null | null | null | KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h | khawkins/KHCocoaPodsFramework2 | 1225c3644c9024eecff47d447b216ab70dd12358 | [
"MIT"
] | null | null | null | //
// Framework2PublicClass1.h
// KHCocoaPodsFramework2
//
// Created by Kevin Hawkins on 12/30/15.
// Copyright © 2015 KH CocoaPods Tests. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Framework2PublicClass1 : NSObject
- (NSString *)passAlongFramework1RandomString;
@end
| 18.9375 | 61 | 0.749175 |
23c25d5bd41a8f9c2704159d9452c0a042fb8786 | 1,781 | h | C | include/padt/brep/handle.h | mgsutton/brep | 0f5f3e3c6615dc329955750b86e57915edf91dfa | [
"MIT"
] | null | null | null | include/padt/brep/handle.h | mgsutton/brep | 0f5f3e3c6615dc329955750b86e57915edf91dfa | [
"MIT"
] | null | null | null | include/padt/brep/handle.h | mgsutton/brep | 0f5f3e3c6615dc329955750b86e57915edf91dfa | [
"MIT"
] | 1 | 2022-03-06T18:47:25.000Z | 2022-03-06T18:47:25.000Z | #ifndef PADT_BREP_HANDLE_H
#define PADT_BREP_HANDLE_H
#include <ostream>
#include <variant>
namespace padt::brep {
class BaseHandle {
public:
explicit BaseHandle(int h = -1) : h_(h) {}
bool isValid() const { return h_ != -1; }
int idx() const { return h_; }
void reset() { h_ = -1; }
void invalidate() { rese... | 23.746667 | 72 | 0.667602 |
c1157161ef223101352490df06827697b97f24db | 592 | c | C | vinicius/6.c | TulioEstrelaMarques/C | ab07d044987f80bdfef40f190eaad9b3f3c270e5 | [
"MIT"
] | null | null | null | vinicius/6.c | TulioEstrelaMarques/C | ab07d044987f80bdfef40f190eaad9b3f3c270e5 | [
"MIT"
] | null | null | null | vinicius/6.c | TulioEstrelaMarques/C | ab07d044987f80bdfef40f190eaad9b3f3c270e5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main(){
int i,v1[10],v2[10],v3[20];
printf("Vetor 1: ");
for(i=0;i<10;i++)
scanf("%d",&v1[i]);
printf("\nVetor 2: ");
for(i=0;i<10;i++)
scanf("%d",&v1[i]);
printf("\nVetor 1: ");
for(i=0;i<10;i++)
printf("%d\n",v1[i]);
... | 16.914286 | 31 | 0.425676 |
26968436453d819199a6615e445d2919d254e819 | 13,959 | h | C | p/dyld3/shared-cache/DyldSharedCache.h | AgesX/old_dyld | 33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4 | [
"MIT"
] | null | null | null | p/dyld3/shared-cache/DyldSharedCache.h | AgesX/old_dyld | 33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4 | [
"MIT"
] | null | null | null | p/dyld3/shared-cache/DyldSharedCache.h | AgesX/old_dyld | 33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* complia... | 38.454545 | 265 | 0.618239 |
140cf193eed55e16b02c2b9fcd831384e0908375 | 577 | h | C | catboost/private/libs/algo/approx_delta_calcer_multi.h | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | catboost/private/libs/algo/approx_delta_calcer_multi.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | catboost/private/libs/algo/approx_delta_calcer_multi.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | #pragma once
#include "fold.h"
#include <catboost/private/libs/algo_helpers/online_predictor.h>
#include <catboost/private/libs/options/restrictions.h>
#include <util/system/types.h>
class IDerCalcer;
class TLearnContext;
namespace NPar {
class ILocalExecutor;
}
void CalcApproxDeltaMulti(
const TFold& ff... | 19.896552 | 64 | 0.733102 |
968dc965e0ea2d302728ed466ff959852c64e9a6 | 890 | c | C | Borland/CBuilder5/Source/RTL/source/math/cvtfak.c | TrevorDArcyEvans/DivingMagpieSoftware | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | 1 | 2021-05-27T10:27:25.000Z | 2021-05-27T10:27:25.000Z | Borland/CBuilder5/Source/RTL/source/math/cvtfak.c | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | Borland/CBuilder5/Source/RTL/source/math/cvtfak.c | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | /*-----------------------------------------------------------------------*
* filename - cvtfak.c
*
* function(s)
* __realcvt - fake floating point conversion
*-----------------------------------------------------------------------*/
/*
* C/C++ Run Time Library - Version 10.0
*
* Copyright (c) ... | 22.820513 | 75 | 0.542697 |
8c00414be34040b3fd5b228a8a095aaf36ba2e9f | 19,719 | c | C | cglib/cg-texture-3d.c | rig-project/cglib | c91f8c9f8a7d60c9120624606d22ff26d8799b89 | [
"MIT"
] | null | null | null | cglib/cg-texture-3d.c | rig-project/cglib | c91f8c9f8a7d60c9120624606d22ff26d8799b89 | [
"MIT"
] | null | null | null | cglib/cg-texture-3d.c | rig-project/cglib | c91f8c9f8a7d60c9120624606d22ff26d8799b89 | [
"MIT"
] | null | null | null | /*
* CGlib
*
* A Low-Level GPU Graphics and Utilities API
*
* Copyright (C) 2010 Intel Corporation.
*
* 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, includin... | 32.485997 | 115 | 0.604037 |
530e34a91719350e6a241f15919e6f88d945ebe1 | 117 | h | C | timer.h | hafta/ipc-unblock-tests | 2b668a7c2c570a5733abecb6827618578db2e863 | [
"MIT"
] | 1 | 2019-11-07T17:11:36.000Z | 2019-11-07T17:11:36.000Z | timer.h | hafta/ipc-unblock-tests | 2b668a7c2c570a5733abecb6827618578db2e863 | [
"MIT"
] | null | null | null | timer.h | hafta/ipc-unblock-tests | 2b668a7c2c570a5733abecb6827618578db2e863 | [
"MIT"
] | null | null | null | #include <stdint.h>
void timer_init(void);
uint64_t tick(void);
uint64_t tick_delta_to_nanoseconds(uint64_t delta);
| 19.5 | 51 | 0.803419 |
8897fa2aa60abe877f9dee1911ce57ac644b8adf | 2,441 | h | C | Sources/functions.h | hjkuijf/MidsagittalApp | aa067e536df842b8ceafed787f042aa4a6ebd117 | [
"Apache-2.0"
] | 1 | 2020-07-10T13:52:11.000Z | 2020-07-10T13:52:11.000Z | Sources/functions.h | hjkuijf/MidsagittalApp | aa067e536df842b8ceafed787f042aa4a6ebd117 | [
"Apache-2.0"
] | 1 | 2019-09-08T05:09:52.000Z | 2019-10-08T10:36:27.000Z | Sources/functions.h | hjkuijf/MidsagittalApp | aa067e536df842b8ceafed787f042aa4a6ebd117 | [
"Apache-2.0"
] | 3 | 2019-09-08T04:34:12.000Z | 2021-04-08T07:31:36.000Z | #ifndef __FUNCTIONS_H__
#define __FUNCTIONS_H__
// Local includes
#include "librarySystem.h"
#include <vector>
// ML includes
#include <mlAlgorithmModule.h>
//! Generate a histogram
template<class DATATYPE>
void histogram(const ml::TSubImage<DATATYPE>& image, std::vector<MLuint>& histogram, const MLldouble& min, co... | 32.118421 | 215 | 0.682917 |
0038f73a26b9ece4964fa012a0480218334915c7 | 5,001 | h | C | include/am/vsynonym/VTrie.h | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 31 | 2015-03-03T19:13:42.000Z | 2020-09-03T08:11:56.000Z | include/am/vsynonym/VTrie.h | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 1 | 2016-12-24T00:12:11.000Z | 2016-12-24T00:12:11.000Z | include/am/vsynonym/VTrie.h | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 8 | 2015-09-06T01:55:21.000Z | 2021-12-20T02:16:13.000Z | /**
* \file VTrie.h
* \author vernkin
* \brief hold the VTrie and the VTrieNode
*/
#include <string.h>
#include <vector>
#include <iostream>
#include <types.h>
NS_IZENELIB_AM_BEGIN
using namespace std;
#ifndef _VTRIE_H
#define _VTRIE_H
#define VTPTR_L 4
#define VALUE_L 4
/** Length of the VTrie Entry, INT_LE... | 22.226667 | 89 | 0.639672 |
29cdaa2a57599fd4dc2ae5f13a8f0c3c6b068e02 | 8,663 | c | C | source/pkgsrc/devel/bmake/files/sigcompat.c | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/devel/bmake/files/sigcompat.c | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/devel/bmake/files/sigcompat.c | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | /*
* NAME:
* sigcompat - BSD compat signals via POSIX
*
* SYNOPSIS:
* void (*signal(int "sig", void (*"handler")(int)))(int);
* int sigsetmask(int "mask");
* int sigblock(int "mask");
* int sigpause(int "mask");
* int sigvec(int "signo", struct sigvec *"sv", struct sigvec *"osv");
*
* DESCRIPTION:
* T... | 26.57362 | 82 | 0.695948 |
5ba95943736d2377e92149b13db0f6c0d4a3504e | 480 | h | C | src/RCE/Utility/rce/utility/RMathUtility.h | Timie/PositionEstimationAccuracy | 9e88597c271ccc2a1a8442db6fa62236b7178296 | [
"MIT"
] | 1 | 2019-05-15T09:46:40.000Z | 2019-05-15T09:46:40.000Z | src/RCE/Utility/rce/utility/RMathUtility.h | Timie/PositionEstimationAccuracy | 9e88597c271ccc2a1a8442db6fa62236b7178296 | [
"MIT"
] | null | null | null | src/RCE/Utility/rce/utility/RMathUtility.h | Timie/PositionEstimationAccuracy | 9e88597c271ccc2a1a8442db6fa62236b7178296 | [
"MIT"
] | null | null | null | #ifndef RCE_UTILITY_RMATHUTILITY_H
#define RCE_UTILITY_RMATHUTILITY_H
namespace rce {
namespace utility {
double generateRandom(double lowBound,
double upBound);
// works on positive values
long long int roundToOdd(double value);
// class RMathUtilit... | 20 | 47 | 0.595833 |
6f62566170d77a3a4ee4e975ffb890b651a08e79 | 365 | h | C | src/wallet/rpcwalletext.h | frolosofsky/unit-e | d3d12508b915986841bd19c4dee9e50dd662a112 | [
"MIT"
] | 36 | 2019-04-17T18:58:51.000Z | 2022-01-18T12:16:27.000Z | src/wallet/rpcwalletext.h | frolosofsky/unit-e | d3d12508b915986841bd19c4dee9e50dd662a112 | [
"MIT"
] | 109 | 2019-04-17T17:19:45.000Z | 2019-06-19T15:16:37.000Z | src/wallet/rpcwalletext.h | frolosofsky/unit-e | d3d12508b915986841bd19c4dee9e50dd662a112 | [
"MIT"
] | 16 | 2019-04-17T17:35:42.000Z | 2020-01-09T17:51:05.000Z | // Copyright (c) 2017 The Particl developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef UNITE_WALLET_RPCWALLETEXT_H
#define UNITE_WALLET_RPCWALLETEXT_H
class CRPCTable;
void RegisterWalletextRPCCommands(CRPCTable ... | 28.076923 | 70 | 0.813699 |
6f8c05e926400aeda46515f9e945dc12254a101c | 4,262 | h | C | CesiumGeospatial/include/CesiumGeospatial/Projection.h | yieryi/cesium-native | 9493b9baebea601bd00d8139f2000e41ba4505ef | [
"Apache-2.0"
] | 154 | 2021-03-30T14:08:39.000Z | 2022-03-30T00:01:43.000Z | CesiumGeospatial/include/CesiumGeospatial/Projection.h | yieryi/cesium-native | 9493b9baebea601bd00d8139f2000e41ba4505ef | [
"Apache-2.0"
] | 256 | 2021-03-30T18:12:28.000Z | 2022-03-31T23:44:21.000Z | CesiumGeospatial/include/CesiumGeospatial/Projection.h | yieryi/cesium-native | 9493b9baebea601bd00d8139f2000e41ba4505ef | [
"Apache-2.0"
] | 66 | 2021-03-30T15:14:32.000Z | 2022-03-31T13:38:41.000Z | #pragma once
#include "BoundingRegion.h"
#include "CesiumGeometry/AxisAlignedBox.h"
#include "CesiumGeometry/Rectangle.h"
#include "GeographicProjection.h"
#include "WebMercatorProjection.h"
#include <glm/vec2.hpp>
#include <variant>
namespace CesiumGeospatial {
/**
* @brief A projection.
*
* This is a `std::va... | 32.045113 | 80 | 0.758564 |
b5068908dd39e46d02ff6e716f558b80406263ce | 8,146 | h | C | specs/API_includes/ZW_slave_api.h | balloob/node-zwave-js | 17abb0693ddb522dd1d2677c647123909e12b4bb | [
"MIT"
] | null | null | null | specs/API_includes/ZW_slave_api.h | balloob/node-zwave-js | 17abb0693ddb522dd1d2677c647123909e12b4bb | [
"MIT"
] | 109 | 2021-04-15T00:11:49.000Z | 2022-03-01T03:21:30.000Z | specs/API_includes/ZW_slave_api.h | balloob/node-zwave-js | 17abb0693ddb522dd1d2677c647123909e12b4bb | [
"MIT"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2001-2013
* Sigma Designs, Inc.
* All Rights Reserved
*
*---------------------------------------------------------------------------
*
* Description: Z-Wave Slave node application interface
*
* Author: ... | 43.795699 | 112 | 0.510926 |
a5c925e11d2c258e9b85ed6b153f9466c66d5ff2 | 2,198 | h | C | Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 3 | 2018-12-08T16:32:05.000Z | 2020-06-02T11:07:15.000Z | Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | null | null | null | Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 1 | 2019-09-12T00:26:05.000Z | 2019-09-12T00:26:05.000Z | #pragma once
#include "GLES3Renderer.h"
class CGLES3PipelineGraphics : public CGfxPipelineGraphics
{
friend class CGLES3PipelineGraphicsManager;
private:
CGLES3PipelineGraphics(uint32_t name);
virtual ~CGLES3PipelineGraphics(void);
public:
const CGfxDescriptorLayoutPtr GetDescriptorLayout(int indexDescriptorS... | 36.633333 | 202 | 0.787989 |
0214cacf34ef3bb4836ed239e109799c125382e9 | 3,796 | c | C | contest/change_base.c | ExcaliburZero/columbia-high-progamming-c | 430fa362fd2a881a3cdbd3e447eeeb117b3860e3 | [
"MIT"
] | null | null | null | contest/change_base.c | ExcaliburZero/columbia-high-progamming-c | 430fa362fd2a881a3cdbd3e447eeeb117b3860e3 | [
"MIT"
] | null | null | null | contest/change_base.c | ExcaliburZero/columbia-high-progamming-c | 430fa362fd2a881a3cdbd3e447eeeb117b3860e3 | [
"MIT"
] | null | null | null | //Chris Wells 2015
//956335
//October 16, 2014
//change_base.c
//Purpose: To convert a number from one base system to another base system (2-10, 16).
#include <stdio.h>
#include <math.h>
//Begin main function
void main()
{
int b1 = 0, b2 = 0; //Initialize integer variables to store the bases
int pre[10... | 18.885572 | 108 | 0.536091 |
cb6fc40854ed08efc2415f029d65d5a47d04e784 | 848 | h | C | components/drivers/peripheral/adc/include/vfsdev/adc_dev.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | components/drivers/peripheral/adc/include/vfsdev/adc_dev.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | components/drivers/peripheral/adc/include/vfsdev/adc_dev.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | /*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#ifndef _IO_ADC_H_
#define _IO_ADC_H_
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @defgroup driver_api driver
* @ingroup aos_components
* @{
*/
/**
* @}
*/
/** @defgroup adc_device_api adc
* @ingroup driver_api
* @{
*/
... | 15.418182 | 61 | 0.650943 |
43d8cfc5e121af9ec67e00dd64f831bcafa3682d | 2,433 | c | C | searching/Depth First Search and Breadth First Search.c | MDFARAZSIDDIQUE/c | f2b85ac29fee085b664beba7638e1af0439beb4f | [
"MIT"
] | 1 | 2020-06-27T04:38:48.000Z | 2020-06-27T04:38:48.000Z | searching/Depth First Search and Breadth First Search.c | MDFARAZSIDDIQUE/c | f2b85ac29fee085b664beba7638e1af0439beb4f | [
"MIT"
] | null | null | null | searching/Depth First Search and Breadth First Search.c | MDFARAZSIDDIQUE/c | f2b85ac29fee085b664beba7638e1af0439beb4f | [
"MIT"
] | 1 | 2020-01-22T11:01:42.000Z | 2020-01-22T11:01:42.000Z | #include<stdio.h>
#include<malloc.h>
#define n 10
#define max 10
int top=-1;
int front=-1,rear=-1;
int cq[max];
int adj[n][n];
int stack[max];
int visited1[max];
int visited2[max];
void push(int val)
{
if(top==max-1)
printf("\n overflow");
else
stack[++top]=val;
}
int pop()
{
if(top==-1)
{
p... | 13.745763 | 84 | 0.556104 |
b7447c1868cbc3d5b60f77d86895c5a963b3d299 | 28,252 | c | C | day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c | krembilneuroinformatics/kcni-school-lessons_old | 7016ad3b1ad432df8d10c4153406584591582202 | [
"MIT"
] | 3 | 2020-07-23T00:21:51.000Z | 2020-07-28T05:30:52.000Z | day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c | krembilneuroinformatics/kcni-school-lessons_old | 7016ad3b1ad432df8d10c4153406584591582202 | [
"MIT"
] | 1 | 2020-07-06T21:37:06.000Z | 2020-07-06T23:53:13.000Z | day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c | krembilneuroinformatics/kcni-school-lessons_old | 7016ad3b1ad432df8d10c4153406584591582202 | [
"MIT"
] | 1 | 2020-07-06T13:48:47.000Z | 2020-07-06T13:48:47.000Z | /* Created by Language version: 7.7.0 */
/* NOT VECTORIZED */
#define NRN_VECTORIZED 0
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "scoplib_ansi.h"
#undef PI
#define nil 0
#include "md1redef.h"
#include "section.h"
#include "nrniv_mf.h"
#include "md2redef.h"
#if METHOD3
extern int _method3;
#end... | 31.321508 | 199 | 0.623637 |
2e65e604d92cd754df8c62b25ed904663978e174 | 2,486 | h | C | test/test_runner.h | dprotaso/envoy | d9ca7c0660043a6889365271ed960bfa80e42aad | [
"Apache-2.0"
] | 2 | 2019-09-01T06:05:56.000Z | 2020-11-10T00:48:40.000Z | test/test_runner.h | dprotaso/envoy | d9ca7c0660043a6889365271ed960bfa80e42aad | [
"Apache-2.0"
] | null | null | null | test/test_runner.h | dprotaso/envoy | d9ca7c0660043a6889365271ed960bfa80e42aad | [
"Apache-2.0"
] | 1 | 2019-03-19T09:03:50.000Z | 2019-03-19T09:03:50.000Z | #pragma once
#include "common/common/logger.h"
#include "common/common/logger_delegates.h"
#include "common/common/thread.h"
#include "common/event/libevent.h"
#include "common/http/http2/codec_impl.h"
#include "test/mocks/access_log/mocks.h"
#include "test/test_common/environment.h"
#include "test/test_listener.h"
... | 40.754098 | 117 | 0.724859 |
a2f38318e4547bb40e4429c1777cb670fe8cb778 | 4,865 | h | C | code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | //#include "stdafx.h"
#ifndef __DXTRILIST_INCLUDED__
#define __DXTRILIST_INCLUDED__
//#include "../ode_include.h"
#include "../../3rd-party/ode/include/ode/common.h"
struct dcVector3
{
float x, y, z;
dcVector3() {}
dcVector3(dReal x, dReal y, dReal z)
{
this->x = (float)x;
this->y = (float)y;
this->z =... | 13.742938 | 114 | 0.612744 |
23b48ac3d2edcad4411b803f574c13c5b923d92d | 15,703 | c | C | src/audio/wasapi/SDL_wasapi_win32.c | matteckert/sdl | 9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4 | [
"Zlib"
] | 715 | 2015-06-20T10:14:57.000Z | 2022-02-26T07:19:30.000Z | src/audio/wasapi/SDL_wasapi_win32.c | matteckert/sdl | 9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4 | [
"Zlib"
] | 83 | 2018-02-22T16:38:52.000Z | 2022-03-13T16:33:49.000Z | src/audio/wasapi/SDL_wasapi_win32.c | matteckert/sdl | 9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4 | [
"Zlib"
] | 351 | 2015-02-05T16:43:02.000Z | 2021-12-22T19:36:54.000Z | /*
Simple DirectMedia Layer
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | 34.512088 | 149 | 0.690632 |
26a6c722f6406b214bfc0872eab95a6c1b1f233c | 1,309 | h | C | pq-crypto/ntru_pq3/ntru_pq3_kem.h | PeterSpacek/s2n | aeba008641cf45d8abb5f27d15bfa6375b34a76f | [
"Apache-2.0"
] | 1 | 2021-12-22T14:33:26.000Z | 2021-12-22T14:33:26.000Z | pq-crypto/ntru_pq3/ntru_pq3_kem.h | PeterSpacek/s2n | aeba008641cf45d8abb5f27d15bfa6375b34a76f | [
"Apache-2.0"
] | null | null | null | pq-crypto/ntru_pq3/ntru_pq3_kem.h | PeterSpacek/s2n | aeba008641cf45d8abb5f27d15bfa6375b34a76f | [
"Apache-2.0"
] | null | null | null | #ifndef NTRU_PQ3_KEM_H
#define NTRU_PQ3_KEM_H
#include "crypto/pq3/types.h"
#include "../pq_utils.h"
// FireSaber
#define NTRU_INDCPA_PUBLICKEYBYTES 1230
// if should be #define SABER_INDCPA_SECRETKEYBYTES 1590, but sk is stored in device, so s2n has only 4 bytes ID
#define NTRU_INDCPA_SECRETKEYBYTES 4
#defin... | 38.5 | 133 | 0.699007 |
96fb458eacbd6bd0f3e531617304ce729e00669c | 2,034 | c | C | NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c | scottkwarren/config-db | fb5c3da2465e5cff0ad30950493b11d452bd686b | [
"MIT"
] | 1 | 2019-01-17T20:07:23.000Z | 2019-01-17T20:07:23.000Z | NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c | scottkwarren/config-db | fb5c3da2465e5cff0ad30950493b11d452bd686b | [
"MIT"
] | null | null | null | NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c | scottkwarren/config-db | fb5c3da2465e5cff0ad30950493b11d452bd686b | [
"MIT"
] | null | null | null | /* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* $Id$
*
* Copyright (C) 1997 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*/
#include "adio.h"
#include "adio_extern.h"
void ADIO_End(int *error_code)
{
ADIOI_Flatlist_node *curr, *next;
ADIOI_Malloc_async *tmp;
ADIOI_... | 26.076923 | 89 | 0.716814 |
8c0fc58f55ef7ce840f89afcd22777134338beef | 825 | h | C | src/cluster/Cluster_SVs.h | Swappy012/Sniffles | 76372474a3cfea1f488f0593eda1f9798506ef45 | [
"MIT"
] | null | null | null | src/cluster/Cluster_SVs.h | Swappy012/Sniffles | 76372474a3cfea1f488f0593eda1f9798506ef45 | [
"MIT"
] | 1 | 2020-10-06T05:36:51.000Z | 2020-10-06T09:10:27.000Z | src/cluster/Cluster_SVs.h | Swappy012/Sniffles | 76372474a3cfea1f488f0593eda1f9798506ef45 | [
"MIT"
] | 2 | 2019-03-05T13:57:02.000Z | 2020-10-06T03:39:51.000Z | /*
* Cluster_SVs.h
*
* Created on: Apr 28, 2016
* Author: fsedlaze
*/
#ifndef CLUSTER_CLUSTER_SVS_H_
#define CLUSTER_CLUSTER_SVS_H_
#include <iostream>
#include <fstream>
#include <string.h>
#include <vector>
#include <map>
#include "../Paramer.h"
struct __attribute__((packed)) name_str{
long read_name;
i... | 19.642857 | 92 | 0.709091 |
1b1d1f9d00084cdcc570e6f6fe15e45937bac3c7 | 1,562 | c | C | Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c | tang0-0/RT-Thread_Practice | 2f0719295da2b1bcbcce82d597c4ccfdda454474 | [
"MIT"
] | null | null | null | Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c | tang0-0/RT-Thread_Practice | 2f0719295da2b1bcbcce82d597c4ccfdda454474 | [
"MIT"
] | null | null | null | Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c | tang0-0/RT-Thread_Practice | 2f0719295da2b1bcbcce82d597c4ccfdda454474 | [
"MIT"
] | 2 | 2019-10-31T16:47:03.000Z | 2019-11-02T23:08:21.000Z | /*
* File : application.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date ... | 24.40625 | 103 | 0.703585 |
1479c519d43a6177dc1a18aa3f3144f798dd85ef | 151 | h | C | project522/src/component292/headers/component292/lib14.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:25:24.000Z | 2016-11-23T17:25:27.000Z | project522/src/component292/headers/component292/lib14.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 15 | 2016-09-15T03:19:32.000Z | 2016-09-17T09:15:32.000Z | project522/src/component292/headers/component292/lib14.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2019-11-09T16:26:55.000Z | 2021-01-13T10:51:09.000Z | #ifndef PROJECT_HEADER_component292_14_H
#define PROJECT_HEADER_component292_14_H
int component292_14();
#endif // PROJECT_HEADER_component292_14_H | 18.875 | 42 | 0.86755 |
1b5b31ef7ef13f1905ba081e4347dc9dce1c3965 | 3,166 | h | C | Dep/HueSDK/phone/simulator/HueSDK.framework/Headers/PHSGroup.h | anexia-it/anexia-showcase-app-ios | 0676439956e67a8dcb7e02e1c1f2380c4b52ec23 | [
"MIT"
] | 10 | 2020-11-07T06:44:19.000Z | 2022-01-25T22:36:14.000Z | Dep/HueSDK/phone/simulator/HueSDK.framework/Headers/PHSGroup.h | anexia-it/anexia-showcase-app-ios | 0676439956e67a8dcb7e02e1c1f2380c4b52ec23 | [
"MIT"
] | 5 | 2020-12-03T21:54:02.000Z | 2021-02-24T15:53:53.000Z | Frameworks/HueSDK.framework/Headers/PHSGroup.h | thatcherclough/CoverFlow | 4eb30c3e1a5463ebdad2693e15c983375c003d0a | [
"MIT"
] | 2 | 2020-12-04T08:23:25.000Z | 2021-03-23T01:46:37.000Z | /*******************************************************************************
Copyright (C) 2017 Philips Lighting Holding B.V.
All Rights Reserved.
********************************************************************************/
#import "PHSBridgeResource.h"
#import "PHSReturnCode.h"
#import "PHSBridgeResponseC... | 28.522523 | 182 | 0.720783 |
15429cdf637f09e72f8361781e48537e5a0e410c | 2,715 | h | C | Application/include/tuya_battery_monitor.h | tuya/tuya-iotos-embeded-demo-ble-smart-pill-box | fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae | [
"MIT"
] | null | null | null | Application/include/tuya_battery_monitor.h | tuya/tuya-iotos-embeded-demo-ble-smart-pill-box | fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae | [
"MIT"
] | null | null | null | Application/include/tuya_battery_monitor.h | tuya/tuya-iotos-embeded-demo-ble-smart-pill-box | fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae | [
"MIT"
] | null | null | null | /**
* @file tuya_battery_monitor.h
* @author zzw
* @email: huanling.zhang@tuya.com
* @brief tuya_battery_monitor module is used to detect battery power
* @version 0.1
* @date 2021-08-26
*
* @copyright Copyright (c) tuya.inc 2021
*
*/
#ifndef __TUYA_BATTERY_MONITOR_H__
#define __TUYA_BATTERY_MONITOR_H__
/... | 26.359223 | 71 | 0.365009 |
4b12560f26bacc4437cd0afaec5c5cbc75f1d745 | 2,225 | c | C | nf/lib/stubs/containers/batcher-stub.c | matteobaccan/vignat | 96c0141411cd218cb9c2665ccf2e432f0f3bec0b | [
"MIT"
] | 74 | 2017-08-23T17:01:36.000Z | 2021-12-20T06:03:19.000Z | dpdk-nfs/nf/lib/stubs/containers/batcher-stub.c | dslab-epfl/pix | bab9226ad307ec7f1f548e00f216de9c80b7be48 | [
"MIT"
] | null | null | null | dpdk-nfs/nf/lib/stubs/containers/batcher-stub.c | dslab-epfl/pix | bab9226ad307ec7f1f548e00f216de9c80b7be48 | [
"MIT"
] | 10 | 2017-09-28T13:14:35.000Z | 2022-01-26T09:18:11.000Z | #include "lib/containers/batcher.h"
#include <klee/klee.h>
int alloc_len;
int was_read;
BATCHER_EL_TYPE alloc_value[BATCHER_CAPACITY];
struct Batcher* batcher_initialized;
void batcher_init(struct Batcher* bat_out)
{
// No need to trace this one, as it will be called from the inside of
// another traced function,... | 28.525641 | 76 | 0.72764 |
afb0e8aa7f9a70b22f224c6238662ce0b07979e1 | 2,555 | h | C | services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | null | null | null | services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | null | null | null | services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | 1 | 2021-09-13T12:07:54.000Z | 2021-09-13T12:07:54.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 37.028986 | 90 | 0.717808 |
4b68fbcf6eb9989788cff4c8045aa1e4ca48b9ec | 1,492 | h | C | System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.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:04:55 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... | 43.882353 | 169 | 0.77882 |
4b7c1c85228afafb26b8f42dfe25faf78c559479 | 224 | h | C | OSLibrary/addressbook/addressbookTests/addressbookTests.h | madcato/OSLibrary | febb69edfee2f4aca0a9073fb8881ce2bc0daedf | [
"MIT"
] | 1 | 2016-03-06T21:32:16.000Z | 2016-03-06T21:32:16.000Z | OSLibrary/addressbook cloudkit/addressbookTests/addressbookTests.h | madcato/OSLibrary | febb69edfee2f4aca0a9073fb8881ce2bc0daedf | [
"MIT"
] | 3 | 2016-08-18T08:19:33.000Z | 2016-08-18T08:20:53.000Z | OSLibrary/addressbook/addressbookTests/addressbookTests.h | madcato/OSLibrary | febb69edfee2f4aca0a9073fb8881ce2bc0daedf | [
"MIT"
] | null | null | null | //
// addressbookTests.h
// addressbookTests
//
// Created by Daniel Vela on 6/12/13.
// Copyright (c) 2013 Daniel Vela. All rights reserved.
//
#import <XCTest/XCTest.h>
@interface addressbookTests : XCTestCase
@end
| 16 | 56 | 0.700893 |
aa055337ee556dd3dc7aecd3c5fceb16fd673d17 | 1,764 | h | C | audio/audio.h | etodt/RoboTeamA-VRI-LARC-2019 | eb82bd8cecd97097e7f82931e2c4a1f939a34587 | [
"Apache-2.0"
] | 3 | 2021-05-21T13:48:12.000Z | 2021-11-30T06:23:38.000Z | audio/audio.h | etodt/RoboTeamA-VRI-LARC-2019 | eb82bd8cecd97097e7f82931e2c4a1f939a34587 | [
"Apache-2.0"
] | null | null | null | audio/audio.h | etodt/RoboTeamA-VRI-LARC-2019 | eb82bd8cecd97097e7f82931e2c4a1f939a34587 | [
"Apache-2.0"
] | 1 | 2020-01-15T16:50:59.000Z | 2020-01-15T16:50:59.000Z | /*
Optional communication protocol for 2015 RoboCup 3D simulation
drop-in player challenge
*/
#ifndef _AUDIO_H
#define _AUDIO_H
#include <string>
#include <vector>
// Communication alphabet must have 64 symbols.
const std::string commAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*#";
/*... | 56.903226 | 231 | 0.6678 |
5bbd221194d0769891e6851169e9c257f0934c48 | 19,574 | c | C | ds/nw/nwscript/ps40db.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/nw/nwscript/ps40db.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/nw/nwscript/ps40db.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
psndsdb.c
Abstract:
Read the Print Configuration Attributes
$Log: N:\NT\PRIVATE\NW4\NWSCRIPT\VCS\PS40DB.C $
*
* Rev 1.4 10 Apr 1996 14:23:28 terryt
* Hotfix for 21181hq
*
* Rev 1.4 12 Mar 1996 19:55:22 t... | 32.407285 | 97 | 0.522939 |
6f77447821e6407ecf3c09e3bb01e0a6254da7df | 263,886 | c | C | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c | hwiwonl/ACES | 9b9a6766a177c531384b863854459a7e016dbdcc | [
"NCSA"
] | null | null | null | /**
******************************************************************************
* @file filebrowser_res.c
* @author MCD Application Team
* @brief Filebrowser resources source file
******************************************************************************
* @attention
*
* <h2><center>© ... | 204.24613 | 254 | 0.685194 |
a59a45efdfb93f0a8b75986cffefe9d19d841b0a | 37,035 | c | C | emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c | leetobin/firebrick | 9109e8025d949357a0320aa2903bbad876593143 | [
"Apache-2.0"
] | 9 | 2015-03-24T12:39:13.000Z | 2021-03-31T20:08:03.000Z | emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c | leetobin/firebrickRemote | e825e194d09752b32db3c8d5a9b8d0e912030df9 | [
"Apache-2.0"
] | null | null | null | emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c | leetobin/firebrickRemote | e825e194d09752b32db3c8d5a9b8d0e912030df9 | [
"Apache-2.0"
] | 3 | 2015-11-23T14:14:18.000Z | 2018-03-14T11:49:00.000Z | /* $NoKeywords:$ */
/**
* @file
*
* AMD Heap Manager and Heap Allocation APIs, and related functions.
*
* Contains code that initialize, maintain, and allocate the heap space.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU
* @e \$Revision: 63425 $ @e... | 40.608553 | 128 | 0.66691 |
9d3a01dfaba06506288005a2daeb9ede95ebc78a | 174 | c | C | Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c | Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK | 1d12cc5fdce57aa42e5880632ec2f8402706f48c | [
"Apache-2.0"
] | 12 | 2020-12-04T15:06:22.000Z | 2022-01-19T09:57:47.000Z | Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c | Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK | 1d12cc5fdce57aa42e5880632ec2f8402706f48c | [
"Apache-2.0"
] | 1 | 2021-03-01T04:29:31.000Z | 2021-03-15T03:15:20.000Z | Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c | Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK | 1d12cc5fdce57aa42e5880632ec2f8402706f48c | [
"Apache-2.0"
] | 5 | 2020-12-10T09:09:24.000Z | 2021-04-15T11:50:32.000Z | #include <lwip/netifapi.h>
#include "wifi_mgmr.h"
#include "wifi_netif.h"
int wifi_netif_dhcp_start(struct netif *netif)
{
netifapi_dhcp_start(netif);
return 0;
}
| 14.5 | 46 | 0.724138 |
77e7dff2c4573b0d93d10c540ea01c102c54a578 | 2,478 | h | C | include/lsst/afw/table/IdFactory.h | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | include/lsst/afw/table/IdFactory.h | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | include/lsst/afw/table/IdFactory.h | DarkEnergySurvey/cosmicRays | 5c29bd9fc4a9f37e298e897623ec98fff4a8d539 | [
"NCSA"
] | null | null | null | // -*- lsst-c++ -*-
#ifndef AFW_TABLE_IdFactory_h_INCLUDED
#define AFW_TABLE_IdFactory_h_INCLUDED
#include <memory>
#include "lsst/base.h"
#include "lsst/afw/table/misc.h"
namespace lsst {
namespace afw {
namespace table {
/**
* A polymorphic functor base class for generating record IDs for a table.
*
* The ID... | 31.769231 | 103 | 0.673123 |
8b03cf42aa4d6e8e660d3e37fe92d02979ce9067 | 2,139 | c | C | c/examples/sum.c | Flouse/godwoken-scripts | add49db7187fc1aae1efc5bbb89fea30aa762847 | [
"MIT"
] | 6 | 2021-04-05T18:54:54.000Z | 2021-12-16T07:38:04.000Z | c/examples/sum.c | Flouse/godwoken-scripts | add49db7187fc1aae1efc5bbb89fea30aa762847 | [
"MIT"
] | 10 | 2021-06-25T05:13:18.000Z | 2022-03-04T11:38:04.000Z | c/examples/sum.c | Flouse/godwoken-scripts | add49db7187fc1aae1efc5bbb89fea30aa762847 | [
"MIT"
] | 7 | 2021-03-02T05:56:27.000Z | 2022-03-15T03:20:57.000Z | /*
* The Sum is a layer2 contract example demostrate how to read & write to the
* account state.
*/
#include "ckb_syscalls.h"
#include "gw_syscalls.h"
#include "stdio.h"
#define ERROR_INVALID_DATA 10
uint64_t saturating_add(uint64_t a, uint64_t b);
int extract_args(gw_context_t *ctx, uint64_t *v);
int read_counte... | 26.085366 | 89 | 0.677887 |
e2cd1caa6adebec02b5910d178c21825bfd44ae7 | 3,718 | c | C | components/ucamera/src/device/wifi/wifi_camera.c | ekmixon/AliOS-Things | 00334295af8aa474d818724149726ca93da4645d | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | components/ucamera/src/device/wifi/wifi_camera.c | ekmixon/AliOS-Things | 00334295af8aa474d818724149726ca93da4645d | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | components/ucamera/src/device/wifi/wifi_camera.c | willianchanlovegithub/AliOS-Things | 637c0802cab667b872d3b97a121e18c66f256eab | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | /*
* Copyright (C) 2021-2023 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <string.h>
#include "ulog/ulog.h"
#include "aos/kernel.h"
#include "ucamera_service.h"
#include <httpclient.h>
#include "wifi_camera.h"
// #include <aiconfig.h>
/*Tested this program with esp32 eye*/
#define TAG "WIFI_CAMERA"... | 25.465753 | 113 | 0.695535 |
122a7155566e7cf254abb1730f6bf6cb7c49d31f | 1,035 | h | C | Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 27.236842 | 78 | 0.658937 |
12aa993502e6c868caea5cfed30ba7aa1a5c30d6 | 1,659 | c | C | process_func.c | vanessaloiz/simple_shell | 466fd27fff6c60157d832616c1a0f0f9f25506b9 | [
"FTL"
] | null | null | null | process_func.c | vanessaloiz/simple_shell | 466fd27fff6c60157d832616c1a0f0f9f25506b9 | [
"FTL"
] | null | null | null | process_func.c | vanessaloiz/simple_shell | 466fd27fff6c60157d832616c1a0f0f9f25506b9 | [
"FTL"
] | null | null | null | #include "header.h"
/**
* _fork - Creates a forked process
* @args: List of arguments
* @argv: Starting arguments
* @env: Environment variable list
* @buffer: User input
* @amt: While count
*/
void _fork(char **args, char **argv, char **env, char *buffer, int amt)
{
int child_status;
pid_t pid;
/*fstat da el ... | 24.397059 | 78 | 0.64135 |
e30763249c593e93c002583d00958773bb7230a5 | 123,417 | c | C | main.c | meshmol/mesh | 0aca5f8969d2ace2a3739329b04d3e88ddaa394c | [
"MIT"
] | 3 | 2015-04-04T16:23:53.000Z | 2020-02-15T09:58:48.000Z | main.c | meshmol/mesh | 0aca5f8969d2ace2a3739329b04d3e88ddaa394c | [
"MIT"
] | null | null | null | main.c | meshmol/mesh | 0aca5f8969d2ace2a3739329b04d3e88ddaa394c | [
"MIT"
] | 1 | 2018-06-22T12:06:43.000Z | 2018-06-22T12:06:43.000Z | // Normal Scheme compiler
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <setjmp.h>
#include <windows.h>
#include <signal.h>
#include <math.h>
#include <time.h>
#include "norm.h"
cell memory[CELLSIZE];
token stok = {GO,OTHER};
jmp_buf toplevel;
int asmflag = 0;
int gbcflag = 0... | 25.642427 | 97 | 0.425776 |
3f91a5305fb4cd7a28a87b905b0ae4cc4a643a07 | 1,383 | c | C | InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c | lucasguesserts/tower_of_hanoi | 7974825a3d33dc06513a6912d9f41631c8aa8dac | [
"MIT"
] | null | null | null | InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c | lucasguesserts/tower_of_hanoi | 7974825a3d33dc06513a6912d9f41631c8aa8dac | [
"MIT"
] | null | null | null | InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c | lucasguesserts/tower_of_hanoi | 7974825a3d33dc06513a6912d9f41631c8aa8dac | [
"MIT"
] | null | null | null | #include <TowerOfHanoi.h>
#include <stdio.h>
#include <stdlib.h>
int getInt(char message[]);
int main(void)
{
TowerOfHanoi th;
const unsigned numberOfDisks = 3, numberOfRods = 3;
unsigned diskToMove, targetRod;
MoveError moveRet;
initializeTowerOfHanoi(&th, numberOfDisks, numberOfRods);
system("clear");
while... | 23.05 | 90 | 0.677513 |
273c71a11922581ff0c12f84246146032e95273e | 891 | c | C | dios/init.c | edjubuh/ose-14-15 | 933294b83660677f66b966a14035563c267b8ce0 | [
"MIT"
] | 4 | 2015-05-13T01:44:36.000Z | 2022-01-06T04:26:57.000Z | dios/init.c | edjubuh/ose | 933294b83660677f66b966a14035563c267b8ce0 | [
"MIT"
] | null | null | null | dios/init.c | edjubuh/ose | 933294b83660677f66b966a14035563c267b8ce0 | [
"MIT"
] | null | null | null | /**
* @file dios/init.c
* @brief Source file for initialize functions.
*
* Copyright (c) 2014-2015 Olympic Steel Eagles. All rights reserved.
* Portions of this file may contain elements from the PROS API.
* See include/API.h for additional notice.
****************************************************************... | 22.275 | 86 | 0.655443 |
6bcb758e3b9c78aa075738523fe119a38daaeef5 | 6,595 | h | C | Discarded/ParallellQueue___.h | FlovinTue/ConcurrentQueue | 872adad164852aaa3970ad046142c77a5322f3e1 | [
"MIT"
] | null | null | null | Discarded/ParallellQueue___.h | FlovinTue/ConcurrentQueue | 872adad164852aaa3970ad046142c77a5322f3e1 | [
"MIT"
] | null | null | null | Discarded/ParallellQueue___.h | FlovinTue/ConcurrentQueue | 872adad164852aaa3970ad046142c77a5322f3e1 | [
"MIT"
] | null | null | null | // Data shuttle v2
// Flovin Michaelsen
#pragma once
#include "GrowingArray.h"
#include <atomic>
#include <cassert>
#include <thread>
#include "ParallellQueueInternals.h"
#pragma warning(disable : 4324)
template <class T, uint32_t MaxProducers = 32>
class ParallellQueue
{
public:
ParallellQueue(uint32_t aInitClus... | 28.06383 | 105 | 0.751175 |
6a4b257be53f1d1e441631906a6da9c279b3fb21 | 5,479 | h | C | graphics/vcglib/wrap/io_trimesh/import_ctm.h | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | graphics/vcglib/wrap/io_trimesh/import_ctm.h | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | graphics/vcglib/wrap/io_trimesh/import_ctm.h | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... | 34.898089 | 105 | 0.544625 |
580b1528e0072a3fafd94c5aafb0cbb94249f8bc | 263 | c | C | C/3.c | hanss314/ProjectEuler | 4e032ae265cbce401dc76f6de836ca2492d94434 | [
"MIT"
] | null | null | null | C/3.c | hanss314/ProjectEuler | 4e032ae265cbce401dc76f6de836ca2492d94434 | [
"MIT"
] | null | null | null | C/3.c | hanss314/ProjectEuler | 4e032ae265cbce401dc76f6de836ca2492d94434 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
long int x = 600851475143;
int f = 0;
int c = 2;
while(x != 1){
if(x%c == 0){
x /= c;
f = c;
}else{
c += 1;
}
}
printf("%d\n", f);
return 0;
}
| 13.842105 | 27 | 0.334601 |
38e77867c0521264ce43f88ad909486a943715c1 | 3,949 | h | C | CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 1,025 | 2016-04-19T21:36:08.000Z | 2020-04-26T05:12:53.000Z | CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 244 | 2016-04-20T02:05:43.000Z | 2020-04-29T17:40:49.000Z | CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 161 | 2016-04-20T03:23:53.000Z | 2020-04-14T01:46:55.000Z | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file afSourceCodeViewsManager.h
///
//=============================================================================... | 36.906542 | 139 | 0.702963 |
59009b652b4c5975393e37136bdee38a839dfd64 | 2,348 | h | C | project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | // Copyright @2012 JDSU Xtreme
#ifndef XTREME_MMUS_PARAMETER_MGR_H
#define XTREME_MMUS_PARAMETER_MGR_H
#include <boost/thread/locks.hpp>
#include <boost/thread/thread.hpp>
#include "xtreme/cs/cs.h"
#include <string>
namespace xtreme {
namespace mmus {
class CParameterMgr {
public:
static CParameterMgr* GetInsta... | 24.715789 | 63 | 0.625213 |
df6958454ec71e71626cd767fb2ef9c95c918426 | 853 | c | C | CodeChef/MATBREAK_MatrixDecomposition.c | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 12 | 2021-06-05T09:40:10.000Z | 2021-10-07T17:59:51.000Z | CodeChef/MATBREAK_MatrixDecomposition.c | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 21 | 2021-09-30T22:25:03.000Z | 2021-10-05T18:23:25.000Z | CodeChef/MATBREAK_MatrixDecomposition.c | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 67 | 2021-08-01T10:04:52.000Z | 2021-10-10T00:25:04.000Z | //Link To The Problem
//https://www.codechef.com/COOK117B/problems/MATBREAK/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void func();
long long int mod = pow(10, 9) + 7;
long long int powercalculator(long long int x, unsigned long long int y)
{
long long int res = 1;
x = x % mod;
i... | 16.72549 | 75 | 0.484174 |
8a49ba6e44f9a0755a6f187e10b4cfef9e49723e | 5,492 | c | C | drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c | Server2356/Sun-Kernel | 63cc54a6948ba572388f829c1fd641ffde0803d8 | [
"MIT"
] | 5 | 2020-07-08T01:35:16.000Z | 2021-04-12T16:35:29.000Z | kernel/drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c | SFIP/SFIP | e428a425d2d0e287f23d49f3dd583617ebd2e4a3 | [
"Zlib"
] | null | null | null | kernel/drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c | SFIP/SFIP | e428a425d2d0e287f23d49f3dd583617ebd2e4a3 | [
"Zlib"
] | null | null | null | // SPDX-License-Identifier: GPL-2.0
/*
* Functions corresponding to integer type attributes under BIOS Integer GUID for use with
* dell-wmi-sysman
*
* Copyright (c) 2020 Dell Inc.
*/
#include "dell-wmi-sysman.h"
enum int_properties {MIN_VALUE = 6, MAX_VALUE, SCALAR_INCR};
get_instance_id(integer);
static ssiz... | 30.010929 | 95 | 0.787873 |
ad07edd15416fe2d98c4ae94a09fd7e5a1e4d4dd | 966 | h | C | Algorithms/cpp/611. Valid Triangle Number/solution.h | Stadstot/LeetCode | 7e33877496651685b732e4f52c177c863609ef05 | [
"MIT"
] | null | null | null | Algorithms/cpp/611. Valid Triangle Number/solution.h | Stadstot/LeetCode | 7e33877496651685b732e4f52c177c863609ef05 | [
"MIT"
] | null | null | null | Algorithms/cpp/611. Valid Triangle Number/solution.h | Stadstot/LeetCode | 7e33877496651685b732e4f52c177c863609ef05 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
class Solution {
public:
int triangleNumber(vector<int>& nums) {
std::sort(nums.begin(), nums.end());
auto notNullStart = nums.begin();
for(; notNullStart < nums.end(); notNullStart += 1) {
if (*notNullStart != 0) {
break;
... | 24.15 | 67 | 0.333333 |
8dafaccd74af4760b89394ffe738fe5f7ce237e7 | 157 | h | C | Classes/Music.h | melonedo/fate-grand-rider | 63ff2a31dca4d0f29a60258554a3544c624ef7f1 | [
"MIT"
] | 1 | 2020-05-10T13:57:03.000Z | 2020-05-10T13:57:03.000Z | Classes/Music.h | melonedo/fate-grand-rider | 63ff2a31dca4d0f29a60258554a3544c624ef7f1 | [
"MIT"
] | null | null | null | Classes/Music.h | melonedo/fate-grand-rider | 63ff2a31dca4d0f29a60258554a3544c624ef7f1 | [
"MIT"
] | null | null | null | #pragma once
#include"Pause.h"
class Music {
public:
//播放背景音乐
void PlayMusic();
private:
int _audioID;
bool _loopEnabled;
float _volume;
};
| 9.8125 | 20 | 0.66242 |
3871cccf8236ef6456e83a4b2b1a9f3bdc513b14 | 8,868 | h | C | include/board.h | ohnx/shaibel | 624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1 | [
"MIT"
] | null | null | null | include/board.h | ohnx/shaibel | 624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1 | [
"MIT"
] | null | null | null | include/board.h | ohnx/shaibel | 624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1 | [
"MIT"
] | null | null | null | /**
* The chess board is represented in two formats; 10x12 array with pieces in
* each slot (for more intuitive representation), a 64-bit bitfield for some pieces
* (for easier evaluation of certain positions), and a piece list (for faster move generation).
*/
#ifndef BOARD_INC_H
#define BOARD_INC_H
#include <stdi... | 30.898955 | 111 | 0.72959 |
69f29a01d528a11a6a434f1a1d40f326d9157abb | 965 | h | C | Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
namespace Audio {
namespace EAudioMixerPlatformApi
{
enum Type
{
XAudio2, // Windows, XBoxOne
AudioOut, // PS4
CoreAudio, // Mac
AudioUnit, // iOS
SDL2, // Used on Linux, Html5
OpenSLES, // Android
Switch, // ... | 16.355932 | 60 | 0.634197 |
35d086098353b4663ae270e66de1b74a2779931e | 1,148 | h | C | skel/simint/simint_init.h | colleeneb/simint-generator | 48125f29612c4a78a2d1493f717d82e4af095c59 | [
"BSD-3-Clause"
] | 20 | 2017-07-04T16:10:22.000Z | 2021-04-19T20:48:44.000Z | skel/simint/simint_init.h | colleeneb/simint-generator | 48125f29612c4a78a2d1493f717d82e4af095c59 | [
"BSD-3-Clause"
] | 9 | 2017-03-22T07:57:38.000Z | 2018-12-11T18:48:55.000Z | skel/simint/simint_init.h | colleeneb/simint-generator | 48125f29612c4a78a2d1493f717d82e4af095c59 | [
"BSD-3-Clause"
] | 8 | 2017-10-23T23:16:28.000Z | 2021-12-13T17:18:11.000Z | #pragma once
#ifdef __cplusplus
extern "C" {
#endif
/*! \brief Initializes the simint library
*
* This function performs any required initialization of variables, data
* structures, etc, within libint.
*
* The library must be initialized for a given process (not necessarily a given
* thread).
*
* It is safe t... | 26.697674 | 80 | 0.722125 |
6c1d0cae7002aa110437f4f2cca12ced402da14b | 1,148 | h | C | System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 2 | 2020-07-26T20:30:54.000Z | 2020-08-10T04:26:23.000Z | System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 1 | 2020-07-26T20:45:31.000Z | 2020-08-09T09:30:46.000Z | System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:25:20 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... | 33.764706 | 85 | 0.79007 |
c70a1dff99c1e61d79f086adaf4eba039c6de8c0 | 206 | h | C | esame-36/shapes/shapes.h | unimoreinginfo/esami | afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21 | [
"MIT"
] | 2 | 2020-12-25T11:17:40.000Z | 2020-12-31T08:56:59.000Z | esame-36/shapes/shapes.h | Cledem/esami-fdi1 | afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21 | [
"MIT"
] | 1 | 2020-07-23T12:34:56.000Z | 2020-07-23T12:42:52.000Z | esame-36/shapes/shapes.h | Cledem/esami-fdi1 | afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21 | [
"MIT"
] | 3 | 2020-12-25T10:08:39.000Z | 2022-01-03T19:41:49.000Z | #pragma once
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
struct line {
int16_t x1, y1;
int16_t x2, y2;
uint8_t thickness;
};
extern bool line_load(FILE* f, struct line* pln); | 17.166667 | 49 | 0.665049 |
e4fbba1b98992b5726d4c13c8be7167c56e3a794 | 6,908 | c | C | modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c | A2-Collaboration/epics | b764a53bf449d9f6b54a1173c5e75a22cf95098c | [
"OML"
] | null | null | null | /* NMC_DEMO.C */
/*******************************************************************************
*
* Demonstration Program for User Control of Networked Modules
*
* This program is a demonstration of how to directly access and control
* Nuclear Data networked acquisition modules (i.e., without using the
* ND Integrat... | 32.280374 | 103 | 0.678633 |
90493065007f6d434d69ca6d164bbdea8e0d56e3 | 207 | h | C | HXImage/Public/HXImage.h | Magic-Unique/HXImage | 0b7451fb3b657050fc19063a6e5494b76f88070f | [
"MIT"
] | 158 | 2016-05-02T13:51:45.000Z | 2020-06-21T13:31:38.000Z | HXImage/Public/HXImage.h | Magic-Unique/HXImage | 0b7451fb3b657050fc19063a6e5494b76f88070f | [
"MIT"
] | 5 | 2016-05-03T09:18:47.000Z | 2016-05-28T07:06:15.000Z | HXImage/Public/HXImage.h | Magic-Unique/HXImage | 0b7451fb3b657050fc19063a6e5494b76f88070f | [
"MIT"
] | 33 | 2016-05-02T13:51:46.000Z | 2019-12-04T02:23:17.000Z | //
// HXImage.h
// HXImage
//
// Created by 冷秋 on 2018/7/3.
// Copyright © 2018年 unique. All rights reserved.
//
#ifndef HXImage_h
#define HXImage_h
#import "UIImage+HXImage.h"
#endif /* HXImage_h */
| 13.8 | 50 | 0.657005 |
8e7cc4bad74404643285383d93314876de747da2 | 907 | h | C | xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h | LeoChensj/Demo | 03217286dcf843ac96997eed8eb82b219427f47c | [
"MIT"
] | null | null | null | xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h | LeoChensj/Demo | 03217286dcf843ac96997eed8eb82b219427f47c | [
"MIT"
] | null | null | null | xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h | LeoChensj/Demo | 03217286dcf843ac96997eed8eb82b219427f47c | [
"MIT"
] | null | null | null | //
// CheckinPersonListView.h
// xbed
//
// Created by Leo.Chen on 16/10/11.
// Copyright © 2016年 Leo.Chen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CheckinOrderInfoRespModel.h"
@interface CheckinPersonListCell : UITableViewCell
{
@private
UILabel *_lbName;
UILabel *_lbIdNo;
}
@property (... | 23.868421 | 91 | 0.747519 |
b047aa667015b2bb3b4fd565b24195ae1258755b | 1,124 | h | C | src/utils/config/json.h | unbornchikken/reflect-cpp | 1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f | [
"BSD-2-Clause"
] | 45 | 2015-03-24T09:35:46.000Z | 2021-05-06T11:50:34.000Z | src/utils/config/json.h | unbornchikken/reflect-cpp | 1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f | [
"BSD-2-Clause"
] | null | null | null | src/utils/config/json.h | unbornchikken/reflect-cpp | 1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f | [
"BSD-2-Clause"
] | 11 | 2015-01-27T12:08:21.000Z | 2020-08-29T16:34:13.000Z | /* json.h -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 27 Apr 2014
FreeBSD-style copyright and disclaimer apply
Json config serialization.
*/
#include "includes.h"
#pragma once
namespace reflect {
namespace config {
/********************************************************... | 30.378378 | 80 | 0.36121 |
b81fff6b5b8fcd4bd00457c87474a1a829c863b0 | 20,171 | c | C | src/wasmjit/instantiate.c | wolfired/wasmjit | 6caca9d4228d5b2559414b4b0bc68132da64b55b | [
"MIT"
] | null | null | null | src/wasmjit/instantiate.c | wolfired/wasmjit | 6caca9d4228d5b2559414b4b0bc68132da64b55b | [
"MIT"
] | null | null | null | src/wasmjit/instantiate.c | wolfired/wasmjit | 6caca9d4228d5b2559414b4b0bc68132da64b55b | [
"MIT"
] | null | null | null | /* -*-mode:c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
Copyright (c) 2018 Rian Hunter et. al, see AUTHORS file.
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 witho... | 26.471129 | 90 | 0.658272 |
8ed4829fc6355584c2becaee2696ac69a3230091 | 812 | h | C | YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h | ntdhat/YahooCodingTest | ba505bb955134d915127290e8ad7ca109884fd88 | [
"MIT"
] | null | null | null | YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h | ntdhat/YahooCodingTest | ba505bb955134d915127290e8ad7ca109884fd88 | [
"MIT"
] | null | null | null | YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h | ntdhat/YahooCodingTest | ba505bb955134d915127290e8ad7ca109884fd88 | [
"MIT"
] | null | null | null | //
// OpenWeatherMapAccess.h
// YahooCodingTest
//
// Created by admin on 2/5/18.
// Copyright © 2018 ntdhat. All rights reserved.
//
#import <Foundation/Foundation.h>
@class CityWeatherModel;
@interface OpenWeatherMapRequest: NSObject {
NSString* _cityName;
}
@property (nonatomic, strong) NSString* cityName... | 27.066667 | 126 | 0.783251 |
9bde4c0a518e99e338d7b4f14d7abfae56def1d4 | 7,499 | c | C | solutions/test_aoshal/app/src/hal_test/gpio_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 9 | 2020-05-12T03:01:55.000Z | 2021-08-12T10:22:31.000Z | solutions/test_aoshal/app/src/hal_test/gpio_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | null | null | null | solutions/test_aoshal/app/src/hal_test/gpio_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 12 | 2020-04-15T11:37:33.000Z | 2021-09-13T13:19:04.000Z | /*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <aos/kernel.h>
#include <aos/aos.h>
#include <aos/hal/gpio.h>
#include <soc.h>
// #include <ulog/ulog.h>
#include <yoc/atserver.h>
#define GPIO_LED_... | 26.592199 | 113 | 0.593012 |
f8aeb3b61b81156c262305bf30c0afd3cf61d068 | 835 | h | C | Model.h | jstrom2002/SoftwareRasterizer | e681cddde81fcce7188c582f7af23aa84ae50286 | [
"Unlicense"
] | 2 | 2020-10-20T02:21:23.000Z | 2020-12-27T14:10:59.000Z | Model.h | jstrom2002/SoftwareRasterizer | e681cddde81fcce7188c582f7af23aa84ae50286 | [
"Unlicense"
] | null | null | null | Model.h | jstrom2002/SoftwareRasterizer | e681cddde81fcce7188c582f7af23aa84ae50286 | [
"Unlicense"
] | null | null | null | #pragma once
#include "Triangle.h"
#include "Material.h"
#include <vector>
#include <string>
namespace SoftwareRasterizer
{
class Model
{
public:
glm::vec3 position, rotation;
float scale;
std::vector<Triangle> m_Triangles;
std::vector<Material> m_Materials;
... | 28.793103 | 81 | 0.617964 |
59bc1310f8305de83ef978c2685b26439fd26dd6 | 536 | h | C | qmk/keyboards/shotgun_cp/shotgun_cp.h | Taro-Hayashi/Shotgun-CherryPie | 97a174e7092123c20a2386ca4ddd569ce58112d5 | [
"MIT"
] | 4 | 2022-01-17T15:26:38.000Z | 2022-03-30T14:34:03.000Z | qmk/keyboards/shotgun_cp/shotgun_cp.h | Taro-Hayashi/Shotgun-CherryPie | 97a174e7092123c20a2386ca4ddd569ce58112d5 | [
"MIT"
] | null | null | null | qmk/keyboards/shotgun_cp/shotgun_cp.h | Taro-Hayashi/Shotgun-CherryPie | 97a174e7092123c20a2386ca4ddd569ce58112d5 | [
"MIT"
] | 2 | 2021-12-11T14:29:13.000Z | 2022-03-14T00:13:07.000Z | // Copyright 2021 Hayashi (@w_vwbw)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"
#define LAYOUT( \
k00, k01, k02, k03, \
k10, k11, k12, k13, \
k20, k21, k22, k23, \
k30, k31, k32, k33, \
k40, k41, k42, k43, \
r00, r01, r10, r11, r20, r21, \
r30, r31, r40... | 23.304348 | 44 | 0.514925 |
dd46bf950f02177300faf3690ef88e740051bd9a | 20,497 | c | C | src/unum/util/util.c | bmastbergen/unum-sdk | 7a7cbd56b920e49dcb78897acba9b2c68721e551 | [
"Apache-2.0"
] | null | null | null | src/unum/util/util.c | bmastbergen/unum-sdk | 7a7cbd56b920e49dcb78897acba9b2c68721e551 | [
"Apache-2.0"
] | null | null | null | src/unum/util/util.c | bmastbergen/unum-sdk | 7a7cbd56b920e49dcb78897acba9b2c68721e551 | [
"Apache-2.0"
] | null | null | null | // (c) 2017-2019 minim.co
// unum helper utils code
#include "unum.h"
// Get firmware version string (has to be static string)
char *util_fw_version()
{
#ifdef AGENT_VERSION_IS_FW_VERSION
return VERSION;
#else // AGENT_VERSION_IS_FW_VERSION
return platform_fw_version();
#endif // AGENT_VERSION_IS_FW_VERSION... | 29.281429 | 80 | 0.613553 |
970dcad250eaa4e9879d9745c840120cb9838fa0 | 800 | h | C | examples/0110-facade-class-and-rtti/exp/example.h | satya-das/cib | 369333ea58b0530b8789a340e21096ba7d159d0e | [
"MIT"
] | 30 | 2018-03-05T17:35:29.000Z | 2022-03-17T18:59:34.000Z | examples/0110-facade-class-and-rtti/exp/example.h | satya-das/cib | 369333ea58b0530b8789a340e21096ba7d159d0e | [
"MIT"
] | 2 | 2016-05-26T04:47:13.000Z | 2019-02-15T05:17:43.000Z | examples/0110-facade-class-and-rtti/exp/example.h | satya-das/cib | 369333ea58b0530b8789a340e21096ba7d159d0e | [
"MIT"
] | 5 | 2019-02-15T05:09:22.000Z | 2021-04-14T12:10:16.000Z | #pragma once
#include "__zz_cib_internal/example-predef.h"
class Facade
{
public:
Facade(Facade&& rhs);
public:
virtual void F() = 0;
virtual ~Facade();
protected:
Facade();
private:
__ZZ_CIB_FACADE_CLASS_INTERNALS(Facade, Facade);
};
class PublicFacadeImpl : public ::Facade
{
public:
PublicFacadeImpl(... | 16 | 69 | 0.71875 |
971afc2ea4b4a29f9ce0025d87c951da5c6e5584 | 8,578 | h | C | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/exevents.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.6.5/exevents.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.6.5/exevents.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /************************************************************
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the abov... | 32.127341 | 78 | 0.485894 |
e163c0b83b8b123c8f1817a99e1de5e1926dd75e | 743 | h | C | include/BitOperating.h | n-fallahinia/UoU_soft_v1.3 | c7bd57825416a4bf8ef308d94a3572d41130d475 | [
"MIT"
] | null | null | null | include/BitOperating.h | n-fallahinia/UoU_soft_v1.3 | c7bd57825416a4bf8ef308d94a3572d41130d475 | [
"MIT"
] | null | null | null | include/BitOperating.h | n-fallahinia/UoU_soft_v1.3 | c7bd57825416a4bf8ef308d94a3572d41130d475 | [
"MIT"
] | null | null | null |
#ifndef BITOPERATING_H
#define BITOPERATING_H
//#include <conio.h>
#include <iostream>
using namespace std;
//All index start from 0
#define BIT(x) (1 << (x)) //Set bit to 1 at x and the rest as 0
#define SETBITS(x,y) ((x) |= (y)) //Set bit to 1 as the bit in y is 1
#define CLEARBITS(x,y) ((x) &= (~(y)))... | 29.72 | 77 | 0.592194 |
dc2d68001cc06bde2f45fd12755207317a1e54a8 | 562 | h | C | src/Message.h | hptroniccz/pulsar-client-phpcpp | 78f496555a43468758e2a1602f94126d6fcb5cf0 | [
"MIT"
] | 15 | 2020-01-17T07:51:49.000Z | 2021-12-17T10:27:36.000Z | src/Message.h | tspannhw/pulsar-client-phpcpp | 0b1213fa0c0d8df8a84d56818459a562fe66832d | [
"MIT"
] | 2 | 2020-10-16T09:03:29.000Z | 2021-09-26T16:45:04.000Z | src/Message.h | tspannhw/pulsar-client-phpcpp | 0b1213fa0c0d8df8a84d56818459a562fe66832d | [
"MIT"
] | 7 | 2020-09-22T07:18:49.000Z | 2022-02-09T13:35:50.000Z | #pragma once
#include <phpcpp.h>
#include <pulsar/Message.h>
class Message : public Php::Base {
public:
pulsar::Message message;
Message() {}
Message(pulsar::Message msg);
Php::Value getDataAsString();
// Php::Value getProperties();
// Php::Value hasProperty(Php::Parameters ¶ms);
... | 23.416667 | 59 | 0.670819 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.