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
108
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
67k
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
913af1bf9eb994c9987f4ae6755e8be3ee54b9ee
8,601
cpp
C++
3rdParty/iresearch/core/search/tfidf.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/search/tfidf.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/search/tfidf.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC Corporation, 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...
25.371681
126
0.633531
specimen151
913bcf95fe6d859ca7bb360d1e04594ce7e4686f
3,234
cpp
C++
src/widgets/updater.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/widgets/updater.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
src/widgets/updater.cpp
Kor-Hal/SisterRay
4e8482525a5d7f77dee186f438ddb16523a61e7e
[ "BSD-3-Clause" ]
null
null
null
#include "updaters.h" #include "../impl.h" #include "../inventories/inventory_utils.h" #include "../menus/battle_menu/battle_menu_utils.h" void battleSpellNameViewUpdater(CollectionWidget* self, Widget* widget, u16 flatIndex) { if (self->collectionType != GridWidgetClass()) { return; } auto typedPt...
43.12
131
0.704391
Kor-Hal
913d013dea1393db53086d40db4c61179695401c
2,314
hh
C++
include/G4NRFPtrLevelVector.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
4
2020-06-28T02:18:53.000Z
2022-01-17T07:54:31.000Z
include/G4NRFPtrLevelVector.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
3
2018-08-16T18:49:53.000Z
2020-10-19T18:04:25.000Z
include/G4NRFPtrLevelVector.hh
jvavrek/NIMB2018
0aaf4143db2194b9f95002c681e4f860c8c76f7a
[ "MIT" ]
null
null
null
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
43.660377
78
0.513397
jvavrek
913f225bc3f4b445f01494fe4359be3f599d914c
599
cpp
C++
tools/pngbb.cpp
hemantasapkota/lotech
46598a7c37dfd7cd424e2426564cc32533e1cfd6
[ "curl" ]
9
2015-06-28T05:47:33.000Z
2021-06-29T13:35:48.000Z
tools/pngbb.cpp
hemantasapkota/lotech
46598a7c37dfd7cd424e2426564cc32533e1cfd6
[ "curl" ]
5
2015-01-10T02:56:53.000Z
2018-07-27T03:21:14.000Z
tools/pngbb.cpp
hemantasapkota/lotech
46598a7c37dfd7cd424e2426564cc32533e1cfd6
[ "curl" ]
3
2015-04-01T14:48:54.000Z
2015-11-12T11:52:50.000Z
/* * ./pngbb in.png out.png. * Reads in.png and generates out.png which contains only the pixels * in the bounding box of in.png, along with a private chunk containing the * bounding box information (see ltWriteImage function). */ #include "lt.h" int main(int argc, const char *argv[]) { if (argc != 3) { ...
26.043478
75
0.601002
hemantasapkota
913f388667592a7e9f49251a51ecf2b6fb935086
1,568
cpp
C++
hybridinheritance.cpp
PRASAD-DANGARE/CPP
bf5ba5f87a229d88152fef80cb6a4d73bf578815
[ "MIT" ]
null
null
null
hybridinheritance.cpp
PRASAD-DANGARE/CPP
bf5ba5f87a229d88152fef80cb6a4d73bf578815
[ "MIT" ]
null
null
null
hybridinheritance.cpp
PRASAD-DANGARE/CPP
bf5ba5f87a229d88152fef80cb6a4d73bf578815
[ "MIT" ]
null
null
null
/* Description : Hybrid Inheritance Function Date : 1 Dec 2020 Function Author : Prasad Dangare Input : Integer */ #include <iostream> using namespace std; class student { protected: int roll_number; public: void get_number(int a) { ...
17.422222
59
0.478316
PRASAD-DANGARE
913fd0228ee7e7f5e6a0caf4929b975cf235d293
2,726
cpp
C++
lib/lib_info.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
lib/lib_info.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
lib/lib_info.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/lib/lib_info.cpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2012 *******************************************************************************/ #ifndef OWLCPP_SOURCE #define OWLCPP_SOURCE #endif #inclu...
25.961905
86
0.535216
GreyMerlin
91439ce4efbfbc3dd757cc7d00ea7d088f63defe
870
cpp
C++
src/source/uselibhoard.cpp
dark0z/Hoard
5afe855606e60ba255915d5cd816474815fc8844
[ "ECL-2.0", "Apache-2.0" ]
827
2015-01-13T20:39:45.000Z
2022-03-29T06:31:59.000Z
src/source/uselibhoard.cpp
dark0z/Hoard
5afe855606e60ba255915d5cd816474815fc8844
[ "ECL-2.0", "Apache-2.0" ]
41
2015-01-25T21:37:58.000Z
2022-03-15T09:10:24.000Z
src/source/uselibhoard.cpp
dark0z/Hoard
5afe855606e60ba255915d5cd816474815fc8844
[ "ECL-2.0", "Apache-2.0" ]
107
2015-01-19T20:41:53.000Z
2022-01-25T16:30:38.000Z
/* -*- C++ -*- */ /* The Hoard Multiprocessor Memory Allocator www.hoard.org Author: Emery Berger, http://www.emeryberger.com Copyright (c) 1998-2020 Emery Berger See the LICENSE file at the top-level directory of this distribution and at http://github.com/emeryberger/Hoard. */ // Link this code with ...
18.125
74
0.673563
dark0z
91448f8d861a041abef6512b3b7e73904dcffd9a
3,860
cc
C++
modules/audio_processing/agc2/vad_wrapper.cc
wyshen2020/webrtc
b93e2240f1653b82e24553e092bbab84337774af
[ "BSD-3-Clause" ]
27
2020-04-06T09:52:44.000Z
2022-03-17T19:07:12.000Z
modules/audio_processing/agc2/vad_wrapper.cc
wyshen2020/webrtc
b93e2240f1653b82e24553e092bbab84337774af
[ "BSD-3-Clause" ]
1
2021-12-02T02:45:34.000Z
2021-12-02T03:12:02.000Z
modules/audio_processing/agc2/vad_wrapper.cc
wyshen2020/webrtc
b93e2240f1653b82e24553e092bbab84337774af
[ "BSD-3-Clause" ]
13
2020-05-06T01:47:27.000Z
2022-02-02T21:47:28.000Z
/* * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
36.074766
80
0.74171
wyshen2020
9144a4b4925780bf0db15600aae9e2f643a63e8b
9,459
cpp
C++
Code/Libraries/Core/src/windowwrapper.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Libraries/Core/src/windowwrapper.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Libraries/Core/src/windowwrapper.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
#include "core.h" #include "windowwrapper.h" #include "mathcore.h" #if BUILD_WINDOWS_NO_SDL #include <Windows.h> #endif #include <stdio.h> #include <proto/dos.h> #if BUILD_SDL #ifdef PANDORA #include <SDL2/SDL.h> #else #include "SDL2/SDL.h" #endif #endif #include <memory.h> Window::Window() #if BUILD_WINDOWS_NO_SDL...
25.291444
80
0.689608
kas1e
914518196f302582abd8095eec196d8abf8a98e8
14,001
cpp
C++
fuse_models/src/unicycle_2d_ignition.cpp
mcx/fuse
3825e489ceaba394fb07c87e0e52dce9485da19b
[ "BSD-3-Clause" ]
383
2018-07-02T07:20:32.000Z
2022-03-31T12:51:06.000Z
fuse_models/src/unicycle_2d_ignition.cpp
mcx/fuse
3825e489ceaba394fb07c87e0e52dce9485da19b
[ "BSD-3-Clause" ]
117
2018-07-16T10:32:52.000Z
2022-02-02T20:15:16.000Z
fuse_models/src/unicycle_2d_ignition.cpp
BrettRD/fuse
c8481b3b1eb01e855f341187b9f1f88d4d58acc2
[ "BSD-3-Clause" ]
74
2018-10-01T10:10:45.000Z
2022-03-02T04:48:22.000Z
/* * Software License Agreement (BSD License) * * Copyright (c) 2019, Locus Robotics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must re...
41.300885
120
0.712378
mcx
9146a6435da748c123403e1fd07e70e49f009f12
10,034
hpp
C++
openstudiocore/src/openstudio_lib/OSDocument.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/openstudio_lib/OSDocument.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/openstudio_lib/OSDocument.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
27.045822
126
0.729619
Acidburn0zzz
9146e18996dd7ddcd5ff9bb6298e0de82f32c413
683
hpp
C++
tests/headers/doggo-or-null.hpp
j-channings/rust-bindgen
56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3
[ "BSD-3-Clause" ]
1,848
2018-11-22T06:08:21.000Z
2022-03-31T10:54:10.000Z
tests/headers/doggo-or-null.hpp
j-channings/rust-bindgen
56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3
[ "BSD-3-Clause" ]
845
2016-06-22T21:55:20.000Z
2018-10-31T15:50:10.000Z
tests/headers/doggo-or-null.hpp
j-channings/rust-bindgen
56e8cf97c9368e0bc9f20f5f66ca2a3773ab97b3
[ "BSD-3-Clause" ]
274
2018-11-23T17:46:29.000Z
2022-03-27T04:52:37.000Z
// bindgen-flags: --opaque-type DoggoOrNull --with-derive-partialeq --with-derive-hash -- -std=c++14 class Doggo { int x; }; class Null {}; /** * This type is an opaque union. Unions can't derive anything interesting like * Debug or Default, even if their layout can, because it would require knowing * which v...
32.52381
100
0.711567
j-channings
914e910a41129cee278cae124b298c7a38252342
1,717
cpp
C++
C++ Programs/infix_to_postfix.cpp
manvitha1726/RTU-DigitalLibrary
e2dbf042bcebaa52613fa925dfdbe1f72dc13bcd
[ "MIT" ]
32
2020-10-06T09:45:10.000Z
2021-12-23T02:15:42.000Z
C++ Programs/infix_to_postfix.cpp
manvitha1726/RTU-DigitalLibrary
e2dbf042bcebaa52613fa925dfdbe1f72dc13bcd
[ "MIT" ]
55
2020-10-05T06:21:13.000Z
2021-09-11T18:06:50.000Z
C++ Programs/infix_to_postfix.cpp
Tausif121/RTU-DigitalLibrary
b0ad54356158ba92c476472241b5b118fb624bf4
[ "MIT" ]
248
2020-10-05T06:21:19.000Z
2021-10-03T08:29:23.000Z
#include<iostream> #include<conio.h> #include<string.h> using namespace std; class Stack { public: char s[100]; int head=-1; void push(char c) { head++; s[head]=c; } char pop() { if(head==-1) return '!'; head--; return s[head+1]; } char sho...
19.735632
130
0.338381
manvitha1726
914f8ecafaf3d57294ea1b8a64ea6470bc11db69
9,888
cpp
C++
game/mips2c/functions/texture.cpp
LuminarLight/jak-project
f341be65e9848977158c9a9a2898f0f047a157df
[ "ISC" ]
602
2020-08-23T22:52:42.000Z
2022-02-07T23:36:14.000Z
game/mips2c/functions/texture.cpp
romatthe/jak-project
35bdc9b1d3a0a89cff072deb57844aa0e73d15e7
[ "ISC" ]
970
2020-08-27T03:25:21.000Z
2022-02-08T01:27:11.000Z
game/mips2c/functions/texture.cpp
romatthe/jak-project
35bdc9b1d3a0a89cff072deb57844aa0e73d15e7
[ "ISC" ]
34
2020-08-26T03:23:50.000Z
2022-02-03T18:49:06.000Z
//--------------------------MIPS2C--------------------- // clang-format off #include "game/mips2c/mips2c_private.h" #include "game/kernel/kscheme.h" namespace Mips2C { namespace adgif_shader_texture_with_update { u64 execute(void* ctxt) { auto* c = (ExecutionContext*)ctxt; bool bc = false; c->ld(a2, 16, a0); ...
60.292683
79
0.299252
LuminarLight
91507b9134518b80e1815709a4ff2ece9644e3da
214
hpp
C++
src/App/Configuration.hpp
psiberx/cp2077-tweak-xl
ed974dc664092c8d1f8831c39a5c5b2634ddf72e
[ "MIT" ]
6
2022-03-01T03:46:46.000Z
2022-03-31T21:12:31.000Z
src/App/Configuration.hpp
psiberx/cp2077-tweak-xl
ed974dc664092c8d1f8831c39a5c5b2634ddf72e
[ "MIT" ]
null
null
null
src/App/Configuration.hpp
psiberx/cp2077-tweak-xl
ed974dc664092c8d1f8831c39a5c5b2634ddf72e
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.hpp" #include "Core/Facades/Runtime.hpp" namespace App::Configuration { inline std::filesystem::path GetTweaksDir() { return Core::Runtime::GetRootDir() / L"r6" / L"tweaks"; } }
16.461538
59
0.705607
psiberx
915394e8d073163259c72ff8a73e26f778225aa6
335
cpp
C++
usystem/tests/kernel_api_tests/src/vm.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
44
2017-02-16T20:48:09.000Z
2022-03-14T17:58:57.000Z
usystem/tests/kernel_api_tests/src/vm.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
72
2017-02-16T20:22:10.000Z
2022-03-31T21:17:06.000Z
usystem/tests/kernel_api_tests/src/vm.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
10
2017-04-07T19:20:14.000Z
2021-12-16T03:31:14.000Z
/* * Copyright (c) 2021 Pedro Falcato * This file is part of Onyx, and is released under the terms of the MIT License * check LICENSE at the root directory for more information */ #include <unistd.h> #include <fcntl.h> #include <cstring> #include <string> #include <gtest/gtest.h> #include <sys/mman.h> TEST(Vm, MmapW...
17.631579
79
0.707463
heatd
9154bf90e1c29faee6cf9a7df244edf60f80908d
1,781
hpp
C++
Mathematics/Function/Computable/Expression/List/Body/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Mathematics/Function/Computable/Expression/List/Body/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Mathematics/Function/Computable/Expression/List/Body/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Mathematics/Function/Computable/Expression/List/Body/a_Body.hpp #pragma once #include "a.hpp" #include "../a.hpp" #include "../../Variable/a.hpp" #include "../../a.hpp" #include "../a_Body.hpp" #include "../../Variable/a_Body.hpp" #include "../../a_Body.hpp" #include ...
22.833333
249
0.613139
p-adic
91572fbae81e4c5c4e5530024cfe094c7435fa7c
1,612
cpp
C++
Day12/Graph_topSortKahnAlgo.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
1
2022-03-31T13:49:46.000Z
2022-03-31T13:49:46.000Z
Day12/Graph_topSortKahnAlgo.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
Day12/Graph_topSortKahnAlgo.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Graph{ int V; list<int> *adj; public: Graph(int V){ this->V = V; adj = new list<int> [V]; } void addEdge(int u,int v){ adj[u].push_back(v); } void topSort(); }; void Graph::topSort(){ //vector to sto...
19.658537
77
0.485112
tejaswini212
91592c19024271c72e2462f0ced58f79e098f4c3
31,284
cc
C++
tensorflow/compiler/xla/service/hlo_dataflow_analysis.cc
monokrome/tensorflow
2533ada7dd45b84d60677b8735e013d21044651a
[ "Apache-2.0" ]
1
2018-12-08T18:04:55.000Z
2018-12-08T18:04:55.000Z
tensorflow/compiler/xla/service/hlo_dataflow_analysis.cc
monokrome/tensorflow
2533ada7dd45b84d60677b8735e013d21044651a
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/hlo_dataflow_analysis.cc
monokrome/tensorflow
2533ada7dd45b84d60677b8735e013d21044651a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 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 law or a...
40.056338
80
0.653049
monokrome
915be2ee2f6f333f2a943562f1c8e1fd228b778a
489
cpp
C++
sg/renderer/materials/ThinGlass.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
52
2018-10-09T23:56:32.000Z
2022-03-25T09:27:40.000Z
sg/renderer/materials/ThinGlass.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
11
2018-11-19T18:51:47.000Z
2022-03-28T14:03:57.000Z
sg/renderer/materials/ThinGlass.cpp
ebachard/ospray_studio
78928c93b482f9f95aa300c8f58c728dadedbe2f
[ "Apache-2.0" ]
8
2019-02-10T00:16:24.000Z
2022-02-17T19:50:15.000Z
// Copyright 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "../Material.h" namespace ospray { namespace sg { struct OSPSG_INTERFACE ThinGlass : public Material { ThinGlass(); ~ThinGlass() override = default; }; OSP_REGISTER_SG_NODE_NAME(ThinGlass, thinGlass); // ThinGla...
18.807692
77
0.615542
ebachard
915d4e7addc5dde17aacd2f318267bdc7987a3f4
5,438
cpp
C++
libs/QRealFourier/sources/qfouriertransformer.cpp
mfkiwl/Serial-Studio
f669d7b7e5f9a6d22f9d4bc26a4500c3feb08c3a
[ "MIT" ]
2,496
2020-11-12T01:17:00.000Z
2022-03-30T06:03:58.000Z
libs/QRealFourier/sources/qfouriertransformer.cpp
mfkiwl/Serial-Studio
f669d7b7e5f9a6d22f9d4bc26a4500c3feb08c3a
[ "MIT" ]
75
2021-01-14T16:21:21.000Z
2022-03-14T23:16:09.000Z
libs/QRealFourier/sources/qfouriertransformer.cpp
mfkiwl/Serial-Studio
f669d7b7e5f9a6d22f9d4bc26a4500c3feb08c3a
[ "MIT" ]
287
2021-01-13T20:32:12.000Z
2022-03-30T09:39:31.000Z
/*********************************************************************** qfouriertransformer.cpp - Source file for QFourierTransformer Facade class for calculating FFTs from a set of samples. ************************************************************************ This file is part of QRealFourier. QRealFourier is...
26.526829
129
0.70651
mfkiwl
915dd98f431a89b44683368c0710b1869d5a1d3e
31,792
cpp
C++
src/ScreenManager.cpp
graemephi/etterna
b984fe493d9f7ac84a35af3e6f80f16607aceb09
[ "MIT" ]
null
null
null
src/ScreenManager.cpp
graemephi/etterna
b984fe493d9f7ac84a35af3e6f80f16607aceb09
[ "MIT" ]
null
null
null
src/ScreenManager.cpp
graemephi/etterna
b984fe493d9f7ac84a35af3e6f80f16607aceb09
[ "MIT" ]
null
null
null
/* * We maintain a pool of "prepared" screens, which are screens previously loaded * to be available on demand. * * When a screen pops off the stack that's in g_setPersistantScreens, it goes to * the prepared list. If that screen is used again before it's deleted, it'll * be reused. * * Typically, the first sc...
28.693141
80
0.71474
graemephi
915e559c092e3f2cfdac859f5eb0fe163b1a6143
10,087
cpp
C++
DemoApps/GLES3/ParticleSystem/source/PSGpu/ParticleSystemSnow.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/GLES3/ParticleSystem/source/PSGpu/ParticleSystemSnow.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/GLES3/ParticleSystem/source/PSGpu/ParticleSystemSnow.cpp
alexvonduar/gtec-demo-framework
6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749
[ "MIT", "BSD-3-Clause" ]
null
null
null
/**************************************************************************************************************************************************** * Copyright (c) 2015 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are ...
43.106838
150
0.730743
alexvonduar
915f5ac519c0366f24fa768b0db8dffd7d45f472
21,519
cpp
C++
code/appRenderState.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/appRenderState.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
code/appRenderState.cpp
robbitay/ConstPort
d948ceb5f0e22504640578e3ef31e3823b29c1c3
[ "Unlicense" ]
null
null
null
/* File: appRenderState.cpp Author: Taylor Robbins Date: 06\13\2017 Description: ** Lots of functions that facilitate drawing different ** primitives and common things #included from app.cpp */ void InitializeRenderState() { Assert(renderState != nullptr); ClearPointer(renderState); Vertex_t squareVertic...
37.165803
203
0.749291
robbitay
915fd60f472926d391f552a86421bc891f379a9d
8,110
cpp
C++
src/controller_base.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/controller_base.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/controller_base.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: controller_base.cpp 48315 2011-01-16 09:49:08Z mordante $ */ /* Copyright (C) 2006 - 2011 by Joerg Hinrichs <joerg.hinrichs@alice-dsl.de> wesnoth playlevel Copyright (C) 2003 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is fre...
30.374532
114
0.690012
blackberry
916178b1de3174af3714a7802e13933ca253674e
3,321
cpp
C++
iniparser.cpp
IvanSafonov/iniparser
6aad81d1a607aaf64c4e26ea9c3f6a877a40ae2f
[ "MIT" ]
1
2020-10-18T23:56:43.000Z
2020-10-18T23:56:43.000Z
iniparser.cpp
IvanSafonov/iniparser
6aad81d1a607aaf64c4e26ea9c3f6a877a40ae2f
[ "MIT" ]
null
null
null
iniparser.cpp
IvanSafonov/iniparser
6aad81d1a607aaf64c4e26ea9c3f6a877a40ae2f
[ "MIT" ]
null
null
null
#include "iniparser.h" #include <fstream> #include <regex> #include <algorithm> #include <set> using namespace std; IniParser::IniParser() { } IniParser::~IniParser() { } bool IniParser::load(const std::string &fileName) { ifstream file; file.open(fileName); if (!file) return false; rege...
25.945313
100
0.587173
IvanSafonov
91659fa248100b19731dd229ae7fa7cfe3a79a15
740
cpp
C++
src/projections/Mercator.cpp
Kuhlwein/Demiurge
0981f1d267efed87d51e2b328a93e1fa0be1158d
[ "MIT" ]
6
2020-09-23T19:49:07.000Z
2022-01-08T15:53:55.000Z
src/projections/Mercator.cpp
Kuhlwein/Demiurge
0981f1d267efed87d51e2b328a93e1fa0be1158d
[ "MIT" ]
null
null
null
src/projections/Mercator.cpp
Kuhlwein/Demiurge
0981f1d267efed87d51e2b328a93e1fa0be1158d
[ "MIT" ]
1
2020-09-23T17:53:26.000Z
2020-09-23T17:53:26.000Z
// // Created by kuhlwein on 7/5/20. // #include "Project.h" #include "Mercator.h" Mercator::Mercator(Project *project) : AbstractCanvas(project) { } glm::vec2 Mercator::inverseTransform(glm::vec2 coord) { float theta = coord.x; float phi = 2*atan(exp(coord.y))-M_PI/2; return glm::vec2(theta,phi); } Shader *Mer...
18.974359
64
0.677027
Kuhlwein
916826688e833a6f1652b4c87c2903f91c67b045
2,332
cpp
C++
plant-simul/plant1/plant1_start_2_3_niVeriStand_rtw/plant1_start_2_3_data.cpp
asamant/masters-thesis-physical-setup
2adb7928ccb6d0a59849bb30574ee645bd770a63
[ "MIT" ]
null
null
null
plant-simul/plant1/plant1_start_2_3_niVeriStand_rtw/plant1_start_2_3_data.cpp
asamant/masters-thesis-physical-setup
2adb7928ccb6d0a59849bb30574ee645bd770a63
[ "MIT" ]
null
null
null
plant-simul/plant1/plant1_start_2_3_niVeriStand_rtw/plant1_start_2_3_data.cpp
asamant/masters-thesis-physical-setup
2adb7928ccb6d0a59849bb30574ee645bd770a63
[ "MIT" ]
null
null
null
#include "ni_modelframework.h" #if defined VXWORKS || defined kNIOSLinux #define plant1_start_2_3_P plant1_start_2_3_P DataSection(".NIVS.defaultparams") #endif /* * plant1_start_2_3_data.cpp * * Academic License - for use in teaching, academic research, and meeting * course requirements at de...
26.5
93
0.606775
asamant
9169024291d2bb89c701e15c253e1ca4e01f16d1
27,867
cc
C++
content/browser/service_worker/embedded_worker_instance_unittest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
content/browser/service_worker/embedded_worker_instance_unittest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
content/browser/service_worker/embedded_worker_instance_unittest.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/service_worker/embedded_worker_instance.h" #include <stdint.h> #include <utility> #include <vector> #include "base/bind.h" #in...
37.556604
92
0.750063
Ron423c
916b1cf28fc32cee193666749f69fd004f72b336
18,084
cxx
C++
doctype/marcdump.cxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
2
2022-02-05T17:48:29.000Z
2022-02-06T15:25:04.000Z
doctype/marcdump.cxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
null
null
null
doctype/marcdump.cxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
1
2022-03-30T20:14:00.000Z
2022-03-30T20:14:00.000Z
// $ID$ /*-@@@ File: marcdump.cxx Version: $Revision: 1.1 $ Description: Class MARCDUMP - output from Yaz utility marcdump Author: Archibald Warnock (warnock@clark.net), A/WWW Enterprises Copyright: A/WWW Enterprises, Columbia, MD @@@-*/ //#include <iostream.h> #include <stdio.h> #include <stdlib.h> #include <string...
24.339166
87
0.626299
re-Isearch
916beb4c7c82d6dfcd78be0842fa09b3639164ef
9,470
cxx
C++
java/jni/direct_bt/DBTGattChar.cxx
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
10
2020-09-03T16:23:12.000Z
2022-03-10T13:51:40.000Z
java/jni/direct_bt/DBTGattChar.cxx
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
null
null
null
java/jni/direct_bt/DBTGattChar.cxx
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
3
2020-09-03T05:21:46.000Z
2020-09-04T18:44:00.000Z
/* * Author: Sven Gothel <sgothel@jausoft.com> * Copyright (c) 2020 Gothel Software e.K. * Copyright (c) 2020 ZAFENA AB * * 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 restri...
45.311005
124
0.667476
sgothel
916db555cc93696805c644485df400e7d22d0928
2,065
cpp
C++
src/third_party/mozjs/platform/x86_64/windows/build/debugger/Unified_cpp_js_src_debugger0.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/platform/x86_64/windows/build/debugger/Unified_cpp_js_src_debugger0.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/platform/x86_64/windows/build/debugger/Unified_cpp_js_src_debugger0.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
#define MOZ_UNIFIED_BUILD #include "debugger/DebugScript.cpp" #ifdef PL_ARENA_CONST_ALIGN_MASK #error "debugger/DebugScript.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode." #undef PL_ARENA_CONST_ALIGN_MASK #endif #ifdef INITGUID #error "debugger/DebugScript.cpp defines INITGUID, so it cannot ...
37.545455
107
0.821792
benety
916f77bb5ca21ef3f1ea64a0025bfdcb97ca475b
252
cpp
C++
src/BarProject/TCPClient.cpp
gallowstree/ArduinoMazeNavV2
fdd35ce066cb4c3d78496beeda2ef831f7fb6713
[ "MIT" ]
null
null
null
src/BarProject/TCPClient.cpp
gallowstree/ArduinoMazeNavV2
fdd35ce066cb4c3d78496beeda2ef831f7fb6713
[ "MIT" ]
null
null
null
src/BarProject/TCPClient.cpp
gallowstree/ArduinoMazeNavV2
fdd35ce066cb4c3d78496beeda2ef831f7fb6713
[ "MIT" ]
null
null
null
#include "TCPClient.h" TCPClient::TCPClient(){} int TCPClient::connect(char * host, int port) { return client.connect(host,port); } void TCPClient::sendData(String data) { client.print(data); } void TCPClient::close() { client.stop(); }
14
45
0.674603
gallowstree
91715be46775913e27346f5d5280da1f36ace818
2,962
cpp
C++
source/tools/show_devices_sycl/main.cpp
intel/compute-benchmarks
d0b3ea3c7e9c9b275b259287f5fe0c22f16b58b8
[ "MIT" ]
null
null
null
source/tools/show_devices_sycl/main.cpp
intel/compute-benchmarks
d0b3ea3c7e9c9b275b259287f5fe0c22f16b58b8
[ "MIT" ]
null
null
null
source/tools/show_devices_sycl/main.cpp
intel/compute-benchmarks
d0b3ea3c7e9c9b275b259287f5fe0c22f16b58b8
[ "MIT" ]
null
null
null
/* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "framework/sycl/sycl.h" #include <cstring> #include <iostream> #include <memory> #include <string> #include <vector> // ------------------------------------------------------------------------- Helpers for creating/freeing ...
37.025
139
0.633018
intel
917261d0dc69ebc96ab34b4c739bffcdb1ae675b
7,485
cpp
C++
utils/cluster.cpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
utils/cluster.cpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
utils/cluster.cpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Adam Lafontaine */ #include "cluster_config.hpp" #include <cstdlib> #include <algorithm> #include <random> #include <iterator> #include <iostream> #include <functional> namespace cluster { //======= TYPES =================== typedef struct ClusterCount // used for tracking the number of ti...
25.287162
133
0.685237
adam-lafontaine
917370d931183c64581308f00895629d846bcef8
7,760
cc
C++
iree/base/tracing.cc
kintel/iree
7dbe1aea471e880327694ffbfc0b536f1e587f2c
[ "Apache-2.0" ]
null
null
null
iree/base/tracing.cc
kintel/iree
7dbe1aea471e880327694ffbfc0b536f1e587f2c
[ "Apache-2.0" ]
1
2021-06-16T12:18:44.000Z
2021-06-16T12:18:44.000Z
iree/base/tracing.cc
kintel/iree
7dbe1aea471e880327694ffbfc0b536f1e587f2c
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/base/tracing.h" #include "iree/base/target_platform.h" // Textually include the ...
34.954955
80
0.748196
kintel
9176d8b08742830c750aa5bc0215da7a1aa8502b
920
cpp
C++
TOI16/Uncomplete-TEST/1109.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
TOI16/Uncomplete-TEST/1109.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
TOI16/Uncomplete-TEST/1109.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define endll "\n" int n; pair<int,int> arr[100001], temp[100001]; int merge(int l,int mid, int r) { int i=l, j=mid, k=l; int sum=0; while(i<=mid-1 && j<=r) { if(arr[i].first <= arr[j].first) temp[k++] = arr[i++]; else { sum += (mid-i); temp[k++] = arr[j+...
14.603175
56
0.521739
mrmuffinnxz
91782ac2f1e95b4ebad4dd7b7014dabf54da8541
1,199
hpp
C++
modules/scene_manager/include/map_msgs/srv/save_map__request__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/map_msgs/srv/save_map__request__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/map_msgs/srv/save_map__request__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from rosidl_generator_cpp/resource/msg__traits.hpp.em // generated code does not contain a copyright notice #ifndef MAP_MSGS__SRV__SAVE_MAP__REQUEST__TRAITS_HPP_ #define MAP_MSGS__SRV__SAVE_MAP__REQUEST__TRAITS_HPP_ #include <stdint.h> #include <type_traits> namespace rosidl_generator_traits { #ifndef ...
25.510638
84
0.803169
Omnirobotic
9179a4fe75d7fdbe342b6748d90b659676d8ef49
2,328
cpp
C++
src/RotationControl.cpp
rustyducks/navigation
2c549072173b05ebc750c7a0b05dd41833f44ceb
[ "MIT" ]
null
null
null
src/RotationControl.cpp
rustyducks/navigation
2c549072173b05ebc750c7a0b05dd41833f44ceb
[ "MIT" ]
null
null
null
src/RotationControl.cpp
rustyducks/navigation
2c549072173b05ebc750c7a0b05dd41833f44ceb
[ "MIT" ]
null
null
null
#include "Navigation/RotationControl.h" #include "Navigation/Parameters.h" namespace rd { RotationControl::RotationControl(const PositionControlParameters &params) : PositionControlBase(params), state_(eRotationControlState::ACCELERATE) {} Speed RotationControl::computeSpeed(const PointOriented &robotPose, const Sp...
39.457627
149
0.705756
rustyducks
917b5cf644038138fc496999557aa6c0a78590d0
1,123
cpp
C++
paint/src/Tool.cpp
nickveys/opengl-play
a297b4ea804255fd54e4b1e78fb7d79d3e185b23
[ "MIT" ]
null
null
null
paint/src/Tool.cpp
nickveys/opengl-play
a297b4ea804255fd54e4b1e78fb7d79d3e185b23
[ "MIT" ]
null
null
null
paint/src/Tool.cpp
nickveys/opengl-play
a297b4ea804255fd54e4b1e78fb7d79d3e185b23
[ "MIT" ]
null
null
null
#include <stdio.h> #include <glut.h> #include "Paintable.h" #include "Tool.h" /* default tool setup */ struct color4f Tool::color = { 1.0f, 1.0f, 1.0f, 1.0f }; GLfloat Tool::size = 2.0f; GLfloat Tool::width = 2.0f; bool Tool::fill = false; Tool::Tool() { mouseCurrentlyDown = false; } void Tool::mouseDown(struct p...
20.796296
74
0.684773
nickveys
917c7363a2f44ec5c8592566a480355d518e4fa0
7,472
cpp
C++
RadeonGPUAnalyzerCLI/Src/kcCLICommander.cpp
EwoutH/RGA
3eb9694b04882ea6f0984755faa171c6785b533d
[ "MIT" ]
2
2019-05-18T11:39:59.000Z
2019-05-18T11:40:05.000Z
RadeonGPUAnalyzerCLI/Src/kcCLICommander.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
null
null
null
RadeonGPUAnalyzerCLI/Src/kcCLICommander.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
null
null
null
//================================================================= // Copyright 2017 Advanced Micro Devices, Inc. All rights reserved. //================================================================= // C++ #include <cassert> // Backend. #include <RadeonGPUAnalyzerBackend/Include/beUtils.h> // Local. #include <R...
32.9163
138
0.626606
EwoutH
917cbad064112c3d05cf0d79bb3c4531a1cb44d4
172
cpp
C++
test/unit-tests/volume/volume_renamer_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/volume/volume_renamer_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/volume/volume_renamer_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
#include "src/volume/volume_renamer.h" #include <gtest/gtest.h> namespace pos { TEST(VolumeRenamer, VolumeRenamer_) { } TEST(VolumeRenamer, Do_) { } } // namespace pos
10.75
38
0.72093
YongJin-Cho
917e8441bda7bed99371bcf5d84084afaaa40072
2,085
cc
C++
solutions/kattis/administrativeproblems.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/kattis/administrativeproblems.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/kattis/administrativeproblems.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <bitset> #include <chrono> #include <climits> #include <cmath> #include <cstring> #include <deque> #include <ext/pb_ds/assoc_container.hpp> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #inc...
20.85
60
0.478657
zwliew
91836f20c8c289f7c687aeecff49e16081a780e1
887
cpp
C++
1_Games/[C++] Tetris/code/hgeFunc.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
10
2018-11-12T19:43:28.000Z
2020-09-09T18:48:30.000Z
1_Games/[C++] Tetris/code/hgeFunc.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
1_Games/[C++] Tetris/code/hgeFunc.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
#include "preCompiled.h" #include "hgeFunc.h" #include "renderFunc.h" #include "inputFunc.h" bool GameFrameFunc() { if (hge->Input_GetKeyState(HGEK_ESCAPE)) { soundMusic->Stop(); return true; } if (GameInput()) { return true; } return false; } bool GameRenderFunc() { hge->Gfx_BeginScene(); RenderGame(...
12.855072
43
0.687711
Team-on
91838d5b1f3250f8f284c174997e5a6547043fe3
794
cpp
C++
UVa 10162 last digit/sample/10162 - Last Digit.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10162 last digit/sample/10162 - Last Digit.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10162 last digit/sample/10162 - Last Digit.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <string.h> long long mpow(long long x, long long y, long long mod) { if(y == 0) return 1; if(y&1) return x*mpow(x*x%mod, y/2, mod)%mod; return mpow(x*x%mod, y/2, mod); } int cycle[101]; void findcycle() { int i, j; for(i = 0; i < 10; i++) { for(j = i*10+1...
23.352941
57
0.425693
tadvi
918616b474bf901786707c3f46298f505a9f13c4
1,270
cpp
C++
src/HardDriveInfo/Win32OperatingSystem.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-11-29T19:06:20.000Z
2020-11-29T19:06:20.000Z
src/HardDriveInfo/Win32OperatingSystem.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-12-12T21:35:45.000Z
2020-12-12T21:35:45.000Z
src/HardDriveInfo/Win32OperatingSystem.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
null
null
null
#include "Header.hpp" int Win32OperatingSystem() { WmiProxy wmiProxy; WmiServer server = wmiProxy.ConnectServer(L"ROOT\\CIMV2"); WmiObjectEnumerator objectEnum = server.Query(L"select * from Win32_OperatingSystem"); while (IWbemClassObject* wbemClassObj = objectEnum.Next()) { WmiClassObject classObj(wbemClassO...
37.352941
87
0.734646
yottaawesome
9186428070d989d125f328ed02f09eb3d5f7dcb3
436
cpp
C++
Code/766_Toeplitz_Matrix.cpp
DCOLIVERSUN/LeetCode
e0ef5ed8a267d81cc794914c3c1f22b013a32871
[ "MIT" ]
1
2019-11-12T08:15:33.000Z
2019-11-12T08:15:33.000Z
Code/766_Toeplitz_Matrix.cpp
DCOLIVERSUN/LeetCode
e0ef5ed8a267d81cc794914c3c1f22b013a32871
[ "MIT" ]
null
null
null
Code/766_Toeplitz_Matrix.cpp
DCOLIVERSUN/LeetCode
e0ef5ed8a267d81cc794914c3c1f22b013a32871
[ "MIT" ]
null
null
null
class Solution { public: bool isToeplitzMatrix(vector<vector<int>>& matrix) { if (matrix.empty() || matrix[0].empty()) return false; for (int i = 0; i < matrix.size(); ++i) { for (int j = 0; j < matrix[0].size(); ++j) { if (i > 0 && j > 0 && matrix[i - 1][j - 1] != matrix...
29.066667
77
0.417431
DCOLIVERSUN
918677d6506b62a3060a161b6839242052060132
572
cc
C++
chrome/browser/storage/appcache_feature_prefs.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/storage/appcache_feature_prefs.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/storage/appcache_feature_prefs.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/storage/appcache_feature_prefs.h" #include "chrome/common/pref_names.h" #include "components/prefs/pref_registry_simple.h" name...
31.777778
73
0.753497
mghgroup
918881110005b3a420df0881b6c52546869c3bbd
537
cpp
C++
RightL.cpp
imor/Quadris
85b119c887b5473a15a1aaaecf4a772e2aff2359
[ "MIT" ]
null
null
null
RightL.cpp
imor/Quadris
85b119c887b5473a15a1aaaecf4a772e2aff2359
[ "MIT" ]
null
null
null
RightL.cpp
imor/Quadris
85b119c887b5473a15a1aaaecf4a772e2aff2359
[ "MIT" ]
null
null
null
#include "RightL.h" using namespace std; RightL::RightL(int originX, int originY, Texture* texture) : Tetramino(originX, originY, 2, texture) { setOrigin(originX, originY); } void RightL::setOrigin(int x, int y) { blockPositions[0].setX(x + texture->getWidth()); blockPositions[0].setY(y - texture->getHeight()); ...
21.48
60
0.705773
imor
9189dea489df2bca4d92dda3fc1578a81f88a6f5
5,716
cpp
C++
tests/client/client.cpp
cthulhu-irl/touca-cpp
97392a1f84c7a92211ee86bcb527637a6c9a5cba
[ "Apache-2.0" ]
12
2021-06-27T01:44:49.000Z
2022-03-11T10:08:34.000Z
sdk/cpp/tests/client/client.cpp
trytouca/trytouca
eae38a96407d1ecac543c5a5fb05cbbe632ddfca
[ "Apache-2.0" ]
8
2021-06-25T13:05:29.000Z
2022-03-26T20:28:14.000Z
sdk/cpp/tests/client/client.cpp
trytouca/trytouca
eae38a96407d1ecac543c5a5fb05cbbe632ddfca
[ "Apache-2.0" ]
4
2021-06-25T11:31:12.000Z
2022-03-16T05:50:52.000Z
// Copyright 2021 Touca, Inc. Subject to Apache-2.0 License. #include "touca/client/detail/client.hpp" #include "catch2/catch.hpp" #include "tests/devkit/tmpfile.hpp" #include "touca/devkit/resultfile.hpp" #include "touca/devkit/utils.hpp" using namespace touca; std::string save_and_read_back(const touca::ClientImp...
36.877419
144
0.635934
cthulhu-irl
918afeef8fa01a15e812d1e95c8ec82f6aafec8f
3,050
cpp
C++
src/Utility/Box.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Utility/Box.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Utility/Box.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <KYEngine/Utility/Box.h> #include <algorithm> Box::Box() { m_values[0] = 0.0f; m_values[1] = 0.0f; m_values[2] = 1.0f; m_values[3] = 1.0f; } Box::Box(const Box& other) { for(int i = 0; i < 4; i++) m_values[i] = other.m_values[i]; } Box::Box(float width, float height) { m_values[0] = 0.0f; m_values...
20.469799
91
0.518689
heltena
925f584ce478fbd81e5cc39f492f724ba713b542
1,393
cpp
C++
tools/builder/tests/units/test_contours.cpp
ostis-ai/sc-machine
f8a30b4555e4ef21f302cbdf35614e77a24c116f
[ "MIT" ]
null
null
null
tools/builder/tests/units/test_contours.cpp
ostis-ai/sc-machine
f8a30b4555e4ef21f302cbdf35614e77a24c116f
[ "MIT" ]
9
2022-03-01T07:33:48.000Z
2022-03-24T17:06:07.000Z
tools/builder/tests/units/test_contours.cpp
ostis-ai/sc-machine
f8a30b4555e4ef21f302cbdf35614e77a24c116f
[ "MIT" ]
7
2022-02-18T13:34:24.000Z
2022-03-25T09:59:42.000Z
#include <gtest/gtest.h> #include "builder_test.hpp" #include "sc-memory/sc_scs_helper.hpp" #include "tests/sc-memory/_test/dummy_file_interface.hpp" TEST_F(ScBuilderTest, contours) { SCsHelper helper(*m_ctx, std::make_shared<DummyFileInterface>()); std::string const scsTempl = "struct1 =" "[*" ...
26.788462
119
0.684135
ostis-ai
9260ab5bc8b6ee92be0a168c054a8a2687c38ba9
5,583
hpp
C++
third_party/boost/simd/arch/common/generic/function/all_reduce.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/common/generic/function/all_reduce.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/common/generic/function/all_reduce.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /** Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) **/ //====================================...
39.595745
100
0.491671
SylvainCorlay
9262bfebc838c82d6139563fb0628222f4d5e53f
952
hpp
C++
engine/include/core/event/providers/glfw.hpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/include/core/event/providers/glfw.hpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/include/core/event/providers/glfw.hpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
#ifndef __GLFW_EVENT_PROVIDER_HPP__ #define __GLFW_EVENT_PROVIDER_HPP__ #ifndef GLEW_STATIC #define GLEW_STATIC #endif #include <memory> #include <GL/glew.h> #include <GLFW/glfw3.h> #include "core/event/provider.hpp" #include "core/event/observer.hpp" #include "tools/logger.hpp" using namespace Tool::Logger; nam...
24.410256
86
0.667017
dorosch
92639205dd8eac2e5abe556a50a3eff5296c232f
6,743
cpp
C++
KDBMS/Table.cpp
karbovskiydmitriy/KDBMS
573ba629dc88f79b8c85127f42eb2b5806178d07
[ "MIT" ]
null
null
null
KDBMS/Table.cpp
karbovskiydmitriy/KDBMS
573ba629dc88f79b8c85127f42eb2b5806178d07
[ "MIT" ]
null
null
null
KDBMS/Table.cpp
karbovskiydmitriy/KDBMS
573ba629dc88f79b8c85127f42eb2b5806178d07
[ "MIT" ]
null
null
null
#include "Table.hpp" Table::Table(String name, vector<TableColumn> *columns) { this->name = name; this->columns = columns; } Response Table::Insert(TableRow *row) { if (row != nullptr) { if (row->fields.size() == this->columns->size()) { this->rows.push_back(row); return Response(ErrorCode::OK); } ...
20.128358
85
0.659202
karbovskiydmitriy
9264407db64f1b3f18f0e34006af1ae05dc7fc61
13,533
cpp
C++
lib/stages/visRawReader.cpp
james-s-willis/kotekan
155e874bb039702cec72c1785362a017548aa00a
[ "MIT" ]
null
null
null
lib/stages/visRawReader.cpp
james-s-willis/kotekan
155e874bb039702cec72c1785362a017548aa00a
[ "MIT" ]
null
null
null
lib/stages/visRawReader.cpp
james-s-willis/kotekan
155e874bb039702cec72c1785362a017548aa00a
[ "MIT" ]
null
null
null
#include "visRawReader.hpp" #include "StageFactory.hpp" #include "datasetState.hpp" #include "errors.h" #include "metadata.h" #include "version.h" #include "visBuffer.hpp" #include "visUtil.hpp" #include "fmt.hpp" #include "gsl-lite.hpp" #include "json.hpp" #include <algorithm> #include <atomic> #include <cstdint> #...
40.517964
100
0.598167
james-s-willis
9265d78d773141c87ee53a31fa84206aa2c43596
691
cpp
C++
atcoder/abc/abc160/d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc160/d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc160/d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; using pll = pair<ll, ll>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,...
18.184211
58
0.442836
yu3mars
92665ce36db6b634ce075c8c1fbefa63428da6cd
5,619
cpp
C++
src/tools/download.cpp
alexandria-org/alexandria
ca0c890fea3ba931ad849ded95d6187838718a4c
[ "MIT" ]
113
2022-02-12T00:07:52.000Z
2022-03-28T08:02:39.000Z
src/tools/download.cpp
alexandria-org/alexandria
ca0c890fea3ba931ad849ded95d6187838718a4c
[ "MIT" ]
8
2021-09-26T07:52:47.000Z
2022-03-28T06:56:02.000Z
src/tools/download.cpp
alexandria-org/alexandria
ca0c890fea3ba931ad849ded95d6187838718a4c
[ "MIT" ]
5
2022-03-18T22:20:50.000Z
2022-03-25T15:41:06.000Z
/* * MIT License * * Alexandria.org * * Copyright (c) 2021 Josef Cullhed, <info@alexandria.org>, et al. * * 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, includi...
31.216667
144
0.706531
alexandria-org
926861ad88d7db25eab56ca1d0a06a75875b4bde
1,208
cpp
C++
source/Vertex.cpp
nicovanbentum/Scatter
72fc7386767d8c058c55fbe15055ea9397d018e1
[ "MIT" ]
null
null
null
source/Vertex.cpp
nicovanbentum/Scatter
72fc7386767d8c058c55fbe15055ea9397d018e1
[ "MIT" ]
null
null
null
source/Vertex.cpp
nicovanbentum/Scatter
72fc7386767d8c058c55fbe15055ea9397d018e1
[ "MIT" ]
null
null
null
#include "pch.h" #include "Vertex.h" namespace scatter { VkVertexInputBindingDescription Vertex::getBindingDescription() { VkVertexInputBindingDescription bindingDescription{}; bindingDescription.binding = 0; bindingDescription.stride = sizeof(Vertex); bindingDescription.inputRate = VK_VERTEX_INPUT_RA...
35.529412
85
0.768212
nicovanbentum
92689b10d3ff9b104ba3bd3674e40b0e241afca0
677
cpp
C++
src/expressions/data/tuple.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
2
2021-01-14T11:19:02.000Z
2021-03-07T03:08:08.000Z
src/expressions/data/tuple.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
src/expressions/data/tuple.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
#include <string> #include <typeinfo> #include "utils.hpp" #include "expressions.hpp" using namespace std; using namespace expr; using namespace interp; Parent* Tuple::parent; int Tuple::size() { return values.size(); } Object* Tuple::operator[](int i) { return values[i]; } void Tuple::mark_node() { if (ma...
16.512195
59
0.60709
rationalis-petra
92692c9d8c5f392980f8924a8e025eb6f1fea978
2,903
cc
C++
src/quantsystem/engine/real_time/backtesting_real_time_handler.cc
ydxt25/QuantSystem
b4298121ce8fbe13d8fe7fcaf502565736df9bfe
[ "Apache-2.0" ]
49
2016-11-03T20:51:45.000Z
2022-03-30T22:34:25.000Z
src/quantsystem/engine/real_time/backtesting_real_time_handler.cc
seepls/QuantSystem
b4298121ce8fbe13d8fe7fcaf502565736df9bfe
[ "Apache-2.0" ]
null
null
null
src/quantsystem/engine/real_time/backtesting_real_time_handler.cc
seepls/QuantSystem
b4298121ce8fbe13d8fe7fcaf502565736df9bfe
[ "Apache-2.0" ]
33
2016-07-17T05:19:59.000Z
2022-03-07T17:45:57.000Z
/* * \copyright Copyright 2015 All Rights Reserved. * \license @{ * * 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...
27.647619
75
0.715122
ydxt25
926e2857a2c0ccf45687d2691699f2bec4ea0bd4
552
cpp
C++
src/srbpy/alignment/Straight.cpp
billhu0228/SmartRoadBridgePy
4a5d34028a2612aef846b580733bf6f488110798
[ "MIT" ]
2
2020-08-05T10:46:45.000Z
2020-08-11T11:05:18.000Z
src/srbpy/alignment/Straight.cpp
billhu0228/SmartRoadBridgePy
4a5d34028a2612aef846b580733bf6f488110798
[ "MIT" ]
null
null
null
src/srbpy/alignment/Straight.cpp
billhu0228/SmartRoadBridgePy
4a5d34028a2612aef846b580733bf6f488110798
[ "MIT" ]
1
2020-08-26T07:50:22.000Z
2020-08-26T07:50:22.000Z
#include "Straight.h" Straight::Straight(void) { __length = 0; } Straight::Straight(double length, Vector& st, Angle& sdir, EITypeID idd, LeftRightEnum lr) :PQXElement(idd, st, sdir, lr) { __length = length; } Vector Straight::get_point_on_curve(double l_from_st) const { double x = l_from_st; double y = 0; Ve...
14.526316
90
0.690217
billhu0228
926fe89208ba245ac81ac70a74c0fbc531ce3f36
788
cpp
C++
Src/F_Interfaces/Base/AMReX_distromap_fi.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
8
2020-01-21T11:12:38.000Z
2022-02-12T12:35:45.000Z
Src/F_Interfaces/Base/AMReX_distromap_fi.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/F_Interfaces/Base/AMReX_distromap_fi.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
2
2020-11-27T03:07:52.000Z
2021-03-01T16:40:31.000Z
#include <AMReX_DistributionMapping.H> #include <AMReX_Print.H> using namespace amrex; extern "C" { void amrex_fi_new_distromap (DistributionMapping*& dm, const BoxArray* ba) { dm = new DistributionMapping(*ba); } void amrex_fi_new_distromap_from_pmap (DistributionMapping*& dm, const int* pmap, co...
21.888889
101
0.689086
ylunalin
927440be6f04684c7b946e541a7b8bbfcde17b68
1,324
cpp
C++
aws-cpp-sdk-appsync/source/model/ListResolversByFunctionResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-appsync/source/model/ListResolversByFunctionResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-appsync/source/model/ListResolversByFunctionResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appsync/model/ListResolversByFunctionResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #inclu...
26.48
126
0.762085
Neusoft-Technology-Solutions
9278926880230c5261d56d0cff9cab775bf91239
6,138
cc
C++
zircon/tools/kernel-buildsig/kernel-buildsig.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
zircon/tools/kernel-buildsig/kernel-buildsig.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
zircon/tools/kernel-buildsig/kernel-buildsig.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <errno.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <string> namespace { #define BUILDSIG_START_MAGIC UINT64_C(0x5452...
26.230769
98
0.627566
opensource-assist
9278a1a2fd2b860fbc3199bacee4b986be681274
3,774
cpp
C++
Testing/Interaction/mafRefSysTest.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
Testing/Interaction/mafRefSysTest.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
Testing/Interaction/mafRefSysTest.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafRefSysTest Authors: Stefano Perticoni Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without ...
23.440994
78
0.685215
FusionBox2
9278f72097cce6b4a6663e1e031f062163dfde3b
1,017
cpp
C++
question_solution/first_time/1057.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
1
2020-09-24T13:35:45.000Z
2020-09-24T13:35:45.000Z
question_solution/first_time/1057.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
null
null
null
question_solution/first_time/1057.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
null
null
null
// author: Lan_zhijiang // description: 含价值的填满型背包1 // 二维数组版 // 背包问题就是要你作出在限制条件下的最佳组合选择 // 解决背包问题最朴素的方法就是列出所有可能性 // 但根据题目条件的不同,都有不同的优化 // 我们还要特别注意节省内存,将自己的算法进行简化,找出多余的部分(比如将二维数组转为一维数组来使用) // 要检查草稿有没有错误,按着你写的代码再来自己执行一遍,不要弄错了 #include <cstdio> #include <cstring> #include <algorithm> // 背包问题要用的max using namespace std; //...
20.34
70
0.485742
xiaoland
927dbb2399b605df98f94cee47e40d5d50c710a6
4,397
cpp
C++
src/engine/subsystems/physics/bullet/bullet_physics_body.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
src/engine/subsystems/physics/bullet/bullet_physics_body.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
src/engine/subsystems/physics/bullet/bullet_physics_body.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
#include "engine/subsystems/physics/bullet/bullet_physics_body.h" #include "engine/subsystems/physics/bullet/bullet_physics_world.h" #include "engine/subsystems/physics/bullet/bullet_collision_shape.h" BulletPhysicsBody::BulletPhysicsBody(BulletPhysicsWorld* world, const std::shared_ptr<BulletCollisionShape>& shape, c...
33.06015
177
0.784398
ukrainskiysergey
927e4912bd148eb2a29739e99023714dfb67cf1c
4,004
cpp
C++
ARK2D/src/ARK2D/Tests/TransitionTest.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
6
2015-08-25T19:16:20.000Z
2021-04-19T16:47:58.000Z
ARK2D/src/ARK2D/Tests/TransitionTest.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2015-09-17T14:03:12.000Z
2015-09-17T14:03:12.000Z
ARK2D/src/ARK2D/Tests/TransitionTest.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2018-10-02T19:59:47.000Z
2018-10-02T19:59:47.000Z
/* * TransitionTest.cpp * * Created on: Mar 23, 2012 * Author: ashleygwinnell */ #include "TransitionTest.h" //#include "../../ARK.h" #include "../State/Transition/SlideRectanglesAcrossTransition.h" #include "../State/Transition/TranslateOutInTransition.h" #include "../State/Transition/FadeToColourTransitio...
32.032
129
0.724775
ashleygwinnell
927ee1dd68f0d5636217928373823f6fb4c03469
2,762
cpp
C++
Core/JPetTreeHeader/JPetTreeHeaderTest.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
Core/JPetTreeHeader/JPetTreeHeaderTest.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
Core/JPetTreeHeader/JPetTreeHeaderTest.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE JPetTreeHeaderTest #include <boost/test/unit_test.hpp> #include <boost/filesystem.hpp> #include "./JPetTreeHeader/JPetTreeHeader.h" BOOST_AUTO_TEST_SUITE(JPetTreeHeaderSuite) BOOST_AUTO_TEST_CASE(emptyHeader){ JPetTreeHeader treeHeader; BOOST_REQUIRE_EQUAL(tree...
43.15625
136
0.828747
Alvarness
92819c144d2f05f814acab0151720fdb297a3f01
18,098
cpp
C++
source/common/engine/stringtable.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2022-03-30T15:53:09.000Z
2022-03-30T15:53:09.000Z
source/common/engine/stringtable.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
source/common/engine/stringtable.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
/* ** stringtable.cpp ** Implements the FStringTable class ** **--------------------------------------------------------------------------- ** Copyright 1998-2006 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the ...
26.191027
140
0.539728
Quake-Backup
9281b390d33a9df2bf6e8d2293f428d2cca5bf8d
20,444
cpp
C++
trackbar.cpp
reupen/ui_helpers
7db30d91f58116ece51e2cdaf83c4e2be819609e
[ "BSD-3-Clause" ]
2
2016-04-12T13:45:36.000Z
2021-11-30T17:17:02.000Z
trackbar.cpp
reupen/ui_helpers
7db30d91f58116ece51e2cdaf83c4e2be819609e
[ "BSD-3-Clause" ]
1
2019-07-12T23:39:30.000Z
2019-07-13T08:56:52.000Z
trackbar.cpp
reupen/ui_helpers
7db30d91f58116ece51e2cdaf83c4e2be819609e
[ "BSD-3-Clause" ]
5
2016-04-12T13:45:38.000Z
2019-07-12T23:37:01.000Z
#include "stdafx.h" /** * \file trackbar.cpp * trackbar custom control * Copyright (C) 2005 * \author musicmusic */ namespace uih { BOOL TrackbarBase::create_tooltip(const TCHAR* text, POINT pt) { destroy_tooltip(); DLLVERSIONINFO2 dvi; bool b_comctl_6 = SUCCEEDED(uih::get_comctl32_version(dvi)) &&...
30.377415
120
0.589513
reupen
928294383946e7e2df7d4757bcc7c02cc26b1caf
3,323
cpp
C++
src/dropbox/sharing/SharingMountFolderError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/sharing/SharingMountFolderError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/sharing/SharingMountFolderError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "sharing" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/sharing/SharingMountFold...
29.669643
99
0.616611
slashdotted
9286be102837112c957c8b89fb5642cf1d8e72e7
3,631
h++
C++
css/grammar/position.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
19
2016-10-13T22:44:31.000Z
2021-12-28T20:28:15.000Z
css/grammar/position.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
1
2021-05-16T15:15:22.000Z
2021-05-16T17:01:26.000Z
css/grammar/position.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
4
2017-03-07T05:37:02.000Z
2018-06-05T03:14:48.000Z
/** * The MIT License (MIT) * * Copyright © 2019 Ruben Van Boxem * * 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 us...
41.261364
119
0.645001
rubenvb
9287a02a7a544d3aaeafe4518ec15a307887a178
6,347
cpp
C++
app/parse_kml.cpp
JaviBonilla/SolarPILOT
c535313484018597e8029202e764ec8e834839a5
[ "MIT" ]
26
2018-03-21T17:26:44.000Z
2022-02-07T05:55:47.000Z
app/parse_kml.cpp
JaviBonilla/SolarPILOT
c535313484018597e8029202e764ec8e834839a5
[ "MIT" ]
38
2018-03-09T17:54:49.000Z
2022-01-28T16:28:29.000Z
app/parse_kml.cpp
JaviBonilla/SolarPILOT
c535313484018597e8029202e764ec8e834839a5
[ "MIT" ]
11
2018-03-17T09:36:51.000Z
2022-02-02T10:13:47.000Z
/******************************************************************************************************* * Copyright 2018 Alliance for Sustainable Energy, LLC * * NOTICE: This software was developed at least in part by Alliance for Sustainable Energy, LLC * ("Alliance") under Contract No. DE-AC36-08GO28308 with the...
46.328467
110
0.676067
JaviBonilla
92881cb14b49dc3defa4400678c987491d0cbee3
714
cpp
C++
lucas/tep/2019-1/Contest4/f.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
2
2019-09-09T00:34:40.000Z
2019-09-09T17:35:19.000Z
lucas/tep/2019-1/Contest4/f.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
null
null
null
lucas/tep/2019-1/Contest4/f.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const double PI = acos(-1.0); const double oo = 100000000; int main(){ int N; double max=-oo, min=oo, area; pair<double, double> p, pontos; cin >> N >> p.first >> p.second; while(N--){ cin >> pontos.first >> pontos.second; if(hypot...
21
74
0.556022
medeiroslucas
928946ea867daf7caf6944d0c51edfee2527dd3b
1,712
cpp
C++
Tries/Tries_Creation.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Tries/Tries_Creation.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Tries/Tries_Creation.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
#include<iostream> #include<cstring> #include<cstdio> using namespace std; //trie structure struct TrieNode { struct TrieNode* child[26]; bool is_str_end; }; //to create a trieNode type node struct TrieNode* createNode() { struct TrieNode *t=new struct TrieNode; if(t) { t->is_str_end=false; for (int...
19.906977
81
0.595794
susantabiswas
928a1b8acf955a585769bd23c02264da1badaafa
11,662
cpp
C++
redgpu_memory_allocator_functions.cpp
procedural/redgpu_memory_allocator_dma
4eedd04b9983cde624e91dd1ec4294ac2de73697
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
redgpu_memory_allocator_functions.cpp
procedural/redgpu_memory_allocator_dma
4eedd04b9983cde624e91dd1ec4294ac2de73697
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
redgpu_memory_allocator_functions.cpp
procedural/redgpu_memory_allocator_dma
4eedd04b9983cde624e91dd1ec4294ac2de73697
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "redgpu_memory_allocator_functions.h" REDGPU_DECLSPEC void REDGPU_API rmaDmaVkGetPhysicalDeviceProperties2(RedContext context, unsigned gpuIndex, VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2 * pProperties) { // NOTE(Constantine): Hardcoded for memorymanagement_vk.cpp:292 VkPhysicalDeviceMa...
66.261364
518
0.799005
procedural
928af9ec5d4404c56d6ddffcaa048fc46f6a94ab
1,347
cpp
C++
src/server/db/db.cpp
ETinyfish/TEST
255014beb178878d8b0a466e0fd61fc26c1d8445
[ "MIT" ]
null
null
null
src/server/db/db.cpp
ETinyfish/TEST
255014beb178878d8b0a466e0fd61fc26c1d8445
[ "MIT" ]
null
null
null
src/server/db/db.cpp
ETinyfish/TEST
255014beb178878d8b0a466e0fd61fc26c1d8445
[ "MIT" ]
1
2021-06-30T05:55:32.000Z
2021-06-30T05:55:32.000Z
#include "db.h" #include <muduo/base/Logging.h> // 数据库配置信息 static string server = "127.0.0.1"; static string user = "root"; static string password = "123"; static string dbname = "chat_server"; // 初始化数据库连接 MySQL::MySQL() { _conn = mysql_init(nullptr); } // 释放数据库连接资源 MySQL::~MySQL() { if (_conn != nullptr) ...
18.708333
86
0.550854
ETinyfish
928de761324af0f5ae218a0f5341e48bb0b33a4f
2,131
cc
C++
ash/sysui/context_menu_mus.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
ash/sysui/context_menu_mus.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2016-07-11T15:19:20.000Z
2017-04-02T20:38:55.000Z
ash/sysui/context_menu_mus.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/sysui/context_menu_mus.h" #include "ash/common/shelf/shelf_types.h" #include "ash/common/shelf/wm_shelf.h" #include "ash/desktop_background...
34.934426
80
0.705303
Wzzzx
928e626c06d50a9f27688bf16d0ef3c097dd3c35
3,912
hpp
C++
src/dtl/bitmap/util/buffer.hpp
harald-lang/tree-encoded-bitmaps
a4ab056f2cefa7843b27c736833b08977b56649c
[ "Apache-2.0" ]
29
2020-06-18T12:51:42.000Z
2022-02-22T07:38:24.000Z
src/dtl/bitmap/util/buffer.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
null
null
null
src/dtl/bitmap/util/buffer.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
2
2021-04-07T13:43:34.000Z
2021-06-09T04:49:39.000Z
#pragma once //===----------------------------------------------------------------------===// #include <dtl/dtl.hpp> #include <cassert> #include <cstddef> #include <cstdint> #include <cstring> #include <memory> #include <type_traits> //===----------------------------------------------------------------------===// name...
28.764706
83
0.615798
harald-lang
928f19d3da027bd21bfeaa4efcc8f7acc0190ac1
4,032
cc
C++
cmd/pyxisd/main.cc
eLong-INF/pyxis
304820eb72bd62d3c211c3423f62dc87b535bb3c
[ "BSD-3-Clause" ]
9
2016-07-21T01:45:17.000Z
2016-08-26T03:20:25.000Z
cmd/pyxisd/main.cc
eLong-opensource/pyxis
304820eb72bd62d3c211c3423f62dc87b535bb3c
[ "BSD-3-Clause" ]
null
null
null
cmd/pyxisd/main.cc
eLong-opensource/pyxis
304820eb72bd62d3c211c3423f62dc87b535bb3c
[ "BSD-3-Clause" ]
null
null
null
#include <pyxis/server/server.h> #include <pyxis/rpc/server.h> #include <pyxis/server/fake_raft.h> #include <sofa/pbrpc/pbrpc.h> #include <gflags/gflags.h> #include <glog/logging.h> #include <muduo/net/EventLoop.h> #include <muduo/net/EventLoopThread.h> #include <muduo/net/inspect/Inspector.h> #include <raft/core/tran...
36
95
0.728423
eLong-INF
9293c46352416bbd95d09069fc83fffa2697e1e4
1,756
cpp
C++
tests/unit/resource_manager_tests.cpp
aaroncblack/Umpire
5089a55aeed8b269112125e917f08b10e1797ae5
[ "MIT" ]
null
null
null
tests/unit/resource_manager_tests.cpp
aaroncblack/Umpire
5089a55aeed8b269112125e917f08b10e1797ae5
[ "MIT" ]
null
null
null
tests/unit/resource_manager_tests.cpp
aaroncblack/Umpire
5089a55aeed8b269112125e917f08b10e1797ae5
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018-2019, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This fil...
24.054795
84
0.642369
aaroncblack
92944939250c28298b5f6815e0ada8e39adcf980
8,198
hh
C++
Project/headers/HelperFunctions.hh
anshuman1811/cs687-reinforcementlearning
cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481
[ "MIT" ]
null
null
null
Project/headers/HelperFunctions.hh
anshuman1811/cs687-reinforcementlearning
cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481
[ "MIT" ]
null
null
null
Project/headers/HelperFunctions.hh
anshuman1811/cs687-reinforcementlearning
cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481
[ "MIT" ]
null
null
null
#pragma once #include <iostream> // For console i/o #include <vector> // For vectors, not including linear algebra #include <random> // For random number generation #include <algorithm> // For min/max functions // Additional libraries that you will have to download. // First is Eigen, which we use for line...
58.978417
372
0.633081
anshuman1811
92948fe246d6d0321a44e0e212486c4687854044
3,119
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/outputpage.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/outputpage.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/outputpage.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid co...
31.826531
79
0.673934
GrinCash
92957e83fd0e8838a7f92589057c12265ed6de25
35,911
cpp
C++
src/ttauri/tokenizer.cpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/tokenizer.cpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/tokenizer.cpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2019-2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #include "tokenizer.hpp" namespace tt { enum class tokenizer_state_t: uint8_t { Initial, Name, MinusOrPlus, ...
34.266221
147
0.621147
prollings
92973dda4203cd24ca131457c4d824ecb2cbf27f
453
cpp
C++
window-move-1.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
window-move-1.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
window-move-1.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
#include <ncurses.h> #define TSIZE 18 int main() { WINDOW *b; int maxx, maxy, y, x; initscr(); bkgd('.'); refresh(); getmaxyx(stdscr, maxy, maxx); x = (maxx-TSIZE) >> 1; b = newwin(1, TSIZE, 0, x); waddstr(b, "I'm getting sick!"); for(y=0; y < maxy; y++){ mvwin(b, y...
15.1
36
0.470199
ADITYA-CS
929b034d7a728376039d65f9d0e175ff419fa453
3,037
cpp
C++
tools/Database/src/DataRecordFileV2.cpp
yaoyuan0553/PatentTagging
8f086588e48e3ece24079bd32596b67cd6e37a94
[ "MIT" ]
2
2019-08-13T12:31:08.000Z
2019-08-27T20:33:16.000Z
tools/Database/src/DataRecordFileV2.cpp
yaoyuan0553/PatentTagging
8f086588e48e3ece24079bd32596b67cd6e37a94
[ "MIT" ]
null
null
null
tools/Database/src/DataRecordFileV2.cpp
yaoyuan0553/PatentTagging
8f086588e48e3ece24079bd32596b67cd6e37a94
[ "MIT" ]
1
2019-09-10T02:18:00.000Z
2019-09-10T02:18:00.000Z
// // Created by yuan on 9/2/19. // #include "DataRecordFileV2.h" using namespace std; DataRecordFileV2::DataRecordFileV2(uint64_t sizeToAllocate) : buf_((char*)checkMalloc(max(sizeToAllocate, FILE_HEAD_SIZE))), capacity_(max(sizeToAllocate, FILE_HEAD_SIZE)) { numBytes() = FILE_HEAD_SIZE; num...
25.308333
102
0.643727
yaoyuan0553
929c9124c54184211afececa21d22ef6b9b03edc
8,663
cpp
C++
tests/unit/src/common/stream_channel.cpp
WeiDaiWD/APSI
b799d7a21d69867c07e91a3fd610f13e17cf91f5
[ "MIT" ]
72
2021-05-04T11:25:58.000Z
2022-03-31T07:32:57.000Z
tests/unit/src/common/stream_channel.cpp
WeiDaiWD/APSI
b799d7a21d69867c07e91a3fd610f13e17cf91f5
[ "MIT" ]
16
2021-05-06T07:58:34.000Z
2022-03-28T22:54:51.000Z
tests/unit/src/common/stream_channel.cpp
WeiDaiWD/APSI
b799d7a21d69867c07e91a3fd610f13e17cf91f5
[ "MIT" ]
13
2021-05-04T06:44:40.000Z
2022-03-16T03:12:54.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // STD #include <string> #include <thread> #include <utility> // SEAL #include "seal/keygenerator.h" #include "seal/publickey.h" // APSI #include "apsi/network/stream_channel.h" #include "apsi/powers.h" #include "apsi/uti...
34.791165
97
0.62184
WeiDaiWD
92a19ff157a16ed176e06a96c8483de43e7e9d8c
944
cpp
C++
QuickGUI/src/QuickGUIOgreEquivalents.cpp
VisualEntertainmentAndTechnologies/VENT-QuickGUI
7c687193001bcf914bd4a9947644915091ea8723
[ "Unlicense" ]
3
2017-01-12T19:22:01.000Z
2017-05-06T09:55:39.000Z
QuickGUI/src/QuickGUIOgreEquivalents.cpp
VisualEntertainmentAndTechnologies/VENT-QuickGUI
7c687193001bcf914bd4a9947644915091ea8723
[ "Unlicense" ]
null
null
null
QuickGUI/src/QuickGUIOgreEquivalents.cpp
VisualEntertainmentAndTechnologies/VENT-QuickGUI
7c687193001bcf914bd4a9947644915091ea8723
[ "Unlicense" ]
null
null
null
#include "QuickGUIOgreEquivalents.h" namespace QuickGUI { const Vector2 Vector2::ZERO( 0, 0 ); const Vector3 Vector3::ZERO( 0, 0, 0 ); bool ColourValue::operator==(const ColourValue& rhs) const { return (r == rhs.r && g == rhs.g && b == rhs.b && a == rh...
32.551724
76
0.555085
VisualEntertainmentAndTechnologies
92a418fadf9b8d9424d20df7b0066158eedf5d88
11,026
hpp
C++
common/cxx/config_cxx/include/config_cxx/yaml_wrapper.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
common/cxx/config_cxx/include/config_cxx/yaml_wrapper.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
common/cxx/config_cxx/include/config_cxx/yaml_wrapper.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
#include <memory> #include <string> #include <variant> #include <vector> #include "adstutil_cxx/compiler_diagnostics.hpp" ADST_DISABLE_CLANG_WARNING("unused-parameter") #include <adstutil_cxx/static_string.hpp> ADST_RESTORE_CLANG_WARNING() #include "adstutil_cxx/error_handler.hpp" struct yaml_parser_s; using yaml_pa...
34.782334
120
0.605024
csitarichie
92a53706f39c6deaa856a91f2610f5040a94c679
941
cc
C++
third_party/webrtc/src/chromium/src/mojo/converters/transform/transform_type_converters.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/chromium/src/mojo/converters/transform/transform_type_converters.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/chromium/src/mojo/converters/transform/transform_type_converters.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/converters/transform/transform_type_converters.h" namespace mojo { // static TransformPtr TypeConverter<TransformPtr, gfx::Transform>::Co...
29.40625
73
0.730074
bopopescu
92a5c7f2a916af5dad02a0129e148cf91381964f
21,312
cpp
C++
src/S2LP.cpp
cparata/S2-LP
620eb9026749425bd8bf8cd8929711aae8f831fd
[ "BSD-3-Clause" ]
4
2020-06-10T00:10:36.000Z
2021-07-04T16:12:41.000Z
src/S2LP.cpp
cparata/S2-LP
620eb9026749425bd8bf8cd8929711aae8f831fd
[ "BSD-3-Clause" ]
3
2021-04-16T15:50:28.000Z
2021-09-15T14:59:51.000Z
src/S2LP.cpp
cparata/S2-LP
620eb9026749425bd8bf8cd8929711aae8f831fd
[ "BSD-3-Clause" ]
5
2020-03-25T09:39:02.000Z
2022-03-09T18:48:10.000Z
/** ****************************************************************************** * @file S2LP.cpp * @author SRA * @version V1.0.0 * @date March 2020 * @brief Implementation of a S2-LP sub-1GHz transceiver. ****************************************************************************** * @attention * ...
25.801453
457
0.680133
cparata
92ab368c5a42a6994494b3535c97511d109ad44e
8,755
cc
C++
src/CCA/Components/Wasatch/Coal/CharOxidation/FirstOrderArrhenius/FirstOrderInterface.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
3
2020-06-10T08:21:31.000Z
2020-06-23T18:33:16.000Z
src/CCA/Components/Wasatch/Coal/CharOxidation/FirstOrderArrhenius/FirstOrderInterface.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/Wasatch/Coal/CharOxidation/FirstOrderArrhenius/FirstOrderInterface.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
2
2019-12-30T05:48:30.000Z
2020-02-12T16:24:16.000Z
#include "FirstOrderInterface.h" #include <stdexcept> #include <sstream> #include <CCA/Components/Wasatch/TimeStepper.h> #include <CCA/Components/Wasatch/Coal/CharOxidation/LangmuirHinshelwood/CharOxidation.h> #include <CCA/Components/Wasatch/Coal/CharOxidation/CO2andCO_RHS.h> #include <CCA/Components/Wasatch/Coal/Ch...
41.29717
147
0.573158
abagusetty
92adc71f2c9fac6874e4cedb1a4e66e8cad98c97
5,094
cc
C++
media/audio/win/audio_device_listener_win_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/audio/win/audio_device_listener_win_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
media/audio/win/audio_device_listener_win_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/audio/win/audio_device_listener_win.h" #include <memory> #include <string> #include "base/bind.h" #include "base/callback_helpers.h"...
36.647482
80
0.76384
zealoussnow
92ae06733548a7f8dd9a19cf96c8f449bd64a0c3
35,275
cpp
C++
Parser/src/parser.cpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
43
2018-11-17T02:08:09.000Z
2022-03-03T14:50:02.000Z
Parser/src/parser.cpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
2
2019-08-07T03:16:51.000Z
2021-05-17T03:05:08.000Z
Parser/src/parser.cpp
nuua-io/Nuua
d74bec22d09d25f2bc0ced8d7c9a154ff84a874d
[ "MIT" ]
3
2019-01-07T18:43:35.000Z
2021-07-21T12:12:23.000Z
/** * |-------------| * | Nuua Parser | * |-------------| * * Copyright 2019 Erik Campobadal <soc@erik.cat> * https://nuua.io */ #include "../include/parser.hpp" #include "../../Lexer/include/lexer.hpp" #include "../../Logger/include/logger.hpp" #include <filesystem> #include <algorithm> #define CURRENT() (*(th...
36.744792
152
0.619731
nuua-io
92aed95a9b30612cc232672044221fd85a6aafac
507
cpp
C++
ITP1/q31.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP1/q31.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP1/q31.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
// ITP1_9_C #include <iostream> #include <string> using namespace std; int main() { string taro; string hanako; int n; int pointH = 0; int pointT = 0; cin >> n; for (int i = 0; i < n; i++) { cin >> taro >> hanako; if (taro > hanako) { pointT += 3; } else if (taro < hanako) { po...
14.485714
42
0.506903
felixny
92aefa42e0b83866da1087676db09d5e1193f50d
3,598
cc
C++
system_manager.cc
rockchip-linux/LibIPCProtocol
6fe4cb96c761253f4002db1f3be71b24dc946cd2
[ "BSD-3-Clause" ]
1
2021-06-28T00:25:02.000Z
2021-06-28T00:25:02.000Z
system_manager.cc
rockchip-linux/LibIPCProtocol
6fe4cb96c761253f4002db1f3be71b24dc946cd2
[ "BSD-3-Clause" ]
null
null
null
system_manager.cc
rockchip-linux/LibIPCProtocol
6fe4cb96c761253f4002db1f3be71b24dc946cd2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <assert.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string> #include <unistd.h> #include <glib.h> #inc...
26.455882
144
0.708727
rockchip-linux
92afb8f5a6bb59ea6ce6450390bd7c9ec35b7188
760
cpp
C++
test/test_mex.cpp
torfinnberset/mex-it
d4ce2a14231d05191d309d2e6951a0defc8254d3
[ "MIT" ]
31
2015-01-26T16:57:47.000Z
2022-03-14T07:58:02.000Z
test/test_mex.cpp
torfinnberset/mex-it
d4ce2a14231d05191d309d2e6951a0defc8254d3
[ "MIT" ]
4
2015-04-03T09:03:37.000Z
2019-11-10T23:37:32.000Z
test/test_mex.cpp
torfinnberset/mex-it
d4ce2a14231d05191d309d2e6951a0defc8254d3
[ "MIT" ]
10
2015-09-20T07:40:07.000Z
2022-03-11T09:53:33.000Z
#include "mex_function.h" #include "mex-it.h" #include <iostream> using namespace mex_binding; using namespace std; int main() { int nrhs = 3; int nlhs = 1; double x=3.0; double y=4.0; double z=5.0; mxArray *in1 = mxCreateDoubleScalar(x); mxArray *in2 = mxCreateDoubleScalar(y); mxArray *in3 = mxCreateDoubl...
18.095238
116
0.635526
torfinnberset
92b14af0a634c5f42bc749b1dbd63e44c84b052c
871
cpp
C++
poprithms/tests/tests/memory/alias/tensor/color_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
24
2020-07-06T17:11:30.000Z
2022-01-01T07:39:12.000Z
poprithms/tests/tests/memory/alias/tensor/color_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
null
null
null
poprithms/tests/tests/memory/alias/tensor/color_0.cpp
graphcore/poprithms
9975a6a343891e3c5f8968a9507261c1185029ed
[ "MIT" ]
2
2020-07-15T12:33:22.000Z
2021-07-27T06:07:16.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include <algorithm> #include <iostream> #include <poprithms/error/error.hpp> #include <poprithms/memory/alias/graph.hpp> namespace { using namespace poprithms::memory::alias; using namespace poprithms::memory::nest; void test0() { Graph g; auto alloc ...
23.540541
71
0.657865
graphcore