hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
22e212002a88c7e751084384cc1acc28ec76208a
315
hpp
C++
Main course/Homework3/Problem1/Header files/Counter.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework3/Problem1/Header files/Counter.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework3/Problem1/Header files/Counter.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
#pragma once class Counter { public: Counter(); Counter(int initial); Counter(int initial, unsigned step); virtual void increment(); virtual int getTotal() const; virtual unsigned getStep() const; protected: const int DEFAULT_INITIAL_VALUE = 0; const int DEFAULT_STEP = 1; int value; unsigned step; };
15.75
37
0.733333
nia-flo
22f11ea3e8f409014978db4f07563439b38c7790
418
cpp
C++
code/client/src/core/hooks/application.cpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
16
2021-10-08T17:47:04.000Z
2022-03-28T13:26:37.000Z
code/client/src/core/hooks/application.cpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
4
2022-01-19T08:11:57.000Z
2022-01-29T19:02:24.000Z
code/client/src/core/hooks/application.cpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
4
2021-10-09T11:15:08.000Z
2022-01-27T22:42:26.000Z
#include <MinHook.h> #include <utils/hooking/hook_function.h> #include <utils/hooking/hooking.h> #include "../../sdk/patterns.h" bool __fastcall C_GameFramework__IsSuspended(void *_this) { return false; } static InitFunction init([]() { // Don't pause the game when out of window MH_CreateHook((LPVOID)SDK...
27.866667
122
0.746411
mufty
22fb5c516feb119498f1af063d0adf8783349e05
1,542
cpp
C++
src/problem_14.cpp
MihailsKuzmins/daily-coding-problem
ca8b7589b6ce2eb6dec846829c82a12c1272a5ec
[ "Apache-2.0" ]
null
null
null
src/problem_14.cpp
MihailsKuzmins/daily-coding-problem
ca8b7589b6ce2eb6dec846829c82a12c1272a5ec
[ "Apache-2.0" ]
null
null
null
src/problem_14.cpp
MihailsKuzmins/daily-coding-problem
ca8b7589b6ce2eb6dec846829c82a12c1272a5ec
[ "Apache-2.0" ]
null
null
null
// The area of a circle is defined as πr^2. Estimate π to 3 decimal places using a Monte Carlo method. // Hint: The basic equation of a circle is x^2 + y^2 = r^2. // Example: // auto result = problem_fourteen(1'000'000); #include <random> #include <math.h> using namespace std; double problem_fourteen(const unsigned ...
32.808511
102
0.667315
MihailsKuzmins
22fc45d7d1beb4bb0cad838f729daa87e94c159e
7,108
cpp
C++
Samples/Client/DirectxUWP/DirectxClientComponent/Common/DeviceResources.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
Samples/Client/DirectxUWP/DirectxClientComponent/Common/DeviceResources.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
Samples/Client/DirectxUWP/DirectxClientComponent/Common/DeviceResources.cpp
rozele/3dtoolkit
a15fca73be15f96a165dd18e62180de693a5ab86
[ "MIT" ]
null
null
null
#include "pch.h" #include <Collection.h> #include <windows.graphics.directx.direct3d11.interop.h> #include "DeviceResources.h" #include "DirectXHelper.h" using namespace D2D1; using namespace Microsoft::WRL; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Graphics::DirectX::Di...
29.131148
148
0.770962
rozele
fe033aa598dc17ae2171f63cc50814b2ca3d56c1
1,394
cpp
C++
soj/4315.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/4315.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/4315.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <ctime> #include <climits> #include <cmath> #include <cassert> #include <iostream> #include <string> #include <vector> #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <deque> #include <algorithm> using namespace st...
23.233333
74
0.484218
huangshenno1
fe03caba543e551b40eb40cb515eb6588cde5c41
1,603
cpp
C++
src/HighQueue/Message.cpp
dale-wilson/HSQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
2
2015-12-29T17:33:25.000Z
2021-12-20T02:30:44.000Z
src/HighQueue/Message.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
src/HighQueue/Message.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014 Object Computing, Inc. // All rights reserved. // See the file license.txt for licensing information. #include <Common/HighQueuePch.hpp> #include "Message.hpp" #include <HighQueue/details/HQMemoryBlockPool.hpp> using namespace HighQueue; Message::~Message() { try{ release(); } ...
19.54878
93
0.622583
dale-wilson
fe094de6b61b8f744ba80583d38cb3c435fd166f
103
hpp
C++
libng/core/src/libng_core/net/packet.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/net/packet.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/net/packet.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
#pragma once namespace libng { class packet_header; class packet { public: }; } // namespace libng
8.583333
20
0.708738
gapry
fe0e474b85c6744928713cb3c16d8dfb8b3b8a58
609
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise7.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise7.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise7.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Hex values in a range Chapter25Exercise7.cpp COMMENT Objective: Write out the hexadecimal values from 0 to 400; and from -200 to 200. Input: - Output: - Author: Chris B. Kirov Date: 13.05.2017 */ #include <iostream> void print_hex(int from, int to) { for (int i = from;...
14.853659
61
0.53202
Ziezi
fe11fc1ec25703833a65d495c42cf0f0f78363e1
4,291
hpp
C++
examples/smith_waterman/smith_waterman.hpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
10
2018-10-03T09:19:48.000Z
2021-09-15T14:46:32.000Z
examples/smith_waterman/smith_waterman.hpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
1
2019-09-24T17:38:25.000Z
2019-09-24T17:38:25.000Z
examples/smith_waterman/smith_waterman.hpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
null
null
null
// ---------------------------------------------------------------------- // Copyright (c) 2018, The Regents of the University of California All // rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
24.380682
105
0.656024
drichmond
fe27f1eff0b3f4ba7dfe9da78c7ef5a79cc161b1
1,038
cpp
C++
command/remote/lib/light.cpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
3
2018-12-18T03:44:23.000Z
2019-11-20T20:45:43.000Z
command/remote/lib/light.cpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
2
2018-04-07T06:36:23.000Z
2018-04-08T13:35:38.000Z
command/remote/lib/light.cpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
2
2018-05-30T11:14:14.000Z
2021-04-18T22:38:48.000Z
//===--- light.cpp - --------------------------------------------*- C++ -*-===// // // Head First Design Patterns // // //===----------------------------------------------------------------------===// /// /// \file /// \brief /// //===-----------------------------------------------------------------...
24.139535
80
0.460501
Jeonghum
fe3a669389e59c38d2010261d65786853a9c3950
33
hpp
C++
include/BESSCore/src/Renderer/Renderer.hpp
shivang51/BESS
8c53c5cb13863fd05574ebf20bf57624d83b0d25
[ "MIT" ]
null
null
null
include/BESSCore/src/Renderer/Renderer.hpp
shivang51/BESS
8c53c5cb13863fd05574ebf20bf57624d83b0d25
[ "MIT" ]
null
null
null
include/BESSCore/src/Renderer/Renderer.hpp
shivang51/BESS
8c53c5cb13863fd05574ebf20bf57624d83b0d25
[ "MIT" ]
null
null
null
#pragma once #include "Quad.hpp"
11
19
0.727273
shivang51
fe3aa498e736eb6385f47787de0ffaada3844c92
29,671
hpp
C++
include/NP-Engine/Graphics/RHI/Vulkan/VulkanPipeline.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Graphics/RHI/Vulkan/VulkanPipeline.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Graphics/RHI/Vulkan/VulkanPipeline.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
//##===----------------------------------------------------------------------===##// // // Author: Nathan Phipps 12/8/21 // //##===----------------------------------------------------------------------===##// #ifndef NP_ENGINE_VULKAN_PIPELINE_HPP #define NP_ENGINE_VULKAN_PIPELINE_HPP #include "NP-Engine/Filesystem/F...
33.64059
116
0.753497
naphipps
fe3d9919a750669b1b6838020b96b55eed484d4c
4,650
cpp
C++
la-test.cpp
busysteve/la
bcd53b1676ef91d93ba6a1e606b5098a5712a293
[ "MIT" ]
1
2020-05-25T05:28:10.000Z
2020-05-25T05:28:10.000Z
la-test.cpp
busysteve/dsp
1a80f719c7af38beafdf7656f19690783ae5b00e
[ "Apache-2.0" ]
null
null
null
la-test.cpp
busysteve/dsp
1a80f719c7af38beafdf7656f19690783ae5b00e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <complex> #include <string> #include <cstring> #include <cmath> #include <float.h> #include "tnt/tnt.h" #include <initializer_list> #include "Signal.h" #include "la.h" template <typename T> int VectorTest() { const double PI = 3.1415926535897932384...
21.933962
68
0.389032
busysteve
fe4335c2f43990f89ab3b3b4137f1d35ca8cae3f
5,472
cpp
C++
examples/livelocation.cpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
118
2016-10-02T10:49:02.000Z
2022-03-23T14:32:05.000Z
examples/livelocation.cpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
21
2017-04-21T13:34:36.000Z
2021-12-08T17:00:40.000Z
examples/livelocation.cpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
35
2016-06-08T15:31:03.000Z
2022-03-23T16:43:28.000Z
/// This example demonstrates a bot that accepts two locations, and then sends /// a live location interpolating smoothly between the two. /// As this is a very simple example, it does not keep track of multiple users, /// so should only be used by one user at a time. /// It could be extended to support multiple users ...
64.376471
212
0.572917
Sil3ntStorm
e8054ed8bad581e4c6ee7f22377ba4aef07865b2
278
cpp
C++
171-Excel_Sheet_Column_Number.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
171-Excel_Sheet_Column_Number.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
171-Excel_Sheet_Column_Number.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
class Solution { public: int titleToNumber(string s) { int result = 0, base = 1; char c = char('A' - 1); for ( int i=s.size()-1; i>=0; --i ) { result += (s[i] - c) * base; base *= 26; } return result; } };
21.384615
45
0.413669
elsdrium
e80acbdb590acad486f57b22858631f77fa9b758
1,410
cc
C++
resonance_audio/utils/sum_and_difference_processor_test.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
396
2018-03-14T09:55:52.000Z
2022-03-27T14:58:38.000Z
resonance_audio/utils/sum_and_difference_processor_test.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
46
2018-04-18T17:14:29.000Z
2022-02-19T21:35:57.000Z
resonance_audio/utils/sum_and_difference_processor_test.cc
seba10000/resonance-audio
e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b
[ "Apache-2.0" ]
96
2018-03-14T17:20:50.000Z
2022-03-03T01:12:37.000Z
/* Copyright 2018 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
32.790698
72
0.734043
seba10000
e819cde9d0c5b65887b08a125a144e40513fe00f
430
cpp
C++
Simple_Problem/BOJ(9095).cpp
kkkHoon/algorithm_study
b16ab6118511059d28e77c1807f3e8fabb13e5f0
[ "MIT" ]
null
null
null
Simple_Problem/BOJ(9095).cpp
kkkHoon/algorithm_study
b16ab6118511059d28e77c1807f3e8fabb13e5f0
[ "MIT" ]
null
null
null
Simple_Problem/BOJ(9095).cpp
kkkHoon/algorithm_study
b16ab6118511059d28e77c1807f3e8fabb13e5f0
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <queue> #include <functional> using namespace std; int n, num, cnt; void calculate(int num); int main() { cin >> n; for (int i = 0; i < n; i++) { cin >> num; cnt = 0; calculate(num); cout << cnt << endl; } return 0; } void calculate(int num) { if (num <=...
13.030303
30
0.574419
kkkHoon
e81ad576080bb897a8df9fc83debde671fd663ed
845
cpp
C++
TPP/TBB/material/actividad2.cpp
zhonskate/MCPD
14e8f41c5b9317dc5c4ccbddba95e6db69087d29
[ "MIT" ]
null
null
null
TPP/TBB/material/actividad2.cpp
zhonskate/MCPD
14e8f41c5b9317dc5c4ccbddba95e6db69087d29
[ "MIT" ]
null
null
null
TPP/TBB/material/actividad2.cpp
zhonskate/MCPD
14e8f41c5b9317dc5c4ccbddba95e6db69087d29
[ "MIT" ]
null
null
null
/* El código desarrollado en la Actividad 2 debe funcionar con el siguiente programa principal */ /* donde getN es el método que permite obtener la dimensión de la Tabla */ /* Si el código está correcto mostrará lo siguiente */ /* Tabla 1: [ 83 86 77 15 93 35 86 92 49 21 ] */ /* Tabla 2: ...
26.40625
97
0.47574
zhonskate
e81aebed47e6eb18ed58f218cee4be929d85bbbe
6,460
hpp
C++
models/epidemic/epidemic.hpp
pvelesko/warped2-models
e0afe5119374c9e2191c946f70510bb6d7558f44
[ "MIT" ]
4
2015-04-13T17:22:51.000Z
2018-01-16T14:54:33.000Z
models/epidemic/epidemic.hpp
pvelesko/warped2-models
e0afe5119374c9e2191c946f70510bb6d7558f44
[ "MIT" ]
3
2017-08-14T21:41:32.000Z
2020-08-21T08:21:14.000Z
models/epidemic/epidemic.hpp
pvelesko/warped2-models
e0afe5119374c9e2191c946f70510bb6d7558f44
[ "MIT" ]
8
2015-09-28T08:25:34.000Z
2020-04-01T12:25:15.000Z
#ifndef EPIDEMIC_HPP #define EPIDEMIC_HPP #include <string> #include <vector> #include <map> #include <random> #include "memory.hpp" #include "warped.hpp" #include "Person.hpp" #include "DiseaseModel.hpp" #include "DiffusionNetwork.hpp" WARPED_DEFINE_LP_STATE_STRUCT(LocationState) { LocationState() { cu...
38.224852
106
0.644582
pvelesko
e81c23115fc18d2098aad9d464d36b3d17d027d9
352
hpp
C++
include/LevelSettings.hpp
vyorkin/asteroids
870256e338eefb07466af27735d5b8df0c5c7d42
[ "MIT" ]
1
2015-03-13T10:09:54.000Z
2015-03-13T10:09:54.000Z
include/LevelSettings.hpp
vyorkin-personal/asteroids
870256e338eefb07466af27735d5b8df0c5c7d42
[ "MIT" ]
null
null
null
include/LevelSettings.hpp
vyorkin-personal/asteroids
870256e338eefb07466af27735d5b8df0c5c7d42
[ "MIT" ]
null
null
null
#pragma once #include "Base.hpp" enum LevelDifficulty { Easy, Normal, Hard }; struct LevelSettings { LevelSettings(); LevelSettings(const LevelSettings&) = default; LevelSettings(const LevelDifficulty difficulty, const int numAsteroids); LevelDifficulty difficulty; int numAsteroids; static ...
20.705882
76
0.741477
vyorkin
e8267e60757fdd2e5eda623f9d6321b427be89c7
4,428
cpp
C++
ros/src/sensing/fusion/packages/calibration_camera_lidar/nodes/calibration_test/scan_window.cpp
filiperinaldi/Autoware
9fae6cc7cb8253586578dbb62a2f075b52849e6e
[ "Apache-2.0" ]
4
2019-04-22T10:18:26.000Z
2019-05-20T05:16:03.000Z
ros/src/sensing/fusion/packages/calibration_camera_lidar/nodes/calibration_test/scan_window.cpp
filiperinaldi/Autoware
9fae6cc7cb8253586578dbb62a2f075b52849e6e
[ "Apache-2.0" ]
1
2019-03-05T05:52:41.000Z
2019-03-05T05:52:41.000Z
ros/src/sensing/fusion/packages/calibration_camera_lidar/nodes/calibration_test/scan_window.cpp
filiperinaldi/Autoware
9fae6cc7cb8253586578dbb62a2f075b52849e6e
[ "Apache-2.0" ]
2
2019-06-23T18:08:04.000Z
2019-07-04T14:14:59.000Z
/* * Copyright 2015-2019 Autoware Foundation. 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 requi...
36.9
149
0.651536
filiperinaldi
e826be4a7e76bd740d4f56a76693422e6828e30d
4,274
hpp
C++
test/verify_r1cs_scheme.hpp
skywinder/crypto3-blueprint
c2b033eaaff1a19ab5332b9f49a32bb4fdd1dc20
[ "MIT" ]
6
2021-05-27T04:52:42.000Z
2022-01-23T23:33:40.000Z
test/verify_r1cs_scheme.hpp
skywinder/crypto3-blueprint
c2b033eaaff1a19ab5332b9f49a32bb4fdd1dc20
[ "MIT" ]
12
2020-12-08T15:17:00.000Z
2022-03-17T22:19:43.000Z
test/verify_r1cs_scheme.hpp
skywinder/crypto3-blueprint
c2b033eaaff1a19ab5332b9f49a32bb4fdd1dc20
[ "MIT" ]
5
2021-05-20T20:02:17.000Z
2022-01-14T12:26:24.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of th...
46.967033
146
0.710108
skywinder
e82d2cb5dcf66a271197b6dc5b78044987cfe354
599
cpp
C++
avs/vis_avs/g_unkn.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
18
2020-07-30T11:55:23.000Z
2022-02-25T02:39:15.000Z
avs/vis_avs/g_unkn.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
34
2021-01-13T02:02:12.000Z
2022-03-23T12:09:55.000Z
avs/vis_avs/g_unkn.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
3
2021-03-18T12:53:58.000Z
2021-10-02T20:24:41.000Z
#include "g__lib.h" #include "g__defs.h" #include "c_unkn.h" #include "resource.h" #include <windows.h> int win32_dlgproc_unknown(HWND hwndDlg, UINT uMsg, WPARAM, LPARAM) { C_UnknClass* g_this = (C_UnknClass*)g_current_render; switch (uMsg) { case WM_INITDIALOG: { char s[512]=""; if (g_thi...
23.038462
76
0.63606
semiessessi
e82d366ad09f8a438f44b4123bdd65819ad0d51f
5,774
cpp
C++
src/renderer/surface_smoothing_pass.cpp
gustavo4passos/opengl-fluidrendering
572a84760b4338559e16dbca4865931e5062d34a
[ "MIT" ]
2
2019-10-23T09:54:18.000Z
2020-02-05T23:05:33.000Z
src/renderer/surface_smoothing_pass.cpp
gustavo4passos/opengl-fluidrendering
572a84760b4338559e16dbca4865931e5062d34a
[ "MIT" ]
null
null
null
src/renderer/surface_smoothing_pass.cpp
gustavo4passos/opengl-fluidrendering
572a84760b4338559e16dbca4865931e5062d34a
[ "MIT" ]
null
null
null
#include "surface_smoothing_pass.h" #include "../utils/logger.h" #include "../utils/glcall.h" #include <assert.h> namespace fluidity { SurfaceSmoothingPass::SurfaceSmoothingPass( const unsigned bufferWidth, const unsigned bufferHeight, const unsigned kernelRadius, const unsigned nIt...
31.380435
93
0.579841
gustavo4passos
e830a64d4feda6e6919727636b138853ffdfe68b
3,268
cpp
C++
src/Cylinder.cpp
Dav-v/Rha
77fa838ea0830bd1f335349dd88d0a7005b4a921
[ "Apache-2.0" ]
null
null
null
src/Cylinder.cpp
Dav-v/Rha
77fa838ea0830bd1f335349dd88d0a7005b4a921
[ "Apache-2.0" ]
null
null
null
src/Cylinder.cpp
Dav-v/Rha
77fa838ea0830bd1f335349dd88d0a7005b4a921
[ "Apache-2.0" ]
null
null
null
/* * Author: Davide Viero - dviero42@gmail.com * Rha raytracer * 2019 * License: see LICENSE file * */ #define GLM_ENABLE_EXPERIMENTAL #include "cylinder.h" #include "gtx/transform.hpp" #include <iostream> using namespace glm; Cylinder::Cylinder(std::string name, vec3 pos, vec3 scal...
25.333333
77
0.596389
Dav-v
e836c767dab22097db382c4364e130cb44e5b488
48
cpp
C++
chapter_2/ex_2.32.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.32.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.32.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
/** * int null = 0, *p = null; it's legal */
9.6
38
0.4375
YasserKa
e8391600bbf2026275e2b2631d9938ab48d8308b
1,495
hpp
C++
include/gl/primitives/plane.hpp
scholli/unvox
879e06f45a40963527e0a895d742f7be6fb3d490
[ "MIT" ]
null
null
null
include/gl/primitives/plane.hpp
scholli/unvox
879e06f45a40963527e0a895d742f7be6fb3d490
[ "MIT" ]
null
null
null
include/gl/primitives/plane.hpp
scholli/unvox
879e06f45a40963527e0a895d742f7be6fb3d490
[ "MIT" ]
1
2019-10-30T09:35:35.000Z
2019-10-30T09:35:35.000Z
//****************************************************************************** // Module: UnVox // Author: Sebastian Thiele / Andre Schollmeyer // // Copyright 2019 // All rights reserved //****************************************************************************** #ifndef UNVOX_GL_PLANE_HPP #define UNVOX_GL_PLA...
25.338983
111
0.506355
scholli
e83bc97b368b34510632f4702e0282cbd32d4cde
1,206
hpp
C++
Hardware/Sensor/IMU/mpu9150.hpp
SaurusQ/FoamPilot
562acfc50feb19d1216a0fabe6b85cf2f85057e4
[ "MIT" ]
null
null
null
Hardware/Sensor/IMU/mpu9150.hpp
SaurusQ/FoamPilot
562acfc50feb19d1216a0fabe6b85cf2f85057e4
[ "MIT" ]
null
null
null
Hardware/Sensor/IMU/mpu9150.hpp
SaurusQ/FoamPilot
562acfc50feb19d1216a0fabe6b85cf2f85057e4
[ "MIT" ]
null
null
null
#ifndef MPU9150_HPP #define MPU9150_HPP #include "hwSelect.hpp" #ifdef SELECT_MPU9150 #include "imu.hpp" #include "I2cBus.hpp" #define MPU9150_I2C_ADDR 0x68 #define MPU9150_GYRO_CONFIG 0x27 #define MPU9150_ACCEL_CONFIG 0x28 #define MPU9150_ACCEL_XOUT_H 0x3B #define MPU9150_PWR_MGMT_1 0x6B // ...
19.451613
51
0.635158
SaurusQ
e84aad78cb7c40555ddc41b8a8e2a6a6d231abe4
13,788
cpp
C++
src/common/motion_model/test/test_differential_motion_model.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
19
2021-05-28T06:14:21.000Z
2022-03-10T10:03:08.000Z
src/common/motion_model/test/test_differential_motion_model.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
222
2021-10-29T22:00:27.000Z
2022-03-29T20:56:34.000Z
src/common/motion_model/test/test_differential_motion_model.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
14
2021-05-29T14:59:17.000Z
2022-03-10T10:03:09.000Z
// Copyright 2021 Apex.AI, 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 i...
42.819876
96
0.715912
ruvus
e84bd307a0b127644bc42956a19244650e5e8920
3,065
cpp
C++
aws-cpp-sdk-cloudformation/source/model/StackDriftDetectionStatus.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-cloudformation/source/model/StackDriftDetectionStatus.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-cloudformation/source/model/StackDriftDetectionStatus.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
34.829545
104
0.679935
curiousjgeorge
e84f306d88c484e88a6b89bfcadf2b5bea567ef6
4,540
hpp
C++
inc/phi_BLR.hpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
1
2021-09-27T15:32:50.000Z
2021-09-27T15:32:50.000Z
inc/phi_BLR.hpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
null
null
null
inc/phi_BLR.hpp
rchan26/hierarchicalFusion
20cb965526b47ae8f0373bdbdcbdb76d99ab8618
[ "CC-BY-4.0" ]
1
2021-12-09T03:22:51.000Z
2021-12-09T03:22:51.000Z
#ifndef PHI_BLR #define PHI_BLR #include <RcppArmadillo.h> arma::vec log_BLR_gradient(const arma::vec &beta, const arma::vec &y_labels, const arma::mat &X, const arma::vec &X_beta, const arma::vec &count, ...
47.291667
79
0.396035
rchan26
e850145eff970058bfbda746530cd3ee98a51fcd
9,709
cpp
C++
OpenGL_GLFW_Project/GeometryShaderExplosion.cpp
millerf1234/OpenGL_Windows_Projects
26161ba3c820df366a83baaf6e2a275d874c6acd
[ "MIT" ]
null
null
null
OpenGL_GLFW_Project/GeometryShaderExplosion.cpp
millerf1234/OpenGL_Windows_Projects
26161ba3c820df366a83baaf6e2a275d874c6acd
[ "MIT" ]
null
null
null
OpenGL_GLFW_Project/GeometryShaderExplosion.cpp
millerf1234/OpenGL_Windows_Projects
26161ba3c820df366a83baaf6e2a275d874c6acd
[ "MIT" ]
null
null
null
//See header file for details //This file will most likely closely resemble the file "RenderProject1.cpp" #include "GeometryShaderExplosion.h" void GeometryShaderExplosion::initialize() { error = false; window = nullptr; frameNumber = 0ull; frameUnpaused = 0ull; frameOfMostRecentColorRecording = 0ull; counter ...
29.782209
126
0.712947
millerf1234
e858c316154a7c9e1f62b57de38d96608393a30b
14,735
cpp
C++
setup.cpp
jessexm/dbgutils
149e5ee1a49ff87861601ea992918d1d56873bc2
[ "BSD-3-Clause" ]
2
2019-12-28T10:33:42.000Z
2020-04-02T01:53:33.000Z
setup.cpp
jessexm/dbgutils
149e5ee1a49ff87861601ea992918d1d56873bc2
[ "BSD-3-Clause" ]
null
null
null
setup.cpp
jessexm/dbgutils
149e5ee1a49ff87861601ea992918d1d56873bc2
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2002, 2003, 2004 Zilog, Inc. * * $Id: setup.cpp,v 1.6 2005/10/20 18:39:37 jnekl Exp $ * * This file initializes the debugger enviroment by reading * settings from a config file and by parsing command-line * options. */ #include <string.h> #include <stdio.h> #include <assert.h> #include <sys/sta...
19.111543
84
0.55134
jessexm
e8591699457d2855917c3569dd261352061e7df4
4,730
hpp
C++
inc/Matrixes.hpp
KPO-2020-2021/zad5_2-delipl
b4bd2e673c8b7e92e85aed10919427a6704353ca
[ "Unlicense" ]
1
2022-03-08T03:16:48.000Z
2022-03-08T03:16:48.000Z
inc/Matrixes.hpp
KPO-2020-2021/zad5_2-delipl
b4bd2e673c8b7e92e85aed10919427a6704353ca
[ "Unlicense" ]
null
null
null
inc/Matrixes.hpp
KPO-2020-2021/zad5_2-delipl
b4bd2e673c8b7e92e85aed10919427a6704353ca
[ "Unlicense" ]
null
null
null
/** * @file Matrixes.hpp * @author Delicat Jakub (delicat.kuba@gmail.com) * @brief File describes implemetations for template class Matrix. * Instantiation of template class Matrix like Matrix4x4, Matrix3x3, Matrix2x2 and MatrixRot. * @version 0.1 * @date 2021-06-23 * * @copyright Copyright (c) 2021 * */ ...
29.018405
109
0.572939
KPO-2020-2021
e85abaf9084edff95cf3b43144191390184028c3
142
cpp
C++
src/Debug.cpp
JurisPolevskis/PolygonFinder
dd09a89c246f959071ebb1148c2cbe38cdc60edb
[ "Unlicense" ]
null
null
null
src/Debug.cpp
JurisPolevskis/PolygonFinder
dd09a89c246f959071ebb1148c2cbe38cdc60edb
[ "Unlicense" ]
null
null
null
src/Debug.cpp
JurisPolevskis/PolygonFinder
dd09a89c246f959071ebb1148c2cbe38cdc60edb
[ "Unlicense" ]
null
null
null
#include "Debug.h" #include <iostream> void Debug::print(const std::string& str) { #ifdef DEBUG std::cout << str << std::endl; #endif }
14.2
42
0.640845
JurisPolevskis
e85d05c1eddad62c9ec79e5d962f64270864c35e
820
cpp
C++
jobtaskitem.cpp
dayuanyuan1989/RemoteBinder
6c07896828187bbb890115fa1326f9db4fbd7b68
[ "MIT" ]
null
null
null
jobtaskitem.cpp
dayuanyuan1989/RemoteBinder
6c07896828187bbb890115fa1326f9db4fbd7b68
[ "MIT" ]
null
null
null
jobtaskitem.cpp
dayuanyuan1989/RemoteBinder
6c07896828187bbb890115fa1326f9db4fbd7b68
[ "MIT" ]
null
null
null
#include "jobtaskitem.h" #include "ui_jobtaskitem.h" JobTaskItem::JobTaskItem(QWidget *parent) : QWidget(parent), ui(new Ui::JobTaskItem) { ui->setupUi(this); // SetBodyVisible(false); } JobTaskItem::~JobTaskItem() { delete ui; } void JobTaskItem::SetTitle(const QString& str) { ...
17.826087
54
0.634146
dayuanyuan1989
e8628b6b7b6a594051ce4cfd1f1c842b4ca0866c
12,960
cpp
C++
copyworker.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
5
2018-08-19T05:45:45.000Z
2020-10-09T09:37:57.000Z
copyworker.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
95
2018-04-26T12:13:24.000Z
2020-05-03T08:23:56.000Z
copyworker.cpp
haraki/farman
9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297
[ "MIT" ]
1
2018-08-19T05:46:02.000Z
2018-08-19T05:46:02.000Z
#include <QDebug> #include <QFileInfo> #include <QDir> #include <QFile> #include <QTemporaryFile> #include <QDateTime> #include <QMutex> #include <QThread> #include "copyworker.h" #include "workerresult.h" #include "default_settings.h" namespace Farman { CopyWorker::CopyWorker(const QStringList& srcPaths, const QStr...
29.930716
140
0.568519
haraki
e86580daa5ca80d60608bb645e9f4c1a64d95dbb
723
cpp
C++
Baekjoon/1864.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/1864.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/1864.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <math.h> using namespace std; int main(void) { while (1) { int len; long long ans = 0; string str; cin >> str; if (str == "#") break; len = str.length(); for (int i = 1; i <= len; i++) { int tmp; switch (str[i - 1]) { case '-': tmp = 0...
12.910714
32
0.428769
Twinparadox
e866fc219c43821e3401ee5cd626dd689ced361e
419
cpp
C++
ShaderGLTest/DeviceTest.cpp
EPAC-Saxon/environment-map-JuliePreperier
cd024b83236af8cffa2262cad988b43b2f725dcb
[ "MIT" ]
null
null
null
ShaderGLTest/DeviceTest.cpp
EPAC-Saxon/environment-map-JuliePreperier
cd024b83236af8cffa2262cad988b43b2f725dcb
[ "MIT" ]
null
null
null
ShaderGLTest/DeviceTest.cpp
EPAC-Saxon/environment-map-JuliePreperier
cd024b83236af8cffa2262cad988b43b2f725dcb
[ "MIT" ]
null
null
null
#include "DeviceTest.h" namespace test { TEST_F(DeviceTest, CreateDeviceTest) { EXPECT_FALSE(device_); EXPECT_TRUE(window_); device_ = window_->CreateDevice(); EXPECT_TRUE(device_); } TEST_F(DeviceTest, StartupDeviceTest) { EXPECT_FALSE(device_); EXPECT_TRUE(window_); device_ = window_->CreateDevi...
18.217391
39
0.720764
EPAC-Saxon
e86bf1829ae08a4b9669d9528dbb04e4aa6b9357
966
hpp
C++
SignalDrivers/Hardware/ioport.hpp
NikitaEvs/signal_stm
15fa04392261c535f9104ddc0bbaf07f032421a6
[ "Apache-2.0" ]
null
null
null
SignalDrivers/Hardware/ioport.hpp
NikitaEvs/signal_stm
15fa04392261c535f9104ddc0bbaf07f032421a6
[ "Apache-2.0" ]
null
null
null
SignalDrivers/Hardware/ioport.hpp
NikitaEvs/signal_stm
15fa04392261c535f9104ddc0bbaf07f032421a6
[ "Apache-2.0" ]
null
null
null
#pragma once #include "port.hpp" #include "abstract_master.hpp" namespace SD { namespace Hardware { /** * @brief Wrapper for the base Port abstraction that adds Set/Reset function * and an initialization using Master */ class IOPort : public Port { public: /** * @brief Simple port initialization with a nec...
20.125
76
0.665631
NikitaEvs
e8832e47044d3687c0d0f79385ef7692eaf1d68b
5,410
hpp
C++
Nacro/SDK/FN_AthenaCustomizationSlotButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_AthenaCustomizationSlotButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_AthenaCustomizationSlotButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass AthenaCustomizatio...
93.275862
644
0.642144
Milxnor
e883a451e601c9b9b21ab8aaa496578cb156eb07
8,825
cpp
C++
src/prod/src/Management/DnsService/test/Helpers/DnsHelper.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Management/DnsService/test/Helpers/DnsHelper.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Management/DnsService/test/Helpers/DnsHelper.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
31.183746
137
0.665609
vishnuk007
e885c8e86dcc42189f8cf0a89042139f50dd1d88
1,393
cpp
C++
src/pathutils.cpp
merelabs/mere-utils
26e4bc834e9b506d7939a9154f14e300458262c1
[ "BSD-2-Clause" ]
null
null
null
src/pathutils.cpp
merelabs/mere-utils
26e4bc834e9b506d7939a9154f14e300458262c1
[ "BSD-2-Clause" ]
null
null
null
src/pathutils.cpp
merelabs/mere-utils
26e4bc834e9b506d7939a9154f14e300458262c1
[ "BSD-2-Clause" ]
null
null
null
#include "pathutils.h" #include <sys/stat.h> #include <unistd.h> #include <iostream> //static bool Mere::Utils::PathUtils::exists(const std::string &path) { struct stat s; stat(path.c_str(), &s); //S_ISDIR(s.st_mode) || S_ISREG(s.st_mode) || S_ISFIFO(s.st_mode) || S_ISLNK(s.st_mode) || S_ISSOCK(s.st_mode...
20.485294
115
0.605887
merelabs
e886ad54105d8b37897a115fbfd4b2dd6efb2eb3
3,896
hpp
C++
src/univang/format/format_context.hpp
bibmaster/nx.format
0993832a678bea4c1c005a97fba414557985356f
[ "MIT" ]
7
2019-10-08T13:11:07.000Z
2020-01-30T21:29:18.000Z
src/univang/format/format_context.hpp
bibmaster/nx.format
0993832a678bea4c1c005a97fba414557985356f
[ "MIT" ]
null
null
null
src/univang/format/format_context.hpp
bibmaster/nx.format
0993832a678bea4c1c005a97fba414557985356f
[ "MIT" ]
null
null
null
#pragma once #include <cassert> #include <cstddef> #include <cstring> #include <stdexcept> #include <string_view> namespace univang { namespace fmt { class format_context { public: #if FMT_RESPECT_ALIASING using byte = std::byte; #else enum class byte : char {}; #endif format_context() = default; cons...
25.973333
77
0.587269
bibmaster
e88a0e10bd069e49e0342ae21caf69cc35eb2cb9
3,376
cpp
C++
src/main.cpp
Piripant/sbodies
19f4cbf4ec449706f82667c7875a2534aa367d76
[ "MIT" ]
1
2021-01-16T04:14:35.000Z
2021-01-16T04:14:35.000Z
src/main.cpp
Piripant/sbodies
19f4cbf4ec449706f82667c7875a2534aa367d76
[ "MIT" ]
null
null
null
src/main.cpp
Piripant/sbodies
19f4cbf4ec449706f82667c7875a2534aa367d76
[ "MIT" ]
null
null
null
#include "world.h" #include <SFML/Graphics.hpp> #include <iostream> #include <imgui.h> #include <imgui-SFML.h> int scale = 20; sf::Color colors[2] = { sf::Color(0, 0, 0), sf::Color(0, 0, 255) }; float step_time = 0.1; bool mouse_pressed = false; int press_y = 0; int press_x = 0; int nvertex ...
28.854701
98
0.492595
Piripant
e88b7fbeebf95dab16a329dd96c4039f1bef2bdc
15,228
cpp
C++
src/uml/src_gen/uml/impl/ActivityGroupImpl.cpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/uml/src_gen/uml/impl/ActivityGroupImpl.cpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/uml/src_gen/uml/impl/ActivityGroupImpl.cpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
#include "uml/impl/ActivityGroupImpl.hpp" #ifdef NDEBUG #define DEBUG_MESSAGE(a) /**/ #else #define DEBUG_MESSAGE(a) a #endif #ifdef ACTIVITY_DEBUG_ON #define ACT_DEBUG(a) a #else #define ACT_DEBUG(a) /**/ #endif //#include "util/ProfileCallCount.hpp" #include <cassert> #include <iostream> #include <sstre...
26.575916
242
0.690307
MDE4CPP
e88be034b39482a4054c2ab7039392fcc995080c
1,053
cpp
C++
07. Sorting/InsersionSort.cpp
R-Arpita/DSA-cpp-Hacktoberfest2021
acc7896fe30ddd54bcf4ec7bb93bd1f0b30b3bc5
[ "MIT" ]
149
2021-09-17T17:11:06.000Z
2021-10-01T17:32:18.000Z
07. Sorting/InsersionSort.cpp
R-Arpita/DSA-cpp-Hacktoberfest2021
acc7896fe30ddd54bcf4ec7bb93bd1f0b30b3bc5
[ "MIT" ]
138
2021-09-29T14:04:05.000Z
2021-10-01T17:43:18.000Z
07. Sorting/InsersionSort.cpp
R-Arpita/DSA-cpp-Hacktoberfest2021
acc7896fe30ddd54bcf4ec7bb93bd1f0b30b3bc5
[ "MIT" ]
410
2021-09-27T03:13:55.000Z
2021-10-01T17:59:42.000Z
/* Sayansree Paria email : sayansreeparia@gmail.com github : https://github.com/Sayansree Insertion sort algorithm */ #include<bits/stdc++.h> using namespace std; //iterative implementation of Insertion sort // arr is input array of size n void InsertionSort(int arr[],int n ){ for(int i=1; i<n;...
20.25
48
0.531814
R-Arpita
e89006d234203553f289f27916ffa47e482210a0
2,429
hpp
C++
extension/parquet/include/decimal_column_reader.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
3
2021-05-13T04:15:45.000Z
2022-03-03T16:57:16.000Z
extension/parquet/include/decimal_column_reader.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
2
2021-10-02T02:52:39.000Z
2022-01-04T20:08:06.000Z
extension/parquet/include/decimal_column_reader.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
1
2021-11-20T16:09:34.000Z
2021-11-20T16:09:34.000Z
//===----------------------------------------------------------------------===// // DuckDB // // decimal_column_reader.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "column_reader.hpp" #include "templated_column_reader.hpp" na...
34.7
113
0.682174
wesm
e8917ddf10b22d3cae43fa102568dafcbb88b447
9,874
cpp
C++
src/hsp3/linux/hsp3ext_sock.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
127
2018-02-24T20:41:15.000Z
2022-03-22T05:57:56.000Z
src/hsp3/linux/hsp3ext_sock.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2018-09-11T15:04:22.000Z
2022-02-03T09:30:16.000Z
src/hsp3/linux/hsp3ext_sock.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2019-03-28T07:49:44.000Z
2021-12-25T02:49:07.000Z
// // hsp3dish socket拡張(linux) // (拡張コマンド・関数処理) // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <poll.h> #include "../hsp3config.h" #include "../hsp3code.h" #include "../hsp3debug.h" #include "../supio.h" #include "../strbuf.h" #ifndef MAX #define MAX(...
19.987854
119
0.564209
m4saka
e89182d494b33c7ad6e7e41e11da35bf854810e0
3,659
cpp
C++
src/Cpp/Learning_Cpp/Course_Codes/The_LinkedIn_Course/Advanced_Cpp/Chap08/utest.cpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
src/Cpp/Learning_Cpp/Course_Codes/The_LinkedIn_Course/Advanced_Cpp/Chap08/utest.cpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
src/Cpp/Learning_Cpp/Course_Codes/The_LinkedIn_Course/Advanced_Cpp/Chap08/utest.cpp
Ahmopasa/TheCodes
560ed94190fd0da8cc12285e9b4b5e27b19010a5
[ "MIT" ]
null
null
null
// utest.cpp by Bill Weinman <http://bw.org/> // version of 2018-10-12 #include <cstdio> #include "BWUTest.h" #include "BWString.h" bool summary_flag = false; int main() { // Versions n things printf("BWString version: %s\n", BWString::version()); printf("BWUTest version: %s\n", BWUTest::version());...
32.380531
127
0.511342
Ahmopasa
e895bb0296dc619d715846cda4f48ffdd67f0594
3,427
cpp
C++
Hydrogen Framework/src/HFR/text/Font.cpp
salmoncatt/HGE
8ae471de46589df54cacd1bd0261989633f1e5ef
[ "BSD-3-Clause" ]
2
2020-11-12T14:42:56.000Z
2021-01-27T18:04:42.000Z
Hydrogen Framework/src/HFR/text/Font.cpp
salmoncatt/Hydrogen-Game-Engine
8ae471de46589df54cacd1bd0261989633f1e5ef
[ "BSD-3-Clause" ]
1
2021-01-27T17:39:21.000Z
2021-01-28T01:42:36.000Z
Hydrogen Framework/src/HFR/text/Font.cpp
salmoncatt/Hydrogen-Game-Engine
8ae471de46589df54cacd1bd0261989633f1e5ef
[ "BSD-3-Clause" ]
null
null
null
#include "hfpch.h" #include "Font.h" #include HFR_FREETYPE #include HFR_UTIL namespace HFR { Font::Font() { size = Vec2f(0, 48); atlasSize = Vec2f(); } Font::Font(const std::string& _path) { size = Vec2f(0, 48); atlasSize = Vec2f(); path = _path; name = Util::removePathFromFilePathAndN...
26.565891
231
0.623869
salmoncatt
e8960e501ffe7669b6f153d788fa013573294101
1,470
cpp
C++
source/Ch04/drill/ch04_drill.cpp
gorzsaszarvak/UDProg-Introduction
591d1d05c950da2ab4d59d78cbf5a1408caa78e6
[ "CC0-1.0" ]
null
null
null
source/Ch04/drill/ch04_drill.cpp
gorzsaszarvak/UDProg-Introduction
591d1d05c950da2ab4d59d78cbf5a1408caa78e6
[ "CC0-1.0" ]
null
null
null
source/Ch04/drill/ch04_drill.cpp
gorzsaszarvak/UDProg-Introduction
591d1d05c950da2ab4d59d78cbf5a1408caa78e6
[ "CC0-1.0" ]
null
null
null
#include "../../std_lib_facilities.h" int main() { constexpr double m_per_inch = 0.0254; constexpr double m_per_cm = 0.01; constexpr double m_per_ft = 0.3048; double length = -1; char unit = 0; vector<double> values; double lastvalue = 0; double sum = 0; double minvalue = 999999999999; double maxvalue = 0; ...
18.375
53
0.588435
gorzsaszarvak
e89adabe1fe3f16e983541aade1c2e7d63de617e
3,624
hpp
C++
a21/serial.hpp
biappi/a21
6d008bebdbd6c51816ed61aa45664fa3b2715d9b
[ "MIT" ]
6
2017-07-28T13:36:24.000Z
2022-01-30T14:00:32.000Z
a21/serial.hpp
carkang/a21
8f472e75de5734514f152828033a93b88401069a
[ "MIT" ]
3
2018-10-26T20:10:49.000Z
2021-05-15T20:31:45.000Z
a21/serial.hpp
carkang/a21
8f472e75de5734514f152828033a93b88401069a
[ "MIT" ]
2
2021-02-14T14:12:58.000Z
2022-01-13T23:08:26.000Z
// // a21 — Arduino Toolkit. // Copyright (C) 2016-2018, Aleh Dzenisiuk. http://github.com/aleh/a21 // #pragma once #include <Arduino.h> #include <a21/clock.hpp> #include <a21/print.hpp> namespace a21 { #pragma GCC optimize ("O2") /** * Software serial port, 8-N-1, TX only. */ template<typename pinTX, unsigned ...
20.24581
107
0.606236
biappi
e89d57dbf5f39dca613fa4db41d0cf512e7b3eda
1,888
hpp
C++
include/Utils/Tracer.hpp
azazelspce/SPGO
04df3c6a0c59120cb054ce2bffcfbc79301c2f27
[ "Apache-2.0", "MIT" ]
4
2016-02-24T17:20:42.000Z
2016-04-09T00:33:50.000Z
include/Utils/Tracer.hpp
azazelspce/SPGO
04df3c6a0c59120cb054ce2bffcfbc79301c2f27
[ "Apache-2.0", "MIT" ]
1
2016-04-29T01:06:48.000Z
2016-12-04T00:35:45.000Z
include/Utils/Tracer.hpp
azazelspce/SPGO
04df3c6a0c59120cb054ce2bffcfbc79301c2f27
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright 2019 Cristian Sandoval Pineda // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except ...
19.666667
68
0.558792
azazelspce
e89def63eeab5db8bc1932e5b04d9505152f803c
5,485
hpp
C++
common/trc_io.hpp
hirakuni45/R8C
361d2749b80e738984745bc8d7537eb40191fdd8
[ "BSD-3-Clause" ]
6
2016-03-07T02:40:09.000Z
2021-07-25T11:07:01.000Z
common/trc_io.hpp
hirakuni45/R8C
361d2749b80e738984745bc8d7537eb40191fdd8
[ "BSD-3-Clause" ]
2
2021-11-16T17:51:01.000Z
2021-11-16T17:51:42.000Z
common/trc_io.hpp
hirakuni45/R8C
361d2749b80e738984745bc8d7537eb40191fdd8
[ "BSD-3-Clause" ]
1
2021-01-17T23:03:33.000Z
2021-01-17T23:03:33.000Z
#pragma once //=====================================================================// /*! @file @brief R8C グループ・TimerRC I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2015, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/R8C/blob/master/LICENSE...
24.707207
88
0.428259
hirakuni45
e89e1c6a679412ed71d9ed0608782c41eeaa537d
4,423
hpp
C++
ui/include/common/constants.hpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
12
2017-02-24T19:28:07.000Z
2021-02-05T04:40:47.000Z
ui/include/common/constants.hpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
1
2017-04-15T03:41:18.000Z
2017-04-24T09:06:15.000Z
ui/include/common/constants.hpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
6
2017-05-14T10:12:50.000Z
2021-02-07T03:50:56.000Z
#ifndef CODA_UI_CONST #define CODA_UI_CONST #include <cstring> #include <string.h> #include <vector> #include <sstream> #include <spdlog/spdlog.h> namespace CConst { extern const std::string VER_SERVER; extern const std::string VER_CLIENT; ///////////////////////////////////////////////// // Server cmd...
37.483051
69
0.557314
fionser
e8a1d18b3a83ca676a8a0b5e7ac171aa7cd784b8
410
cpp
C++
src/ppl/nn/engines/x86/impls/src/ppl/kernel/x86/fp32/tile/tile_fp32.cpp
weisk/ppl.nn
7dd75a1077867fc9a762449953417088446ae2f8
[ "Apache-2.0" ]
1
2021-10-06T14:39:58.000Z
2021-10-06T14:39:58.000Z
src/ppl/nn/engines/x86/impls/src/ppl/kernel/x86/fp32/tile/tile_fp32.cpp
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
src/ppl/nn/engines/x86/impls/src/ppl/kernel/x86/fp32/tile/tile_fp32.cpp
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
#include "ppl/kernel/x86/common/tile/tile_common.h" namespace ppl { namespace kernel { namespace x86 { ppl::common::RetCode tile_ndarray_fp32( const ppl::nn::TensorShape *src_shape, const ppl::nn::TensorShape *dst_shape, const float *src, const int64_t *repeats, float *dst) { return tile_ndarr...
25.625
72
0.702439
weisk
e8aef86c979343a6e7f0082aeef4d3514476ae91
1,204
cpp
C++
src/Engine/map/chunkKey.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
src/Engine/map/chunkKey.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
src/Engine/map/chunkKey.cpp
FraMecca/Coccode
e302c400e0bff40859c65ccefac923133c770861
[ "BSD-3-Clause" ]
null
null
null
/* * ====================== chunkKey.cpp ======================= * -- tpr -- * CREATE -- 2019.03.06 * MODIFY -- * ---------------------------------------------------------- * Chunk "id": (int)w + (int)h * ...
36.484848
102
0.399502
FraMecca
e8af3160c9fd52ec20acf41b86bade50f4539fb1
3,012
hpp
C++
src/checks/checker.hpp
Aman-Jain-14/customizedMesos-PSDSF-absolute
9cb45f8cdd9983668c3ce01be6e03e36c94eb2ce
[ "Apache-2.0" ]
1
2021-11-04T09:59:25.000Z
2021-11-04T09:59:25.000Z
src/checks/checker.hpp
Aman-Jain-14/customizedMesos-fine
7e1939f29adebec7a6517e115a1f0e7cc79146e1
[ "Apache-2.0" ]
null
null
null
src/checks/checker.hpp
Aman-Jain-14/customizedMesos-fine
7e1939f29adebec7a6517e115a1f0e7cc79146e1
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.051546
77
0.727756
Aman-Jain-14
e8b15bc5e40acb31f4c9ac48dd859fbedf52c9f9
789
cc
C++
os_taskqueue/criticalsection.cc
sonyangchang/mycodecollection
d56149742f71ae7ae03f5a92bd009edbb4d5d3c6
[ "Apache-2.0" ]
1
2020-10-18T02:00:01.000Z
2020-10-18T02:00:01.000Z
os_taskqueue/criticalsection.cc
sonyangchang/mycodecollection
d56149742f71ae7ae03f5a92bd009edbb4d5d3c6
[ "Apache-2.0" ]
null
null
null
os_taskqueue/criticalsection.cc
sonyangchang/mycodecollection
d56149742f71ae7ae03f5a92bd009edbb4d5d3c6
[ "Apache-2.0" ]
1
2020-10-18T02:00:03.000Z
2020-10-18T02:00:03.000Z
#include "criticalsection.h" namespace rtc{ CriticalSection::CriticalSection() { pthread_mutexattr_t mutex_attribute; pthread_mutexattr_init(&mutex_attribute); pthread_mutexattr_settype(&mutex_attribute, PTHREAD_MUTEX_RECURSIVE); pthread_mutex_init(&mutex_, &mutex_attribute); pthread_mutexattr_destroy(...
30.346154
76
0.754119
sonyangchang
e8b36383bd73d2480ac8ccc9bd0eb0c2641ffaca
4,250
cpp
C++
phxrpc/mqtt/test_mqtt_protocol.cpp
zhoudayang/phxrpc
e3ca0b7ff68a48593866f0b1e7bac78a7107074f
[ "BSD-3-Clause" ]
null
null
null
phxrpc/mqtt/test_mqtt_protocol.cpp
zhoudayang/phxrpc
e3ca0b7ff68a48593866f0b1e7bac78a7107074f
[ "BSD-3-Clause" ]
null
null
null
phxrpc/mqtt/test_mqtt_protocol.cpp
zhoudayang/phxrpc
e3ca0b7ff68a48593866f0b1e7bac78a7107074f
[ "BSD-3-Clause" ]
null
null
null
/* Tencent is pleased to support the open source community by making PhxRPC available. Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Licen...
24.285714
102
0.616
zhoudayang
e8bde9ffc0bacad6659929f5d0fcb580fed6a4ab
16,041
cpp
C++
conformance_tests/tools/debug/src/test_debug.cpp
vilvarajintel/level-zero-tests
d841c0abbd7f77f9011bd37d1b6180b319a5e35d
[ "MIT" ]
32
2020-03-05T19:26:02.000Z
2022-02-21T13:13:52.000Z
conformance_tests/tools/debug/src/test_debug.cpp
vilvarajintel/level-zero-tests
d841c0abbd7f77f9011bd37d1b6180b319a5e35d
[ "MIT" ]
9
2020-05-04T20:15:09.000Z
2021-12-19T07:17:50.000Z
conformance_tests/tools/debug/src/test_debug.cpp
vilvarajintel/level-zero-tests
d841c0abbd7f77f9011bd37d1b6180b319a5e35d
[ "MIT" ]
19
2020-04-07T16:00:48.000Z
2022-01-19T00:19:49.000Z
/* * * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include <boost/filesystem.hpp> #include <boost/process.hpp> #include <boost/interprocess/shared_memory_object.hpp> #include <boost/interprocess/mapped_region.hpp> #include <boost/interprocess/sync/named_condition.hpp> #include "g...
32.537525
103
0.700081
vilvarajintel
e8c1e3d5b22da0eb4a878676a6037d3990b59567
889
cc
C++
prob05/header.cc
crimsonGnome/121-Lab-02
8f5152d902fe71372f4738cdaa33e6378b88482a
[ "MIT" ]
null
null
null
prob05/header.cc
crimsonGnome/121-Lab-02
8f5152d902fe71372f4738cdaa33e6378b88482a
[ "MIT" ]
null
null
null
prob05/header.cc
crimsonGnome/121-Lab-02
8f5152d902fe71372f4738cdaa33e6378b88482a
[ "MIT" ]
null
null
null
// Name: Joseph Eggers // CWID: 885939488 // Email: joseph.eggers@csu.fullerton.edu #include "header.h" #include <iostream> #include <string> using std::cout, std::string; void DisplayHeader(string txt) { // Declare Variabeles string asteriskMaker; // This makes the srtring +4 due to the "* " and " *" asterisk ...
27.78125
78
0.661417
crimsonGnome
e8c49e53a9e9aa70c0e9a227745b4db10222d56e
1,457
cpp
C++
Xcode/examples/Mitsudesmas/src/MapObject.cpp
YotioSoft/Mitsudesmas
ea9b98a46321ac268ad2ed35460081d2ae8ad3b8
[ "MIT" ]
null
null
null
Xcode/examples/Mitsudesmas/src/MapObject.cpp
YotioSoft/Mitsudesmas
ea9b98a46321ac268ad2ed35460081d2ae8ad3b8
[ "MIT" ]
null
null
null
Xcode/examples/Mitsudesmas/src/MapObject.cpp
YotioSoft/Mitsudesmas
ea9b98a46321ac268ad2ed35460081d2ae8ad3b8
[ "MIT" ]
null
null
null
#include "MapObject.h" MapObject::MapObject(){} MapObject::MapObject(String init_name, MapChipProfiles::Types init_type) { name = init_name; type = init_type; } MapObject::MapObject(String init_name, MapChipProfiles::Types init_type, MapChip &init_chip) { name = init_name; type = init_type; chips << init_chip; } ...
22.075758
102
0.704873
YotioSoft
e8c5ed6c8d81526e642349277b07c492e56bc4f2
4,796
cpp
C++
src/DirUtils.cpp
Karolpg/camera_monitoring
9e13e25757408be86b49b5e9b1756fea1429fac7
[ "MIT" ]
null
null
null
src/DirUtils.cpp
Karolpg/camera_monitoring
9e13e25757408be86b49b5e9b1756fea1429fac7
[ "MIT" ]
null
null
null
src/DirUtils.cpp
Karolpg/camera_monitoring
9e13e25757408be86b49b5e9b1756fea1429fac7
[ "MIT" ]
null
null
null
// // The MIT License (MIT) // // Copyright 2020 Karolpg // // 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...
31.973333
162
0.623853
Karolpg
e8c7e9216658dde41bce090feebe55dc4e7ae886
6,612
cpp
C++
Blatt_02/Wettervorhersage.cpp
KevSed/Computational_Physics
6ebfcd07ae5ceb2bfe5b429e8d1425b6877037d1
[ "MIT" ]
null
null
null
Blatt_02/Wettervorhersage.cpp
KevSed/Computational_Physics
6ebfcd07ae5ceb2bfe5b429e8d1425b6877037d1
[ "MIT" ]
null
null
null
Blatt_02/Wettervorhersage.cpp
KevSed/Computational_Physics
6ebfcd07ae5ceb2bfe5b429e8d1425b6877037d1
[ "MIT" ]
null
null
null
/* * Wettervorhersage.cpp * * Created on: 02.05.2017 * Author: mona */ #include <iostream> #include <iomanip> #include <complex> #include <cstdlib> #include <vector> #include <cmath> #include <sstream> #include <utility> #include <math.h> #include <fstream> #include <functional> using namespace std; //***...
27.781513
129
0.536449
KevSed
e8d06526748e64d0829368791af01f52b62f0441
2,002
hpp
C++
actor.hpp
shane-powell/blit-racers
332ed871bd96d6193ae22cdf419dbb6b189eccee
[ "MIT" ]
null
null
null
actor.hpp
shane-powell/blit-racers
332ed871bd96d6193ae22cdf419dbb6b189eccee
[ "MIT" ]
null
null
null
actor.hpp
shane-powell/blit-racers
332ed871bd96d6193ae22cdf419dbb6b189eccee
[ "MIT" ]
null
null
null
#pragma once #include <32blit.hpp> #include "tiledata.hpp" #include "util.hpp" #include "track.hpp" #include "animation.hpp" class Actor { public: virtual ~Actor() = default; blit::Size size; blit::Rect spriteLocation; float x = 0.0f; float y = 0.0f; blit::Vec2 camera; float degrees = 270.0f; std::map<float, b...
21.073684
213
0.723277
shane-powell
e8d0bddd9d26de757c21fd9dfb9c583a66ed3c47
7,740
hpp
C++
ajg/synth/engines/options.hpp
ajg/synth
8b9bc9d33f97a40190324108e1e6697f85f19b31
[ "BSL-1.0" ]
36
2015-01-10T02:23:13.000Z
2020-05-31T07:41:02.000Z
ajg/synth/engines/options.hpp
ajg/synth
8b9bc9d33f97a40190324108e1e6697f85f19b31
[ "BSL-1.0" ]
3
2015-12-29T04:19:20.000Z
2018-03-27T04:36:34.000Z
ajg/synth/engines/options.hpp
ajg/synth
8b9bc9d33f97a40190324108e1e6697f85f19b31
[ "BSL-1.0" ]
6
2015-01-10T02:23:18.000Z
2019-09-23T15:25:33.000Z
// (C) Copyright 2014 Alvaro J. Genial (http://alva.ro) // Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). #ifndef AJG_SYNTH_ENGINES_BASE_OPTIONS_HPP_INCLUDED #define AJG_SYNTH_ENGI...
46.347305
111
0.537209
ajg
e8dce509d13c2fbe2b80ef81ff47b784c7dfd649
1,765
cpp
C++
Data Structure Problems/CF-Sereja and Brackets.cpp
Sohieeb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
1
2020-01-30T20:08:24.000Z
2020-01-30T20:08:24.000Z
Data Structure Problems/CF-Sereja and Brackets.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
Data Structure Problems/CF-Sereja and Brackets.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using namespace __gnu_cxx; typedef double db; typedef long long ll; typedef pair<int,int> ii; #define F first #define S second #define pnl printf("\n") #define sz(x) (int)x.size() #define sf(x) scanf("%d",&x) #define pf(x) printf("%d\n",x) #de...
23.851351
68
0.501983
Sohieeb
e8de98bace832fc475349c972c28d7235b2898b3
18,121
hpp
C++
string.hpp
nwehr/kick
0f738e0895a639c977e8c473eb40ee595e301f32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
string.hpp
nwehr/kick
0f738e0895a639c977e8c473eb40ee595e301f32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
string.hpp
nwehr/kick
0f738e0895a639c977e8c473eb40ee595e301f32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef _kick_string_h #define _kick_string_h // // Copyright 2012-2014 Kick project developers. // See COPYRIGHT.txt or https://bitbucket.org/nwehr/kick/downloads/COPYRIGHT.txt // // This file is part of the Kick project and subject to license terms. // See LICENSE.txt or https://bitbucket.org/nwehr/kick/downloads/LI...
30.923208
148
0.679267
nwehr
e8e1ebe8deee9aa578cf9c88492c30f9f4e909c8
25
cpp
C++
src_legacy/2018/test/mock_ws2812.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
src_legacy/2018/test/mock_ws2812.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
75
2017-05-28T23:39:33.000Z
2019-05-09T06:18:44.000Z
test/mock_ws2812.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
#include "mock_ws2812.h"
12.5
24
0.76
gmoehler
e8e28a10f35b82070b02c81757f07a5729b59d14
1,031
hpp
C++
include/thh-bgfx-debug/debug-cube.hpp
pr0g/thh-bgfx-debug
ecf693f1df6ee11f0d49197c7d84cb70dca076dd
[ "MIT" ]
null
null
null
include/thh-bgfx-debug/debug-cube.hpp
pr0g/thh-bgfx-debug
ecf693f1df6ee11f0d49197c7d84cb70dca076dd
[ "MIT" ]
null
null
null
include/thh-bgfx-debug/debug-cube.hpp
pr0g/thh-bgfx-debug
ecf693f1df6ee11f0d49197c7d84cb70dca076dd
[ "MIT" ]
null
null
null
#pragma once #include "as/as-math-ops.hpp" #include "debug-vertex.hpp" #include <vector> namespace dbg { class DebugCubes { static DebugVertex CubeVertices[]; static uint16_t CubeIndices[]; bgfx::VertexBufferHandle cube_vbh_; bgfx::IndexBufferHandle cube_ibh_; bgfx::ProgramHandle program_handle_; bgfx:...
19.092593
79
0.706111
pr0g
e8e634251d723dbec0bd14ed84b203fadc20c796
964
hpp
C++
test/framework/call_engine_tests_common.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/framework/call_engine_tests_common.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/framework/call_engine_tests_common.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_TEST_CALL_ENGINE_TESTS_COMMON_HPP #define IROHA_TEST_CALL_ENGINE_TESTS_COMMON_HPP #include <ostream> #include <string> #include <vector> #include "utils/string_builder.hpp" struct LogData { std::stri...
25.368421
71
0.623444
Insafin
e8e6b0ba2bed9fc368edaa7df98cc8bc43451977
942
cpp
C++
UVa/11729.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
UVa/11729.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
UVa/11729.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#pragma GCC optimize ("O2") #include<bits/stdc++.h> #include<unistd.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int,int> pi; #define _ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define F first #def...
18.470588
57
0.572187
tico88612
e8ec852a0be7a394e71c7fc1874ec7287182ab69
1,338
cpp
C++
Source/Reikonoids/Actors/RSpawner.cpp
gunstarpl/Reikonoids
55496bed915aec8c42048c9257b1050fd360b006
[ "MIT", "Unlicense" ]
null
null
null
Source/Reikonoids/Actors/RSpawner.cpp
gunstarpl/Reikonoids
55496bed915aec8c42048c9257b1050fd360b006
[ "MIT", "Unlicense" ]
null
null
null
Source/Reikonoids/Actors/RSpawner.cpp
gunstarpl/Reikonoids
55496bed915aec8c42048c9257b1050fd360b006
[ "MIT", "Unlicense" ]
null
null
null
#include "RSpawner.h" #include "../Gameplay/RSpawnDirector.h" ARSpawner::ARSpawner() = default; ARSpawner::~ARSpawner() = default; void ARSpawner::SetupDeferredSpawnRegistration(URSpawnDirector* InSpawnDirector, TArray<AActor*>* InPopulation) { check(InSpawnDirector); check(InPopulation); SpawnDirector =...
23.892857
113
0.622571
gunstarpl
e8f1e57bd3b966e8a458c20f0264efc5656cce4a
4,803
cc
C++
src/blob_index_merge_operator_test.cc
DorianZheng/titan
03f9907355e8140442f0ab3fe44cbdda0f1d8a01
[ "Apache-2.0" ]
220
2019-11-30T02:33:05.000Z
2022-03-25T07:33:55.000Z
src/blob_index_merge_operator_test.cc
DorianZheng/titan
03f9907355e8140442f0ab3fe44cbdda0f1d8a01
[ "Apache-2.0" ]
112
2019-11-25T11:24:27.000Z
2022-03-30T08:11:41.000Z
src/blob_index_merge_operator_test.cc
DorianZheng/titan
03f9907355e8140442f0ab3fe44cbdda0f1d8a01
[ "Apache-2.0" ]
65
2019-12-16T15:26:50.000Z
2022-03-31T10:48:56.000Z
#include "test_util/testharness.h" #include "blob_index_merge_operator.h" namespace rocksdb { namespace titandb { std::string GenKey(int i) { char buffer[32]; snprintf(buffer, sizeof(buffer), "k-%08d", i); return buffer; } std::string GenValue(int i) { char buffer[32]; snprintf(buffer, sizeof(buffer), "v-...
26.535912
77
0.694149
DorianZheng
e8f2817da1ba7c8fd13adac90f6367724b6524c0
273
hpp
C++
include/pct/util.hpp
IllinoisStateGeologicalSurvey/p_point2grid
8aad94f1d606143ef287944f30f6815c328074ba
[ "BSD-4-Clause" ]
1
2020-11-25T21:26:25.000Z
2020-11-25T21:26:25.000Z
include/pct/util.hpp
IllinoisStateGeologicalSurvey/p_point2grid
8aad94f1d606143ef287944f30f6815c328074ba
[ "BSD-4-Clause" ]
null
null
null
include/pct/util.hpp
IllinoisStateGeologicalSurvey/p_point2grid
8aad94f1d606143ef287944f30f6815c328074ba
[ "BSD-4-Clause" ]
null
null
null
#ifndef UTIL_HPP #define UTIL_HPP double randomVal(int range, int min); void process_mem_usage(double& vm_usage, double& resident_set); double to_degrees(double radians); void compareMin(double* mins, double* tmp); void compareMax(double* maxs, double* tmp); #endif
17.0625
63
0.769231
IllinoisStateGeologicalSurvey
33042e1e7909f668cfce6d4f35d9eb62033dac55
704
cpp
C++
TG/bookcodes/ch2/uva11427.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
TG/bookcodes/ch2/uva11427.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/bookcodes/ch2/uva11427.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa11427 Expect the Expected // Rujia Liu #include<cstdio> #include<cmath> #include<cstring> const int maxn = 100 + 5; int main() { int T; scanf("%d", &T); for(int kase = 1; kase <= T; kase++) { int n, a, b; double d[maxn][maxn], p; scanf("%d/%d%d", &a, &b, &n); // 请注意scanf的技巧 p = (double)a/b; ...
25.142857
69
0.458807
Anyrainel
330c97f561e08709ab342f9fd6880a22c9a7175f
32,074
cc
C++
library/src/memory_profiling/BP_LibraryMemoryProfiling.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
1
2018-05-31T11:51:43.000Z
2018-05-31T11:51:43.000Z
library/src/memory_profiling/BP_LibraryMemoryProfiling.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
library/src/memory_profiling/BP_LibraryMemoryProfiling.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
/* * BP_LibraryMemoryProfiling.cc * * Created on: Aug 26, 2013 * Author: root */ #include "../../include/BP-Main.h" // // Developer Notice: The code below is fairly complex, but if read carefully should // be fairly simple to understand if provided some context. The contextual summary of the code // fou...
25.195601
171
0.716156
jason-medeiros
33163bbfb6a3329f31e140e49979700b2f199390
159
cc
C++
bitlinuxosnetworkclass/lesson35/httpServer.cc
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
bitlinuxosnetworkclass/lesson35/httpServer.cc
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
bitlinuxosnetworkclass/lesson35/httpServer.cc
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
#include "httpServer.hpp" int main(int argc, char *argv[]) { srv::httpServer srvIns(atoi(argv[1])); srvIns.init(); srvIns.start(); return 0; }
17.666667
42
0.616352
DanteIoVeYou
3317953f9c67dbf71858b38ed4840e500ddf6bc1
1,542
cc
C++
unit_tests/test_property.cc
maihd/riku
daca9172f4ee0e303060796e86859247e4306dcc
[ "Unlicense" ]
2
2019-03-22T05:01:03.000Z
2020-05-07T11:26:03.000Z
unit_tests/test_property.cc
maihd/riku
daca9172f4ee0e303060796e86859247e4306dcc
[ "Unlicense" ]
null
null
null
unit_tests/test_property.cc
maihd/riku
daca9172f4ee0e303060796e86859247e4306dcc
[ "Unlicense" ]
null
null
null
// Copyright (c) 2019, MaiHD. All right reversed. // License: Unlicensed #include <stdio.h> #include "./unit_test.h" #if defined(EXTENION_PROPERTY) && (defined(_MSC_VER) || (defined(__has_declspec_attriute) && __has_declspec_attribute(property))) #define test_assert(a, b) console::log(#a " = %d - " #b " = %d", a, b)...
20.837838
131
0.653048
maihd
3319e121c5528eb8172b4366200ac3fbc820fd26
3,343
cpp
C++
vtbl.cpp
Kanda-Motohiro/cppsample
6c010f4cc7a8143debf159435621966bf582f5d6
[ "CC0-1.0" ]
null
null
null
vtbl.cpp
Kanda-Motohiro/cppsample
6c010f4cc7a8143debf159435621966bf582f5d6
[ "CC0-1.0" ]
null
null
null
vtbl.cpp
Kanda-Motohiro/cppsample
6c010f4cc7a8143debf159435621966bf582f5d6
[ "CC0-1.0" ]
null
null
null
/* * 2018.5.6 kanda.motohiro@gmail.com C++ 練習 * released under https://creativecommons.org/publicdomain/zero/1.0/legalcode.ja */ #include "base.h" #include <locale> #include <typeinfo> class Derived: public base { public: int i = 0xdddddddd; Derived(char a) : base(a) {} const string toString() const ove...
31.242991
106
0.680826
Kanda-Motohiro
331e515b93ce7cf01cd50da5dbb9d26c669c895c
2,351
hpp
C++
src/xalanc/XercesParserLiaison/XercesNamedNodeMapAttributeList.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XercesParserLiaison/XercesNamedNodeMapAttributeList.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XercesParserLiaison/XercesNamedNodeMapAttributeList.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2004 The Apache Software Foundation. * * 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 requir...
24.489583
125
0.752871
rherardi
33236e24ea72690d0313ce7f4790bb3d238e5510
951
hpp
C++
src/wire/wire2lua/mapped_type.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
5
2016-04-07T19:49:39.000Z
2021-08-03T05:24:11.000Z
src/wire/wire2lua/mapped_type.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
null
null
null
src/wire/wire2lua/mapped_type.hpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
1
2020-12-27T11:47:31.000Z
2020-12-27T11:47:31.000Z
/* * mapped_type.hpp * * Created on: 15 мая 2016 г. * Author: sergey.fedorov */ #ifndef WIRE_WIRE2LUA_MAPPED_TYPE_HPP_ #define WIRE_WIRE2LUA_MAPPED_TYPE_HPP_ #include <string> #include <vector> #include <map> #include <wire/idl/ast.hpp> namespace wire { namespace idl { namespace lua { struct mapped_type...
18.647059
68
0.6898
zmij
3324cac708b1831a6e195ba880ee4ef9fb6701e9
646
cpp
C++
src/detail/string_convert.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
1
2021-06-16T15:49:07.000Z
2021-06-16T15:49:07.000Z
src/detail/string_convert.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
src/detail/string_convert.cpp
Guekka/libbsarch-cpp
ad435d488e9a816e0109a6f464961d177d3b61f4
[ "MIT" ]
null
null
null
/* Copyright (C) 2021 G'k * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include "string_convert.hpp" #include <codecvt> #include <locale> namespac...
26.916667
75
0.704334
Guekka
3328adb3ce2e318a1b5a6ffec85e6d470df7f3a0
2,692
cpp
C++
tests/utils.cpp
vle-forge/Echll
f3895dc721ec891b5828fcd17aec0d37be07fb60
[ "BSD-2-Clause" ]
null
null
null
tests/utils.cpp
vle-forge/Echll
f3895dc721ec891b5828fcd17aec0d37be07fb60
[ "BSD-2-Clause" ]
null
null
null
tests/utils.cpp
vle-forge/Echll
f3895dc721ec891b5828fcd17aec0d37be07fb60
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2013-2014 INRA * * 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 c...
44.866667
79
0.688707
vle-forge
06a4a6a81b66d5914b5cb512c057c76ba8f6183b
12,948
hxx
C++
src/engine/ivp/ivp_controller/ivp_car_system.hxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/ivp/ivp_controller/ivp_car_system.hxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/ivp/ivp_controller/ivp_car_system.hxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. // IVP_EXPORT_PUBLIC #if !defined(IVP_CAR_SYSTEM_INCLUDED) # define IVP_CAR_SYSTEM_INCLUDED #ifndef IVP_LISTENER_PSI_INCLUDED # include <ivp_listener_psi.hxx> #endif enum IVP_POS_WHEEL { IVP_FRONT_LEFT = 0, IVP_FRONT_RIGHT...
39.355623
171
0.716095
cstom4994
06aa8e5d64bd0e3e225cbafeb44e93ff3eeb4c28
345
cpp
C++
20200320STL_1/E.FreeListSort.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
6
2020-03-01T03:13:37.000Z
2021-03-20T13:37:11.000Z
20200320STL_1/E.FreeListSort.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
null
null
null
20200320STL_1/E.FreeListSort.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
3
2020-03-28T03:14:24.000Z
2021-05-20T13:35:15.000Z
#include <algorithm> #include <cstdio> #include <iostream> #include <list> using namespace std; int main() { double a[] = {1.2, 3.4, 9.8, 7.3, 2.6}; list<double> lst(a, a + 5); lst.sort( greater<double>() ); for (list<double>::iterator i = lst.begin(); i != lst.end(); ++i) cout << *...
21.5625
69
0.527536
Guyutongxue
06b3eb3ccbd708291794a1091be8181e797b4350
2,770
hpp
C++
code/lib/graph_operations.hpp
Brunovsky/competitive
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
code/lib/graph_operations.hpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
code/lib/graph_operations.hpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#pragma once #include "hash.hpp" #include "random.hpp" using edges_t = vector<array<int, 2>>; /** * Construct adjacency lists */ auto make_adjacency_lists_undirected(int V, const edges_t& g) { vector<vector<int>> adj(V); for (auto [u, v] : g) assert(u < V && v < V), adj[u].push_back(v), adj[v].push...
25.181818
73
0.552708
Brunovsky
06b4a9405c7fc27d5c3844ad93dbd66cc5c6c601
800
cpp
C++
src/backend/expression/tuple_address_expression.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/backend/expression/tuple_address_expression.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
4
2017-07-08T00:41:56.000Z
2017-07-08T00:42:13.000Z
src/backend/expression/tuple_address_expression.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
1
2020-06-19T08:05:03.000Z
2020-06-19T08:05:03.000Z
//===----------------------------------------------------------------------===// // // PelotonDB // // tuple_address_expression.cpp // // Identification: src/backend/expression/tuple_address_expression.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===--------------...
29.62963
80
0.60625
jessesleeping
06b5f8c149cd7360c43382bef6ae7fb3c9bd3c69
18,024
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimPerformanceCurve_Mathematical_FanPressureRise.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimPerformanceCurve_Mathematical_FanPressureRise.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimPerformanceCurve_Mathematical_FanPressureRise.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
36.708758
150
0.684365
EnEff-BIM
06b6b5eeaebceef76699e8b9300e1c9b7f4eea6d
316
hxx
C++
include/acl/export.hxx
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
include/acl/export.hxx
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
include/acl/export.hxx
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
//! A single file must include this one time, this contains mostly debug info collectors #pragma once #include "allocator.hpp" #include <sstream> namespace acl::detail { #ifdef ACL_REC_STATS detail::statistics<default_allocator_tag, true> default_allocator_statistics_instance; #endif } // namespace acl::detail
21.066667
88
0.791139
obhi-d
06ba76bc509b9136ced0ca62bd57d523ae68b43d
506
cpp
C++
src/Messages/AcceptPlayRequestMessage.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
1
2021-04-28T20:32:57.000Z
2021-04-28T20:32:57.000Z
src/Messages/AcceptPlayRequestMessage.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
7
2021-08-24T14:09:33.000Z
2021-08-30T12:47:40.000Z
src/Messages/AcceptPlayRequestMessage.cpp
BigETI/WhackAStoodentServer
05c670a9b745262ae926aebcb1fce0f1ecc5f4d2
[ "MIT" ]
null
null
null
#include <Messages/AcceptPlayRequestMessage.hpp> /// <summary> /// Constructs an accept playe request message /// </summary> WhackAStoodentServer::Messages::AcceptPlayRequestMessage::AcceptPlayRequestMessage() : WhackAStoodentServer::Messages::ASerializableMessage<WhackAStoodentServer::EMessageType::AcceptPlayRequest...
26.631579
110
0.768775
BigETI
06bda34131bfb20597f540583fb588a3dd20cac9
12,336
cpp
C++
dec15-1.cpp
balazs-bamer/adventofcode19
d8166ccbd1d531db1269dfd24065ba552397e884
[ "MIT" ]
1
2019-12-09T16:14:27.000Z
2019-12-09T16:14:27.000Z
dec15-1.cpp
balazs-bamer/adventofcode19
d8166ccbd1d531db1269dfd24065ba552397e884
[ "MIT" ]
null
null
null
dec15-1.cpp
balazs-bamer/adventofcode19
d8166ccbd1d531db1269dfd24065ba552397e884
[ "MIT" ]
null
null
null
#include <list> #include <array> #include <deque> #include <limits> #include <chrono> #include <cctype> #include <fstream> #include <utility> #include <iostream> #include <functional> #include <stdexcept> #include <algorithm> #include <unordered_map> class Int final { private: int mInt; public: Int(int aInt) noex...
27.413333
102
0.613489
balazs-bamer
06be6c05cd8a7f968bd5b57d13263f8480bf8a50
3,140
hpp
C++
include/whack/codegen/elements/args.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
54
2018-10-28T07:18:31.000Z
2022-03-08T20:30:40.000Z
include/whack/codegen/elements/args.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
null
null
null
include/whack/codegen/elements/args.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
5
2018-10-28T14:43:53.000Z
2020-04-26T19:52:58.000Z
/** * Copyright 2018-present Onchere Bironga * * 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.807339
78
0.621019
onchere
06ca27845532ad642ebb1b962842a1fbf55b9066
1,118
hpp
C++
Logger.hpp
PORT-INC/cicada
18730fa951ebf1b92a3116c13ddc75f786595dd1
[ "MIT" ]
null
null
null
Logger.hpp
PORT-INC/cicada
18730fa951ebf1b92a3116c13ddc75f786595dd1
[ "MIT" ]
null
null
null
Logger.hpp
PORT-INC/cicada
18730fa951ebf1b92a3116c13ddc75f786595dd1
[ "MIT" ]
null
null
null
// © 2016 PORT INC. #ifndef LOGGER__H #define LOGGER__H #include "spdlog/spdlog.h" namespace Logger { namespace spd = spdlog; decltype ( spd::stderr_logger_mt("", true) ) out(); void setLevel(int level); void setName(const std::string& name); void setColor(bool flg); void setPattern(const std::string& patter...
27.95
59
0.62254
PORT-INC
06cdbba9971974202cc63958e80a71da8bc866f7
599
cpp
C++
kernel/src/gdt.cpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
kernel/src/gdt.cpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
kernel/src/gdt.cpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
33.277778
82
0.527546
cekkr
06d18ed979f8f80e67b37a925171e98c9ce375c2
1,403
cpp
C++
cpp/651-660/Find K Closest Elements.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/651-660/Find K Closest Elements.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/651-660/Find K Closest Elements.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
// Solution 1. class Solution { public: vector<int> findClosestElements(vector<int>& arr, int k, int x) { auto it = lower_bound(arr.begin(), arr.end(), x); int idx = it - arr.begin(); if (idx == arr.size()) { idx--; } else if (idx > 0) { if (abs(arr[idx - 1] -...
24.614035
71
0.352815
KaiyuWei
06d7177a575ff3520a80377a7994e37354b1e4fd
11,571
cpp
C++
libloco/src/LocoNetwork.cpp
candycode/loco
4fffb785cf73c577397b107586909a24133ff7c7
[ "BSD-3-Clause" ]
1
2018-07-05T13:43:14.000Z
2018-07-05T13:43:14.000Z
libloco/src/LocoNetwork.cpp
candycode/loco
4fffb785cf73c577397b107586909a24133ff7c7
[ "BSD-3-Clause" ]
null
null
null
libloco/src/LocoNetwork.cpp
candycode/loco
4fffb785cf73c577397b107586909a24133ff7c7
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// //Copyright (c) 2012, Ugo Varetto //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions of sourc...
31.442935
114
0.625616
candycode
06db4fd736589078499431020980aebccc7fe415
358
cpp
C++
solutions/325.maximum-size-subarray-sum-equals-k.326218555.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/325.maximum-size-subarray-sum-equals-k.326218555.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/325.maximum-size-subarray-sum-equals-k.326218555.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: int maxSubArrayLen(vector<int> &nums, int k) { int ans = 0; unordered_map<int, int> mp; mp[0] = -1; int s = 0; for (int i = 0; i < nums.size(); i++) { s += nums[i]; if (mp.count(s - k)) ans = max(ans, i - mp[s - k]); if (!mp.count(s)) mp[...
17.9
48
0.452514
satu0king