hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
5171c935134189a2b177f792075a72e555a1787d
4,802
cc
C++
google/cloud/storage/internal/curl_streambuf.cc
rsimion/google-cloud-cpp
cf173f6d43f5f7be9edf6c691715c5c9f721069b
[ "Apache-2.0" ]
1
2020-08-20T20:47:03.000Z
2020-08-20T20:47:03.000Z
google/cloud/storage/internal/curl_streambuf.cc
KaustubhShamshery/google-cloud-cpp
bbfe405555d8325b6f489e56ee12a9173d524ad1
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/internal/curl_streambuf.cc
KaustubhShamshery/google-cloud-cpp
bbfe405555d8325b6f489e56ee12a9173d524ad1
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
34.3
111
0.712203
rsimion
51749a52dcfff783668187d0fe948208030cc1e8
5,415
cc
C++
src/vw/Camera/LensDistortion.cc
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
1
2020-06-02T04:06:43.000Z
2020-06-02T04:06:43.000Z
src/vw/Camera/LensDistortion.cc
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
null
null
null
src/vw/Camera/LensDistortion.cc
tkeemon/visionworkbench
df59fcb31191e1fc4fecfe1901963da1614a52b1
[ "NASA-1.3" ]
null
null
null
// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/Camera/LensDistortion.h> #include <vw/Camera/PinholeModel.h> #include <vw/Math/LevenbergMarquard...
36.1
141
0.717082
tkeemon
517702971384762576b30b77efba3eb4b7fcd4e6
353
cc
C++
Mathematics/ExponentiationII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
Mathematics/ExponentiationII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
Mathematics/ExponentiationII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define int long long #define Mod 1000000007 int power(int a, int b) { int res=1; while(b!=0) { if(b&1) res=((res%Mod) * (a%Mod))%Mod; a=((a%Mod) * (a%Mod))%Mod; b>>=1; } return res; } signed main() { int t,a,b,c; cin>>t; while(t--) { cin>>a>>b>>c; cout...
13.576923
34
0.555241
dhruvie
5180235c5df5b33d4cb4a74a223c80cd1333dfb9
1,857
cpp
C++
src/utils/InternalFuncs.cpp
qcoreteam/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
207
2017-09-15T03:06:08.000Z
2021-12-04T10:31:45.000Z
src/utils/InternalFuncs.cpp
zzusoftboy/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
6
2017-09-11T05:34:21.000Z
2018-03-26T13:44:00.000Z
src/utils/InternalFuncs.cpp
zzusoftboy/zendAPI
b73fed92c2327d965bd545d5e34f8157e4389a6b
[ "Apache-2.0" ]
33
2017-09-15T06:47:01.000Z
2020-07-26T02:17:21.000Z
// @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE ...
30.442623
76
0.626817
qcoreteam
5182009b92b942cfb6812cdd96fbf363d6caf71b
18,108
cpp
C++
source/save_species.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/save_species.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/save_species.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ /*SaveSpecies generate output for the save species command */ #include "cddefines.h" #include "taulines.h" #include "radius.h" #include "save.h" #...
23.516883
127
0.612768
cloudy-astrophysics
3d612252194a0877e3bbda005cacc9411deec8f1
1,722
hpp
C++
Exe1/Network/CommunicationService.hpp
Dibido/OSM-productiestraat
bcb07a11b14d4598bd422c521522f20ec1080f69
[ "BSD-2-Clause" ]
null
null
null
Exe1/Network/CommunicationService.hpp
Dibido/OSM-productiestraat
bcb07a11b14d4598bd422c521522f20ec1080f69
[ "BSD-2-Clause" ]
null
null
null
Exe1/Network/CommunicationService.hpp
Dibido/OSM-productiestraat
bcb07a11b14d4598bd422c521522f20ec1080f69
[ "BSD-2-Clause" ]
null
null
null
#ifndef COMMUNICATIONSERVICE_HPP_ #define COMMUNICATIONSERVICE_HPP_ #include "Config.hpp" #include <boost/asio.hpp> #include "Thread.hpp" #include "MessageHandler.hpp" namespace Messaging { /* * */ class CommunicationService { public: /** * */ static CommunicationService& getCommunicationServ...
22.657895
102
0.658537
Dibido
3d6253a3e289f59804a1d1e82de3d105a9a49c4c
1,420
cpp
C++
Source/MarmotteUnrealGD/Fortress.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
Source/MarmotteUnrealGD/Fortress.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
Source/MarmotteUnrealGD/Fortress.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Fortress.h" #include "DamageComponent.h" #include "HPComponent.h" #include "Kismet/GameplayStatics.h" #include "Kismet/KismetSystemLibrary.h" #include "PlayerCharacter.h" // Sets default values AFortress::AFortress() { // S...
21.846154
132
0.744366
FelixPog
3d669b1e6e05279776932e9cc7785be49a2ec1c3
713
hpp
C++
include/RED4ext/Types/generated/game/state/MachineComponent.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/state/MachineComponent.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/state/MachineComponent.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/SimpleTypes.hpp> #include <RED4ext/Types/generated/game/PlayerControlledComponent.hpp> namespace RED4ext { namespace game::state { struct Mac...
27.423077
69
0.754558
Cyberpunk-Extended-Development-Team
3d6a5284e16b095c48974651509d9f39e1d5283b
1,200
cpp
C++
src/http/content_writer.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
src/http/content_writer.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
src/http/content_writer.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
#include "../coroutine.h" #include "content_writer.h" #include "handler.h" #include "value_body.h" namespace flame { namespace http { content_writer::content_writer(std::shared_ptr<flame::coroutine> co, std::shared_ptr<handler> h, php::string body, int status) : co_(co) , handler_(h) , body_(body) // 保证 body...
30.769231
127
0.655
halivor
3d6d277b8c9b8676731d1e3cb3427fef8ee50e2e
465
hpp
C++
Blocks/Engine/SaveObject.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
5
2018-06-16T06:54:59.000Z
2021-12-23T15:24:42.000Z
Blocks/Engine/SaveObject.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
1
2016-01-15T08:04:18.000Z
2016-01-15T08:04:18.000Z
Blocks/Engine/SaveObject.hpp
SalinderSidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
null
null
null
#ifndef SAVEOBJECT_HPP #define SAVEOBJECT_HPP #include <map> #include <string> using namespace std; class SaveObject { public: // Destructor virtual ~SaveObject() {}; // SaveObject functions void addData(string, string); void clearData(string); void clearAll(); string getData(string); priv...
20.217391
74
0.696774
salindersidhu
3d76705ea6d152483e4045fe12595406e55b48b4
9,228
cpp
C++
BearsLoveHoney/Source/main.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
BearsLoveHoney/Source/main.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
BearsLoveHoney/Source/main.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
/* BearsLoveHoney Matthew Carlin Copyright 2018 */ #include <string> #include <array> #include "selectionscreen.h" #include "honey.h" using namespace std; using namespace Honey; int main(int argc, char* args[]) { StartHoney("Honey Engine"); // Create the selection screen unique_ptr<Screen> selection_s...
27.141176
102
0.614218
bugsbycarlin
3d792b1741d7d1bf6049e482570f653603f09494
6,970
cpp
C++
Source/Decoda/libs/wxWidgets/src/common/sstream.cpp
KoSukeWork/BabeLua
0904f8ba15174fcfe88d75e37349c4f4f15403ef
[ "MIT" ]
null
null
null
Source/Decoda/libs/wxWidgets/src/common/sstream.cpp
KoSukeWork/BabeLua
0904f8ba15174fcfe88d75e37349c4f4f15403ef
[ "MIT" ]
null
null
null
Source/Decoda/libs/wxWidgets/src/common/sstream.cpp
KoSukeWork/BabeLua
0904f8ba15174fcfe88d75e37349c4f4f15403ef
[ "MIT" ]
1
2020-12-07T13:47:47.000Z
2020-12-07T13:47:47.000Z
/////////////////////////////////////////////////////////////////////////////// // Name: common/sstream.cpp // Purpose: string-based streams implementation // Author: Vadim Zeitlin // Modified by: Ryan Norton (UTF8 UNICODE) // Created: 2004-09-19 // RCS-ID: $Id: sstream.cpp 45772 2007-05-03 02:...
29.533898
79
0.491822
KoSukeWork
3d7ba22c882b45e96600c01c166a940f12a7d1a4
21,624
cpp
C++
engine/ChessConstants.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
null
null
null
engine/ChessConstants.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
2
2019-05-10T09:36:10.000Z
2019-05-10T11:14:29.000Z
engine/ChessConstants.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
null
null
null
#include "ChessConstants.hpp" #include "BasicOperations.hpp" #include <cassert> namespace chess { using namespace util; using namespace moves; namespace pieces { char symbols[15]; } namespace moves { Bitboard horiz_slider_moves[util::NUM_SQUARES][util::FULL_6BITOCC + 1]; Bitboard vert...
44.493827
163
0.618017
pumperstew
3d7ceeec5c3c50693b312b8e3e9d5410f5e6f981
239
cpp
C++
src/Utils/ReadFile.cpp
NoahR02/MinecraftClone
e0b1621a15a0ce4726cac66e7a418ce38c3756dd
[ "Unlicense" ]
null
null
null
src/Utils/ReadFile.cpp
NoahR02/MinecraftClone
e0b1621a15a0ce4726cac66e7a418ce38c3756dd
[ "Unlicense" ]
null
null
null
src/Utils/ReadFile.cpp
NoahR02/MinecraftClone
e0b1621a15a0ce4726cac66e7a418ce38c3756dd
[ "Unlicense" ]
null
null
null
#include "ReadFile.h" #include <fstream> std::string readFile(const std::string& path) { std::ifstream file {path, std::ios::in | std::ios::binary}; if(file) return std::string(std::istreambuf_iterator<char>(file), {}); return ""; }
29.875
72
0.67364
NoahR02
3d7f62cfcd15d24c490ce99a8d77ad30238dadf9
2,985
cpp
C++
String/468. Validate IP Address/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
String/468. Validate IP Address/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
String/468. Validate IP Address/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 468. Validate IP Address // // Created by 边俊林 on 2019/8/12. // Copyright © 2019 Minecode.Link. All rights reserved. // /* ------------------------------------------------------ *\ https://leetcode.com/problems/validate-ip-address/ \* ------------------------------------------------------ */ #in...
25.732759
65
0.423116
Minecodecraft
3d836b22935ea647792f796e56113988a9c1c740
2,429
cpp
C++
main.cpp
ucsb-cs32-w21/Lab06-STARTER
8e1996c307578a598e8b6a977c6f5a3ba7686c64
[ "MIT" ]
null
null
null
main.cpp
ucsb-cs32-w21/Lab06-STARTER
8e1996c307578a598e8b6a977c6f5a3ba7686c64
[ "MIT" ]
null
null
null
main.cpp
ucsb-cs32-w21/Lab06-STARTER
8e1996c307578a598e8b6a977c6f5a3ba7686c64
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <vector> #include <map> #include <iomanip> #include <math.h> #include "demogData.h" #include "comboDemogData.h" #include "comboHospitalData.h" #include "countyDemogData.h" #include "comboHospitalData.h" #include "hospitalData.h" #include "cityHospitalDat...
31.960526
124
0.72499
ucsb-cs32-w21
3d8547f8cc08acb3b5ff859da7e395ee33eccd18
3,422
cpp
C++
src/parser.cpp
dbframework/cppodsreport
7de2757cbc9090e6f23ae3b9d281b7fed4dfb1d2
[ "MIT" ]
2
2020-01-13T06:31:06.000Z
2021-01-18T16:22:01.000Z
src/parser.cpp
dbframework/cppodsreport
7de2757cbc9090e6f23ae3b9d281b7fed4dfb1d2
[ "MIT" ]
1
2021-04-13T10:20:13.000Z
2021-04-13T10:20:13.000Z
src/parser.cpp
dbframework/cppodsreport
7de2757cbc9090e6f23ae3b9d281b7fed4dfb1d2
[ "MIT" ]
2
2022-03-07T20:54:18.000Z
2022-03-29T06:44:13.000Z
/* Copyright (c) 2017 Sidorov Dmitry 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, publish, distribute,...
24.618705
103
0.604325
dbframework
3d8f6ab0df7acc3ca7f795c1a3bdd1877c772c91
134
cpp
C++
tests/StaticHandler4Test.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/StaticHandler4Test.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/StaticHandler4Test.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
void X() noexcept(false) { throw; } class Sing { public: Sing() { X(); } }; Sing & Test() { static Sing s; return s; }
8.933333
35
0.514925
galorojo
3d8fbde9c36d8df2591444e3eea46908b8ecace3
6,393
cpp
C++
SRM621/RadioRange.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM621/RadioRange.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
SRM621/RadioRange.cpp
CanoeFZH/SRM
02e3eeaa6044b14640e450725f68684e392009cb
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #include <sstream> #include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <map> #include <string> #include <set> #include <algorithm> using namespace std; const int N = 128; bool vis[N]; class Ra...
66.59375
452
0.544658
CanoeFZH
3d909e15bb15cc884ca4f9b41cef02723ee1c06b
5,999
cpp
C++
src/tests/fp/basic_comp.cpp
manbearian/swfp
6cb96b134482035645617063fb16dfb53561f765
[ "MIT" ]
null
null
null
src/tests/fp/basic_comp.cpp
manbearian/swfp
6cb96b134482035645617063fb16dfb53561f765
[ "MIT" ]
null
null
null
src/tests/fp/basic_comp.cpp
manbearian/swfp
6cb96b134482035645617063fb16dfb53561f765
[ "MIT" ]
null
null
null
#include <stdint.h> #include <iostream> #include <memory> #include <string> #include <algorithm> #include <execution> #include <atomic> #include <limits> #include "swfp.h" // disable constant arithmetic warnings #pragma warning(disable:4756) using std::cout; using std::endl; // // Validate bas...
28.43128
99
0.530755
manbearian
3d90b0dd061dbb3a51cdcddc97c2177d639191f4
3,833
cpp
C++
source/quantum-script-extension-buffer-variablebuffer.cpp
g-stefan/quantum-script-extension-buffer
eece43fcd414663dfdf77483da6e18d393629795
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-buffer-variablebuffer.cpp
g-stefan/quantum-script-extension-buffer
eece43fcd414663dfdf77483da6e18d393629795
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-buffer-variablebuffer.cpp
g-stefan/quantum-script-extension-buffer
eece43fcd414663dfdf77483da6e18d393629795
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script Extension Buffer // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include...
27.775362
108
0.649622
g-stefan
3d978fa15fe1b9a4ac04686cbb6f3cb2fee9b62e
2,525
hpp
C++
rmw_opendds_cpp/include/rmw_opendds_cpp/Service.hpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
7
2019-06-29T09:39:31.000Z
2021-06-23T03:20:06.000Z
rmw_opendds_cpp/include/rmw_opendds_cpp/Service.hpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
33
2018-12-14T10:49:42.000Z
2021-05-26T16:09:53.000Z
rmw_opendds_cpp/include/rmw_opendds_cpp/Service.hpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
16
2019-06-29T09:39:39.000Z
2020-05-29T20:18:39.000Z
// Copyright 2014-2017 Open Source Robotics Foundation, 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 ...
40.725806
106
0.770297
adamsj-oci
3d9b6870098e898a4e5610d30d53925250621e40
1,015
cpp
C++
YorozuyaGSLib/source/_qry_case_buyemblemDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_qry_case_buyemblemDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_qry_case_buyemblemDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_qry_case_buyemblemDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::_qry_case_buyemblemsize2_ptr _qry_case_buyemblemsize2_next(nullptr); Info::_qry_case_buyemblemsize2_clbk _qry_case_buyemblemsize2_user(nullptr); int _qry_case_bu...
36.25
104
0.66798
lemkova
3da24bf43d7d960bf32e7b342a7bf6f51b2a7055
6,162
cpp
C++
functions/functions2.cpp
triffon/up-2016-17
ce3e06fe1503108c29b461dd08f9284ad127a11d
[ "MIT" ]
3
2016-10-21T15:31:44.000Z
2017-01-17T20:04:31.000Z
functions/functions2.cpp
triffon/up-2016-17
ce3e06fe1503108c29b461dd08f9284ad127a11d
[ "MIT" ]
null
null
null
functions/functions2.cpp
triffon/up-2016-17
ce3e06fe1503108c29b461dd08f9284ad127a11d
[ "MIT" ]
1
2021-01-15T17:18:06.000Z
2021-01-15T17:18:06.000Z
#include <iostream> #include <cstring> using namespace std; void referenceStuff() { // някаква променлива, може да е всякакъв тип int x = 10; // когато създаваме копие, копираме стойността и после променяме копието int xCopy = x; xCopy = 15; // после x == 10, само xCopy == 15; ...
26
105
0.530185
triffon
3da4737bac68d4578155289aba87647266f0a964
10,913
hpp
C++
ics/ics.hpp
cgohlke/icsdll
97ecf9761e55ffd34eb736f62f178326a4912836
[ "BSD-3-Clause" ]
1
2021-03-02T23:49:06.000Z
2021-03-02T23:49:06.000Z
ics/ics.hpp
cgohlke/icsdll
97ecf9761e55ffd34eb736f62f178326a4912836
[ "BSD-3-Clause" ]
null
null
null
ics/ics.hpp
cgohlke/icsdll
97ecf9761e55ffd34eb736f62f178326a4912836
[ "BSD-3-Clause" ]
null
null
null
/* ics.hpp Common inlined functions for the ICS library. Copyright (c) 2016-2021, Christoph Gohlke This source code is distributed under the BSD 3-Clause license. Refer to the header file 'ics.h' for documentation and license. */ // number of bytes to align mkl_malloc #define MKL_ALIGN 64 // Number of doubles to ...
23.723913
96
0.532851
cgohlke
3da48a948700480bcc4ccddc0ddf6653df339bd6
1,882
cpp
C++
src/modules/warehouse/FileOpenOrDownloadDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/warehouse/FileOpenOrDownloadDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/warehouse/FileOpenOrDownloadDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
#include "FileOpenOrDownloadDialog.h" #include <wx/xrc/xmlres.h> #include "Configuration.h" #include "resources/images/WarehouseIcon.xpm" BEGIN_EVENT_TABLE(FileOpenOrDownloadDialog, wxDialog) EVT_BUTTON(XRCID("openButton"), FileOpenOrDownloadDialog::OpenEvent) EVT_BUTTON(XRCID("downloadButton"), FileOpenOrDownloadDi...
26.507042
85
0.77152
Thorsten-Geppert
3da628e8c126bbd6be486445de797ce06dbc5e1a
2,418
cpp
C++
google/2016/r1b/c/c.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
google/2016/r1b/c/c.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
google/2016/r1b/c/c.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <climits> #include <cmath> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <unordered_map> #include <vector> using namespace std; typedef long long ll; void printSolution1(const vector<pair<string, string>> &topic) { in...
24.927835
77
0.504963
suhwanhwang
3da6bfd7a6da9b84438d50b383d927ac53a7d68d
4,201
cpp
C++
tests/Graphics/GraphicsTest.cpp
amir9480/michka
d3457026bead1580b54cdf9d48d36684cba5f146
[ "MIT" ]
5
2020-08-30T11:49:45.000Z
2021-11-02T13:50:22.000Z
tests/Graphics/GraphicsTest.cpp
amir9480/michka
d3457026bead1580b54cdf9d48d36684cba5f146
[ "MIT" ]
null
null
null
tests/Graphics/GraphicsTest.cpp
amir9480/michka
d3457026bead1580b54cdf9d48d36684cba5f146
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------- // // Michka // // ------------------------------------------------------------------------------- // // MIT License ...
60.014286
134
0.538919
amir9480
3da7573463a9ae8da9ef3eebc9c6354569642ba4
150,623
cpp
C++
uint128_test_app/src/cpp/TestProgram.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
2
2021-04-18T07:35:56.000Z
2021-04-23T07:37:58.000Z
uint128_test_app/src/cpp/TestProgram.cpp
cpsusie/Int128
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
29
2020-12-18T00:50:36.000Z
2021-03-22T21:35:18.000Z
uint128_test_app/src/cpp/TestProgram.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
null
null
null
// Copyright © 2020-2021 CJM Screws, LLC // 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, publish, dis...
41.897914
228
0.703013
cpsusie
3da7b21bb4e9d1999adb031586bfe30be34d1f6b
1,514
cpp
C++
tests/benchdnn/concat/concat_aux.cpp
BAEsquivel/mkl-dnn
a090094a8ab90e7bebd2c7227177d737529c9bd5
[ "Apache-2.0" ]
1
2020-02-21T07:00:06.000Z
2020-02-21T07:00:06.000Z
tests/benchdnn/concat/concat_aux.cpp
BAEsquivel/mkl-dnn
a090094a8ab90e7bebd2c7227177d737529c9bd5
[ "Apache-2.0" ]
null
null
null
tests/benchdnn/concat/concat_aux.cpp
BAEsquivel/mkl-dnn
a090094a8ab90e7bebd2c7227177d737529c9bd5
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2019 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...
35.209302
80
0.55218
BAEsquivel
3da983b195719c9aaba546a1bd36cc20bf5bcd69
1,093
cc
C++
leetcode/leetcode_203.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_203.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_203.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; ListNode* removeElements(ListNode* head, int val) { ListNode *result = nullptr, *root = nullptr, *p = head; while ...
22.770833
59
0.559012
math715
3dac3833b22d0ae5931a40734339e37548b44ccd
5,292
cpp
C++
src/GPUComputePassEncoder.cpp
dcerisano/webgpu
8d7c09b916a8ef2aaf1297ec3d5433f8775075a6
[ "MIT" ]
225
2019-09-25T13:03:07.000Z
2022-03-23T09:53:28.000Z
src/GPUComputePassEncoder.cpp
dcerisano/webgpu
8d7c09b916a8ef2aaf1297ec3d5433f8775075a6
[ "MIT" ]
35
2020-02-24T09:42:37.000Z
2022-01-27T00:22:57.000Z
src/GPUComputePassEncoder.cpp
dcerisano/webgpu
8d7c09b916a8ef2aaf1297ec3d5433f8775075a6
[ "MIT" ]
21
2020-01-14T01:41:36.000Z
2022-03-29T00:41:17.000Z
#include "GPUComputePassEncoder.h" #include "GPUDevice.h" #include "GPUCommandEncoder.h" #include "GPUComputePipeline.h" #include "GPUBuffer.h" #include "GPUBindGroup.h" #include "DescriptorDecoder.h" Napi::FunctionReference GPUComputePassEncoder::constructor; GPUComputePassEncoder::GPUComputePassEncoder(const Napi:...
31.313609
126
0.720711
dcerisano
3dacb59331297a93d004feb9d729d98d587f587f
1,047
cpp
C++
day-1-contains-duplicate.cpp
suraj-kumbhar/data-structures-1-leetcode-study-plan
a43b5e9efbf39957b203ed26df5dc30c4eed6499
[ "MIT" ]
null
null
null
day-1-contains-duplicate.cpp
suraj-kumbhar/data-structures-1-leetcode-study-plan
a43b5e9efbf39957b203ed26df5dc30c4eed6499
[ "MIT" ]
null
null
null
day-1-contains-duplicate.cpp
suraj-kumbhar/data-structures-1-leetcode-study-plan
a43b5e9efbf39957b203ed26df5dc30c4eed6499
[ "MIT" ]
null
null
null
// 217. Contains Duplicate // Easy // 2342 // 879 // Add to List // Share // Given an integer array nums, // return true if any value appears at least twice in the array, and return false if every element is distinct. // ...
24.348837
115
0.395415
suraj-kumbhar
3dada9b7eb2f12ac0a849a037001132eddc48e2d
40,115
cpp
C++
src/framework/internal_jedii_engine.cpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/framework/internal_jedii_engine.cpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/framework/internal_jedii_engine.cpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
1
2018-05-05T04:13:59.000Z
2018-05-05T04:13:59.000Z
/** \file internal_jedii_engine.cpp . ----------------------------------------------------------------------------- * 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 copyri...
38.204762
177
0.585492
RoboSherlock
3db14d25096cf5c417e0920291b99bb02ebe0aca
5,514
cpp
C++
source/Mlos.Core/InterProcessMlosContext.cpp
HeatherJia/MLOS
b0a350fa817cd23763e29b3295a866838900f476
[ "MIT" ]
null
null
null
source/Mlos.Core/InterProcessMlosContext.cpp
HeatherJia/MLOS
b0a350fa817cd23763e29b3295a866838900f476
[ "MIT" ]
null
null
null
source/Mlos.Core/InterProcessMlosContext.cpp
HeatherJia/MLOS
b0a350fa817cd23763e29b3295a866838900f476
[ "MIT" ]
null
null
null
//********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root // for license information. // // @File: InterProcessMlosContext.cpp // // Purpose: // <description> /...
36.039216
130
0.659956
HeatherJia
3db204a2efa420d6f92705b81dcdb50ef5d276ea
222
cpp
C++
common/renderer/component/Material.cpp
damonwy/vk_launcher
ac06969c3429c5b1a49245ee75a275afa22480c8
[ "MIT" ]
null
null
null
common/renderer/component/Material.cpp
damonwy/vk_launcher
ac06969c3429c5b1a49245ee75a275afa22480c8
[ "MIT" ]
4
2020-12-29T00:16:39.000Z
2021-01-18T02:04:33.000Z
common/renderer/component/Material.cpp
damonwy/vk_launcher
ac06969c3429c5b1a49245ee75a275afa22480c8
[ "MIT" ]
null
null
null
// // Created by Daosheng Mu on 8/9/20. // #include "Material.h" /* void Material::SetupShaderByFileName(const std::string& aVSName, const std::string& aFSName) { mVertexShader = aVSName; mFragShader = aFSName; }*/
17.076923
94
0.693694
damonwy
3db3646ea88f6d4559c03d41acaad1767670a108
2,539
cpp
C++
CollisionSensor.cpp
fjpaz/BouncingGoal
8835ea0f5e3ad164fef8f194d928ae77800f8f9b
[ "MIT" ]
2
2016-09-09T11:39:49.000Z
2016-10-01T07:07:58.000Z
CollisionSensor.cpp
fjpaz/BouncingGoal
8835ea0f5e3ad164fef8f194d928ae77800f8f9b
[ "MIT" ]
null
null
null
CollisionSensor.cpp
fjpaz/BouncingGoal
8835ea0f5e3ad164fef8f194d928ae77800f8f9b
[ "MIT" ]
null
null
null
// **************************************************************** // Copyright (c) 2013 by Francisco Javier Paz Menendez // // This content is licensed under the MIT License. See LICENSE.txt // in the top directory of this distribution for more information // **********************************************************...
29.870588
123
0.58527
fjpaz
3db6e087334a4e1c8f29f70e956c22d5e10d9d00
276
hpp
C++
src/States/StateIdentifiers.hpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
9
2016-12-31T19:56:26.000Z
2018-08-19T19:40:25.000Z
src/States/StateIdentifiers.hpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
null
null
null
src/States/StateIdentifiers.hpp
AbyssAlley/freeShop
58111cc9eff02ab3096c479c2c84ad4441209b36
[ "MIT" ]
4
2017-01-06T16:21:47.000Z
2022-03-25T17:56:39.000Z
#ifndef FREESHOP_STATEIDENTIFIERS_HPP #define FREESHOP_STATEIDENTIFIERS_HPP namespace FreeShop { namespace States { enum ID { None, Title, Loading, Sync, Browse, Sleep, QrScanner, Dialog, News, }; } } #endif // FREESHOP_STATEIDENTIFIERS_HPP
13.142857
39
0.695652
AbyssAlley
3db804ce97ee5a6ab6e5a4ab8134393204467475
3,919
cpp
C++
src/base/muduo/net/common/tcp_client.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/net/common/tcp_client.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/net/common/tcp_client.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
#include "muduo/net/common/tcp_client.h" #include "muduo/base/common/logging.h" #include "define/define_new.h" #include "muduo/net/common/connector.h" #include "muduo/net/common/eventloop.h" #include "muduo/net/common/sockets_ops.h" #include <stdio.h> // snprintf using namespace muduo; using namespace muduo::net; na...
26.126667
120
0.683082
sbfhy
3dc262d01422832fa674d08c5ba775c044b65396
7,603
hpp
C++
include/Facebook/WitAi/Data/Configuration/WitConfiguration.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Facebook/WitAi/Data/Configuration/WitConfiguration.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Facebook/WitAi/Data/Configuration/WitConfiguration.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.ScriptableObject #inclu...
52.075342
264
0.731816
v0idp
3dcc03757c248ad15e5e69bc49a7d6bc8964d295
12,634
hpp
C++
clicache/src/GeodeClassIds.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
clicache/src/GeodeClassIds.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
clicache/src/GeodeClassIds.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
33.780749
99
0.603214
mcmellawatt
3dd3d0231738542acbe4b70ec839e9b71ddb1948
573
cc
C++
tests/exception_dont_execute.cc
ViaDuck/sqlite_modern_cpp
af8019775d7ea946325450fdb95c7aa4d78d5844
[ "MIT" ]
2
2018-03-23T23:41:19.000Z
2019-05-09T03:58:30.000Z
tests/exception_dont_execute.cc
ViaDuck/sqlite_modern_cpp
af8019775d7ea946325450fdb95c7aa4d78d5844
[ "MIT" ]
null
null
null
tests/exception_dont_execute.cc
ViaDuck/sqlite_modern_cpp
af8019775d7ea946325450fdb95c7aa4d78d5844
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <memory> #include <stdexcept> #include <sqlite_modern_cpp.h> #include <catch.hpp> using namespace sqlite; using namespace std; TEST_CASE("Prepared statement will not execute on exceptions", "[prepared_statements]") { database db(":memory:"); db << "CREATE TABLE person ...
23.875
89
0.671902
ViaDuck
3ddcbe173c2ae178bf8b55178e5587820dea1e38
2,317
cc
C++
src/2lgc/software/gdb/gdb_server.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/software/gdb/gdb_server.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/software/gdb/gdb_server.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
1
2019-04-23T14:53:34.000Z
2019-04-23T14:53:34.000Z
/* * Copyright 2018 LE GARREC Vincent * * 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...
33.57971
78
0.731549
Joyero
3de520c34c73d33290fc877eef19363b38107b47
1,088
cpp
C++
toyrt/worker.cpp
BenoitLBen/runtime
cc13a4d3da755f50a3e101cf5d72bce350d0c6b0
[ "MIT" ]
2
2019-03-05T08:01:41.000Z
2019-03-05T08:01:45.000Z
toyrt/worker.cpp
BenoitLBen/runtime
cc13a4d3da755f50a3e101cf5d72bce350d0c6b0
[ "MIT" ]
1
2020-02-28T10:19:32.000Z
2020-02-28T10:19:32.000Z
toyrt/worker.cpp
BenoitLBen/runtime
cc13a4d3da755f50a3e101cf5d72bce350d0c6b0
[ "MIT" ]
null
null
null
#include "worker.hpp" #include "dependencies.hpp" void Worker::mainLoop() { myId = std::this_thread::get_id(); { DECLARE_CONTEXT; TaskPtr task; int spinCounter = 1; while (true) { bool notEmpty = q.tryPop(task); if (!notEmpty) { // Exponential backoff for (int i = 0; i ...
25.904762
80
0.532169
BenoitLBen
3de530c1952ce1d2c71bbbe5f96ef10267349c12
4,511
hpp
C++
sprout/algorithm/fixed/copy_backward.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
1
2018-09-21T23:50:44.000Z
2018-09-21T23:50:44.000Z
sprout/algorithm/fixed/copy_backward.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/algorithm/fixed/copy_backward.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_ALGORITHM_FIXED_COPY_BACKWARD_HPP #define SPROUT_ALGORITHM_FIXED_COPY_BACKWARD_HPP #include <cstddef> #include <iterator> #include <type_traits> #include <sprout/config.hpp> #include <sprout/index_tuple.hpp> #include <sprout/container/traits.hpp> #include <sprout/container/functions.hpp> #incl...
35.242188
137
0.703392
jwakely
3de5e2b17b9c24e1ed94dac8e1fe3ff4c4f24700
794
hpp
C++
include/xasm/interpreter.hpp
itssingh/xeus-asm
43fcd84422bf2c42ebe2552b8817295adc13789f
[ "Apache-2.0" ]
5
2021-09-02T16:04:16.000Z
2021-11-08T11:46:25.000Z
include/xasm/interpreter.hpp
nikitamahoviya/xeus-asm
950e8359cc43154492fdeec9b1a84e7b10079a15
[ "Apache-2.0" ]
7
2021-09-02T09:59:08.000Z
2021-11-09T15:57:05.000Z
include/xasm/interpreter.hpp
itssingh/xeus-asm
43fcd84422bf2c42ebe2552b8817295adc13789f
[ "Apache-2.0" ]
3
2021-09-01T06:31:12.000Z
2021-11-02T10:46:24.000Z
/** * SPDX-License-Identifier: Apache-2.0 * * @file interpreter.hpp * @brief header file interperter class of 8085 microprocessor */ #ifndef INTERPRETER_HPP_ #define INTERPRETER_HPP_ #include <iostream> #include <map> #include <string> #include <vector> #include <sstream> #include "utils.hpp" using namesp...
18.904762
64
0.691436
itssingh
3de611987ad6f02fa833395727d2c0a7881e3d90
1,136
cpp
C++
src/clients/UnknownClient.cpp
RichaGNigam/MyRepository
7ec8461b73e19b72c8eda38b337737c010b79885
[ "Apache-2.0" ]
8
2018-05-02T09:38:43.000Z
2018-09-03T17:36:13.000Z
src/clients/UnknownClient.cpp
RichaGNigam/MyRepository
7ec8461b73e19b72c8eda38b337737c010b79885
[ "Apache-2.0" ]
2
2018-06-19T07:18:54.000Z
2018-06-19T07:21:51.000Z
src/clients/UnknownClient.cpp
RichaGNigam/MyRepository
7ec8461b73e19b72c8eda38b337737c010b79885
[ "Apache-2.0" ]
1
2018-06-27T01:37:13.000Z
2018-06-27T01:37:13.000Z
/* ********************************************************* This code is a proprietary of Kapil Rana Following may not be used in part or in whole without the prior permission of Kapil Rana Author: Kapil Rana Date: 20/06/2015 Purpose: PUSH FYI RS SSL TCP Server Listener. ************************************...
18.622951
77
0.671655
RichaGNigam
3de682766d88a86b049f405567dc412fab68466c
331
hpp
C++
galin/src/shadertoy/tree/qualifier/distance_to/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
galin/src/shadertoy/tree/qualifier/distance_to/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
galin/src/shadertoy/tree/qualifier/distance_to/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "distance_to.hpp" #include <sstream> template<typename DT> std::string glsl_expression( const DistanceTo<DT>& dt, const std::string& argument) { auto ss = std::stringstream(); ss << glsl_distance_function_name(std::get<0>(dt.children)) << "(" << argument << ")"; return s...
19.470588
70
0.646526
the-last-willy
3dec3d047256f48225a4fc75e07890f93031b7ff
703
hpp
C++
src/cache_manager.hpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
src/cache_manager.hpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
src/cache_manager.hpp
TaskForce47/TF47-Insurgency-Intercept
e6ac8218371fa47f7e90213af049be4dc5fb6c96
[ "MIT" ]
null
null
null
#pragma once #include "intercept.hpp" #include "sector.hpp" #define FMT_HEADER_ONLY #include "../fmt/include/fmt/format.h" namespace mission { typedef struct cache { vector3 cache_pos; bool state; std::vector<vector3> hint_markers; object cache_object; intercept::client::EHIdentifierHandle event_handler;...
18.5
93
0.72404
TaskForce47
3ded79841a997941a11646090429266b72ad1125
10,864
cpp
C++
src/njli/physics/shape/PhysicsShapeMultiSphere.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
1
2019-02-13T05:41:54.000Z
2019-02-13T05:41:54.000Z
src/njli/physics/shape/PhysicsShapeMultiSphere.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
null
null
null
src/njli/physics/shape/PhysicsShapeMultiSphere.cpp
njligames/Engine
899c7b79cea33a72fc34f159134f721b56715d3d
[ "MIT" ]
null
null
null
// // PhysicsShapeMultiSphere.cpp // JLIGameEngineTest // // Created by James Folk on 6/22/15. // Copyright (c) 2015 James Folk. All rights reserved. // #pragma mark Implementation #include "PhysicsShapeMultiSphere.h" #include "JLIFactoryTypes.h" #include "World.h" #include "PhysicsShapeMultiSphereBuilder.h" #def...
34.709265
136
0.619385
njligames
3df089669c5cd59756ccae0776014a72b93731d2
12,640
cpp
C++
GWToolboxdll/Modules/HintsModule.cpp
ChyprioteGW/GWToolboxpp
36a017dd073b05519213d4f79357f6a771b654d8
[ "MIT" ]
1
2020-08-11T20:15:25.000Z
2020-08-11T20:15:25.000Z
GWToolboxdll/Modules/HintsModule.cpp
necropola/GWToolboxpp
36a017dd073b05519213d4f79357f6a771b654d8
[ "MIT" ]
null
null
null
GWToolboxdll/Modules/HintsModule.cpp
necropola/GWToolboxpp
36a017dd073b05519213d4f79357f6a771b654d8
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <GWCA/Constants/Maps.h> #include <GWCA/Constants/AgentIDs.h> #include <GWCA/Context/GameContext.h> #include <GWCA/Context/WorldContext.h> #include <GWCA/Managers/UIMgr.h> #include <GWCA/Managers/ChatMgr.h> #include <GWCA/Managers/AgentMgr.h> #include <GWCA/Managers/MapMgr.h> #include <G...
47.340824
281
0.647627
ChyprioteGW
3df7073d12d3293b380237af9a98d3f98241ebf6
8,547
cpp
C++
src/SSLCert.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
221
2018-06-11T07:47:54.000Z
2022-03-28T17:56:06.000Z
src/SSLCert.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
128
2017-12-19T18:18:58.000Z
2022-03-22T01:15:26.000Z
src/SSLCert.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
82
2018-04-29T01:14:47.000Z
2022-03-21T11:32:02.000Z
#include "SSLCert.hpp" namespace httpsserver { SSLCert::SSLCert(unsigned char * certData, uint16_t certLength, unsigned char * pkData, uint16_t pkLength): _certLength(certLength), _certData(certData), _pkLength(pkLength), _pkData(pkData) { } SSLCert::~SSLCert() { // TODO Auto-generated destructor stub } ...
27.482315
127
0.722008
abelsensors
3dfa7987ca6d7837c54a8262e2e3522e3e99d9bc
1,165
cpp
C++
source/096/main.cpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
1
2015-03-12T19:56:28.000Z
2015-03-12T19:56:28.000Z
source/096/main.cpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
null
null
null
source/096/main.cpp
TheBuzzSaw/ProjectEuler
0aa472dc7dac3a710b6a99538b2cbaf8b6463abc
[ "Unlicense" ]
null
null
null
#include "SudokuGrid.hpp" #include <iostream> #include <fstream> #include <cstring> #include <cstdint> using namespace std; int64_t GetAnswer() { char line[16]; ifstream fin("p096_sudoku.txt", ifstream::binary); if (!fin) return 0; int64_t result = 0; while (fin...
21.574074
55
0.406867
TheBuzzSaw
3dfafb3e14181816f0559606f2e0cb2ab202d395
4,344
hpp
C++
viennacl/linalg/cuda/common.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
1
2020-09-21T08:33:10.000Z
2020-09-21T08:33:10.000Z
viennacl/linalg/cuda/common.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
viennacl/linalg/cuda/common.hpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
#ifndef VIENNACL_LINALG_CUDA_COMMON_HPP_ #define VIENNACL_LINALG_CUDA_COMMON_HPP_ /* ========================================================================= Copyright (c) 2010-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
39.853211
183
0.547652
bollig
ad033b8a4f6acdd63473ba54674a6e37ebf075e0
22,434
cpp
C++
Modules/ToFUI/Qmitk/QmitkToFPointSetWidget.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/ToFUI/Qmitk/QmitkToFPointSetWidget.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/ToFUI/Qmitk/QmitkToFPointSetWidget.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
42.011236
191
0.736471
wyyrepo
ad052daf3131db787161725dd032588a713bdd22
2,290
cpp
C++
PML/Renderer/ShaderProgram.cpp
NickAOndo/PML
bcb228d012ffc99a4701afed5a05692df85c1ffa
[ "MIT" ]
null
null
null
PML/Renderer/ShaderProgram.cpp
NickAOndo/PML
bcb228d012ffc99a4701afed5a05692df85c1ffa
[ "MIT" ]
null
null
null
PML/Renderer/ShaderProgram.cpp
NickAOndo/PML
bcb228d012ffc99a4701afed5a05692df85c1ffa
[ "MIT" ]
null
null
null
/******************************************************************* ** Author: Nicholas Ondo ** License: MIT ** Description: ShaderProgram src. -- Container and manager for: a.) shader program GPU id b.) individual Shader instances (Vertex, Fragment) c.) associated loa...
23.131313
103
0.630131
NickAOndo
ad0665c7f2af9e5d519a7da56e164c59819e5393
644
hpp
C++
src/backends/neon/workloads/NeonCastWorkload.hpp
Srivathsav-max/armnn-clone
af2daa6526623c91ee97f7141be4d1b07de92a48
[ "MIT" ]
1
2022-03-31T18:21:59.000Z
2022-03-31T18:21:59.000Z
src/backends/neon/workloads/NeonCastWorkload.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
src/backends/neon/workloads/NeonCastWorkload.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
// // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "NeonBaseWorkload.hpp" #include <arm_compute/core/Error.h> #include <arm_compute/runtime/NEON/functions/NECast.h> namespace armnn { arm_compute::Status NeonCastValidate(const TensorInfo& i...
22.206897
88
0.773292
Srivathsav-max
ad09560b4292c11306210958495fedd2d2eb7958
4,222
cpp
C++
app/Model/TrafficSignModel.cpp
ketian/tracker
3ac936d0e3639ad40d824260349b5b99400575a0
[ "MIT" ]
null
null
null
app/Model/TrafficSignModel.cpp
ketian/tracker
3ac936d0e3639ad40d824260349b5b99400575a0
[ "MIT" ]
null
null
null
app/Model/TrafficSignModel.cpp
ketian/tracker
3ac936d0e3639ad40d824260349b5b99400575a0
[ "MIT" ]
1
2019-11-14T10:43:32.000Z
2019-11-14T10:43:32.000Z
#include "TrafficSignModel.hpp" #include <string> #include <boost/make_shared.hpp> #include <fstream> #include "Algorithm/Tracker.h" #include "Algorithm/Config.h" using namespace std; using namespace cv; TrafficSignModel::TrafficSignModel() { sp_image = boost::make_shared<ImageData>(); sp_mark = boost::make...
26.721519
115
0.622217
ketian
ad0ff98a9073ff0a66d8003efba1d714f9ad6e57
1,679
cc
C++
src/ast/identifier_expression_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
src/ast/identifier_expression_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
src/ast/identifier_expression_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint Authors. // // 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 ...
25.830769
75
0.730792
dorba
ad14560bf5a0881b299acb7d369a5ddfb943783e
5,385
hxx
C++
opencascade/BRepFeat.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepFeat.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepFeat.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1995-06-13 // Created by: Jacques GOUSSARD // Copyright (c) 1995-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the G...
36.883562
259
0.755432
mgreminger
ad1753d2e405509f36bdf4ee7631a133eb43e434
174
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_M1_PDTSP.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_M1_PDTSP.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_M1_PDTSP.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" namespace LKH { GainType LKHAlg::Penalty_M1_PDTSP() { GainType P = Penalty_M_PDTSP(); return P > CurrentPenalty ? P : P + Penalty_SOP(); } }
21.75
52
0.678161
BaiChunhui-9803
ad18d7d2e5a3d4a5ac578a378ad973c1ee1df04b
5,948
cpp
C++
src/libs/ocBase/Millisecond.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
null
null
null
src/libs/ocBase/Millisecond.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
8
2022-01-19T08:18:51.000Z
2022-03-13T14:45:03.000Z
src/libs/ocBase/Millisecond.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
null
null
null
#include "Millisecond.h" Millisecond::Millisecond(const bool isUTC) { set(isUTC); } Millisecond::Millisecond(const SQWORD other, const bool isUTC) { set(other, isUTC); } void Millisecond::set(const bool isUTC) { set(currentLocalMsec(), isUTC); } void Millisecond::set(const SQWORD msec, const bool isUTC)...
21.948339
99
0.72041
TO85
ad18e72c1f7d496f0577bc3159de8e97bb9188cb
417
hpp
C++
include/lol/def/PatcherHeaderEntry.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/PatcherHeaderEntry.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/PatcherHeaderEntry.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct PatcherHeaderEntry { std::string key; std::string value; }; inline void to_json(json& j, const PatcherHeaderEntry& v) { j["key"] = v.key; j["value"] = v.value; } inline void from_json(const json& j, PatcherHeaderEntry& v) { ...
26.0625
63
0.604317
Maufeat
ad1ad2ce4d2ca0ef1cb84c5ccda232ebe46d8905
99,350
hpp
C++
single_src/Argos/Argos.hpp
jebreimo/Argos
4dd12531cc58b229a46c5ed8440102a7023014e3
[ "BSD-2-Clause" ]
39
2022-03-06T18:56:53.000Z
2022-03-26T18:26:59.000Z
single_src/Argos/Argos.hpp
jebreimo/Argos
4dd12531cc58b229a46c5ed8440102a7023014e3
[ "BSD-2-Clause" ]
null
null
null
single_src/Argos/Argos.hpp
jebreimo/Argos
4dd12531cc58b229a46c5ed8440102a7023014e3
[ "BSD-2-Clause" ]
null
null
null
//**************************************************************************** // Copyright © 2020 Jan Erik Breimo. All rights reserved. // Created by Jan Erik Breimo on 2020-03-12. // // This file is distributed under the BSD License. // License text is included with the source distribution. //************************...
34.859649
86
0.564469
jebreimo
ad1f08b9bf8d9966686982c8dd131a0247e468f7
14,036
cpp
C++
_Old_version_But_Working/MainEngineLibrary/UnlineraBlackBox.cpp
lasotek/PDDwithHOSC
442bb32091c006dcdba3f7afdeb66a8bcf30eebc
[ "MIT" ]
1
2021-02-01T18:38:50.000Z
2021-02-01T18:38:50.000Z
_Old_version_But_Working/MainEngineLibrary/UnlineraBlackBox.cpp
lasotek/PDDwithHOSC
442bb32091c006dcdba3f7afdeb66a8bcf30eebc
[ "MIT" ]
null
null
null
_Old_version_But_Working/MainEngineLibrary/UnlineraBlackBox.cpp
lasotek/PDDwithHOSC
442bb32091c006dcdba3f7afdeb66a8bcf30eebc
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "UnlineraBlackBox.h" #include "PrjException.h" #include "PDDEngine.h" #include "time_stamp.h" #include "PrjException.h" _CUnlinearBlackBoxWithModel::_CUnlinearBlackBoxWithModel(_CCircuit* pMainCircuit, const string& InstanceName, _CUnlineraBlackBox& Source, CONNECTION_MAP ConnectionMap) :...
36.839895
208
0.706042
lasotek
ad1fffff85cd32029946c66e73885697823c37df
35,562
cpp
C++
Corium3DAssetsGen/AssetsGen.cpp
Synergy91/Corium3D
ebbb7722a7d6335ca24f579296e8ba083c454678
[ "BSD-3-Clause" ]
null
null
null
Corium3DAssetsGen/AssetsGen.cpp
Synergy91/Corium3D
ebbb7722a7d6335ca24f579296e8ba083c454678
[ "BSD-3-Clause" ]
null
null
null
Corium3DAssetsGen/AssetsGen.cpp
Synergy91/Corium3D
ebbb7722a7d6335ca24f579296e8ba083c454678
[ "BSD-3-Clause" ]
1
2022-03-24T11:14:22.000Z
2022-03-24T11:14:22.000Z
#include "AssetsGen.h" #include "../Corium3D/AssetsOps.h" #include "../Corium3D/BoundingSphere.h" #include "../Corium3D/AABB.h" #include "../Corium3D/ServiceLocator.h" #include "Marshalers.h" #include <assimp/scene.h> #include <assimp/postprocess.h> #include <GLTFSDK/Deserialize.h> #include <GLTFSDK/GLBResourceReader...
47.862719
233
0.74574
Synergy91
ad2182e282960b45e73d9cde743b0efbf6b93711
448
cpp
C++
2. Yellow/1 Week/7. Get Ref/get_ref.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
14
2019-08-29T12:34:07.000Z
2022-03-09T13:31:18.000Z
2. Yellow/1 Week/7. Get Ref/get_ref.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
null
null
null
2. Yellow/1 Week/7. Get Ref/get_ref.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
8
2020-09-10T11:40:03.000Z
2022-03-24T00:34:38.000Z
// // Created by ilya on 28.08.2019. // #include <iostream> #include <map> using namespace std; template <typename Key, typename Value> Value& GetRefStrict(std::map<Key, Value>& map, const Key& key) { if (!map.count(key)) { throw std::runtime_error(""); } return map.at(key); } int main() { map<int, stri...
18.666667
64
0.618304
freeraisor
ad24cde15a79360258b0074ae8932ac3199182da
1,390
cc
C++
literate/layers/09_no_$vars/025num.cc
akkartik/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
76
2015-04-18T14:13:03.000Z
2021-11-29T17:13:09.000Z
literate/layers/12_no_lexical_scope/025num.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
3
2017-08-12T14:15:31.000Z
2018-04-23T21:33:49.000Z
literate/layers/12_no_lexical_scope/025num.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
14
2015-04-14T22:52:07.000Z
2021-11-29T17:13:23.000Z
//// compiled primitives for numbers COMPILE_FN(+, compiledfn_add, "($x $y)", cell* x = lookup("$x"); cell* y = lookup("$y"); if (x->type == FLOAT || y->type == FLOAT) return mkref(new_num(to_float(x) + to_float(y))); else return mkref(new_num(to_int(x) + to_int(y))); ) COMPILE_FN(-, compiledfn_subtract...
30.888889
106
0.598561
akkartik
ad25106d07f7f7f92974ef65859998ccfafa91f6
4,654
cpp
C++
tests/iterator.cpp
Acamol/c-linked-list
39d7f45eb76991bbb4de6ac13fc80d912e3f6001
[ "MIT" ]
null
null
null
tests/iterator.cpp
Acamol/c-linked-list
39d7f45eb76991bbb4de6ac13fc80d912e3f6001
[ "MIT" ]
null
null
null
tests/iterator.cpp
Acamol/c-linked-list
39d7f45eb76991bbb4de6ac13fc80d912e3f6001
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "ListTestTypes.hpp" // int_copy, int_free, int_compare extern "C" { #include "list.h" } TEST(t_list_iterator, general) { List list = list_create(int_copy, int_free, int_compare); ListIterator iterator = list_iterator_create(list); ASSERT_NE(list, nullptr); ASSERT_N...
31.659864
130
0.683498
Acamol
ad25c1fe418061e818b743e65dbb553d64b972fe
534
cpp
C++
codeforces/800/703A-MishkaandGame.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
codeforces/800/703A-MishkaandGame.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
codeforces/800/703A-MishkaandGame.cpp
thesaravanakumar/competative-programming
828b9973bbd90945d6edf3719dc2d29213acc3a5
[ "MIT" ]
null
null
null
/*●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●🆀🆄🅰🅺🅴●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●*/ #include <bits/stdc++.h> using namespace std; int main() { int n, ms = 0, cs = 0; cin >> n; while (n--) { int m, c; cin >> m >> c; if (m > c) ms += 1; else if (m < c) cs += ...
23.217391
69
0.308989
thesaravanakumar
ad27bab8643c320b20690dea722d42afa25e490e
600
hpp
C++
include/eve/module/real/core/function/regular/simd/x86/convert.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
include/eve/module/real/core/function/regular/simd/x86/convert.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
include/eve/module/real/core/function/regular/simd/x86/convert.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
33.333333
100
0.508333
leha-bot
ad2e7a73eeb7a2d8ea70fd2159f363d95770e68c
155
cpp
C++
00_compilation_stages/00_02_link/00_02_02_link_error/00_02_02_first_source.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
13
2020-09-01T14:57:21.000Z
2021-11-24T06:00:26.000Z
00_compilation_stages/00_02_link/00_02_02_link_error/00_02_02_first_source.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
5
2020-06-11T14:13:00.000Z
2021-07-14T05:27:53.000Z
00_compilation_stages/00_02_link/00_02_02_link_error/00_02_02_first_source.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
10
2021-03-22T07:54:36.000Z
2021-09-15T04:03:32.000Z
// Link translation units and show errors #include "00_02_02_header.h" int bar(); int main() { int number = my_func(); bar(); return 0; }
11.071429
41
0.612903
pAbogn
ad303cb08f4e616f55505c2da3384f991ce24f97
4,162
cpp
C++
src/caffe/test/test_batch_norm_layer.cpp
BT123/caffe-test
c5610fc35974a0c91c8bf7a39807e12c9c81fbba
[ "Intel", "BSD-2-Clause" ]
22
2017-08-02T07:47:40.000Z
2021-02-16T13:26:03.000Z
src/caffe/test/test_batch_norm_layer.cpp
BT123/caffe-test
c5610fc35974a0c91c8bf7a39807e12c9c81fbba
[ "Intel", "BSD-2-Clause" ]
3
2017-07-10T17:50:59.000Z
2018-04-24T13:59:55.000Z
src/caffe/test/test_batch_norm_layer.cpp
BT123/caffe-test
c5610fc35974a0c91c8bf7a39807e12c9c81fbba
[ "Intel", "BSD-2-Clause" ]
14
2017-04-19T08:24:09.000Z
2022-02-16T08:17:53.000Z
#include <algorithm> #include <cstring> #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/layers/batch_norm_layer.hpp" #include "caffe/test/test_caffe_main.hpp" #include "caffe/test/test_gradient_check_util.hpp" ...
31.059701
77
0.619654
BT123
ad304e2922df761355b88012ea40bfb682b8db55
33,374
cpp
C++
Tests/22/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Tests/22/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Tests/22/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ // TEST Foundation::Containers::Sequence #include "Stroika/Foundation/StroikaPreComp.h" #include <iostream> #include <list> #include <sstream> #include <typeindex> #include <vector> #include "Stroika/Foundation/Characters/String.h" #in...
37.839002
186
0.565021
SophistSolutions
ad38e66bbc1bea90f5066fd0e39f718bdf812c29
3,873
hpp
C++
openstudiocore/src/generateiddfactory/IddFileFactoryData.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/generateiddfactory/IddFileFactoryData.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/generateiddfactory/IddFileFactoryData.hpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
44.517241
120
0.717532
hongyuanjia
ad3ae7902c9097fb5f025e444796cea65ca221c6
1,285
cpp
C++
Background.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
1
2022-03-13T09:02:50.000Z
2022-03-13T09:02:50.000Z
Background.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
1
2022-03-13T09:04:33.000Z
2022-03-13T18:56:32.000Z
Background.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
null
null
null
#include "Background.h" #include <Camera.h> #include <Renderer.h> #include "BackgroundSprite.h" #include <Game.h> constexpr auto bg_sprite_size_pow2 = 6; constexpr auto bg_modulo_mask = (1 << bg_sprite_size_pow2) - 1; Rectangle Background::measure(const Camera& camera) const { const auto location_screen = camera.to_...
41.451613
175
0.720623
thomasvt
ad3ed2161a5dd5d2aec52785faa6d99787007cca
484
cpp
C++
vscript/languages/gm/src/binds/gmGCRootUtil.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/vscript/languages/gm/src/binds/gmGCRootUtil.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/vscript/languages/gm/src/binds/gmGCRootUtil.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
// // gmGCRootUtil.cpp // #include "gmGCRoot.h" #include "gmGCRootUtil.h" // Must be last header #include "memdbgon.h" gmgcrMemFixed::gmgcrMemFixed() : gmMemFixed( sizeof(gmgcrHolder) ) { } gmgcrHolder* gmgcrMemFixed::Alloc() { gmgcrHolder* ptr = (gmgcrHolder*)gmMemFixed::Alloc(); gmConstructElement<gm...
14.235294
55
0.683884
DannyParker0001
ad409266ec307ed008970cd4a48c3947752e8328
1,366
cpp
C++
Hazel/src/Platform/Windows/WindowsInput.cpp
jeremimucha/Hazel
2bda909cd95bbfad99e73ae4b199084e9fa71b66
[ "Apache-2.0" ]
null
null
null
Hazel/src/Platform/Windows/WindowsInput.cpp
jeremimucha/Hazel
2bda909cd95bbfad99e73ae4b199084e9fa71b66
[ "Apache-2.0" ]
null
null
null
Hazel/src/Platform/Windows/WindowsInput.cpp
jeremimucha/Hazel
2bda909cd95bbfad99e73ae4b199084e9fa71b66
[ "Apache-2.0" ]
null
null
null
#include "Hazel/Core/Input.h" #include "Hazel/Core/Application.h" #include "WindowsWindow.h" #include <GLFW/glfw3.h> namespace { GLFWwindow* getWindowHandle() noexcept { return static_cast<GLFWwindow*>(Hazel::Application::get().getWindow().getNativeWindow()); } } // namespace namespace Hazel { bool Input::i...
20.69697
93
0.711567
jeremimucha
ad4150e27b1707147029b47aff3072755446bc4a
12,174
cc
C++
src/tar/archive.cc
mbits-libs/libarch
b1c903d6567e68a47166ad6a2cb647dd9dc83696
[ "MIT" ]
null
null
null
src/tar/archive.cc
mbits-libs/libarch
b1c903d6567e68a47166ad6a2cb647dd9dc83696
[ "MIT" ]
null
null
null
src/tar/archive.cc
mbits-libs/libarch
b1c903d6567e68a47166ad6a2cb647dd9dc83696
[ "MIT" ]
null
null
null
// Copyright (c) 2020 midnightBITS // This code is licensed under MIT license (see LICENSE for details) #include <arch/tar/archive.hh> #include <arch/tar/entry.hh> #include "check_signature.hh" #include <sys/types.h> #include <cctype> #include <charconv> #include <chrono> #include <numeric> #include <unordered_set> ...
28.443925
74
0.63077
mbits-libs
ad41892420623911a3a7f9c113138b3874858761
3,199
cpp
C++
openstudiocore/src/resultsviewer/TabDropDock.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/resultsviewer/TabDropDock.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/resultsviewer/TabDropDock.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
28.5625
96
0.622382
ORNL-BTRIC
ad42652cf40acdf528d17c7c91aa978dd56919aa
193
cpp
C++
docs/mfc/codesnippet/CPP/cdockingmanager-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/cdockingmanager-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/cdockingmanager-class_1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
CDockingManager *pDockManager = GetDockingManager(); ASSERT_VALID(pDockManager); pDockManager->AdjustPaneFrames(); pDockManager->EnableDockSiteMenu(); pDockManager->SetDockingMode(DT_STANDARD);
38.6
52
0.84456
bobbrow
ad43033c0da99d8fe19046245b62870b63a9929e
1,520
cpp
C++
Platforms/WindowsOpenGL/Tests/OpenGLResolverTests.cpp
DeltaEngine/DeltaEngineCpp
7be036473927750a89b8ccaefd425c07d7dd3319
[ "Apache-2.0" ]
7
2015-02-01T21:03:22.000Z
2021-06-29T03:27:28.000Z
Platforms/WindowsOpenGL/Tests/OpenGLResolverTests.cpp
DeltaEngine/DeltaEngineCpp
7be036473927750a89b8ccaefd425c07d7dd3319
[ "Apache-2.0" ]
null
null
null
Platforms/WindowsOpenGL/Tests/OpenGLResolverTests.cpp
DeltaEngine/DeltaEngineCpp
7be036473927750a89b8ccaefd425c07d7dd3319
[ "Apache-2.0" ]
7
2015-02-19T11:46:56.000Z
2019-08-17T12:37:04.000Z
#include "CppUnitTest.h" #include "Core/Tests/CppUnitTestCoreSupport.h" #include "Platforms/WindowsOpenGL/OpenGLResolver.h" #include "Platforms/Windows/Win32Window.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace DeltaEngine::Core; using namespace DeltaEngine::Graphics; using namespace...
33.043478
94
0.782895
DeltaEngine
ad4a5f1a133cfb218911c4c27bf3a3f8e60cd238
48,311
cpp
C++
Plugins/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Private/Misc/VRRenderTargetManager.cpp
MichaelManley/VRExpPluginExample
74d87862216d5b97e303e1b5c00f2cf138c0a136
[ "MIT" ]
null
null
null
Plugins/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Private/Misc/VRRenderTargetManager.cpp
MichaelManley/VRExpPluginExample
74d87862216d5b97e303e1b5c00f2cf138c0a136
[ "MIT" ]
null
null
null
Plugins/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Private/Misc/VRRenderTargetManager.cpp
MichaelManley/VRExpPluginExample
74d87862216d5b97e303e1b5c00f2cf138c0a136
[ "MIT" ]
null
null
null
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "Misc/VRRenderTargetManager.h" #include "Kismet/GameplayStatics.h" #include "GameFramework/PlayerState.h" #include "GameFramework/PlayerController.h" #include "Engine/TextureRenderTarget2D.h" #include "Kismet/KismetMathLibrary.h" #include "Kismet/Ki...
27.049832
240
0.709776
MichaelManley
ad4c11c8613960b5ee7ed784e0ba84ce9b23db78
4,556
hxx
C++
include/pqxx/internal/encodings.hxx
yogsothoth/libpqxx
af9bf34e1ae450e8925a758594f772ba0b515abb
[ "BSD-3-Clause" ]
null
null
null
include/pqxx/internal/encodings.hxx
yogsothoth/libpqxx
af9bf34e1ae450e8925a758594f772ba0b515abb
[ "BSD-3-Clause" ]
null
null
null
include/pqxx/internal/encodings.hxx
yogsothoth/libpqxx
af9bf34e1ae450e8925a758594f772ba0b515abb
[ "BSD-3-Clause" ]
null
null
null
/** Internal string encodings support for libpqxx * * Copyright (c) 2001-2018, Jeroen T. Vermeulen. * * See COPYING for copyright license. If you did not receive a file called * COPYING with this source code, please notify the distributor of this mistake, * or contact the author. */ #ifndef PQXX_H_ENCODINGS #de...
27.612121
80
0.731782
yogsothoth
ad505d641c3baf2dd484101493f2d79d63ac051f
11,207
cpp
C++
src/Examples/Ch13-Simulation/Simulation-02-Integration/Player.cpp
jsaynysa/Ksiazka
657b81f5a291170df8a61e9cded09a14c1d3219e
[ "BSD-3-Clause" ]
344
2015-08-17T01:37:08.000Z
2022-03-09T23:59:09.000Z
src/Examples/Ch13-Simulation/Simulation-02-Integration/Player.cpp
jsaynysa/Ksiazka
657b81f5a291170df8a61e9cded09a14c1d3219e
[ "BSD-3-Clause" ]
10
2015-08-25T14:49:35.000Z
2021-09-10T08:07:10.000Z
src/Examples/Ch13-Simulation/Simulation-02-Integration/Player.cpp
jsaynysa/Ksiazka
657b81f5a291170df8a61e9cded09a14c1d3219e
[ "BSD-3-Clause" ]
74
2015-09-23T16:36:13.000Z
2022-03-07T11:15:35.000Z
//=============================================================================== // @ Player.cpp // ------------------------------------------------------------------------------ // Player // // Copyright (C) 2008-2015 by James M. Van Verth and Lars M. Bishop. // All rights reserved. // // Use of this source code is g...
32.865103
108
0.488355
jsaynysa
ad50ad0903b101998290037878da257b3e2fb1ef
782
cpp
C++
src/networking/win32/winsock.cpp
irisengine/iris
0deb12f5d00c67bf0dde1a702344a2cf73925db6
[ "BSL-1.0" ]
85
2021-10-16T14:58:23.000Z
2022-03-26T11:05:37.000Z
src/networking/win32/winsock.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
null
null
null
src/networking/win32/winsock.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
2
2021-10-17T16:57:13.000Z
2021-11-14T19:11:30.000Z
//////////////////////////////////////////////////////////////////////////////// // Distributed under the Boost Software License, Version 1.0. // // (See accompanying file LICENSE or copy at // // https://www.boost.org/LICENSE_1_0.txt) ...
23.69697
80
0.452685
irisengine
ad592c45e9acb5985ede0618c929ff9b0a8e6611
3,531
hxx
C++
opencascade/BRepFill.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepFill.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepFill.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1994-03-03 // Created by: Joelle CHAUVET // Copyright (c) 1994-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU...
29.181818
163
0.790711
mgreminger
ad5961a0bb5cf9826c8df93d0dcfbbf47da6e756
9,657
cpp
C++
Master/ThirdParty/x360ce/branches/ffb-revision/x360ce/x360ce/Config.cpp
lucasassislar/splitplaypc
973d92d8c86ea18188bfdfbe8691ee42204e17e0
[ "MIT" ]
807
2015-11-19T21:47:35.000Z
2022-03-25T18:56:29.000Z
Master/ThirdParty/x360ce/branches/ffb-revision/x360ce/x360ce/Config.cpp
lucasassislar/splitplaypc
973d92d8c86ea18188bfdfbe8691ee42204e17e0
[ "MIT" ]
160
2015-12-02T03:34:20.000Z
2022-03-26T17:38:23.000Z
Master/ThirdParty/x360ce/branches/ffb-revision/x360ce/x360ce/Config.cpp
lucasassislar/splitplaypc
973d92d8c86ea18188bfdfbe8691ee42204e17e0
[ "MIT" ]
111
2015-12-02T14:00:06.000Z
2022-02-25T15:42:13.000Z
#include "stdafx.h" #include "Common.h" #include "SWIP.h" #include "Logger.h" #include "version.h" #include "Utils.h" #include "InputHook.h" #include "SWIP.h" #include "Config.h" #include "Controller.h" #include "ForceFeedback.h" #include "ControllerManager.h" const u16 Config::buttonIDs[10] = { XINPUT_GAMEPAD_...
28.072674
110
0.596666
lucasassislar
ad598a6741d83eb222d041d9e0eb511aa8519b23
9,644
cpp
C++
core/fxcrt/fx_bidi_unittest.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
core/fxcrt/fx_bidi_unittest.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
core/fxcrt/fx_bidi_unittest.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2015 PDFium 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 "core/fxcrt/fx_bidi.h" #include "testing/gtest/include/gtest/gtest.h" namespace { const wchar_t kNeutralChar = 32; const wchar_t kLeftChar = 65; cons...
26.349727
77
0.675135
sanarea
ad59d66149f2e752bc77645850ab48ce6ac53a91
4,069
hpp
C++
include/nbdl/ui_helper.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
47
2016-06-20T01:41:24.000Z
2021-11-16T10:53:27.000Z
include/nbdl/ui_helper.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
21
2015-11-12T23:05:47.000Z
2019-07-17T19:01:40.000Z
include/nbdl/ui_helper.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
6
2015-11-12T21:23:29.000Z
2019-05-09T17:54:25.000Z
// // Copyright Jason Rice 2017 // 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) // #ifndef NBDL_UI_HELPER_HPP #define NBDL_UI_HELPER_HPP #include <nbdl/detail/default_constructible_lambda.hpp> #include <nbdl/ui_...
28.256944
103
0.637749
ricejasonf
ad628bcb0249a75346545e55ec40cf40d17d9ec5
3,499
cpp
C++
SkeletalAnimation/SkeletalAnimation/Re/Graphics/Gui/GuiSetBar.cpp
Risist/Project-skeletal-animation
1f39d572521bfa0fef7ce9aebf32152608e3dc33
[ "MIT" ]
null
null
null
SkeletalAnimation/SkeletalAnimation/Re/Graphics/Gui/GuiSetBar.cpp
Risist/Project-skeletal-animation
1f39d572521bfa0fef7ce9aebf32152608e3dc33
[ "MIT" ]
null
null
null
SkeletalAnimation/SkeletalAnimation/Re/Graphics/Gui/GuiSetBar.cpp
Risist/Project-skeletal-animation
1f39d572521bfa0fef7ce9aebf32152608e3dc33
[ "MIT" ]
null
null
null
/// Code from ReEngine library /// all rights belongs to Risist (Maciej Dominiak) (risistt@gmail.com) #include <Re\Graphics\Gui\GuiSetBar.h> #include <Re\Graphics\ResourceManager.h> namespace Gui { SetBar::SetBar() { setRepetitionRate(sf::seconds(0.15f)); bPlus.setPressMode(Control::Key::EPressState::hold); ...
31.241071
94
0.727922
Risist
ad65ba1149b93351962e97b13258ef27cc6fd04e
1,710
hpp
C++
src/lib/io/SamReader.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
8
2015-05-13T12:40:44.000Z
2018-03-09T15:10:21.000Z
src/lib/io/SamReader.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
5
2015-03-22T00:58:44.000Z
2017-12-08T18:21:49.000Z
src/lib/io/SamReader.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
4
2015-08-04T01:11:54.000Z
2017-04-11T10:27:42.000Z
#pragma once #include <sam.h> #include <boost/format.hpp> #include <stdexcept> class SamReader { public: SamReader(char const* path, char const* mode) : path_(path) , fp_(hts_open(path, mode)) , required_flags_(0) , skip_flags_(0) , record_count_(0) , skipped_coun...
20.853659
58
0.530409
genome
ad685138c690f86cfc4030f7dfbdd4495c007bd3
462
cpp
C++
test/main.cpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
test/main.cpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
test/main.cpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Nick Naumenko (https://gitlab.com/nnaumenko, * https:://github.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "gtest/gtest.h" #include <iostream> #include <fstream> int m...
24.315789
65
0.712121
nnaumenko
ad697658976b01834bb75c17f5d6555d07a4e5cf
2,108
hh
C++
src/sim/TrackInterface.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/TrackInterface.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/TrackInterface.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
32.430769
79
0.490987
sethrj
ad6c2fa07a21a95c356809060964cef79c8c66e6
4,399
cpp
C++
Networks - Exercises and Practices/Multiplayer Game/Engine/source/Collisions/ModuleCollision.cpp
lucho1/TiesOfNetworks
0189f57d3e5c47092b80ab046efb7a57ed707872
[ "Apache-2.0" ]
null
null
null
Networks - Exercises and Practices/Multiplayer Game/Engine/source/Collisions/ModuleCollision.cpp
lucho1/TiesOfNetworks
0189f57d3e5c47092b80ab046efb7a57ed707872
[ "Apache-2.0" ]
null
null
null
Networks - Exercises and Practices/Multiplayer Game/Engine/source/Collisions/ModuleCollision.cpp
lucho1/TiesOfNetworks
0189f57d3e5c47092b80ab046efb7a57ed707872
[ "Apache-2.0" ]
null
null
null
#include "ModuleCollision.h" static bool CollisionTestOverSeparatingAxis( vec2 a1, vec2 a2, vec2 a3, vec2 a4, // Points in box a vec2 b1, vec2 b2, vec2 b3, vec2 b4, // Points in box b vec2 axis) // Separating axis test { float pa1 = Dot(a1, axis); float pa2 = Dot(a2, axis); float pa3 = ...
28.751634
122
0.677427
lucho1
ad7164cff6afd7dcea23bb0199382385f3ab862f
965
cpp
C++
src/bits_of_matcha/Dtype.cpp
matcha-ai/matcha
c1375fc2bfc9fadcbd643fc1540e3ac470dd9408
[ "MIT" ]
null
null
null
src/bits_of_matcha/Dtype.cpp
matcha-ai/matcha
c1375fc2bfc9fadcbd643fc1540e3ac470dd9408
[ "MIT" ]
null
null
null
src/bits_of_matcha/Dtype.cpp
matcha-ai/matcha
c1375fc2bfc9fadcbd643fc1540e3ac470dd9408
[ "MIT" ]
null
null
null
#include "bits_of_matcha/Dtype.h" #include <stdexcept> #include <map> namespace matcha { Dtype::Dtype(unsigned dtype) : dtype_{dtype} { switch (dtype_) { case 0: // Float break; default: throw std::invalid_argument("unknown dtype"); } } Dtype::Dtype(const std::string& dtype) { static std::ma...
17.545455
64
0.631088
matcha-ai
ad71e1faa8470ab4880732cdca3daa6adc70be81
1,564
hpp
C++
Common/interface/STLUtils/Filesystem.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
null
null
null
Common/interface/STLUtils/Filesystem.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2021-12-10T15:04:04.000Z
2022-01-10T18:56:53.000Z
Common/interface/STLUtils/Filesystem.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2018-06-05T14:08:08.000Z
2018-06-05T14:08:08.000Z
/** * @file Filesystem.hpp * @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen) * @brief Defining functions for helping with file system interaction */ #ifndef USERUTILS_COMMON_STLUTILS_FILESYSTEM_HPP #define USERUTILS_COMMON_STLUTILS_FILESYSTEM_HPP #include <string> #include <vector> #include <experi...
34
79
0.505115
yimuchen
ad72891b779caa3ef3e4d37a37de97da4d9d59ce
499
cpp
C++
CPP/bjorn_5.1_errors/input.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
CPP/bjorn_5.1_errors/input.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
CPP/bjorn_5.1_errors/input.cpp
weliwita/CPPWindowsTutorial
0bba092c20e1afad3434b521a21ae09573579cde
[ "Apache-2.0" ]
null
null
null
#include "std_lib_facilities.h" int main() { vector<string> words {"test","broccoli"}; string current; while(cin>>current){ bool found= false; for(string x:words){ if(x==current){ found = true; break; } } ...
17.821429
45
0.430862
weliwita
ad741f97a38eb6a6e1834dae2a68c784c062d6de
931
cpp
C++
d2rotation.cpp
deepak1418/Computer-Graphics-Program
f76adc1f15ad5f37b5f91ab7119c4e38aab88afa
[ "MIT" ]
null
null
null
d2rotation.cpp
deepak1418/Computer-Graphics-Program
f76adc1f15ad5f37b5f91ab7119c4e38aab88afa
[ "MIT" ]
null
null
null
d2rotation.cpp
deepak1418/Computer-Graphics-Program
f76adc1f15ad5f37b5f91ab7119c4e38aab88afa
[ "MIT" ]
null
null
null
#include<iostream> #include<graphics.h> #include<math.h> using namespace std; #define SIN(x) sin(x*3.1415926/180) #define COS(x) cos(x*3.1415926/180) void rotate(int points[][2],int size,int x_pivot,int y_pivot,int x) { int i=0; while(i<size) { int x_shifted=points[i][0]-x_pivot; int y_shifted=points[i][1]-y_...
23.275
144
0.653061
deepak1418
ad7a2c9904940fb02d478cdcc629e3449e316c45
7,212
cpp
C++
Plugins/VictoryPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VictoryBPLibrary/VictoryBPHTML.gen.cpp
mrjamesweston/The-Music-Must-be-Playing
e0850e8d035c7576a91034d60d7b4a18fcc1ff02
[ "MIT" ]
null
null
null
Plugins/VictoryPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VictoryBPLibrary/VictoryBPHTML.gen.cpp
mrjamesweston/The-Music-Must-be-Playing
e0850e8d035c7576a91034d60d7b4a18fcc1ff02
[ "MIT" ]
null
null
null
Plugins/VictoryPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VictoryBPLibrary/VictoryBPHTML.gen.cpp
mrjamesweston/The-Music-Must-be-Playing
e0850e8d035c7576a91034d60d7b4a18fcc1ff02
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
54.225564
445
0.779118
mrjamesweston