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
fdd87f7c87c161db0d67467a35259c2bdea6cf86
925
hh
C++
zookeeper/server/auth/ProviderRegistry.hh
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
16
2018-03-05T02:42:00.000Z
2020-11-30T12:57:19.000Z
zookeeper/server/auth/ProviderRegistry.hh
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
1
2021-06-04T03:25:59.000Z
2021-08-06T13:54:28.000Z
zookeeper/server/auth/ProviderRegistry.hh
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
10
2018-03-18T14:33:09.000Z
2021-05-24T05:56:28.000Z
/* * ProviderRegistry.hh * * Created on: 2017-11-22 * Author: cxxjava@163.com */ #ifndef ProviderRegistry_HH_ #define ProviderRegistry_HH_ #include "Efc.hh" #include "ELog.hh" #include "./AuthenticationProvider.hh" namespace efc { namespace ezk { class ProviderRegistry { private: static sp<ELogger> LOG...
19.680851
80
0.696216
cxxjava
fdd8dfe4845d9a3aae325122d7b588d638b2d73f
58,897
cpp
C++
Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp
natiskan/xbox-live-api
9e7e51e0863b5983c2aa334a7b0db579b3bdf1de
[ "MIT" ]
1
2021-08-14T15:37:15.000Z
2021-08-14T15:37:15.000Z
Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp
aspavlov/xbox-live-api
4bec6f92347d0ad6c85463b601821333de631e3a
[ "MIT" ]
null
null
null
Tests/ApiExplorer/APIs/apis_xblc_multiplayer_manager.cpp
aspavlov/xbox-live-api
4bec6f92347d0ad6c85463b601821333de631e3a
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include <atomic> #if HC_PLATFORM_IS_MICROSOFT #pragma warning( push ) #pragma warning( disable : 4365 ) #pragma warning( disable : 4061 ) #pragma warning( disab...
43.887481
205
0.695299
natiskan
fdd906df36bcd2dd4fb90eab4b4e817149c18dea
8,133
cpp
C++
Source/core/rendering/RenderEmbeddedObject.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/core/rendering/RenderEmbeddedObject.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/core/rendering/RenderEmbeddedObject.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 2000 Simon Hausmann <hausmann@kde.org> * (C) 2000 Stefan Schimanski (1Stein@gmx.de) * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * m...
35.515284
209
0.755318
quanganh2627
fdd9b9095728c53706dc0d8905db4f5a41112b19
187,544
cpp
C++
vis_milk2/milkdropfs.cpp
WACUP/vis_milk2
50cbd69c69497f22baa521066e04ee05d5940ea4
[ "BSD-3-Clause" ]
9
2018-11-19T02:46:07.000Z
2022-02-12T18:10:10.000Z
vis_milk2/milkdropfs.cpp
WACUP/vis_milk2
50cbd69c69497f22baa521066e04ee05d5940ea4
[ "BSD-3-Clause" ]
null
null
null
vis_milk2/milkdropfs.cpp
WACUP/vis_milk2
50cbd69c69497f22baa521066e04ee05d5940ea4
[ "BSD-3-Clause" ]
1
2018-11-02T17:32:38.000Z
2018-11-02T17:32:38.000Z
/* LICENSE ------- Copyright 2005-2013 Nullsoft, 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 con...
38.756768
238
0.592426
WACUP
fdda3ea736e8d17de0f4b5bdb405c1941dd32e80
613
cpp
C++
simulator/risc_v/riscv_register/riscv_register.cpp
trexxet/mipt-mips
200bb67dfedf0dd24dd442c4605f9265078c21d8
[ "MIT" ]
10
2021-03-10T13:22:15.000Z
2021-03-12T23:09:42.000Z
simulator/risc_v/riscv_register/riscv_register.cpp
jamzrob/mipt-mips
1ae47ac16967d4132d5f4a2ac486b18147660c16
[ "MIT" ]
null
null
null
simulator/risc_v/riscv_register/riscv_register.cpp
jamzrob/mipt-mips
1ae47ac16967d4132d5f4a2ac486b18147660c16
[ "MIT" ]
null
null
null
/* riscv_register.cpp - RISCV register info class * @author Alexandr Misevich * Copyright 2018 MIPT-MIPS */ #include "riscv_register.h" const RISCVRegister RISCVRegister::zero = RISCVRegister( RISCV_REG_zero); const RISCVRegister RISCVRegister::return_address = RISCVRegister( RISCV_REG_rs); const RISCVRegiste...
32.263158
81
0.786297
trexxet
fddb59fc2dc5b63e3faab1a056f1b269b8dbda41
3,163
cc
C++
tensorflow/compiler/xla/service/cpu/xfeed_manager_test.cc
monokrome/tensorflow
2533ada7dd45b84d60677b8735e013d21044651a
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/cpu/xfeed_manager_test.cc
monokrome/tensorflow
2533ada7dd45b84d60677b8735e013d21044651a
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/cpu/xfeed_manager_test.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...
30.708738
80
0.712298
monokrome
fddbfa631ff1648d3f23422f12ded461ccfb3cc2
701
hpp
C++
lib/STL+/subsystems/subsystems.hpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
3
2018-05-07T19:09:23.000Z
2019-05-03T14:19:38.000Z
deps/stlplus/subsystems/subsystems.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
deps/stlplus/subsystems/subsystems.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
#ifndef STLPLUS_SUBSYSTEMS #define STLPLUS_SUBSYSTEMS //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004 onwards // License: BSD License, see ../docs/licen...
31.863636
80
0.457917
knela96
fddc7e0b7bae285aebbfc63b58bf4e2280f7e362
4,908
cpp
C++
P1/Alumnos/circulomedio.cpp
Ocete/Metodolog-a-de-la-Programaci-n
dd44034904ccb612ce08bab2d304db0801f2cac8
[ "MIT" ]
null
null
null
P1/Alumnos/circulomedio.cpp
Ocete/Metodolog-a-de-la-Programaci-n
dd44034904ccb612ce08bab2d304db0801f2cac8
[ "MIT" ]
null
null
null
P1/Alumnos/circulomedio.cpp
Ocete/Metodolog-a-de-la-Programaci-n
dd44034904ccb612ce08bab2d304db0801f2cac8
[ "MIT" ]
null
null
null
/** @file circulomedio.cpp @brief Calcula círculo con centro en medio de dos círculos y radio la mitad de la distancia @author MP-DGIM - Grupo A @warning Módulo no definitivo (creado para ser modificado) **/ #include <iostream> #include <cmath> // sqrt, M_PI using namespace std; /// Clase Punto class Pun...
25.831579
124
0.658517
Ocete
fddcb14854d8ccc02f73819b19dad0ae822d9237
336
cpp
C++
solved/==coin chage(674).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/==coin chage(674).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/==coin chage(674).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
#include <stdio.h> long ways[7500]; void main() { long value,i,j; const long coin[5] = {50,25,10,5,1}; ways[0] = 1; for (i=0;i<5;i++) for (j=coin[i];j<=7500;j++) ways[j] += ways[j - coin[i]]; while (scanf("%ld",&value)==1) printf("%ld\n",ways[value]) ; ...
17.684211
42
0.434524
goutomroy
fddd61de5b9641c65e7c3337bcf52e6ba4b48a0b
4,818
cc
C++
lmctfy/controllers/eventfd_notifications.cc
adamvduke/lmctfy
c66398571759758ed273675398e4b37091aa7a89
[ "Apache-2.0" ]
null
null
null
lmctfy/controllers/eventfd_notifications.cc
adamvduke/lmctfy
c66398571759758ed273675398e4b37091aa7a89
[ "Apache-2.0" ]
null
null
null
lmctfy/controllers/eventfd_notifications.cc
adamvduke/lmctfy
c66398571759758ed273675398e4b37091aa7a89
[ "Apache-2.0" ]
null
null
null
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
34.661871
80
0.705064
adamvduke
fde00de7afb7446b527feabd06af7024736a0273
178
hpp
C++
include/public/BlackBox/Renderer/ITechniqueManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
include/public/BlackBox/Renderer/ITechniqueManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
include/public/BlackBox/Renderer/ITechniqueManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
#pragma once struct ITechnique; struct ITechniqueManager { virtual ITechnique* get(std::string name) = 0; virtual ITechnique* add(std::string name, ITechnique* tech) = 0; };
22.25
66
0.735955
kovdennik
fde23a2f58f232cd1c8d5269e48c8c7834c7d656
157,163
cpp
C++
src/parser/flex_lexer.cpp
XueQinliang/dbms_homework
8906f195f34c0abbc90b57dfd108a7aea4d83edb
[ "MIT" ]
null
null
null
src/parser/flex_lexer.cpp
XueQinliang/dbms_homework
8906f195f34c0abbc90b57dfd108a7aea4d83edb
[ "MIT" ]
null
null
null
src/parser/flex_lexer.cpp
XueQinliang/dbms_homework
8906f195f34c0abbc90b57dfd108a7aea4d83edb
[ "MIT" ]
null
null
null
#line 2 "flex_lexer.cpp" #line 4 "flex_lexer.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif #ifdef yy_c...
34.824507
130
0.563281
XueQinliang
fde5464a51277b1d31d6f727571fff89b661e231
7,468
cpp
C++
sferes/modules/nn2/test_hyper_nn.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
31
2015-09-20T03:03:29.000Z
2022-01-25T06:50:20.000Z
sferes/modules/nn2/test_hyper_nn.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
1
2016-08-11T07:24:50.000Z
2016-08-17T01:19:57.000Z
sferes/modules/nn2/test_hyper_nn.cpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
10
2015-11-15T01:52:25.000Z
2018-06-11T23:42:58.000Z
//| This file is a part of the sferes2 framework. //| Copyright 2009, ISIR / Universite Pierre et Marie Curie (UPMC) //| Main contributor(s): Jean-Baptiste Mouret, mouret@isir.fr //| //| This software is a computer program whose purpose is to facilitate //| experiments in evolutionary computation and evolutionary robot...
30.987552
89
0.670059
Evolving-AI-Lab
fde5aa632de074ec9507e59b3105a6d69646067a
9,335
cpp
C++
src/mbgl/style/style_impl.cpp
truthiswill/mapbox-gl-native
d0a1526a94dd596e02306ae8c3638ca58e24a323
[ "BSL-1.0", "Apache-2.0" ]
2
2019-04-18T21:25:22.000Z
2019-04-18T21:25:24.000Z
src/mbgl/style/style_impl.cpp
whitemike889/mapbox-gl-native
d0a1526a94dd596e02306ae8c3638ca58e24a323
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/style/style_impl.cpp
whitemike889/mapbox-gl-native
d0a1526a94dd596e02306ae8c3638ca58e24a323
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <mbgl/style/style_impl.hpp> #include <mbgl/style/observer.hpp> #include <mbgl/style/source_impl.hpp> #include <mbgl/style/layers/symbol_layer.hpp> #include <mbgl/style/layers/custom_layer.hpp> #include <mbgl/style/layers/background_layer.hpp> #include <mbgl/style/layers/fill_layer.hpp> #include <mbgl/style/lay...
26.824713
103
0.662775
truthiswill
fde88f5bda0437ba3ee845d40c9852605d585565
1,879
hpp
C++
plugins/ExtraPropagatorsPlugin/src/base/factory/ExtraPropagatorFactory.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/ExtraPropagatorsPlugin/src/base/factory/ExtraPropagatorFactory.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
plugins/ExtraPropagatorsPlugin/src/base/factory/ExtraPropagatorFactory.hpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//$Id: ExtraPropagatorFactory.hpp,v 1.1 2008/07/03 19:15:33 djc Exp $ //------------------------------------------------------------------------------ // ExtraPropagatorFactory //------------------------------------------------------------------------------ // GMAT: General Mission Analysis T...
32.396552
80
0.621607
IncompleteWorlds
fde9eee03eeb6f473829260cb8843f49c5fcd53d
1,874
hpp
C++
pythran/pythonic/include/utils/iterator.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/utils/iterator.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/utils/iterator.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_UTILS_ITERATOR_HPP #define PYTHONIC_INCLUDE_UTILS_ITERATOR_HPP namespace pythonic { namespace utils { template <class T> struct comparable_iterator : T { comparable_iterator(); comparable_iterator(T const &t); bool operator<(comparable_iterator<T> other); };...
27.15942
77
0.639274
xmar
fdeb54e1c637016c4a210a89105ba798d920bd8c
4,991
cc
C++
thirdparty/splines/src/SplineBiQuintic.cc
elix22/GPlayEngine
5b73da393ddfc30905dcaca678a62d642b7d8912
[ "Apache-2.0" ]
175
2018-06-26T04:40:00.000Z
2022-03-31T11:15:57.000Z
thirdparty/splines/src/SplineBiQuintic.cc
elix22/GPlayEngine
5b73da393ddfc30905dcaca678a62d642b7d8912
[ "Apache-2.0" ]
11
2018-07-07T14:58:21.000Z
2020-09-09T11:44:25.000Z
thirdparty/splines/src/SplineBiQuintic.cc
elix22/GPlayEngine
5b73da393ddfc30905dcaca678a62d642b7d8912
[ "Apache-2.0" ]
42
2018-07-23T10:05:27.000Z
2021-12-05T22:26:25.000Z
/*--------------------------------------------------------------------------*\ | | | Copyright (C) 2016 | | | | ...
40.577236
78
0.347425
elix22
fdec27847fd91c4c5b7588a12a7dee288c084793
848
cpp
C++
test/test_float.cpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
test/test_float.cpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
test/test_float.cpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2012 Robert Ramey // // 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) // testing floating point // this is a compile only test - but since many build systems // can't handle a compile-only test...
22.918919
68
0.629717
janisozaur
fdf0fa1d49599f577183ca4f392c5daa0e4d1676
8,367
hh
C++
gazebo/physics/Actor.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
8
2015-07-02T08:23:30.000Z
2020-11-17T19:00:38.000Z
gazebo/physics/Actor.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/physics/Actor.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
10
2015-04-22T18:33:15.000Z
2021-11-16T10:17:45.000Z
/* * Copyright 2012 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
34.57438
80
0.594239
thomas-moulard
fdf1d661f8f8bfeb1556b63da2e344d6f3cab9d6
47
cpp
C++
out.cpp
Hubear-MUC/File-access
67dc59c7ead3ce1df47989a6b188dc7062a6aa73
[ "MIT" ]
null
null
null
out.cpp
Hubear-MUC/File-access
67dc59c7ead3ce1df47989a6b188dc7062a6aa73
[ "MIT" ]
null
null
null
out.cpp
Hubear-MUC/File-access
67dc59c7ead3ce1df47989a6b188dc7062a6aa73
[ "MIT" ]
null
null
null
void out(int v) { printf ("out: %d\n", v); }
9.4
26
0.489362
Hubear-MUC
fdf42d457833e1f0d4d185ff0b3780a7b4e7c7e6
311
cpp
C++
code/11.maxArea.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/11.maxArea.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/11.maxArea.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: int maxArea(vector<int>& height) { int res = 0; for (int i = 0, j = height.size() - 1; i < j;) { res = max(res, min(height[i], height[j]) * (j - i)); if (height[i] > height[j]) j--; else i++; } return res; } };
25.916667
64
0.424437
T1mzhou
fdf555e7f4041f2e45261485729b7426387b80e6
3,908
cc
C++
test/extensions/filters/listener/original_src/original_src_socket_option_test.cc
bianpengyuan/envoy
925810d00b0d3095a8e67fd4e04e0f597ed188bb
[ "Apache-2.0" ]
1
2019-02-14T01:02:29.000Z
2019-02-14T01:02:29.000Z
test/extensions/filters/listener/original_src/original_src_socket_option_test.cc
bianpengyuan/envoy
925810d00b0d3095a8e67fd4e04e0f597ed188bb
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/listener/original_src/original_src_socket_option_test.cc
bianpengyuan/envoy
925810d00b0d3095a8e67fd4e04e0f597ed188bb
[ "Apache-2.0" ]
null
null
null
#include "envoy/network/address.h" #include "common/network/utility.h" #include "extensions/filters/listener/original_src/original_src_socket_option.h" #include "test/mocks/common.h" #include "test/mocks/network/mocks.h" #include "test/test_common/printers.h" #include "test/test_common/test_base.h" #include "gmock/...
35.527273
99
0.746929
bianpengyuan
fdf57738ac5597964b420620738d4d9bd40ce2d3
2,112
cpp
C++
Samples/XamlListView/cppwinrt/Item.cpp
ayhrgr/Windows-universal-samples
7b34a9f7613be0c5316428426dfc6df8ce657f02
[ "MIT" ]
1
2022-03-21T20:16:53.000Z
2022-03-21T20:16:53.000Z
Samples/XamlListView/cppwinrt/Item.cpp
sanskarjain2110/Windows-universal-samples
7b34a9f7613be0c5316428426dfc6df8ce657f02
[ "MIT" ]
null
null
null
Samples/XamlListView/cppwinrt/Item.cpp
sanskarjain2110/Windows-universal-samples
7b34a9f7613be0c5316428426dfc6df8ce657f02
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
43.102041
106
0.607008
ayhrgr
fdf6ab77ec4a1da5e23eb8942f1a09482429c944
1,679
cpp
C++
doom_py/examples/c++/CIG.cpp
xakiru/doom-py
85ada06dc9603e2f0768a06e4fcae637cf1c3931
[ "MIT" ]
78
2016-05-08T19:20:58.000Z
2022-01-17T22:40:25.000Z
doom_py/examples/c++/CIG.cpp
xakiru/doom-py
85ada06dc9603e2f0768a06e4fcae637cf1c3931
[ "MIT" ]
15
2016-05-10T19:15:31.000Z
2021-09-30T22:18:32.000Z
doom_py/examples/c++/CIG.cpp
xakiru/doom-py
85ada06dc9603e2f0768a06e4fcae637cf1c3931
[ "MIT" ]
42
2016-05-08T19:19:40.000Z
2021-09-19T06:53:08.000Z
#include "ViZDoom.h" #include <iostream> #include <vector> using namespace vizdoom; int main(){ std::cout << "\n\nCIG EXAMPLE\n\n"; DoomGame* game = new DoomGame(); // Use CIG example config or Your own. game->loadConfig("../../examples/config/cig.cfg"); // Select game and map You want to use...
29.982143
124
0.591423
xakiru
fdf6cf8e102b6b61a14ba7d10363a1e656798d9d
900
hpp
C++
Raspberrypi/module/src/frame_stacker.hpp
Dimsmary/MisakaImoto
fce04bd06d58e5b07fb134fd57703984cbb06278
[ "MIT" ]
12
2020-08-07T02:29:17.000Z
2022-03-14T04:26:15.000Z
Raspberrypi/module/src/frame_stacker.hpp
Dimsmary/MisakaImoto
fce04bd06d58e5b07fb134fd57703984cbb06278
[ "MIT" ]
1
2020-10-31T04:32:35.000Z
2020-10-31T04:32:35.000Z
Raspberrypi/module/src/frame_stacker.hpp
Dimsmary/MisakaImoto
fce04bd06d58e5b07fb134fd57703984cbb06278
[ "MIT" ]
2
2020-10-09T01:45:59.000Z
2022-01-20T03:23:07.000Z
// // Created by 79937 on 2020/7/31. // #ifndef DISPLAYIMAGE_FRAME_STACKER_HPP #define DISPLAYIMAGE_FRAME_STACKER_HPP #include <opencv2/opencv.hpp> using namespace std; class frame_stacker { string text; int times; // 文字属性 bool back_ground; int font_face; double font_scale; int thickn...
18.367347
44
0.612222
Dimsmary
fdfe91942acaa7a4bfdbddf7e54cbd8c24bdfb8a
4,547
cc
C++
lib/sk/util/performance/ArrayListBenchmarker.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/util/performance/ArrayListBenchmarker.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/util/performance/ArrayListBenchmarker.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* vim: set sw=2: * Copyright (c) 2009, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. * * Author: Gennady Bystritsky */ #include <sk/util/Class.h> #include <sk/util/String.h...
31.358621
111
0.693424
stemkit-collection
a900104be6ac2180d291ed7c8d67847209f2210f
38,941
cpp
C++
admin/wmi/wbem/policman/provider/policsom.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/policman/provider/policsom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/policman/provider/policsom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include <unk.h> #include <wbemcli.h> #include <wbemprov.h> #include <atlbase.h> #include <sync.h> #include <activeds.h> #include <genlex.h> #include <objpath.h> #include <Utility.h> #include <ql.h> #include "PolicSOM.h" #ifdef TIME_TRIALS #include <StopWatch.h> #pragma message("!! Including time trial...
29.931591
138
0.542205
npocmaka
a9042ca77d5da4197c4374c76cc8f7b4d756e192
7,298
cc
C++
source/extensions/stat_sinks/metrics_service/grpc_metrics_service_impl.cc
cmboling/envoy
1b49ba4fc7969ad3d5bc246521124f3a686c2961
[ "Apache-2.0" ]
null
null
null
source/extensions/stat_sinks/metrics_service/grpc_metrics_service_impl.cc
cmboling/envoy
1b49ba4fc7969ad3d5bc246521124f3a686c2961
[ "Apache-2.0" ]
null
null
null
source/extensions/stat_sinks/metrics_service/grpc_metrics_service_impl.cc
cmboling/envoy
1b49ba4fc7969ad3d5bc246521124f3a686c2961
[ "Apache-2.0" ]
null
null
null
#include "extensions/stat_sinks/metrics_service/grpc_metrics_service_impl.h" #include <chrono> #include "envoy/common/exception.h" #include "envoy/event/dispatcher.h" #include "envoy/service/metrics/v3/metrics_service.pb.h" #include "envoy/stats/histogram.h" #include "envoy/stats/stats.h" #include "envoy/upstream/clu...
44.230303
100
0.693478
cmboling
a9093c1454f86d5127d40f0fbcf135adbe69a5e0
868
cpp
C++
coursework/os/code/src/emsh/login.cpp
huaouo/history_code
475193986caf025c9569fb0690a12bed0cf630b4
[ "MIT" ]
null
null
null
coursework/os/code/src/emsh/login.cpp
huaouo/history_code
475193986caf025c9569fb0690a12bed0cf630b4
[ "MIT" ]
null
null
null
coursework/os/code/src/emsh/login.cpp
huaouo/history_code
475193986caf025c9569fb0690a12bed0cf630b4
[ "MIT" ]
1
2021-01-29T08:31:26.000Z
2021-01-29T08:31:26.000Z
#include <iostream> #include "login.h" #include "util.h" namespace emsh { REPL login() { UserConf conf = UserConf::load(); size_t attempts = 0; std::string username; do { std::cout << "Username: "; std::getline(std::cin, username); std::string password; std::cout << "Password: "; set_st...
22.842105
68
0.638249
huaouo
a90acb810d4fcbe0a478d46ecd384cd145f94b87
7,511
cpp
C++
examples/syntax_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
106
2015-01-20T14:49:12.000Z
2022-03-09T01:31:51.000Z
examples/syntax_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
81
2015-02-23T23:23:41.000Z
2021-07-21T13:51:56.000Z
examples/syntax_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
27
2015-09-30T20:33:34.000Z
2022-02-14T04:00:08.000Z
// Copyright 2011 The Kyua Authors. // 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 conditio...
35.597156
79
0.695247
0mp
a90b2eeab579be875757b2d10642f63e87aecb92
766
cpp
C++
LeetCode/[Practice Problems]/string_to_integer.cpp
Alecs-Li/Competitive-Programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
1
2021-07-06T02:14:03.000Z
2021-07-06T02:14:03.000Z
LeetCode/[Practice Problems]/string_to_integer.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
LeetCode/[Practice Problems]/string_to_integer.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
class Solution { public: int myAtoi(string s) { if(s.length() == 0){ return 0; } int i = 0; while(s[i] == ' '){ i++; } bool isPositive = true; if(s[i] == '-' || s[i] == '+'){ isPositive = (s[i] == '+' ? true : false...
23.212121
74
0.314621
Alecs-Li
a90d107f32d0658e18bcae416008ec3b43ecbd8b
36,685
cc
C++
src/content/browser/accessibility/browser_accessibility.cc
yang-guangliang/osv-free
b81fee48bc8898fdc641a2e3c227957ed7e6445e
[ "Apache-2.0" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
src/content/browser/accessibility/browser_accessibility.cc
yang-guangliang/osv-free
b81fee48bc8898fdc641a2e3c227957ed7e6445e
[ "Apache-2.0" ]
null
null
null
src/content/browser/accessibility/browser_accessibility.cc
yang-guangliang/osv-free
b81fee48bc8898fdc641a2e3c227957ed7e6445e
[ "Apache-2.0" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.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 "content/browser/accessibility/browser_accessibility.h" #include <stddef.h> #include <algorithm> #include <iterator> #include "base/loggin...
31.354701
80
0.713234
yang-guangliang
a90eacea464423f61a2392da908c426498297c50
547
cpp
C++
LeetCode/cpp/1022.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/1022.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/1022.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { int mod = static_cast<int>(pow(10, 9) + 7); public: int sumRootToLeaf(TreeNode *root) { if (!root) return 0; return Sum(root, 0); } int Sum(TreeNode *node, int &&curr) { int sum = 0; if (!node->left && !node->right) return curr * ...
27.35
64
0.478976
ZintrulCre
a912cb3de06ece7074ba89e3c9c78b88cca9ffce
23,413
cpp
C++
libpvkernel/src/rush/PVFormat.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormat.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormat.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
// // MIT License // // © ESI Group, 2015 // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, pu...
35.367069
124
0.589715
inendi-inspector
a9144340c55da1ee5ac719b5bd19229b7e7e4de9
400
hpp
C++
Paramedic.hpp
reutKeyshawn/Ex4_cpp
776e40a9456c56beffe1253366a1448794aaeea5
[ "MIT" ]
null
null
null
Paramedic.hpp
reutKeyshawn/Ex4_cpp
776e40a9456c56beffe1253366a1448794aaeea5
[ "MIT" ]
null
null
null
Paramedic.hpp
reutKeyshawn/Ex4_cpp
776e40a9456c56beffe1253366a1448794aaeea5
[ "MIT" ]
null
null
null
#ifndef PARAMEDIC_H_ #define PARAMEDIC_H_ #pragma once #include <vector> #include "Soldier.hpp" class Paramedic : public Soldier { public: Paramedic(uint player_id, uint health_points = 100, uint damage = 0) : Soldier{player_id, health_points, damage} {} Paramedic(); void attack(std::vector<std::vector<...
20
119
0.6925
reutKeyshawn
a914f78ded8efc652df69f547236d0656af8299d
2,904
cpp
C++
tests/common/test_utils.cpp
EDCBlockchain/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
12
2019-10-31T13:24:21.000Z
2021-12-29T22:02:22.000Z
tests/common/test_utils.cpp
DONOVA28/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
null
null
null
tests/common/test_utils.cpp
DONOVA28/blockchain
41c74b981658d79d770b075191cfb14faeb84dab
[ "MIT" ]
11
2019-07-24T12:46:29.000Z
2021-11-27T04:41:48.000Z
#include "test_utils.hpp" using namespace graphene; using namespace graphene::chain; std::map<string, account_object> accounts_map; void create_test_account(account_test_in& new_account, database_fixture &db) { account_object parent = db.get_account_by_name(new_account.parent); db.create_account(new_account.na...
44.676923
154
0.708678
EDCBlockchain
a9159700b3f57730e4cd99862cd799ea5b30d941
7,910
cc
C++
components/mirroring/service/remoting_sender.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
components/mirroring/service/remoting_sender.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/mirroring/service/remoting_sender.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 2018 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 "components/mirroring/service/remoting_sender.h" #include <algorithm> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/...
35
80
0.721113
zealoussnow
a919a17eb9dea0b910e13ce4c651632b78045bd3
355
hpp
C++
Libraries/Networking/SimpleSocket.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Networking/SimpleSocket.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Networking/SimpleSocket.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { class TcpSocket; class SimpleSocket : public Component { public: ZilchDeclareType(SimpleSocket, TypeCopyMode::ReferenceType); /// Constructor. SimpleSocket(); /// Returns the socket. TcpSocket* GetSocket(); private: /// Socket. TcpSocke...
13.653846
62
0.704225
RyanTylerRae
a91bad7f09494e5494c46e01cc7f92e2e23c03c4
4,843
cxx
C++
Src/Neill3d_Archive/impexp_csv/orimpexpcsv.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
53
2018-04-21T14:16:46.000Z
2022-03-19T11:27:37.000Z
Src/Neill3d_Archive/impexp_csv/orimpexpcsv.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
6
2019-06-05T16:37:29.000Z
2021-09-20T07:17:03.000Z
Src/Neill3d_Archive/impexp_csv/orimpexpcsv.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
10
2019-02-22T18:43:59.000Z
2021-09-02T18:53:37.000Z
///////////////////////////////////////////////////////////////////////////////////////// // // Licensed under the "New" BSD License. // License page - https://github.com/Neill3d/MoBu/blob/master/LICENSE // // GitHub repository - https://github.com/Neill3d/MoBu // // Author Sergey Solohin (Neill3d) 2014 // e-mail ...
34.347518
141
0.686145
musterchef
a91bdf3c907f1b05ceac3e91bc799571a40e70fe
6,772
cpp
C++
Engine/Source/Runtime/Online/OnlineSubsystemUtils/Private/OnlineBeaconClient.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Online/OnlineSubsystemUtils/Private/OnlineBeaconClient.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Online/OnlineSubsystemUtils/Private/OnlineBeaconClient.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "OnlineSubsystemUtilsPrivatePCH.h" #include "OnlineBeaconClient.h" #include "OnlineBeaconHost.h" #include "Net/DataChannel.h" #include "Net/UnrealNetwork.h" #define BEACON_RPC_TIMEOUT 15.0f AOnlineBeaconClient::AOnlineBeaconClient(const FObjectIni...
28.216667
210
0.746899
PopCap
a92065d6fb3ad6ff3bf499a044dfe5fe25749b7d
7,689
cpp
C++
scene/2d/collision_shape_2d.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
scene/2d/collision_shape_2d.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
scene/2d/collision_shape_2d.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
1
2019-01-13T00:44:17.000Z
2019-01-13T00:44:17.000Z
/*************************************************************************/ /* collision_shape_2d.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
31.129555
223
0.658343
literaldumb
a92090f2e5b864247e7207e44069aa51af36bd69
3,830
cxx
C++
private/security/msv_sspi/support.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/security/msv_sspi/support.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/security/msv_sspi/support.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/*++ Copyright (c) 1987-1993 Microsoft Corporation Module Name: debug.cxx Abstract: Support routines allowing the NtLmSsp DLL side use the common routines shared between the DLL and the SERVICE. These routines exist in the DLL side. They are different implementations of the sam...
23.9375
83
0.52141
King0987654
a9309be7bea47b45b163f986ae31b8a9ab538656
1,408
cpp
C++
task5.1/Interface.cpp
fobo66/OOPLabs
795495766e42c6b46ab0ab70c938f3498eb851d6
[ "MIT" ]
null
null
null
task5.1/Interface.cpp
fobo66/OOPLabs
795495766e42c6b46ab0ab70c938f3498eb851d6
[ "MIT" ]
2
2017-04-17T19:05:22.000Z
2017-05-25T15:03:22.000Z
task5.1/Interface.cpp
fobo66/OOPLabs
795495766e42c6b46ab0ab70c938f3498eb851d6
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Interface.h" #include "MenuItem.h" template<class T> void Interface<T>::work(T & param) { std::multimap<const int, T> tree; int choice; int key; std::string choiceString = "Choose: \n1 - Add \n2 - Find \n3 - View \n4 - Delete \n5 - Clear \n0 - Quit\n"; while (true) { Validat...
23.466667
85
0.601563
fobo66
a932ba1f171b9f8d796f7f967b71e2816b956c80
286
cc
C++
template/src/__name__.cc
thlorenz/nad
3107040b9b3539d028526f890b3fcd225715c584
[ "MIT" ]
54
2015-01-17T21:47:23.000Z
2021-05-07T15:44:45.000Z
template/src/__name__.cc
thlorenz/nad
3107040b9b3539d028526f890b3fcd225715c584
[ "MIT" ]
4
2015-01-21T14:40:03.000Z
2015-08-12T10:38:47.000Z
template/src/__name__.cc
thlorenz/nad
3107040b9b3539d028526f890b3fcd225715c584
[ "MIT" ]
8
2015-03-08T23:58:04.000Z
2018-03-02T08:04:57.000Z
#include <nan.h> using namespace v8; NAN_METHOD({{ Name }}) { NanScope(); NanReturnValue(NanNew("{{ name }} says hello")); } void init_{{ name }}(v8::Handle<v8::Object> exports) { NODE_SET_METHOD(exports, "{{ name }}", {{ Name }}); } NODE_MODULE({{ name }}, init_{{ name }})
17.875
54
0.601399
thlorenz
a933417ada09c9b23cfe99a06ca2bc587e30022c
15,884
hpp
C++
src/modelinstance.hpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
src/modelinstance.hpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
src/modelinstance.hpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2020-2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
29.634328
165
0.629942
ryanloney
a9394edd9e70351f2d5e23665fdbb1fb257571a2
2,028
cpp
C++
source/x86/source_moss/kernel/graphics/gui/button.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
2
2020-04-02T14:00:33.000Z
2021-06-29T05:50:30.000Z
source/x86/source_moss/kernel/graphics/gui/button.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
source/x86/source_moss/kernel/graphics/gui/button.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
#include "button.hpp" #include "../../../mossc/cstdio" #include "../../input/mouse.hpp" #include "../../kernel.hpp" #include "../vesa/controller.hpp" #include "../vesa/framebuffer.hpp" #include "../color.hpp" namespace MOSS { namespace Graphics { namespace GUI { namespace Buttons { ButtonBase::But...
28.971429
161
0.701677
imallett
a93a1419994149a8225cdebe31997407be8489c3
8,217
cpp
C++
src/mandelbrot/mandelbrot_avx/mandelbrot_avx.cpp
mrange/benchmarksgame
f091eeea3616cee50d3c8e74c5eabb85a146c3d0
[ "Apache-2.0" ]
null
null
null
src/mandelbrot/mandelbrot_avx/mandelbrot_avx.cpp
mrange/benchmarksgame
f091eeea3616cee50d3c8e74c5eabb85a146c3d0
[ "Apache-2.0" ]
null
null
null
src/mandelbrot/mandelbrot_avx/mandelbrot_avx.cpp
mrange/benchmarksgame
f091eeea3616cee50d3c8e74c5eabb85a146c3d0
[ "Apache-2.0" ]
2
2017-09-14T07:12:32.000Z
2019-12-24T18:17:36.000Z
// ---------------------------------------------------------------------------------------------- // Copyright 2017 Mårten Rånge // // 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 // // ...
26.852941
119
0.525618
mrange
a93a7c18302add97a87fb0535861d01dbc393c7b
187
cc
C++
test/check_file.cc
respu/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
2
2015-11-05T09:08:04.000Z
2016-02-09T23:26:00.000Z
test/check_file.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
test/check_file.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
/* This is free and unencumbered software released into the public domain. */ #include "catch.hpp" #include <posix++/file.h> /* for posix::file */ TEST_CASE("test_file") { // TODO }
18.7
77
0.673797
respu
a93d5cf7eacba3a889afe36d6112ca1f1ffee7fe
6,599
cpp
C++
liballofw/src/math.cpp
donghaoren/AllofwModule
4367327cda0605aad53469294ed8751f8befbdc3
[ "Unlicense" ]
3
2016-05-04T23:23:48.000Z
2021-08-03T21:48:07.000Z
liballofw/src/math.cpp
donghaoren/AllofwModule
4367327cda0605aad53469294ed8751f8befbdc3
[ "Unlicense" ]
null
null
null
liballofw/src/math.cpp
donghaoren/AllofwModule
4367327cda0605aad53469294ed8751f8befbdc3
[ "Unlicense" ]
2
2016-01-31T04:06:51.000Z
2016-09-30T16:38:36.000Z
#include "allofw/math/matrix.h" #include <iostream> using namespace std; ALLOFW_NS_BEGIN #define M3(x, y) ((y) * 3 + (x)) // Column-major order. #define M4(x, y) ((y) * 4 + (x)) // Column-major order. namespace internal { template<typename number_t> inline void matrix_inversion_3x3(const number_t* data, nu...
38.590643
109
0.340355
donghaoren
a93e7e38d09c4d0825d4f25aa5df75f13d4dca5f
30,567
cpp
C++
applications/mne_browse/Windows/mainwindow.cpp
liminsun/mne-cpp
c5de865281164cf1867450c9705b21c9ac1b5cd7
[ "BSD-3-Clause" ]
null
null
null
applications/mne_browse/Windows/mainwindow.cpp
liminsun/mne-cpp
c5de865281164cf1867450c9705b21c9ac1b5cd7
[ "BSD-3-Clause" ]
null
null
null
applications/mne_browse/Windows/mainwindow.cpp
liminsun/mne-cpp
c5de865281164cf1867450c9705b21c9ac1b5cd7
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file mainwindow.cpp * @author Florian Schlembach <florian.schlembach@tu-ilmenau.de>; * Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu...
42.810924
208
0.623516
liminsun
a93f415519910387fdc4aeb93ac21d41ac3140ad
2,790
cpp
C++
Source/Engine/ING/Source/ING/Resource/Manager/Manager.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
2
2022-01-21T04:03:55.000Z
2022-03-19T08:54:00.000Z
Source/Engine/ING/Source/ING/Resource/Manager/Manager.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
null
null
null
Source/Engine/ING/Source/ING/Resource/Manager/Manager.cpp
n-c0d3r/ING
f858c973e1b31ffc6deb324fa52eda6323d2c165
[ "MIT" ]
null
null
null
/** * Include Header */ #include "Manager.h" /** * Include FStream */ #include <fstream> /** * Include File System */ #include <filesystem> /** * Include Coder */ #include <ING/Coder/Coder.h> /** * Include Debug */ #include <ING/_Debug/Debug.h> /** * Include Engine */ #include <ING/Engine/En...
12.857143
107
0.645161
n-c0d3r
a9417e99857f34cd3456663b0047cd710756e0db
2,604
cpp
C++
moai/src/uslscore/USRhombus.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/uslscore/USRhombus.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/uslscore/USRhombus.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <uslscore/USBox.h> #include <uslscore/USPlane.h> #include <uslscore/USRhombus.h> //================================================================// // USRhombus //=====================================...
24.8
68
0.49424
jjimenezg93
a9431716c39b347bc03eba3eb71951e84f694ab1
3,184
hpp
C++
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/occlusion_spot/risk_predictive_braking.hpp
loop-perception/AutowareArchitectureProposal.iv
5d8dff0db51634f0c42d2a3e87ca423fbee84348
[ "Apache-2.0" ]
1
2022-03-09T05:53:04.000Z
2022-03-09T05:53:04.000Z
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/occlusion_spot/risk_predictive_braking.hpp
loop-perception/AutowareArchitectureProposal.iv
5d8dff0db51634f0c42d2a3e87ca423fbee84348
[ "Apache-2.0" ]
4
2022-01-07T21:21:04.000Z
2022-03-14T21:25:37.000Z
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/include/scene_module/occlusion_spot/risk_predictive_braking.hpp
loop-perception/AutowareArchitectureProposal.iv
5d8dff0db51634f0c42d2a3e87ca423fbee84348
[ "Apache-2.0" ]
2
2021-03-09T00:20:39.000Z
2021-04-16T10:23:36.000Z
// Copyright 2021 Tier IV, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
39.8
97
0.784234
loop-perception
a9468db514386f2fd8db369e0fc960638e88e954
857
cpp
C++
basic/14_class/kelas.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
23
2021-09-10T00:08:48.000Z
2022-03-24T16:09:30.000Z
basic/14_class/kelas.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
20
2021-09-21T15:34:21.000Z
2021-11-28T18:52:10.000Z
basic/14_class/kelas.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
27
2021-09-10T02:35:56.000Z
2022-01-24T10:46:06.000Z
#include <iostream> // membuat kelas persegi class Persegi{ // membuat akses // berupa publik sehingga bisa diakses // diluar kelas public: double panjang; double lebar; }; int main(){ // deklarasi objek baru dari kelas Persegi persegi1; Persegi persegi2; // membuat variabel hasil double ha...
19.477273
50
0.679113
khairanabila
a946e466ad3a0d7381ebe09104c7f1c54e369037
6,899
hpp
C++
pabst/gui_spectator.hpp
ltac/ltmf-campus-martius.clafghan
756e60b022fec52f599c86bb6f4eff63dbbdff20
[ "Unlicense" ]
null
null
null
pabst/gui_spectator.hpp
ltac/ltmf-campus-martius.clafghan
756e60b022fec52f599c86bb6f4eff63dbbdff20
[ "Unlicense" ]
1
2017-03-03T07:10:34.000Z
2017-03-03T07:10:34.000Z
pabst/gui_spectator.hpp
ltac/ltmf-campus-martius.clafghan
756e60b022fec52f599c86bb6f4eff63dbbdff20
[ "Unlicense" ]
null
null
null
class PABST_SPECT_dialog { idd = 6969; movingEnable = 1; enableSimulation = 1; enableDisplay = 1; onLoad = "uiNamespace setVariable ['PABST_SPECT_theDialog', _this select 0];"; duration = 2147483647; fadein = 0; fadeout = 0; onKeyDown = "['key', true, _this] call PABST_SPECT_UI_onKeyAction"; onKeyUp = "['ke...
28.626556
79
0.559356
ltac
a9471e4452301d3e8d3b5eb86bd1b569d2476759
482
cc
C++
Source/chrome/net/ssl/openssl_platform_key_nss.cc
yury-s/v8-inspector
0ab4779e0909d387f243f41ca2621237cdb0c7fe
[ "BSD-3-Clause" ]
20
2015-08-26T06:46:00.000Z
2019-02-27T09:05:58.000Z
Source/chrome/net/ssl/openssl_platform_key_nss.cc
yury-s/v8-inspector
0ab4779e0909d387f243f41ca2621237cdb0c7fe
[ "BSD-3-Clause" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/net/ssl/openssl_platform_key_nss.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.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 "base/logging.h" #include "net/ssl/openssl_platform_key.h" namespace net { crypto::ScopedEVP_PKEY FetchClientCertPrivateKey( const X509Cert...
26.777778
76
0.748963
yury-s
a947f7efe9ba7f159fa6e89c06cf9817fee8d7db
19,361
cpp
C++
test/bridge/ActiveMediaListTest.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
test/bridge/ActiveMediaListTest.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
test/bridge/ActiveMediaListTest.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
#include "bridge/engine/ActiveMediaList.h" #include "bridge/engine/EngineAudioStream.h" #include "bridge/engine/EngineVideoStream.h" #include "bridge/engine/SimulcastStream.h" #include "jobmanager/JobManager.h" #include "nlohmann/json.hpp" #include "test/bridge/ActiveMediaListTestLevels.h" #include "test/bridge/DummyRt...
37.090038
118
0.725944
danielgronberg
a94e3402188c5dd78e49d572caaad92025207163
1,820
cpp
C++
zebROS_ws/src/rosbag_scripts/src/rename_frame_id.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
2
2020-01-15T16:37:50.000Z
2020-01-15T16:39:31.000Z
zebROS_ws/src/rosbag_scripts/src/rename_frame_id.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
6
2019-08-30T00:06:15.000Z
2020-02-29T17:02:18.000Z
zebROS_ws/src/rosbag_scripts/src/rename_frame_id.cpp
mattwalstra/2019RobotCode
44f2543876b95428a68dc84820f931571244e49d
[ "BSD-3-Clause" ]
3
2019-10-29T01:13:09.000Z
2022-01-14T21:53:06.000Z
#include <rosbag/bag.h> #include <rosbag/view.h> #include <sensor_msgs/LaserScan.h> #include <iostream> #include <std_msgs/Int32.h> #include <boost/foreach.hpp> #define foreach BOOST_FOREACH int main() { rosbag::Bag read_bag; read_bag.open("_2018-11-03-11-08-20.bag.active", rosbag::bagmode::Read); std::vector<senso...
26.764706
100
0.715934
mattwalstra
a94eadd6928a8d7da4d8a43255b50584aef29a44
1,264
cc
C++
src/block.cc
enteisuper/Tetris-Reloaded
c594402e315523491f854de54c6d956a34c79442
[ "MIT" ]
null
null
null
src/block.cc
enteisuper/Tetris-Reloaded
c594402e315523491f854de54c6d956a34c79442
[ "MIT" ]
null
null
null
src/block.cc
enteisuper/Tetris-Reloaded
c594402e315523491f854de54c6d956a34c79442
[ "MIT" ]
null
null
null
// // Created by Henrik Tseng on 4/25/20. // #include "physics/block.h" #include <Box2D/Dynamics/b2Fixture.h> #include <physics/world.h> namespace tetris { b2AABB Block::GetBlockBox(World* world) { b2Fixture* fixture_list = body_->GetFixtureList(); b2AABB body_aabb; // manually set constructor body_aabb.low...
25.795918
61
0.698576
enteisuper
a9501e5e94226cc4cf48d3e8cd3015c9ac26a910
1,335
hpp
C++
application/timely-matter/src/views/RenderView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
2
2016-09-03T17:49:30.000Z
2016-12-20T18:12:58.000Z
application/timely-matter/src/views/RenderView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
application/timely-matter/src/views/RenderView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
#pragma once #include "ofMain.h" #include "BaseView.hpp" #include "RenderParams.hpp" #include "VectorFieldInputFactory.hpp" #include "VectorFieldInput.hpp" #include "VectorField.hpp" #include "ParticleSystem.hpp" #include "Metaballs.hpp" #include "PingPongFbo.hpp" #include "RenderControls.hpp" #include "OscRenderContr...
25.188679
66
0.668914
davidbeermann
a9525c1cec8a24be1f5145ccf66b7ab5abf1cd27
613
cpp
C++
Ejercicio 1 by Braulio.cpp
Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final
2f9b823dc1ba2a5276472b4c850f25e7b39b830d
[ "MIT" ]
null
null
null
Ejercicio 1 by Braulio.cpp
Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final
2f9b823dc1ba2a5276472b4c850f25e7b39b830d
[ "MIT" ]
null
null
null
Ejercicio 1 by Braulio.cpp
Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final
2f9b823dc1ba2a5276472b4c850f25e7b39b830d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> using namespace std; float calif1, calif2, calif3, calif4, calif5, prom; int mat; int main(){ cout<<"Digite su matricula: "; cin>>mat; cout<<"Digite su primera calificacion: "; cin>>calif1; cout<<"Digite su segunda calificacion: "; cin>>calif2; cout<<"Digite su te...
30.65
56
0.673736
Charlie-Ramirez-Animation-Studios-de-MX
a953926064180c3fde1a7faa1ca2c494f36bb77a
1,188
cpp
C++
client/client-multi/client-cpp/impl/Kaa.cpp
myCustomDemo/kaa_demo
0806eefa00e0ed18e1cd36be3243fb187aa0e319
[ "ECL-2.0", "Apache-2.0" ]
2
2019-08-27T10:45:57.000Z
2019-08-30T06:21:04.000Z
client/client-multi/client-cpp/impl/Kaa.cpp
myCustomDemo/kaa_demo
0806eefa00e0ed18e1cd36be3243fb187aa0e319
[ "ECL-2.0", "Apache-2.0" ]
8
2020-01-31T18:26:22.000Z
2022-01-21T23:34:19.000Z
client/client-multi/client-cpp/impl/Kaa.cpp
datts68/kaa-docker
50d07b34f8ee50e6e662dd787c7cddca3c684292
[ "Apache-2.0", "MIT" ]
1
2019-11-24T07:01:26.000Z
2019-11-24T07:01:26.000Z
/* * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
30.461538
79
0.718013
myCustomDemo
a953f7fb4a0f0cbd1953107c68704e0f9e78c9e9
8,883
cc
C++
chrome/browser/browsing_data/cache_counter_browsertest.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
chrome/browser/browsing_data/cache_counter_browsertest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/browsing_data/cache_counter_browsertest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 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. // // Note that this file only tests the basic behavior of the cache counter, as in // when it counts and when not, when result is nonzero and when not...
30.631034
87
0.701227
xzhan96
a955174c8c8d3f96c72bebcb6370b6567e1c8133
1,108
cpp
C++
examples/charstring-split.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/charstring-split.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/charstring-split.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
#include <rudiments/charstring.h> #include <rudiments/stdio.h> int main(int argc, const char **argv) { const char str[]="All along the untrodden paths of the future..."; // split... char **parts; uint64_t partcount; charstring::split(str," ",true,&parts,&partcount); stdoutput.printf("original string:\n %s\n...
22.612245
67
0.673285
davidwed
a9551de6bea6bd6291a244875053f4a5bea1c9ab
4,483
cpp
C++
emulator/src/mame/video/tbowl.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/video/tbowl.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/video/tbowl.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:David Haywood /* video/tbowl.c */ /* see drivers/tbowl.c for more info */ #include "emu.h" #include "includes/tbowl.h" /* Foreground Layer (tx) Tilemap */ TILE_GET_INFO_MEMBER(tbowl_state::get_tx_tile_info) { int tileno; int col; tileno = m_txvideoram[tile_index] | ...
27.169697
162
0.745706
rjw57
a955aa2c4b2d8332907c4f06c5ac1a140236170a
1,665
cc
C++
zircon/system/dev/display/display/test/fence-test.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
zircon/system/dev/display/display/test/fence-test.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
zircon/system/dev/display/display/test/fence-test.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2019 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 "../fence.h" #include <lib/async-testing/test_loop.h> #include <lib/async/default.h> #include <zxtest/zxtest.h> namespace display { class Test...
24.485294
94
0.676877
opensource-assist
a95704b4887ef9f7ccb755c4f2dd22e714631169
5,334
cpp
C++
Utilities/MapViewer/src/CoHSceneConverter.cpp
srikanthprathi/Segs
97eff8212a12798824fcf5c1874c3739140d1285
[ "BSD-3-Clause" ]
206
2015-09-17T09:57:05.000Z
2021-12-07T12:00:49.000Z
Utilities/MapViewer/src/CoHSceneConverter.cpp
srikanthprathi/Segs
97eff8212a12798824fcf5c1874c3739140d1285
[ "BSD-3-Clause" ]
614
2017-02-01T08:48:36.000Z
2021-10-06T10:32:33.000Z
Utilities/MapViewer/src/CoHSceneConverter.cpp
srikanthprathi/Segs
97eff8212a12798824fcf5c1874c3739140d1285
[ "BSD-3-Clause" ]
104
2015-01-15T23:40:34.000Z
2021-04-12T03:08:32.000Z
/* * SEGS - Super Entity Game Server * http://www.segs.dev/ * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md) * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details. */ /*! * @addtogroup MapViewer Projects/CoX/Utilities/MapViewer * @{ */ #include "CoHSceneConv...
34.192308
157
0.669291
srikanthprathi
a958b2360f749a72259807842c4f0cd25769bb59
1,396
cpp
C++
editor/editor_tests/editor_notes_test.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
editor/editor_tests/editor_notes_test.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
editor/editor_tests/editor_notes_test.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#include "testing/testing.hpp" #include "editor/editor_notes.hpp" #include "geometry/mercator.hpp" #include "platform/platform_tests_support/scoped_file.hpp" #include "coding/file_name_utils.hpp" #include "base/math.hpp" using namespace editor; UNIT_TEST(Notes_Smoke) { auto const fileName = "notes.xml"; auto...
34.04878
96
0.646132
marceldallagnol
a958bd7776de4c8315939c1bd448d0df041cd98a
10,083
cpp
C++
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Experimental/STOMolecularOrbitals.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
55
2015-07-28T01:32:58.000Z
2022-02-27T16:27:46.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Experimental/STOMolecularOrbitals.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
66
2015-06-15T20:38:19.000Z
2020-08-26T00:11:43.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Experimental/STOMolecularOrbitals.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
26
2015-10-26T22:11:51.000Z
2021-03-02T22:09:15.000Z
////////////////////////////////////////////////////////////////// // (c) Copyright 2003- by Jeongnim Kim ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // National Center for Supercomputing Applications & // Materials Computati...
31.807571
105
0.53853
JKChenFZ
a95aad99a7d47706d522fca4c8e2ba705ad21087
8,378
cpp
C++
test/view/set_intersection.cpp
tlanc007/range-v3
7393f09b8bd0112695541df3e1b60515a34f8dc8
[ "MIT" ]
2
2018-01-28T14:30:10.000Z
2019-03-27T09:21:58.000Z
test/view/set_intersection.cpp
tlanc007/range-v3
7393f09b8bd0112695541df3e1b60515a34f8dc8
[ "MIT" ]
1
2020-05-01T11:52:59.000Z
2020-05-01T11:52:59.000Z
test/view/set_intersection.cpp
tlanc007/range-v3
7393f09b8bd0112695541df3e1b60515a34f8dc8
[ "MIT" ]
2
2020-10-01T04:13:57.000Z
2021-07-01T07:46:47.000Z
// Range v3 library // // Copyright Eric Niebler 2014-present // Copyright Tomislav Ivek 2015-2016 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: ht...
37.401786
165
0.61005
tlanc007
a95e4c18650e487b4917789ae377554451963b00
2,383
cpp
C++
src/SDIMCommon/HashTable.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
src/SDIMCommon/HashTable.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
src/SDIMCommon/HashTable.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
#include "HashTable.hpp" #include "Utils.hpp" #include <cstdlib> namespace SDIM { HashTable::HashTable() { } HashTable::~HashTable() { if (strings_ != nullptr) { delete[] strings_; strings_ = nullptr; } } bool HashTable::Exists(const char* string) { if (strings_ == nullptr) { return false;...
21.663636
108
0.650021
DamienHenderson
a95e6e1a396a83cceccf934f2c2a19329a1dcae4
321
cpp
C++
Source/Oscillators/SineOsc.cpp
mhamilt/Wiggle-Scope
dd33918ca6f01647c59ab4e94dee038155029cea
[ "MIT" ]
1
2021-07-24T09:28:32.000Z
2021-07-24T09:28:32.000Z
Source/Oscillators/SineOsc.cpp
mhamilt/Wiggle-Scope
dd33918ca6f01647c59ab4e94dee038155029cea
[ "MIT" ]
1
2021-05-10T20:16:49.000Z
2021-05-10T20:16:49.000Z
Source/Oscillators/SineOsc.cpp
mhamilt/Wiggle-Scope
dd33918ca6f01647c59ab4e94dee038155029cea
[ "MIT" ]
null
null
null
/* ============================================================================== Oscillator.cpp Created: 3 May 2021 2:55:47pm Author: mhamilt7 ============================================================================== */ #include "SineOsc.h" float SinOsc::output() { return std::sin(phase * tau); }...
18.882353
79
0.314642
mhamilt
a963da36d91418f6641677585a75e5cd31d8a804
4,708
cpp
C++
src/lapel_default_user_list.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_default_user_list.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_default_user_list.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
/* Copyright 2022 Cameron Harper * * */ #include "lapel_default_user_list.h" #include "lapel_system.h" #include "lapel_debug.h" #include "mbed_sha256/mbed_sha256.h" #include <string.h> using namespace Lapel; static const char Tag[] = "DefaultUserList"; DefaultUserList::DefaultUserList(System &system, size_t max_...
20.558952
127
0.604928
cjhdev
a96534e5edb016874ae00b3a7dbe63d28807ad2e
3,770
hpp
C++
external/mapnik/vector_tile/src/vector_tile_tile.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/vector_tile/src/vector_tile_tile.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/vector_tile/src/vector_tile_tile.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
#ifndef __MAPNIK_VECTOR_TILE_TILE_H__ #define __MAPNIK_VECTOR_TILE_TILE_H__ // mapnik-vector-tile #include "vector_tile_config.hpp" // protozero #include <protozero/pbf_reader.hpp> // mapnik #include <mapnik/box2d.hpp> // std #include <set> #include <string> #include <vector> namespace mapnik { namespace vector_t...
26.180556
80
0.676658
baiyicanggou
a966521f11f25fc0aa3f1eccf652c14a2b4c9da3
8,248
cpp
C++
src/modules/osg/generated_code/Vec4b.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/Vec4b.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/Vec4b.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osg.h" #include "indexing_helpers.h" #include "vec4b.pypp.hpp" namespace bp = boost::python; void register_Vec4b_class(){ { //::osg::Vec4b typedef bp::class_< osg::Vec4b > Vec4b_exposer_t; Vec4b_exposer_t Vec4b_e...
36.017467
378
0.444956
JaneliaSciComp
a967e9fd0faad6844572ac1682488250452b86c2
355
hpp
C++
src/Function.hpp
ageorgiev97/yat
293adda152025d7c7bfbb2e982aa9d2ff5a461d9
[ "Apache-2.0" ]
1
2019-12-11T21:50:13.000Z
2019-12-11T21:50:13.000Z
src/Function.hpp
ageorgiev97/yat
293adda152025d7c7bfbb2e982aa9d2ff5a461d9
[ "Apache-2.0" ]
4
2019-11-30T21:55:18.000Z
2019-11-30T23:00:08.000Z
src/Function.hpp
ageorgiev97/yat
293adda152025d7c7bfbb2e982aa9d2ff5a461d9
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include "Llvm.hpp" #include "Type.hpp" #include "Block.hpp" namespace yat { struct Function { Type return_type; llvm::Function * function; std::vector<Block> blocks; Function() = default; Function(Type type, std::string const& name, s...
16.136364
80
0.608451
ageorgiev97
a96895f3360ea5bcb6eb833e73ec1a1140f1b494
544
cpp
C++
apps/gui/FileBrowser.cpp
npazosmendez/gpu-filters
4a634c22ee888d904ecbeaa0806bf3c78619942c
[ "MIT" ]
5
2020-04-27T20:25:12.000Z
2020-08-14T02:51:15.000Z
apps/gui/FileBrowser.cpp
npazosmendez/gpu-filters
4a634c22ee888d904ecbeaa0806bf3c78619942c
[ "MIT" ]
2
2020-05-08T17:46:06.000Z
2020-08-25T18:47:58.000Z
apps/gui/FileBrowser.cpp
npazosmendez/gpu-filters
4a634c22ee888d904ecbeaa0806bf3c78619942c
[ "MIT" ]
1
2021-03-19T15:27:36.000Z
2021-03-19T15:27:36.000Z
#include "FileBrowser.hpp" FileBrowser::FileBrowser(QString title, QWidget *parent) : QWidget(parent), _button("..."), _label(title){ _button.setFixedSize(30,25); // Arrange layout grid _layout.addWidget(&_label,0,0); _layout.addWidget(&_button,0,1); QObject::connect(&_button, SIGNAL(clicked...
27.2
103
0.693015
npazosmendez
a96999cbcec627a3f0e4c485aeae546fc9d2e17d
2,604
cpp
C++
UVa 12069 - Robots inside the Labyrinth/sample/12069 - Robots inside the Labyrinth.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 12069 - Robots inside the Labyrinth/sample/12069 - Robots inside the Labyrinth.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 12069 - Robots inside the Labyrinth/sample/12069 - Robots inside the Labyrinth.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <bits/stdc++.h> using namespace std; const int MAXN = 51; struct Rect { int lx, ly, rx, ry; void read() { scanf("%d %d %d %d", &lx, &ly, &rx, &ry); } } rect[MAXN]; vector<int> X, Y; char g[MAXN*4][MAXN*4]; int decX(int x) { return lower_bound(X.begin(), X.end(), x) - X.begin(); } int decY(int y) { return ...
23.889908
74
0.507296
tadvi
a96bb59d8d6916b65aef1b6e66032af457a22b5b
374
cpp
C++
plugin/game_plugin/game_plugin/PrecompiledHeader.cpp
thetodd/em5_bma
c5fdfbe1101dce1f0de223a2d5b935b4470cd360
[ "MIT" ]
2
2016-07-07T11:45:19.000Z
2021-03-19T06:15:51.000Z
plugin/game_plugin/game_plugin/PrecompiledHeader.cpp
thetodd/em5_bma
c5fdfbe1101dce1f0de223a2d5b935b4470cd360
[ "MIT" ]
9
2016-07-07T11:57:28.000Z
2016-07-18T15:56:41.000Z
plugin/game_plugin/game_plugin/PrecompiledHeader.cpp
thetodd/em5_bma
c5fdfbe1101dce1f0de223a2d5b935b4470cd360
[ "MIT" ]
null
null
null
// Copyright (C) 2012-2015 Promotion Software GmbH // This cpp-file creates the optional precompiled header, all other cpp-files are just using it //[-------------------------------------------------------] //[ Includes ] //[----------------------------------------------...
34
95
0.425134
thetodd
a96bc0806c5d593f6c7181ec51bad76e1e39ea33
4,031
cc
C++
unit-tests/test_compression.cc
jjzhang166/kingdb
58994280e789fc7248d61371f03a6c04c844c197
[ "BSD-3-Clause" ]
379
2015-01-03T05:53:14.000Z
2022-03-31T11:16:50.000Z
unit-tests/test_compression.cc
GenKnight/kingdb
58994280e789fc7248d61371f03a6c04c844c197
[ "BSD-3-Clause" ]
5
2016-12-09T20:01:49.000Z
2021-10-30T12:37:51.000Z
unit-tests/test_compression.cc
GenKnight/kingdb
58994280e789fc7248d61371f03a6c04c844c197
[ "BSD-3-Clause" ]
68
2015-01-13T00:28:39.000Z
2022-03-03T06:06:39.000Z
#include "algorithm/compressor.h" #include "algorithm/lz4.h" char* MakeValue(const std::string& key, int size_value) { int size_key = key.size(); char *str = new char[size_value+1]; str[size_value] = '\0'; int i = 0; for (i = 0; i < size_value / size_key; i++) { memcpy(str + i*size_key, key.c_str(), siz...
31.992063
149
0.602332
jjzhang166
a96f2e9e8a0fb1baf293b59eb1501bda41f73d77
4,220
cpp
C++
Chapter01/Code/JointDemo.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
45
2017-03-30T15:39:14.000Z
2022-03-09T08:32:57.000Z
Chapter01/Code/JointDemo.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
1
2019-11-18T08:22:25.000Z
2019-11-18T08:22:25.000Z
Chapter01/Code/JointDemo.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
14
2017-04-05T12:05:31.000Z
2021-08-09T20:40:07.000Z
#include "JointDemo.h" #include "FixedFunctionPrimitives.h" #include "glad/glad.h" #include "imgui/imgui.h" #include <iostream> extern double GetMilliseconds(); void JointDemo::Initialize(int width, int height) { DemoBase::Initialize(width, height); glEnable(GL_LIGHTING); glEnable(GL_LIGHT0); float val[] = { 0.5...
23.977273
85
0.675118
PacktPublishing
a96fd9fe64079d0f3f6404ba593b843cae566b24
664
cpp
C++
Sharp/Statements/IfStatement.cpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
Sharp/Statements/IfStatement.cpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
Sharp/Statements/IfStatement.cpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
#include "IfStatement.hpp" #include <utility> IfStatement::IfStatement(std::unique_ptr<Expression>& condition, std::unique_ptr<Statement>&& thenBranch, std::unique_ptr<Statement>&& elseBranch) : condition(std::move(condition)), thenBranch(std::move(thenBranch)), elseBranch(std::move(elseBranch)) { } void...
27.666667
148
0.552711
gth747m
a9702d792b8dac26f8254df059733539078261cd
1,542
cc
C++
moses2/reduct/contin_reduction.cc
moshelooks/moses
81568276877f24c2cb1ca5649d44e22fba6f44b2
[ "Apache-2.0" ]
null
null
null
moses2/reduct/contin_reduction.cc
moshelooks/moses
81568276877f24c2cb1ca5649d44e22fba6f44b2
[ "Apache-2.0" ]
null
null
null
moses2/reduct/contin_reduction.cc
moshelooks/moses
81568276877f24c2cb1ca5649d44e22fba6f44b2
[ "Apache-2.0" ]
null
null
null
/**** Copyright 2005-2007, Moshe Looks and Novamente LLC 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...
32.125
75
0.703632
moshelooks
a97039a3ab11d68590a2b0481fde9ed5b42358e0
18,404
cc
C++
content/browser/accessibility/cross_platform_accessibility_browsertest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
content/browser/accessibility/cross_platform_accessibility_browsertest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
content/browser/accessibility/cross_platform_accessibility_browsertest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
2
2015-12-08T00:37:41.000Z
2017-04-06T05:34:05.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 <string> #include <vector> #include "base/utf_string_conversions.h" #include "content/browser/renderer_host/render_view_host_impl.h" #includ...
40.008696
80
0.717833
Crystalnix
a970fcf54117763b564a0cbd426ace5605739805
797
hh
C++
components/WeaponPowerUpComponent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
components/WeaponPowerUpComponent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
components/WeaponPowerUpComponent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#ifndef WEAPONPOWERUPCOMPONENT_H_ # define WEAPONPOWERUPCOMPONENT_H_ # include <string> # include "ACopyableComponent.hpp" # include "EntitySpawnerComponent.hh" # include "APowerUpComponent.hpp" class WeaponPowerUpComponent : public APowerUpComponent { public: WeaponPowerUpComponent(const std::string weapon = "", f...
26.566667
92
0.770389
deb0ch
a9722c38a458c146d73dc59d3981ad1905893c23
4,844
cc
C++
ui/views/animation/test/test_ink_drop_host.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
ui/views/animation/test/test_ink_drop_host.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
ui/views/animation/test/test_ink_drop_host.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 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 "ui/views/animation/test/test_ink_drop_host.h" #include <memory> #include "base/bind.h" #include "ui/gfx/geometry/size.h" #include "ui/views/an...
35.617647
78
0.676507
zealoussnow
a974bf177a67693f39c527237d81a276b4cc2956
55,523
cpp
C++
gtasa/extract.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
gtasa/extract.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
gtasa/extract.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
/* Copyright Copyright (c) David Cunningham and the Grit Game Engine project 2012 * * 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 r...
39.630978
134
0.534625
AugustoMoura
a9758707b607ca2557ac6388d27bf13540e82662
2,365
cpp
C++
codeforces/EDU/segment_tree/sign_alteration.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/EDU/segment_tree/sign_alteration.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/EDU/segment_tree/sign_alteration.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <climits> using namespace std; struct item{ long long int val; int length; }; struct segtree{ int size; vector<item>values; item NEUTRAL_ELEMENT = {0,0}; item combine(const item &p1, const item &p2){ if(p1.length==0){ return {p2.val, p2.length}; } else...
17.649254
80
0.536998
udayan14
a977397dd986b00bde38de73cf24fb91e18d27c1
3,556
cpp
C++
dependencies/PyMesh/tools/Boolean/CGAL/CGALCorefinementEngine.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
5
2018-06-04T19:52:02.000Z
2022-01-22T09:04:00.000Z
dependencies/PyMesh/tools/Boolean/CGAL/CGALCorefinementEngine.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
dependencies/PyMesh/tools/Boolean/CGAL/CGALCorefinementEngine.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #include "CGALCorefinementEngine.h" #include "CGALUtils.h" #include <vector> #include <CGAL/Union_find.h> #include <CGAL/internal/corefinement/connected_components.h> #include <CGAL/corefinement_operations.h> #include <CGAL/Exact_predicates_exact_c...
33.54717
83
0.667885
aprieels
a9788365790c6e69bc5931bb9b2af15761989fda
12,712
cpp
C++
CSGOSimple/Backtrack.cpp
D1ckRider/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
3
2019-11-17T19:52:44.000Z
2020-02-26T18:22:25.000Z
CSGOSimple/Backtrack.cpp
Renji-kun/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
12
2019-01-17T14:52:06.000Z
2019-03-21T17:01:09.000Z
CSGOSimple/Backtrack.cpp
D1ckRider/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
9
2019-06-02T18:26:13.000Z
2020-04-21T19:21:48.000Z
#include "Backtrack.h" #include "helpers\math.hpp" #include "Rbot.h" #include "ConsoleHelper.h" #include "Autowall.h" #include "Settings.h" void Backtrack::OnCreateMove() { for ( int i = 1; i < g_EngineClient->GetMaxClients(); i++ ) { auto entity = static_cast<C_BasePlayer*> ( g_EntityList->GetClientE...
27.455724
230
0.580868
D1ckRider
a97dfc817a73a181d13cd40790b83fcc4c20048c
5,368
hpp
C++
modules/core/exponential/include/nt2/exponential/functions/simd/common/pow_abs.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/core/exponential/include/nt2/exponential/functions/simd/common/pow_abs.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/core/exponential/include/nt2/exponential/functions/simd/common/pow_abs.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
36.767123
109
0.530551
pbrunet
a982b9c32e3391d46bb0e29702c945d9571cf9d9
4,340
cpp
C++
lib/libbbn-ni-r.cpp
BBN-Q/NI-RSeries
498576434bf9f5100537e3509f822901e4b4ebf3
[ "MIT" ]
null
null
null
lib/libbbn-ni-r.cpp
BBN-Q/NI-RSeries
498576434bf9f5100537e3509f822901e4b4ebf3
[ "MIT" ]
null
null
null
lib/libbbn-ni-r.cpp
BBN-Q/NI-RSeries
498576434bf9f5100537e3509f822901e4b4ebf3
[ "MIT" ]
null
null
null
#include "libbbn-ni-r.h" #include <vector> #include <algorithm> // std::transform //global to hold on to session handle NiFpga_Session session; bool isOpen = false; //Initialize FPGA on loading the library -- constructor hook in header void init() { NiFpga_Initialize(); } //Cleanup NI library -- destructor hook i...
39.454545
158
0.795853
BBN-Q
a984e2f337c1210d78f50203e1a3c3a41002aee9
3,867
cpp
C++
cmake_tests/writeTests.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
3
2018-03-28T00:20:47.000Z
2022-01-19T03:00:20.000Z
cmake_tests/writeTests.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
23
2020-02-12T18:28:40.000Z
2020-09-29T15:50:39.000Z
cmake_tests/writeTests.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
7
2019-12-05T19:52:56.000Z
2021-03-15T07:57:35.000Z
#include <iostream> #include <stdio.h> #include <vector> #include "writeOutput.hpp" #include "readInput.hpp" #include "utils.hpp" // TEST write Functions void t_write_functions(std::string &log){ auto *ws = new writeOutput(); std::string failLog = ""; std::vector<std::vector<double>> testValueArray {{0.0, 1.0, 2.0}...
29.746154
127
0.619085
wilseypa
a985eafbb6c411bc9f63bfff5a0e65da53c45a9c
2,651
cpp
C++
069.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
1
2021-04-14T22:52:05.000Z
2021-04-14T22:52:05.000Z
069.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
null
null
null
069.cpp
Jalanjii/Algorithms
6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int n, index = -1, res = -1, length = 0, max_length = 0; bool flipped = false; cin >> n; int *a = new int[n]; for (int i = 0; i < n; i++) cin >> a[i]; for (int i = 0; i < n; i++) {...
14.176471
57
0.479819
Jalanjii
a98955acb42b693e58479c8fc95d3c4153bd9f77
23,340
inl
C++
inc/behaviac/agent/agent.inl
Manistein/behaviac
538266380446e0fd77461ad22fca05e2c9eb8cba
[ "BSD-3-Clause" ]
2
2021-06-06T07:54:45.000Z
2021-09-08T03:36:40.000Z
inc/behaviac/agent/agent.inl
gdtdftdqtd/behaviac
538266380446e0fd77461ad22fca05e2c9eb8cba
[ "BSD-3-Clause" ]
null
null
null
inc/behaviac/agent/agent.inl
gdtdftdqtd/behaviac
538266380446e0fd77461ad22fca05e2c9eb8cba
[ "BSD-3-Clause" ]
1
2017-07-02T06:55:02.000Z
2017-07-02T06:55:02.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
27.458824
183
0.711482
Manistein
a98c6e4fc875aabd033d234301750ca16bc92eb1
566
cpp
C++
2d ball game/Locator.cpp
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
2d ball game/Locator.cpp
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
2d ball game/Locator.cpp
DennisWandschura/GravBall
f140e304368ce1bfb9a8750c5a5c68ceac4c24bd
[ "MIT" ]
null
null
null
#include "Locator.h" EventManager* Locator::m_eventManager{nullptr}; ResourceAspect* Locator::m_resourceAspect{nullptr}; void Locator::reset() { m_eventManager = nullptr; m_resourceAspect = nullptr; } void Locator::set(EventManager* p) { VX_ASSERT(p); m_eventManager = p; } EventManager& Locator::getEventManager...
16.647059
51
0.757951
DennisWandschura
8178a1ad2eb4093884bab5e27fe4dc7fbf31ed0e
60,168
cpp
C++
ugene/src/corelibs/U2View/src/ov_msa/MSAEditorSequenceArea.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2View/src/ov_msa/MSAEditorSequenceArea.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/corelibs/U2View/src/ov_msa/MSAEditorSequenceArea.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version...
33.783268
212
0.649066
iganna
8178c334693a1d18a3f9a4c1e92a17296856b1a1
2,107
cpp
C++
polygon.cpp
RaviSriTejaKuriseti/OPENCV-IN-WSL1
2646c73b52a8cfd265d5440dc43065ae8b164c9b
[ "MIT" ]
null
null
null
polygon.cpp
RaviSriTejaKuriseti/OPENCV-IN-WSL1
2646c73b52a8cfd265d5440dc43065ae8b164c9b
[ "MIT" ]
null
null
null
polygon.cpp
RaviSriTejaKuriseti/OPENCV-IN-WSL1
2646c73b52a8cfd265d5440dc43065ae8b164c9b
[ "MIT" ]
null
null
null
#include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include <iostream> using namespace cv; using namespace std; int main( void ) { const int r = 100; Mat src = Mat::zeros( Size( 4*r, 4*r ), CV_8U ); vector<Point2f> vert(6); vert[0] = Point( 3*r/2, static_cast<int>(1.34*r) ); vert[1] = Poi...
33.444444
112
0.512577
RaviSriTejaKuriseti
81794ab8709d05625ce445c660b333289e4e88f6
5,189
hpp
C++
src/System/Synchronization.hpp
msisov/swiftshader
ba2cdf349b6ac061880e6f10997bfa7c5967f1b2
[ "Apache-2.0" ]
3
2020-07-07T19:45:20.000Z
2022-02-20T11:44:35.000Z
src/System/Synchronization.hpp
msisov/swiftshader
ba2cdf349b6ac061880e6f10997bfa7c5967f1b2
[ "Apache-2.0" ]
1
2020-02-19T06:44:54.000Z
2020-02-19T06:44:54.000Z
src/System/Synchronization.hpp
msisov/swiftshader
ba2cdf349b6ac061880e6f10997bfa7c5967f1b2
[ "Apache-2.0" ]
1
2020-06-03T16:14:54.000Z
2020-06-03T16:14:54.000Z
// Copyright 2019 The SwiftShader 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 b...
25.688119
95
0.702255
msisov
817b44fde868444fc46c28f75913f1bfb212302a
2,047
cpp
C++
Applications/LogReporter.cpp
kabukunz/GeometricTools
bbc55cdef89a877f06310fdb6c6248205eae704b
[ "BSL-1.0" ]
null
null
null
Applications/LogReporter.cpp
kabukunz/GeometricTools
bbc55cdef89a877f06310fdb6c6248205eae704b
[ "BSL-1.0" ]
null
null
null
Applications/LogReporter.cpp
kabukunz/GeometricTools
bbc55cdef89a877f06310fdb6c6248205eae704b
[ "BSL-1.0" ]
null
null
null
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2019 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 4.0.2019.08.13 #include <Applications/GTApplicationsPCH...
27.662162
88
0.668784
kabukunz