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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
f9567c21e5efba5d8f92be3281a01b12c87beb69
485
cpp
C++
src/tema fisa for/ex 4 e/main.cpp
andrew-miroiu/Cpp-projects
d0917a7f78aef929c25dc9b019e910951c2050ac
[ "MIT" ]
2
2021-11-27T18:29:32.000Z
2021-11-28T14:35:47.000Z
src/tema fisa for/ex 4 e/main.cpp
andrew-miroiu/Cpp-projects
d0917a7f78aef929c25dc9b019e910951c2050ac
[ "MIT" ]
null
null
null
src/tema fisa for/ex 4 e/main.cpp
andrew-miroiu/Cpp-projects
d0917a7f78aef929c25dc9b019e910951c2050ac
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a,b,x,i=0,cx; cout<<"a= "; cin>>a; cout<<"b= "; cin>>b; x=a; cx=x; for(x; x<=b; x++) { cx=x; while(cx!=0) { if(cx%10==0) { i=i+1; cx=0; ...
13.472222
52
0.31134
f959521c5cbd6c7f161c30141344a94c747dfb63
10,586
cpp
C++
src/particle_filter.cpp
abcd-source/CarND-Kidnapped-Vehicle-Project
2be015fba090fba589a86939e31d423ca17e7e65
[ "MIT" ]
null
null
null
src/particle_filter.cpp
abcd-source/CarND-Kidnapped-Vehicle-Project
2be015fba090fba589a86939e31d423ca17e7e65
[ "MIT" ]
null
null
null
src/particle_filter.cpp
abcd-source/CarND-Kidnapped-Vehicle-Project
2be015fba090fba589a86939e31d423ca17e7e65
[ "MIT" ]
null
null
null
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include "helper_functions.h" using std::string;...
36.378007
91
0.623748
f959c903e7d50b358684b12ef918d3179555705b
4,509
cpp
C++
unit_tests/main.cpp
obhi-d/hfn
692203a25a13214ba8a0e2feddb8d6e78275c860
[ "MIT" ]
null
null
null
unit_tests/main.cpp
obhi-d/hfn
692203a25a13214ba8a0e2feddb8d6e78275c860
[ "MIT" ]
null
null
null
unit_tests/main.cpp
obhi-d/hfn
692203a25a13214ba8a0e2feddb8d6e78275c860
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "hfn/config.hpp" #include "hfn/cxstring.hpp" #include "hfn/digest.hpp" #include "hfn/fnv1a.hpp" #include "hfn/murmur3.hpp" #include "hfn/rhid.hpp" #include "hfn/type_hash.hpp" #include "hfn/wyhash.hpp" #include "hfn/xxhash.hpp" #include <catch2/catch.hpp> #include <iostream> class ty...
32.673913
92
0.664005
f959e804126995f18a040d22d82f3909666733f0
511
cpp
C++
Util/WebUrl.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
Util/WebUrl.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
Util/WebUrl.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
#include "WebUrl.h" using namespace std; WebUrl::WebUrl() {} WebUrl::~WebUrl() {} string WebUrl::CutParam(string url, string param) { int index = url.find("?" + param + "="); if (index < 0) { index = url.find("&" + param + "="); } if (index < 0) return string(); int index2 = index + 1 + (param + "=").lengt...
18.25
49
0.60274
f9601f472091e6a18894fa6522a21e9160e64b8c
4,786
cpp
C++
PageRepository/Source/Page.cpp
DiplodocusDB/PhysicalStorage
9b110471d14300873a9067b25b0825727c178549
[ "MIT" ]
null
null
null
PageRepository/Source/Page.cpp
DiplodocusDB/PhysicalStorage
9b110471d14300873a9067b25b0825727c178549
[ "MIT" ]
19
2018-01-20T14:38:20.000Z
2018-01-26T22:58:52.000Z
PageRepository/Source/Page.cpp
DiplodocusDB/PhysicalStorage
9b110471d14300873a9067b25b0825727c178549
[ "MIT" ]
null
null
null
/* Copyright (c) 2018-2019 Xavier Leclercq 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, me...
29.361963
117
0.649603
f96c117a5b81a2b6b456ee21a20b141634852997
8,129
cpp
C++
d20/a.cpp
webdeveloperukraine/adventofcode2020
4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34
[ "MIT" ]
null
null
null
d20/a.cpp
webdeveloperukraine/adventofcode2020
4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34
[ "MIT" ]
null
null
null
d20/a.cpp
webdeveloperukraine/adventofcode2020
4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #include "../helpers/string_helpers.cpp" typedef long long int ll; struct Tile{ ll id; vector<string> pattern; int width, height; Tile(){ throw runtime_error("No Way!"); } Tile(ll id, vector<string> pattern) : id(id), pattern(pattern){ height = pattern.size()...
17.905286
85
0.558986
f96c326286a20d184db4bb728848da1abf9f28fe
2,663
cpp
C++
source/line.cpp
Zylon-D-Lite/drawingPrototype
60caa86e72ad7fd36aed15679b003747c69e81c6
[ "MIT" ]
null
null
null
source/line.cpp
Zylon-D-Lite/drawingPrototype
60caa86e72ad7fd36aed15679b003747c69e81c6
[ "MIT" ]
null
null
null
source/line.cpp
Zylon-D-Lite/drawingPrototype
60caa86e72ad7fd36aed15679b003747c69e81c6
[ "MIT" ]
null
null
null
#include "./line.hpp" const png::rgba_pixel Line::WHITE_PIXEL = png::rgba_pixel(255, 255, 255, 255); const png::rgba_pixel Line::BLACK_PIXEL = png::rgba_pixel(0, 0, 0, 255); const png::rgba_pixel Line::TRANSPARENT_PIXEL = png::rgba_pixel(0, 0, 0, 0); const png::rgba_pixel Line::RED_PIXEL = png::rgba_pixel(255, 0, 0, 2...
39.161765
86
0.607585
f96d0aa3ae182e22ac149151167544afb5674954
15,323
cpp
C++
ppm_image.cpp
gulesh/pixmap-ops
573afdd349d7e4913d7dbc60f0b9d3edd33b39ca
[ "MIT" ]
null
null
null
ppm_image.cpp
gulesh/pixmap-ops
573afdd349d7e4913d7dbc60f0b9d3edd33b39ca
[ "MIT" ]
null
null
null
ppm_image.cpp
gulesh/pixmap-ops
573afdd349d7e4913d7dbc60f0b9d3edd33b39ca
[ "MIT" ]
null
null
null
#include "ppm_image.h" #include <string> #include <fstream> #include <iostream> #include <cmath> #include <algorithm> using namespace agl; using namespace std; ppm_image::ppm_image() { imageWidth = 0; imageHeight = 0; pixelArray= nullptr; } ppm_image::ppm_image(int w, int h) { imageWidth = w; imag...
26.835377
125
0.559812
f96f63c2c2a06f5743891f2fd243ece7b1615cb4
608
cpp
C++
server/src/extension_queue/queue.cpp
valmat/queueServer
6626e99cd4fccca6f2ae17b8cc33ef151b651b5d
[ "BSD-3-Clause" ]
4
2017-09-25T12:23:22.000Z
2019-02-19T14:15:46.000Z
server/src/extension_queue/queue.cpp
valmat/queueServer
6626e99cd4fccca6f2ae17b8cc33ef151b651b5d
[ "BSD-3-Clause" ]
1
2019-02-25T17:53:32.000Z
2019-02-27T06:57:35.000Z
server/src/extension_queue/queue.cpp
valmat/queueServer
6626e99cd4fccca6f2ae17b8cc33ef151b651b5d
[ "BSD-3-Clause" ]
1
2019-02-19T13:42:29.000Z
2019-02-19T13:42:29.000Z
/** * RocksServer plugin * https://github.com/valmat/queueServer */ #include "../include.h" #include "RequestMoveFirstPref.h" #include "RequestFirstPref.h" #include "RequestGetIncr.h" using namespace RocksServer; /* * Create plugin * * @param extension object of Extension * @param rdb wrapped ob...
20.266667
65
0.641447
f9711d8fdecf29560f186cbd4c4f86ee0342ff38
3,739
cpp
C++
Core-src/AnalyzeWindow.cpp
HaikuArchives/BeAE
b57860a81266dd465655ec98b7524406bfde27aa
[ "BSD-3-Clause" ]
6
2015-03-04T19:41:12.000Z
2022-03-27T09:44:25.000Z
Core-src/AnalyzeWindow.cpp
HaikuArchives/BeAE
b57860a81266dd465655ec98b7524406bfde27aa
[ "BSD-3-Clause" ]
20
2015-03-03T21:02:20.000Z
2021-08-02T13:26:59.000Z
Core-src/AnalyzeWindow.cpp
HaikuArchives/BeAE
b57860a81266dd465655ec98b7524406bfde27aa
[ "BSD-3-Clause" ]
8
2015-02-23T19:10:32.000Z
2020-10-26T08:03:00.000Z
/* Copyright (c) 2003, Xentronix Author: Frans van Nispen (frans@xentronix.com) 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 retain the above copyright ...
30.647541
101
0.61487
f972af1ee36532247bf190e9808e6e5d4a624d8e
708
hpp
C++
include/RadonFramework/IO/ConsoleUI/With.hpp
tak2004/RF_Console
b2a1114b4e948281c64b085eb407926704ecc7cb
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/IO/ConsoleUI/With.hpp
tak2004/RF_Console
b2a1114b4e948281c64b085eb407926704ecc7cb
[ "Apache-2.0" ]
null
null
null
include/RadonFramework/IO/ConsoleUI/With.hpp
tak2004/RF_Console
b2a1114b4e948281c64b085eb407926704ecc7cb
[ "Apache-2.0" ]
null
null
null
#pragma once #include <RadonFramework/IO/ConsoleUI/Component.hpp> #include <RadonFramework/IO/ConsoleUI/ComponentOperator.hpp> #include <RadonFramework/IO/ConsoleUI/State.hpp> namespace RadonFramework::IO::ConsoleUI { template <class T> struct With : public ComponentOperator { template <int N> With(char const (&...
21.454545
60
0.710452
f976e1c6bc0d2cac86d70e577b4df9a1003f5863
4,967
cc
C++
pmem-mariadb/storage/tokudb/PerconaFT/src/tests/test_cursor_delete2.cc
wc222/pmdk-examples
64aadc3a70471c469ac8e214eb1e04ff47cf18ff
[ "BSD-3-Clause" ]
11
2017-10-28T08:41:08.000Z
2021-06-24T07:24:21.000Z
pmem-mariadb/storage/tokudb/PerconaFT/src/tests/test_cursor_delete2.cc
WSCWDA/pmdk-examples
c3d079e52cd18b0e14836ef42bad9a995336bf90
[ "BSD-3-Clause" ]
1
2021-02-24T05:26:44.000Z
2021-02-24T05:26:44.000Z
pmem-mariadb/storage/tokudb/PerconaFT/src/tests/test_cursor_delete2.cc
isabella232/pmdk-examples
be7a5a18ba7bb8931e512f6d552eadf820fa2235
[ "BSD-3-Clause" ]
4
2017-09-07T09:33:26.000Z
2021-02-19T07:45:08.000Z
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
45.154545
114
0.476545
f97a4336ab04e9446d773096c45ca5d954126da6
1,205
cpp
C++
Challenge-2021-04/08_letter_combinations_of_a_phone_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-04/08_letter_combinations_of_a_phone_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-04/08_letter_combinations_of_a_phone_number.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: vector<string> letterCombinations(string digits) { if (digits.length() == 0) { return {}; } unordered_map<char, string> m; m['2'] = "abc"; m['3'] = "def"; m['4'] = "ghi"; m['5'] = "jkl"; m['6']...
25.104167
121
0.509544
f97d1a9270894f9dc0a87e4b98415bcd3e15cd13
2,071
hpp
C++
Libs/SceneGraph/PlantNode.hpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/SceneGraph/PlantNode.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/SceneGraph/PlantNode.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef CAFU_TREE_NODE_HPP_INCLUDED #define CAFU_TREE_NODE_HPP_INCLUDED #include "Node.hpp" #include "Plants/Tree.hpp" struct PlantDescriptionT; class PlantDescrMan...
30.455882
146
0.633028
f97f1b80cd830250828379c88056dfae3aa0c8f6
3,247
hpp
C++
modules/engine/include/randar/Render/Geometry.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/include/randar/Render/Geometry.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/include/randar/Render/Geometry.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#ifndef RANDAR_RENDER_GEOMETRY_HPP #define RANDAR_RENDER_GEOMETRY_HPP #include <randar/Render/Primitive.hpp> #include <randar/Render/ShaderProgram.hpp> #include <randar/Render/VertexBuffer.hpp> namespace randar { class Geometry : public GraphicsContextResource { public: VertexBuffer vertices; ...
25.769841
80
0.558978
f97f4fbe581321f5293e8955e8f7d600fd259aba
13,240
cpp
C++
dependencies/HDRTools/common/src/DisplayGammaAdjustHLG.cpp
rudals0215/AR-streaming-with-MPEG-DASH
7c9f24a2eed7f756e51451670286a11351a6b877
[ "MIT" ]
null
null
null
dependencies/HDRTools/common/src/DisplayGammaAdjustHLG.cpp
rudals0215/AR-streaming-with-MPEG-DASH
7c9f24a2eed7f756e51451670286a11351a6b877
[ "MIT" ]
null
null
null
dependencies/HDRTools/common/src/DisplayGammaAdjustHLG.cpp
rudals0215/AR-streaming-with-MPEG-DASH
7c9f24a2eed7f756e51451670286a11351a6b877
[ "MIT" ]
1
2021-07-07T00:53:49.000Z
2021-07-07T00:53:49.000Z
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * <OWNER> = British Broadcasting Corporation (BBC). * <ORGA...
43.84106
151
0.649245
f98335835b564975be345d5087b058a382845d32
5,545
cpp
C++
src/TransitionHandler.cpp
MacaroniDamage/FabulousNeopixelFirmware
4ebf638f9d053629dd2eb81039cc153755d55668
[ "MIT" ]
2
2021-06-05T15:26:29.000Z
2021-06-05T23:50:09.000Z
src/TransitionHandler.cpp
MacaroniDamage/FabulousNeopixelFirmware
4ebf638f9d053629dd2eb81039cc153755d55668
[ "MIT" ]
null
null
null
src/TransitionHandler.cpp
MacaroniDamage/FabulousNeopixelFirmware
4ebf638f9d053629dd2eb81039cc153755d55668
[ "MIT" ]
null
null
null
/** * @file TransitionHandler.cpp * @author MacaroniDamage * @brief Executes state machine that handel transitions to different * stages * @version 0.1 * @date 2020-12-18 * * */ #include "TransitionHandler.h" /** Configures the instace so that * it triggers the wished state machine **/ void Transiti...
25.911215
87
0.70532
f9847bb79e52b2a28bc39127617f9544416c7709
7,076
cp
C++
Win32/Sources/Application/SMTP_Queue/CSMTPView.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/SMTP_Queue/CSMTPView.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/SMTP_Queue/CSMTPView.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 ...
30.110638
172
0.71368
f988503b86a58fce537ef8d81853b4f82278da5b
111,478
cpp
C++
src/newsview.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/newsview.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/newsview.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
28.222278
152
0.61866
f98a0cdf5f2a3eee6a87ac19dbb2e18e2198ddcd
1,283
cpp
C++
Tree/BalancedTree/BalancedTree.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
Tree/BalancedTree/BalancedTree.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
Tree/BalancedTree/BalancedTree.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
/* Problem statement: Given a binary tree, find if it is height balanced or not. A tree is height balanced if difference between heights of left and right subtrees is not more than one for all nodes of tree. Constraints: 1<= N <= 10^4 Approach: To check if a tree is height-balanced, get the height of left and right...
27.891304
163
0.681216
f98b56f403871a3056dd8284deee2b49b92ca23d
4,718
cpp
C++
src/model_loading/model.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/model_loading/model.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/model_loading/model.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
// // model.cpp // // Created by Clsrfish on 08/10/2020 // #include "./model.h" #include "../gl/gl_utils.h" model_loading::Model::Model(const std::string &modelPath) { loadModel(modelPath); } void model_loading::Model::Draw(const Shader &shader) { for (unsigned int i = 0; i < Meshes.size(); i++) { ...
31.453333
152
0.602798
f98fc6fe889504295cefaf5aa7436bc071f81e98
7,042
hpp
C++
src/Utilities/NMatrix/NLine.hpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Utilities/NMatrix/NLine.hpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Utilities/NMatrix/NLine.hpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
/** * \file NLine.hpp * \author fcaillaud * \version 1.0 * \date 2 Avril 2014 * \brief Fichier décrivant la classe NLine. * \details Classe utilisée pour représenter une ligne ou colonne de matrice (plus ou moins un vecteur). * \todo Réfléchir à une meilleure approche pour toute la classe. */ #...
24.883392
164
0.598268
f9904cef11f7c0fc417b9e9970c01d5137aa5af5
173
cc
C++
HelloNDK/app/src/main/jni/hello.cc
omo/hello
6671d45d407edfecc97520d8e652690f0e831ce8
[ "Artistic-2.0" ]
null
null
null
HelloNDK/app/src/main/jni/hello.cc
omo/hello
6671d45d407edfecc97520d8e652690f0e831ce8
[ "Artistic-2.0" ]
25
2015-03-30T17:49:03.000Z
2015-10-20T19:38:32.000Z
HelloNDK/app/src/main/jni/hello.cc
omo/hello
6671d45d407edfecc97520d8e652690f0e831ce8
[ "Artistic-2.0" ]
null
null
null
#include <jni.h> extern "C" jstring Java_com_example_morrita_hellondk_MainActivity_hello( JNIEnv* env, jobject thiz) { return env->NewStringUTF("Hello from JNI!"); }
21.625
53
0.751445
f9950c4c127eed8eb765a4f79dff18707a5a927e
1,141
cpp
C++
libs/charconv/src/charconv/fcppt_string_to_utf8_file.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/charconv/src/charconv/fcppt_string_to_utf8_file.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/charconv/src/charconv/fcppt_string_to_utf8_file.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under 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) #include <sge/charconv/fcppt_string_to_utf8.hpp> #include <sge/charconv/fcppt_string_to_utf8_file.h...
31.694444
92
0.69851
f995a5ef4619ff65e37e0210dd58371372442922
158
cpp
C++
MathTools/Point.cpp
richardchien/math-tools-ios
956b77d91afd7bb78dd02a5027180de72d9d6a29
[ "MIT" ]
null
null
null
MathTools/Point.cpp
richardchien/math-tools-ios
956b77d91afd7bb78dd02a5027180de72d9d6a29
[ "MIT" ]
null
null
null
MathTools/Point.cpp
richardchien/math-tools-ios
956b77d91afd7bb78dd02a5027180de72d9d6a29
[ "MIT" ]
null
null
null
// // Point.cpp // MathTools // // Created by Richard Chien on 14-1-31. // Copyright (c) 2014年 Richard Chien. All rights reserved. // #include "Point.h"
15.8
59
0.64557
f99782ab8ce1e2647442e9105642be7e009deddd
2,724
cpp
C++
tcp/compute_server.cpp
sakulkar/SocketLab
046b8cfaab66e7e037352b40793d33f8da63a68b
[ "MIT" ]
null
null
null
tcp/compute_server.cpp
sakulkar/SocketLab
046b8cfaab66e7e037352b40793d33f8da63a68b
[ "MIT" ]
null
null
null
tcp/compute_server.cpp
sakulkar/SocketLab
046b8cfaab66e7e037352b40793d33f8da63a68b
[ "MIT" ]
null
null
null
#include <cstdio> // perror #include <iostream> // cout, cin #include <cstdlib> // exit, EXIT_FAILURE #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> // inet_ntoa() #include <arpa/inet.h> // inet_ntoa() #include <cstring> // memset() - zero padding #include <unistd.h> // close() - closing the so...
27.24
132
0.662261
f99ccbcf7cb99a16654eacebaf9f4850000193f9
1,233
cpp
C++
src/QBtAuxFunctions.cpp
ftylitak/QBluetoothZero
3e4a018a5e62705b62fa2cbc64a27c3f66059982
[ "Apache-2.0" ]
2
2018-02-05T13:22:49.000Z
2019-01-19T12:04:20.000Z
src/QBtAuxFunctions.cpp
ftylitak/QBluetoothZero
3e4a018a5e62705b62fa2cbc64a27c3f66059982
[ "Apache-2.0" ]
1
2018-02-04T18:37:50.000Z
2018-02-05T23:16:31.000Z
src/QBtAuxFunctions.cpp
ftylitak/QBluetoothZero
3e4a018a5e62705b62fa2cbc64a27c3f66059982
[ "Apache-2.0" ]
3
2018-05-24T02:35:43.000Z
2019-02-28T16:38:52.000Z
#include "QBtAuxFunctions.h" #ifdef Q_OS_WIN32 bool QBtAuxFunctions::InitBthSdk() { if ( sdkInitializationCounter == 0) /* not connected with BlueSoleil */ { if (Btsdk_Init() != BTSDK_OK) return false; if (Btsdk_IsBluetoothReady() == BTSDK_FALSE) Btsdk_StartB...
27.4
99
0.665856
f9a02a599df97e56a3b57d258939f6fc32e01d64
610
cpp
C++
source/343.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/343.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/343.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 343.cpp // LeetCode // // Created by Narikbi on 23.02.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
16.052632
66
0.539344
f9a413b98940eca59f60296c27675bf0b29f1a73
1,456
cpp
C++
pico-cnn/layers/pooling/pooling.cpp
ekut-es/pico-cnn
18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c
[ "BSD-3-Clause" ]
43
2019-06-18T13:53:24.000Z
2021-12-24T17:37:56.000Z
pico-cnn/layers/pooling/pooling.cpp
ekut-es/pico-cnn
18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c
[ "BSD-3-Clause" ]
12
2020-06-01T00:54:37.000Z
2022-02-10T01:40:23.000Z
pico-cnn/layers/pooling/pooling.cpp
ekut-es/pico-cnn
18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c
[ "BSD-3-Clause" ]
6
2020-11-02T19:58:55.000Z
2021-12-24T17:38:02.000Z
#include "pooling.h" pico_cnn::naive::Pooling::Pooling(std::string name, uint32_t id, pico_cnn::op_type op, uint32_t *kernel_size, uint32_t *stride, uint32_t *padding) : Layer(name, id, op) { if (kernel_size) { kernel_size_ = new uint32_t[2](); std::memcpy(kernel_...
26.962963
109
0.574176
f9a62c668e2250f899b7b3e209bda4e68f8183bc
2,605
cpp
C++
droneArchitectureRvizInterfaceROSModule/src/source/swarmAgentInterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneArchitectureRvizInterfaceROSModule/src/source/swarmAgentInterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneArchitectureRvizInterfaceROSModule/src/source/swarmAgentInterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
#include "swarmAgentInterface.h" #include "RvizInteractiveMarkerDisplay.h" SwarmAgentInterface::SwarmAgentInterface(int idDrone_in) { idDrone = idDrone_in; return; } SwarmAgentInterface::~SwarmAgentInterface() { return; } void SwarmAgentInterface::open(ros::NodeHandle &nIn) { n = nIn; loc...
30.290698
250
0.761996
f9a85337ac0427c6189842eb22ef8534aa49fb95
6,279
cpp
C++
MakeBuild/MakeBuild/CMakeFile.cpp
mooming/make_builder
e5aa68d4c922b3343cb032c0201126b9ed85ae37
[ "MIT" ]
1
2018-09-29T01:36:18.000Z
2018-09-29T01:36:18.000Z
MakeBuild/MakeBuild/CMakeFile.cpp
mooming/make_builder
e5aa68d4c922b3343cb032c0201126b9ed85ae37
[ "MIT" ]
null
null
null
MakeBuild/MakeBuild/CMakeFile.cpp
mooming/make_builder
e5aa68d4c922b3343cb032c0201126b9ed85ae37
[ "MIT" ]
null
null
null
// // CMakeFile.cpp // mbuild // // Created by mooming on 2016. 8. 15.. // // #include "CMakeFile.h" #include "StringUtil.h" #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; using namespace Builder; namespace { void AddFrameworks(ostream& os, string projName, cons...
23.965649
93
0.563306
e2fe893b9533c1deaf371e183092fa7daf7e13ea
3,980
cxx
C++
sprokit/processes/core/unwrap_detections_process.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
null
null
null
sprokit/processes/core/unwrap_detections_process.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
null
null
null
sprokit/processes/core/unwrap_detections_process.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2018 by Kitware, Inc. * 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 retain the above copyright notice, * this list of...
26.533333
94
0.631407
e2fffc29f48d61bbb1fd0392d17ef7142a1b37af
3,606
hh
C++
include/maxscale/response_distribution.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
include/maxscale/response_distribution.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
include/maxscale/response_distribution.hh
sdrik/MaxScale
c6c318b36dde0a25f22ac3fd59c9d33d774fe37a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2021 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-12-13 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
31.356522
95
0.602329
390256ec44b496ef5a71c4b2e584dc48afee9a61
2,706
hpp
C++
example/client_console/client_console.hpp
wo3kie/server
63e93c88c04db792b6d3fcb20591f07e5c1ae4f0
[ "MIT" ]
20
2015-09-14T01:38:56.000Z
2020-11-20T13:01:34.000Z
example/client_console/client_console.hpp
wo3kie/server
63e93c88c04db792b6d3fcb20591f07e5c1ae4f0
[ "MIT" ]
null
null
null
example/client_console/client_console.hpp
wo3kie/server
63e93c88c04db792b6d3fcb20591f07e5c1ae4f0
[ "MIT" ]
12
2017-01-23T18:46:32.000Z
2019-06-20T02:22:09.000Z
#ifndef _CLIENT_CONSOLE_ #define _CLIENT_CONSOLE_ #include "core/client.hpp" struct Writer : Task { Writer( asio::io_service & ioService, #ifdef SERVER_SSL ssl::stream< ip::tcp::socket > & socket, #else ip::tcp::socket & socket, #endif int argc, ...
19.751825
64
0.4915
390abeb5824edd87d529070e13d838c0c2467c31
17,059
cpp
C++
engine/src/ph/util/GltfLoader.cpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/src/ph/util/GltfLoader.cpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/src/ph/util/GltfLoader.cpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
33.318359
101
0.712762
390ff228cd4db2d07d9236a1271bdac3a64c1706
4,848
cpp
C++
src/loaders/PE.cpp
LucasDblt/QBDL
fc873087740f10ac56c023cad8b1c8ca42aa8d28
[ "Apache-2.0" ]
52
2021-05-21T20:17:13.000Z
2022-03-26T11:08:44.000Z
src/loaders/PE.cpp
LucasDblt/QBDL
fc873087740f10ac56c023cad8b1c8ca42aa8d28
[ "Apache-2.0" ]
2
2021-06-06T09:32:09.000Z
2021-09-03T10:25:19.000Z
src/loaders/PE.cpp
LucasDblt/QBDL
fc873087740f10ac56c023cad8b1c8ca42aa8d28
[ "Apache-2.0" ]
7
2021-05-22T02:17:20.000Z
2022-01-25T16:21:07.000Z
#include "logging.hpp" #include <LIEF/PE.hpp> #include <QBDL/Engine.hpp> #include <QBDL/arch.hpp> #include <QBDL/loaders/PE.hpp> #include <QBDL/utils.hpp> using namespace LIEF::PE; namespace QBDL::Loaders { std::unique_ptr<PE> PE::from_file(const char *path, TargetSystem &engines, B...
31.277419
80
0.607673
391258a61b2f516878fedbf96255bda38df9868f
3,927
cpp
C++
qt-4.8.4/src/gui/kernel/qdesktopwidget_gix.cpp
easion/qt_for_gix
f5b41cc1a048fb8ebecab7f9a1646e1e3b2accb8
[ "Apache-2.0" ]
null
null
null
qt-4.8.4/src/gui/kernel/qdesktopwidget_gix.cpp
easion/qt_for_gix
f5b41cc1a048fb8ebecab7f9a1646e1e3b2accb8
[ "Apache-2.0" ]
null
null
null
qt-4.8.4/src/gui/kernel/qdesktopwidget_gix.cpp
easion/qt_for_gix
f5b41cc1a048fb8ebecab7f9a1646e1e3b2accb8
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** Copyright (C) 2011 www.hanxuantech.com. The Gix parts. ** Written by Easion <easion@hanxuantech.com> ** **...
29.30597
77
0.718615
3912b1cc54d2b24986c1b54851f0b0eb1ce44980
637
cpp
C++
Problems/codility/CyclicRotation/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/codility/CyclicRotation/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/codility/CyclicRotation/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; vector<int> solution(vector<int> &A, int K) { const int size = A.size(); if(size != 0 && K % size != 0) { vector<int> result(size); for (int i = 0; i < size; i++) { result[(i + K) % size] = A[i]; } return re...
18.735294
45
0.467818
391449c54ac2eb65638f066f0aac0f97bc9e7d18
1,017
cpp
C++
cpp/gstreamer_raspberrypi/Window_control.cpp
windowsair/Archive
83d605756031768efefe3f77cf33f4a944d975bf
[ "MIT" ]
null
null
null
cpp/gstreamer_raspberrypi/Window_control.cpp
windowsair/Archive
83d605756031768efefe3f77cf33f4a944d975bf
[ "MIT" ]
null
null
null
cpp/gstreamer_raspberrypi/Window_control.cpp
windowsair/Archive
83d605756031768efefe3f77cf33f4a944d975bf
[ "MIT" ]
null
null
null
// // Created by 30349 on 2021/11/7. // #include "Window_control.h" #include "opencv2/opencv.hpp" #include "SafeQueue.hpp" namespace wc { SafeQueue<cv::Mat> queue_ch1; SafeQueue<cv::Mat> queue_ch2; std::mutex cv_mtx; [[noreturn]] void onFrame_ch1() { cv::Mat frame; // blocking ...
22.108696
45
0.450344
3915750d1eb18c97faa2696719710f45cb2ef94d
916
cpp
C++
Codeforces/731A - Night at the Museum.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/731A - Night at the Museum.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/731A - Night at the Museum.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> #include <cctype> #include <cmath> #include <string> using namespace std; int get_minimum_distance(char src, char dest) { int distance; src = tolower(src); dest = tolower(dest); // if the distance between the pointed charecter and the destination charecter is greater than 13, then...
26.171429
154
0.644105
39186a85e96ca0f5d099d05e8241ea93483e058a
5,307
cpp
C++
src/gui/pen.cpp
strandfield/yasl
d109eb3166184febfe48d1a2d1c96683c4a813f7
[ "MIT" ]
1
2020-12-28T01:41:35.000Z
2020-12-28T01:41:35.000Z
src/gui/pen.cpp
strandfield/yasl
d109eb3166184febfe48d1a2d1c96683c4a813f7
[ "MIT" ]
null
null
null
src/gui/pen.cpp
strandfield/yasl
d109eb3166184febfe48d1a2d1c96683c4a813f7
[ "MIT" ]
null
null
null
// Copyright (C) 2018 Vincent Chambrin // This file is part of the Yasl project // For conditions of distribution and use, see copyright notice in LICENSE #include "yasl/gui/pen.h" #include "yasl/common/binding/class.h" #include "yasl/common/binding/default_arguments.h" #include "yasl/common/binding/namespace.h" #inc...
43.5
130
0.689278
391c0b1db60f0ee832b02ec7d5d68bf8ce29d2e2
2,958
cpp
C++
src/coreclr/pal/tests/palsuite/threading/SetThreadDescription/test1/test1.cpp
msallin/runtime
d99ddd0699dc209714ca8d5e9ff1f5706604911a
[ "MIT" ]
2
2019-11-06T16:30:23.000Z
2019-11-26T01:48:54.000Z
src/coreclr/pal/tests/palsuite/threading/SetThreadDescription/test1/test1.cpp
msallin/runtime
d99ddd0699dc209714ca8d5e9ff1f5706604911a
[ "MIT" ]
1
2020-05-15T17:23:38.000Z
2020-05-26T18:47:59.000Z
src/coreclr/pal/tests/palsuite/threading/SetThreadDescription/test1/test1.cpp
msallin/runtime
d99ddd0699dc209714ca8d5e9ff1f5706604911a
[ "MIT" ]
1
2020-01-20T07:14:53.000Z
2020-01-20T07:14:53.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*============================================================ ** ** Source: test1.cpp ** ** Purpose: Test for SetThreadDescription. Create a thread, call ** SetThreadDescription, ...
27.90566
155
0.670047
391da41161d8c93e6cd163901fb74d288ce51d8d
12,227
cpp
C++
src/mesh.cpp
mohawkjohn/projected_area
d7c65d3d5b2a46a8f0d6d949dab04c2ac70ed1c2
[ "Unlicense" ]
1
2020-06-28T19:46:40.000Z
2020-06-28T19:46:40.000Z
src/mesh.cpp
autumnsault/projected_area
d7c65d3d5b2a46a8f0d6d949dab04c2ac70ed1c2
[ "Unlicense" ]
null
null
null
src/mesh.cpp
autumnsault/projected_area
d7c65d3d5b2a46a8f0d6d949dab04c2ac70ed1c2
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2014 - 2017, John O. Woods, Ph.D. * West Virginia University Applied Space Exploration Lab (2014 - 2015) * West Virginia Robotic Technology Center (2014 - 2015) * Intuitive Machines (2017) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mo...
37.391437
158
0.649301
3920af713b3a1c2f83dd434fb1f913cdc16794c4
2,096
cpp
C++
API/ReconDemo/Geometry/Rect2D.cpp
PengJinFa/YAPNew
fafee8031669b24d0cc74876a477c97d0d7ebadc
[ "MIT" ]
null
null
null
API/ReconDemo/Geometry/Rect2D.cpp
PengJinFa/YAPNew
fafee8031669b24d0cc74876a477c97d0d7ebadc
[ "MIT" ]
null
null
null
API/ReconDemo/Geometry/Rect2D.cpp
PengJinFa/YAPNew
fafee8031669b24d0cc74876a477c97d0d7ebadc
[ "MIT" ]
null
null
null
#include "Rect2D.h" #include <utility> #include <assert.h> using namespace Geometry; /** Default constructor. All members initialized to zero. */ CRect2D::CRect2D() { _left = _right = _top = _bottom = 0.0; } /** Constructs an object from the four side of the rectangle. */ CRect2D::CRect2D(double left, ...
23.032967
75
0.671756
392427e59bed278479a35b3e6ff5951f21cb75ed
2,802
cpp
C++
unit_tests/test_playable_moves.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
null
null
null
unit_tests/test_playable_moves.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
4
2018-02-21T15:38:56.000Z
2019-04-03T07:57:22.000Z
unit_tests/test_playable_moves.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
null
null
null
#include <catch.hpp> #include "game.hpp" #include <numeric_range.hpp> #include <boost/optional/optional_io.hpp> using Aronda::Board; using Aronda::Game; using Aronda::InvalidMove; using Aronda::Square; using Aronda::SquareState; template <class T> bool contains(const std::vector<T>& container, const T& value) { ...
32.206897
100
0.557459
3925abaa7badfff6e1e3812a0746619d5ddfbaa4
132
cpp
C++
OpenGLTutorial/src/physics/collisionmodel.cpp
michaelg29/OpenGLTutorial
e1db34109eca435581c4224976d669e0fe44afd4
[ "CC-BY-4.0" ]
2
2022-03-20T11:20:19.000Z
2022-03-23T01:58:25.000Z
OpenGLTutorial/src/physics/collisionmodel.cpp
michaelg29/OpenGLTutorial
e1db34109eca435581c4224976d669e0fe44afd4
[ "CC-BY-4.0" ]
12
2020-02-17T05:19:01.000Z
2022-03-17T14:56:38.000Z
OpenGLTutorial/src/physics/collisionmodel.cpp
michaelg29/OpenGLTutorial
e1db34109eca435581c4224976d669e0fe44afd4
[ "CC-BY-4.0" ]
1
2022-01-25T16:48:21.000Z
2022-01-25T16:48:21.000Z
#include "collisionmodel.h" #include "../graphics/objects/model.h" CollisionModel::CollisionModel(Model* model) : model(model) {}
22
44
0.742424
3927538b461a290b31713b17dcd1b427bbf1a297
736
cpp
C++
tests/test18.cpp
varnie/giraffe
0448536cdca5dad66110aa64fdf24688b2a0050a
[ "MIT" ]
null
null
null
tests/test18.cpp
varnie/giraffe
0448536cdca5dad66110aa64fdf24688b2a0050a
[ "MIT" ]
1
2020-06-16T14:25:17.000Z
2020-06-16T14:25:17.000Z
tests/test18.cpp
varnie/giraffe
0448536cdca5dad66110aa64fdf24688b2a0050a
[ "MIT" ]
null
null
null
// // Created by varnie on 2/23/16. // #include <gtest/gtest.h> #include "../include/Giraffe.h" TEST(StorageTest, CheckRetrievingAllEntities) { struct Foo { Foo() { } }; using StorageT = Giraffe::Storage<>; using EntityT = Giraffe::Entity<StorageT>; StorageT storage; for (int i = 0...
17.52381
48
0.576087
392770182075de0f956a67a461d133ca273fc07b
1,231
cpp
C++
Notes_Week3/composition.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
Notes_Week3/composition.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
Notes_Week3/composition.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Rectangle { private: double length; double width; public: void setLength(double len) { length = len; } void setWidth(double wid) { width = wid; } double getLength() { return length; } double getWidth() { r...
17.84058
89
0.607636
392b50d729fc87eed2c45f0554e10b2f27e19709
1,949
cpp
C++
texture-packer/src/main/Functions/main.cpp
ii887522/texture-packer
0dc2b6656329f427881c36ddafc0196447c74926
[ "MIT" ]
null
null
null
texture-packer/src/main/Functions/main.cpp
ii887522/texture-packer
0dc2b6656329f427881c36ddafc0196447c74926
[ "MIT" ]
null
null
null
texture-packer/src/main/Functions/main.cpp
ii887522/texture-packer
0dc2b6656329f427881c36ddafc0196447c74926
[ "MIT" ]
null
null
null
// Copyright ii887522 #ifndef TEST #define ALLOCATOR_IMPLEMENTATIONS #include <nitro/nitro.h> #include <SDL.h> #include <viewify/viewify.h> #include <iostream> #include <stdexcept> #include <filesystem> #include "../ViewGroupFactory/TexturePackerViewGroupFactory.h" #include "../Any/CommandLine.h" #include <SDL_image...
37.480769
155
0.746537
3930edb38c8069acc6af05d921b0fc3c51491186
982
cpp
C++
LoveLiveWallpaper/src/Interactable.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
2
2020-05-09T00:13:06.000Z
2020-05-25T05:49:40.000Z
LoveLiveWallpaper/src/Interactable.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
null
null
null
LoveLiveWallpaper/src/Interactable.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
1
2020-05-25T05:49:44.000Z
2020-05-25T05:49:44.000Z
#include "Interactable.h" #include "Component.h" #include "Mouse.h" #include "MouseEventArg.h" #include "Transform.h" namespace LLWP { Interactable::Interactable() { Mouse::OnHitTest += (*this, &Interactable::OnHitTest); } bool Interactable::OnHitTest(Interactable*& hitted, const MouseEventArg...
26.540541
127
0.550916
3932962e99e15a87428393817850c8fb38c73874
1,441
hpp
C++
include/argot/concepts/reference.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/concepts/reference.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/concepts/reference.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2017, 2018, 2019 Matt Calabrese Distributed under 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) =======================================...
27.711538
80
0.700902
39410f0a0e8766d77f03a940a2f9f9f063b966d9
4,968
cpp
C++
test/path_append_test.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
3
2019-05-20T14:21:11.000Z
2019-05-21T19:09:13.000Z
test/path_append_test.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
null
null
null
test/path_append_test.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
null
null
null
// Copyright The Authors 2018. // Distributed under the 3-Clause BSD License. // (See accompanying file LICENSE or copy at // https://opensource.org/licenses/BSD-3-Clause) #if defined(__clang__) #pragma clang diagnostic push // Catch2 uses a lot of macro names that will make clang go crazy #if (__clang_...
29.748503
92
0.589171
39433c5976e200b3378b2be19c3359b991cabfee
436
cpp
C++
Colour.cpp
sbarrettCC/allegro_wrapper_functions
4dab88455e83d65de6dd0749998fdf6db8b5d6d6
[ "MIT" ]
null
null
null
Colour.cpp
sbarrettCC/allegro_wrapper_functions
4dab88455e83d65de6dd0749998fdf6db8b5d6d6
[ "MIT" ]
null
null
null
Colour.cpp
sbarrettCC/allegro_wrapper_functions
4dab88455e83d65de6dd0749998fdf6db8b5d6d6
[ "MIT" ]
1
2022-03-02T20:28:38.000Z
2022-03-02T20:28:38.000Z
/* Allegro Wrapper Functions Written by Adel Talhouk in FA21 Colour.cpp */ #include "Colour.h" //Constructor - without alpha Colour::Colour(unsigned __int8 r, unsigned __int8 g, unsigned __int8 b) { mR = r; mG = g; mB = b; mA = 255; } //Constructor - with alpha Colour::Colour(unsigned __int8 r, unsigned __int8 g...
14.064516
90
0.669725
3944cbb3e9853cc8dcee395ce7b63ca6fcc45742
5,847
cc
C++
gem5-gpu/src/graphics/graphic_calls.cc
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
1
2019-01-26T10:34:02.000Z
2019-01-26T10:34:02.000Z
gem5-gpu/src/graphics/graphic_calls.cc
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
null
null
null
gem5-gpu/src/graphics/graphic_calls.cc
ayoubg/gem5-graphics_v1
d74a968d5854dc02797139558430ccda1f71108e
[ "BSD-3-Clause" ]
1
2021-07-06T10:40:34.000Z
2021-07-06T10:40:34.000Z
#include "graphics/libOpenglRender/dll.h" #include "graphics/graphic_calls.hh" #include "base/misc.hh" #include <pthread.h> #include<ctime> #include<X11/Xlib.h> #include <SDL/SDL.h> #include <SDL/SDL_syswm.h> #include "graphics/serialize_graphics.hh" #define RENDER_API_NO_PROTOTYPES 1 #include "graphics/libOpenglRend...
26.337838
111
0.687532
394ed15fdfce934a47f9793194eb0550087ba44b
10,260
cc
C++
modules/loader-grub/arch/x86_64/mmu-loader.cc
eryjus/centuryos2
526a39c0f434b29a43d85e6b5b1ffa1ced885b25
[ "BSD-3-Clause" ]
null
null
null
modules/loader-grub/arch/x86_64/mmu-loader.cc
eryjus/centuryos2
526a39c0f434b29a43d85e6b5b1ffa1ced885b25
[ "BSD-3-Clause" ]
null
null
null
modules/loader-grub/arch/x86_64/mmu-loader.cc
eryjus/centuryos2
526a39c0f434b29a43d85e6b5b1ffa1ced885b25
[ "BSD-3-Clause" ]
null
null
null
//=================================================================================================================== // // mmu-loader.cc -- Functions related to managing the Paging Tables // // Copyright (c) 2017-2021 -- Adam Clark // Licensed under "THE BEER-WARE LICENSE" // See License.md for ...
22.649007
117
0.552729
39503020253aa1fc8bd888aea2ab04ff9816e6bc
49
hpp
C++
src/agl/opengl/function/vertex_attribute/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/vertex_attribute/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/opengl/function/vertex_attribute/all.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "get_vertex_location.hpp"
12.25
34
0.795918
39514b46fc36f061eaefc57aff06033acea5d384
1,023
cpp
C++
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_manager.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Irvingperez
52f01b57eea81445f5ef13325969a8a1bd868c50
[ "MIT" ]
null
null
null
#include "tic_tac_toe_manager.h" void TicTacToeManager::save_game(std::unique_ptr<TicTacToe> & b) { update_winner_count(b->get_winner()); games.push_back(std::move(b)); } ostream& operator << (ostream& out, const TicTacToeManager& manager) { for(auto& x : manager.games) { out << *x; } ...
21.3125
68
0.545455
395242967db1c79c99f873570497994265193717
671
hpp
C++
src/input.hpp
MaemiKozue/hexceed
11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a
[ "MIT" ]
null
null
null
src/input.hpp
MaemiKozue/hexceed
11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a
[ "MIT" ]
null
null
null
src/input.hpp
MaemiKozue/hexceed
11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a
[ "MIT" ]
null
null
null
#ifndef INPUT_H #define INPUT_H #include <iostream> typedef enum InputType { MOUSE, KEYBOARD } InputType; typedef enum KEY { KEY_ENTER } KEY; typedef enum MOUSE_BUTTON { MB_MIDDLE, MB_LEFT, MB_RIGHT } MOUSE_BUTTON; class Input { private: InputType type; int x, y; // mouse position MOUSE_BU...
15.97619
54
0.654247
39552ab957f0e29367375be85c5dd153557f0466
604
hpp
C++
Autoclicker GUI/Autoclicker GUI/GUI/Elements/Element/Element.hpp
CovERUshKA/Autoclicker
2f7f7cc3924495440c8afa797abadb92dba07faa
[ "MIT" ]
6
2020-07-05T05:52:30.000Z
2021-12-19T11:03:00.000Z
Autoclicker GUI/Autoclicker GUI/GUI/Elements/Element/Element.hpp
CovERUshKA/Autoclicker
2f7f7cc3924495440c8afa797abadb92dba07faa
[ "MIT" ]
null
null
null
Autoclicker GUI/Autoclicker GUI/GUI/Elements/Element/Element.hpp
CovERUshKA/Autoclicker
2f7f7cc3924495440c8afa797abadb92dba07faa
[ "MIT" ]
null
null
null
#pragma once #include <Windows.h> #include <string> #include "../../Def.hpp" class Element { public: // Type of the element( Button, TextEdit and etc. ) INT type; // Visible element or not bool visible; // ID of the element INT ID; // Position of the lement FLOAT x, y; // Size of the element FLOAT width, ...
17.257143
59
0.701987
395693c05065645deeca76b1e0fbb8443b352707
2,080
hpp
C++
ext/src/java/awt/BasicStroke.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/awt/BasicStroke.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/awt/BasicStroke.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/awt/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <java/awt/Stroke.hpp> struct default_init_tag; class java::awt::BasicStroke ...
30.144928
112
0.694231
39599126185e37194126c4ae8f0c418c2f957a66
487
hpp
C++
EntitySystemGenerator/Include/ComponentMapsSourceGenerator.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
EntitySystemGenerator/Include/ComponentMapsSourceGenerator.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
EntitySystemGenerator/Include/ComponentMapsSourceGenerator.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#pragma once #ifndef _ENTITYSYSTEMGENERATOR_COMPONENTMAPSSOURCEGENERATOR_HPP_ #define _ENTITYSYSTEMGENERATOR_COMPONENTMAPSSOURCEGENERATOR_HPP_ #include "CodeGenerator.hpp" #include "ComponentDefinitions.hpp" namespace Fnd { namespace EntitySystemCodeGeneration { class ComponentMapsSourceGenerator: ...
18.037037
68
0.780287
395b252c334d240cbe37b6be91d0904cb2f834af
349
cpp
C++
cpp/cpp_primer/chapter10/ex_10_42.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/cpp_primer/chapter10/ex_10_42.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/cpp_primer/chapter10/ex_10_42.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
// // Created by kaiser on 18-12-17. // #include <algorithm> #include <iostream> #include <list> #include <string> void elim_dups(std::list<std::string>& words) { words.sort(); words.unique(); } int main() { std::list<std::string> vs{"a", "a", "c", "c", "b"}; elim_dups(vs); for (const auto& s : vs) { s...
15.863636
53
0.56447
395f6301e153f9d9d7d2dd3428f88d665133c104
850
cpp
C++
PTA-B/right/1013-right.cpp
chiangyung/PTA
c8e6bcbc9e552dad5ab71679d861a235b8ad0730
[ "MIT" ]
2
2018-08-23T06:58:56.000Z
2018-09-04T02:07:44.000Z
PTA-B/right/1013-right.cpp
chiangyung/PTA
c8e6bcbc9e552dad5ab71679d861a235b8ad0730
[ "MIT" ]
null
null
null
PTA-B/right/1013-right.cpp
chiangyung/PTA
c8e6bcbc9e552dad5ab71679d861a235b8ad0730
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; const int INTMAX = pow(2, 30); bool is_prime(const int n) { for (int i = 2; i <= sqrt(n); i++) { if (n % i == 0) { return false; } } return true; } int main(int argc, char *argv[]) { int m, n; int count1 = 0, ...
18.888889
45
0.342353
395f7c953cc08a36d29401fb4b839e28b84b46d3
531
cpp
C++
test/Model/Header.cpp
jxx-project/JXXRS
0d788e3aba5231ec1782699c9d397b9d81fdb1fd
[ "BSL-1.0" ]
null
null
null
test/Model/Header.cpp
jxx-project/JXXRS
0d788e3aba5231ec1782699c9d397b9d81fdb1fd
[ "BSL-1.0" ]
null
null
null
test/Model/Header.cpp
jxx-project/JXXRS
0d788e3aba5231ec1782699c9d397b9d81fdb1fd
[ "BSL-1.0" ]
null
null
null
// // Copyright (C) 2018 Dr. Michael Steffens // // SPDX-License-Identifier: BSL-1.0 // #include "Model/Header.h" namespace Model { Header::Header() { } Header::Header(const std::string& name, const std::string& value) : name(name), value(value) { } Header::Header(const JXXON::Json& json) : name(json.get<decltype...
16.090909
123
0.661017
396289f2ff22620325ab55248496538c6b002707
3,553
cpp
C++
src/caffe/test/test_training_utils.cpp
ayzk/ft-caffe-public
888399c2fcf90c227416576a5a265b218c6be5da
[ "BSD-2-Clause" ]
933
2016-08-29T14:29:20.000Z
2022-03-20T09:03:49.000Z
src/caffe/test/test_training_utils.cpp
ayzk/ft-caffe-public
888399c2fcf90c227416576a5a265b218c6be5da
[ "BSD-2-Clause" ]
286
2016-08-30T01:33:01.000Z
2021-08-22T08:34:19.000Z
src/caffe/test/test_training_utils.cpp
ayzk/ft-caffe-public
888399c2fcf90c227416576a5a265b218c6be5da
[ "BSD-2-Clause" ]
611
2016-08-30T07:22:04.000Z
2021-12-18T11:53:08.000Z
/* All modification made by Intel Corporation: © 2016 Intel Corporation All contributions by the University of California: Copyright (c) 2014, 2015, The Regents of the University of California (Regents) All rights reserved. All other contributions: Copyright (c) 2014, 2015, the respective contributors All rights rese...
35.178218
92
0.777934
39644976619fc7b047dc5bfb77f4732ad44a2038
621
cxx
C++
test_code/test_fdstream_simple.cxx
m-renaud/posix-lib
0296999e252e2b40a80bcc01ea6a1742e8ef1c49
[ "BSD-2-Clause" ]
1
2020-11-11T12:50:30.000Z
2020-11-11T12:50:30.000Z
test_code/test_fdstream_simple.cxx
m-renaud/posix-lib
0296999e252e2b40a80bcc01ea6a1742e8ef1c49
[ "BSD-2-Clause" ]
null
null
null
test_code/test_fdstream_simple.cxx
m-renaud/posix-lib
0296999e252e2b40a80bcc01ea6a1742e8ef1c49
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "../fdstream.hxx" #include "../pipe.hxx" int main() { try { mrr::posix::pipe successful_auth; mrr::posix::fd_ostream write_end(successful_auth.write_end()); mrr::posix::fd_istream read_end(successful_auth.read_end()); int received[2]; write_end << 5 << std::endl; write_end...
17.25
64
0.639291
396aeaba14dfb506f287778ba27e13dd0c0d77f0
1,473
hpp
C++
include/sprout/predef/compiler/sgi_mipspro.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/predef/compiler/sgi_mipspro.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/predef/compiler/sgi_mipspro.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the sprout Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt) ...
35.071429
84
0.739308
396b1304f779670ccebfe8e01a457de7da6c4d38
1,764
hpp
C++
tasks/FrameFilter.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
tasks/FrameFilter.hpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
tasks/FrameFilter.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #ifndef _FRAME_FILTER_HPP_3532115b_b86b_48e5_a4c1_810606f79dfe #define _FRAME_FILTER_HPP_3532115b_b86b_48e5_a4c1_810606f79dfe #include <tasks/Task.hpp> #if defined(__cplusplus) extern "C" { #endif /* defined(__cplusplus) */ #include "FreeRTOS/FreeRTOS.h" #include "FreeRTOS/queue.h" #if defined...
25.2
119
0.679705
396b3b879ceeafa68fd880dd22e30b04d2b335db
1,180
cpp
C++
SPOJ/MFLAR10 - Flowers Flourish From France/mflar10.cpp
Zubieta/CPP
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
8
2017-03-02T07:56:45.000Z
2021-08-07T20:20:19.000Z
SPOJ/MFLAR10 - Flowers Flourish From France/mflar10.cpp
zubie7a/Algorithms
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
null
null
null
SPOJ/MFLAR10 - Flowers Flourish From France/mflar10.cpp
zubie7a/Algorithms
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
1
2021-08-07T20:20:20.000Z
2021-08-07T20:20:20.000Z
/*Santiago Zubieta*/ #include <iostream> #include <numeric> #include <fstream> #include <climits> #include <cstring> #include <cstdio> #include <cmath> #include <queue> #include <list> #include <map> #include <set> #include <stack> #include <deque> #include <vector> #include <string> #include <cstdlib> #include <casser...
18.730159
56
0.499153
396c73354d9d9ef8cf18366a2a474450ef4f9501
1,774
cc
C++
map-structure/vi-map/test/test_map_get_vertex_ids_in_mission_test.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
map-structure/vi-map/test/test_map_get_vertex_ids_in_mission_test.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
map-structure/vi-map/test/test_map_get_vertex_ids_in_mission_test.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include <Eigen/Core> #include <gtest/gtest.h> #include <maplab-common/test/testing-entrypoint.h> #include "vi-map/test/vi-map-generator.h" namespace vi_map { class VIMapTest : public ::testing::Test { protected: VIMapTest() : map_(), generator_(map_, 42) {} virtual void SetUp() { pose::Transformation T_G_...
27.71875
74
0.73168
397170c480ab89b57d5c1d86eefd61c9657a072d
10,484
cc
C++
src/io/scene_loader.cc
hyungman/SpRay
96380740dd88e6fbc21c0fdbf232cff357b1235d
[ "Apache-2.0" ]
7
2018-10-22T17:13:36.000Z
2020-04-17T08:28:55.000Z
src/io/scene_loader.cc
hyungman/SpRay
96380740dd88e6fbc21c0fdbf232cff357b1235d
[ "Apache-2.0" ]
null
null
null
src/io/scene_loader.cc
hyungman/SpRay
96380740dd88e6fbc21c0fdbf232cff357b1235d
[ "Apache-2.0" ]
1
2018-11-01T14:53:22.000Z
2018-11-01T14:53:22.000Z
// ========================================================================== // // Copyright (c) 2017-2018 The University of Texas at Austin. // // All rights reserved. // // ...
29.041551
80
0.572778
3974218429c4050238314f3d62724d1d653797df
10,436
hpp
C++
OpenAutoItParser/include/OpenAutoIt/TokenKind.hpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
null
null
null
OpenAutoItParser/include/OpenAutoIt/TokenKind.hpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
6
2022-02-01T04:07:12.000Z
2022-03-01T04:43:49.000Z
OpenAutoItParser/include/OpenAutoIt/TokenKind.hpp
OpenAutoit/OpenAutoit
f58c98c6e2a706ba7f06dcbc08a54a5a6440063e
[ "MIT" ]
null
null
null
#pragma once namespace OpenAutoIt { enum class TokenKind { NotAToken, EndOfFile, // '\0' NewLine, // '\n' Comment, // ; Comment VariableIdentifier, // $var FunctionIdentifier, // my_func /* Literals */ IntegerLiteral, // 123 FloatLi...
41.412698
94
0.542353
3976a580c60f6c867eaa81ee34c727b5c0186dbd
2,118
cxx
C++
STEER/STEERBase/AliGenEposEventHeader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/STEERBase/AliGenEposEventHeader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/STEERBase/AliGenEposEventHeader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
25.518072
76
0.531161
397909e5ff617b46401a0c2a6bf3af3550b1f4c6
344
cpp
C++
Problemset/climbing-stairs/climbing-stairs.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/climbing-stairs/climbing-stairs.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/climbing-stairs/climbing-stairs.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 爬楼梯 (Climbing Stairs) // @Author: Singularity0909 // @Date: 2020-06-11 21:10:10 // @Runtime: 0 ms // @Memory: 5.6 MB class Solution { public: int ans[50] = { 0 }; int climbStairs(int n) { if (n <= 3) return n; return ans[n] ? ans[n] : ans[n] = climbStairs(n - 1) + climb...
19.111111
82
0.52907
397adea56a014b5fc6911d96ffdb6695d6a84410
2,181
hpp
C++
VcppBits/Settings/SettingsException.hpp
faesong/vcppbits
9ad70f8e398110df48e4e2640a06fca09ef994f9
[ "MIT" ]
null
null
null
VcppBits/Settings/SettingsException.hpp
faesong/vcppbits
9ad70f8e398110df48e4e2640a06fca09ef994f9
[ "MIT" ]
null
null
null
VcppBits/Settings/SettingsException.hpp
faesong/vcppbits
9ad70f8e398110df48e4e2640a06fca09ef994f9
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright 2015-2020 Vitalii Minnakhmetov <restlessmonkey@ya.ru> // 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 limi...
34.619048
76
0.727648
397c9213cf3e3a4a6135912c2a1bfeec42dd44f7
51,295
cc
C++
c/test/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc
Patrick-Luo-THR/libsbp
d42e4a1e3cedf6a82b1d993b82e0da148401f80d
[ "MIT" ]
65
2015-03-25T10:28:10.000Z
2022-02-24T12:36:49.000Z
c/test/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc
Patrick-Luo-THR/libsbp
d42e4a1e3cedf6a82b1d993b82e0da148401f80d
[ "MIT" ]
654
2015-03-24T17:43:55.000Z
2022-03-31T21:42:49.000Z
c/test/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc
Patrick-Luo-THR/libsbp
d42e4a1e3cedf6a82b1d993b82e0da148401f80d
[ "MIT" ]
110
2015-03-24T17:38:35.000Z
2022-03-21T02:05:19.000Z
/* * Copyright (C) 2015-2021 Swift Navigation Inc. * Contact: https://support.swiftnav.com * * This source is subject to the license found in the file 'LICENSE' which must * be be distributed together with this source. All other rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
44.838287
80
0.666673
302a65d5a1b2de8810875e5cf049bac9efdda89e
1,680
cpp
C++
S3DWrapper10/Commands/DsSetShaderWithIfaces11_0.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
S3DWrapper10/Commands/DsSetShaderWithIfaces11_0.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
S3DWrapper10/Commands/DsSetShaderWithIfaces11_0.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
3
2021-08-16T00:21:08.000Z
2022-02-23T19:19:36.000Z
#include "stdafx.h" #include "DsSetShaderWithIfaces11_0.h" #include "..\Streamer\CodeGenerator.h" #include "D3DDeviceWrapper.h" #include "ShaderWrapper.h" namespace Commands { void DsSetShaderWithIfaces11_0::UpdateDeviceState( D3DDeviceWrapper *pWrapper, D3DDeviceState* pState ) { pState->DS.m_Shader = this; p...
31.698113
107
0.780952
302aac1280b7be982666485af5edd0c478eac7cd
57,052
cpp
C++
frameworks/compile/slang/slang_rs_object_ref_count.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
frameworks/compile/slang/slang_rs_object_ref_count.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
frameworks/compile/slang/slang_rs_object_ref_count.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* * Copyright 2010, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
36.200508
80
0.552864
302fe2d3f3f102b03543aea9ee36bd7b982fb4a3
8,462
cpp
C++
ConnectOptionDialog.cpp
hyo0913/MQTT-Client-with-QMQTT
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
1
2021-02-10T08:56:12.000Z
2021-02-10T08:56:12.000Z
ConnectOptionDialog.cpp
hyo0913/MQTT-Client-using-qmqtt
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
null
null
null
ConnectOptionDialog.cpp
hyo0913/MQTT-Client-using-qmqtt
d9974d755dcc4f16c1e89b426c45be3854bcdbb5
[ "MIT" ]
null
null
null
#include "ConnectOptionDialog.h" #include "ui_ConnectOptionDialog.h" #include "QFileDialog" #include "QApplication" ConnectOptionDialog::ConnectOptionDialog(QWidget *parent) : QDialog(parent), ui(new Ui::ConnectOptionDialog) { ui->setupUi(this); connect(ui->checkBoxWillFlag, SIGNAL(toggle...
28.979452
110
0.69109
3030085cec3c16ba6b029381746dd0a63baff54c
1,446
cc
C++
test/config_test.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
1
2015-09-22T15:33:30.000Z
2015-09-22T15:33:30.000Z
test/config_test.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
test/config_test.cc
lilialexlee/kit
94492e04832749fcdfb7f9fb8a778bb949d5e7d6
[ "MIT" ]
null
null
null
/* * config_test.cc * */ #include "util/config.h" #include <iostream> int main() { kit::Config config; config.Init("./test/example_conf"); std::string str_value; int ret = config.GetStr("str", &str_value); if (ret == 0) { std::cout << "get str: " << str_value << "\n"; } else { ...
21.909091
53
0.502766
30315f2c2da15598ac8a5ff4725bec76120052dd
2,307
hxx
C++
src/tcl_iface/array.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/tcl_iface/array.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/tcl_iface/array.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
1
2022-01-29T11:54:41.000Z
2022-01-29T11:54:41.000Z
/** * @file * @author Jason Lingle * @brief Makes C automatic/static arrays accessible to trusted Tcl. */ /* * array.hxx * Make C arrays accessible to trusted Tcl. * * Created on: 12.07.2010 * Author: jason */ #ifndef ARRAY_HXX_ #define ARRAY_HXX_ #include <stdexcept> #include <exception> #include "...
24.806452
81
0.647161
30351cdc1536feb813463363d184c60765f63aa0
799
cpp
C++
20-Valid_Parentheses.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
20-Valid_Parentheses.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
20-Valid_Parentheses.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { list<char> stack; for( char c : s ) { switch ( c ) { case '(': case '{': case '[': stack.push_back(c); break; case ')': ...
27.551724
60
0.307885
3037f5e0b45bf4e649a6f55f8b430cc7717b11be
6,782
cc
C++
gnuradio-3.7.13.4/gr-atsc/lib/atsci_trellis_encoder.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-atsc/lib/atsci_trellis_encoder.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-atsc/lib/atsci_trellis_encoder.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2002,2006 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your o...
32.449761
76
0.664406
303880210283d85be75660b6f91578dee964ab52
4,210
cpp
C++
002_disparity_panorama.cpp
DreamVu/Code-Samples
2fccd9e649fbe7d9895df7d799cb1ec33066d1c2
[ "MIT" ]
null
null
null
002_disparity_panorama.cpp
DreamVu/Code-Samples
2fccd9e649fbe7d9895df7d799cb1ec33066d1c2
[ "MIT" ]
null
null
null
002_disparity_panorama.cpp
DreamVu/Code-Samples
2fccd9e649fbe7d9895df7d799cb1ec33066d1c2
[ "MIT" ]
null
null
null
/* CODE SAMPLE # 002: Disparity panorama This code will grab the basic stereo panoramas (left and right images) and ALSO the Disparity panorama, and all these 3 images are displayed in an opencv window >>>>>> Compile this code using the following command.... g++ 002_disparity_panorama.cpp ../lib/libPAL.so `pkg-con...
26.3125
162
0.676485
303cbece338cb8a60e1ccda8430c5e1b98e53dcb
2,493
cpp
C++
src/Common/Instruction_test.cpp
skyzh/RISCV-Simulator
8989a09c357a69b68612f653380d60816f5176c2
[ "MIT" ]
106
2019-07-04T12:20:25.000Z
2022-03-20T10:50:52.000Z
src/Common/Instruction_test.cpp
qshan/RISCV-Simulator
8989a09c357a69b68612f653380d60816f5176c2
[ "MIT" ]
2
2019-07-02T13:38:42.000Z
2019-09-06T02:09:30.000Z
src/Common/Instruction_test.cpp
qshan/RISCV-Simulator
8989a09c357a69b68612f653380d60816f5176c2
[ "MIT" ]
12
2020-01-02T05:41:28.000Z
2022-03-10T11:57:46.000Z
// // Created by Alex Chi on 2019-07-01. // #include "gtest/gtest.h" #include "Instruction.hpp" TEST(Instruction, CorrectSize) { EXPECT_EQ(sizeof(Instruction), 4); } TEST(Instruction, InstructionR) { // 10987654321098765432109876543210 InstructionR inst(0b10101010101010101010101010101010...
34.150685
60
0.69274
303fb3bc53beaf5ea5c43b46203287c27e904f92
13,179
hpp
C++
sources/RenderSystem/spShaderClass.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/RenderSystem/spShaderClass.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/RenderSystem/spShaderClass.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Shader class header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_SHADER_CLASS_H__ #define __SP_SHADER_CLASS_H__ #include "Base/spStandard.hpp" #include "Base/spInputOutput.hpp" #include "Base/spB...
34.865079
131
0.629866
303fd170eef267427715ae2218bd05a1403ec51d
3,942
hpp
C++
examples/accumulator/accumulators/stubs/template_function_accumulator.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
examples/accumulator/accumulators/stubs/template_function_accumulator.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
examples/accumulator/accumulators/stubs/template_function_accumulator.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2012 Hartmut Kaiser // Copyright (c) 2011 Bryce Adelstein-Lelbach // // Distributed under 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) #if !defined(HPX_EXAMPLES_STUBS_TEMPLATE_FUNCTION_ACCUMULATOR_JUL_...
40.22449
94
0.58067
3044e789aeef2de9d1302d7043c1282d0b844e00
7,189
cc
C++
kernel/fat32/fat32_dirent.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
29
2019-12-12T02:30:35.000Z
2022-01-06T17:13:09.000Z
kernel/fat32/fat32_dirent.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
47
2019-12-11T02:34:13.000Z
2020-06-08T19:26:59.000Z
kernel/fat32/fat32_dirent.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
4
2020-12-08T13:46:55.000Z
2022-01-04T20:25:10.000Z
#include "types.h" #include "fat32.hh" static void strip_char(char *buf, char s) { assert(buf); char *lastch = buf; while (*lastch) lastch++; lastch--; while (lastch >= buf && *lastch == s) { *lastch = '\0'; lastch--; } } u32 fat32_dirent::cluster_id() { return ((u32) cluster_id_high << 16u)...
29.829876
169
0.641953
30492562f44dbe9294a88209c703116a098d00bd
7,356
cpp
C++
srm 195 div1/FanFailure.cpp
emiliot/topcoder
c58e105424b484a4e5600bad2c58d664cdcae935
[ "MIT" ]
null
null
null
srm 195 div1/FanFailure.cpp
emiliot/topcoder
c58e105424b484a4e5600bad2c58d664cdcae935
[ "MIT" ]
null
null
null
srm 195 div1/FanFailure.cpp
emiliot/topcoder
c58e105424b484a4e5600bad2c58d664cdcae935
[ "MIT" ]
null
null
null
// Paste me into the FileEdit configuration dialog #include "assert.h" #include "ctype.h" #include "float.h" #include "math.h" #include "stdio.h" #include "string.h" #include "stdlib.h" #include "stdarg.h" #include "time.h" #include "algorithm" #include "numeric" #include "functional" #include "utility" #include "bits...
30.396694
277
0.592577
304ca01da15122c17a533bad4bf5c6afe013c09a
4,046
cpp
C++
OverEngine/src/OverEngine/Scene/Components.cpp
gitter-badger/OverEngine
7ade00f120ccc62804f1bfdeb34daf7e179d33bb
[ "MIT" ]
1
2020-11-24T06:13:34.000Z
2020-11-24T06:13:34.000Z
OverEngine/src/OverEngine/Scene/Components.cpp
gitter-badger/OverEngine
7ade00f120ccc62804f1bfdeb34daf7e179d33bb
[ "MIT" ]
null
null
null
OverEngine/src/OverEngine/Scene/Components.cpp
gitter-badger/OverEngine
7ade00f120ccc62804f1bfdeb34daf7e179d33bb
[ "MIT" ]
null
null
null
#include "pcheader.h" #include "Components.h" namespace OverEngine { SerializationContext* SpriteRendererComponent::Reflect() { static bool initialized = false; static SerializationContext ctx; if (!initialized) { initialized = true; if (!Serializer::GlobalEnumExists("TextureWrapping")) { Seri...
34.87931
173
0.726149
304f206ea3efb19f7470a6edb5116fce5b896372
552
hpp
C++
src/Type.hpp
pawelprazak/jeff-native-agent
1554a8f69d0f0ca719ae5a794564e0e155b82545
[ "Apache-2.0" ]
7
2017-12-10T16:37:18.000Z
2021-01-19T06:33:23.000Z
src/Type.hpp
pawelprazak/jeff-native-agent
1554a8f69d0f0ca719ae5a794564e0e155b82545
[ "Apache-2.0" ]
3
2016-01-13T13:39:50.000Z
2016-02-19T18:08:38.000Z
src/Type.hpp
pawelprazak/jeff-native-agent
1554a8f69d0f0ca719ae5a794564e0e155b82545
[ "Apache-2.0" ]
5
2015-12-08T09:03:10.000Z
2019-07-29T16:13:13.000Z
#ifndef JEFF_NATIVE_AGENT_TYPE_HPP #define JEFF_NATIVE_AGENT_TYPE_HPP #include <jni.h> #include <jvmti.h> #include "Object.hpp" class Type : Object { public: Type(); Type(const std::string signature); virtual ~Type(); private: const std::string signature; public: static const Type *const from...
19.034483
90
0.721014
30513d53b2a1b4498bffe6aa1f399aff96408a17
657
hpp
C++
RainbowNoise/src/Library/ColorTransformer.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
RainbowNoise/src/Library/ColorTransformer.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
RainbowNoise/src/Library/ColorTransformer.hpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* ColorTransformer.hpp the base class for all color transfomers Li-Yi Wei 09/26/2009 */ #ifndef _COLOR_TRANSFORMER_HPP #define _COLOR_TRANSFORMER_HPP #include <vector> using namespace std; class ColorTransformer { public: typedef vector<float> Vector; // each basis vector component can be either...
19.323529
85
0.747336
30534b9793b2207074a3d48925d19d11f017d241
142
cpp
C++
src/app/camera/camera.cpp
JonCG90/Goby
da1bfcea23c058427e6bad1c58f1cd5405fe4c5f
[ "MIT" ]
null
null
null
src/app/camera/camera.cpp
JonCG90/Goby
da1bfcea23c058427e6bad1c58f1cd5405fe4c5f
[ "MIT" ]
null
null
null
src/app/camera/camera.cpp
JonCG90/Goby
da1bfcea23c058427e6bad1c58f1cd5405fe4c5f
[ "MIT" ]
null
null
null
// // camera.cpp // Goby // // Created by Jonathan Graham on 8/18/19. // #include "camera.hpp" namespace Goby { } // namespace Goby
10.142857
42
0.598592
3054fbf14a79cbdc41baa36817c2127adc340035
12,908
cpp
C++
test/diamond_complex.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
1
2018-01-27T23:35:21.000Z
2018-01-27T23:35:21.000Z
test/diamond_complex.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
2
2019-08-17T05:37:36.000Z
2019-08-17T22:57:26.000Z
test/diamond_complex.cpp
rwols/yaml-archive
4afec73e557c15350c5e068c010f4e378edc95ef
[ "BSL-1.0" ]
1
2021-03-19T11:53:53.000Z
2021-03-19T11:53:53.000Z
#include "io_count_fixture.hpp" #include <boost/serialization/export.hpp> #include <boost/serialization/map.hpp> #include <boost/test/unit_test.hpp> #define NVP(name) BOOST_SERIALIZATION_NVP(name) using boost::serialization::make_nvp; namespace { // used to detect when base_diamond class is saved multiple times int d...
29.47032
75
0.68353
305b0147381455dd98f6417efd6da68f5d915c91
2,275
cpp
C++
C++/Brute Force Password Cracker.cpp
CyanCoding/Brute-Force-Password-Cracker
dcc753618e1de8294b118721adca35f87eb2bfe7
[ "MIT" ]
30
2019-02-07T23:41:24.000Z
2022-03-13T15:39:37.000Z
C++/Brute Force Password Cracker.cpp
CyanCoding/Brute-Force-Password-Cracker
dcc753618e1de8294b118721adca35f87eb2bfe7
[ "MIT" ]
3
2020-09-22T19:55:16.000Z
2021-10-01T19:48:13.000Z
C++/Brute Force Password Cracker.cpp
CyanCoding/Brute-Force-Password-Cracker
dcc753618e1de8294b118721adca35f87eb2bfe7
[ "MIT" ]
28
2018-06-08T15:27:03.000Z
2022-02-07T05:40:29.000Z
#include <iostream> #include <string> // to_string #include <iomanip> // setprecision using namespace std; bool stop = false; long long amount = 0; string password; clock_t start; const char Alphabet[62] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', ...
30.333333
311
0.487912
305e00e4be433b098a54686754f91b0d53e16b0f
336
hpp
C++
include/mil/utils/index_sequence.hpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
include/mil/utils/index_sequence.hpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
include/mil/utils/index_sequence.hpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include "detail/index_sequence.hpp" namespace mil { namespace utils { template <std::size_t... Idx> using index_sequnece = detail::index_sequnece<Idx...>; template <std::size_t N> using make_index_sequence = typename detail::make_index_sequence<N>::type; } // namespace utils } /...
18.666667
74
0.738095
305e1854791154a3b617f08dda01e2fada435e2f
4,627
cpp
C++
src/platform/mbino_critical.cpp
tkem/mbino
6fa2251048a8409170602049f29b231c67f5b8fe
[ "Apache-2.0" ]
10
2017-10-06T14:27:03.000Z
2021-11-08T11:18:58.000Z
src/platform/mbino_critical.cpp
tkem/mbino
6fa2251048a8409170602049f29b231c67f5b8fe
[ "Apache-2.0" ]
49
2017-08-12T13:45:55.000Z
2018-12-22T21:35:54.000Z
src/platform/mbino_critical.cpp
tkem/mbino
6fa2251048a8409170602049f29b231c67f5b8fe
[ "Apache-2.0" ]
2
2018-07-15T11:06:47.000Z
2019-05-25T01:10:32.000Z
/* mbino - mbed APIs for the Arduino platform * Copyright (c) 2017, 2018 Thomas Kemmer * * mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 ...
30.846667
118
0.770478
30608a5bc5e5b05a736a10130fb51f16f51e84ee
3,614
cxx
C++
FIT/FITcalib/AliFITCalibTimeEq.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
FIT/FITcalib/AliFITCalibTimeEq.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
FIT/FITcalib/AliFITCalibTimeEq.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors...
31.982301
91
0.57969
30657cd12bea49e681cd2756206affac7f565829
4,202
cpp
C++
src/drive.cpp
sizeofvoid/openbsdisks2
4bc053a9d15f4e367a9f7601e7e506cd3d72bd7c
[ "BSD-3-Clause" ]
7
2021-05-13T07:43:10.000Z
2022-01-09T12:18:48.000Z
src/drive.cpp
sizeofvoid/openbsdisks2
4bc053a9d15f4e367a9f7601e7e506cd3d72bd7c
[ "BSD-3-Clause" ]
null
null
null
src/drive.cpp
sizeofvoid/openbsdisks2
4bc053a9d15f4e367a9f7601e7e506cd3d72bd7c
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2016 Gleb Popov <6yearold@gmail.com> 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 conditions and the f...
24.011429
99
0.694669
3065e0634838c6a4728f0c0528a5fc7a269dc115
675
cpp
C++
src/cbtCore/Rendering/Buffer/cbtBufferLayout.cpp
TypeDefinition/cbtEngine
9ddbc6a5436cc31efc475f6d1c37fade4a003c0d
[ "MIT" ]
null
null
null
src/cbtCore/Rendering/Buffer/cbtBufferLayout.cpp
TypeDefinition/cbtEngine
9ddbc6a5436cc31efc475f6d1c37fade4a003c0d
[ "MIT" ]
null
null
null
src/cbtCore/Rendering/Buffer/cbtBufferLayout.cpp
TypeDefinition/cbtEngine
9ddbc6a5436cc31efc475f6d1c37fade4a003c0d
[ "MIT" ]
null
null
null
// Include CBT #include "cbtBufferLayout.h" NS_CBT_BEGIN cbtU32 GetByteSize(cbtBufferDataType _dataType) { switch (_dataType) { case cbtBufferDataType::CBT_S8: case cbtBufferDataType::CBT_U8: return 1; case cbtBufferDataType::CBT_S16: case cbtBufferD...
24.107143
51
0.6