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
a46d42802b4b60c8c3de875ebd2bfbb4ca07df86
6,699
cc
C++
src/server/signal_handler_thread.test.cc
dspeterson/dory
7261fb5481283fdd69b382c3cddbc9b9bd24366d
[ "Apache-2.0" ]
82
2016-06-11T23:12:40.000Z
2022-02-21T21:01:36.000Z
src/server/signal_handler_thread.test.cc
dspeterson/dory
7261fb5481283fdd69b382c3cddbc9b9bd24366d
[ "Apache-2.0" ]
18
2016-06-16T22:55:12.000Z
2020-07-02T10:32:53.000Z
src/server/signal_handler_thread.test.cc
dspeterson/dory
7261fb5481283fdd69b382c3cddbc9b9bd24366d
[ "Apache-2.0" ]
14
2016-06-15T18:34:08.000Z
2021-09-06T23:16:28.000Z
/* <server/signal_handler_thread.test.cc> ---------------------------------------------------------------------------- Copyright 2019 Dave Peterson <dave@dspeterson.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
27.9125
79
0.627855
dspeterson
a46d8d2c231e1051c293f0be67af2890c51d33c2
5,629
hpp
C++
include/opengv/absolute_pose/modules/Epnp.hpp
PXLVision/opengv
e48f77da4db7b8cee36ec677ed4ff5c5354571bb
[ "BSD-3-Clause" ]
null
null
null
include/opengv/absolute_pose/modules/Epnp.hpp
PXLVision/opengv
e48f77da4db7b8cee36ec677ed4ff5c5354571bb
[ "BSD-3-Clause" ]
null
null
null
include/opengv/absolute_pose/modules/Epnp.hpp
PXLVision/opengv
e48f77da4db7b8cee36ec677ed4ff5c5354571bb
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * Author: Laurent Kneip * * Contact: kneip.laurent@gmail.com * * License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. * ...
34.962733
80
0.606324
PXLVision
a46fdc9e38e3404e73486cc2634bf47e4e824d7b
873
cpp
C++
source/Ch08/drill/drill2.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
source/Ch08/drill/drill2.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
source/Ch08/drill/drill2.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" void swap_v(int a, int b) { int temp{0}; temp = a; a = b; b = temp; } void swap_r(int& a, int& b) { int temp{0}; temp = a; a = b; b = temp; } /* THIS FUNC WONT COMPILE BECAUSE CONSTS ARE READ-ONLY error: assignment of read-only reference ‘a’ 'b' void swap_cr(const int& a, cons...
18.574468
114
0.532646
AttilaAV
a4702beab18564bd72014078d1a3c51a34e93b1e
429
hpp
C++
src/afk/ai/behaviour/BaseBehaviour.hpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/ai/behaviour/BaseBehaviour.hpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/ai/behaviour/BaseBehaviour.hpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
#pragma once #include <glm/glm.hpp> namespace Afk { namespace AI { /** * Base AI movement behaviour */ class BaseBehaviour { public: /** * Get a new position based on the current position */ virtual auto update(const glm::vec3 &current_position) -> glm::vec3 = 0; ...
18.652174
78
0.571096
christocs
a470a8cfff2763782cc0f19961c8d854fc786c54
1,173
cpp
C++
sdn.cpp
nickfrostatx/sdn
c34860847f0eca5dd72c827bee047c143720cd86
[ "MIT" ]
1
2020-06-20T12:24:28.000Z
2020-06-20T12:24:28.000Z
sdn.cpp
nickfrostatx/sdn
c34860847f0eca5dd72c827bee047c143720cd86
[ "MIT" ]
null
null
null
sdn.cpp
nickfrostatx/sdn
c34860847f0eca5dd72c827bee047c143720cd86
[ "MIT" ]
null
null
null
#include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include "event.h" #include "openflow.h" static uint16_t socket_port(int); int main(int argc, const char **); uint16_t socket_port(int sock) { struct sockaddr_in addr; socklen_t addr_len = sizeof(addr); if (getsockname(...
21.722222
76
0.590793
nickfrostatx
a470ed5fdcb650839dcf406dfd58513c260183f0
8,750
cpp
C++
src/main/cpp/subsystems/Climber.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
10
2020-02-07T04:13:15.000Z
2022-02-26T00:13:39.000Z
src/main/cpp/subsystems/Climber.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
82
2020-02-12T03:05:15.000Z
2022-02-18T02:14:38.000Z
src/main/cpp/subsystems/Climber.cpp
frc3512/Robot-2020
c6811155900ccffba93ea9ba131192dcb9fcb1bd
[ "BSD-3-Clause" ]
5
2020-02-14T16:24:01.000Z
2022-03-31T09:10:01.000Z
// Copyright (c) 2020-2021 FRC Team 3512. All Rights Reserved. #include "subsystems/Climber.hpp" #include <cmath> #include <frc/DriverStation.h> #include <frc/Joystick.h> #include <frc/RobotBase.h> #include <frc/RobotController.h> #include <frc/StateSpaceUtil.h> #include <frc/smartdashboard/SmartDashboard.h> #includ...
35.140562
80
0.648686
frc3512
a473dcab660a62b32d77ce6c28df8ef47df4fa8a
5,596
cxx
C++
StRoot/StPeCMaker/StPeCLumiEntry.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StPeCMaker/StPeCLumiEntry.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StPeCMaker/StPeCLumiEntry.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // Revision 1.0 2001/2/15 Pablo Yepes: yepes@rice.edu // ////////////////////////////////////////////////////////////////////// #include <Stiostream.h> #include "StPeCLumiEntry.h" #include "StEventUtilities/StuRefMult.hh" ClassImp(StP...
27.431373
91
0.57559
xiaohaijin
a4746f359ddf371aceff41bb484ccbb6791f8527
457
cpp
C++
src/codechef/contests/LP1TO202/COLGLF2.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
src/codechef/contests/LP1TO202/COLGLF2.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
src/codechef/contests/LP1TO202/COLGLF2.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); long long t, s, e, l; cin >> t; while(t--) { cin >> s; long long q[s] = {0}, r = 0; for(long long i = 0; i < s; i++) { cin >> q[i]; r += q[i]; } for(long long i = 0; i < s; i++)...
13.441176
38
0.391685
tllaw
a4747547e801bbff6eb42cb93ffe61adc6192ca6
4,708
cpp
C++
src/updater.cpp
DarXe/Logus
af80cdcaccde3c536ef2b47d36912d9a505f7ef6
[ "0BSD" ]
6
2019-06-11T20:09:01.000Z
2021-05-28T01:18:27.000Z
src/updater.cpp
DarXe/Logus
af80cdcaccde3c536ef2b47d36912d9a505f7ef6
[ "0BSD" ]
7
2019-06-14T20:28:31.000Z
2020-08-11T14:51:03.000Z
src/updater.cpp
DarXe/Logus
af80cdcaccde3c536ef2b47d36912d9a505f7ef6
[ "0BSD" ]
1
2020-11-07T05:28:23.000Z
2020-11-07T05:28:23.000Z
// Copyright © 2020 Niventill // This file is licensed under ISC License. See "LICENSE" in the top level directory for more info. //standard libraries #include <filesystem> #include <iostream> #include <fstream> //header includes #include <config.hpp> #include <var.hpp> #include <common.hpp> #include <debug.hpp> #in...
34.874074
206
0.647409
DarXe
a475a507ccc352279fbae673cec659028877c5f3
2,733
cpp
C++
test/mbed-client-mbed-os/unittest/m2mconnectionhandlerpimpl_mbed/m2mconnectionhandlerpimpl_mbedtest.cpp
PelionIoT/mbed-client-mbed-os
363863af112bd08f53a0632bb286eb7e109d6b44
[ "Apache-2.0" ]
null
null
null
test/mbed-client-mbed-os/unittest/m2mconnectionhandlerpimpl_mbed/m2mconnectionhandlerpimpl_mbedtest.cpp
PelionIoT/mbed-client-mbed-os
363863af112bd08f53a0632bb286eb7e109d6b44
[ "Apache-2.0" ]
null
null
null
test/mbed-client-mbed-os/unittest/m2mconnectionhandlerpimpl_mbed/m2mconnectionhandlerpimpl_mbedtest.cpp
PelionIoT/mbed-client-mbed-os
363863af112bd08f53a0632bb286eb7e109d6b44
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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...
22.775
74
0.782656
PelionIoT
a47bf8f6ba17ef54debc2e7d6d15ba1727eded46
4,446
cpp
C++
lib/maths/Spline.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
1
2016-11-15T09:04:12.000Z
2016-11-15T09:04:12.000Z
lib/maths/Spline.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
null
null
null
lib/maths/Spline.cpp
maldicion069/monkeybrush-
2bccca097402ff1f5344e356f06de19c8c70065b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 maldicion069 * * Authors: Cristian Rodríguez Bernal <ccrisrober@gmail.com> * * This file is part of MonkeyBrushPlusPlus <https://github.com/maldicion069/monkeybrushplusplus> * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Pu...
33.428571
96
0.617859
maldicion069
a481147d9118873aea62da21afee94fea64fe1f5
17,033
hpp
C++
core/ntsSingleCPUGraphOp.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
1
2022-03-10T07:41:55.000Z
2022-03-10T07:41:55.000Z
core/ntsSingleCPUGraphOp.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
null
null
null
core/ntsSingleCPUGraphOp.hpp
Sanzo00/NeutronStarLite
57d92d1f7f6cd55c55a83ca086096a710185d531
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021-2022 Qiange Wang, Northeastern University 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 app...
41.043373
86
0.655727
Sanzo00
a482b221c55ea3dd711168344e2d43bfc1c4f26f
2,062
cpp
C++
librbr/src/mdp/mdp.cpp
kylewray/librbr
ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8
[ "MIT" ]
null
null
null
librbr/src/mdp/mdp.cpp
kylewray/librbr
ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8
[ "MIT" ]
11
2015-04-02T01:32:47.000Z
2015-04-02T01:32:47.000Z
librbr/src/mdp/mdp.cpp
kylewray/librbr
ea3dcef7c37b4f177373ac6fec1f4c4566cf7bd8
[ "MIT" ]
null
null
null
/** * The MIT License (MIT) * * Copyright (c) 2014 Kyle Hollins Wray, University of Massachusetts * * 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 ...
23.431818
84
0.710475
kylewray
a482c2ff5d5865a7137b70a8f25d1ad1a7be7c61
2,530
cc
C++
src/connectivity/overnet/lib/routing/routing_table_fuzzer.cc
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
src/connectivity/overnet/lib/routing/routing_table_fuzzer.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/overnet/lib/routing/routing_table_fuzzer.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 <fuchsia/overnet/routingtablefuzzer/cpp/fidl.h> #include "garnet/public/lib/fostr/fidl/fuchsia/overnet/protocol/formatting.h" #include "src/connec...
34.657534
79
0.658498
yanyushr
a482c9333bf6e6cc0c2983b49233e431f26603af
1,019
cc
C++
waypoint_backend/src/waypoint_backend_node.cc
google/bookbot-navigation
5e5a17a022fe2d7137e7047e913020a3b7a0ff02
[ "Apache-2.0" ]
10
2019-05-17T15:42:15.000Z
2021-08-11T02:12:38.000Z
waypoint_backend/src/waypoint_backend_node.cc
google/bookbot-navigation
5e5a17a022fe2d7137e7047e913020a3b7a0ff02
[ "Apache-2.0" ]
null
null
null
waypoint_backend/src/waypoint_backend_node.cc
google/bookbot-navigation
5e5a17a022fe2d7137e7047e913020a3b7a0ff02
[ "Apache-2.0" ]
10
2019-05-03T16:24:24.000Z
2021-08-10T13:07:43.000Z
// Copyright 2019 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
31.84375
75
0.730128
google
a4853e7c770f519eb1ea5d447bc9384e29a96e73
1,341
cpp
C++
implementations/bowtie2/shmem.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/bowtie2/shmem.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/bowtie2/shmem.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 of the License, or * (at your opt...
26.82
71
0.709918
r-barnes
a48675ada5627602df39014ddc2895fa2ed0d1e6
1,403
cpp
C++
core/sqf/src/seabed/src/monclio.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/sqf/src/seabed/src/monclio.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/sqf/src/seabed/src/monclio.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
//------------------------------------------------------------------ // // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
30.5
73
0.630791
CoderSong2015
a487831d0b41b5d58b9b34d2e15c6883cd62196b
3,851
cpp
C++
src/cinder/Signals.cpp
rsh/Cinder-Emscripten
4a08250c56656865c7c3a52fb9380980908b1439
[ "BSD-2-Clause" ]
24
2015-12-07T23:03:27.000Z
2021-04-03T14:55:54.000Z
src/cinder/Signals.cpp
rsh/Cinder-Emscripten
4a08250c56656865c7c3a52fb9380980908b1439
[ "BSD-2-Clause" ]
2
2015-12-11T21:53:05.000Z
2019-05-04T11:54:54.000Z
src/cinder/Signals.cpp
rsh/Cinder-Emscripten
4a08250c56656865c7c3a52fb9380980908b1439
[ "BSD-2-Clause" ]
6
2015-12-17T18:26:57.000Z
2018-11-22T00:11:55.000Z
/* Copyright (c) 2015, The Cinder Project This code is intended to be used with the Cinder C++ library, http://libcinder.org 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...
25.006494
130
0.737471
rsh
a4878e5f767649b9a3ba2c1817304027d5087405
8,266
cc
C++
chrome/browser/chromeos/login/rounded_rect_painter.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/chromeos/login/rounded_rect_painter.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/login/rounded_rect_painter.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/rounded_rect_painter.h" #include "base/logging.h" #include "gfx/canvas_skia.h" #include "chrome/browser/chrom...
31.075188
79
0.67578
Gitman1989
a492a27943a344bd06f596a1232b2cbf38fd8c10
6,659
cpp
C++
src/experiments/babybot/rfwrtest/Main_Template.cpp
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
src/experiments/babybot/rfwrtest/Main_Template.cpp
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
src/experiments/babybot/rfwrtest/Main_Template.cpp
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
// #include "Rf.h" #include <yarp/RFNet.h> #include <yarp/utils.h> #include <iostream> #include <vector> #include <list> struct Error { double av; double std; }; // void GetInput2(std::istream & device, YVector& X, YVector& Y); void readDataSet(const char *filename, std::vector<YVector> &v); Error testRun(RFNet &ne...
19.996997
74
0.616008
robotology-legacy
a494e4a3a4beedc35057517904c72cca21c15cac
480
hpp
C++
TriVEngine/Source/Engine/Events/BaseEngineEvent.hpp
FrostByteGER/TriVEngine
77db65a04950fc843515452af9a2bc2c940ab2c7
[ "BSL-1.0" ]
null
null
null
TriVEngine/Source/Engine/Events/BaseEngineEvent.hpp
FrostByteGER/TriVEngine
77db65a04950fc843515452af9a2bc2c940ab2c7
[ "BSL-1.0" ]
null
null
null
TriVEngine/Source/Engine/Events/BaseEngineEvent.hpp
FrostByteGER/TriVEngine
77db65a04950fc843515452af9a2bc2c940ab2c7
[ "BSL-1.0" ]
null
null
null
#pragma once #include "EventExecutionType.hpp" #include <iostream> namespace TriV::Engine::Core::Events { class BaseEngineEvent { private: EventExecutionType executionType; protected: explicit BaseEngineEvent(const EventExecutionType executionType) { this->executionType = executionType; } public: ...
16
66
0.739583
FrostByteGER
a495ce7ace5135817f71187173b2487e38a63af9
17,700
cpp
C++
src/scsi2sd-util6/wxWidgets/src/gtk/assertdlg_gtk.cpp
fhgwright/SCSI2SD-V6
29555b30d3f96257ac12a546e75891490603aee8
[ "BSD-3-Clause" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
src/scsi2sd-util6/wxWidgets/src/gtk/assertdlg_gtk.cpp
tweakoz/SCSI2SD-V6
77db5f86712213e25c9b12fa5c9fa9c54b80cb80
[ "BSD-3-Clause" ]
null
null
null
src/scsi2sd-util6/wxWidgets/src/gtk/assertdlg_gtk.cpp
tweakoz/SCSI2SD-V6
77db5f86712213e25c9b12fa5c9fa9c54b80cb80
[ "BSD-3-Clause" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* /////////////////////////////////////////////////////////////////////////// // Name: src/gtk/assertdlg_gtk.cpp // Purpose: GtkAssertDialog // Author: Francesco Montorsi // Copyright: (c) 2006 Francesco Montorsi // Licence: wxWindows licence //////////////////////////////////////////////////////...
35.119048
125
0.60774
fhgwright
a498e292b74efed5304d89d8700d7f1013cf0fa3
3,774
cc
C++
FastSimulation/Utilities/src/GammaFunctionGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
FastSimulation/Utilities/src/GammaFunctionGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
FastSimulation/Utilities/src/GammaFunctionGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
//FAMOS headers #include "FastSimulation/Utilities/interface/GammaFunctionGenerator.h" #include "FastSimulation/Utilities/interface/RandomEngineAndDistribution.h" GammaFunctionGenerator::GammaFunctionGenerator() { xmax = 30.; for(unsigned i=1;i<=12;++i) { // For all let's put the limit at 2.*(alpha-1) ...
24.993377
139
0.621622
nistefan
a49ae046552c0aebf7784dd930a60fe403c4102b
8,305
cc
C++
research/carls/knowledge_bank/knowledge_bank_test.cc
otiliastr/neural-structured-learning
4a574b84c0a02e08ed3ef58e60284555e7e7c7e2
[ "Apache-2.0" ]
1
2021-05-10T10:46:57.000Z
2021-05-10T10:46:57.000Z
research/carls/knowledge_bank/knowledge_bank_test.cc
Saiprasad16/neural-structured-learning
bde9105b12b2797c909a0fe20ef74bb7fff6100b
[ "Apache-2.0" ]
null
null
null
research/carls/knowledge_bank/knowledge_bank_test.cc
Saiprasad16/neural-structured-learning
bde9105b12b2797c909a0fe20ef74bb7fff6100b
[ "Apache-2.0" ]
null
null
null
/*Copyright 2020 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
35.643777
80
0.680433
otiliastr
a49b4a34070fd022345f99ff15f909c4ddaaeb79
232
cpp
C++
src/method/lss.cpp
shucheng-ai/WDA-core
b1d952aef01537439db13e845e60b8bf77c1c10d
[ "Apache-2.0" ]
null
null
null
src/method/lss.cpp
shucheng-ai/WDA-core
b1d952aef01537439db13e845e60b8bf77c1c10d
[ "Apache-2.0" ]
null
null
null
src/method/lss.cpp
shucheng-ai/WDA-core
b1d952aef01537439db13e845e60b8bf77c1c10d
[ "Apache-2.0" ]
null
null
null
#include "method.h" namespace layout{ py::object generate_lss_within_plan (py::dict _room, pyBox _region, py::dict history, string const &type, py::dict params, py::dict info){ py::dict ret; return ret; } }
25.777778
142
0.655172
shucheng-ai
a4a0a3af308b4fd393f56a2bea193adba9fb6a04
9,919
cpp
C++
Quartz/Engine/Source/Platform/GLWindow.cpp
tobyplowy/quartz-engine
d08ff18330c9bb59ab8739b40d5a4781750697c1
[ "BSD-3-Clause" ]
null
null
null
Quartz/Engine/Source/Platform/GLWindow.cpp
tobyplowy/quartz-engine
d08ff18330c9bb59ab8739b40d5a4781750697c1
[ "BSD-3-Clause" ]
null
null
null
Quartz/Engine/Source/Platform/GLWindow.cpp
tobyplowy/quartz-engine
d08ff18330c9bb59ab8739b40d5a4781750697c1
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 Genten Studios // // 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 following disclaimer...
28.019774
80
0.710959
tobyplowy
a4a150b7ffb12b88bee8f3e181a6c245f968ef39
32,236
cpp
C++
Outils/lata2dx/lata2dx/triou_compat/ArrOfInt.cpp
cea-trust-platform/trust-code
c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72
[ "BSD-3-Clause" ]
12
2021-06-30T18:50:38.000Z
2022-03-23T09:03:16.000Z
Outils/lata2dx/lata2dx/triou_compat/ArrOfInt.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
null
null
null
Outils/lata2dx/lata2dx/triou_compat/ArrOfInt.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
2
2021-10-04T09:19:39.000Z
2021-12-15T14:21:04.000Z
/***************************************************************************** * * Copyright (c) 2011 - 2013, CEA * 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 ...
29.015302
88
0.626846
cea-trust-platform
a4a1a4966bc6839f4e8c9f038336f123f65f0f12
1,842
cpp
C++
wrappers/python/webservices/URL.cpp
icryrainix/odil
7fbcf7bb00af159c2e500bd0c3da1519a4806fb4
[ "CECILL-B" ]
null
null
null
wrappers/python/webservices/URL.cpp
icryrainix/odil
7fbcf7bb00af159c2e500bd0c3da1519a4806fb4
[ "CECILL-B" ]
null
null
null
wrappers/python/webservices/URL.cpp
icryrainix/odil
7fbcf7bb00af159c2e500bd0c3da1519a4806fb4
[ "CECILL-B" ]
1
2020-12-08T03:08:11.000Z
2020-12-08T03:08:11.000Z
/************************************************************************* * odil - Copyright (C) Universite de Strasbourg * Distributed under the terms of the CeCILL-B license, as published by * the CEA-CNRS-INRIA. Refer to the LICENSE file or to * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html * for...
31.758621
80
0.560803
icryrainix
a4a2e8e880c6c4a1c2962ea7d11d04b437aa4e77
15,149
hpp
C++
include/System/Threading/Tasks/TaskFactory.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/System/Threading/Tasks/TaskFactory.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/System/Threading/Tasks/TaskFactory.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Threadi...
69.173516
342
0.760248
sc2ad
a4a7297b8e21b7fafb7dc6174503c1f9ffda5c43
2,138
hpp
C++
modules/boost/simd/base/include/boost/simd/arithmetic/functions/remround.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/arithmetic/functions/remround.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/arithmetic/functions/remround.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
29.287671
139
0.615529
feelpp
a4ad9bf19843ee1b44b812b0bd693dd11b592b30
2,081
cpp
C++
Apoc/Audio/Sounds.cpp
madd-games/apocalypse
ea2192079801d7bea9afaeb3246cb975ab0e37d6
[ "BSD-2-Clause" ]
3
2016-10-04T13:58:21.000Z
2018-02-11T02:45:12.000Z
Apoc/Audio/Sounds.cpp
madd-games/apocalypse
ea2192079801d7bea9afaeb3246cb975ab0e37d6
[ "BSD-2-Clause" ]
null
null
null
Apoc/Audio/Sounds.cpp
madd-games/apocalypse
ea2192079801d7bea9afaeb3246cb975ab0e37d6
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2014-2015, Madd Games. 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 conditions and the...
30.602941
79
0.753003
madd-games
a4ae31b62b0195c58107025fc5f64b52d24b1ad5
4,133
cpp
C++
tests/filter_tests.cpp
obruns/bluetoe
de13682bce39335878262212f3615254e0af1702
[ "MIT" ]
1
2019-02-01T09:38:00.000Z
2019-02-01T09:38:00.000Z
tests/filter_tests.cpp
obruns/bluetoe
de13682bce39335878262212f3615254e0af1702
[ "MIT" ]
null
null
null
tests/filter_tests.cpp
obruns/bluetoe
de13682bce39335878262212f3615254e0af1702
[ "MIT" ]
null
null
null
#include <iostream> #include <bluetoe/filter.hpp> #include <bluetoe/attribute.hpp> #include <bluetoe/uuid.hpp> #define BOOST_TEST_MODULE #include <boost/test/included/unit_test.hpp> namespace blued = bluetoe::details; namespace { template < class UUID > blued::uuid_filter fixture() { return blue...
33.064
111
0.65836
obruns
a4aeac9d036c8e6283235efbd6285376ee5d7156
685
cpp
C++
UVa-11498-DivisionOfNlogonia.cpp
antisocialamp/lowerBound
6b0678954075dd07b247d057b62c2e55669c8cf1
[ "MIT" ]
1
2020-08-07T07:25:23.000Z
2020-08-07T07:25:23.000Z
UVa-11498-DivisionOfNlogonia.cpp
chatziiola/lowerBound
6b0678954075dd07b247d057b62c2e55669c8cf1
[ "MIT" ]
null
null
null
UVa-11498-DivisionOfNlogonia.cpp
chatziiola/lowerBound
6b0678954075dd07b247d057b62c2e55669c8cf1
[ "MIT" ]
null
null
null
#include <cstdio> int main(){ // INPUT PROCESS HAS BEEN MODIFIED DUE TO MULTIPLY CASES IN ONE INPUT // integer K is the number of queries // integers N, M are the coordinates (x,y) of point A (The division point) int K, N, M; // integers a and b stand for the coordinates of point X whose location we must...
24.464286
90
0.525547
antisocialamp
a4b445b45998b88c1783a10823f78dc5bf0c4cb0
3,437
hpp
C++
include/Library/Physics/Environment/Objects/CelestialBodies/Sun.hpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
include/Library/Physics/Environment/Objects/CelestialBodies/Sun.hpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
include/Library/Physics/Environment/Objects/CelestialBodies/Sun.hpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library ▸ Physics /// @file Library/Physics/Environment/Objects/CelestialBodies/Sun.hpp /// @author Lucas Brémond <lucas...
38.617978
163
0.348851
cowlicks
a4b46e4de6a7cba12fdd44604fc2b9818b3b6040
663
cpp
C++
sources/Core/Instance.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Core/Instance.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Core/Instance.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2008/07/22 6:56 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net * Copyrigh...
23.678571
76
0.431373
palchukovsky
8a5465a4bdec3f0699a9dfc975923e47d15c5cf6
4,486
cpp
C++
src/Daemon.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
4
2021-03-22T06:38:33.000Z
2021-03-23T04:57:44.000Z
src/Daemon.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
12
2021-02-25T22:13:36.000Z
2021-05-03T01:21:50.000Z
src/Daemon.cpp
JadedCtrl/rifen
eddbc45d987abe6524715a25ed56e09e8c349300
[ "MIT" ]
1
2021-10-11T06:40:06.000Z
2021-10-11T06:40:06.000Z
/* * Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io> * All rights reserved. Distributed under the terms of the MIT license. */ #include "Daemon.h" #include <iostream> #include <MessageRunner.h> #include <Roster.h> #include <Url.h> #include "DeskbarView.h" #include "FeedController.h" #include "Notifier.h" #...
19.849558
76
0.708426
JadedCtrl
8a57cd016755c5f2542523c05a0a681508d0a43d
3,366
cpp
C++
multibase/server/tcpsrv.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
multibase/server/tcpsrv.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
1
2021-09-03T13:03:20.000Z
2021-09-03T13:03:20.000Z
multibase/server/tcpsrv.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
#include "tcpsrv.h" #include "processor.h" #include "json.h" #include "m_types.h" namespace multibase { /** * @brief session::session * @param socket */ Session::Session(tcp::socket socket) : socket_(std::move(socket)) { } /** * @brief session::start */ void Se...
30.053571
96
0.468509
Zzzzipper
8a5bea74be808506f6ae16c4db8013fa62286691
71
cpp
C++
modules/main.cpp
mario21ic/cpp-demos
286968591a586c2332b9fa915f330b1a0b1219ee
[ "MIT" ]
null
null
null
modules/main.cpp
mario21ic/cpp-demos
286968591a586c2332b9fa915f330b1a0b1219ee
[ "MIT" ]
null
null
null
modules/main.cpp
mario21ic/cpp-demos
286968591a586c2332b9fa915f330b1a0b1219ee
[ "MIT" ]
null
null
null
import mymodule; // import declaration int main() { hello(); }
10.142857
39
0.605634
mario21ic
8a5e573b30d54f76d967de144f4ee2a6909d9965
2,614
cpp
C++
pytorch/torch/csrc/jit/source_range.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
pytorch/torch/csrc/jit/source_range.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
1
2019-07-22T09:48:46.000Z
2019-07-22T09:48:46.000Z
pytorch/torch/csrc/jit/source_range.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
#include <torch/csrc/jit/source_range.h> #include <torch/csrc/jit/source_range_serialization.h> namespace torch { namespace jit { c10::optional<SourceRange> Source::findSourceRangeThatGenerated( const SourceRange& range) { if (!gen_ranges_) { return c10::nullopt; } return gen_ranges_->findSourceRangeTha...
33.088608
77
0.609411
raghavnauhria
8a5f2dcd1db9f849aa46606d0095a4d151269317
1,792
cpp
C++
test/extra_test/catch2/main.cpp
KaiserLancelot/kpkg
c19d2a027d47ec2dff7c3eeaa6eb86284aeefcd4
[ "MIT" ]
1
2022-02-28T12:31:46.000Z
2022-02-28T12:31:46.000Z
test/extra_test/catch2/main.cpp
KaiserLancelot/kpkg
c19d2a027d47ec2dff7c3eeaa6eb86284aeefcd4
[ "MIT" ]
null
null
null
test/extra_test/catch2/main.cpp
KaiserLancelot/kpkg
c19d2a027d47ec2dff7c3eeaa6eb86284aeefcd4
[ "MIT" ]
1
2021-11-06T14:20:25.000Z
2021-11-06T14:20:25.000Z
#include <cstdint> #include <vector> #include <catch2/catch.hpp> std::uint64_t factorial(std::uint64_t number) { return number > 1 ? factorial(number - 1) * number : 1; } // https://github.com/catchorg/Catch2/blob/devel/docs/tutorial.md // https://github.com/catchorg/Catch2/blob/devel/docs/benchmarks.md TEST_CASE(...
23.578947
67
0.582031
KaiserLancelot
8a5f4a69438e3fefb9daeb2033f78c90e9cd2849
2,503
cpp
C++
src/entities/CTask.cpp
nizikawa-worms/wkJellyWorm
ddc1b00d38eb92c501bf3554804f4e02319b7bd9
[ "WTFPL" ]
5
2021-04-19T14:29:50.000Z
2022-01-07T02:46:30.000Z
src/entities/CTask.cpp
nizikawa-worms/wkJellyWorm
ddc1b00d38eb92c501bf3554804f4e02319b7bd9
[ "WTFPL" ]
null
null
null
src/entities/CTask.cpp
nizikawa-worms/wkJellyWorm
ddc1b00d38eb92c501bf3554804f4e02319b7bd9
[ "WTFPL" ]
1
2021-04-19T14:29:24.000Z
2021-04-19T14:29:24.000Z
#include "../Lua.h" #include <sol/sol.hpp> #include "../Hooks.h" #include "CTask.h" DWORD *(__stdcall *origConstructCTask)(DWORD *This, int a2, int a3); DWORD *__stdcall CTask::hookConstructCTask(DWORD *This, int a2, int a3) { return origConstructCTask(This, a2, a3); } CTask * (__fastcall *origGetHashStoreObject)(...
38.507692
399
0.695965
nizikawa-worms
8a60f7532b4109c5caa02250a817e8542cb45346
20,828
cc
C++
clover_s.cc
bgerofi/qws
e6a310eb6b7188e74568e3954e64c4868340a87c
[ "BSD-3-Clause" ]
3
2020-05-19T03:58:52.000Z
2021-11-10T08:20:50.000Z
clover_s.cc
bgerofi/qws
e6a310eb6b7188e74568e3954e64c4868340a87c
[ "BSD-3-Clause" ]
2
2020-05-01T09:00:28.000Z
2022-02-02T06:13:21.000Z
clover_s.cc
bgerofi/qws
e6a310eb6b7188e74568e3954e64c4868340a87c
[ "BSD-3-Clause" ]
1
2020-04-29T21:53:54.000Z
2020-04-29T21:53:54.000Z
//**************************************************************************************** // // Copyright (c) 2015-2020, Yoshifumi Nakamura <nakamura@riken.jp> // Copyright (c) 2015-2020, Yuta Mukai <mukai.yuta@fujitsu.com> // Copyright (c) 2018-2020, Ken-Ichi Ishikawa <ishikawa@theo.phys.sci.hirosima-u.ac...
42.855967
91
0.442529
bgerofi
8a60ffc6eba71542ceee88cba78ab310385560bb
5,049
hpp
C++
include/Core/Transform/Rect.hpp
Tzupy/ObEngine
fa5c36aa41be1586088b76319c648d39c7f57cdf
[ "MIT" ]
null
null
null
include/Core/Transform/Rect.hpp
Tzupy/ObEngine
fa5c36aa41be1586088b76319c648d39c7f57cdf
[ "MIT" ]
null
null
null
include/Core/Transform/Rect.hpp
Tzupy/ObEngine
fa5c36aa41be1586088b76319c648d39c7f57cdf
[ "MIT" ]
null
null
null
#pragma once #include <Transform/Movable.hpp> #include <Transform/Referential.hpp> namespace obe::Transform { /** * \brief A Class that does represent a Rectangle with various methods to * manipulate it * @Bind */ class Rect : public Movable { protected: /** * \bri...
37.4
80
0.576946
Tzupy
8a61c020eef03be29df8d4fb3fdd31fbfd56da4a
7,017
hpp
C++
src/Kinect.hpp
calcmogul/KinectBoard
7fc08a0f48c8da9c26690864195bfa6588d96d08
[ "BSD-2-Clause" ]
null
null
null
src/Kinect.hpp
calcmogul/KinectBoard
7fc08a0f48c8da9c26690864195bfa6588d96d08
[ "BSD-2-Clause" ]
null
null
null
src/Kinect.hpp
calcmogul/KinectBoard
7fc08a0f48c8da9c26690864195bfa6588d96d08
[ "BSD-2-Clause" ]
1
2016-04-16T14:01:55.000Z
2016-04-16T14:01:55.000Z
//============================================================================= //File Name: Kinect.hpp //Description: Manages interface with a Microsoft Kinect connected to the USB // port of the computer //Author: Tyler Veness //=============================================================================...
30.776316
104
0.698874
calcmogul
8a662cbbfd2c103a60ad3db430a6910d17796674
1,245
cpp
C++
src/kits/interface/GradientConic.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/kits/interface/GradientConic.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/kits/interface/GradientConic.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2006-2008, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Artur Wyszynski <harakash@gmail.com> */ #include <Point.h> #include <Gradient.h> #include <GradientConic.h> // constructor BGradientConic::BGradientConic() { fData.conic.cx = 0.0f; fData.conic.cy = 0.0f; fData...
14.821429
65
0.703614
Kirishikesan
8a67d0fb7e38d754b6cb9fbc3531762ffc07da6f
4,690
cpp
C++
mcbot/Collision.cpp
plushmonkey/mcbot
1a16510025b88faf14a4b3cd97a37adbe600bd6d
[ "MIT" ]
19
2016-08-31T01:26:57.000Z
2022-02-05T05:06:26.000Z
mcbot/Collision.cpp
plushmonkey/mcbot
1a16510025b88faf14a4b3cd97a37adbe600bd6d
[ "MIT" ]
2
2017-06-30T00:56:25.000Z
2019-02-07T01:17:44.000Z
mcbot/Collision.cpp
plushmonkey/mcbot
1a16510025b88faf14a4b3cd97a37adbe600bd6d
[ "MIT" ]
3
2016-08-31T01:26:54.000Z
2019-08-20T21:23:20.000Z
#include "Collision.h" #include "components/PhysicsComponent.h" #include "Math.h" #include <iostream> using mc::Vector3d; using mc::Vector3i; using mc::AABB; using mc::Ray; template <typename T> inline T Sign(T val) { return std::signbit(val) ? static_cast<T>(-1) : static_cast<T>(1); } inline Vector3d BasisAxis...
31.059603
142
0.554584
plushmonkey
8a75c25038fddc0ec336ca4c1fb25fcc4ab95c35
2,904
hpp
C++
include/boost/channels/error_code.hpp
cblauvelt/boost_channels
455772295caf9a3a215b9d2569e484f0e2f91022
[ "BSL-1.0" ]
23
2021-05-29T04:26:25.000Z
2022-03-23T07:12:13.000Z
include/boost/channels/error_code.hpp
cblauvelt/boost_channels
455772295caf9a3a215b9d2569e484f0e2f91022
[ "BSL-1.0" ]
2
2021-09-28T20:00:22.000Z
2021-09-28T20:10:39.000Z
include/boost/channels/error_code.hpp
cblauvelt/boost_channels
455772295caf9a3a215b9d2569e484f0e2f91022
[ "BSL-1.0" ]
1
2021-10-03T01:12:37.000Z
2021-10-03T01:12:37.000Z
// // Copyright (c) 2021 Richard Hodges (hodges.r@gmail.com) // // 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) // // Official repository: https://github.com/madmongo1/boost_channels // #ifndef BOOST_CHANNELS_INCLU...
27.923077
79
0.603994
cblauvelt
8a7cb03762dc2b98162431636f480cfd9d9111cd
1,024
cpp
C++
Source/SystemQOR/MSWindows/WinQL/GUI/Controllers/WinQLRowContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/GUI/Controllers/WinQLRowContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/GUI/Controllers/WinQLRowContainer.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//RowContainer.cpp //#include "stdafx.h" #include "WinQL/GUI/Controllers/RowContainer.h" #include "WinQL/GUI/Window.h" //-------------------------------------------------------------------------------- namespace nsWin32 { //-------------------------------------------------------------------------------- namespace n...
27.675676
161
0.5
mfaithfull
8a7d382eedaa3fcb17a2f7c9e5ec442f3cf5dcc9
404
inl
C++
Phoenix3D/PX2Core/PX2Stream.inl
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Core/PX2Stream.inl
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Core/PX2Stream.inl
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2Stream.inl //---------------------------------------------------------------------------- inline Stream::StreamType Stream::GetStreamType () const { return mStreamType; } //---------------------------------------------------------------------------- inline bool Stream::IsIn () const { return ST_IN == mStreamTy...
31.076923
78
0.30198
PheonixFoundation
8a7d79370e318de649b0b85f333029193f1e959c
4,681
cpp
C++
source/test/unit-test.cpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
source/test/unit-test.cpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
source/test/unit-test.cpp
CaptainCrowbar/rs-tl
fe9e3f072683f638a427d44d132e27435af5bd40
[ "BSL-1.0" ]
null
null
null
// This file is generated by the rs-update-tests script #include "rs-unit-test.hpp" int main(int argc, char** argv) { RS::UnitTest::begin_tests(argc, argv); // types-test.cpp UNIT_TEST(rs_tl_types_mixins) UNIT_TEST(rs_tl_types_traits) UNIT_TEST(rs_tl_types_iterator_category) UNIT_TEST(rs_tl_...
28.717791
58
0.771203
CaptainCrowbar
8a7d9f390c699a974d904a1db836d9520d3aed98
5,813
cpp
C++
Blink.cpp
CPaladiya/14_BlackJack
4a65abbefac00d362e1017f064a10a15ae8f8a73
[ "Linux-OpenIB" ]
null
null
null
Blink.cpp
CPaladiya/14_BlackJack
4a65abbefac00d362e1017f064a10a15ae8f8a73
[ "Linux-OpenIB" ]
null
null
null
Blink.cpp
CPaladiya/14_BlackJack
4a65abbefac00d362e1017f064a10a15ae8f8a73
[ "Linux-OpenIB" ]
null
null
null
#include "GameGUI.h" //Will set tile to yellow color background to player score void Window::PlayerScoreYellowTile(){ PlayerScore_->setStyleSheet("background-color : yellow ; font-size : 60 px; font-weight : bold; color : black"); } //Will set tile to yellow color background to dealer score void Window::DealerSco...
42.742647
124
0.744194
CPaladiya
8a7e58908b7c902cd91155801a4cac3dd6a6307f
1,676
cpp
C++
pack/cpp/deltas_amd64.cpp
viant/vec
51f2e71bebfbfa80ab44f3d00bca1adeb4a9c3c9
[ "Apache-2.0" ]
1
2022-02-21T22:44:50.000Z
2022-02-21T22:44:50.000Z
pack/cpp/deltas_amd64.cpp
viant/vec
51f2e71bebfbfa80ab44f3d00bca1adeb4a9c3c9
[ "Apache-2.0" ]
null
null
null
pack/cpp/deltas_amd64.cpp
viant/vec
51f2e71bebfbfa80ab44f3d00bca1adeb4a9c3c9
[ "Apache-2.0" ]
null
null
null
#include <smmintrin.h> void compute_deltas(const int32_t * input, size_t length, int32_t * output, int32_t starting_point) asm("compute_deltas"); void compute_deltas(const int32_t * input, size_t length, int32_t * output, int32_t starting_point) { __m128i prev = _mm_set1_epi32(starting_point); size_t i = 0; ...
42.974359
132
0.636038
viant
8a8169088648ed0531c5139f5793c4df1f1641f6
198
hpp
C++
sprout/type/algorithm.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/type/algorithm.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/type/algorithm.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_TYPE_ALGORITHM_HPP #define SPROUT_TYPE_ALGORITHM_HPP #include <sprout/config.hpp> #include <sprout/type/algorithm/find_index.hpp> #endif // #ifndef SPROUT_TYPE_ALGORITHM_HPP
24.75
48
0.80303
osyo-manga
8a81783e43cfe2326d44e3a56d4a3a8e9b13f88a
436
hpp
C++
Internal/Vulkan/DescriptorsAllocator.hpp
artamonovoleg/EternityGraphic
0702cca3cca64d3af06afe7bfa5cb1464d04da8f
[ "MIT" ]
null
null
null
Internal/Vulkan/DescriptorsAllocator.hpp
artamonovoleg/EternityGraphic
0702cca3cca64d3af06afe7bfa5cb1464d04da8f
[ "MIT" ]
null
null
null
Internal/Vulkan/DescriptorsAllocator.hpp
artamonovoleg/EternityGraphic
0702cca3cca64d3af06afe7bfa5cb1464d04da8f
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vulkan/vulkan.hpp> #include <DescriptorsAllocator.h> namespace Eternity { class DescriptorsAllocator { private: std::unique_ptr<vke::DescriptorAllocatorPool> mDescriptorPool; public: void Init(uint32_t framesNum); void Shutdown(); ...
21.8
91
0.674312
artamonovoleg
8a81a8e144950f4b3c94fec4c916e191b983e661
907
hpp
C++
include/unet/wire/ethernet.hpp
andreimaximov/unet
10b6aa82b1ce74fa40c9050f4593c902f9d0fd61
[ "MIT" ]
null
null
null
include/unet/wire/ethernet.hpp
andreimaximov/unet
10b6aa82b1ce74fa40c9050f4593c902f9d0fd61
[ "MIT" ]
null
null
null
include/unet/wire/ethernet.hpp
andreimaximov/unet
10b6aa82b1ce74fa40c9050f4593c902f9d0fd61
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <ostream> #include <unet/wire/wire.hpp> namespace unet { struct UNET_PACK EthernetAddr { struct MemcmpTag {}; std::uint8_t addr[6]; }; UNET_ASSERT_SIZE(EthernetAddr, 6); std::ostream& operator<<(std::ostream& os, EthernetAddr ethAddr); struct UNET_PACK EthernetHeader ...
22.675
80
0.759647
andreimaximov
8a82599e998410647f5d61c1139a088ab573d9cb
3,266
cpp
C++
wrappers/python/Array.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
14
2019-11-06T09:23:09.000Z
2022-01-11T19:08:36.000Z
wrappers/python/Array.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
2
2020-12-01T15:48:27.000Z
2020-12-04T15:19:37.000Z
wrappers/python/Array.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
2
2020-08-12T04:36:36.000Z
2021-05-27T13:17:34.000Z
#include <string> #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <pybind11/operators.h> #include "sycomore/Array.h" #include "sycomore/sycomore.h" template<typename T> pybind11::class_<sycomore::Array<T>> wrap_Array( pybind11::module & m, pybind11::handle python_type, std::string const &...
30.523364
83
0.483772
aTrotier
8a84ae7e2fd4993fd455b4d55f1f18c5258259e7
1,444
cpp
C++
tests/gtests/internals/test_bfloat16.cpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
13
2020-05-29T07:39:23.000Z
2021-11-22T14:01:28.000Z
tests/gtests/internals/test_bfloat16.cpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
8
2020-09-04T02:05:19.000Z
2021-12-24T02:18:37.000Z
tests/gtests/internals/test_bfloat16.cpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
24
2020-08-07T04:21:48.000Z
2021-12-09T02:03:35.000Z
/******************************************************************************* * Copyright 2020 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://www.apache.o...
36.1
80
0.674515
NomotoKazuhiro
8a850c5a3cb8d7b820dca0a6f73f7197c0687f55
306
hpp
C++
tests/future/future_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/future/future_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/future/future_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once //------------------------------------------------------------------------------ namespace future_tests { //------------------------------------------------------------------------------ void run_full(); //------------------------------------------------------------------------------ }
21.857143
80
0.140523
olegpublicprofile
8a85dc0a072208ef6f64954f0e6788b7cf962b06
524
cpp
C++
src/cmd/kits/tpcc/templates.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
27
2015-04-21T08:52:37.000Z
2022-03-18T03:38:58.000Z
src/cmd/kits/tpcc/templates.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
24
2015-07-04T10:45:41.000Z
2018-05-03T08:52:36.000Z
src/cmd/kits/tpcc/templates.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
15
2015-03-31T09:57:10.000Z
2021-06-09T13:44:58.000Z
#include "tpcc_schema.h" #include "sort.h" #include "table_man.cpp" template class table_man_t<tpcc::customer_t>; template class table_man_t<tpcc::district_t>; template class table_man_t<tpcc::history_t>; template class table_man_t<tpcc::item_t>; template class table_man_t<tpcc::new_order_t>; template class table_man...
32.75
47
0.812977
lslersch
8a8cc03a10b38dd34ef08ba7dce2fd3bb152ab75
1,187
cpp
C++
thirdparty/dmcinatra/test/syncclient/main.cpp
brinkqiang/dmplugincpp
c75194fc0aa822ea68e44ee5c210cb517abf5986
[ "MIT" ]
1
2020-04-08T04:42:45.000Z
2020-04-08T04:42:45.000Z
thirdparty/dmcinatra/test/syncclient/main.cpp
brinkqiang/dmplugincpp
c75194fc0aa822ea68e44ee5c210cb517abf5986
[ "MIT" ]
null
null
null
thirdparty/dmcinatra/test/syncclient/main.cpp
brinkqiang/dmplugincpp
c75194fc0aa822ea68e44ee5c210cb517abf5986
[ "MIT" ]
null
null
null
#include "cinatra.hpp" #include "dmutil.h" using namespace cinatra; void print(const response_data& result) { print(result.ec, result.status, result.resp_body, result.resp_headers.second); } int main() { DMSetWorkPath(); auto client = cinatra::client_factory::instance().new_client(); ...
21.581818
83
0.572873
brinkqiang
8a8f2b624ce6a94fbed1149ecfe5a72603f0c3ff
5,092
cpp
C++
src/Reflines.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/Reflines.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/Reflines.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* Part of BridgeData. Copyright (C) 2016-17 by Soren Hein. See LICENSE and README. */ #include <iostream> #include <fstream> #include <sstream> #include <regex> #include "RefLines.h" #include "Buffer.h" #include "parse.h" #include "Bexcept.h" RefLines::RefLines() { RefLines::reset(); } RefLines::~...
18.185714
68
0.639631
data-bridge
8a922fb0cda6605a0faa3442d065cd28158375e5
2,495
cpp
C++
src/BinaryLogger.cpp
TalexDreamSoul/Sharpen
9167c4080438a1f150232d733c4da878639d6f66
[ "MIT" ]
null
null
null
src/BinaryLogger.cpp
TalexDreamSoul/Sharpen
9167c4080438a1f150232d733c4da878639d6f66
[ "MIT" ]
null
null
null
src/BinaryLogger.cpp
TalexDreamSoul/Sharpen
9167c4080438a1f150232d733c4da878639d6f66
[ "MIT" ]
null
null
null
#include <sharpen/BinaryLogger.hpp> #include <sharpen/FileOps.hpp> #include <sharpen/Varint.hpp> #include <sharpen/IntOps.hpp> sharpen::BinaryLogger::BinaryLogger(const char *logName,sharpen::EventEngine &engine) :channel_(nullptr) ,logName_(logName) ,offset_(0) { this->channel_ = sharpen::MakeFileCha...
27.119565
122
0.627655
TalexDreamSoul
8a94cec99cd7fb9d8c65b369edca06f2af7a709c
946
cpp
C++
CODECHEF/NAME1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/NAME1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/NAME1.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int arr[26]; int main() { int t,n; bool b; string A,B,temp; scanf("%d",&t); while(t--) { b=true; memset(arr,0,sizeof(arr)); cin>>A>>B; cin>>n; ...
18.192308
36
0.350951
aqfaridi
8a964731097bc56002e20483a5d6895ea12dc0f4
1,439
cpp
C++
Chapter13/Activity13/Activity13_Test.cpp
TrainingByPackt/The-Cpp-Workshop
a9f9db6e917fd5bb1266f4bdf765d574ed2ebdd1
[ "MIT" ]
4
2019-08-12T08:59:46.000Z
2022-03-08T07:49:29.000Z
Chapter13/Activity13/Activity13_Test.cpp
TrainingByPackt/The-Cpp-Workshop
a9f9db6e917fd5bb1266f4bdf765d574ed2ebdd1
[ "MIT" ]
null
null
null
Chapter13/Activity13/Activity13_Test.cpp
TrainingByPackt/The-Cpp-Workshop
a9f9db6e917fd5bb1266f4bdf765d574ed2ebdd1
[ "MIT" ]
5
2019-10-09T17:00:56.000Z
2022-03-08T07:49:41.000Z
//Chapter 13 : Activity 13 #include "pch.h" #include <iostream> #include <memory> #include <typeinfo> #include <string> #include <set> #include "gtest/gtest.h" using namespace std; std::ostringstream out; void SCRAM() { out << "SCRAM! I mean it. Get away from here!" << endl; } bool reactor_safety_check() { static ...
18.21519
256
0.642808
TrainingByPackt
8a9735ec1e98e7bbb007bf3e601dbf4c598e7bf7
1,372
hpp
C++
wfc/core/wfcglobal.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
1
2018-10-18T10:15:53.000Z
2018-10-18T10:15:53.000Z
wfc/core/wfcglobal.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
7
2019-12-04T23:36:03.000Z
2021-04-21T12:37:07.000Z
wfc/core/wfcglobal.hpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
null
null
null
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015 // // Copyright: See COPYING file that comes with this distribution // #pragma once #include <wfc/core/object_registry.hpp> #include <wfc/core/fire_list.hpp> #include <wfc/core/extended_args.hpp> #include <wfc/core/ibuild_info.hpp> #include <wfc/core...
23.254237
69
0.760933
mambaru
8a97ec70a9313ec36f0fd5a73e2651ff01ceedef
2,407
cc
C++
third_party/blink/renderer/modules/geolocation/geolocation_watchers.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/geolocation/geolocation_watchers.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/geolocation/geolocation_watchers.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "third_party/blink/renderer/modules/geolocation/geolocation_watchers.h" #include "third_party/blink/renderer/modules/geolocation/geo_notifier.h"...
29.353659
80
0.762775
sarang-apps
8a981adb7150d329981ca5c99bc5451a4ac8e374
488,465
cpp
C++
examples/OpenGLWindow/TwFonts.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
9,136
2015-01-02T00:41:45.000Z
2022-03-31T15:30:02.000Z
examples/OpenGLWindow/TwFonts.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,424
2015-01-05T08:55:58.000Z
2022-03-30T19:34:55.000Z
examples/OpenGLWindow/TwFonts.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,921
2015-01-02T10:19:30.000Z
2022-03-31T02:48:42.000Z
// --------------------------------------------------------------------------- // // @file TwFonts.cpp // @author Philippe Decaudin - http://www.antisphere.com // @license This file is part of the AntTweakBar library. // For conditions of distribution and use, see License.txt // // ------...
107.615113
865
0.426538
felipeek
8a98ace8147256590926a94010606c00b86f8742
1,503
cpp
C++
lesson18/example03/share/MyArray.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
lesson18/example03/share/MyArray.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
lesson18/example03/share/MyArray.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
#include "../include/MyArray.h" //在类外定义函数 - 构造函数 MyArray::MyArray() { cout << "MyArray()无参数构造函数" << endl; } //在类外定义函数 - 构造函数 MyArray::MyArray(int size) { cout << "MyArray()有参数构造函数" << endl; if(size <= 0) { throw size; } this->size = size; //动态申请内存 if(this->ele != NULL) { ...
15.821053
44
0.427811
Youngfellows
8a98b494f158726ef5473f4de4bf57fc5c781b00
2,595
cpp
C++
2021/14/b.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/14/b.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/14/b.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; typedef unsigned long long ll; ll dfs(string &l, char targetChar, int d, int targetDepth, unorde...
21.625
80
0.56185
kidonm
8a9946bd516db4b37959da4eca548ecb0de9ca50
2,214
hpp
C++
include/balsa/scene_graph/features/bounding_box.hpp
mtao/balsa
1552f3a367a80dfc41fffc50b5628b46ba716ab8
[ "MIT" ]
null
null
null
include/balsa/scene_graph/features/bounding_box.hpp
mtao/balsa
1552f3a367a80dfc41fffc50b5628b46ba716ab8
[ "MIT" ]
null
null
null
include/balsa/scene_graph/features/bounding_box.hpp
mtao/balsa
1552f3a367a80dfc41fffc50b5628b46ba716ab8
[ "MIT" ]
null
null
null
#if !defined(BALSA_SCENE_GRAPH_FEATURES_BOUNDING_BOX_HPP) #define BALSA_SCENE_GRAPH_FEATURES_BOUNDING_BOX_HPP #include <Eigen/Geometry> #include "../abstract_feature.hpp" #include <iostream> #include "../embedding_traits.hpp" namespace balsa::scene_graph::features { template<concepts::embedding_traits ETraits> clas...
32.086957
109
0.747967
mtao
8a9bbc28b89a5dcb0015ec77efcf527e12bcbbff
11,998
cpp
C++
decode.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
decode.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
decode.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sqlite3.h> #include <string> #include <vector> #include <map> #include <zlib.h> #include <math.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/mman.h> #include <protozero/pbf_reader.hpp> #include "mvt.hpp" #include "proje...
24.044088
129
0.520253
Phlicess
8a9d818b6e36183fd424976b6107bf4d97fcfd0e
1,741
cpp
C++
3/3.21.cpp
tjzhym/CPP-Primer
04eab308e990cc4cf2dbf1e7a7035bff825f29dc
[ "MIT" ]
null
null
null
3/3.21.cpp
tjzhym/CPP-Primer
04eab308e990cc4cf2dbf1e7a7035bff825f29dc
[ "MIT" ]
null
null
null
3/3.21.cpp
tjzhym/CPP-Primer
04eab308e990cc4cf2dbf1e7a7035bff825f29dc
[ "MIT" ]
null
null
null
// 3.21.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <vector> using namespace std; void printVector (vector<int> v) { cout << "The size of the vector is: " << endl; cout << v.size() << endl; cout << "The contents of the vector are: ...
30.54386
135
0.611143
tjzhym
8a9ecb8b49a8b1cfe66f665236173800d7ef7406
1,115
cpp
C++
learncpp.com/04_Fundamental_Data_Types/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/04_Fundamental_Data_Types/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/04_Fundamental_Data_Types/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
/** * Chapter 4 :: Question 3 * * prompt user to input two floating number, * and the operation, then caculate the result. * * CAUTION: no error handling * * KoaLaYT 00:41 30/01/2020 * */ #include <iostream> double read_number() { std::cout << "Enter a double value: "; double input{}; std::cin >> in...
16.893939
71
0.556054
KoaLaYT
8a9fc3481811e9da015371fddf3ecb6b6c1e33b7
518
cpp
C++
lib/PhasarLLVM/WPDS/JoinLatticeToSemiRingElem.cpp
mewbak/phasar
6691d603dbf2d4074ae27f1c9af493b77d26b796
[ "MIT" ]
1
2021-08-31T08:41:55.000Z
2021-08-31T08:41:55.000Z
lib/PhasarLLVM/WPDS/JoinLatticeToSemiRingElem.cpp
mewbak/phasar
6691d603dbf2d4074ae27f1c9af493b77d26b796
[ "MIT" ]
null
null
null
lib/PhasarLLVM/WPDS/JoinLatticeToSemiRingElem.cpp
mewbak/phasar
6691d603dbf2d4074ae27f1c9af493b77d26b796
[ "MIT" ]
null
null
null
/****************************************************************************** * Copyright (c) 2017 Philipp Schubert. * All rights reserved. This program and the accompanying materials are made * available under the terms of LICENSE.txt. * * Contributors: * Philipp Schubert and others **********************...
32.375
79
0.525097
mewbak
8aa0ff946a1a1f66febc0c2bde78611d95acd3d5
4,051
hpp
C++
src/Import3DS.hpp
moonwho101/DungeonStompDirectX11PixelShader
d3f044d2a56285f900d39bc0fa2c6eeda20ba8c1
[ "MIT" ]
null
null
null
src/Import3DS.hpp
moonwho101/DungeonStompDirectX11PixelShader
d3f044d2a56285f900d39bc0fa2c6eeda20ba8c1
[ "MIT" ]
null
null
null
src/Import3DS.hpp
moonwho101/DungeonStompDirectX11PixelShader
d3f044d2a56285f900d39bc0fa2c6eeda20ba8c1
[ "MIT" ]
null
null
null
#ifndef __IMPORT3DS_H #define __IMPORT3DS_H #include <stdio.h> #include <io.h> #include <fcntl.h> #include <windows.h> #include "world.hpp" #define MAX_NUM_3DS_TRIANGLES 10000 #define MAX_NUM_3DS_VERTICES 10000 #define MAX_NUM_3DS_FACES 10000 #define MAX_NAME_LENGTH 256 #define MAX_NUM_3DS_TEXTURES 200 //#define MAX...
20.881443
59
0.793631
moonwho101
8aa743f717213070380398933b551ae8668c23c7
2,579
cpp
C++
PostView2/DlgSelectRange.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
9
2020-03-22T08:27:03.000Z
2021-09-24T10:02:37.000Z
PostView2/DlgSelectRange.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
1
2021-03-02T06:45:59.000Z
2021-03-02T06:45:59.000Z
PostView2/DlgSelectRange.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
2
2020-06-27T13:59:49.000Z
2021-09-08T16:39:39.000Z
/*This file is part of the PostView source code and is licensed under the MIT license listed below. See Copyright-PostView.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obta...
29.306818
96
0.749128
febiosoftware
8aab5ab4894f9ad4df588a0400a95837477457b9
1,254
cpp
C++
core/geometry/ReinitRemainingSurfelMarker.cpp
pwais/surfelwarp
6e547e6b33b49d903475b869a58c9bda7b9c3061
[ "BSD-3-Clause" ]
223
2019-06-06T04:40:58.000Z
2022-03-21T05:59:54.000Z
core/geometry/ReinitRemainingSurfelMarker.cpp
pwais/surfelwarp
6e547e6b33b49d903475b869a58c9bda7b9c3061
[ "BSD-3-Clause" ]
69
2019-07-13T07:15:21.000Z
2022-03-13T08:20:39.000Z
core/geometry/ReinitRemainingSurfelMarker.cpp
pwais/surfelwarp
6e547e6b33b49d903475b869a58c9bda7b9c3061
[ "BSD-3-Clause" ]
65
2019-06-06T06:06:58.000Z
2022-01-19T15:59:52.000Z
#include "common/ConfigParser.h" #include "core/geometry/ReinitRemainingSurfelMarker.h" surfelwarp::ReinitRemainingSurfelMarker::ReinitRemainingSurfelMarker() { memset(&m_surfel_geometry, 0, sizeof(m_surfel_geometry)); memset(&m_observation, 0, sizeof(m_observation)); memset(&m_fusion_maps, 0, sizeof(m_fusion_maps...
36.882353
92
0.80941
pwais
8aad75f2b3f5ab0af92840ea0580b340e7f58c1c
2,326
cxx
C++
vpr7_x2p/printhandler/SRC/TIO_InputOutputHandlers/TIO_FileOutput.cxx
ganeshgore/OpenFPGA
e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390
[ "MIT" ]
31
2016-02-15T02:57:28.000Z
2021-06-02T10:40:25.000Z
vpr7_x2p/printhandler/SRC/TIO_InputOutputHandlers/TIO_FileOutput.cxx
ganeshgore/OpenFPGA
e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390
[ "MIT" ]
null
null
null
vpr7_x2p/printhandler/SRC/TIO_InputOutputHandlers/TIO_FileOutput.cxx
ganeshgore/OpenFPGA
e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390
[ "MIT" ]
6
2017-02-08T21:51:51.000Z
2021-06-02T10:40:40.000Z
//===========================================================================// // Purpose : Method definitions for the TIO_FileOutput class. // // Public methods include: // - Open // - Close // - Write // //=======================================================================...
31.863014
79
0.352537
ganeshgore
8aae2b18b65f77d4801d7e2d1bd66b101205708d
448
hh
C++
src/Zynga/Framework/Service/V2/Client/Mock/HasResponseBatchTest.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Service/V2/Client/Mock/HasResponseBatchTest.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Service/V2/Client/Mock/HasResponseBatchTest.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh //strict namespace Zynga\Framework\Service\V2\Client\Mock; use Zynga\Framework\Service\V2\Client\Mock\Batch as MockBatch; use Zynga\Framework\Service\V2\Client\Mock\HasResponseBatch as Batch; use Zynga\Framework\Testing\TestCase\V2\Base as TestCase; class HasResponseBatchTest extends TestCase { public functio...
29.866667
69
0.767857
chintan-j-patel
8ab1b9b74dc3b56190a373ae7a5ef0b056252939
2,557
hpp
C++
blaise-lang/include/gasp/blaise/impl/blaise_ast_expression_utility.hpp
sanelli/gasp
108700e8739534e9c152d7c8e2f1308917cf8611
[ "MIT" ]
null
null
null
blaise-lang/include/gasp/blaise/impl/blaise_ast_expression_utility.hpp
sanelli/gasp
108700e8739534e9c152d7c8e2f1308917cf8611
[ "MIT" ]
null
null
null
blaise-lang/include/gasp/blaise/impl/blaise_ast_expression_utility.hpp
sanelli/gasp
108700e8739534e9c152d7c8e2f1308917cf8611
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <gasp/blaise/impl/blaise_ast_expression.hpp> namespace gasp::blaise::ast { class blaise_ast_expression_utility { public: static std::shared_ptr<blaise_ast_expression_boolean_value> as_boolean_literal(std::shared_ptr<blaise_ast_expression> expression); static std::shared...
73.057143
162
0.853344
sanelli
8ab64d8589a058c91ce21452fe86f3ead7b9a00f
9,574
cpp
C++
XInput/RumbleController/RumbleController.cpp
zzgchina888/directx_sdk_sample
1982d2323be0e44fc060515cd712f42cfdb38339
[ "MIT" ]
1
2021-04-29T15:44:11.000Z
2021-04-29T15:44:11.000Z
XInput/RumbleController/RumbleController.cpp
zzgchina888/directx_sdk_sample
1982d2323be0e44fc060515cd712f42cfdb38339
[ "MIT" ]
null
null
null
XInput/RumbleController/RumbleController.cpp
zzgchina888/directx_sdk_sample
1982d2323be0e44fc060515cd712f42cfdb38339
[ "MIT" ]
1
2021-08-03T02:40:50.000Z
2021-08-03T02:40:50.000Z
//----------------------------------------------------------------------------- // File: RumbleController.cpp // // Simple use of XInput rumble force-feedback // // Note: This sample works with all versions of XInput (1.4, 1.3, and 9.1.0) // // Copyright (c) Microsoft Corporation. All rights reserved. //-------...
33.592982
131
0.469187
zzgchina888
8ab89337337edf8390b55cc6fcffb4ee8a314cc9
1,483
hpp
C++
test/test_headless.hpp
hfsm/HFSM2
61ecd4d36508dcc348049ee72d51f6cfca095311
[ "MIT" ]
2
2021-01-26T02:50:53.000Z
2021-07-14T02:07:52.000Z
test/test_headless.hpp
hfsm/HFSM2
61ecd4d36508dcc348049ee72d51f6cfca095311
[ "MIT" ]
1
2021-01-26T02:51:46.000Z
2021-01-26T06:06:31.000Z
test/test_headless.hpp
hfsm/HFSM2
61ecd4d36508dcc348049ee72d51f6cfca095311
[ "MIT" ]
null
null
null
#include "test_shared.hpp" namespace test_headless { //------------------------------------------------------------------------------ struct Context {}; using M = hfsm2::Machine<Context>; //////////////////////////////////////////////////////////////////////////////// #define S(s) struct s using FSM = M::Orthogo...
28.519231
80
0.495617
hfsm
8ab8e443b2687a69937866a1269e9a93e3dfec11
2,103
cpp
C++
projs/hello_renderer/src/app.cpp
colintan95/gl_projects
ad9bcdeaaa65474f45968b26a9a565cbe34af68e
[ "MIT" ]
null
null
null
projs/hello_renderer/src/app.cpp
colintan95/gl_projects
ad9bcdeaaa65474f45968b26a9a565cbe34af68e
[ "MIT" ]
null
null
null
projs/hello_renderer/src/app.cpp
colintan95/gl_projects
ad9bcdeaaa65474f45968b26a9a565cbe34af68e
[ "MIT" ]
null
null
null
#include "app.h" #include <iostream> #include <cstdlib> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <glm/gtx/string_cast.hpp> #include "gfx_utils/primitives.h" static const float kPi = 3.14159265358979323846f; static const int kWindowWidth = 1920; static ...
23.897727
80
0.719924
colintan95
8abc0dff5ba7c17b23beda13b48d8b1874bfde92
1,459
cpp
C++
Code/Core/Reflection/ReflectionIter.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
30
2020-07-15T06:16:55.000Z
2022-02-10T21:37:52.000Z
Code/Core/Reflection/ReflectionIter.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
1
2020-11-23T13:35:00.000Z
2020-11-23T13:35:00.000Z
Code/Core/Reflection/ReflectionIter.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
12
2020-09-16T17:39:34.000Z
2021-08-17T11:32:37.000Z
// ReflectionIter.cpp //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ #include "ReflectionIter.h" #include "Core/Reflection/ReflectionInfo.h" // CONSTRUCTOR //---------------------------------...
30.395833
90
0.388622
qq573011406
8abc6009e1ec035a964b32437a9bb94f40d8920c
7,434
cpp
C++
assignment1/tokeniser.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
assignment1/tokeniser.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
assignment1/tokeniser.cpp
raymondsim/Computer-System
0b4de4d55157d92e64cae4af048933e39cb09c1f
[ "MIT" ]
null
null
null
// AUTHOR: Mong Yuan SIM (a1808469) // tokeniser implementation for the workshop example language #include "tokeniser-extras.h" // to shorten the code using namespace std; // we are extending the Assignment_Tokeniser namespace namespace Assignment_Tokeniser { // token ::= ... // * wspace ::= '\t' | '\...
27.533333
83
0.539817
raymondsim
8abe2095d4bbe10d7ab3fd57b95a69104019a52c
7,221
cpp
C++
heap_test.cpp
Unkorunk/nasm-data-structures
5aa158e8ac6d81b38a1f9216dbca0091f80bd55d
[ "MIT" ]
null
null
null
heap_test.cpp
Unkorunk/nasm-data-structures
5aa158e8ac6d81b38a1f9216dbca0091f80bd55d
[ "MIT" ]
null
null
null
heap_test.cpp
Unkorunk/nasm-data-structures
5aa158e8ac6d81b38a1f9216dbca0091f80bd55d
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_ENABLE_BENCHMARKING #include <catch.hpp> #include <heap.hpp> #include <queue> #include <Windows.h> using namespace nds; TEST_CASE("Test #1") { SYSTEM_INFO si; GetSystemInfo(&si); const DWORD capacity_divider = si.dwPageSize >> 3; void* my_heap = heap_create(10); ...
22.92381
87
0.637308
Unkorunk
8ac039edbac845978fcfdfd70740fdfa80c04395
4,056
cpp
C++
hw1.skel/HW.cpp
edzh/csc472-hw
036ef3fdeda1cc68549a93d23a8bd9bdb661849d
[ "MIT" ]
1
2020-08-17T08:21:34.000Z
2020-08-17T08:21:34.000Z
HW.cpp
jguerrero12/OpenGL-HW
11d61fda94538e47c91d58af8b781c26b06e5da4
[ "Apache-2.0" ]
null
null
null
HW.cpp
jguerrero12/OpenGL-HW
11d61fda94538e47c91d58af8b781c26b06e5da4
[ "Apache-2.0" ]
null
null
null
// =============================================================== // Computer Graphics Homework Solutions // Copyright (C) 2017 by George Wolberg // // HW.cpp - HW class. Base class of homework solutions. // // Written by: George Wolberg, 2017 // =============================================================== #includ...
30.961832
100
0.634369
edzh
8ac4d479a812e90669464437d2c692e2078b83c2
669
hpp
C++
Incursion/Code/Game/Tile.hpp
yixuan-wei/Incursion
fa76fd30d1867cd05ffbc165d3577bc45cfde7ba
[ "MIT" ]
null
null
null
Incursion/Code/Game/Tile.hpp
yixuan-wei/Incursion
fa76fd30d1867cd05ffbc165d3577bc45cfde7ba
[ "MIT" ]
null
null
null
Incursion/Code/Game/Tile.hpp
yixuan-wei/Incursion
fa76fd30d1867cd05ffbc165d3577bc45cfde7ba
[ "MIT" ]
null
null
null
#pragma once #include "Engine/Math/IntVec2.hpp" struct AABB2; struct Rgba8; struct Vec2; enum TileType : int { TILE_TYPE_GRASS = 0, TILE_TYPE_STONE, TILE_TYPE_MUD, TILE_TYPE_GROUND, TILE_TYPE_EXIT, TILE_TYPE_SAND, TILE_TYPE_DIRT, TILE_TYPE_BRICK, TILE_TYPE_WATER, TILE_TYPE_STEEL, TILE_TYPE_QUARTZ, NUM_T...
15.55814
60
0.750374
yixuan-wei
8ac4fb3ce878f4e92d12d999fa227e2f2a4b8431
3,628
hpp
C++
media/papers/OpenPatternMatching/artifact/code/patterns/regex.hpp
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
1,310
2015-01-04T03:44:04.000Z
2022-03-18T04:44:01.000Z
media/papers/OpenPatternMatching/artifact/code/patterns/regex.hpp
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
62
2015-01-12T07:59:17.000Z
2021-11-14T22:02:14.000Z
media/papers/OpenPatternMatching/artifact/code/patterns/regex.hpp
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
108
2015-02-13T17:39:07.000Z
2021-11-18T11:06:59.000Z
/// /// \file regex.hpp /// /// This file defines regular expression pattern. /// /// \author Yuriy Solodkyy <yuriy.solodkyy@gmail.com> /// /// This file is a part of Mach7 library (http://parasol.tamu.edu/mach7/). /// Copyright (C) 2011-2012 Texas A&M University. /// All rights reserved. /// #pragma once ...
36.646465
115
0.553197
akrzemi1
8acbd57f29ae8cf70f9a2c9eb01ad0c1b78a441a
3,914
cpp
C++
fmo-cpp/tests/test-processing.cpp
sverbach/fmo-android
b4957ea51a4e0df6dc5315eaaf16b73c954d16a4
[ "MIT" ]
37
2019-03-11T09:08:20.000Z
2022-02-26T19:01:51.000Z
fmo-cpp/tests/test-processing.cpp
sverbach/fmo-android
b4957ea51a4e0df6dc5315eaaf16b73c954d16a4
[ "MIT" ]
83
2020-09-22T09:04:38.000Z
2021-06-10T16:15:17.000Z
fmo-cpp/tests/test-processing.cpp
sverbach/fmo-android
b4957ea51a4e0df6dc5315eaaf16b73c954d16a4
[ "MIT" ]
10
2020-06-29T03:22:28.000Z
2021-10-01T15:28:25.000Z
#include "../catch/catch.hpp" #include <fmo/subsampler.hpp> #include "test-data.hpp" #include "test-tools.hpp" SCENARIO("performing per-pixel operations", "[image][processing]") { GIVEN("an empty destination image") { fmo::Image dst{ }; WHEN("source image is BGR") { fmo::Image src{fmo::...
43.010989
98
0.490802
sverbach
8ace4849ac2d7ce004137466669b8ac3d8a5bf63
1,497
cc
C++
libs/nxncf/get_sites.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2020-06-03T15:59:50.000Z
2020-12-21T11:11:57.000Z
libs/nxncf/get_sites.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
null
null
null
libs/nxncf/get_sites.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2019-10-02T06:47:23.000Z
2020-02-02T18:32:23.000Z
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1992 - 2015 // ** University Corporation for Atmospheric Research(UCAR) // ** National Center for Atmospheric Research(NCAR) // ** Research Applications Laboratory(RAL) // ** P.O.Box 3000, Boulder, Colorado, 80307...
24.145161
78
0.60187
OSADP
8acf606e1275b391623e888e74947842eea93bdb
88,169
cpp
C++
tests/Secrets/tst_secretsrequests/tst_secretsrequests.cpp
Denis-Semakin/sailfish-secrets
aebe33ad93ca2378f4f20d455fc43bacba8e9c89
[ "BSD-3-Clause" ]
null
null
null
tests/Secrets/tst_secretsrequests/tst_secretsrequests.cpp
Denis-Semakin/sailfish-secrets
aebe33ad93ca2378f4f20d455fc43bacba8e9c89
[ "BSD-3-Clause" ]
null
null
null
tests/Secrets/tst_secretsrequests/tst_secretsrequests.cpp
Denis-Semakin/sailfish-secrets
aebe33ad93ca2378f4f20d455fc43bacba8e9c89
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2018 Jolla Ltd. * Contact: Chris Adams <chris.adams@jollamobile.com> * All rights reserved. * BSD 3-Clause License, see LICENSE. */ #include <QtTest> #include <QObject> #include <QElapsedTimer> #include <QDBusReply> #include <QQuickView> #include <QQuickItem> #include "Secrets/secretmanager.h"...
46.551742
128
0.71651
Denis-Semakin
8ad271d72780b1da2ab16494ae3059a8a6ce425f
2,336
cpp
C++
test/test_dispatcher.cpp
mjgigli/libaopp
d603127f4e5d9cc1caa6ec5def4f743b2e775812
[ "MIT" ]
null
null
null
test/test_dispatcher.cpp
mjgigli/libaopp
d603127f4e5d9cc1caa6ec5def4f743b2e775812
[ "MIT" ]
null
null
null
test/test_dispatcher.cpp
mjgigli/libaopp
d603127f4e5d9cc1caa6ec5def4f743b2e775812
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Matt Gigli * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publi...
24.589474
79
0.624144
mjgigli
8ad308973b1805615f9dea9fc9e1d1a520a80574
6,439
cc
C++
src/CCA/Components/Arches/PropertyModels/ExtentRxn.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
3
2020-06-10T08:21:31.000Z
2020-06-23T18:33:16.000Z
src/CCA/Components/Arches/PropertyModels/ExtentRxn.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/Arches/PropertyModels/ExtentRxn.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
2
2019-12-30T05:48:30.000Z
2020-02-12T16:24:16.000Z
#include <CCA/Components/Arches/PropertyModels/ExtentRxn.h> using namespace Uintah; //--------------------------------------------------------------------------- //Method: Constructor //--------------------------------------------------------------------------- ExtentRxn::ExtentRxn( std::string prop_name, MaterialMa...
35.379121
130
0.535797
abagusetty
8ad3be829a82febcdebf128ffc1c0fc8b66e14ad
7,003
cpp
C++
src/h5geo/h5mapimpl.cpp
kerim371/h5geo
a023d8c667ff002de361e8184165e6d72e510bde
[ "MIT" ]
1
2021-06-17T23:40:52.000Z
2021-06-17T23:40:52.000Z
src/h5geo/h5mapimpl.cpp
tierra-colada/h5geo
1d577f4194c0f7826a3e584742fc9714831ec368
[ "MIT" ]
null
null
null
src/h5geo/h5mapimpl.cpp
tierra-colada/h5geo
1d577f4194c0f7826a3e584742fc9714831ec368
[ "MIT" ]
null
null
null
#include "../../include/h5geo/misc/h5mapimpl.h" #include "../../include/h5geo/h5mapcontainer.h" #include "../../include/h5geo/h5core.h" #include "../../include/h5geo/misc/h5core_enum_string.h" #include <units/units.hpp> #ifdef H5GEO_USE_GDAL #include <gdal/gdal.h> #include <gdal/gdal_priv.h> #endif H5MapImpl::H5MapI...
23.982877
67
0.659574
kerim371
8ad4be86b0655fff00eaef640e6f514311295235
4,996
hh
C++
hackt_docker/hackt/src/util/persistent.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/persistent.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/persistent.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "util/persistent.hh" Base class interface for persistent, serializable objects. $Id: persistent.hh,v 1.16 2007/07/31 23:23:43 fang Exp $ */ #ifndef __UTIL_PERSISTENT_H__ #define __UTIL_PERSISTENT_H__ #include <iosfwd> #include "util/persistent_fwd.hh" #include "util/new_functor_fwd.hh" //============...
31.421384
79
0.647718
broken-wheel
8ad5187c0902df7abe9f2876e1aa7a5523a3bbf0
3,336
cpp
C++
maxexport/LODUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
maxexport/LODUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
maxexport/LODUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "StdAfx.h" #include "LODUtil.h" #ifdef SGEXPORT_LODCTRL #include "LODCtrl.h" #endif #include <lang/Debug.h> #include <lang/Character.h> #include <lang/Exception.h> #include <lang/NumberReader.h> //----------------------------------------------------------------------------- using namespace lang; ...
26.0625
91
0.566247
Andrewich
e9d3f49ad363b456775fac36f157264df118b727
13,329
cc
C++
src/common/bigdecimal.cc
eniac/parallel-inet-omnet
810ed40aecac89efbd0b6a05ee10f44a09417178
[ "Xnet", "X11" ]
15
2021-08-20T08:10:01.000Z
2022-03-24T21:24:50.000Z
src/common/bigdecimal.cc
eniac/parallel-inet-omnet
810ed40aecac89efbd0b6a05ee10f44a09417178
[ "Xnet", "X11" ]
1
2022-03-30T09:03:39.000Z
2022-03-30T09:03:39.000Z
src/common/bigdecimal.cc
eniac/parallel-inet-omnet
810ed40aecac89efbd0b6a05ee10f44a09417178
[ "Xnet", "X11" ]
3
2021-08-20T08:10:34.000Z
2021-12-02T06:15:02.000Z
//========================================================================== // BIGDECIMAL.CC - part of // OMNeT++/OMNEST // Discrete System Simulation in C++ // // Author: Tamas Borbely // //========================================================================== /*---------------...
24.683333
121
0.494111
eniac
e9d556ab72c54111f99d9cd1d8066d4b5ca885dd
87
cpp
C++
Source/FSD/Private/PromotionRewardsRank.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/PromotionRewardsRank.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/PromotionRewardsRank.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "PromotionRewardsRank.h" FPromotionRewardsRank::FPromotionRewardsRank() { }
14.5
48
0.804598
trumank
e9d66aeaac4e09c6fa7cc7ebec141d02d1b24117
929
cpp
C++
acm/shuoj/timu/1015.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
17
2016-01-01T12:57:25.000Z
2022-02-06T09:55:12.000Z
acm/shuoj/timu/1015.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
null
null
null
acm/shuoj/timu/1015.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
8
2018-12-27T01:31:49.000Z
2022-02-06T09:55:12.000Z
#include<cstring> #include<iostream> using namespace std; const int maxn = 300; int line[maxn],sum[maxn]; int n,m,Max,Min; int ma[200][20]; int mi[200][20]; void dp(int a[]){ for(int i = 1;i<=n;i++) sum[i] = sum[i-1] + a[i]; memset(ma,0,sizeof(ma)); memset(mi,0x3f,sizeof(mi)); for(int i = 1;i<=n...
23.225
82
0.455328
xiaohuihuigh