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
9c7c790a564a6e630de2972f7b180f98de45e56a
640
cpp
C++
infoarena/beyond_the_wall (TODO: FIX)/beyond_the_wall.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
1
2022-01-27T17:13:08.000Z
2022-01-27T17:13:08.000Z
infoarena/beyond_the_wall (TODO: FIX)/beyond_the_wall.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
null
null
null
infoarena/beyond_the_wall (TODO: FIX)/beyond_the_wall.cpp
cristicretu/cplusplus
87f5980271431b11ae1b8c14ce6d2c620a404488
[ "MIT" ]
null
null
null
/** * author: etohirse * created: 26.12.2020 15:54:25 **/ #include <fstream> #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") std::ifstream fin("beyond_the_wall.in"); std::ofstream fout("beyond_the_wall.out"); const int mxn = 4e4; std::pair<int, int> av[mxn]; int main() { int n, q; fin...
17.777778
47
0.509375
cristicretu
9c7e82e0399244f5c8bc92a0d48055f7521ce21c
40,020
cpp
C++
Reconstruction/class6-mesh_generation/class6-mesh_generation/poisson/src/PoissonRecon.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
3
2018-02-13T05:39:05.000Z
2019-06-15T17:35:25.000Z
Reconstruction/class6-mesh_generation/class6-mesh_generation/poisson/src/PoissonRecon.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
null
null
null
Reconstruction/class6-mesh_generation/class6-mesh_generation/poisson/src/PoissonRecon.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
1
2018-12-21T13:59:20.000Z
2018-12-21T13:59:20.000Z
/* Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho 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 ...
40.795107
373
0.660645
MrCocoaCat
9c80f9ff88aacebe54b75a76d3c4ff6c762dfd55
5,247
cpp
C++
drlvm/vm/jitrino/src/codegenerator/ipf/IpfType.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
8
2015-11-04T06:06:35.000Z
2021-07-04T13:47:36.000Z
drlvm/vm/jitrino/src/codegenerator/ipf/IpfType.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
1
2021-10-17T13:07:28.000Z
2021-10-17T13:07:28.000Z
drlvm/vm/jitrino/src/codegenerator/ipf/IpfType.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
13
2015-11-27T03:14:50.000Z
2022-02-26T15:12:20.000Z
/* * 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...
29.8125
108
0.483705
sirinath
9c8310c2a2dea6ab25be8ccf42817c5a1bac54a4
957
hpp
C++
src/Evolution/Systems/NewtonianEuler/BoundaryConditions/BoundaryCondition.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/Systems/NewtonianEuler/BoundaryConditions/BoundaryCondition.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/Systems/NewtonianEuler/BoundaryConditions/BoundaryCondition.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <pup.h> #include "Domain/BoundaryConditions/BoundaryCondition.hpp" namespace NewtonianEuler { /// \brief Boundary conditions for the Newtonian Euler hydrodynamics system namespace BoundaryConditions { /// \brief The base cla...
33
80
0.781609
nilsvu
9c83e8cb9572500dad8edbde3cd9091d57c3fae1
6,487
cpp
C++
ui-cpp/src/IsosurfaceWidget.cpp
MSallermann/spirit
d3b771bcbf2f1eb4b28d48899091c17a48f12c67
[ "MIT" ]
46
2020-08-24T22:40:15.000Z
2022-02-28T06:54:54.000Z
ui-cpp/src/IsosurfaceWidget.cpp
MSallermann/spirit
d3b771bcbf2f1eb4b28d48899091c17a48f12c67
[ "MIT" ]
null
null
null
ui-cpp/src/IsosurfaceWidget.cpp
MSallermann/spirit
d3b771bcbf2f1eb4b28d48899091c17a48f12c67
[ "MIT" ]
4
2020-09-05T13:24:41.000Z
2021-11-06T07:46:47.000Z
#include <QtWidgets> #include "IsosurfaceWidget.hpp" #include "SpinWidget.hpp" IsosurfaceWidget::IsosurfaceWidget(std::shared_ptr<State> state, SpinWidget *spinWidget, int i) { this->state = state; this->spinWidget = spinWidget; setAttribute(Qt::WA_DeleteOnClose); // Setup User Interface this->set...
30.744076
196
0.681517
MSallermann
9c84c3b4bd9b231a0935b3b1cc9bb16255245dcd
1,946
cpp
C++
Sources/Sentry/SentryThreadMetadataCache.cpp
mrtnrst/sentry-cocoa
b8724668c3df2a41600d80b7bbde930f70c20f4a
[ "MIT" ]
null
null
null
Sources/Sentry/SentryThreadMetadataCache.cpp
mrtnrst/sentry-cocoa
b8724668c3df2a41600d80b7bbde930f70c20f4a
[ "MIT" ]
null
null
null
Sources/Sentry/SentryThreadMetadataCache.cpp
mrtnrst/sentry-cocoa
b8724668c3df2a41600d80b7bbde930f70c20f4a
[ "MIT" ]
null
null
null
#include "SentryThreadMetadataCache.hpp" #if SENTRY_TARGET_PROFILING_SUPPORTED # include "SentryStackBounds.hpp" # include "SentryThreadHandle.hpp" # include <algorithm> # include <string> # include <vector> namespace { bool isSentryOwnedThreadName(const std::string &name) { return name.rfind("i...
29.044776
94
0.588386
mrtnrst
9c84dc71b0e1c6286420085b9baad54835b0be76
491
hpp
C++
Source/Tools/relive_api/JsonMapRootInfoReader.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
208
2018-06-06T13:14:03.000Z
2022-03-30T02:21:27.000Z
Source/Tools/relive_api/JsonMapRootInfoReader.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
537
2018-06-06T16:50:45.000Z
2022-03-31T16:41:15.000Z
Source/Tools/relive_api/JsonMapRootInfoReader.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
42
2018-06-06T00:40:08.000Z
2022-03-23T08:38:55.000Z
#pragma once #include "JsonModelTypes.hpp" #include <fstream> namespace ReliveAPI { // Reads the root fields to read the version/game type (we need to know this so we can create a game specific reader/do an upgrade of the json). class JsonMapRootInfoReader final { public: void Read(const std::string& fileName); ...
25.842105
144
0.759674
mouzedrift
9c8778de92fe31f69d52a077c62dd553c09fa5a6
1,107
cpp
C++
cannon/math/rootfinding.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/math/rootfinding.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/math/rootfinding.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <iomanip> #include <cannon/math/rootfinding.hpp> #include <cannon/math/nearly_equal.hpp> #include <cannon/log/registry.hpp> using namespace cannon::math; using namespace cannon::log; TEST_CASE("Rootfinding", "[math]") { double r = bisection_method([](double x){ return x ...
26.357143
57
0.600723
cannontwo
9c87dcece66731b3452b1626ab75c3f291c718b3
3,646
cpp
C++
src/python/pypangolin/window.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
662
2019-09-01T02:16:59.000Z
2022-03-29T19:24:07.000Z
src/python/pypangolin/window.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
38
2019-09-05T05:02:20.000Z
2022-03-30T02:59:49.000Z
src/python/pypangolin/window.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
104
2019-09-01T07:41:58.000Z
2022-03-27T16:24:54.000Z
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) Andrey Mnatsakanov * * 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 withou...
34.396226
109
0.583379
Yoyochen0106
9c8baf996df4977f0999775d79e55fb4a4e3c854
6,922
cpp
C++
libs/muddle/src/peer_list.cpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
libs/muddle/src/peer_list.cpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
libs/muddle/src/peer_list.cpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
24.98917
94
0.683762
cyenyxe
9c8e2fffe5c973210c79dda8f4777ca678b78aa4
944
cpp
C++
source/common/xstream/methods/fasterrcnnmethod/example/test_hbcc_info.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/common/xstream/methods/fasterrcnnmethod/example/test_hbcc_info.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/common/xstream/methods/fasterrcnnmethod/example/test_hbcc_info.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
// // Created by yaoyao.sun on 2019-05-18. // Copyright (c) 2019 Horizon Robotics. All rights reserved. // #include <iostream> #include "bpu_predict/bpu_predict.h" int TestHBCCInfo(int argc, char **argv) { const char *model_file_path = "./models/faceMultitask.hbm"; const char *bpu_config = "./configs/bpu_config.j...
26.971429
68
0.638771
robort-yuan
9c8e8209f90318ea5fa25580e127abbba470d4de
896
cpp
C++
510A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
510A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
510A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; /* NAME : DIPU BISWAS JUST CSE 2019 - 2020 PROBLEM CODE : 510A LINK : https://codeforces.com/problemset/problem/510/A */ int main() { int m, n, i = 0, j = 0, k = 2; cin >> m >> n; for(i = 0; i < m; i++){ if(i % 2 == 0) for...
21.853659
57
0.287946
dipubiswas1303
9c8f7b6ec3bed83c367fd83de701506ff241464c
1,837
cpp
C++
kernel/node/Pipe.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
2
2020-07-14T21:16:54.000Z
2020-10-08T08:40:47.000Z
kernel/node/Pipe.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
null
null
null
kernel/node/Pipe.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
null
null
null
#include <libsystem/Result.h> #include "kernel/node/Handle.h" #include "kernel/node/Pipe.h" #define PIPE_BUFFER_SIZE 4096 static bool pipe_can_read(FsPipe *node, FsHandle *handle) { __unused(handle); // FIXME: make this atomic or something... return !ringbuffer_is_empty(node->buffer) || !node->writers;...
22.13253
106
0.696788
busybox11
9c9188b0ece090ee965b9c74dfc2dfa2c6d619c3
750
cpp
C++
src/pattern_library/pattern_fire.cpp
carlyrobison/Hell-Lighting
c7944e27d383bf5f5b5c1b6cd906ae7104314cd5
[ "MIT" ]
3
2017-09-25T00:21:28.000Z
2019-02-25T16:36:13.000Z
src/pattern_library/pattern_fire.cpp
carlyrobison/Hell-Lighting
c7944e27d383bf5f5b5c1b6cd906ae7104314cd5
[ "MIT" ]
26
2017-05-06T08:16:44.000Z
2019-10-27T04:45:32.000Z
src/pattern_library/pattern_fire.cpp
maxwells-daemons/Hell-Lighting
adae245d4858dfe36046625bba71ab4a685dabcc
[ "MIT" ]
9
2017-05-06T08:09:21.000Z
2019-10-25T03:50:47.000Z
#include "pattern_fire.h" void Pattern_Fire::init() { clearLEDs(); FastLED.setBrightness(BRIGHTNESS_MAX); } void Pattern_Fire::loop() { uint16_t brightness = max((float) BRIGHTNESS_MAX * (((float) (1024 - analogRead(PIN_POT))) / 1024.0), 5); FastLED.setBrightness(brightness); for (int i = 1; i < N...
30
109
0.558667
carlyrobison
9c93bc9334c49d76bfcedb4a8635ce8500a2f71c
1,253
cpp
C++
1595/1573862_AC_0MS_56K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
1595/1573862_AC_0MS_56K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
1595/1573862_AC_0MS_56K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<iostream.h> #include<math.h> void main() { const int iPrimeCount=169; const int iPrimeNum[iPrimeCount]={1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103 ,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211 ,223,227,229,233,239,241,251,2...
28.477273
116
0.621708
vandreas19
9c93ebe81e36d96b8f5402d7eeab0c77b642b950
7,309
cpp
C++
hphp/runtime/vm/jit/fixup.cpp
hafeez3000/hhvm
2bd460c8de9012047f95b664670bc9c8127905f2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/fixup.cpp
hafeez3000/hhvm
2bd460c8de9012047f95b664670bc9c8127905f2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/fixup.cpp
hafeez3000/hhvm
2bd460c8de9012047f95b664670bc9c8127905f2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
32.629464
80
0.603913
hafeez3000
9c96bae813bc435c8a8298983f54fe5b60797beb
4,708
cc
C++
analysis/zz_deprecated/untested/RadShockPosn.cc
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
4
2020-08-20T11:31:22.000Z
2020-12-05T13:30:03.000Z
analysis/zz_deprecated/untested/RadShockPosn.cc
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
null
null
null
analysis/zz_deprecated/untested/RadShockPosn.cc
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
4
2020-08-20T14:33:19.000Z
2022-03-07T10:29:34.000Z
/** \file RadShockPosn.cc * \author Jonathan Mackey * * This file reads in a series of fits files, which are assumed to be outputs * of radiative shock simulations in 1D or 2D. For each file it determines * the position of the shock in the x-direction, in the 1st y-column, and * writes the (time,position) pair...
40.586207
126
0.634452
jfbucas
9c9797b5757b82e1c4fc8c7d5573348d27a5e5ea
8,307
hpp
C++
include/node/gen/mem.hpp
PENGUINLIONG/cspv
10dd24c2040d8e5011f196fc962f50d01c956632
[ "Apache-2.0", "MIT" ]
null
null
null
include/node/gen/mem.hpp
PENGUINLIONG/cspv
10dd24c2040d8e5011f196fc962f50d01c956632
[ "Apache-2.0", "MIT" ]
null
null
null
include/node/gen/mem.hpp
PENGUINLIONG/cspv
10dd24c2040d8e5011f196fc962f50d01c956632
[ "Apache-2.0", "MIT" ]
null
null
null
// GENERATED BY `scripts/gen-visitor-templates.py`; DO NOT MODIFY. // Memory node implementation. // @PENGUINLIONG #pragma once #include "node/reg.hpp" typedef Reference<struct MemoryPatternCapture> MemoryPatternCaptureRef; typedef Reference<struct MemoryFunctionVariable> MemoryFunctionVariableRef; typedef Reference<s...
35.050633
132
0.668472
PENGUINLIONG
9c98a694e55d27be8b03bea36cf1e5bb88a1f3cd
6,158
hpp
C++
CppSprtPkg/Include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp
lvjianmin-loongson/uefi
d6fba2f83e00125ff0362b4583461958d459fb4b
[ "BSD-2-Clause" ]
null
null
null
CppSprtPkg/Include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp
lvjianmin-loongson/uefi
d6fba2f83e00125ff0362b4583461958d459fb4b
[ "BSD-2-Clause" ]
null
null
null
CppSprtPkg/Include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp
lvjianmin-loongson/uefi
d6fba2f83e00125ff0362b4583461958d459fb4b
[ "BSD-2-Clause" ]
null
null
null
// -*- C++ -*- // Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 ve...
26.204255
91
0.729458
lvjianmin-loongson
9c9ad6755960492a50c414be65c6f06b2bee3a93
35,058
cpp
C++
Source/Tools/Editor/Editor.cpp
tatjam/rbfx
565b505a8ded1ddf6e0fd0f322e004cb9aefc499
[ "MIT" ]
1
2021-01-09T14:42:48.000Z
2021-01-09T14:42:48.000Z
Source/Tools/Editor/Editor.cpp
tatjam/rbfx
565b505a8ded1ddf6e0fd0f322e004cb9aefc499
[ "MIT" ]
null
null
null
Source/Tools/Editor/Editor.cpp
tatjam/rbfx
565b505a8ded1ddf6e0fd0f322e004cb9aefc499
[ "MIT" ]
1
2020-06-29T08:05:12.000Z
2020-06-29T08:05:12.000Z
// // Copyright (c) 2017-2020 the rbfx project. // // 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, mer...
37.656284
152
0.631325
tatjam
9c9aea0af0fc323928b9b900169e7839ac20ee13
34
hpp
C++
NamedPipes/src/Config.hpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
NamedPipes/src/Config.hpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
8
2020-03-10T23:11:09.000Z
2020-03-14T01:19:32.000Z
NamedPipes/src/Config.hpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
#pragma once #define PIPE_LOGGING
11.333333
20
0.823529
TDToolbox
9c9e1afcf738147c3e40fa2948d52825b8ed25a1
1,393
cpp
C++
src/Fitness/PythonFitness.cpp
NickTUD/GP-GOMEA
f6e150a417855355f520f27db4cfb0b2a9003000
[ "Apache-2.0" ]
1
2022-02-24T17:02:50.000Z
2022-02-24T17:02:50.000Z
src/Fitness/PythonFitness.cpp
dzhliu/evoNSGA-II
060ee4f3191f561829ad5bbe3f813c292caad5b4
[ "Apache-2.0" ]
null
null
null
src/Fitness/PythonFitness.cpp
dzhliu/evoNSGA-II
060ee4f3191f561829ad5bbe3f813c292caad5b4
[ "Apache-2.0" ]
null
null
null
/* */ /* * File: PythonFitness.cpp * Author: virgolin * * Created on May 31, 2019, 12:25 PM */ #include "GPGOMEA/Fitness/PythonFitness.h" using namespace std; using namespace arma; namespace py = boost::python; namespace np = boost::python::numpy; PythonFitness::PythonFitness() { Py_Initialize(); ...
24.017241
150
0.667624
NickTUD
9c9e6fae539b7a36045dfb2e1a46ba04630bdc5c
20,900
cpp
C++
planet.cpp
CobaltXII/planet
4b22ecd4df38a971debeb2714001a6450cebf181
[ "MIT" ]
10
2019-01-13T00:21:41.000Z
2021-06-23T20:11:12.000Z
planet.cpp
CobaltXII/planet
4b22ecd4df38a971debeb2714001a6450cebf181
[ "MIT" ]
null
null
null
planet.cpp
CobaltXII/planet
4b22ecd4df38a971debeb2714001a6450cebf181
[ "MIT" ]
2
2020-07-31T22:09:04.000Z
2020-08-11T02:33:46.000Z
/* GLM header include directives. Please use GLM 0.9.9.3 or greater for known results. Previous versions of GLM are not guaranteed to work correctly. */ #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/mat4x4.hpp> #include <glm/gtc/matrix_transform.hpp> /* libnoise header include directives. libnoi...
25.770654
139
0.70933
CobaltXII
9ca0a6fba5e0922b0bc99853009fee24bf8c7ed2
19,548
cpp
C++
samples/sample_encode/src/pipeline_user.cpp
me176c-dev/MediaSDK
0c7f315958b78c98c5c06bd60565eb8c1ad15d41
[ "MIT" ]
null
null
null
samples/sample_encode/src/pipeline_user.cpp
me176c-dev/MediaSDK
0c7f315958b78c98c5c06bd60565eb8c1ad15d41
[ "MIT" ]
null
null
null
samples/sample_encode/src/pipeline_user.cpp
me176c-dev/MediaSDK
0c7f315958b78c98c5c06bd60565eb8c1ad15d41
[ "MIT" ]
null
null
null
/******************************************************************************\ Copyright (c) 2005-2019, Intel Corporation All rights reserved. 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 c...
38.862823
755
0.689227
me176c-dev
9ca15bbb6f943bb978d452d7046beaf06935cbcf
4,272
cpp
C++
LibCarla/source/test/common/test_buffer.cpp
AbdulHoffmann/carla_carissma
8d382769ffa02a6c61a22c57160285505f5ff0a4
[ "MIT" ]
12
2019-04-24T16:58:52.000Z
2022-01-22T07:48:55.000Z
LibCarla/source/test/common/test_buffer.cpp
AbdulHoffmann/carla_carissma
8d382769ffa02a6c61a22c57160285505f5ff0a4
[ "MIT" ]
1
2019-03-16T07:42:18.000Z
2019-03-16T10:10:52.000Z
LibCarla/source/test/common/test_buffer.cpp
AbdulHoffmann/carla_carissma
8d382769ffa02a6c61a22c57160285505f5ff0a4
[ "MIT" ]
11
2018-09-28T16:18:37.000Z
2022-01-04T06:02:05.000Z
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "test.h" #include <carla/Buffer.h> #include <carla/BufferPool.h> #include <array> #i...
31.182482
78
0.663624
AbdulHoffmann
9ca17dc30c08fb42cd049a2ac44052e498d89e13
526
cpp
C++
SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystemUnitTest/ManagerUnitTest.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystemUnitTest/ManagerUnitTest.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
SOURCE/allProjects/ManagerEmployeeSystem/ManagerEmployeeSystemUnitTest/ManagerUnitTest.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include"..\ManagerEmployeeSystem\Manager.cpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace ManagerEmployeeSystemUnitTest { TEST_CLASS(ManagerUnitTest) { public: TEST_METHOD(ManagerUnitTest_parseManager) { string manEmp = "a->b,c,d...
22.869565
62
0.73384
llanesjuan
9ca520761f83a89d501f7a6f74dd32edc3037114
18,869
cc
C++
chrome/updater/test/integration_tests_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/updater/test/integration_tests_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/updater/test/integration_tests_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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/updater/test/integration_tests_impl.h" #include <cstdlib> #include <memory> #include <string> #include "base/bind.h" #include "base/cal...
37.290514
80
0.669617
chromium
9ca5ec64c1f00539f658fe4201a0f7815d2f8f74
933
cpp
C++
Test/Core/Hash/hash.cpp
CodogoFreddie/FredLib
8c7307d039f285e16a1a6979e05a071a2c18717e
[ "Apache-2.0" ]
2
2016-04-28T22:59:58.000Z
2016-05-04T01:04:27.000Z
Test/Core/Hash/hash.cpp
CodogoFreddie/FredLib
8c7307d039f285e16a1a6979e05a071a2c18717e
[ "Apache-2.0" ]
null
null
null
Test/Core/Hash/hash.cpp
CodogoFreddie/FredLib
8c7307d039f285e16a1a6979e05a071a2c18717e
[ "Apache-2.0" ]
null
null
null
#include<Core/hash.hpp> #include<gtest/gtest.h> #include<gmock/gmock.h> using namespace core; TEST(HashInt, DoneAtCompile){ static_assert(hashInt(1234) != 1234, "Not evaluted at compileTime"); } TEST(Hash, IsItSalty){ EXPECT_NE(hashInt(1234 ), hashInt(1234,1)); EXPECT_NE(hashInt(1234,1), hashInt(1234,2...
27.441176
84
0.687031
CodogoFreddie
9ca92ab7a35f4878cbec4de5b9e03f6c9db9316f
40,214
cc
C++
psdaq/drp/BldDetectorSlow.cc
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/drp/BldDetectorSlow.cc
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/drp/BldDetectorSlow.cc
valmar/lcls2
1c24da076a8cd252cf6601e125dd721fd2004f2a
[ "BSD-3-Clause-LBNL" ]
null
null
null
#define __STDC_FORMAT_MACROS 1 #include "BldDetector.hh" #include <bitset> #include <chrono> #include <iostream> #include <memory> #include <arpa/inet.h> #include <sys/ioctl.h> #include <net/if.h> #include "DataDriver.h" #include "RunInfoDef.hh" #include "psdaq/service/kwargs.hh" #include "psdaq/service/EbDgram.hh" #...
35.841355
143
0.557418
valmar
9ca9d6ceb9012640ab4a4d240e09131bbfa8b0e1
217
cpp
C++
answers/Kronos-2701/Day3/Que1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/Kronos-2701/Day3/Que1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/Kronos-2701/Day3/Que1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
#include <bits/stdc++.h> using namespace std; int main() { int sum=1, s,x=1; cout<<"Enter no. of terms"; cin>>s; if (s<=1){cout<<s;} else {for (int i =2;i<=s;i++){ x=x*10; x=x+i; sum=sum+x; } cout<<sum;} return 0; }
14.466667
34
0.571429
arc03
66d4adbd39653ccee1c693950dc60d6fe1d7d823
1,825
cpp
C++
src/Mapper.cpp
binss/HTTPServer
8f2bcae86b00fed7c237c51aa4e6990d852d9370
[ "MIT" ]
null
null
null
src/Mapper.cpp
binss/HTTPServer
8f2bcae86b00fed7c237c51aa4e6990d852d9370
[ "MIT" ]
null
null
null
src/Mapper.cpp
binss/HTTPServer
8f2bcae86b00fed7c237c51aa4e6990d852d9370
[ "MIT" ]
null
null
null
/*********************************************************** * FileName: Mapper.cpp * Author: binss * Create: 2015-11-06 11:24:22 * Description: No Description ***********************************************************/ #include "Mapper.h" Mapper * Mapper::mapper = NULL; Mapper * Mapper::GetIns...
20.505618
75
0.568767
binss
66d5fffc8f179b4dd7597fcf56070e93f11a7dc7
5,640
cpp
C++
Source/UiUndoRedo.cpp
StefanoLusardi/BilinearOscillator
cb53ba05a865cc360243adf0e04ef9421028abcf
[ "MIT" ]
1
2020-03-15T17:48:01.000Z
2020-03-15T17:48:01.000Z
Source/UiUndoRedo.cpp
StefanoLusardi/BilinearOscillator
cb53ba05a865cc360243adf0e04ef9421028abcf
[ "MIT" ]
null
null
null
Source/UiUndoRedo.cpp
StefanoLusardi/BilinearOscillator
cb53ba05a865cc360243adf0e04ef9421028abcf
[ "MIT" ]
null
null
null
/* ============================================================================== This is an automatically generated GUI class created by the Projucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade...
35.923567
152
0.606738
StefanoLusardi
66d7ac6c6ee2501963e8ba43336d8cb525e8cfeb
904
hpp
C++
Engine/Lang/AST/Nodes/Conditional/ASTNodeIfStatement.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
3
2020-05-19T20:24:28.000Z
2020-09-27T11:28:42.000Z
Engine/Lang/AST/Nodes/Conditional/ASTNodeIfStatement.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
31
2020-05-27T11:01:27.000Z
2020-08-08T15:53:23.000Z
Engine/Lang/AST/Nodes/Conditional/ASTNodeIfStatement.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************************************************************** * Copyright 2020 Gabriel Gheorghe. All rights reserved. * This code is licensed under the BSD 3-Clause "New" or "Revised" License * License url: https://github.com/GabyForceQ/PolluxEngine/bl...
28.25
127
0.533186
GabyForceQ
66dada6aaee5ee9855357d9c260122634db95977
9,323
cc
C++
chromeos/dbus/fake_shill_profile_client.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
chromeos/dbus/fake_shill_profile_client.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2016-07-11T15:19:20.000Z
2017-04-02T20:38:55.000Z
chromeos/dbus/fake_shill_profile_client.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/dbus/fake_shill_profile_client.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/location.h" #include "base/sing...
35.857692
80
0.681969
Wzzzx
66db37e769a9b33ab81395527d6b607bb0c1943b
300
cc
C++
cpp/cli/src/pe19.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
null
null
null
cpp/cli/src/pe19.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
null
null
null
cpp/cli/src/pe19.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
1
2016-09-01T22:47:28.000Z
2016-09-01T22:47:28.000Z
#include "../include/pe19.h" #include <cstdlib> #include <iostream> int pe19(int argc, char **argv) { using namespace std; uint32_t n = 2000; if (argc > 1) { char *end; n = strtoul(argv[1], &end, 10); } cout << "n = " << n << endl; cout << pe::pe19(n) << endl; return 0; }
14.285714
35
0.546667
kittttttan
66dbe0bfd92e29fd9e3a76640280f22043867d85
14,891
cc
C++
src/objects/js-list-format.cc
mtk-watch/android_external_v8
29eb30806a59123b1f9faf9083a12d26fa418fad
[ "BSD-3-Clause" ]
2
2020-08-27T19:12:59.000Z
2021-01-27T05:45:29.000Z
src/objects/js-list-format.cc
mtk-watch/android_external_v8
29eb30806a59123b1f9faf9083a12d26fa418fad
[ "BSD-3-Clause" ]
null
null
null
src/objects/js-list-format.cc
mtk-watch/android_external_v8
29eb30806a59123b1f9faf9083a12d26fa418fad
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_INTL_SUPPORT #error Internationalization is expected to be enabled. #endif // V8_INTL_SUPPORT #include "src/objects/js-list-format.h" #inc...
37.042289
80
0.657646
mtk-watch
66dcdc4dd1312b091c26771ee52645ad4b343e72
10,503
cpp
C++
mfcplotDoc.cpp
fossabot/mfcplot
8a051bdce16742210678ec1003382253730bef0e
[ "MIT" ]
28
2020-07-20T10:00:44.000Z
2022-02-10T05:44:29.000Z
mfcplotDoc.cpp
fossabot/mfcplot
8a051bdce16742210678ec1003382253730bef0e
[ "MIT" ]
1
2021-02-13T15:35:56.000Z
2021-02-13T15:35:56.000Z
mfcplotDoc.cpp
fossabot/mfcplot
8a051bdce16742210678ec1003382253730bef0e
[ "MIT" ]
15
2020-07-23T01:15:54.000Z
2022-03-20T14:58:15.000Z
 // mfcplotDoc.cpp: CmfcplotDoc 类的实现 // #include "pch.h" #include "framework.h" // SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的 // ATL 项目中进行定义,并允许与该项目共享文档代码。 #ifndef SHARED_HANDLERS #include "mfcplot.h" #endif #include "mfcplotDoc.h" #include <utility> #include <propkey.h> #include "CFuncDlg.h" #include "CNormalFuncDlg.h" #...
21.218182
136
0.704085
fossabot
66dd78b936aa370ae85f21df97a7b748545c992e
2,704
cpp
C++
CodeForces/Solutions/342E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/342E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/342E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
#include <bits/stdc++.h> using namespace std; /// decompose(1, -1) //For 1 rooted tree #define ll long long #define pb push_back #define LN 17 const ll MAX = 1e5; vector <ll> g[MAX + 9]; ll del[MAX + 9], sz[MAX + 9], par[MAX + 9], curSize, depth[MAX + 9], dis[MAX + 9], pa[LN][MAX + 9]; void dfs(ll u, ll p) { ...
17.558442
99
0.404956
Shefin-CSE16
66e0f863acb0141a66c782bd5ef9047cf5fc03ad
10,265
cpp
C++
Flow3D/Flow3D/src/Flow3D/Components/ComponentManager.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
2
2020-05-09T10:06:00.000Z
2021-03-10T00:10:41.000Z
Flow3D/Flow3D/src/Flow3D/Components/ComponentManager.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
1
2022-03-04T09:17:15.000Z
2022-03-04T09:17:15.000Z
Flow3D/Flow3D/src/Flow3D/Components/ComponentManager.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
2
2020-02-17T00:43:03.000Z
2020-11-26T11:55:19.000Z
#include "ComponentManager.hpp" const std::size_t Component::Type = std::hash<std::string>()(TO_STRING(Component)); // All class definitions for components // CLASS_DEFINITION(parent class, sub class) CLASS_DEFINITION(Component, Rotatable) CLASS_DEFINITION(Component, FreeCamera) CLASS_DEFINITION(Component, Renderable...
35.642361
247
0.746322
florianvoelkers
66e0fff5a52a9989a2f801c9d318e01be21aa13e
804
cpp
C++
Source/examples/inherits-via-dominance.cpp
nojhan/leathers
d8a2867a477baab515affdf320d872896e01a797
[ "BSD-2-Clause" ]
86
2015-05-11T22:47:52.000Z
2021-09-05T11:26:05.000Z
Source/examples/inherits-via-dominance.cpp
nojhan/leathers
d8a2867a477baab515affdf320d872896e01a797
[ "BSD-2-Clause" ]
6
2015-07-03T12:34:26.000Z
2020-03-08T09:01:51.000Z
Source/examples/inherits-via-dominance.cpp
nojhan/leathers
d8a2867a477baab515affdf320d872896e01a797
[ "BSD-2-Clause" ]
12
2015-09-01T11:36:37.000Z
2021-12-01T12:56:44.000Z
// Copyright (c) 2014, Ruslan Baratov // All rights reserved. #include <leathers/push> #include <leathers/object-layout-change> #include <leathers/c++98-compat> #include <leathers/weak-vtables> #include <leathers/padded> class Foo { public: virtual void foo() { } virtual ~Foo() { } }; class...
18.697674
45
0.656716
nojhan
66e10c3dc38d490ec22dc8dc847583b3fa75b4cf
1,002
cpp
C++
124-binary-tree-maximum-path-sum.cpp
ranveeraggarwal/leetcode-cpp
931dd37c00076ee8e49d2ba3dbafbe0113e35376
[ "MIT" ]
null
null
null
124-binary-tree-maximum-path-sum.cpp
ranveeraggarwal/leetcode-cpp
931dd37c00076ee8e49d2ba3dbafbe0113e35376
[ "MIT" ]
null
null
null
124-binary-tree-maximum-path-sum.cpp
ranveeraggarwal/leetcode-cpp
931dd37c00076ee8e49d2ba3dbafbe0113e35376
[ "MIT" ]
null
null
null
#include "stdafx.h" struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { int vmax; public: int maxPathSum(TreeNode *root) { vmax = INT_MIN; subPath(root); return vmax; } int su...
19.647059
56
0.443114
ranveeraggarwal
66e1487c1be38e495aba27dd6bbd667362f44c3d
2,920
cpp
C++
testing/core/DummyDVHGenerator.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
18
2018-04-19T12:57:32.000Z
2022-03-12T17:43:02.000Z
testing/core/DummyDVHGenerator.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
null
null
null
testing/core/DummyDVHGenerator.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
7
2018-06-24T21:09:56.000Z
2021-09-09T09:30:49.000Z
// ----------------------------------------------------------------------- // RTToolbox - DKFZ radiotherapy quantitative evaluation library // // Copyright (c) German Cancer Research Center (DKFZ), // Software development for Integrated Diagnostics and Therapy (SIDT). // ALL RIGHTS RESERVED. // See rttbCopyright....
28.076923
101
0.602397
MIC-DKFZ
66e339a8b297eabe2930cac3eee58b644211b23d
2,693
cpp
C++
tokens.cpp
jimfinnis/monitor
b27f6543eb466232da282a5d2c251b4dc91d2a9a
[ "MIT" ]
null
null
null
tokens.cpp
jimfinnis/monitor
b27f6543eb466232da282a5d2c251b4dc91d2a9a
[ "MIT" ]
null
null
null
tokens.cpp
jimfinnis/monitor
b27f6543eb466232da282a5d2c251b4dc91d2a9a
[ "MIT" ]
null
null
null
// Token table - generated by gentoks.py from tokens #include "tokens.h" TokenRegistry tokens[] = { {"*e", T_END}, {"*s", T_STRING}, {"*i", T_IDENT}, {"*n", T_INT}, {"*f", T_FLOAT}, {"*c{", T_OCURLY}, {"*c}", T_CCURLY}, {"*c(", T_OPREN}, {"*c)", T_CPREN}, {"*c,", T_COMMA}, {"*c<", T_LT}, {"audio", T_AUDIO}...
22.256198
52
0.599332
jimfinnis
66e5ae79de507bf66c463efc29d068ef402f48be
2,780
cpp
C++
src/structures/affectation.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
1
2017-11-29T00:46:23.000Z
2017-11-29T00:46:23.000Z
src/structures/affectation.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
null
null
null
src/structures/affectation.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cassert> #include <sstream> #include <iostream> #include "affectation.h" #define abs(x) ((static_cast<unsigned int>(x > 0 ? x : -x))) using namespace satsolver; Affectation::Affectation(int nb_var) : aff(std::vector<int>()), nb_aff(0), nb_unknown(nb_var) { for(int i = 0 ; i < nb_var...
24.821429
120
0.520144
Ezibenroc
66e60135760bd68c72c1d03cc9b0b65e020f6ed1
2,703
cpp
C++
ViroRenderer/VROPoseFilterLowPass.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2019-10-16T14:30:06.000Z
2019-10-30T23:14:30.000Z
ViroRenderer/VROPoseFilterLowPass.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
47
2021-09-08T13:03:44.000Z
2022-03-10T23:21:05.000Z
ViroRenderer/VROPoseFilterLowPass.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2020-08-26T14:50:23.000Z
2021-01-04T02:21:02.000Z
// // VROPoseFilterLowPass.cpp // ViroKit // // Created by Raj Advani on 2/27/19. // Copyright © 2019 Viro Media. All rights reserved. // // 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 Soft...
42.234375
125
0.661117
dthian
66e80b14adfe64ada87ef0a12ac183ac7975680e
1,363
cpp
C++
Util/testsuite/src/MapConfigurationTest.cpp
AppAnywhere/agent-sdk
c5495c4a1d892f2d3bca5b82a7436db7d8adff71
[ "BSL-1.0" ]
null
null
null
Util/testsuite/src/MapConfigurationTest.cpp
AppAnywhere/agent-sdk
c5495c4a1d892f2d3bca5b82a7436db7d8adff71
[ "BSL-1.0" ]
null
null
null
Util/testsuite/src/MapConfigurationTest.cpp
AppAnywhere/agent-sdk
c5495c4a1d892f2d3bca5b82a7436db7d8adff71
[ "BSL-1.0" ]
null
null
null
// // MapConfigurationTest.cpp // // $Id: //poco/1.7/Util/testsuite/src/MapConfigurationTest.cpp#1 $ // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "MapConfigurationTest.h" #include "CppUnit/TestCaller.h" #include "...
18.930556
100
0.758621
AppAnywhere
66e84a1cf50265f1578c87458a7eddb20fe53d13
72,652
cpp
C++
extensions/standard-processors/tests/unit/TailFileTests.cpp
nghiaxlee/nifi-minifi-cpp
ddddb22d63c4a60b97066e555f771135c8dbb26d
[ "Apache-2.0" ]
1
2017-03-14T15:42:08.000Z
2017-03-14T15:42:08.000Z
extensions/standard-processors/tests/unit/TailFileTests.cpp
nghiaxlee/nifi-minifi-cpp
ddddb22d63c4a60b97066e555f771135c8dbb26d
[ "Apache-2.0" ]
null
null
null
extensions/standard-processors/tests/unit/TailFileTests.cpp
nghiaxlee/nifi-minifi-cpp
ddddb22d63c4a60b97066e555f771135c8dbb26d
[ "Apache-2.0" ]
1
2020-07-17T15:27:37.000Z
2020-07-17T15:27:37.000Z
/** * * 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 ...
47.054404
155
0.710111
nghiaxlee
66e8a4709e2a001eb1146bc097293d85d7a5350b
10,277
cc
C++
chrome/browser/plugins/plugin_prefs_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
chrome/browser/plugins/plugin_prefs_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/plugins/plugin_prefs_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/plugins/plugin_prefs.h" #include "base/at_exit.h" #include "base/bind.h" #include "base/message_loop.h" #include "base/path_...
39.988327
80
0.73718
pozdnyakov
66ea13aa778e838ccbb81d1729c4b485d3927fd3
27,043
cpp
C++
src/WtBtCore/HftMocker.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
null
null
null
src/WtBtCore/HftMocker.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
1
2022-03-21T06:51:59.000Z
2022-03-21T06:51:59.000Z
src/WtBtCore/HftMocker.cpp
v1otusc/wondertrader
fd65a052d26be32882f89e8e9dfcd1d7b8736a3b
[ "MIT" ]
null
null
null
/*! * \file HftMocker.cpp * \project WonderTrader * * \author Wesley * \date 2020/03/30 * * \brief */ #include "HftMocker.h" #include "WtHelper.h" #include <stdarg.h> #include <boost/filesystem.hpp> #include "../Includes/WTSVariant.hpp" #include "../Includes/WTSContractInfo.hpp" #include ...
24.947417
191
0.662205
v1otusc
66eb579acb78b915f121611e3a54e62add3b774a
663
cpp
C++
test/cpp/LIM2Metrics/HalsteadMetrics/OperatorOverloading/operator_overloading.cpp
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
20
2015-06-16T17:39:10.000Z
2022-03-20T22:39:40.000Z
test/cpp/LIM2Metrics/HalsteadMetrics/OperatorOverloading/operator_overloading.cpp
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
29
2015-12-29T19:07:22.000Z
2022-03-22T10:39:02.000Z
test/cpp/LIM2Metrics/HalsteadMetrics/OperatorOverloading/operator_overloading.cpp
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
12
2015-08-28T01:22:18.000Z
2021-09-25T08:17:31.000Z
class Operators { public: void* operator new[](size_t size) throw() { return nullptr; } void* operator new (size_t size) throw(){ return nullptr; } int operator+(const Operators& o) const { return 2; } Operators operator++() { return *this; } ...
17
73
0.475113
sagodiz
66eb62e7baace7e5649dc0102ffc1764845184e4
3,769
cpp
C++
custom_opengl_wrapper/custom_opengl_wrapper/Mesh.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
custom_opengl_wrapper/custom_opengl_wrapper/Mesh.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
custom_opengl_wrapper/custom_opengl_wrapper/Mesh.cpp
mallocc/custom_opengl_wrapper
2384615c624b32947ae198af0cb5fb5f4371ffe2
[ "MIT" ]
null
null
null
#include "Mesh.h" #include "CLog.h" #include "StringFormat.h" using gfx::engine::Mesh; namespace { const char * CLASSNAME = "Mesh"; } // Buffers Vertex data into the VBO void Mesh::init(std::vector<gfx::Vertex_T> * d) { m_data_size = d->size(); glGenVertexArrays(1, &m_vao); glBindVertexArray(m_vao); glGenBuffer...
27.510949
144
0.728841
mallocc
66eb96db8ae4810dc6bbda0ebcd0bd7d351ed05c
5,785
cpp
C++
src/network/udp_socket.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
37
2017-02-04T09:42:48.000Z
2021-02-17T14:59:15.000Z
src/network/udp_socket.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
120
2017-11-09T19:46:40.000Z
2022-01-20T18:26:23.000Z
src/network/udp_socket.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
109
2017-01-16T14:24:31.000Z
2022-03-18T21:10:07.000Z
#include <fc/network/udp_socket.hpp> #include <fc/network/ip.hpp> #include <fc/fwd_impl.hpp> #include <fc/asio.hpp> namespace fc { class udp_socket::impl { public: impl():_sock( fc::asio::default_io_service() ){} ~impl(){ // _sock.cancel(); } boost::asio::ip::udp::socket _sock...
33.247126
134
0.631979
Revolution-Populi
66ef2aca7561189fc1efddd261320af007ffb270
834
cpp
C++
Toast/src/Platform/Windows/WindowsInput.cpp
Toastmastern87/Toast
be9efd2f4f62597c3d95b47d242a2e783571620b
[ "Apache-2.0" ]
17
2020-07-02T19:07:56.000Z
2021-11-30T14:23:49.000Z
Toast/src/Platform/Windows/WindowsInput.cpp
Toastmastern87/Toast
be9efd2f4f62597c3d95b47d242a2e783571620b
[ "Apache-2.0" ]
null
null
null
Toast/src/Platform/Windows/WindowsInput.cpp
Toastmastern87/Toast
be9efd2f4f62597c3d95b47d242a2e783571620b
[ "Apache-2.0" ]
3
2020-06-30T00:22:26.000Z
2021-11-30T14:23:56.000Z
#include "tpch.h" #include "Toast/Core/Input.h" #include "Toast/Core/Application.h" namespace Toast { bool Input::IsKeyPressed(const KeyCode keycode) { auto state = GetAsyncKeyState(static_cast<int>(keycode)); return (state & 0x8000); } bool Input::IsMouseButtonPressed(const MouseCode button) { auto sta...
16.038462
59
0.699041
Toastmastern87
66f1279a2ddee9fa9e6bf24b7758d23e59ffb0c1
3,912
cc
C++
chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/profiles/profile_avatar_icon_util_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// 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 "chrome/browser/profiles/profile_avatar_icon_util.h" #include "grit/theme_resources.h" #include "testing/gtest/include/gtest/gtest.h" #include "...
35.563636
79
0.743609
kjthegod
66f18b9bca9f0d727ec2959ca99299390269f65a
81,261
cpp
C++
ecl/eclcc/eclcc.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
1
2020-08-01T19:54:56.000Z
2020-08-01T19:54:56.000Z
ecl/eclcc/eclcc.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
ecl/eclcc/eclcc.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
35.300174
184
0.612988
emuharemagic
66f2310ec0f3c4737a68f1e81e8b753137c2bc38
14,932
cc
C++
device/fido/auth_token_requester.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
device/fido/auth_token_requester.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
device/fido/auth_token_requester.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "device/fido/auth_token_requester.h" #include <set> #include <utility> #include "base/bind.h" #include "base/containers/contains.h" #include "b...
38.189258
80
0.666086
zealoussnow
66f245cdcb57bc5b2b9cbd80369a433be10de696
14,417
hpp
C++
lib/mana/include/mana/router.hpp
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
lib/mana/include/mana/router.hpp
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
lib/mana/include/mana/router.hpp
Mattlk13/include-OS
d1668b94a007615db458fc394c94127631a55309
[ "Apache-2.0" ]
null
null
null
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
30.805556
102
0.571131
Mattlk13
66f3e1236ee2f44761cb3b27eb9fbf29042508bf
13,768
cpp
C++
src/liblvr2/reconstruction/LBKdTree.cpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
1
2019-08-07T03:55:27.000Z
2019-08-07T03:55:27.000Z
src/liblvr2/reconstruction/LBKdTree.cpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
null
null
null
src/liblvr2/reconstruction/LBKdTree.cpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2018, University Osnabrück * 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 li...
36.714667
116
0.63742
jtpils
66f43f7ee0c3f1faf571388278cc4aba242e1bf6
6,900
cpp
C++
src/wrapper/mempool.cpp
hesom/pycuda
f2f999f51617fcf3deb77f2104b5051885cae498
[ "Apache-2.0" ]
1,264
2015-01-01T15:38:32.000Z
2022-03-31T22:30:21.000Z
src/wrapper/mempool.cpp
hesom/pycuda
f2f999f51617fcf3deb77f2104b5051885cae498
[ "Apache-2.0" ]
262
2015-01-18T20:52:48.000Z
2022-03-30T15:57:50.000Z
src/wrapper/mempool.cpp
hesom/pycuda
f2f999f51617fcf3deb77f2104b5051885cae498
[ "Apache-2.0" ]
289
2015-01-14T04:30:00.000Z
2022-03-19T19:58:49.000Z
#define NO_IMPORT_ARRAY #define PY_ARRAY_UNIQUE_SYMBOL pycuda_ARRAY_API #include <vector> #include "tools.hpp" #include "wrap_helpers.hpp" #include <cuda.hpp> #include <mempool.hpp> #include <boost/python/stl_iterator.hpp> namespace py = boost::python; namespace { class device_allocator : public pycuda::cont...
22.402597
86
0.643478
hesom
66f490926f02c857f8018b7b683655bcf2226eb6
5,042
cc
C++
chrome/browser/performance_monitor/startup_timer.cc
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
chrome/browser/performance_monitor/startup_timer.cc
sanyaade-mobiledev/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
chrome/browser/performance_monitor/startup_timer.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/performance_monitor/startup_timer.h" #include "base/bind.h" #include "base/logging.h" #include "base/string_number_conversio...
36.014286
80
0.711424
junmin-zhu
66f5b2c623ee7880fa709b0ca8bee1dd351cc54f
137,676
cpp
C++
src/ngraph/runtime/cpu/pass/cpu_mkldnn_primitive_build.cpp
ilya-lavrenov/ngraph
2d8b2b4b30dbcabda0c3de2ae458418e63da057a
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/cpu/pass/cpu_mkldnn_primitive_build.cpp
ilya-lavrenov/ngraph
2d8b2b4b30dbcabda0c3de2ae458418e63da057a
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/cpu/pass/cpu_mkldnn_primitive_build.cpp
ilya-lavrenov/ngraph
2d8b2b4b30dbcabda0c3de2ae458418e63da057a
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-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://w...
53.487179
100
0.506523
ilya-lavrenov
66f6e2462e0660c11baf8b4f65af67a7e6985775
6,010
cpp
C++
folly/io/async/EventHandler.cpp
lucyge/folly
d107498e71ab32e103c4fa7ca58ccc32990208b8
[ "Apache-2.0" ]
1
2020-02-23T14:14:53.000Z
2020-02-23T14:14:53.000Z
folly/io/async/EventHandler.cpp
lucyge/folly
d107498e71ab32e103c4fa7ca58ccc32990208b8
[ "Apache-2.0" ]
3
2016-07-19T00:19:58.000Z
2019-07-19T23:33:10.000Z
folly/io/async/EventHandler.cpp
cedexis/folly
284a4bf64203f8cc81918e0a91d726d45b3ee2ed
[ "Apache-2.0" ]
3
2019-06-24T12:03:46.000Z
2020-10-17T03:56:39.000Z
/* * Copyright 2004-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
33.021978
80
0.714309
lucyge
66f87caac8919d0b19be2e829a3cdac4adec20d8
456
cpp
C++
1474/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
1474/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
1474/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> using namespace std; bool is_prime(int x) { if (x < 4) { return true; } for (int i = 2; i * i <= x; ++i) { if (x % i == 0) { return false; } } return true; } void solve() { int d; cin >> d; int p = d + 1; for (; !is_prime(p); ++p) {} int q =...
13.028571
36
0.440789
vladshablinsky
66f9915a00eeb4a96dcde4dabd2ae4dcd16fa997
535
cpp
C++
1201-1300/1265-Print Immutable Linked List in Reverse/1265-Print Immutable Linked List in Reverse.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1201-1300/1265-Print Immutable Linked List in Reverse/1265-Print Immutable Linked List in Reverse.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1201-1300/1265-Print Immutable Linked List in Reverse/1265-Print Immutable Linked List in Reverse.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
/** * // This is the ImmutableListNode's API interface. * // You should not implement it, or speculate about its implementation. * class ImmutableListNode { * public: * void printValue(); // print the value of the node. * ImmutableListNode* getNext(); // return the next node. * }; */ class Solution { pub...
25.47619
73
0.628037
jiadaizhao
66fa8463e3800378bb1d93248fa38aef09506b44
678
hpp
C++
include/mizuiro/color/set_percentage.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/color/set_percentage.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/color/set_percentage.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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 MIZUIRO_COLOR_SET_PERCENTAGE_HPP_INCLUDED #define MIZUIRO_COLOR_SET_PERCENTAGE_HPP_INCLUDED...
27.12
100
0.747788
cpreh
66fdff7856d661ac7599dbf154fde7b7a69021ce
70
cpp
C++
test/unit/main.unit.cpp
flisboac/gq
36f78933127ab4c04d0b2712fa1c07ae0184ecd4
[ "MIT" ]
null
null
null
test/unit/main.unit.cpp
flisboac/gq
36f78933127ab4c04d0b2712fa1c07ae0184ecd4
[ "MIT" ]
null
null
null
test/unit/main.unit.cpp
flisboac/gq
36f78933127ab4c04d0b2712fa1c07ae0184ecd4
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "gq.def.hpp"
14
25
0.757143
flisboac
0f01ea63876405201d766b47680d8d52affb1372
221
cpp
C++
Source/FSD/Private/AnimNotifyState_SpawnSkinnedMesh.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/AnimNotifyState_SpawnSkinnedMesh.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/AnimNotifyState_SpawnSkinnedMesh.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "AnimNotifyState_SpawnSkinnedMesh.h" UAnimNotifyState_SpawnSkinnedMesh::UAnimNotifyState_SpawnSkinnedMesh() { this->ItemCategory = EItemCategory::PrimaryWeapon; this->UseFirstPersonComponent = false; }
27.625
72
0.81448
trumank
0f01f375443ac72f1ded5f3302bf34d375767683
5,546
cpp
C++
src/core/tests/node_input_output.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/core/tests/node_input_output.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/core/tests/node_input_output.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <memory> #include <sstream> #include <string> #include <vector> #include "gtest/gtest.h" #include "ngraph/ngraph.hpp" NGRAPH_SUPPRESS_DEPRECATED_START using namespace ngraph; using namespace std; TEST(node_input_output,...
37.986301
92
0.66859
ryanloney
0f06310350d191e3bd6af9794e8cba37fd4a599f
29,784
cc
C++
src/interpreter.cc
unlink2/lasm
3cacf44c218854f402ce022b9e223f5671125dbe
[ "MIT" ]
1
2021-01-23T18:25:11.000Z
2021-01-23T18:25:11.000Z
src/interpreter.cc
unlink2/lasm
3cacf44c218854f402ce022b9e223f5671125dbe
[ "MIT" ]
null
null
null
src/interpreter.cc
unlink2/lasm
3cacf44c218854f402ce022b9e223f5671125dbe
[ "MIT" ]
null
null
null
#include "interpreter.h" #include <cstring> #include <cmath> #include <algorithm> #include "scanner.h" #include "parser.h" namespace lasm { Interpreter::Interpreter(BaseError &onError, BaseInstructionSet &is, InterpreterCallback *callback, FileReader *reader): onError(onError), instructions(is)...
39.818182
121
0.522898
unlink2
0f07995cbfb34d3844b62df4fc07e0cc78a1eec9
144
hpp
C++
src/geom/ex.hpp
orsonbraines/apytuuengine
b2a02e5f979bea0a3a75ad40f43d8d0c56bfe2a0
[ "MIT" ]
null
null
null
src/geom/ex.hpp
orsonbraines/apytuuengine
b2a02e5f979bea0a3a75ad40f43d8d0c56bfe2a0
[ "MIT" ]
null
null
null
src/geom/ex.hpp
orsonbraines/apytuuengine
b2a02e5f979bea0a3a75ad40f43d8d0c56bfe2a0
[ "MIT" ]
null
null
null
#ifndef APYTUU_ENGINE_GEOM_EX #define APYTUU_ENGINE_GEOM_EX namespace apytuu_engine_geom{ class GeomException{ public: private: }; } #endif
14.4
29
0.8125
orsonbraines
0f079c3646479b0dea32d7a353a13495ddcccbe6
2,215
cpp
C++
implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/treefrommsa.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/treefrommsa.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins_3rdparty/umuscle/src/muscle/treefrommsa.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
#include "muscle.h" #include "msa.h" #include "tree.h" #include "clust.h" #include "clustsetmsa.h" #include "distcalc.h" static void SaveMSADist(const MSA &msa, MSADist &d, const char *FileName) { FILE *f = fopen(FileName, "w"); if (f == 0) Quit("Cannot create %s", FileName); unsigned n = msa.GetSeqCount(); fo...
22.602041
74
0.664108
r-barnes
0f08932a80de20b88e1cd9eee0c30e90e9cc9cfb
27,933
cpp
C++
libraries/USBDevice/USBDevice/USBDevice.cpp
mjrgh/mbed
966bf9577a1d3280df75a0ddd452393d1e8fb97e
[ "Apache-2.0" ]
null
null
null
libraries/USBDevice/USBDevice/USBDevice.cpp
mjrgh/mbed
966bf9577a1d3280df75a0ddd452393d1e8fb97e
[ "Apache-2.0" ]
null
null
null
libraries/USBDevice/USBDevice/USBDevice.cpp
mjrgh/mbed
966bf9577a1d3280df75a0ddd452393d1e8fb97e
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2010-2011 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pu...
28.329615
182
0.534994
mjrgh
0f0ad86cab5c8fc9fbc6c968a7ff88f91b9110b7
1,854
cpp
C++
smacc_client_library/move_group_interface_client/src/move_group_interface_client/client_behaviors/cb_attach_object.cpp
tylerjw/SMACC
76dceb90411c2e4b13e4ae78c0af67d1acfb3333
[ "BSD-3-Clause" ]
203
2019-04-11T16:42:10.000Z
2022-03-18T06:02:56.000Z
smacc_client_library/move_group_interface_client/src/move_group_interface_client/client_behaviors/cb_attach_object.cpp
tylerjw/SMACC
76dceb90411c2e4b13e4ae78c0af67d1acfb3333
[ "BSD-3-Clause" ]
50
2019-04-18T09:09:48.000Z
2022-03-29T21:38:21.000Z
smacc_client_library/move_group_interface_client/src/move_group_interface_client/client_behaviors/cb_attach_object.cpp
tylerjw/SMACC
76dceb90411c2e4b13e4ae78c0af67d1acfb3333
[ "BSD-3-Clause" ]
35
2019-09-10T15:06:37.000Z
2022-02-02T09:10:08.000Z
/***************************************************************************************************************** * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018-2020 * Authors: Pablo Inigo Blasco, Brett Aldrich * ***************************************************************************...
36.352941
131
0.627832
tylerjw
0f0ba4c35ac6fc3a369223f2e2d0efbfa4c757e7
12,428
cpp
C++
src/main.cpp
jorge-imperial/mongo_ftdc
d17680d50d5d622af4cad5c0cef6632799faa1c7
[ "Apache-2.0" ]
2
2021-11-01T19:16:43.000Z
2022-01-21T23:25:41.000Z
src/main.cpp
jorge-imperial/mongo_ftdc
d17680d50d5d622af4cad5c0cef6632799faa1c7
[ "Apache-2.0" ]
3
2021-08-09T15:30:42.000Z
2022-01-12T19:45:41.000Z
src/main.cpp
jorge-imperial/mongo_ftdc
d17680d50d5d622af4cad5c0cef6632799faa1c7
[ "Apache-2.0" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl_bind.h> #include <pybind11/stl.h> #include <pybind11/numpy.h> #include <FTDCParser.h> #include <vector> #include <filesystem> #include <boost/format.hpp> namespace py = pybind11; using namespace py::literals; using namespace ftdcparser; typedef std::vector<std:...
35.712644
122
0.53645
jorge-imperial
0f0ccb4987268eff647465662e1a9299b35b178e
273
cpp
C++
Tek3/UML/AirportManager/Employee/Stewart.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
30
2018-10-26T12:54:11.000Z
2022-02-04T18:18:57.000Z
Tek3/UML/AirportManager/Employee/Stewart.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
null
null
null
Tek3/UML/AirportManager/Employee/Stewart.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
26
2018-11-20T18:11:39.000Z
2022-01-28T21:05:30.000Z
/** * Project Untitled */ #include "Stewart.h" /** * Stewart implementation */ /** * @param boardingCard * @return bool */ bool Stewart::checkBoardingCard(void boardingCard) { return false; } /** * @return void */ void Stewart::sellFood() { return; }
10.5
52
0.615385
Estayparadox
0f0e439eb3f208d14e230aff66fa78aa9e5e14cf
15,980
cpp
C++
src/backend/uop.cpp
jeroendebaat/lc3tools
b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41
[ "Apache-2.0" ]
58
2018-07-13T03:41:38.000Z
2022-03-08T19:06:20.000Z
src/backend/uop.cpp
jeroendebaat/lc3tools
b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41
[ "Apache-2.0" ]
26
2019-12-02T05:33:00.000Z
2022-03-12T15:54:26.000Z
src/backend/uop.cpp
jeroendebaat/lc3tools
b1ceb8bc28a82227ccbd17c90f6b6cfcdf324d41
[ "Apache-2.0" ]
24
2019-08-30T15:00:13.000Z
2022-01-26T05:11:36.000Z
/* * Copyright 2020 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education. */ #include "decoder.h" #include "isa.h" #include "state.h" #include "uop.h" using namespace lc3::core; PIMicroOp IMicroOp::insert(PIMicroOp new_next) { if(...
32.088353
153
0.678285
jeroendebaat
0f0e9b93844e023f385638ced3d285c0538fd022
14,755
cpp
C++
DungeonsOfNoudar486/src/CRenderer_Tesselation.cpp
libretro/dungeons-of-noudar
40fe44c4a180d7daf3fe97eff4ddbfd2cd558c62
[ "BSD-2-Clause" ]
1
2020-12-25T01:06:43.000Z
2020-12-25T01:06:43.000Z
DungeonsOfNoudar486/src/CRenderer_Tesselation.cpp
libretro/dungeons-of-noudar
40fe44c4a180d7daf3fe97eff4ddbfd2cd558c62
[ "BSD-2-Clause" ]
null
null
null
DungeonsOfNoudar486/src/CRenderer_Tesselation.cpp
libretro/dungeons-of-noudar
40fe44c4a180d7daf3fe97eff4ddbfd2cd558c62
[ "BSD-2-Clause" ]
2
2020-08-17T16:13:01.000Z
2020-08-27T19:38:26.000Z
#include <cassert> #include <cstdlib> #include <cstdio> #include <cmath> #include <cstring> #include <string> #include <memory> #include <utility> #include <map> #include <unordered_map> #include <functional> #include <algorithm> #include <chrono> #include <sg14/fixed_point> #include <EASTL/vector.h> #include <EASTL/ar...
32.428571
133
0.510878
libretro
0f10b1b9bde8b54535b9adda144c603e94b19c5c
5,127
cc
C++
test/cctest/heap/test-concurrent-marking.cc
YBApp-Bot/org_chromium_v8
de9efd579907d75b4599b33cfcc8c00468a72b9b
[ "BSD-3-Clause" ]
1
2019-04-25T17:50:34.000Z
2019-04-25T17:50:34.000Z
test/cctest/heap/test-concurrent-marking.cc
YBApp-Bot/org_chromium_v8
de9efd579907d75b4599b33cfcc8c00468a72b9b
[ "BSD-3-Clause" ]
null
null
null
test/cctest/heap/test-concurrent-marking.cc
YBApp-Bot/org_chromium_v8
de9efd579907d75b4599b33cfcc8c00468a72b9b
[ "BSD-3-Clause" ]
1
2018-11-28T07:47:41.000Z
2018-11-28T07:47:41.000Z
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdlib.h> #include "src/v8.h" #include "src/heap/concurrent-marking.h" #include "src/heap/heap-inl.h" #include "src/heap/heap.h" #include "s...
34.409396
79
0.736883
YBApp-Bot
0f1220db98a4d9c01264add6c01eefb52615a0fd
6,900
cpp
C++
toonz/sources/toonzlib/txshsoundlevel.cpp
jhonsu01/opentoonz
b8b0f90055ae6a54fc5926c46a063d460c9884d7
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/toonzlib/txshsoundlevel.cpp
jhonsu01/opentoonz
b8b0f90055ae6a54fc5926c46a063d460c9884d7
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/toonzlib/txshsoundlevel.cpp
jhonsu01/opentoonz
b8b0f90055ae6a54fc5926c46a063d460c9884d7
[ "BSD-3-Clause" ]
null
null
null
#include "toonz/txshsoundlevel.h" #include "tsound_io.h" #include "toonz/toonzscene.h" #include "toonz/sceneproperties.h" #include "toonz/txshleveltypes.h" #include "tstream.h" #include "toutputproperties.h" #include "tconvert.h" //----------------------------------------------------------------------------- DEFIN...
29.237288
80
0.51913
jhonsu01
0f1248f1cc04475c9c56f11c28f8e637ece37de1
15,808
cpp
C++
immBodyDistanceSmooth.cpp
TomLKoller/Boxplus-IMM
4f610967b8b9d3ed5b7110db7019d2acbc8ca57b
[ "MIT" ]
4
2021-07-16T08:50:46.000Z
2021-09-13T13:45:56.000Z
immBodyDistanceSmooth.cpp
TomLKoller/Boxplus-IMM
4f610967b8b9d3ed5b7110db7019d2acbc8ca57b
[ "MIT" ]
3
2021-07-16T06:50:19.000Z
2021-10-04T13:37:04.000Z
immBodyDistanceSmooth.cpp
TomLKoller/Boxplus-IMM
4f610967b8b9d3ed5b7110db7019d2acbc8ca57b
[ "MIT" ]
1
2020-07-17T08:39:15.000Z
2020-07-17T08:39:15.000Z
#include "ADEKF.h" #include "ManifoldCreator.h" #include "types/SO3.h" #include "adekf_viz.h" #include "PoseRenderer.h" #include "BPIMM.h" #include "BPRTSIMM.h" #include "PathCreatorOrientation.h" #include "SimulatedBodyMeas.h" #include "GaussianNoiseVector.h" #include <numeric> #define GRAVITY_CONSTANT 9.81 //#define...
48.490798
194
0.615764
TomLKoller
0f15557a9db6ed816e38a74ceee775aa107e0cbd
3,708
cpp
C++
src/vulkan-renderer/io/byte_stream.cpp
JoseETeixeira/vulkan-renderer
982e8004d9269ab1ffb1b7e8da03b351136985c9
[ "MIT" ]
443
2019-12-26T03:24:17.000Z
2022-03-29T07:55:01.000Z
src/vulkan-renderer/io/byte_stream.cpp
JoseETeixeira/vulkan-renderer
982e8004d9269ab1ffb1b7e8da03b351136985c9
[ "MIT" ]
384
2019-12-12T13:08:02.000Z
2022-03-28T19:57:11.000Z
src/vulkan-renderer/io/byte_stream.cpp
JoseETeixeira/vulkan-renderer
982e8004d9269ab1ffb1b7e8da03b351136985c9
[ "MIT" ]
36
2020-03-31T11:44:28.000Z
2022-03-12T08:44:25.000Z
#include "inexor/vulkan-renderer/io/byte_stream.hpp" #include "inexor/vulkan-renderer/world/cube.hpp" #include <fstream> namespace inexor::vulkan_renderer::io { std::vector<std::uint8_t> ByteStream::read_file(const std::filesystem::path &path) { std::ifstream stream(path, std::ios::in | std::ios::binary); ret...
32.814159
118
0.657497
JoseETeixeira
0f16ed5b02cce189a93288242bb5484e17a0150a
3,614
cpp
C++
test/module/irohad/consensus/yac/yac_synchronization_test.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1
2020-05-15T10:02:38.000Z
2020-05-15T10:02:38.000Z
test/module/irohad/consensus/yac/yac_synchronization_test.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2
2020-02-18T11:25:35.000Z
2020-02-20T04:09:45.000Z
test/module/irohad/consensus/yac/yac_synchronization_test.cpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1
2020-07-25T11:15:16.000Z
2020-07-25T11:15:16.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "module/irohad/consensus/yac/yac_fixture.hpp" #include "common/hexutils.hpp" using namespace iroha::consensus::yac; using ::testing::_; using ::testing::Return; /** * The class helps to create fake networ...
31.982301
80
0.697842
akshatkarani
0f173cfddea13c3420618ce02aa7fa2ffa575222
1,845
cpp
C++
src/common/expression/TextSearchExpression.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
1
2020-04-11T12:12:39.000Z
2020-04-11T12:12:39.000Z
src/common/expression/TextSearchExpression.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
24
2021-09-15T12:42:03.000Z
2021-09-16T04:59:19.000Z
src/common/expression/TextSearchExpression.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
1
2020-08-03T10:19:39.000Z
2020-08-03T10:19:39.000Z
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "common/expression/TextSearchExpression.h" #include "common/expression/ExprVisitor.h" namespace nebula { boo...
23.653846
78
0.578862
blacklovebear
0f175b86135b7c86c9c9b68920d17b0884d50c2d
1,603
cpp
C++
BalancedParanthesis.cpp
florayasmin/Hacktoberfest2021-1
d61db34b1844ae9202af829d9e4632ed0deb3574
[ "MIT" ]
1
2021-10-16T01:34:12.000Z
2021-10-16T01:34:12.000Z
BalancedParanthesis.cpp
florayasmin/Hacktoberfest2021-1
d61db34b1844ae9202af829d9e4632ed0deb3574
[ "MIT" ]
null
null
null
BalancedParanthesis.cpp
florayasmin/Hacktoberfest2021-1
d61db34b1844ae9202af829d9e4632ed0deb3574
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool isValid(string s) { int n = s.size(); stack<char> st; bool ans = true; for (int i = 0; i < n; i++) { if (st.empty() and (s[i] == ')' or s[i] == '}' or s[i] == ']')) { return false; // if start with closed p...
20.0375
73
0.257018
florayasmin
0f1794dd2c4c138c13f0118bc4f1bdea29b7989a
17,271
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorCategoryUtils.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorCategoryUtils.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorCategoryUtils.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "UnrealEd.h" #include "EditorCategoryUtils.h" #include "IDocumentation.h" #define LOCTEXT_NAMESPACE "EditorCategoryUtils" /******************************************************************************* * FEditorCategoryUtils Helpers ***********...
40.733491
188
0.703144
armroyce
0f17c11e26f2d50d8dc9c9e87a10bf257c963f92
16,462
cc
C++
tensorflow/core/kernels/fused_embedding/embedding_lookup_sparse_post_op_test.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
292
2021-12-24T03:24:33.000Z
2022-03-31T15:41:05.000Z
tensorflow/core/kernels/fused_embedding/embedding_lookup_sparse_post_op_test.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
54
2021-12-24T06:40:09.000Z
2022-03-30T07:57:24.000Z
tensorflow/core/kernels/fused_embedding/embedding_lookup_sparse_post_op_test.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
75
2021-12-24T04:48:21.000Z
2022-03-29T10:13:39.000Z
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
39.763285
105
0.590876
aalbersk
0f17e58322f6b16326f34df77343baeffbafe7b5
8,362
cc
C++
PYTHIA8/pythia8210dev/examples/main04.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PYTHIA8/pythia8210dev/examples/main04.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PYTHIA8/pythia8210dev/examples/main04.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// main04.cc is a part of the PYTHIA event generator. // Copyright (C) 2015 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // This is a simple test program. // It illustrates how to generate and study "...
38.534562
76
0.562066
AllaMaevskaya
0f18af9a65fc2312a438866126f15c1c54fcaa3d
822
cpp
C++
src/c++/schemas/Icon.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
src/c++/schemas/Icon.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
src/c++/schemas/Icon.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
#include "c++/schemas/Icon.h" namespace modio { void Icon::initialize(ModioIcon modio_icon) { if (modio_icon.filename) this->filename = modio_icon.filename; if (modio_icon.original) this->original = modio_icon.original; if (modio_icon.thumb_64x64) this->thumb_64x64 = modio_icon.thumb_64x64; if (mod...
25.6875
51
0.738443
TestingTravis
0f190b1df98f2b587a679dfa30b5edea02b9b9bd
1,608
hpp
C++
Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp
worldlove521/Hackintosh-Installer-University
f5cff36de17bdef0f437a70fb36d182d3ca3a20f
[ "Intel", "CC-BY-4.0" ]
4,033
2016-11-06T13:36:19.000Z
2022-03-28T14:47:26.000Z
Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp
sakoula/Hackintosh-Installer-University
03fd71ed3f8ec1e01ee45b71835f561263107edf
[ "Intel", "CC-BY-4.0" ]
52
2018-04-16T23:28:37.000Z
2021-07-23T07:17:18.000Z
Clover-Configs/Dell/Dell Inspiron 7520/CLOVER/kexts/10.12/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp
sakoula/Hackintosh-Installer-University
03fd71ed3f8ec1e01ee45b71835f561263107edf
[ "Intel", "CC-BY-4.0" ]
1,200
2016-12-17T13:46:50.000Z
2022-03-23T06:08:11.000Z
// // kern_start.hpp // AppleALC // // Copyright © 2016 vit9696. All rights reserved. // #ifndef kern_start_hpp #define kern_start_hpp #include <Headers/kern_util.hpp> #include <Library/LegacyIOService.h> #include <sys/types.h> struct PluginConfiguration { const char *product; // Product name (e.g. xStri...
30.923077
101
0.733831
worldlove521
0f19bde272c98ec1052f100c29945eedfa1a65e2
2,130
cpp
C++
src/Tools/Arguments/Maps/Argument_map_info.cpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-17T08:47:47.000Z
2022-02-17T08:47:47.000Z
src/Tools/Arguments/Maps/Argument_map_info.cpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
null
null
null
src/Tools/Arguments/Maps/Argument_map_info.cpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-15T23:32:39.000Z
2022-02-15T23:32:39.000Z
#include <stdexcept> #include "Tools/Arguments/Maps/Argument_map_info.hpp" using namespace aff3ct; using namespace aff3ct::tools; Argument_map_info ::Argument_map_info() { } Argument_map_info ::Argument_map_info(const Argument_map_info& other) { other.clone(*this); } Argument_map_info ::~Argument_map_info() { cl...
18.849558
106
0.687793
WilliamMajor
0f19e90462d302b3b58cffd4b6117ca0334b212c
4,450
cpp
C++
chapter26/chapter26_ex05.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
170
2018-08-10T19:37:16.000Z
2022-03-29T02:03:30.000Z
chapter26/chapter26_ex05.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
7
2018-08-29T15:43:14.000Z
2021-09-23T21:56:49.000Z
chapter26/chapter26_ex05.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
105
2015-05-28T11:52:19.000Z
2018-07-17T14:11:25.000Z
// Chapter 26, exercise 5: add test to see if binary_search modifies the // sequence #include<iostream> #include<exception> #include<fstream> #include<string> #include<vector> using namespace std; //------------------------------------------------------------------------------ // check if value val is in the ordere...
25.141243
80
0.456854
TingeOGinge
0f1ec96beae63b3759b017d012bf4c1cca899745
1,129
cpp
C++
taichi/struct/snode_tree.cpp
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
11,699
2020-01-09T03:02:46.000Z
2022-03-31T20:59:08.000Z
taichi/struct/snode_tree.cpp
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
3,589
2020-01-09T03:18:25.000Z
2022-03-31T19:06:42.000Z
taichi/struct/snode_tree.cpp
kxxt/taichi
15f39b79c258080f1e34fcbdc29646d9ced0a4fe
[ "MIT" ]
1,391
2020-01-09T03:02:54.000Z
2022-03-31T08:44:29.000Z
#include "taichi/struct/snode_tree.h" namespace taichi { namespace lang { namespace { void get_snodes_to_root_id_impl(const SNode &node, const int root_id, std::unordered_map<int, int> *map) { (*map)[node.id] = root_id; for (auto &ch : node.ch) { ...
25.659091
72
0.635075
kxxt
0f1fbeef72f98f3cf71e39d12810388ebfa643a4
262
hpp
C++
include/chopper/detail_bin_prefixes.hpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
include/chopper/detail_bin_prefixes.hpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
include/chopper/detail_bin_prefixes.hpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
#pragma once constexpr std::string_view hibf_prefix{"HIGH_LEVEL_IBF"}; constexpr std::string_view merged_bin_prefix{"MERGED_BIN"}; constexpr std::string_view split_bin_prefix{"SPLIT_BIN"}; constexpr size_t merged_bin_prefix_length{merged_bin_prefix.size()};
26.2
68
0.824427
Felix-Droop
0f2012089c71563586060d4135eed276c8e04ef9
1,084
cpp
C++
Codeforces/605E.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Codeforces/605E.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Codeforces/605E.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> #define ll long long #define ls id<<1 #define rs id<<1|1 #define mem(a,b) memset(a,b,sizeof(a)) #define pii pair<int,int> #define mp(a,b) make_pair(a,b) using namespace std; const int inf=0x3f3f3f3f; const ll mod=1e9+7; const int N=1050; double p[N][N]; int n; double dp[N],ji[N]; bool vis[N]; ...
21.254902
64
0.443727
HeRaNO
0f22b9fbce5bb8e3ee5680c035854cf382b15802
1,043
cpp
C++
src/main.cpp
kondrak/quake_bsp_viewer_legacyOpenGL
e64a2a74fbda91fdd26a9027098e087bbd5cd8b3
[ "MIT" ]
4
2015-11-29T15:38:42.000Z
2021-09-12T00:19:28.000Z
src/main.cpp
kondrak/quake_bsp_viewer_legacyOpenGL
e64a2a74fbda91fdd26a9027098e087bbd5cd8b3
[ "MIT" ]
null
null
null
src/main.cpp
kondrak/quake_bsp_viewer_legacyOpenGL
e64a2a74fbda91fdd26a9027098e087bbd5cd8b3
[ "MIT" ]
null
null
null
#include "Application.hpp" #include "InputHandlers.hpp" #include "renderer/RenderContext.hpp" // keep the render context and application object global RenderContext g_renderContext; Application g_application; int main(int argc, char **argv) { // initialize SDL if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_EVENT...
20.057692
76
0.645254
kondrak
0f29be1fede5316157c74418de5309fedfbb685b
2,766
hpp
C++
ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/internal/istring.hpp
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
39
2018-12-02T01:13:53.000Z
2022-01-29T18:31:28.000Z
ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/internal/istring.hpp
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
17
2018-06-25T14:51:52.000Z
2021-08-23T10:47:49.000Z
ThirdParty/pegtl/vtkpegtl/include/tao/pegtl/internal/istring.hpp
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
11
2018-12-05T11:37:37.000Z
2021-02-06T16:35:07.000Z
// Copyright (c) 2014-2019 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_INTERNAL_ISTRING_HPP #define TAO_PEGTL_INTERNAL_ISTRING_HPP #include <type_traits> #include "../config.hpp" #include "bump_help.hpp" #include "result_on_found.hpp...
25.611111
127
0.477585
txwhhny
0f2a9491a7af6a8948061edc4e6b30a0cbe03bb6
2,093
cpp
C++
src/CppParser/CppParser.cpp
P-i-N/CppSharp
c36145b29dd5e8ae273557c2a31fd4d8a7a044be
[ "MIT" ]
null
null
null
src/CppParser/CppParser.cpp
P-i-N/CppSharp
c36145b29dd5e8ae273557c2a31fd4d8a7a044be
[ "MIT" ]
null
null
null
src/CppParser/CppParser.cpp
P-i-N/CppSharp
c36145b29dd5e8ae273557c2a31fd4d8a7a044be
[ "MIT" ]
null
null
null
/************************************************************************ * * CppSharp * Licensed under the MIT license. * ************************************************************************/ #include "CppParser.h" #include "Parser.h" #include <clang/Basic/Version.inc> namespace CppSharp { namespace CppParser { ...
25.216867
73
0.705686
P-i-N
0f2bcb2378bd857af261bf2c768a9ae4d64e11bb
77
cc
C++
GeneratorInterface/GenExtensions/bin/HARDCOL/main.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
GeneratorInterface/GenExtensions/bin/HARDCOL/main.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
GeneratorInterface/GenExtensions/bin/HARDCOL/main.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
extern "C" { void hardcol_(); } int main() { hardcol_(); return 1; }
6.416667
18
0.532468
ckamtsikis
0f2e97cbb920c58e4c5b35e8fc5285d493fa007c
1,477
cpp
C++
Starters 14/TUPCOUNT.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
1
2021-09-17T13:10:04.000Z
2021-09-17T13:10:04.000Z
Starters 14/TUPCOUNT.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
Starters 14/TUPCOUNT.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define PI 3.14159265358979323846 #define ll long long int #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; const int T = 1e6 + 5; long long phi[T]; gp_hash_table<long long, long long> mp; int sz, spf[T], prime...
24.616667
82
0.411645
Jks08
0f2e9b5d687c9d267e5c422bcf45c3501df831eb
111,565
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Copyright (C) 2016 Intel Corporation. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial Lice...
45.278003
1,050
0.623278
GrinCash