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
242a2a6abe2a98089712fefc87ca05df5f408196
84
hpp
C++
main/RK.hpp
likeblood/Algorithms-parallel-calculator
1f7273d319944c6b9123927e363cd5c5fccac7c3
[ "MIT" ]
null
null
null
main/RK.hpp
likeblood/Algorithms-parallel-calculator
1f7273d319944c6b9123927e363cd5c5fccac7c3
[ "MIT" ]
7
2020-05-19T02:52:25.000Z
2020-05-31T23:20:54.000Z
main/RK.hpp
likeblood/cpp_microproject_2020
1f7273d319944c6b9123927e363cd5c5fccac7c3
[ "MIT" ]
1
2021-02-25T15:23:13.000Z
2021-02-25T15:23:13.000Z
#pragma once #include "RKMethod.hpp" #include "RKIntegrator.hpp" #include "ODE.hpp"
16.8
27
0.75
likeblood
242ca11a3a8f56841a88e2bad889f8a9a47a34a5
2,246
hh
C++
ms-utils/properties/MaterialProperties.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
ms-utils/properties/MaterialProperties.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
ms-utils/properties/MaterialProperties.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
#ifndef MaterialProperties_EXISTS #define MaterialProperties_EXISTS /** @defgroup TSM_UTILITIES_PROPERTIES_MATERIAL Material Properties @ingroup TSM_UTILITIES_PROPERTIES @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administra...
28.43038
100
0.611309
nasa
242ce98cf1db305edce90ae00c23d7a8bbb65fbf
2,860
hpp
C++
include/cppurses/painter/brush.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
include/cppurses/painter/brush.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
include/cppurses/painter/brush.hpp
jktjkt/CPPurses
652d702258db8fab55ae945f7bb38e0b7c29521b
[ "MIT" ]
null
null
null
#ifndef CPPURSES_PAINTER_BRUSH_HPP #define CPPURSES_PAINTER_BRUSH_HPP #include <bitset> #include <utility> #include <optional/optional.hpp> #include <cppurses/painter/attribute.hpp> #include <cppurses/painter/color.hpp> namespace cppurses { /// Holds the look of any paintable object with Attributes and Colors. clas...
31.428571
79
0.708042
jktjkt
242da28b91e2bffe757f64398f675465dfa35eab
797
hpp
C++
pythran/pythonic/include/numpy/digitize.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/digitize.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/digitize.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_NUMPY_DIGITIZE_HPP #define PYTHONIC_INCLUDE_NUMPY_DIGITIZE_HPP #include "pythonic/include/numpy/asarray.hpp" #include "pythonic/include/__builtin__/None.hpp" #include "pythonic/include/operator_/gt.hpp" #include "pythonic/include/operator_/lt.hpp" namespace pythonic { namespace numpy { ...
26.566667
65
0.677541
xmar
242eec34b064e0858bb56bb737d91c085b328bcf
9,239
cpp
C++
engine/hash_table.cpp
BaronStack/kvdk
50fdd226b88ac614ba04109053c529af989c083a
[ "BSD-3-Clause" ]
1
2022-03-01T03:46:02.000Z
2022-03-01T03:46:02.000Z
engine/hash_table.cpp
KVKIT/kvdk
809b64058146308fa089859ba4abcb4135333425
[ "BSD-3-Clause" ]
null
null
null
engine/hash_table.cpp
KVKIT/kvdk
809b64058146308fa089859ba4abcb4135333425
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Intel Corporation */ #include "hash_table.hpp" #include "skiplist.hpp" #include "thread_manager.hpp" #include "unordered_collection.hpp" namespace KVDK_NAMESPACE { HashTable * HashTable::NewHashTable(uint64_t hash_bucket_num, uint32_t hash_bucket_size, ...
35.263359
80
0.617599
BaronStack
242ff700e06dcaa5184fef218efe84700032422c
1,390
cpp
C++
CodeJam2K16/Qualification/ques2.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
29
2016-09-02T04:48:59.000Z
2016-09-08T18:13:05.000Z
CodeJam2K16/Qualification/ques2.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
2
2016-09-02T05:20:02.000Z
2016-10-13T06:31:31.000Z
CodeJam2K16/Qualification/ques2.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
7
2017-04-01T20:07:03.000Z
2020-10-16T12:28:54.000Z
#include <bits/stdc++.h> using namespace std; char s[300],b[300]; int l; void flip(int n) { strcpy(b,s); for(int i=0;i<n;i++) { if(b[i]=='+') s[n-i-1]='-'; else s[n-i-1]='+'; } } int checkminus() { for(int i=l-1;i>=0;i--) { if(s[i]=='-') return i; //last index of - } r...
15.795455
42
0.422302
ritwik1503
24308c5522b87577de35faec37e57053f5a05f76
779
cpp
C++
c++/test/test_matmul_upper.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
38
2020-10-10T02:43:53.000Z
2022-03-30T09:59:21.000Z
c++/test/test_matmul_upper.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
34
2020-10-06T18:50:47.000Z
2022-01-28T10:33:04.000Z
c++/test/test_matmul_upper.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
6
2020-11-09T18:12:54.000Z
2022-02-03T20:20:59.000Z
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "helpers.hpp" #include <celerite2/celerite2.h> using namespace celerite2::test; using namespace celerite2::core; TEMPLATE_LIST_TEST_CASE("check the results of matmul_upper", "[matmul_upper]", TestKernels) { SETUP_TEST(50); double max_resid; Matrix K, Z(Y...
23.606061
93
0.641849
jacksonloper
2432129c0507b40b74a5298d826a1dbd41b39722
1,298
cc
C++
chrome/browser/extensions/api/identity/identity_remove_cached_auth_token_function.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/identity/identity_remove_cached_auth_token_function.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/identity/identity_remove_cached_auth_token_function.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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/extensions/api/identity/identity_remove_cached_auth_token_function.h" #include "chrome/browser/extensions/api/identity/identity_...
38.176471
94
0.790447
sarang-apps
2432b0701313618b67db0de4d19fd1b2ad2daed7
2,287
cpp
C++
demo/main.cpp
MatthiasKillat/lockfree-stack
2f51495b6775887df2e4efc9d7174bfb9eb50afb
[ "MIT" ]
null
null
null
demo/main.cpp
MatthiasKillat/lockfree-stack
2f51495b6775887df2e4efc9d7174bfb9eb50afb
[ "MIT" ]
null
null
null
demo/main.cpp
MatthiasKillat/lockfree-stack
2f51495b6775887df2e4efc9d7174bfb9eb50afb
[ "MIT" ]
null
null
null
#include <iostream> #include "index_stack.hpp" #include "lockfree_stack.hpp" //playground, work in progress int main(void) { { IndexStack<4> stack; stack.push(0); stack.push(1); stack.push(2); uint32_t value; if (stack.pop(value)) { std::cout ...
22.203883
66
0.415391
MatthiasKillat
243396ce973d06445dbdd4d96631f4d62bf037e4
320
cpp
C++
codeforces/random/PetyaAndSquares.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/random/PetyaAndSquares.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/random/PetyaAndSquares.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define ll long long int #define ld long double #define MOD 1000000007 using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll n,x,y; cin>>n>>x>>y; n=n/2; if((x==n || x==n+1) && (y==n||y==n+1)) cout<<"NO"<<endl; else cout<<"YES"<<endl; return 0; }
14.545455
39
0.6
skmorningstar
243423f1be8ded343c99cdb19fd3f4e39621fb24
26,513
cpp
C++
modules/dbgfmts/dwarf/DwarfDebug_line.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
1
2019-12-17T01:47:08.000Z
2019-12-17T01:47:08.000Z
modules/dbgfmts/dwarf/DwarfDebug_line.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
modules/dbgfmts/dwarf/DwarfDebug_line.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
// // DWARF debugging format - line information // // Copyright (C) 2006-2007 Peter Johnson // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright //...
31.563095
81
0.594953
rpavlik
24349d600b9df7c5add7fc5fd97c8ac1b859df89
8,718
cpp
C++
methods/src/utils/utils.cpp
erinaceous/shadows
43c86c18936f6af4c0c54f30419e8f7bfb244e9a
[ "MIT" ]
3
2015-11-22T07:04:07.000Z
2017-11-19T13:03:27.000Z
methods/src/utils/utils.cpp
erinaceous/shadows
43c86c18936f6af4c0c54f30419e8f7bfb244e9a
[ "MIT" ]
null
null
null
methods/src/utils/utils.cpp
erinaceous/shadows
43c86c18936f6af4c0c54f30419e8f7bfb244e9a
[ "MIT" ]
null
null
null
/** * @file utils.cpp * @brief Utility functions and macros shared between my programs. Including * this file makes a bunch of global variables available, which command line * arguments are copied to. * It also defines some helpful macros to reduce 'boiler plate' code. I don't * know if this is a good idea or bad...
30.482517
87
0.670567
erinaceous
0f85ce1e4b2e28ddb86a43dcbbc670f82ff80b10
4,286
cpp
C++
src/target_gstreamer.cpp
folkertvanheusden/constatus
7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6
[ "Apache-2.0" ]
5
2021-07-15T11:39:25.000Z
2022-02-25T06:14:58.000Z
src/target_gstreamer.cpp
folkertvanheusden/constatus
7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6
[ "Apache-2.0" ]
2
2021-09-27T11:13:42.000Z
2021-10-10T01:02:39.000Z
src/target_gstreamer.cpp
folkertvanheusden/constatus
7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6
[ "Apache-2.0" ]
2
2021-06-11T09:19:47.000Z
2022-02-18T22:22:01.000Z
// (C) 2017-2021 by folkert van heusden, released under Apache License v2.0 #include "config.h" #if HAVE_GSTREAMER == 1 #include <unistd.h> #include <gst/gst.h> #include <gst/app/gstappsrc.h> #include "target_gstreamer.h" #include "error.h" #include "exec.h" #include "log.h" #include "picio.h" #include "utils.h" #incl...
27.299363
370
0.642557
folkertvanheusden
0f8744d82e0ffdd7a2c540cc0ce787dd9568d12b
233
cpp
C++
RequiredRemainder.cpp
seikhchilli/codeforces-problemset
7b64c91ef9eb9e36b2931335ae131648de0de285
[ "MIT" ]
3
2021-09-01T13:27:29.000Z
2021-09-24T12:35:37.000Z
RequiredRemainder.cpp
seikhchilli/codeforces-problemset
7b64c91ef9eb9e36b2931335ae131648de0de285
[ "MIT" ]
null
null
null
RequiredRemainder.cpp
seikhchilli/codeforces-problemset
7b64c91ef9eb9e36b2931335ae131648de0de285
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int x, y, n; cin>>x>>y>>n; int k = (n % x) - y >= 0 ? (n - (((n % x) - y))) : (n - (x + ((n % x) - y))); cout<<k<<endl; } }
16.642857
81
0.39485
seikhchilli
0f877b9bbac658e6cbee3177273dd52e71371e7b
4,600
cpp
C++
event_handles/Translate3dEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
event_handles/Translate3dEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
event_handles/Translate3dEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
#include <QEvent> #include <GL\glew.h> #include "Viewer3d.h" #include "Renderable\ObjMesh.h" #include "Translate3dEventHandle.h" #include "../clothdesigner.h" #include "../Viewer2d.h" #include "cloth\clothPiece.h" #include "cloth\TransformInfo.h" Translate3dEventHandle::Translate3dEventHandle(Viewer3d* v) : Abstract...
27.058824
121
0.709565
dolphin-li
0f88793a9167fffb790cc6235630dc4c8753b3fa
906
cc
C++
code/Modules/Resource/Core/ResourceLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/Resource/Core/ResourceLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/Resource/Core/ResourceLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // ResourceLoader.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "ResourceLoader.h" namespace Oryol { OryolClassImpl(ResourceLoader); //------------------------------------...
25.885714
80
0.328918
waywardmonkeys
0f89cff0601d526c71b6a9f8d661af3b7f4e27ca
31,721
hpp
C++
kernel/bb/Brick11/src/cck.hpp
Bhaskers-Blu-Org2/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
270
2015-07-17T15:43:43.000Z
2019-04-21T12:13:58.000Z
kernel/bb/Brick11/src/cck.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
null
null
null
kernel/bb/Brick11/src/cck.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
106
2015-07-20T10:40:34.000Z
2019-04-25T10:02:26.000Z
#pragma once #include "vector128.h" #include "soradsp.h" #include "tpltrick.h" #include "brick.h" #include "ieee80211facade.hpp" DEFINE_LOCAL_CONTEXT(TCCK5P5Decoder, CF_DifferentialDemap); template<TFILTER_ARGS> class TCCK5P5Decoder : public TFilter<TFILTER_PARAMS> { CTX_VAR_RW (COMPLEX16, last_symbol...
33.250524
257
0.431102
Bhaskers-Blu-Org2
0f8a8cf9713f0de7278a23af78dec0a133687a91
54,373
cc
C++
fuchsia/runners/cast/cast_runner_integration_test.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
fuchsia/runners/cast/cast_runner_integration_test.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
fuchsia/runners/cast/cast_runner_integration_test.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fuchsia/camera3/cpp/fidl.h> #include <fuchsia/legacymetrics/cpp/fidl.h> #include <fuchsia/legacymetrics/cpp/fidl_test_base.h> #include <fuchsia/...
39.57278
80
0.748736
DamieFC
0f8ad30c2832af6edf8028a955e525f81dd9a211
4,375
cpp
C++
src/devices/machine/aicartc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/machine/aicartc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/machine/aicartc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Angelo Salese /*************************************************************************** AICA-RTC sub-device TODO: - move this inside AICA sound core once that'll get modernized ***************************************************************************/ #i...
25
128
0.475886
Robbbert
0f8ba3ae341fccb941b2953dc480b7d5d35a0902
176
cpp
C++
test/dense_cholesky_solver.float.cpp
Rookfighter/least-squares-cpp
0283b4e9d16db54568455cf5c1b59dc29aebaef6
[ "MIT" ]
46
2019-04-23T00:42:39.000Z
2022-03-10T09:44:59.000Z
test/dense_cholesky_solver.float.cpp
Rookfighter/least-squares-cpp
0283b4e9d16db54568455cf5c1b59dc29aebaef6
[ "MIT" ]
6
2020-01-20T20:05:18.000Z
2021-01-29T21:08:02.000Z
test/dense_cholesky_solver.float.cpp
Rookfighter/least-squares-cpp
0283b4e9d16db54568455cf5c1b59dc29aebaef6
[ "MIT" ]
10
2019-12-22T19:22:40.000Z
2022-03-10T09:44:47.000Z
/* dense_svd_solver.cpp * * Author: Fabian Meyer * Created On: 05 Aug 2019 */ #define DATATYPE float #define DATATYPE_STR "float" #include "dense_cholesky_solver.in.cpp"
16
39
0.732955
Rookfighter
0f8c362ee5d5db8341721a132787eb0235a1e472
16,372
cpp
C++
src/FHEContext.cpp
patrick-schwarz/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
1
2020-12-01T07:18:47.000Z
2020-12-01T07:18:47.000Z
src/FHEContext.cpp
wangjinglin0721/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
null
null
null
src/FHEContext.cpp
wangjinglin0721/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2019 IBM Corp. * This program is Licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
30.94896
91
0.62216
patrick-schwarz
0f8f36ba108e40d79d1baeb6fce8b6fca28e5166
421
cc
C++
kattis/acm2.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
kattis/acm2.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
kattis/acm2.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://open.kattis.com/problems/acm2 #include <bits/stdc++.h> using namespace std; using vi=vector<int>; int main(){ int n,p,b,c; cin>>n>>p; vi a(n); for(int i=0;i<n;i++)cin>>a[i]; if(a[p]>300){ cout<<"0 0\n"; return 0; } b=c=a[p]; swap(a[p],a[n-1]); a.pop_back(); sort(a.begin(),a.end())...
16.84
40
0.496437
Ashindustry007
0f8f3f5864a87e8c83534bbd314e905f05417bce
47,384
cpp
C++
Modules/IGT/TrackingDevices/mitkNDITrackingDevice.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Modules/IGT/TrackingDevices/mitkNDITrackingDevice.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Modules/IGT/TrackingDevices/mitkNDITrackingDevice.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "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 w...
36.93219
220
0.680124
liu3xing3long
0f906b861a78494bc89ea5b353550ee601f47bb8
2,489
hpp
C++
Examples/NMocha/src/OutputDebugStringBuf.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Examples/NMocha/src/OutputDebugStringBuf.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Examples/NMocha/src/OutputDebugStringBuf.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * Util * * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUM_MOBILE_WINDOWS_UTIL_OUTPUTDEBUGSTRINGBUF_HPP_ #define _TITANIUM_MOBILE_WINDOWS_UT...
28.94186
153
0.642025
garymathews
0f93e210a70b75104f41781799ac84981ac686c2
6,492
cpp
C++
qt-creator-opensource-src-4.6.1/tests/unit/unittest/symbolstorage-test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/tests/unit/unittest/symbolstorage-test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/tests/unit/unittest/symbolstorage-test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
38.414201
137
0.76756
kevinlq
0f944d0aeab70f52d46c424d2a0cdbfa9c7ede1f
2,316
cpp
C++
modules/skparagraph/src/FontArguments.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
modules/skparagraph/src/FontArguments.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
modules/skparagraph/src/FontArguments.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 Google LLC. #include "modules/skparagraph/src/FontArguments.h" bool operator==(const SkFontArguments& a, const SkFontArguments& b) { if (a.getCollectionIndex() != b.getCollectionIndex()) { return false; } const SkFontArguments::VariationPosition posA = a.getVariationDesignPositi...
37.967213
91
0.628238
twinsunllc
0f94b95e5ff1dbeeffff9d17e74ae418a264699b
15,313
cpp
C++
Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp
CStudios15/o3de
9dc85000a3ec1a6c6633d718f5c455ab11a46818
[ "Apache-2.0", "MIT" ]
1
2021-08-11T02:20:46.000Z
2021-08-11T02:20:46.000Z
Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzToolsFramework/AzToolsFramework/ViewportSelection/EditorHelpers.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "EditorHelpers.h" #include <AzCore/Console/Console.h> #include <AzCore/Math/VectorConver...
43.751429
139
0.662117
CStudios15
0f95fecd925c7ab349450e2a97123219698430fa
570
cpp
C++
Array as a parameter.cpp
AtharvK9/Cpp-Fundamentals
827e367e113adc81c7e22e5e8d3c6eb4afb71b4d
[ "MIT" ]
null
null
null
Array as a parameter.cpp
AtharvK9/Cpp-Fundamentals
827e367e113adc81c7e22e5e8d3c6eb4afb71b4d
[ "MIT" ]
null
null
null
Array as a parameter.cpp
AtharvK9/Cpp-Fundamentals
827e367e113adc81c7e22e5e8d3c6eb4afb71b4d
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; //Array can't be passed by value. void fun(int A[], int n){//Pointer to an Array. cout << sizeof(A)/sizeof(int) << "\n";//It's taking size of a pointer. A[0]=12; for(int i = 0;i<6;i++){ cout << A[i] << " "; } } int main(){ int A[]={1,2,3,4,5,6};//Arr...
23.75
77
0.538596
AtharvK9
0f9670386171b1db7d06f4d730ced5467ec79b1e
5,370
cpp
C++
apps/RAMDanceToolkit/src/scenes/Laban/Laban.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
52
2015-01-13T05:17:23.000Z
2021-05-09T14:09:39.000Z
apps/RAMDanceToolkit/src/scenes/Laban/Laban.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
7
2015-01-12T10:25:14.000Z
2018-09-18T12:34:15.000Z
apps/RAMDanceToolkit/src/scenes/Laban/Laban.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
31
2015-01-12T06:39:15.000Z
2020-04-06T07:05:08.000Z
// // Laban.cpp - RAMDanceToolkit // // Copyright 2012-2013 YCAM InterLab, Yoshito Onishi, Satoru Higa, Motoi Shimizu, and Kyle McDonald // // 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 //...
31.964286
99
0.518994
YCAMInterlab
0f972dbff891c98524cb3bfd9895ca51d06d6bd7
17,772
cc
C++
pagespeed/system/apr_mem_cache.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
pagespeed/system/apr_mem_cache.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
pagespeed/system/apr_mem_cache.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
1
2020-05-20T07:09:05.000Z
2020-05-20T07:09:05.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 ...
37.812766
80
0.666723
PeterDaveHello
0f97b58ac2d1c670fefd97e051fa0dc519e0d6b9
5,170
cc
C++
lullaby/contrib/mutator/stay_in_box_mutator_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
1
2018-11-09T03:45:25.000Z
2018-11-09T03:45:25.000Z
lullaby/contrib/mutator/stay_in_box_mutator_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
lullaby/contrib/mutator/stay_in_box_mutator_system.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
36.928571
80
0.67234
dd181818
0f98e2974d64480d2be3bad0747cda5dd26c38fc
17,552
cc
C++
tensorflow/core/kernels/ragged_tensor_to_variant_op_test.cc
computationalartist/tensorflow
b89cf636c412abdff53b3e8f201bde671c92209d
[ "Apache-2.0" ]
190,993
2015-11-09T13:17:30.000Z
2022-03-31T23:05:27.000Z
tensorflow/core/kernels/ragged_tensor_to_variant_op_test.cc
computationalartist/tensorflow
b89cf636c412abdff53b3e8f201bde671c92209d
[ "Apache-2.0" ]
48,461
2015-11-09T14:21:11.000Z
2022-03-31T23:17:33.000Z
tensorflow/core/kernels/ragged_tensor_to_variant_op_test.cc
computationalartist/tensorflow
b89cf636c412abdff53b3e8f201bde671c92209d
[ "Apache-2.0" ]
104,981
2015-11-09T13:40:17.000Z
2022-03-31T19:51:54.000Z
/* Copyright 2019 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...
40.818605
80
0.609161
computationalartist
0f9906a238d593017d767ee71cb1750f5d95827f
1,324
hpp
C++
inc/sexpr-quote.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
inc/sexpr-quote.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
inc/sexpr-quote.hpp
ryanvbissell/dslang
65379ca7bbefff0161d11343b742ac58452d37e7
[ "BSD-2-Clause" ]
null
null
null
// vim: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab : /* * Copyright (c) 2014-2017, Ryan V. Bissell * All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause * See the enclosed "LICENSE" file for exact license terms. */ #ifndef DSLANG_SEXPR_QUOTE_HPP #define DSLANG_SEXPR_QUOTE_HPP #include "sexpr....
22.066667
72
0.705438
ryanvbissell
0f9b271e2eac2bf63cc9a3471b12611f4ceca6be
299
cpp
C++
CodeForces/Complete/200-299/258A-LittleElephantAndBits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/200-299/258A-LittleElephantAndBits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/200-299/258A-LittleElephantAndBits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> int main(){ std::string input; getline(std::cin, input); long found(input.size() - 1); for(int k = 0; k < input.size(); k++){if(input[k] == '0'){found = k; break;}} std::cout << input.substr(0,found) + input.substr(found + 1) << std::endl; return 0; }
24.916667
81
0.558528
Ashwanigupta9125
0f9d5384f9407a460db0945869cace6ba23cb323
3,140
hpp
C++
tests/Unit/Helpers/Evolution/EventsAndDenseTriggers/DenseTriggers/TestTrigger.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2018-10-01T06:07:16.000Z
2018-10-01T06:07:16.000Z
tests/Unit/Helpers/Evolution/EventsAndDenseTriggers/DenseTriggers/TestTrigger.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
tests/Unit/Helpers/Evolution/EventsAndDenseTriggers/DenseTriggers/TestTrigger.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "Framework/TestingFramework.hpp" #include <pup.h> #include <string> #include "DataStructures/DataBox/Tag.hpp" #include "Evolution/EventsAndDenseTriggers/DenseTrigger.hpp" #include "Options/Options.hpp" #include "Parallel/Cha...
25.737705
72
0.698408
macedo22
0fa087c7c41a6a86d79991214d027c733eace0d4
2,265
cpp
C++
Codeforces/1606E/solution.cpp
caando/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
5
2021-09-09T09:16:29.000Z
2022-01-08T11:28:12.000Z
Codeforces/1606E/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
1
2021-09-09T09:16:26.000Z
2021-09-11T04:00:36.000Z
Codeforces/1606E/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<ll, ll>; using vi = vector<int>; using vl = vector<ll>; using vii = vector<pii>; using vll = vector<pll>; #define fi first #define se second #define sz(c) ((int)(c).size()) #define all(c) (c).begin(), (c).en...
24.354839
88
0.516556
caando
0fa2845eeda365726e7290cd1835c3812fd063dd
88,939
cpp
C++
src/VAL/Proposition.cpp
nitinkaveriappa/downward
5c9a1b5111d667bb96f94da61ca2a45b1b70bb83
[ "MIT" ]
null
null
null
src/VAL/Proposition.cpp
nitinkaveriappa/downward
5c9a1b5111d667bb96f94da61ca2a45b1b70bb83
[ "MIT" ]
null
null
null
src/VAL/Proposition.cpp
nitinkaveriappa/downward
5c9a1b5111d667bb96f94da61ca2a45b1b70bb83
[ "MIT" ]
null
null
null
/************************************************************************ * Copyright 2008, Strathclyde Planning Group, * Department of Computer and Information Sciences, * University of Strathclyde, Glasgow, UK * http://planning.cis.strath.ac.uk/ * * Maria Fox, Richard Howey and Derek Long - VAL * Stephen Cress...
24.386893
200
0.626002
nitinkaveriappa
0fa286d59dcd9332bc16defc791b14fff48d22cf
662
cc
C++
media/learning/common/feature_library.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
media/learning/common/feature_library.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
media/learning/common/feature_library.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 2019 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 "media/learning/common/feature_library.h" namespace media { namespace learning { using ValueDescription = LearningTask::ValueDescription; using...
26.48
73
0.768882
zealoussnow
0fa556061ac91a3c234396d72c1de6621353a050
42,514
cpp
C++
plugins/src/natives/iter.cpp
AGraber/PawnPlus
8f1a06fc6a88293ccbfca549742db636470d2e4b
[ "MIT" ]
79
2018-03-07T22:49:20.000Z
2022-03-31T04:55:30.000Z
plugins/src/natives/iter.cpp
AGraber/PawnPlus
8f1a06fc6a88293ccbfca549742db636470d2e4b
[ "MIT" ]
45
2018-07-13T20:57:40.000Z
2022-02-01T17:55:34.000Z
plugins/src/natives/iter.cpp
AGraber/PawnPlus
8f1a06fc6a88293ccbfca549742db636470d2e4b
[ "MIT" ]
29
2018-03-23T08:22:02.000Z
2022-02-13T22:59:50.000Z
#include "natives.h" #include "errors.h" #include "modules/containers.h" #include "modules/variants.h" #include "modules/strings.h" #include "modules/expressions.h" #include "modules/iterators.h" #include "objects/dyn_object.h" #include "fixes/linux.h" #include <cstring> template <class Func> auto value_write(cell ar...
30.323823
171
0.724303
AGraber
0fa93c5889600dd2cf9f126b22a4803f45d1b261
12,185
cc
C++
chrome/browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/public/cpp/accelerators.h" #include "ash/public/cpp/test/app_list_test_api.h" #include "base/files/file_util.h" #include "base/path_service....
40.481728
80
0.745917
zealoussnow
0fab90e4cfdd5b570bab49c06c107030941d1c7f
5,924
hpp
C++
src/elona/draw.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/draw.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/draw.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "../snail/color.hpp" #include "optional.hpp" #include "pic_loader/extent.hpp" #include "shared_id.hpp" namespace elona { class CharaChipDB; class ItemChipDB; class PortraitDB; class MapChipDB; struct Item; struct ItemChip { // NOTE: fully qualified to a...
22.610687
80
0.694294
XrosFade
0fafceb8d9ce5bcbfab88c66145e4b411145358f
7,288
cc
C++
ports/www/chromium-legacy/newport/files/patch-chrome_app_chrome__main__delegate.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_app_chrome__main__delegate.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_app_chrome__main__delegate.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- chrome/app/chrome_main_delegate.cc.orig 2021-01-18 21:28:46 UTC +++ chrome/app/chrome_main_delegate.cc @@ -148,12 +148,12 @@ #include "v8/include/v8.h" #endif -#if defined(OS_LINUX) || defined(OS_CHROMEOS) +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) #include "base/environment.h" #endif ...
40.94382
94
0.71556
liweitianux
0fb557a588550971259ae92d075ee3916269ae51
4,528
cc
C++
src/yb/util/uint_set-test.cc
bllewell/yugabyte-db
b757f8d8c0c10854754a17f63db007a0874eaf1f
[ "Apache-2.0", "CC0-1.0" ]
4
2019-07-19T12:55:40.000Z
2021-03-25T15:59:09.000Z
src/yb/util/uint_set-test.cc
bllewell/yugabyte-db
b757f8d8c0c10854754a17f63db007a0874eaf1f
[ "Apache-2.0", "CC0-1.0" ]
10
2021-09-16T08:38:50.000Z
2022-03-01T09:48:44.000Z
src/yb/util/uint_set-test.cc
bllewell/yugabyte-db
b757f8d8c0c10854754a17f63db007a0874eaf1f
[ "Apache-2.0", "CC0-1.0" ]
1
2021-08-04T12:10:20.000Z
2021-08-04T12:10:20.000Z
// // Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
26.479532
100
0.682862
bllewell
0fb6c6780fb5016b303f4b481515aa57ec029273
1,388
cpp
C++
projects/pinguin_warfare/mapselectionmenuscene.cpp
MBakels/Centauri_Framework
eaca476af5ef8c7679e9026605868e8db2af014f
[ "MIT" ]
null
null
null
projects/pinguin_warfare/mapselectionmenuscene.cpp
MBakels/Centauri_Framework
eaca476af5ef8c7679e9026605868e8db2af014f
[ "MIT" ]
null
null
null
projects/pinguin_warfare/mapselectionmenuscene.cpp
MBakels/Centauri_Framework
eaca476af5ef8c7679e9026605868e8db2af014f
[ "MIT" ]
null
null
null
#include "mapselectionmenuscene.h" #include "scenemanager.h" #include "map.h" MapSelectionMenuScene::MapSelectionMenuScene() { // Initial button position int xPos = 200, yPos = 100; // Add a button for each MapData element in maps for each(std::pair<std::string, MapData*> map in Map::maps) { // Create and add bu...
30.844444
89
0.695965
MBakels
0fb7e65bd2ac657c475a6b748f880e7b1245f613
2,150
cpp
C++
src/sources/ProgressWin.cpp
waddlesplash/Photon
a93eeed8c156bde5f3721f74ebe7c21aa7e12459
[ "BSD-3-Clause" ]
4
2017-06-13T22:51:50.000Z
2019-04-19T20:02:27.000Z
src/sources/ProgressWin.cpp
waddlesplash/Photon
a93eeed8c156bde5f3721f74ebe7c21aa7e12459
[ "BSD-3-Clause" ]
null
null
null
src/sources/ProgressWin.cpp
waddlesplash/Photon
a93eeed8c156bde5f3721f74ebe7c21aa7e12459
[ "BSD-3-Clause" ]
1
2020-10-26T09:00:17.000Z
2020-10-26T09:00:17.000Z
#include "ProgressWin.h" ProgressView::ProgressView(BRect r) : BView(r, "ProgressView", B_FOLLOW_ALL, B_WILL_DRAW) { BRect re =Bounds(); re.InsetBy(4,4); progress = new BStatusBar(re,"aa","bb","cc"); //progress->SetBarHeight(7); rgb_color colx ={200,0,0}; progress->SetBarColor(colx); SetViewColor(216,216,216); ...
20.873786
104
0.71814
waddlesplash
0fbabdbd42759024d8c4c976d134c6796fad6a57
6,402
cc
C++
game/src/gui/app/deploy_view.cc
chunseoklee/mengde
7261e45dab9e02d4bf18b4542767f4b50a5616a0
[ "MIT" ]
1
2018-03-02T03:36:59.000Z
2018-03-02T03:36:59.000Z
game/src/gui/app/deploy_view.cc
chunseoklee/mengde
7261e45dab9e02d4bf18b4542767f4b50a5616a0
[ "MIT" ]
1
2018-04-17T01:43:02.000Z
2018-04-17T01:43:02.000Z
game/src/gui/app/deploy_view.cc
chunseoklee/mengde
7261e45dab9e02d4bf18b4542767f4b50a5616a0
[ "MIT" ]
null
null
null
#include "deploy_view.h" #include <algorithm> #include "core/assets.h" #include "core/equipment.h" #include "core/force.h" #include "core/hero.h" #include "core/i_deploy_helper.h" #include "core/unit.h" #include "deploy_director.h" #include "equipment_select_view.h" #include "equipment_set_view.h" #include "game_view...
37.881657
119
0.69572
chunseoklee
0fbb27736d46f8a25cc494234e9cb5cec198e326
6,074
cpp
C++
image/src/KTXImage.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
17
2019-02-12T14:40:06.000Z
2021-12-21T12:54:17.000Z
image/src/KTXImage.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
null
null
null
image/src/KTXImage.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
2
2019-02-21T10:07:42.000Z
2020-05-08T19:49:10.000Z
/////////// - StormKit::image - /////////// #include <storm/core/Ranges.hpp> /////////// - StormKit::image - /////////// #include <storm/image/Image.hpp> /////////// - STL - /////////// #include <csetjmp> #include <cstring> /////////// - libJPEG - /////////// #include <gli/gli.hpp> using namespace storm; using name...
53.280702
97
0.669575
Arthapz
0fbba466e36f863066f20b0385017b21afe4e98c
9,795
cpp
C++
mainwindow.cpp
miltonbd/inverse-kinematics-robot-arm
b0ea133638cdb3657b78147516650592f82b61de
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
miltonbd/inverse-kinematics-robot-arm
b0ea133638cdb3657b78147516650592f82b61de
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
miltonbd/inverse-kinematics-robot-arm
b0ea133638cdb3657b78147516650592f82b61de
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDebug> #include <QMessageBox> #include "cube.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); addMenu(); } MainWindow::~MainWindow() { delete ui; } void MainWindow::addMenu(...
32.979798
163
0.640837
miltonbd
0fbbc01bfef9c81727ff0e3bd9af2ee944cd2ec3
6,620
cpp
C++
ClientLourd/Tuto/Commun/Externe/FTGL/include/FTGlyph/FTGlyphGlue.cpp
samirov78/MultiplayerRobotSimulator
bd8b2741e310b027f0746c838b717e436802c402
[ "MIT" ]
110
2016-06-23T23:07:23.000Z
2022-03-25T03:18:16.000Z
ClientLourd/Tuto/Commun/Externe/FTGL/include/FTGlyph/FTGlyphGlue.cpp
samirov78/MultiplayerRobotSimulator
bd8b2741e310b027f0746c838b717e436802c402
[ "MIT" ]
9
2016-06-24T13:20:01.000Z
2020-05-05T18:43:46.000Z
ClientLourd/Tuto/Commun/Externe/FTGL/include/FTGlyph/FTGlyphGlue.cpp
samirov78/MultiplayerRobotSimulator
bd8b2741e310b027f0746c838b717e436802c402
[ "MIT" ]
23
2016-04-26T23:37:13.000Z
2021-09-27T07:10:08.000Z
/* * FTGL - OpenGL font library * * Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz> * Copyright (c) 2008 Sam Hocevar <sam@zoy.org> * * 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 th...
33.266332
85
0.641239
samirov78
0fbc0db6e99387859e836424e5575d95d6b69a6f
3,930
cpp
C++
mpags-cipher.cpp
tomlatham/mpags-c-course-day-2-ejones21
fe749511e23f422977c558b7fee5bfea636ec626
[ "MIT" ]
null
null
null
mpags-cipher.cpp
tomlatham/mpags-c-course-day-2-ejones21
fe749511e23f422977c558b7fee5bfea636ec626
[ "MIT" ]
null
null
null
mpags-cipher.cpp
tomlatham/mpags-c-course-day-2-ejones21
fe749511e23f422977c558b7fee5bfea636ec626
[ "MIT" ]
null
null
null
// Standard Library includes #include <iostream> #include <string> #include <vector> #include <fstream> // Our project headers #include "TransformChar.hpp" #include "processCommandLine.hpp" #include "runCaesarCipher.hpp" // For std::isalpha and std::isupper #include <cctype> // Main function of the mpags-cipher prog...
30.465116
99
0.616031
tomlatham
0fbc2386d22cb4e05187a80ec4bd60def2f36349
1,568
cc
C++
src/openvslam/solver/common.cc
bumplzz69/openvslam
6d03050a0f04323adfdf3fcf3693b180abc4553f
[ "BSD-2-Clause", "MIT" ]
1
2021-06-10T02:16:52.000Z
2021-06-10T02:16:52.000Z
src/openvslam/solver/common.cc
NamDinhRobotics/openvslam
6d03050a0f04323adfdf3fcf3693b180abc4553f
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/solver/common.cc
NamDinhRobotics/openvslam
6d03050a0f04323adfdf3fcf3693b180abc4553f
[ "BSD-2-Clause", "MIT" ]
1
2019-10-24T08:42:22.000Z
2019-10-24T08:42:22.000Z
#include "openvslam/solver/common.h" namespace openvslam { namespace solver { void normalize(const std::vector<cv::KeyPoint>& keypts, std::vector<cv::Point2f>& normalized_pts, Mat33_t& transform) { float mean_x = 0; float mean_y = 0; const auto num_keypts = keypts.size(); normalized_pts.resize(num_ke...
30.745098
119
0.665816
bumplzz69
0fbf56ffba91b321fa2641386cb5d1c5c7ec9b33
2,865
cpp
C++
code archive/hpcodewar2018/19.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/hpcodewar2018/19.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/hpcodewar2018/19.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<iostream> #include<iomanip> #include<cstdio> #include<cstring> #include<string> #include<set> #include<map> #include<vector> #include<algorithm> #include<sstream> #include<cmath> #include<queue> #include<stack> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define R...
24.279661
129
0.539616
brianbbsu
0fbf98a4c023316af3e8062a5bc946de9cc3e486
196
hpp
C++
MeetingCodes/Meeting4/Nelli_Square.hpp
knelli2/spectre-cpp-basics
9ac3f192a3673e708e8cd33efce0b3eba13f46fc
[ "MIT" ]
null
null
null
MeetingCodes/Meeting4/Nelli_Square.hpp
knelli2/spectre-cpp-basics
9ac3f192a3673e708e8cd33efce0b3eba13f46fc
[ "MIT" ]
null
null
null
MeetingCodes/Meeting4/Nelli_Square.hpp
knelli2/spectre-cpp-basics
9ac3f192a3673e708e8cd33efce0b3eba13f46fc
[ "MIT" ]
null
null
null
#pragma once #include "Nelli_Rectangle.hpp" class Square : public Rectangle { public: Square(double length) noexcept; double Perimeter() const noexcept; double Area() const noexcept; };
16.333333
36
0.734694
knelli2
0fc0f095d26eeaffb1541a6076e828efb11390b7
5,254
cpp
C++
src/Entities/ArrowEntity.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
1
2021-03-20T01:23:29.000Z
2021-03-20T01:23:29.000Z
src/Entities/ArrowEntity.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
null
null
null
src/Entities/ArrowEntity.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
1
2018-09-16T04:44:56.000Z
2018-09-16T04:44:56.000Z
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Player.h" #include "ArrowEntity.h" #include "../Chunk.h" cArrowEntity::cArrowEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed) : super(pkArrow, a_Creator, a_X, a_Y, a_Z...
24.211982
181
0.696422
wbrbr
0fc31a4f51e9b466f53c6f9db2da11ed596a6165
2,678
cpp
C++
addons/80s_tanoa_vehicles/gendarmerie/bo105/config.cpp
maxmconrad/80sTanoaDev
68fbc5712d97308b67777aeb0444dbc46ea03eab
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
addons/80s_tanoa_vehicles/gendarmerie/bo105/config.cpp
maxmconrad/80sTanoaDev
68fbc5712d97308b67777aeb0444dbc46ea03eab
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
addons/80s_tanoa_vehicles/gendarmerie/bo105/config.cpp
maxmconrad/80sTanoaDev
68fbc5712d97308b67777aeb0444dbc46ea03eab
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class CfgPatches { class 80s_tanoa_vehicles_gendarmerie_bo105 { units[]= { "80s_tanoa_gendarmerie_bo105" }; weapons[]= { }; requiredAddons[]= { "gm_core_vehicles", }; }; }; ///////////////////////// // BO-105 / ///////////////////////// class gm...
26
123
0.622106
maxmconrad
0fc437435780a2e3883b536662046345d2c1e542
3,373
cpp
C++
run/x86code_run.cpp
hanayashiki/ColdLang
b0b5bbdb15fb10c7d798c84156b57bc360881fcd
[ "BSD-3-Clause", "MIT" ]
1
2018-07-09T14:38:35.000Z
2018-07-09T14:38:35.000Z
run/x86code_run.cpp
hanayashiki/ColdLang
b0b5bbdb15fb10c7d798c84156b57bc360881fcd
[ "BSD-3-Clause", "MIT" ]
null
null
null
run/x86code_run.cpp
hanayashiki/ColdLang
b0b5bbdb15fb10c7d798c84156b57bc360881fcd
[ "BSD-3-Clause", "MIT" ]
null
null
null
#include "stdafx.h" //#define DO_COMPILE #ifdef DO_COMPILE #include "../coldlang/ExecCompiler.h" #include "../coldlang/ExecIntegerEmitter.h" #include <functional> using namespace Compile; struct TestJitEnv { inline static JitRuntime jitRuntime; CodeHolder code; FileLogger logger; std::shared_ptr<X86Compiler> co...
23.423611
83
0.691373
hanayashiki
0fc4b0a1e39e6b71c08ceee191725933b0640af4
30
cpp
C++
src/render/raytracer/raytracer_uniform.cpp
reneruhr/kipod
5860f1730049a7901d4825be9af00d99aa99b8fa
[ "Apache-2.0", "MIT" ]
null
null
null
src/render/raytracer/raytracer_uniform.cpp
reneruhr/kipod
5860f1730049a7901d4825be9af00d99aa99b8fa
[ "Apache-2.0", "MIT" ]
null
null
null
src/render/raytracer/raytracer_uniform.cpp
reneruhr/kipod
5860f1730049a7901d4825be9af00d99aa99b8fa
[ "Apache-2.0", "MIT" ]
null
null
null
#include "raytracer_uniform.h"
30
30
0.833333
reneruhr
0fc4d39309b4c53e915b1d8ed87bcb5f7d462297
8,780
cc
C++
intern/eigen/intern/linear_solver.cc
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
2
2018-06-18T01:50:25.000Z
2018-06-18T01:50:32.000Z
intern/eigen/intern/linear_solver.cc
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
intern/eigen/intern/linear_solver.cc
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
/* * Sparse linear solver. * Copyright (C) 2004 Bruno Levy * Copyright (C) 2005-2015 Blender Foundation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
23.923706
98
0.686446
1-MillionParanoidTterabytes
0fc666dfb02d6a1676ee5684f123fcbd6b8ab365
1,911
cc
C++
lib/src/main/cpp/utils/fs/file.cc
dodola/DInlineHook
2ac215911d5c025664dd32d6daebe615e2f6e57d
[ "MIT" ]
26
2018-10-23T15:22:24.000Z
2021-09-04T21:46:23.000Z
lib/src/main/cpp/utils/fs/file.cc
dodola/HookTest
2ac215911d5c025664dd32d6daebe615e2f6e57d
[ "MIT" ]
null
null
null
lib/src/main/cpp/utils/fs/file.cc
dodola/HookTest
2ac215911d5c025664dd32d6daebe615e2f6e57d
[ "MIT" ]
7
2019-03-24T05:27:39.000Z
2020-06-12T01:34:22.000Z
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
21.965517
75
0.659864
dodola
0fc6cf112c3530f6e2102ea5e2d10f1e7e06ed9b
5,906
cc
C++
chromeos/dbus/sms_client.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chromeos/dbus/sms_client.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chromeos/dbus/sms_client.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "chromeos/dbus/sms_client.h" #include <map> #include <memory> #include <utility> #include "base/bind.h" #include "base/location.h" #include ...
36.233129
80
0.69912
zipated
0fc99b376b55a092d78d5da43bee3ecee34f2d5b
285
hpp
C++
pythran/pythonic/include/omp/in_parallel.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/include/omp/in_parallel.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/include/omp/in_parallel.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_INCLUDE_OMP_IN_PARALLEL_HPP #define PYTHONIC_INCLUDE_OMP_IN_PARALLEL_HPP #include <omp.h> #include "pythonic/include/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace omp { bool in_parallel(); DEFINE_FUNCTOR(pythonic::omp, in_parallel); } PYTHONIC_NS_END #endif
15.833333
45
0.814035
davidbrochart
0fcaf7c3b0c822e20cb038673d225b1f21bc11d9
347
cpp
C++
CodeForces/Codeforces Round #775/b.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
CodeForces/Codeforces Round #775/b.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
CodeForces/Codeforces Round #775/b.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int a[100010]; int main(int argc, char const *argv[]) { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int t; cin >> t; while (t--) { int n; cin >> n; for (int i = 1; i <= n; ++i) { cin >> a[i]; } sort(a + 1, a + 1 + n); in...
11.965517
38
0.530259
ajidow
0fcd240a6389f7dabadce2ec2aa90172eef34b3e
1,267
hh
C++
include/point2D.hh
Nixsm/space-invaders
3b771b7bc37f380716f22d0515d4e8a0d9f04f50
[ "MIT" ]
null
null
null
include/point2D.hh
Nixsm/space-invaders
3b771b7bc37f380716f22d0515d4e8a0d9f04f50
[ "MIT" ]
null
null
null
include/point2D.hh
Nixsm/space-invaders
3b771b7bc37f380716f22d0515d4e8a0d9f04f50
[ "MIT" ]
null
null
null
#ifndef MATH_POINT2D_HH #define MATH_POINT2D_HH #include <iostream> namespace Math { class Point2D { public: Point2D() { } Point2D(float x, float y) :_x(x), _y(y) { } float getX() { return _x; } void setX(float x) {...
20.111111
81
0.38674
Nixsm
0fcdf3ca0dbb8b5d246e1ffc4575d5a055737523
1,111
cpp
C++
src/tracked_types.cpp
zionlang/zion
6e5adc7529cbed47b1a1c06b56b8a1764cd44bac
[ "MIT" ]
63
2016-06-04T04:04:00.000Z
2022-03-17T08:38:49.000Z
src/tracked_types.cpp
zionlang/zion
6e5adc7529cbed47b1a1c06b56b8a1764cd44bac
[ "MIT" ]
29
2017-03-02T03:36:34.000Z
2021-01-27T03:23:09.000Z
src/tracked_types.cpp
zionlang/zion
6e5adc7529cbed47b1a1c06b56b8a1764cd44bac
[ "MIT" ]
3
2017-12-26T20:50:38.000Z
2020-12-23T03:20:06.000Z
#include "tracked_types.h" #include "ast.h" #include "dbg.h" #include "logger_decls.h" namespace zion { types::Ref get_tracked_type(const TrackedTypes &tracked_types, const ast::Expr *e) { auto iter = tracked_types.find(e); if (iter == tracked_types.end()) { log_location(log_error...
27.775
79
0.576058
zionlang
0fd25ee4f2fa1d776e1c325b422386c5df544017
5,826
c++
C++
src/extern/inventor/apps/demos/revo/profile.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/demos/revo/profile.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/demos/revo/profile.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. 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 by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
27.875598
77
0.688465
OpenXIP
0fd36258362083358ab2666c4a8addef6ab5499d
3,975
hh
C++
fs/usr/share/bison/skeletons/stack.hh
uk0/jor1k-sysroot
4c4219592a7ea3c9c8510ec00801c24c01f25cc0
[ "MIT" ]
21
2015-07-06T21:12:40.000Z
2022-03-18T02:44:13.000Z
fs/usr/share/bison/skeletons/stack.hh
uk0/jor1k-sysroot
4c4219592a7ea3c9c8510ec00801c24c01f25cc0
[ "MIT" ]
null
null
null
fs/usr/share/bison/skeletons/stack.hh
uk0/jor1k-sysroot
4c4219592a7ea3c9c8510ec00801c24c01f25cc0
[ "MIT" ]
30
2015-01-11T14:06:10.000Z
2022-03-05T06:10:44.000Z
# C++ skeleton for Bison # Copyright (C) 2002-2015, 2018-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your opti...
25.158228
81
0.583145
uk0
0fd636aeae2a570f68bad7f89e360e21aa6aec9c
390
cpp
C++
EventAnalyzer/src/ObjectVariableValue.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
EventAnalyzer/src/ObjectVariableValue.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
EventAnalyzer/src/ObjectVariableValue.cpp
peterthomassen/RutgersIAF
50fd20b79b8bce30478d49e1ce7c763424e094f1
[ "MIT" ]
null
null
null
#include "RutgersIAF/EventAnalyzer/interface/ObjectVariableValue.h" ClassImp(ObjectVariableValue<int>) ClassImp(ObjectVariableValue<double>) ClassImp(ObjectVariableValue<TString>) ClassImp(ObjectVariableValue<bool>) template class ObjectVariableValue<int>; template class ObjectVariableValue<double>; template class Ob...
32.5
67
0.858974
peterthomassen
0fdb263006642a6a6cd32b6549504a36fff8a3a8
4,667
cpp
C++
src/ADBViewer/src/App/gui/guiIcon.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
9
2019-05-20T12:06:36.000Z
2022-03-24T19:11:06.000Z
src/ADBViewer/src/App/gui/guiIcon.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
null
null
null
src/ADBViewer/src/App/gui/guiIcon.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
3
2020-07-06T04:51:33.000Z
2021-07-26T20:08:02.000Z
/* MIT License Android remote Viewer, GUI ADB tools Android Viewer developed to view and control your android device from a PC. ADB exchange Android Viewer, support scale view, input tap from mouse, input swipe from keyboard, save/copy screenshot, etc.. Copyright (c) 2016-2019 PS GitHub: ...
27.452941
100
0.573173
ClnViewer
0fde9f33c4d275d0d63ff5720a92f555138a52e3
9,779
cc
C++
cinn/hlir/pe/reduction.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
null
null
null
cinn/hlir/pe/reduction.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
null
null
null
cinn/hlir/pe/reduction.cc
hp03/CINN
2a162037b1665877ce005750691415ddd859d446
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 CINN 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 appl...
35.689781
118
0.661008
hp03
0fe253cfb299eb0ca0e0b3057c933119dd9c7fd6
2,095
cpp
C++
fboss/agent/hw/benchmarks/HwRibSyncFibBenchmark.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
834
2015-03-10T18:12:28.000Z
2022-03-31T20:16:17.000Z
fboss/agent/hw/benchmarks/HwRibSyncFibBenchmark.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
82
2015-04-07T08:48:29.000Z
2022-03-11T21:56:58.000Z
fboss/agent/hw/benchmarks/HwRibSyncFibBenchmark.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
296
2015-03-11T03:45:37.000Z
2022-03-14T22:54:22.000Z
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
32.230769
79
0.713126
nathanawmk
0fe26df00118541531ec4a2d75579a0080a17348
6,734
cpp
C++
superboard-emulator/Emulator/sys_processor.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
null
null
null
superboard-emulator/Emulator/sys_processor.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
null
null
null
superboard-emulator/Emulator/sys_processor.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
1
2020-01-02T13:54:19.000Z
2020-01-02T13:54:19.000Z
// ******************************************************************************************************************************* // ******************************************************************************************************************************* // // Name: processor.c // Purpose: Processor Emulation...
42.352201
130
0.367241
paulscottrobson
0fe33f10704b1a47a711a5cf8d4f3b8554ae7756
1,064
cpp
C++
tests/casefiles/no_supported_flags.cpp
ardovm/wxGlade
a4cf8e65bcc6df5f65cf8ca5c49b9a628bf1e8eb
[ "MIT" ]
225
2018-03-26T11:23:22.000Z
2022-03-24T09:44:08.000Z
tests/casefiles/no_supported_flags.cpp
ardovm/wxGlade
a4cf8e65bcc6df5f65cf8ca5c49b9a628bf1e8eb
[ "MIT" ]
403
2018-01-03T19:47:28.000Z
2018-03-23T17:43:39.000Z
tests/casefiles/no_supported_flags.cpp
ardovm/wxGlade
a4cf8e65bcc6df5f65cf8ca5c49b9a628bf1e8eb
[ "MIT" ]
47
2018-04-08T16:48:38.000Z
2021-12-21T20:08:44.000Z
// -*- C++ -*- // // generated by wxGlade // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxflags) -...
31.294118
174
0.681391
ardovm
0fe679a56ea58c7ec03c0b5610b74480aef7d276
2,285
cpp
C++
TestApp/src/ofxPostGlitch.cpp
TatsuyaOGth/VJ-Paooooon
e8bab08b66c9b83f58676654e162fcd252dc9064
[ "MIT" ]
1
2020-07-19T07:41:56.000Z
2020-07-19T07:41:56.000Z
TestApp_minamidoitsu/src/ofxPostGlitch.cpp
TatsuyaOGth/MinamiDeutsch
c1b4ae91a13fa5920a5715cf964e2c015619be26
[ "MIT" ]
null
null
null
TestApp_minamidoitsu/src/ofxPostGlitch.cpp
TatsuyaOGth/MinamiDeutsch
c1b4ae91a13fa5920a5715cf964e2c015619be26
[ "MIT" ]
null
null
null
// // ofxPostGlitch.cpp // // Created by maxilla inc. on 2013/02/01. // #include "ofxPostGlitch.h" void ofxPostGlitch::setup(ofFbo *buffer_){ targetBuffer = buffer_; buffer_size.set(buffer_->getWidth(), buffer_->getHeight()); ShadingBuffer.allocate(buffer_size.x,buffer_size.y); } void ofxPostGlitch::setFbo(ofFb...
27.865854
65
0.688403
TatsuyaOGth
0fe89ad453ec79a9309cf3d5225a9e1be5285b7b
1,031
cpp
C++
src/parser/tableref/crossproductref.cpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
null
null
null
src/parser/tableref/crossproductref.cpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
null
null
null
src/parser/tableref/crossproductref.cpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
null
null
null
#include "duckdb/parser/tableref/crossproductref.hpp" #include "duckdb/common/serializer.hpp" namespace duckdb { bool CrossProductRef::Equals(const TableRef *other_) const { if (!TableRef::Equals(other_)) { return false; } auto other = (CrossProductRef *)other_; return left->Equals(other->left.get()) && right-...
23.431818
77
0.724539
ankane
0fea668b97fe0c5de44482de956a2c79a9196fa0
34,122
cpp
C++
src/armnn/layers/LstmLayer.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
856
2018-03-09T17:26:23.000Z
2022-03-24T21:31:33.000Z
src/armnn/layers/LstmLayer.cpp
tuanhe/armnn
8a4bd6671d0106dfb788b8c9019f2f9646770f8d
[ "MIT" ]
623
2018-03-13T04:40:42.000Z
2022-03-31T09:45:17.000Z
src/armnn/layers/LstmLayer.cpp
tuanhe/armnn
8a4bd6671d0106dfb788b8c9019f2f9646770f8d
[ "MIT" ]
284
2018-03-09T23:05:28.000Z
2022-03-29T14:42:28.000Z
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "LstmLayer.hpp" #include "LayerCloneBase.hpp" #include <armnn/LstmParams.hpp> #include <armnn/TypesUtils.hpp> #include <backendsCommon/TensorHandle.hpp> #include <backendsCommon/WorkloadFactory.hpp> name...
49.452174
116
0.718012
tkdhmin
0feb411a7f2d4d6cffe0376b237851fdbad18f4a
409
cpp
C++
camps/summer_school_Vinnytsia_2016/H/H.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
camps/summer_school_Vinnytsia_2016/H/H.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
camps/summer_school_Vinnytsia_2016/H/H.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { ios::sync_with_stdio(false); long long n, m, t, k; long long tmp; cin >> n >> m >> t >> k; double area = m + (t+n)/2.0 - 1; long long fillingSpeed = m-3*t; cout.precision(15); if(k == 0) cout << fixed << 0; else if(filling...
14.607143
40
0.540342
mstrechen
0fed7b00aef14ef8708bdd83e27ac887db764eec
2,911
cpp
C++
unidata/gencrng.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
63
2016-06-02T13:38:18.000Z
2021-07-22T02:37:52.000Z
unidata/gencrng.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
30
2016-05-07T23:41:59.000Z
2021-03-01T00:36:41.000Z
unidata/gencrng.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
8
2016-08-25T18:42:21.000Z
2019-08-20T20:12:55.000Z
/* Generate character ranges for a char-set gencrng <file> <name> <letter-category> | +<character-code> ... */ #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_FULL_CHARS 3 int ParseFields(char * s, char ** flds) { int nflds = 0; for (;;) { ...
20.215278
95
0.443834
leftmike
0fed8448da51b19ca5d65fa505fa27e2639dc651
303
cpp
C++
c++lab/ooplab/cPLUSplus/palindrome.cpp
akashsharma99/2ndSemkiit
023e03c4bac787455e0b5dacf6c305b25364b95c
[ "MIT" ]
null
null
null
c++lab/ooplab/cPLUSplus/palindrome.cpp
akashsharma99/2ndSemkiit
023e03c4bac787455e0b5dacf6c305b25364b95c
[ "MIT" ]
null
null
null
c++lab/ooplab/cPLUSplus/palindrome.cpp
akashsharma99/2ndSemkiit
023e03c4bac787455e0b5dacf6c305b25364b95c
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int n,copy,rev=0,d; cout<<"Enter a number\n"; cin>>n; copy=n; while(copy!=0) { d=copy%10; rev=rev*10+d; copy=copy/10; } if(rev==n) cout<<"The number is palindrome\n"; else cout<<"The number is not a palindrome\n"; return 0; }
13.173913
43
0.617162
akashsharma99
0fef325b692acb99b5541342af9d80c04162784c
422
cpp
C++
2021.11.25-Control Work (retake)/Project-10/main.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
2021.11.25-Control Work (retake)/Project-10/main.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
2021.11.25-Control Work (retake)/Project-10/main.cpp
st091446/programming-Osim-2021-2022
cf03dcbc1732332adab3ff78704fbd6d4b531887
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <windows.h> using namespace std; int main(int argc, char* argv[]) { int a[1000]{0}; int i = 0; int n = 0; int s = 0; cin >> n; for(i = 0; i < n ; i++) cin >> a[i]; s= a[0] + a[n-1] + ((a[1] > a[n-2]) ? a[1] : a[n-2]); for(i = 1;i < n - 1; i++) { if( a[i-1] + a[i...
15.071429
64
0.440758
st091446
0ff035d43c2c59a5239e91703d3c934f76b0c18a
8,933
cpp
C++
src/profiling.cpp
zamaudio/bwa-mem2
39d20ef9d729cdbd39b70b8e07933413037f41cb
[ "MIT" ]
null
null
null
src/profiling.cpp
zamaudio/bwa-mem2
39d20ef9d729cdbd39b70b8e07933413037f41cb
[ "MIT" ]
null
null
null
src/profiling.cpp
zamaudio/bwa-mem2
39d20ef9d729cdbd39b70b8e07933413037f41cb
[ "MIT" ]
null
null
null
/************************************************************************************* The MIT License BWA-MEM2 (Sequence alignment using Burrows-Wheeler Transform), Copyright (C) 2019 Vasimuddin Md, Sanchit Misra, Intel Corporation, Heng Li. Permission is hereby granted, f...
41.165899
109
0.627897
zamaudio
0ff07b863965774b724969b59cde06245a127324
27,736
cpp
C++
verilator-4.016/src/V3EmitV.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3EmitV.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
verilator-4.016/src/V3EmitV.cpp
tcovert2015/fpga_competition
26b7a72959afbf8315eb962ec597ba14b4a73dbd
[ "BSD-3-Clause" ]
null
null
null
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Emit Verilog from tree // // Code available from: http://www.veripool.org/verilator // //************************************************************************* // // Co...
36.591029
129
0.546402
tcovert2015
0ff2c977d08c90d37381b3ce5abb62dab8e2e695
6,409
cpp
C++
Gems/Multiplayer/Code/Tests/RewindableObjectTests.cpp
LB-JakubSkorupka/o3de
e224fc2ee5ec2a12e75a10acae268b7b38ae3a32
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/Multiplayer/Code/Tests/RewindableObjectTests.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/Multiplayer/Code/Tests/RewindableObjectTests.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Multiplayer/IMultiplayer.h> #include <Multiplayer/NetworkTime/RewindableObject.h> #inclu...
38.377246
175
0.645811
LB-JakubSkorupka
0ff2ccf5438b16a4d6219707a8f07cf7b008e2d3
8,617
cc
C++
ash/public/cpp/shelf_prefs.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/public/cpp/shelf_prefs.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/public/cpp/shelf_prefs.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 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 "ash/public/cpp/shelf_prefs.h" #include <memory> #include "ash/public/cpp/ash_pref_names.h" #include "base/strings/string_number_conversions.h"...
38.297778
80
0.714402
zipated
0ff2f19c1a3540c9e686a1ce3051f796f6238fbb
1,664
hpp
C++
include/soralog/util.hpp
igor-egorov/soralog
ac2659044a53fc201c3001914d0d28cbf40e8ee3
[ "Apache-2.0" ]
2
2022-03-12T14:30:07.000Z
2022-03-12T21:16:20.000Z
include/soralog/util.hpp
igor-egorov/soralog
ac2659044a53fc201c3001914d0d28cbf40e8ee3
[ "Apache-2.0" ]
6
2021-03-17T13:24:01.000Z
2022-03-09T12:52:27.000Z
include/soralog/util.hpp
igor-egorov/soralog
ac2659044a53fc201c3001914d0d28cbf40e8ee3
[ "Apache-2.0" ]
4
2021-03-15T09:06:43.000Z
2022-03-12T14:04:42.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef SORALOG_UTIL #define SORALOG_UTIL #include <pthread.h> #include <array> #include <string> namespace soralog::util { inline size_t getThreadNumber() { static std::atomic_size_t tid_counter = 0; stat...
27.733333
115
0.685096
igor-egorov
0ff3d54eafaf549ba7dc2bf437e39042b5069ce7
3,439
cpp
C++
DesktopSharing/codec/avcodec/aac_encoder.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
502
2018-06-12T14:48:54.000Z
2022-03-31T07:33:00.000Z
DesktopSharing/codec/avcodec/aac_encoder.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
37
2018-11-23T20:43:27.000Z
2021-12-24T07:39:17.000Z
DesktopSharing/codec/avcodec/aac_encoder.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
198
2018-06-13T13:19:05.000Z
2022-03-30T07:32:20.000Z
#include "aac_encoder.h" #include "av_common.h" using namespace ffmpeg; AACEncoder::AACEncoder() { } AACEncoder::~AACEncoder() { Destroy(); } bool AACEncoder::Init(AVConfig& audio_config) { if (is_initialized_) { return false; } av_config_ = audio_config; AVCodec *codec = nullptr; ...
24.21831
100
0.697587
JungleZy
0ff56926c5d343910d8cf7eb3ef0522185eb6eac
5,169
cpp
C++
src/core/DataSources.cpp
orion-project/spectrum
f7bf34b3670bc6ae3a3829fb9d2b99a82b705eef
[ "Apache-2.0" ]
4
2018-07-05T07:50:26.000Z
2022-03-21T11:07:02.000Z
src/core/DataSources.cpp
orion-project/spectrum
f7bf34b3670bc6ae3a3829fb9d2b99a82b705eef
[ "Apache-2.0" ]
null
null
null
src/core/DataSources.cpp
orion-project/spectrum
f7bf34b3670bc6ae3a3829fb9d2b99a82b705eef
[ "Apache-2.0" ]
1
2020-01-16T05:11:13.000Z
2020-01-16T05:11:13.000Z
#include "DataSources.h" #include "DataReaders.h" #include "../CustomPrefs.h" #include <QApplication> #include <QClipboard> #include <QFileDialog> #include <QFileInfo> #include <QMimeData> static int __randomSampleIndex = 0; static int __clipboardCallCount = 0; //----------------------------------------------------...
26.372449
117
0.520604
orion-project
0ff7f53e3831445d859a7a41d838170ad075bd43
1,423
cpp
C++
Codeforces/Lyft/Elimination2018/Dfail.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Codeforces/Lyft/Elimination2018/Dfail.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Codeforces/Lyft/Elimination2018/Dfail.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define mt make_tuple #define mp make_pair #define pu push_back #define INF 1000000001 #define MOD 998244353 #define ll long long int #define ld long double #define vi vector<int> #define vll vector<long long int> #define sc(n) scanf("%d",&n); #define scll(n) scanf("%lld",&n); #define scld(n) sc...
17.567901
62
0.510892
Mindjolt2406
0ff9920c44313e9fe0017f591ecaf024ee732689
1,728
cpp
C++
tests/test_162.cpp
AsmaBALAMANE/tiramisu
73f9995f1e77e6adbbadda8f7dca1cb349c73eb1
[ "MIT" ]
null
null
null
tests/test_162.cpp
AsmaBALAMANE/tiramisu
73f9995f1e77e6adbbadda8f7dca1cb349c73eb1
[ "MIT" ]
null
null
null
tests/test_162.cpp
AsmaBALAMANE/tiramisu
73f9995f1e77e6adbbadda8f7dca1cb349c73eb1
[ "MIT" ]
null
null
null
#include <tiramisu/tiramisu.h> #include <tiramisu/block.h> using namespace tiramisu; int main(int argc, char **argv) { tiramisu::init("test_162"); input sizes("sizes", {"s_i"}, {3}, p_int32); input params("params", {"p_i"}, {2}, p_float32); constant M("M", sizes(0)); constant N("N", sizes(1)); ...
35.265306
71
0.609954
AsmaBALAMANE
0ffc47ec3eb761ddc56e90a0e081cef9e7d4bbbe
5,436
tpp
C++
smart_pointers/src/smart_pointers.tpp
Illumaria/made-cpp-2020
d8f082f6847b5809eb48225df7c67217a3690b9a
[ "MIT" ]
null
null
null
smart_pointers/src/smart_pointers.tpp
Illumaria/made-cpp-2020
d8f082f6847b5809eb48225df7c67217a3690b9a
[ "MIT" ]
null
null
null
smart_pointers/src/smart_pointers.tpp
Illumaria/made-cpp-2020
d8f082f6847b5809eb48225df7c67217a3690b9a
[ "MIT" ]
null
null
null
namespace task { template <typename T> UniquePtr<T>::UniquePtr(pointer ptr) noexcept : ptr(ptr) {} template <typename T> UniquePtr<T>::UniquePtr(UniquePtr&& other) noexcept : ptr(other.release()) {} template <typename T> UniquePtr<T>::~UniquePtr() { ptr = pointer(); } template <typename T> typename UniquePtr<T>::...
24.053097
78
0.681935
Illumaria
0ffccb84cee922261d598b238eed4224046dfa91
1,606
cpp
C++
archives/codelibraries/CompetitiveProgramming-master/code/strings/aho_corasick.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
549
2015-02-13T00:46:04.000Z
2022-03-10T07:35:32.000Z
archives/codelibraries/CompetitiveProgramming-master/code/strings/aho_corasick.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
6
2016-12-02T10:51:31.000Z
2022-02-22T16:47:42.000Z
archives/codelibraries/CompetitiveProgramming-master/code/strings/aho_corasick.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
143
2015-06-14T17:59:20.000Z
2022-01-07T19:47:49.000Z
struct aho_corasick { struct out_node { string keyword; out_node *next; out_node(string k, out_node *n) : keyword(k), next(n) { } }; struct go_node { map<char, go_node*> next; out_node *out; go_node *fail; go_node() { out = NULL; fail = NULL; } }; go_node *go; aho_corasick(vector<strin...
32.12
58
0.494396
cbarnson
0fff019a57baaedea381e5287555536b6ff2cf07
5,518
cc
C++
components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.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 "components/proximity_auth/cryptauth/cryptauth_api_call_flow.h" #include <memory> #include "base/macros.h" #include "base/test/test_simple_task...
35.831169
80
0.749728
xzhan96
ba000edeb1698bfa926a1a969170d966c0d66e77
880
cpp
C++
src/cpu/arch/cannon_lake_256.cpp
rigred/peakperf
4055b0a39fa906a7f1658eb530669ce95073e32b
[ "MIT" ]
32
2021-01-09T19:27:01.000Z
2022-02-26T10:06:59.000Z
src/cpu/arch/cannon_lake_256.cpp
rigred/peakperf
4055b0a39fa906a7f1658eb530669ce95073e32b
[ "MIT" ]
11
2021-01-01T22:17:15.000Z
2022-03-14T05:44:59.000Z
src/cpu/arch/cannon_lake_256.cpp
rigred/peakperf
4055b0a39fa906a7f1658eb530669ce95073e32b
[ "MIT" ]
3
2021-04-10T20:47:32.000Z
2021-11-12T14:24:17.000Z
#include "cannon_lake_256.hpp" #define OP_PER_IT B_256_10_OP_IT TYPE farr_cannon_lake_256[MAX_NUMBER_THREADS][SIZE] __attribute__((aligned(64))); void compute_cannon_lake_256(TYPE *farr, TYPE mult, int index) { farr = farr_cannon_lake_256[index]; for(long i=0; i < BENCHMARK_CPU_ITERS; i++) { farr[0] = _...
40
83
0.667045
rigred
ba00a162dcd401154481a7961c2bf82d20433d69
2,537
cpp
C++
src/xns/PEX.cpp
yokwe/mesa-emulator-unix
51f143647563f5b29774031e94e1bebc8fae4ef6
[ "BSD-3-Clause" ]
2
2021-08-31T05:05:21.000Z
2022-01-17T04:56:54.000Z
src/xns/PEX.cpp
yokwe/mesa-emulator-unix
51f143647563f5b29774031e94e1bebc8fae4ef6
[ "BSD-3-Clause" ]
1
2021-09-07T14:13:23.000Z
2021-09-07T18:25:46.000Z
src/xns/PEX.cpp
yokwe/mesa-emulator-unix
51f143647563f5b29774031e94e1bebc8fae4ef6
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2021, Yasuhiro Hasegawa * 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. Redistributio...
35.732394
115
0.67836
yokwe
ba00d890192d0de2091766804ae39f7e1f908e89
4,955
cpp
C++
LyssasOdyssey/Source/LissasOdyssey/Minimap/Minimap.cpp
nsobczak/Lyssa-s-Odyssey
f27260f878152b0e79a029e4846aef5d1bf01344
[ "Apache-2.0" ]
1
2019-05-17T10:09:10.000Z
2019-05-17T10:09:10.000Z
LyssasOdyssey/Source/LissasOdyssey/Minimap/Minimap.cpp
nsobczak/Lyssa-s-Odyssey
f27260f878152b0e79a029e4846aef5d1bf01344
[ "Apache-2.0" ]
25
2018-07-21T11:18:01.000Z
2020-01-08T17:23:14.000Z
LyssasOdyssey/Source/LissasOdyssey/Minimap/Minimap.cpp
nsobczak/Lyssa-s-Odyssey
f27260f878152b0e79a029e4846aef5d1bf01344
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Minimap.h" #include "Minimap/MinimapCorner.h" #include "UMG/Public/UMG.h" #include "Engine/Classes/Kismet/GameplayStatics.h" #include "GameModes/LevelGameMode.h" #include "Characters/Lyssa/Lyssa.h" UMinimap::UMinimap(const FObje...
31.56051
126
0.713421
nsobczak
ba02db6b9631d7aebfa27a2e3d82ca9b3a3db9e0
6,275
cpp
C++
mplapack/reference/Rlasd8.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
26
2019-03-20T04:06:03.000Z
2022-03-02T10:21:01.000Z
mplapack/reference/Rlasd8.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-04T03:32:41.000Z
2021-12-01T07:47:25.000Z
mplapack/reference/Rlasd8.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-09T17:50:26.000Z
2022-03-10T19:46:20.000Z
/* * Copyright (c) 2008-2021 * Nakata, Maho * 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 code must retain the above copyright * notice, th...
36.063218
177
0.523984
Ndersam
ba034ed818d51f666c8cd2793d9d4adfac44a858
31,221
cpp
C++
src/Gtp.cpp
awesome-archive/Ray
e5b2cadd7baf43630da7b860eb1812705323624a
[ "BSD-2-Clause" ]
null
null
null
src/Gtp.cpp
awesome-archive/Ray
e5b2cadd7baf43630da7b860eb1812705323624a
[ "BSD-2-Clause" ]
null
null
null
src/Gtp.cpp
awesome-archive/Ray
e5b2cadd7baf43630da7b860eb1812705323624a
[ "BSD-2-Clause" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <cctype> #include <iostream> #include <memory> #include <fstream> #include <vector> #include <random> #include <sstream> #include <iomanip> #include "DynamicKomi.h" #include "Gtp.h" #include "GoBoard.h" #include "Nakade.h...
23.688164
120
0.557317
awesome-archive
ba03876c00f89e0d4fdad16f73d7db7b5424e0a2
2,305
cpp
C++
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Number.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
192
2016-03-23T04:33:24.000Z
2022-03-28T14:41:06.000Z
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Number.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
9
2017-03-08T14:45:16.000Z
2021-09-06T09:28:47.000Z
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Number.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
56
2016-03-22T20:37:08.000Z
2022-03-28T12:20:47.000Z
#include "System.Private.CoreLib.h" namespace CoreLib { namespace System { namespace _ = ::CoreLib::System; // Method : System.Number.FormatDecimal(decimal, string, System.Globalization.NumberFormatInfo) string* Number::FormatDecimal(_::Decimal value, string* format, _::Globalization::NumberFormatInfo* in...
36.015625
109
0.696746
Vinay1705
ba04c4a79233164bab91b64f55e81d576f931f52
2,813
cpp
C++
ChannelConneciton/Channel.cpp
qhtLucifer/GaiaConnections
ff4539e05652a815cb19fa2d2da1fa87f76405e5
[ "MIT" ]
1
2021-12-16T08:14:31.000Z
2021-12-16T08:14:31.000Z
ChannelConneciton/Channel.cpp
qhtLucifer/GaiaConnections
ff4539e05652a815cb19fa2d2da1fa87f76405e5
[ "MIT" ]
null
null
null
ChannelConneciton/Channel.cpp
qhtLucifer/GaiaConnections
ff4539e05652a815cb19fa2d2da1fa87f76405e5
[ "MIT" ]
null
null
null
#include "Channel.hpp" namespace Gaia::Connections::ChannelConnection{ Channel::Channel(): Socket(Context) { } Channel::Channel(const EndPoint& endPoint): Socket(Context) { Socket.connect(endPoint, error_code); if(!error_code) { Connected = true; } ...
23.247934
128
0.563811
qhtLucifer
6130faf33ebf6dfe04b046cf55020335d1704396
9,801
hpp
C++
source/timemory/components/properties.hpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
284
2019-08-06T17:41:39.000Z
2022-03-25T23:37:47.000Z
source/timemory/components/properties.hpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
123
2019-08-06T03:09:54.000Z
2022-02-26T01:51:36.000Z
source/timemory/components/properties.hpp
tkonolige/timemory
1662925a3a7b6dfb1b7bba08ebd366d3fe38194a
[ "MIT" ]
26
2019-12-06T22:21:09.000Z
2022-03-23T09:34:29.000Z
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
34.755319
90
0.596572
tkonolige
61311b0489e52af79340e20195fae5dee0af2c9b
1,285
cpp
C++
isr.cpp
Risca/biffboot
63df31c91fcae7a00b5245e357acee89bb3be46b
[ "Unlicense" ]
null
null
null
isr.cpp
Risca/biffboot
63df31c91fcae7a00b5245e357acee89bb3be46b
[ "Unlicense" ]
1
2021-11-22T22:57:18.000Z
2021-12-14T12:39:21.000Z
isr.cpp
Risca/biffboot
63df31c91fcae7a00b5245e357acee89bb3be46b
[ "Unlicense" ]
1
2021-11-28T00:24:51.000Z
2021-11-28T00:24:51.000Z
#include "io.h" #include "isr.h" #include "iolib.h" #include <stdio.h> #include "idt.h" isr_t interrupt_handlers[256]; void register_interrupt_handler(u8 n, isr_t handler) { interrupt_handlers[n] = handler; } // This gets called from our ASM interrupt handler stub. extern "C" void isr_handler(registers_t regs)...
23.363636
69
0.642023
Risca