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
3a666ae84aab7a31cde136ba2b10e74a70ec0aa5
739
cpp
C++
AcCoRD2/src/passive_actor_no_shape.cpp
Jackrekirby/AcCoRD2
d712b3f7e73f32dc1894fcb79bec4510a13a9dce
[ "MIT" ]
null
null
null
AcCoRD2/src/passive_actor_no_shape.cpp
Jackrekirby/AcCoRD2
d712b3f7e73f32dc1894fcb79bec4510a13a9dce
[ "MIT" ]
null
null
null
AcCoRD2/src/passive_actor_no_shape.cpp
Jackrekirby/AcCoRD2
d712b3f7e73f32dc1894fcb79bec4510a13a9dce
[ "MIT" ]
null
null
null
// The AcCoRD 2 Simulator (Actor - based Communication via Reaction - Diffusion) // Copyright 2021 Jack Kirby. All rights reserved. // For license details, read LICENSE.txt in the root AcCoRD2 directory #include "pch.h" #include "passive_actor_no_shape.h" namespace accord { PassiveActorNoShape::PassiveActorNoShape(...
21.114286
94
0.752368
Jackrekirby
3a668554f7f9290e5d42bcd53422d131c2c6a034
7,914
cpp
C++
tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp
jpsamaroo/ROCm-OpenCL-Runtime
875c1f8b4741a7285757a9bc7e98405bc202785a
[ "MIT" ]
7
2022-03-23T07:04:20.000Z
2022-03-30T02:44:42.000Z
tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp
jpsamaroo/ROCm-OpenCL-Runtime
875c1f8b4741a7285757a9bc7e98405bc202785a
[ "MIT" ]
null
null
null
tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp
jpsamaroo/ROCm-OpenCL-Runtime
875c1f8b4741a7285757a9bc7e98405bc202785a
[ "MIT" ]
null
null
null
/* Copyright (c) 2010-present Advanced Micro Devices, Inc. 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, modif...
35.330357
116
0.651756
jpsamaroo
3a680558fb9748b2fe804d11555e879f291a5077
3,375
cpp
C++
+sl/+array/+indices/private/mex_ismember_tol.cpp
JimHokanson/matlab_standard_library
b474cce3c70397f9695aa75cd293546734bd39ef
[ "MIT" ]
4
2015-07-08T21:53:37.000Z
2020-04-08T18:15:06.000Z
+sl/+array/+indices/private/mex_ismember_tol.cpp
JimHokanson/matlab_standard_library
b474cce3c70397f9695aa75cd293546734bd39ef
[ "MIT" ]
41
2015-02-19T12:45:57.000Z
2020-03-29T18:29:49.000Z
+sl/+array/+indices/private/mex_ismember_tol.cpp
JimHokanson/matlab_standard_library
b474cce3c70397f9695aa75cd293546734bd39ef
[ "MIT" ]
5
2015-03-27T00:47:39.000Z
2020-06-08T03:29:36.000Z
#include "mex.h" #include "matrix.h" #include <algorithm> #include <cmath> #include "MexSupport.h" #include "MexAlgorithmSupport.h" #include "MexDataTypes.h" using namespace std; using namespace MexSupport; void print_usage(); void mexFunction(int nlhs, mxArray** plhs, int nrhs, const mxArray * prhs[]...
29.347826
79
0.507556
JimHokanson
3a684add91064043be77fbb66b750ef9133e14ea
684
hpp
C++
include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/audio/DialogLineEventData.hpp> #include <RED4ext/Types/generated/red/Event.hpp> namespace RED4ext { namespace game::audio::events { ...
27.36
68
0.758772
Cyberpunk-Extended-Development-Team
3a684cf410d0fa60ad419b4ab18c665bb8548bdc
3,428
cpp
C++
SVIEngine/jni/SVI/Animation/Transition/SVISlideEffector.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Animation/Transition/SVISlideEffector.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Animation/Transition/SVISlideEffector.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "SVISlideEffector.h" #include "SVITransitionEffector.h" #include "../SVIKeyFrameAnimation.h" namespace SVI{ static const SVIBool DEBUG = SVIFALSE; SVISlideEffector::SVISlideEffector(SVIGLSurface *surface): SVITransitionEffector(surface), slideWidth(0), slideHeight(0){ } void SVISlideEffector::setAn...
35.708333
111
0.779463
Samsung
3a6975611d34e5d11be9d96d1bc5c5b6dd7718d1
22,533
cpp
C++
Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "PlayerCharacter.h" #include "Camera/CameraComponent.h" #include "Components/CapsuleComponent.h" #include "Components/InputComponent.h" #include "Components/StaticMeshComponent.h" #include "Components/SkeletalMeshComponent.h" #incl...
31.33936
180
0.783695
Enderderder
3a6e88550fd003de6bea000f87299ed1695604ad
3,837
cpp
C++
src/SUAPI-CppWrapper/model/Opening.cpp
TommyKaneko/Sketchup-API-C-Wrapper
8210ce29aa93a7375ae520d271305987e4269ec6
[ "MIT" ]
20
2017-04-05T07:29:44.000Z
2022-01-10T18:41:42.000Z
src/SUAPI-CppWrapper/model/Opening.cpp
TommyKaneko/Sketchup-API-C-Wrapper
8210ce29aa93a7375ae520d271305987e4269ec6
[ "MIT" ]
42
2017-05-21T07:47:14.000Z
2019-10-31T16:19:00.000Z
src/SUAPI-CppWrapper/model/Opening.cpp
TommyKaneko/Sketchup-API-C-Wrapper
8210ce29aa93a7375ae520d271305987e4269ec6
[ "MIT" ]
9
2017-04-20T13:03:13.000Z
2022-02-08T23:53:36.000Z
// // Opening.cpp // // Sketchup C++ Wrapper for C API // MIT License // // Copyright (c) 2017 Tom Kaneko // // 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...
30.212598
133
0.69325
TommyKaneko
3a7510edc6c733b143b5ffd248c2ef231b464bc1
1,150
cpp
C++
src/NPC.cpp
CS126SP20/final-project-tessarm2
e4134d69207d610b0dc2464d8bed67908186fbee
[ "MIT" ]
null
null
null
src/NPC.cpp
CS126SP20/final-project-tessarm2
e4134d69207d610b0dc2464d8bed67908186fbee
[ "MIT" ]
null
null
null
src/NPC.cpp
CS126SP20/final-project-tessarm2
e4134d69207d610b0dc2464d8bed67908186fbee
[ "MIT" ]
null
null
null
// // Created by tessa on 4/21/2020. // #include "mylibrary/NPC.h" #include <cinder/gl/gl.h> namespace myLibrary { void NPC::draw() { ci::gl::pushModelMatrix(); ci::gl::translate(location); sprite->draw(); ci::gl::popModelMatrix(); } void NPC::setHealth(int setHealth) { health = setHealth;...
17.692308
63
0.613043
CS126SP20
b91c20feb67fe26d655677887255b040b67eb42f
7,153
cpp
C++
IPlug/AAX/IPlugAAX_Parameters.cpp
onqel/iPlug2
d6d4c45935119fe87bf9049861a2e004df605b80
[ "Zlib" ]
1
2019-06-09T19:16:53.000Z
2019-06-09T19:16:53.000Z
IPlug/AAX/IPlugAAX_Parameters.cpp
onqel/iPlug2
d6d4c45935119fe87bf9049861a2e004df605b80
[ "Zlib" ]
null
null
null
IPlug/AAX/IPlugAAX_Parameters.cpp
onqel/iPlug2
d6d4c45935119fe87bf9049861a2e004df605b80
[ "Zlib" ]
null
null
null
/* ============================================================================== This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers. See LICENSE.txt for more info. ============================================================================== */ #include "IPlugAAX_Parameters.h"...
51.833333
172
0.744303
onqel
b91d3b952c13286fdf7737c47a19722cd3c6d563
1,206
cpp
C++
Framework/Graphics/Src/GeometryShader.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
3
2020-07-23T02:50:11.000Z
2020-10-20T14:49:40.000Z
Framework/Graphics/Src/GeometryShader.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
null
null
null
Framework/Graphics/Src/GeometryShader.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "GeometryShader.h" #include "D3DUtil.h" using namespace Coo::Graphics; void Coo::Graphics::GeometryShader::Initialize(const wchar_t * filename) { auto device = GetDevice(); ID3DBlob* shaderBlob = nullptr; ID3DBlob* errorBlob = nullptr; HRESULT hr; // Compile geometry...
24.612245
116
0.703151
amyrhzhao
b91e293dc11f798ed05f628d699a58686c0c5807
3,445
cc
C++
src/developer/forensics/feedback/tests/feedback_data_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2022-02-24T16:24:29.000Z
2022-02-25T22:33:10.000Z
src/developer/forensics/feedback/tests/feedback_data_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
src/developer/forensics/feedback/tests/feedback_data_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/forensics/feedback/feedback_data.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "src/developer/forensics/feedback/...
39.597701
97
0.626125
allansrc
b92083dd0456308ae352037403b6686e72c57331
267
cpp
C++
codewars/cpp/6kyu/Sum The Tree.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
2
2019-01-27T14:16:09.000Z
2019-05-25T10:05:24.000Z
codewars/cpp/6kyu/Sum The Tree.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
null
null
null
codewars/cpp/6kyu/Sum The Tree.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
1
2020-11-05T05:17:28.000Z
2020-11-05T05:17:28.000Z
/* Q-URL: https://www.codewars.com/kata/sum-the-tree/cpp */ // Return the sum of all values in the tree, including the root int sumTheTreeValues(node* root) { return root != nullptr ? root->value + sumTheTreeValues(root->left) + sumTheTreeValues(root->right): 0; }
33.375
105
0.715356
MU001999
b920c12a9a2d0fc0ffaf3022452d04e6e7125229
207
cpp
C++
Kattis/howl.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
14
2019-08-14T00:43:10.000Z
2021-12-16T05:43:31.000Z
Kattis/howl.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
null
null
null
Kattis/howl.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
6
2020-12-30T03:30:17.000Z
2022-03-11T03:40:02.000Z
#include <bits/stdc++.h> #define endl "\n" #define eat cin #define moo cout using namespace std; int32_t main(){ eat.tie(0) -> sync_with_stdio(0); string s; cin >> s; moo << s + 'O' << endl; }
15.923077
37
0.594203
eyangch
b924021cccabda765fe55abce0072e2e9ac0aae2
1,817
hpp
C++
libs/messenger/include/messenger/mailbox_interface.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/messenger/include/messenger/mailbox_interface.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/messenger/include/messenger/mailbox_interface.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 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 Licen...
37.081633
88
0.604843
chr15murray
b92608ed781f6aa0a90b432f2396ab872f066b85
10,887
cpp
C++
dev/Gems/GameLift/Code/Source/Session/GameLiftClientService.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/GameLift/Code/Source/Session/GameLiftClientService.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/GameLift/Code/Source/Session/GameLiftClientService.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
31.556522
214
0.619179
jeikabu
b92645b69440ca0d97d5c599df2b0770a32f1527
4,960
cpp
C++
na/na04.cpp
tao-j/hw
f6723e703a950c2a8e930938d133a69fa816d72d
[ "Apache-2.0" ]
null
null
null
na/na04.cpp
tao-j/hw
f6723e703a950c2a8e930938d133a69fa816d72d
[ "Apache-2.0" ]
null
null
null
na/na04.cpp
tao-j/hw
f6723e703a950c2a8e930938d133a69fa816d72d
[ "Apache-2.0" ]
1
2015-01-08T00:23:02.000Z
2015-01-08T00:23:02.000Z
#include <stdio.h> #include <math.h> #define MAX_SIZE 100 #define bound pow(2.0, 127) #define ZERO 0.000000001 /* X is considered to be 0 if |X|<ZERO */ #define dbg1 int Jacobi(int n, double a[][MAX_SIZE], double b[], double x[], double TOL, int MAXN); int Gauss_Seidel(int n, double a[][MAX_SIZE], double b[], double...
23.396226
78
0.520161
tao-j
b9274287ecc567e0dfc6173ba8ed023f93b4592c
7,143
cpp
C++
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/007-integer.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/007-integer.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/007-integer.cpp
dengking/python-in-action
82587961a9f12be09e60d20e11ccbee5bb0aa027
[ "Apache-2.0" ]
null
null
null
#include <tpf_output.hpp> #include <tpf_safe_type.hpp> #include <numeric> tpf::sstream stream; auto nl = tpf::nl; auto endl = tpf::endl; namespace types = tpf::types; namespace safe = tpf::safe_type; void display_integral_types() { // this function displays integral type information safe::integral_type_info...
27.473077
100
0.563349
dengking
b9277633998eb319a2f7371251524db62119a493
1,352
cpp
C++
src/toolchain/core/CodeDom/UnaryExpression.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
null
null
null
src/toolchain/core/CodeDom/UnaryExpression.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
null
null
null
src/toolchain/core/CodeDom/UnaryExpression.cpp
layerzero/cc0
fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09
[ "BSD-2-Clause" ]
2
2015-03-03T04:36:51.000Z
2018-10-01T03:04:11.000Z
#include "UnaryExpression.h" #include <stdlib.h> #include "ExpressionVisitor.h" #include <core/Type/PointerType.h> #include <core/Type/BooleanType.h> UnaryExpression::UnaryExpression(): Expression(Expression::Nop), Operand(NULL) { } UnaryExpression::UnaryExpression(Expression::ExpressionAction nodeType, Expression* ...
21.125
92
0.636834
layerzero
b92783d1844b00bdd614ace514c53fc4bde37540
3,283
hh
C++
include/seastar/util/file.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
4
2019-09-28T07:44:52.000Z
2020-12-12T01:44:15.000Z
include/seastar/util/file.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
11
2018-12-21T16:12:40.000Z
2021-01-04T07:35:10.000Z
include/seastar/util/file.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
10
2018-09-12T06:01:08.000Z
2021-06-08T09:57:48.000Z
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
33.845361
159
0.707889
bigo-sg
b928324f3598ddb4617a1deeb8826360c65a4205
9,701
cpp
C++
3rdparty/webkit/Tools/TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Tools/TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Tools/TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2016 Igalia S.L. * Copyright (C) 2017 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * ...
51.877005
143
0.736316
mchiasson
b92cb27346af5460a72add726852bf1d134198e2
4,830
hpp
C++
include/libpmemobj++/detail/compound_pool_ptr.hpp
B-sudo/Clevel-Hashing
47c095ccc875f6ac89a26e07e5d2bf8231cd08b8
[ "BSD-3-Clause" ]
35
2020-06-11T09:27:10.000Z
2022-03-26T14:42:32.000Z
include/libpmemobj++/detail/compound_pool_ptr.hpp
ZhiHaoi/Nam_Hashing
bd12ad16300acb95e4f4be519a03c5e91d67c4af
[ "BSD-3-Clause" ]
2
2021-02-07T18:26:35.000Z
2022-02-28T04:00:05.000Z
include/libpmemobj++/detail/compound_pool_ptr.hpp
ZhiHaoi/Nam_Hashing
bd12ad16300acb95e4f4be519a03c5e91d67c4af
[ "BSD-3-Clause" ]
11
2020-07-21T06:27:46.000Z
2022-03-26T14:42:40.000Z
#ifndef LIBPMEMOBJ_CPP_COMPOUND_POOL_PTR_HPP #define LIBPMEMOBJ_CPP_COMPOUND_POOL_PTR_HPP namespace pmem { namespace detail { /** * Similar to the "persistent_pool_ptr" except for two differences: * (1) no transactions * (2) "off" encodes "partial", "address", and "marker" info */ template <typename T> class com...
17.436823
68
0.678054
B-sudo
b930adb8549ce7431936f6ba748d44930b333497
3,063
cpp
C++
Project-7/C/Pr15-6.cpp
lele0108/adv-c
f6c6bd36cc5a4489023ad782a1c1ac0a943d5543
[ "MIT" ]
null
null
null
Project-7/C/Pr15-6.cpp
lele0108/adv-c
f6c6bd36cc5a4489023ad782a1c1ac0a943d5543
[ "MIT" ]
null
null
null
Project-7/C/Pr15-6.cpp
lele0108/adv-c
f6c6bd36cc5a4489023ad782a1c1ac0a943d5543
[ "MIT" ]
null
null
null
// Jimmy Liu // Project 7 // December 4 2015 (Extension Requested) // XCode 7.0 // This program demonstrates the Car, Truck, and SUV // classes that are derived from the Automobile class. #include <iostream> #include <string> #include <algorithm> #include <iomanip> #include <fstream> #include <sstream> #i...
28.896226
118
0.567091
lele0108
b932f1fa2fca0432ca2bb917b36d10f23a170133
19,319
cpp
C++
src/dispatcher.cpp
chardin-cpi/simppl
e0a7e13519e5a7703c12b0dcb6f0120b66be38a0
[ "MIT" ]
null
null
null
src/dispatcher.cpp
chardin-cpi/simppl
e0a7e13519e5a7703c12b0dcb6f0120b66be38a0
[ "MIT" ]
null
null
null
src/dispatcher.cpp
chardin-cpi/simppl
e0a7e13519e5a7703c12b0dcb6f0120b66be38a0
[ "MIT" ]
null
null
null
#include "simppl/dispatcher.h" #include <sys/timerfd.h> #include <sys/poll.h> #include <unistd.h> #include <iostream> #include <map> #include <set> #include <atomic> #include "simppl/detail/util.h" #include "simppl/timeout.h" #include "simppl/skeletonbase.h" #include "simppl/string.h" #include "simppl/vector.h" #d...
24.547649
170
0.587246
chardin-cpi
b9342a02d69d4e628dfcc9a588afe0b806aa350f
1,747
cpp
C++
Classes/Fish.cpp
8410/FishingJoy
65978f6d492046de7229273f584037e2000e3c40
[ "MIT" ]
null
null
null
Classes/Fish.cpp
8410/FishingJoy
65978f6d492046de7229273f584037e2000e3c40
[ "MIT" ]
null
null
null
Classes/Fish.cpp
8410/FishingJoy
65978f6d492046de7229273f584037e2000e3c40
[ "MIT" ]
null
null
null
#include "Fish.h" Fish::Fish(void) { } Fish::~Fish(void) { } Fish* Fish::create(FishType type/* = k_Fish_Type_SmallFish */) { Fish* fish = new Fish; if (fish && fish->init(type)) { fish->autorelease(); return fish; } else { CC_SAFE_DELETE(fish); return NULL; } } bool Fish::init(FishType type /* = k_F...
21.048193
114
0.69834
8410
b93676a0e2bf8247004ae4b0185a980ce00299d8
2,077
hpp
C++
src/lib/meecan_lib.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
src/lib/meecan_lib.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
src/lib/meecan_lib.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
// // Created by alexweiss on 8/9/19. // #ifndef INC_7405M_CODE_SRC_LIB_MEECAN_LIB_HPP_ #define INC_7405M_CODE_SRC_LIB_MEECAN_LIB_HPP_ #include "geometry/Displacement1d.hpp" #include "geometry/Pose2d.hpp" #include "geometry/Pose2dWithCurvature.hpp" #include "geometry/Rotation2d.hpp" #include "geometry/Translation2d.h...
33.5
68
0.82571
roboFiddle
b939c0a872c105c9167d83d4b6d75df1f4ec7f47
3,599
cc
C++
test/test-aborts.cc
derp-caf/external_vixl
68cac5de24b7fd85739a66e3d285d5aac6a82e6a
[ "BSD-3-Clause" ]
1
2021-03-07T03:44:40.000Z
2021-03-07T03:44:40.000Z
test/test-aborts.cc
derp-caf/external_vixl
68cac5de24b7fd85739a66e3d285d5aac6a82e6a
[ "BSD-3-Clause" ]
null
null
null
test/test-aborts.cc
derp-caf/external_vixl
68cac5de24b7fd85739a66e3d285d5aac6a82e6a
[ "BSD-3-Clause" ]
6
2019-01-12T23:06:40.000Z
2021-03-24T20:52:55.000Z
// Copyright 2016, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
49.986111
80
0.58294
derp-caf
b94a8cde72f561515c1b1a4cb75731de73badb90
41,424
cpp
C++
src/hsp3dish/win32/hgdx.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
127
2018-02-24T20:41:15.000Z
2022-03-22T05:57:56.000Z
src/hsp3dish/win32/hgdx.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2018-09-11T15:04:22.000Z
2022-02-03T09:30:16.000Z
src/hsp3dish/win32/hgdx.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2019-03-28T07:49:44.000Z
2021-12-25T02:49:07.000Z
// // High performance Graphic Image access (draw main) // onion software/onitama 2011/11 // #include <stdio.h> #include <stdlib.h> #include <math.h> #include "hgdx.h" //#include "hgtex.h" //#include "omkedraw.h" #if defined(HSPWIN) || defined(HSPLINUX) || defined(HSPEMSCRIPTEN) #include "../hsp3/hsp3config.h" #el...
21.102394
111
0.552071
m4saka
b94cc9d19e7e4aa1486aef0e32a0a93ed80f07ae
952
cpp
C++
v_0_2/graph_handlers/graph_depos_handler.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
1
2018-07-03T21:17:29.000Z
2018-07-03T21:17:29.000Z
v_0_2/graph_handlers/graph_depos_handler.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
null
null
null
v_0_2/graph_handlers/graph_depos_handler.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
2
2018-07-03T21:17:31.000Z
2018-07-06T15:55:21.000Z
#ifndef GRAPH_DEPOS_HANDLER_CPP #define GRAPH_DEPOS_HANDLER_CPP #include <bits/stdc++.h> #include "../util_functions/util_functions.hpp" #include "../graph_handlers/graph_points_handler.cpp" void add_depo_to_graph( std::map<std::pair<double, double>, std::map<std::pair<double, double>, double> > * map_graph_pointe...
34
122
0.719538
TimoLoomets
b9504bbad656ee20f6d4e7033663a7e04b9543e2
1,596
hpp
C++
Viewer/libViewer/src/IconProvider.hpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
Viewer/libViewer/src/IconProvider.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
Viewer/libViewer/src/IconProvider.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
//============================================================================ // Copyright 2009-2020 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privil...
22.478873
79
0.669173
ecmwf
b953e8a4a78ff0216c8f6cd7d380a3bd9439af18
327
cpp
C++
ProjectClasses/Utility.cpp
arnelimperial/rigid-c-
f9c903635d856fadef62ef8314b29b08a656bf82
[ "Zlib" ]
null
null
null
ProjectClasses/Utility.cpp
arnelimperial/rigid-c-
f9c903635d856fadef62ef8314b29b08a656bf82
[ "Zlib" ]
null
null
null
ProjectClasses/Utility.cpp
arnelimperial/rigid-c-
f9c903635d856fadef62ef8314b29b08a656bf82
[ "Zlib" ]
null
null
null
//For Function definition #include "Utility.h" Utility::Utility(){ cout << "Object is created!!" << endl; } Utility::Utility(string a){ // a = "HELLO C++"; txt1 = a; } Utility:: Utility(int c){ num = c; } string Utility::display(){ return txt1; } int Utility::operate(){ return num * 1...
10.21875
42
0.571865
arnelimperial
b9541c2001ed8d14118763c9fbf82f54270d14a9
3,196
cpp
C++
src/transforms/pass.cpp
annosoo/nncase
898bd4075a0f246bca7b62a912051af3d890aff4
[ "Apache-2.0" ]
1
2021-07-29T11:50:27.000Z
2021-07-29T11:50:27.000Z
src/transforms/pass.cpp
annosoo/nncase
898bd4075a0f246bca7b62a912051af3d890aff4
[ "Apache-2.0" ]
3
2021-05-27T06:08:30.000Z
2021-06-02T10:39:35.000Z
src/transforms/pass.cpp
annosoo/nncase
898bd4075a0f246bca7b62a912051af3d890aff4
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019-2021 Canaan 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 t...
25.774194
92
0.653004
annosoo
b95669f9f67839b1d23b8a5e13d7581d8c342842
4,710
cpp
C++
tests/iterator_types.cpp
keipertk/Utilities
5b0ab5e20f374bc7f790523a8548fdcfddcfa311
[ "Apache-2.0" ]
1
2019-09-29T16:52:01.000Z
2019-09-29T16:52:01.000Z
tests/iterator_types.cpp
keipertk/Utilities
5b0ab5e20f374bc7f790523a8548fdcfddcfa311
[ "Apache-2.0" ]
null
null
null
tests/iterator_types.cpp
keipertk/Utilities
5b0ab5e20f374bc7f790523a8548fdcfddcfa311
[ "Apache-2.0" ]
null
null
null
#include <utilities/type_traits/iterator_types.hpp> #include <utilities/type_traits/type_traits_extensions.hpp> #include <catch2/catch.hpp> using namespace utilities; using namespace detail_; struct Iterator : public InputIteratorBase<Iterator, int> { int value_ = 0; Iterator& increment() { ++value_;...
27.225434
78
0.599151
keipertk
b957323024851bcb87eb7fff929f21549639d604
1,082
cpp
C++
3dEngine/src/api/render/pipeline/PipelineContainer.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
24
2015-10-05T00:13:57.000Z
2020-05-06T20:14:06.000Z
3dEngine/src/api/render/pipeline/PipelineContainer.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
1
2019-11-01T08:00:55.000Z
2019-11-01T08:00:55.000Z
3dEngine/src/api/render/pipeline/PipelineContainer.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
10
2015-11-25T07:33:13.000Z
2020-03-02T08:21:10.000Z
#include <api/render/pipeline/PipelineContainer.h> namespace urchin { PipelineContainer::~PipelineContainer() { cleanPipelines(); for (const auto& [pipelineId, pipeline] : pipelines) { Logger::instance().logError("Pipeline not released: " + pipeline->getName()); } } st...
32.787879
94
0.627542
petitg1987
b957edcd55432965eaf2be1559dfefc186f49cd6
3,106
cpp
C++
src/common/log.cpp
ivanmurashko/kalinka
58a3f774c414dfc408aa06f560dde455c2271c6b
[ "MIT" ]
null
null
null
src/common/log.cpp
ivanmurashko/kalinka
58a3f774c414dfc408aa06f560dde455c2271c6b
[ "MIT" ]
null
null
null
src/common/log.cpp
ivanmurashko/kalinka
58a3f774c414dfc408aa06f560dde455c2271c6b
[ "MIT" ]
null
null
null
/** @file log.cpp @brief This file is part of Kalinka mediaserver. @author ipp <ivan.murashko@gmail.com> Copyright (c) 2007-2012 Kalinka Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
27.245614
74
0.689311
ivanmurashko
b9580795fefc92426af2f47bb1f44e56aac19058
4,928
hpp
C++
include/lbann/data_readers/image_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/data_readers/image_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/data_readers/image_utils.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
56.643678
191
0.705763
andy-yoo
b9594ed79027d67c4be534e9b9a17822352cde7a
301
cc
C++
src/ila/ast/ast.cc
yuex1994/iw_ilang
e31ffdca4e2c6503804e229b54a44211eb214980
[ "MIT" ]
null
null
null
src/ila/ast/ast.cc
yuex1994/iw_ilang
e31ffdca4e2c6503804e229b54a44211eb214980
[ "MIT" ]
null
null
null
src/ila/ast/ast.cc
yuex1994/iw_ilang
e31ffdca4e2c6503804e229b54a44211eb214980
[ "MIT" ]
null
null
null
/// \file /// Source for the class Ast. #include <ilang/ila/ast/ast.h> namespace ilang { typedef Ast::InstrLvlAbsPtr InstrLvlAbsPtr; Ast::Ast() {} Ast::Ast(const std::string& name) : Object(name) {} Ast::~Ast() {} void Ast::set_host(InstrLvlAbsPtr host) { host_ = host; } } // namespace ilang
15.842105
57
0.664452
yuex1994
b95a8501964dcd8003f24637d53328be6828fe52
1,962
cpp
C++
src/CDiamond/src/CD_Engine2D.cpp
polymergames/jDiamond
60cce36882988d2b02833648cf2ea9988eed85a9
[ "Apache-2.0" ]
4
2017-09-17T17:49:20.000Z
2020-12-12T19:04:25.000Z
src/CDiamond/src/CD_Engine2D.cpp
polymergames/jDiamond
60cce36882988d2b02833648cf2ea9988eed85a9
[ "Apache-2.0" ]
2
2017-01-04T22:18:01.000Z
2017-01-09T15:35:35.000Z
src/CDiamond/src/CD_Engine2D.cpp
polymergames/jdiamond
60cce36882988d2b02833648cf2ea9988eed85a9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Ahnaf Siddiqui Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
25.815789
76
0.637615
polymergames
b95c032cc508215a793dcd47f5d2bb51b4367cbd
2,068
cpp
C++
alice4/fpga/Alice4-DE0-Nano-SoC/sim/fifo_test_main.cpp
lkesteloot/alice
44b85caf744e5830536b5e813e761cc0ce3f695e
[ "Apache-2.0" ]
63
2015-08-14T23:27:39.000Z
2022-03-09T22:46:11.000Z
alice4/fpga/Alice4-DE0-Nano-SoC/sim/fifo_test_main.cpp
lkesteloot/alice
44b85caf744e5830536b5e813e761cc0ce3f695e
[ "Apache-2.0" ]
64
2015-09-11T23:13:03.000Z
2018-10-29T09:38:06.000Z
alice4/fpga/Alice4-DE0-Nano-SoC/sim/fifo_test_main.cpp
lkesteloot/alice
44b85caf744e5830536b5e813e761cc0ce3f695e
[ "Apache-2.0" ]
9
2016-01-06T00:06:33.000Z
2021-12-07T10:38:15.000Z
#include <iostream> #include <fstream> #include "wavedrom.h" #include "VFifo_test.h" #include "VFifo_test_Fifo_test.h" #include "verilated.h" int main(int argc, char **argv, char **env) { Verilated::commandArgs(argc, argv); VFifo_test* top = new VFifo_test; WaveDrom waveDrom; waveDrom.add(WaveDrom...
31.333333
68
0.568182
lkesteloot
b95c095ff26d33c8ad604f907899d47d3ec26ac7
145
hpp
C++
test/input/pass_string_escape.hpp
zero318/json5pp
1f47bf205dffea1e380503032a7f05d8d69cd56b
[ "MIT" ]
15
2019-09-02T03:19:35.000Z
2022-03-08T03:04:24.000Z
test/input/pass_string_escape.hpp
zero318/json5pp
1f47bf205dffea1e380503032a7f05d8d69cd56b
[ "MIT" ]
2
2020-11-09T09:26:33.000Z
2021-01-28T01:52:57.000Z
test/input/pass_string_escape.hpp
zero318/json5pp
1f47bf205dffea1e380503032a7f05d8d69cd56b
[ "MIT" ]
4
2020-07-20T17:25:05.000Z
2021-03-16T05:24:20.000Z
#include "../../json5pp.hpp" static bool verify(const json5pp::value& value) { return value.as_string() == "a\bcde\fg_\"\t\\test\nbar\r/d"; }
20.714286
62
0.648276
zero318
b95c6a4c858afdaf3f80bff5de3cf8fd8aa8de1b
4,956
cc
C++
hoomd/ConstForceCompute.cc
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
hoomd/ConstForceCompute.cc
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
hoomd/ConstForceCompute.cc
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2016 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: joaander #include "ConstForceCompute.h" namespace py = pybind11; using namespace std; /*! \file ConstForceCompute.cc \brief Contains cod...
30.782609
149
0.664851
kmoskovtsev
b95d822abd9882840d9eda3ad899e39985ad0907
110
hpp
C++
src/tp3/Physical.hpp
eytienne/esiee-cpp
29b48d09f5442623698b22b1218df681dbb6add5
[ "MIT" ]
null
null
null
src/tp3/Physical.hpp
eytienne/esiee-cpp
29b48d09f5442623698b22b1218df681dbb6add5
[ "MIT" ]
null
null
null
src/tp3/Physical.hpp
eytienne/esiee-cpp
29b48d09f5442623698b22b1218df681dbb6add5
[ "MIT" ]
null
null
null
#ifndef TP3_PHYSICAL #define TP3_PHYSICAL #include "./Medium.hpp" class Physical : public Medium {}; #endif
13.75
34
0.745455
eytienne
b95dcc65e016052467ade23130ffa8eee57ba9e7
379
hpp
C++
src/armnn/backends/ITensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-03-19T08:44:28.000Z
2019-03-19T08:44:28.000Z
src/armnn/backends/ITensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
null
null
null
src/armnn/backends/ITensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-10-11T05:58:56.000Z
2019-10-11T05:58:56.000Z
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #pragma once namespace armnn { class ITensorHandle { public: enum Type { Cpu, CL, Neon }; virtual ~ITensorHandle(){} virtual void Allocate() = 0; ...
14.576923
69
0.614776
Air000
b960e57f74b3aa9efa573c9669f40154ca4abaac
19,312
cc
C++
Validation/HcalDigis/src/HcalSubdetDigiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Validation/HcalDigis/src/HcalSubdetDigiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Validation/HcalDigis/src/HcalSubdetDigiMonitor.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "Validation/HcalDigis/src/HcalSubdetDigiMonitor.h" #include "DQMServices/Core/interface/DQMStore.h" #include "DQMServices/Core/interface/MonitorElement.h" /*struct HistLim { HistLim(int nbin, float mini, float maxi) : n(nbin), min(mini), max(maxi) {} int n; float min; float max; };*/ HcalSubdetDigi...
46.200957
100
0.706038
pasmuss
b960eb8927fe28ca27d77fa9db9ab9a87566d408
30,811
cpp
C++
tools/analyze_phonons.cpp
wichoi77/alamode
f0b3f4cc9903a807006b8f2d183de77dd461f61c
[ "MIT" ]
1
2021-01-27T19:05:03.000Z
2021-01-27T19:05:03.000Z
tools/analyze_phonons.cpp
wichoi77/alamode
f0b3f4cc9903a807006b8f2d183de77dd461f61c
[ "MIT" ]
null
null
null
tools/analyze_phonons.cpp
wichoi77/alamode
f0b3f4cc9903a807006b8f2d183de77dd461f61c
[ "MIT" ]
1
2021-04-26T14:01:15.000Z
2021-04-26T14:01:15.000Z
/* analyze_phonons.cpp Copyright (c) 2014, 2015, 2016 Terumasa Tadano This file is distributed under the terms of the MIT license. Please see the file 'LICENCE.txt' in the root directory or http://opensource.org/licenses/mit-license.php for information. */ #include <stdlib.h> #include <iostream> #include <fstre...
29.260209
105
0.421343
wichoi77
b9634054319d77fc946cd60813f21161d48c2555
961
cpp
C++
Cpp/misc/2019_09_25/ICPC_D.cpp
MarioJim/CompetitiveProgramming
ade07551e37e32be3f6511bfe68ed633701c3a4d
[ "MIT" ]
1
2019-01-28T15:12:20.000Z
2019-01-28T15:12:20.000Z
Cpp/misc/2019_09_25/ICPC_D.cpp
MarioJim/ClubDeProgra
ade07551e37e32be3f6511bfe68ed633701c3a4d
[ "MIT" ]
null
null
null
Cpp/misc/2019_09_25/ICPC_D.cpp
MarioJim/ClubDeProgra
ade07551e37e32be3f6511bfe68ed633701c3a4d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int N, K, tempInput; cin >> N >> K; vector<pair<int,int>> arr; arr.emplace_back(0,1); for (int i = 1; i < N; ++i) { cin >> tempInput; arr.emplace_back(tempInput - 1, 1); } int result = 0; while (K > ...
24.641026
61
0.448491
MarioJim
b96468872c194cd5ac8a512e0f6ed09360bab5e3
16,752
cpp
C++
src/CommObd2Can.cpp
doudoune144/evDash
a49d349b88c524fcfa01eda9da1505c02a25704f
[ "MIT" ]
42
2020-12-09T13:37:19.000Z
2022-03-12T16:58:48.000Z
src/CommObd2Can.cpp
doudoune144/evDash
a49d349b88c524fcfa01eda9da1505c02a25704f
[ "MIT" ]
21
2020-12-03T10:38:08.000Z
2022-02-10T08:30:46.000Z
src/CommObd2Can.cpp
doudoune144/evDash
a49d349b88c524fcfa01eda9da1505c02a25704f
[ "MIT" ]
28
2020-12-02T07:31:41.000Z
2022-03-23T07:59:26.000Z
#include "CommObd2Can.h" #include "BoardInterface.h" #include "LiveData.h" #include <mcp_can.h> //#include <string.h> /** Connect CAN adapter */ void CommObd2Can::connectDevice() { connectAttempts--; syslog->println("CAN connectDevice"); //CAN = new MCP_CAN(pinCanCs); // todo: remove if smart pointer is ok...
27.689256
170
0.649654
doudoune144
b968037262d4288f93c5df871acaf45d2c1e6ea4
52,545
cpp
C++
src/system/gen/php/classes/exception.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
1
2020-12-02T03:08:16.000Z
2020-12-02T03:08:16.000Z
src/system/gen/php/classes/exception.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
src/system/gen/php/classes/exception.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | +---------...
43.605809
241
0.740851
burhan
b969f74cb241fbf7851922b726c0d4f2edb13b7b
1,160
hpp
C++
test/integration/utils/include/er_network_variant.hpp
anarthal/mysql-asio
13d3615464f41222052d9ad8fa0c86bcdddee537
[ "BSL-1.0" ]
47
2019-10-21T14:54:39.000Z
2020-07-06T19:36:58.000Z
test/integration/utils/include/er_network_variant.hpp
anarthal/mysql-asio
13d3615464f41222052d9ad8fa0c86bcdddee537
[ "BSL-1.0" ]
5
2020-03-05T12:03:02.000Z
2020-07-06T18:18:35.000Z
test/integration/utils/include/er_network_variant.hpp
anarthal/mysql-asio
13d3615464f41222052d9ad8fa0c86bcdddee537
[ "BSL-1.0" ]
4
2020-03-05T11:28:55.000Z
2020-05-20T09:06:21.000Z
// // Copyright (c) 2019-2022 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MYSQL_TEST_INTEGRATION_UTILS_INCLUDE_ER_NETWORK_VARIANT_HPP #de...
28.292683
109
0.763793
anarthal
b96a1a5dea1d370771413cf5cf8620491e037214
365
cpp
C++
Doom/src/Game/Arsenal/Bullet.cpp
gg-mike/PUT-4-GKiW-doom
0c385564810de7df9cd67ac0beb510b25799e4eb
[ "MIT" ]
null
null
null
Doom/src/Game/Arsenal/Bullet.cpp
gg-mike/PUT-4-GKiW-doom
0c385564810de7df9cd67ac0beb510b25799e4eb
[ "MIT" ]
null
null
null
Doom/src/Game/Arsenal/Bullet.cpp
gg-mike/PUT-4-GKiW-doom
0c385564810de7df9cd67ac0beb510b25799e4eb
[ "MIT" ]
null
null
null
#include "pch.h" #include "Bullet.h" #include "../Player.h" Bullet::Bullet(const Transform& transform, const std::string& type) : GameObject(transform, type), rigidbody(RigidBody(glm::vec3(0), glm::vec3(0,0,60))) {} void Bullet::Update(float dt) { transform.Update(rigidbody, dt); } void Bullet::Collision(const Ga...
20.277778
88
0.706849
gg-mike
b96a8a03baa5b1181d894eb996bf1d247b2671ad
9,443
cpp
C++
tools/minicargo/main.cpp
myfreeweb/mrustc
44262d8ce69f28c3b691131c4fb5e8824563053e
[ "MIT" ]
null
null
null
tools/minicargo/main.cpp
myfreeweb/mrustc
44262d8ce69f28c3b691131c4fb5e8824563053e
[ "MIT" ]
null
null
null
tools/minicargo/main.cpp
myfreeweb/mrustc
44262d8ce69f28c3b691131c4fb5e8824563053e
[ "MIT" ]
null
null
null
/* * mrustc "minicargo" (minimal cargo clone) * - By John Hodge (Mutabah) * * main.cpp * - Entrypoint */ #include <iostream> #include <cstring> // strcmp #include <map> #include "debug.h" #include "manifest.h" #include "helpers.h" #include "repository.h" #include "build.h" struct ProgramOptions { // Input (...
32.010169
123
0.463836
myfreeweb
b96b990c820abac70c3b41f78a0adc9e99218745
3,270
hpp
C++
Source/Lightning/LightningAdditions/Project/Lightning/ForwardDeclarations.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
70
2020-10-19T15:17:36.000Z
2022-03-29T06:23:20.000Z
Source/Lightning/LightningAdditions/Project/Lightning/ForwardDeclarations.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
90
2020-10-21T09:56:03.000Z
2022-02-19T18:36:37.000Z
Source/Lightning/LightningAdditions/Project/Lightning/ForwardDeclarations.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
13
2020-12-28T20:18:57.000Z
2022-01-20T08:43:29.000Z
#pragma once #ifndef LIGHTNING_FORWARD_DECLARATIONS_HPP #define LIGHTNING_FORWARD_DECLARATIONS_HPP namespace Lightning { // Template declarations template <typename T> class ArrayClass; template <typename T> class HandleOf; template <typename Type, typename ModePolicy, typename DeletePolicy> class Ref; ...
21.946309
70
0.778287
andraantariksa
b96bac60ea0b236b92cb6f420bad1677bed2796d
1,322
cpp
C++
source/dllmain.cpp
taxi2za/WINE-anti-cheat
5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd
[ "MIT" ]
5
2020-05-01T16:54:52.000Z
2021-06-09T04:52:27.000Z
source/dllmain.cpp
SimonVoorman/WINE-anti-cheat
5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd
[ "MIT" ]
null
null
null
source/dllmain.cpp
SimonVoorman/WINE-anti-cheat
5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd
[ "MIT" ]
3
2019-02-23T03:41:56.000Z
2019-12-16T17:44:46.000Z
#include "includes.hpp" #include "util/values.hpp" LRESULT CALLBACK hook_procedure(int code, WPARAM w_param, LPARAM l_param) { if (code == HC_ACTION) { const auto detection_manager = G::detection_manager; std::for_each(detection_manager.detections.begin(), detection_manager.detections.end(), [...
24.481481
123
0.653555
taxi2za
b96c881ba27de076fff5ecfc0d2f0a05d3fad8ed
3,571
cpp
C++
fnet/src/tests/frt/rpc/session.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
1
2021-01-11T18:37:46.000Z
2021-01-11T18:37:46.000Z
fnet/src/tests/frt/rpc/session.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
null
null
null
fnet/src/tests/frt/rpc/session.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
1
2020-12-08T19:56:35.000Z
2020-12-08T19:56:35.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/fnet/frt/supervisor.h> #include <vespa/fnet/frt/target.h> #include <vespa/fnet/frt/rpcrequest.h> #include <mutex> //----------------------...
25.690647
118
0.598432
gsmcwhirter
b96da722f1ed816b6b14bfc45b7f37e358653f20
96
cpp
C++
src/statistics/StatsVisitor.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
2
2017-04-19T12:12:03.000Z
2017-07-22T13:32:51.000Z
src/statistics/StatsVisitor.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
null
null
null
src/statistics/StatsVisitor.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
null
null
null
#include "StatsVisitor.h" StatsVisitor::StatsVisitor() { } StatsVisitor::~StatsVisitor() { }
10.666667
31
0.708333
csieber
b96fc3f20002692683d4211fc182f865861b1c88
9,051
cpp
C++
ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp
erik-kallen/ClearScript
33036db296dea4cafcd9b0bd8ab076882a0ab70e
[ "MIT" ]
null
null
null
ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp
erik-kallen/ClearScript
33036db296dea4cafcd9b0bd8ab076882a0ab70e
[ "MIT" ]
null
null
null
ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp
erik-kallen/ClearScript
33036db296dea4cafcd9b0bd8ab076882a0ab70e
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "ClearScriptV8Managed.h" namespace Microsoft { namespace ClearScript { namespace V8 { //------------------------------------------------------------------------- // V8IsolateProxyImpl implementation /...
32.557554
180
0.518064
erik-kallen
b9718b40d1a8d8fcef813331d46f623145d9fee6
461
cpp
C++
ArmadilloTest/main.cpp
Gyebro/clion-projects
d533830650ff08545a5cb772482b2cc287452b77
[ "MIT" ]
null
null
null
ArmadilloTest/main.cpp
Gyebro/clion-projects
d533830650ff08545a5cb772482b2cc287452b77
[ "MIT" ]
null
null
null
ArmadilloTest/main.cpp
Gyebro/clion-projects
d533830650ff08545a5cb772482b2cc287452b77
[ "MIT" ]
null
null
null
#include <iostream> #include "armadillo" using namespace std; using namespace arma; int main() { cout << "Armadillo version: " << arma_version::as_string() << endl; // Returns 5.0.1 (Ankle Biter) mat A(2,3); // Too many arguments, expected 0 A.fill(99); A(1,2) += 101.0; // Called object is not...
21.952381
71
0.592191
Gyebro
b9720da98a80678331ff9fefa5854e6eb82aa6cd
1,615
cpp
C++
legacy/btmux-mux20/mux/src/btech/map.coding.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-07-09T17:37:42.000Z
2020-07-09T17:37:42.000Z
legacy/btmux-mux20/mux/src/btech/map.coding.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
legacy/btmux-mux20/mux/src/btech/map.coding.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-11-07T00:02:47.000Z
2020-11-07T00:02:47.000Z
/* * $Id: map.coding.c,v 1.1.1.1 2005/01/11 21:18:07 kstevens Exp $ * * Author: Markus Stenberg <fingon@iki.fi> * * Copyright (c) 1996 Markus Stenberg * Copyright (c) 1998-2002 Thomas Wouters * Copyright (c) 2000-2002 Cord Awtry * All rights reserved * * Created: Tue Oct 8 16:46:12 1996 fingon * L...
20.705128
74
0.682353
murrayma
b9746537960d1b7f9050a2c8f117fe9b7ffc4050
688
hh
C++
geom/geom/StnVDetData_t.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
geom/geom/StnVDetData_t.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
geom/geom/StnVDetData_t.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
6
2019-11-21T15:27:27.000Z
2022-02-28T20:57:13.000Z
#ifndef __Stntuple_geom_StnVDetData_t__ #define __Stntuple_geom_StnVDetData_t__ //------------------------------------------------------------------------------ // IXLocal and IZLocal are either (1,3) or (3,1) // vector normal to the VD is pointed along IZLocal //-----------------------------------------------------...
38.222222
91
0.492733
macndev
b979a03964c2aca974055e613d33e2aea288dd43
18,088
cpp
C++
hw1/sorting.cpp
aydayurtoglu/cs202_cpp
263ef1d1e30c2108c9848f89f98b663446da75b4
[ "MIT" ]
null
null
null
hw1/sorting.cpp
aydayurtoglu/cs202_cpp
263ef1d1e30c2108c9848f89f98b663446da75b4
[ "MIT" ]
null
null
null
hw1/sorting.cpp
aydayurtoglu/cs202_cpp
263ef1d1e30c2108c9848f89f98b663446da75b4
[ "MIT" ]
null
null
null
/* * Title: Sorting and Algorithm Efficiency * Author: Ayda Yurtoglu * ID: 21903153 * Section: 1 * Assignment: 1 * Description: Sorting source code */ #include "sorting.h" #include <iostream> #include <math.h> #include <cstdlib> #include <cstdio> #include <ctime> using namespace std; sorting::sorti...
31.079038
152
0.460084
aydayurtoglu
b97f33fbe1b5a019bce20697541405fa1061eb8f
17,880
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_POWER_ETHERNET_EXT_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_POWER_ETHERNET_EXT_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_POWER_ETHERNET_EXT_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_POWER_ETHERNET_EXT_MIB_ #define _CISCO_POWER_ETHERNET_EXT_MIB_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace CISCO_POWER_ETHERNET_EXT_MIB { class CISCOPOWERETHERNETEXTMIB : public ydk::Entity { public: ...
47.553191
162
0.694855
CiscoDevNet
b98495b8db9184bc2d81cd389b9d1b35015a341f
264
hpp
C++
NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct CExoLinkedListInternal; struct CExoLinkedListTemplatedCRes { CExoLinkedListInternal* m_pcExoLinkedListInternal; }; } }
13.2
58
0.780303
acaos
b985018a037a8b1bb2f336a995a2d5b32834a611
18,264
cpp
C++
applications/DEMApplication/custom_constitutive/DEM_D_Linear_viscous_Coulomb_CL.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/DEMApplication/custom_constitutive/DEM_D_Linear_viscous_Coulomb_CL.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/DEMApplication/custom_constitutive/DEM_D_Linear_viscous_Coulomb_CL.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// Authors: M.A. Celigueta and S. Latorre (CIMNE) // Date: October 2015 #include "DEM_D_Linear_viscous_Coulomb_CL.h" #include "custom_elements/spheric_particle.h" namespace Kratos { DEMDiscontinuumConstitutiveLaw::Pointer DEM_D_Linear_viscous_Coulomb::Clone() const { DEMDiscontinuumConstitutiveLaw::Point...
60.677741
348
0.666174
lkusch
b9851aa141a71dd4c526b38f26efefadcf04c46e
978
hpp
C++
src/utils/logger.hpp
LiamTyler/AudioEngine
846d7433c1308c7272b740cc7dbb6628c3e1d7fd
[ "MIT" ]
null
null
null
src/utils/logger.hpp
LiamTyler/AudioEngine
846d7433c1308c7272b740cc7dbb6628c3e1d7fd
[ "MIT" ]
null
null
null
src/utils/logger.hpp
LiamTyler/AudioEngine
846d7433c1308c7272b740cc7dbb6628c3e1d7fd
[ "MIT" ]
null
null
null
#pragma once #include "platform_defines.hpp" #include <cstdio> #include <string> #if USING( SHIP_BUILD ) #define LOG( ... ) do {} while(0) #define LOG_WARN( ... ) do {} while(0) #define LOG_ERR( ... ) do {} while(0) #else // #if USING( SHIP_BUILD ) #define LOG( ... ) Logger_Log( LogSeverity::DEBUG, __VA_ARGS__ ) #...
23.853659
89
0.691207
LiamTyler
b9856f98d498dde495d461c436e1dce8a65d089f
772
cpp
C++
src/uarttest.cpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
3
2019-10-31T15:04:35.000Z
2021-06-24T16:35:18.000Z
src/uarttest.cpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
null
null
null
src/uarttest.cpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
2
2019-02-26T20:41:15.000Z
2019-05-14T01:40:40.000Z
#include <iostream> #include <string> #include "c-periphery/serial.h" using std::string; using std::cout; using std::cin; using std::endl; int main(int argc, char **argv) { serial_t uartport1; std::string device_file_1 = "/dev/ttyO1"; int baudrate = 115200; int result1 = serial_open(&uartport1, device_fi...
19.3
78
0.642487
ASM-Advised-Projects
b98689d9fe87329692925a4b8e13eec90d9d29ef
4,130
hpp
C++
library_examples/gemm/include/hw/xf_blas/gbmv.hpp
Ddnirvana/Vitis_Accel_Examples
b41830f3dfc2ad85020c0cf3bdb7d27d774b90fc
[ "Apache-2.0" ]
270
2019-10-22T02:53:56.000Z
2022-03-31T11:15:13.000Z
library_examples/gemm/include/hw/xf_blas/gbmv.hpp
ioannis-krmp/Vitis_Accel_Examples
0903aedd14326224d760f4461bd56e85987d3581
[ "Apache-2.0" ]
57
2020-01-03T04:52:12.000Z
2022-03-17T13:34:01.000Z
library_examples/gemm/include/hw/xf_blas/gbmv.hpp
ioannis-krmp/Vitis_Accel_Examples
0903aedd14326224d760f4461bd56e85987d3581
[ "Apache-2.0" ]
142
2019-10-18T18:57:38.000Z
2022-03-16T14:10:29.000Z
/** * Copyright (C) 2019-2021 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
36.22807
107
0.677482
Ddnirvana
b9897e212b0a458a12f0f74d719883bb2bdb8ca3
1,396
hpp
C++
app/model/AdminStudentModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
app/model/AdminStudentModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
app/model/AdminStudentModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
/*\ | ------------------------------------------------------ | @file : AdminStudentModel.hpp | @author : Fabien Beaujean, Luc Lorentz | @description : modèle gestion des élèves par les administrateurs | ------------------------------------------------------ \*/ #ifndef ADMINSTUDENTMODEL_HPP_INCLUDED #define ADMIN...
39.885714
120
0.576648
fabsgc
b98bc1d5d3df2cca03e5143dcdd187d29fdd4fb5
4,420
cpp
C++
SMACOF.cpp
LiliamPumpernickel/DAMIS
51369f27ad907b21548bccd6ad184e2e2858e707
[ "Apache-2.0" ]
1
2018-05-13T11:42:44.000Z
2018-05-13T11:42:44.000Z
SMACOF.cpp
LiliamPumpernickel/DAMIS
51369f27ad907b21548bccd6ad184e2e2858e707
[ "Apache-2.0" ]
null
null
null
SMACOF.cpp
LiliamPumpernickel/DAMIS
51369f27ad907b21548bccd6ad184e2e2858e707
[ "Apache-2.0" ]
1
2018-05-01T16:53:27.000Z
2018-05-01T16:53:27.000Z
/////////////////////////////////////////////////////////// // SMACOF.cpp // Implementation of the Class SMACOF // Created on: 07-Lie-2013 20:07:32 // Original author: Povilas /////////////////////////////////////////////////////////// /*! \class SMACOF \brief A class of methods and attributes for SMACOF a...
26.787879
109
0.567195
LiliamPumpernickel
b98c41aaddf198e3a1d4bf159fe816f692609ac1
1,018
cpp
C++
codes/hpc/malloc/malloc03/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/hpc/malloc/malloc03/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/hpc/malloc/malloc03/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <omp.h> #include <benchmark/benchmark.h> #include <iostream> #include <vector> #include <chrono> typedef std::chrono::high_resolution_clock Clock; #define TIME_BEGIN(x) auto clock_time_##x = Clock::now(); #define TIME_END(x) { auto curr_time = Clock::now(); \ auto dt = curr_time - clock_...
27.513514
85
0.587426
eric2003
b98f2a8a88298873b0e701b53b7321efa1a70d6f
8,087
cpp
C++
game/state/tilemap/tileobject_vehicle.cpp
trevortomesh/OpenApoc
53cd163889fbfd21a9c128183427dad4255ac1a3
[ "MIT" ]
1
2019-11-19T11:41:36.000Z
2019-11-19T11:41:36.000Z
game/state/tilemap/tileobject_vehicle.cpp
FilmBoy84/OpenApoc_FB84
a6b69cafba01744998ced6c67b93fbd937d32d26
[ "MIT" ]
null
null
null
game/state/tilemap/tileobject_vehicle.cpp
FilmBoy84/OpenApoc_FB84
a6b69cafba01744998ced6c67b93fbd937d32d26
[ "MIT" ]
null
null
null
#ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #include "game/state/tilemap/tileobject_vehicle.h" #include "framework/renderer.h" #include "game/state/city/vehicle.h" #include "game/state/city/vehiclemission.h" #include "game/state/rules/city/vehicletype.h" #include "game/state/tilemap/tilemap.h" #include "...
27.886207
95
0.628292
trevortomesh
b98f3342c4a2b067eb6ee1a7825ba15e8f869183
4,415
cpp
C++
modules/monkey/native/bbgc.cpp
nitrologic/monkey2-pi
a46ce707a68657afeee3fac4ee71c73024450b32
[ "Zlib" ]
1
2019-01-19T06:13:24.000Z
2019-01-19T06:13:24.000Z
modules/monkey/native/bbgc.cpp
nitrologic/monkey2
a46ce707a68657afeee3fac4ee71c73024450b32
[ "Zlib" ]
null
null
null
modules/monkey/native/bbgc.cpp
nitrologic/monkey2
a46ce707a68657afeee3fac4ee71c73024450b32
[ "Zlib" ]
null
null
null
//v1001 #include <utility> #include "bbgc.h" // For testing only... // #define BBGC_DISABLED 1 //For future ref... #if BB_THREADED //fast but unpredictable //#define BBGC_LOCK while( bbGC::spinlock.test_and_set( std::memory_order_acquire ) ) std::this_thread::yield(); //#define BBGC_UNLOCK bbGC::spinlock.clear( s...
17.112403
112
0.644621
nitrologic
b98fed2f951c56f1ba7d6ecc92567478631e7083
9,079
cc
C++
services/network/cookie_manager.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
services/network/cookie_manager.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
services/network/cookie_manager.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 "services/network/cookie_manager.h" #include <utility> #include "net/base/registry_controlled_domains/registry_controlled_domain.h" #include "n...
40.53125
80
0.701619
zipated
b98ff2e92c21fbe33db68281a908c406de1cc056
1,061
cpp
C++
test/AnyCallSignature.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
32
2018-10-23T16:48:00.000Z
2022-03-25T04:09:32.000Z
test/AnyCallSignature.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
7
2018-11-12T19:54:46.000Z
2020-06-30T21:40:48.000Z
test/AnyCallSignature.cpp
thecppzoo/zoo
6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f
[ "MIT" ]
4
2017-09-02T16:53:00.000Z
2020-12-14T09:10:51.000Z
// // AnyCallSignature.cpp // // Created by Eduardo Madrid on 7/22/19. // #include "zoo/AnyCallSignature.h" #include "zoo/FunctionPolicy.h" #include "zoo/AnyContainer.h" #include "catch2/catch.hpp" int doubler(int a) { return 2*a; } int multiply(int f1, int f2) { return f1*f2; } TEST_CASE("AnyCallSignature", "[a...
28.675676
86
0.611687
thecppzoo
b992fa7af4e584883c368317f2d8399a5c4ff6c4
7,459
cc
C++
gpu/command_buffer/service/gpu_scheduler_unittest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
gpu/command_buffer/service/gpu_scheduler_unittest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
gpu/command_buffer/service/gpu_scheduler_unittest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/mac/scoped_nsautorelease_pool.h" #include "base/message_loop.h" #include "gpu/command_buffer/common/command_buffer_mock.h" #include "gp...
28.688462
80
0.710953
meego-tablet-ux
b995ac9c841ecaf9ec401609699e7e769d71c437
4,585
cpp
C++
test/opengl/select.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
4
2020-08-02T18:41:31.000Z
2021-12-30T07:29:45.000Z
test/opengl/select.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
null
null
null
test/opengl/select.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
1
2020-07-10T16:00:39.000Z
2020-07-10T16:00:39.000Z
#include "Halide.h" #include <stdio.h> #include <stdlib.h> using namespace Halide; int test_per_channel_select() { // This test must be run with an OpenGL target. const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Func gpu("gpu"), cpu("cpu"); Var x("x"), y("y"), c(...
26.812865
89
0.443402
jwitz54
b9975b4da8bb9551fd52154f043eefc036f90520
981
cpp
C++
examples/3-complex_layout.cpp
nathanrpage97/libfort
41237162a9bd34a30a88069ee4e230584ae8d674
[ "MIT" ]
388
2018-07-16T06:18:37.000Z
2022-03-27T10:31:16.000Z
examples/3-complex_layout.cpp
nathanrpage97/libfort
41237162a9bd34a30a88069ee4e230584ae8d674
[ "MIT" ]
64
2019-05-03T07:02:23.000Z
2022-02-26T01:08:30.000Z
examples/3-complex_layout.cpp
nathanrpage97/libfort
41237162a9bd34a30a88069ee4e230584ae8d674
[ "MIT" ]
55
2018-07-27T07:33:52.000Z
2022-03-21T19:26:02.000Z
#include <iostream> #include "fort.hpp" int main() { fort::char_table table; /* Set table border style */ table.set_border_style(FT_DOUBLE2_STYLE); // Fill table with data table << fort::header << "Sed" << "Aenean" << "Text" << fort::endr; table << "Duis" << "Aliquam" << "...
27.25
77
0.588175
nathanrpage97
b997fc0521b606052a2138562d8febbe8976bafa
1,145
cc
C++
src/link.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
null
null
null
src/link.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
35
2018-12-11T11:58:36.000Z
2019-09-08T06:10:47.000Z
src/link.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
null
null
null
#include "link.h" #include "node.h" #include "path_generator.h" namespace elfin { /* public */ /* ctors */ Link::Link(FreeTerm const& src, ProtoLink const* prot, FreeTerm const& dst) : src_(src), prototype_(prot), dst_(dst) { // Check that prototype_ (ProtoLink) ...
24.361702
77
0.574672
joy13975
b9992d12f56ae5fa28e22e78fe80058e1df818a3
35,403
cpp
C++
backends/dpdk/dpdkArch.cpp
anasyrmia/p4c-1
2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60
[ "Apache-2.0" ]
6
2019-05-24T05:11:09.000Z
2020-12-10T02:31:18.000Z
backends/dpdk/dpdkArch.cpp
anasyrmia/p4c-1
2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60
[ "Apache-2.0" ]
1
2020-06-08T23:21:49.000Z
2020-06-08T23:21:49.000Z
backends/dpdk/dpdkArch.cpp
anasyrmia/p4c-1
2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60
[ "Apache-2.0" ]
2
2019-04-11T13:56:33.000Z
2020-05-12T07:48:51.000Z
/* Copyright 2020 Intel Corp. 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 writing, software dis...
38.481522
80
0.574302
anasyrmia
b9993662a629a3dcac9722b92125b3358bdb0c5c
2,484
hpp
C++
include/LiteNetLib/Utils/FastBitConverter_ConverterHelperDouble.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/LiteNetLib/Utils/FastBitConverter_ConverterHelperDouble.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/LiteNetLib/Utils/FastBitConverter_ConverterHelperDouble.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: LiteNetLib.Uti...
41.4
146
0.706522
sc2ad
b9994203ce56691e6e53446f6e86c2f14ac5f02e
2,117
cpp
C++
src/main/cpp/Vision.cpp
VLPatton/2022-Rapid-React-Code
221312d98bf0eb780c2c2263949fcc439e0da42a
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Vision.cpp
VLPatton/2022-Rapid-React-Code
221312d98bf0eb780c2c2263949fcc439e0da42a
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Vision.cpp
VLPatton/2022-Rapid-React-Code
221312d98bf0eb780c2c2263949fcc439e0da42a
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Description: CVisionPacket implementation Class: CVisionPacket Project: 2022 Rapid React Robot Code ******************************************************************************/ #include "Vision.h" #include <fmt/core.h> #include...
30.681159
96
0.670288
VLPatton
b99aba8ae33b023e3ec7684a065aecf26447d229
5,151
cpp
C++
support/simd.cpp
mfkiwl/FlyDog_SDR_GPS
d4870af35e960282a3c1b7e6b41444be4cb53fab
[ "MIT" ]
9
2020-09-22T17:26:17.000Z
2022-03-10T17:58:03.000Z
support/simd.cpp
hikijun/FlyDog_SDR_GPS
d4870af35e960282a3c1b7e6b41444be4cb53fab
[ "MIT" ]
null
null
null
support/simd.cpp
hikijun/FlyDog_SDR_GPS
d4870af35e960282a3c1b7e6b41444be4cb53fab
[ "MIT" ]
4
2021-02-10T16:13:19.000Z
2021-09-21T08:04:25.000Z
// -*- C++ -*- #include <complex> #ifdef __ARM_NEON #include <arm_neon.h> #endif #include "simd.h" // c = conj(a) * b void simd_multiply_conjugate_ccc(int len, const fftwf_complex* a, const fftwf_complex* b, fftwf_com...
36.531915
102
0.520287
mfkiwl
b99c3e1ca9ba64f534b9e23a6fae6541559777aa
4,602
cpp
C++
node_modules/gl/angle/src/libGLESv2/global_state.cpp
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
Source/ANGLE/libGLESv2/global_state.cpp
wpbest/XPF
cb54ad82a8c6f675f2d5bc840a78f66f03de65e2
[ "MIT" ]
2
2020-03-14T04:03:53.000Z
2021-09-02T04:26:49.000Z
Source/ANGLE/libGLESv2/global_state.cpp
wpbest/XPF
cb54ad82a8c6f675f2d5bc840a78f66f03de65e2
[ "MIT" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// // Copyright(c) 2014 The ANGLE 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. // // global_state.cpp : Implements functions for querying the thread-local GL and EGL state. #include "libGLESv2/global_state.h" #include "l...
19.417722
90
0.658627
aaverty
b99c59116310443134cf872a6ac6afcdbc5e3d5a
426
cpp
C++
tests/2017/11.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
6
2019-03-01T14:15:38.000Z
2021-12-10T21:39:23.000Z
tests/2017/11.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
3
2018-10-22T09:42:26.000Z
2018-10-22T11:45:06.000Z
tests/2017/11.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
null
null
null
#include "boost/test/unit_test.hpp" #include "aoc_fixture.h" #include "AoC/2017/problem_11.h" using namespace AoC_2017::problem_11; BOOST_FIXTURE_TEST_CASE( problem2017_11_1, AocFixture ) { BOOST_CHECK_EQUAL( 3, run( &solve_1, "ne,ne,ne" ) ); BOOST_CHECK_EQUAL( 0, run( &solve_1, "ne,ne,sw,sw" ) ); BOOST_CHECK...
26.625
60
0.692488
voivoid
b99dba9fb68da1093a77d598f37b0d3dc63eb420
1,771
cc
C++
src/FbgemmBfloat16ConvertAvx512.cc
menchunlei/FBGEMM
588ecfcca3d83186461554cd28dedc41532d75b4
[ "BSD-3-Clause" ]
1
2020-05-02T14:18:06.000Z
2020-05-02T14:18:06.000Z
src/FbgemmBfloat16ConvertAvx512.cc
menchunlei/FBGEMM
588ecfcca3d83186461554cd28dedc41532d75b4
[ "BSD-3-Clause" ]
null
null
null
src/FbgemmBfloat16ConvertAvx512.cc
menchunlei/FBGEMM
588ecfcca3d83186461554cd28dedc41532d75b4
[ "BSD-3-Clause" ]
1
2020-04-21T08:10:22.000Z
2020-04-21T08:10:22.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * 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. */ #include <immintrin.h> #include "fbgemm/FbgemmConvert.h" namespace fbgemm { namespace { inline __m256i...
31.070175
76
0.713721
menchunlei
b99fba091948de8683a68991da3a4fd87d18d84b
11,431
cpp
C++
src/plugins/grass/qgsgrasseditrenderer.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/grass/qgsgrasseditrenderer.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/grass/qgsgrasseditrenderer.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsgrasseditrenderer.cpp ------------------- begin : February, 2015 copyright : (C) 2015 by Radim Blazek email : radim.blazek@gmail.com ********************...
38.880952
129
0.692765
dyna-mis
b9a134732e1b0a47bf93e2abd058e1509bcc7414
3,418
cpp
C++
osquery/sql/sql.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
null
null
null
osquery/sql/sql.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
null
null
null
osquery/sql/sql.cpp
saydulk/osquery
5789d889f421f6761ba7c600d7eaf8a3ba18ee82
[ "BSD-3-Clause" ]
16
2017-01-12T10:37:09.000Z
2019-04-19T08:23:19.000Z
/* * Copyright (c) 2014, 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. * */ #include <s...
30.247788
80
0.652721
saydulk
b9a1da7c8fd64b49fbf4301ab3b32006a155d382
17,211
cpp
C++
src/game/wbengine.cpp
Torom/Banksia
30498fd75196c1a8f29aac8e7c249ce6817644d2
[ "Apache-2.0" ]
55
2019-07-01T11:42:59.000Z
2022-03-09T18:59:18.000Z
src/game/wbengine.cpp
Torom/Banksia
30498fd75196c1a8f29aac8e7c249ce6817644d2
[ "Apache-2.0" ]
15
2019-07-13T01:29:09.000Z
2021-12-31T21:09:59.000Z
src/game/wbengine.cpp
Torom/Banksia
30498fd75196c1a8f29aac8e7c249ce6817644d2
[ "Apache-2.0" ]
13
2019-07-10T12:30:55.000Z
2022-01-10T09:41:59.000Z
/* This file is part of Banksia. Copyright (c) 2019 Nguyen Hong Pham 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, c...
27.939935
145
0.532392
Torom
b9a2a8c419f5f3e118e4655cd9702850e50ad892
19,174
cc
C++
src/logkafka/zookeeper.cc
Qihoo360/logkafka
f329b5a9806e0b0f716884759edbe54e72e4dec0
[ "MIT" ]
568
2015-06-23T07:41:50.000Z
2022-03-30T11:32:05.000Z
src/logkafka/zookeeper.cc
Qihoo360/logkafka
f329b5a9806e0b0f716884759edbe54e72e4dec0
[ "MIT" ]
26
2015-09-27T07:25:31.000Z
2021-07-25T13:30:09.000Z
src/logkafka/zookeeper.cc
Qihoo360/logkafka
f329b5a9806e0b0f716884759edbe54e72e4dec0
[ "MIT" ]
138
2015-06-23T07:41:50.000Z
2021-12-13T02:31:40.000Z
/////////////////////////////////////////////////////////////////////////// // // logkafka - Collect logs and send lines to Apache Kafka v0.8+ // /////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015 Qihoo 360 Technology Co., Ltd. All rights reserved. // // Licensed under ...
28.78979
126
0.579691
Qihoo360
b9a408b5a73d418cde13c85cfa8a4421adb1397f
21,551
cpp
C++
src/globals/tb2globalconstr.cpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
33
2018-08-16T18:14:35.000Z
2022-03-14T10:26:18.000Z
src/globals/tb2globalconstr.cpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
13
2018-08-09T06:53:08.000Z
2022-03-28T10:26:24.000Z
src/globals/tb2globalconstr.cpp
Pierre-Mont/toulbar2
623b92d593eab2dc1e21df9f853c28cc84626ed6
[ "MIT" ]
12
2018-06-06T15:19:46.000Z
2022-02-11T17:09:27.000Z
#include "tb2globalconstr.hpp" #include "core/tb2wcsp.hpp" #include "search/tb2clusters.hpp" GlobalConstraint::GlobalConstraint(WCSP* wcsp, EnumeratedVariable** scope_in, int arity_in, Cost defval) : AbstractGlobalConstraint(wcsp, scope_in, arity_in) , extendedCost(NULL) , projectedCost(0) , nonassigne...
31.233333
193
0.525869
Pierre-Mont
b9a735d2a2dec18e68753353b32157e175c3777f
1,934
cpp
C++
dev/test/so_5/state/time_limit/reset_limit/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
272
2019-05-16T11:45:54.000Z
2022-03-28T09:32:14.000Z
dev/test/so_5/state/time_limit/reset_limit/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
40
2019-10-29T18:19:18.000Z
2022-03-30T09:02:49.000Z
dev/test/so_5/state/time_limit/reset_limit/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
29
2019-05-16T12:05:32.000Z
2022-03-19T12:28:33.000Z
/* * A test case for reseting time limit for a state. */ #include <iostream> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_limited_execution.hpp> class a_test_t final : public so_5::agent_t { state_t first{ this, "first" }; state_t second{ this, "second" }; struct sig_1 : public so_5::...
22.229885
73
0.601861
ZaMaZaN4iK
b9a8379cb92d8e2314de720ec26ff87761502a88
38,357
cpp
C++
B2G/gecko/rdf/datasource/src/nsFileSystemDataSource.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/rdf/datasource/src/nsFileSystemDataSource.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/rdf/datasource/src/nsFileSystemDataSource.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Implementation for a file sys...
27.515782
109
0.583622
wilebeast
b9ab8c184956b997d0be4fc5a8ea3dade13ede8d
2,858
hpp
C++
ql/experimental/credit/onefactorgaussiancopula.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/experimental/credit/onefactorgaussiancopula.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/experimental/credit/onefactorgaussiancopula.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Roland Lichters This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and...
34.433735
79
0.687194
zhengyuzhang1
b9ac5b7a6d11f4b5284e01c4a13e96820221283b
46,157
cpp
C++
Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------------------- // <copyright file="cloud_page_blob_test.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
58.132242
229
0.683428
JasonDictos
b9ac82e1e5f8274a1e7c36d5cc4ff7d383cf96cf
26,759
cc
C++
Project/cicevirgin/protocol/CPerson1.pb.cc
thanple/icevirgin
071f498ee5c3ae18bb1a0c492c670c5b6ba30d5a
[ "Apache-2.0" ]
null
null
null
Project/cicevirgin/protocol/CPerson1.pb.cc
thanple/icevirgin
071f498ee5c3ae18bb1a0c492c670c5b6ba30d5a
[ "Apache-2.0" ]
null
null
null
Project/cicevirgin/protocol/CPerson1.pb.cc
thanple/icevirgin
071f498ee5c3ae18bb1a0c492c670c5b6ba30d5a
[ "Apache-2.0" ]
2
2019-12-09T03:40:53.000Z
2020-01-05T14:21:05.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CPerson1.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "CPerson1.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #incl...
32.200963
104
0.679285
thanple
b9acae4d08f40a3853a7d812b2cb2f6f49f02732
797
cpp
C++
remote_test/yosupo/math/convolution_mod.2.test.cpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
7
2021-07-20T15:25:00.000Z
2022-03-13T11:58:25.000Z
remote_test/yosupo/math/convolution_mod.2.test.cpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
10
2021-03-11T16:08:22.000Z
2022-03-13T08:40:36.000Z
remote_test/yosupo/math/convolution_mod.2.test.cpp
hly1204/library
b62c47a8f20623c1f1edd892b980714e8587f40e
[ "Unlicense" ]
null
null
null
#define PROBLEM "https://judge.yosupo.jp/problem/convolution_mod" #include <iostream> #include <vector> #include "math/formal_power_series/relaxed_convolution.hpp" #include "modint/Montgomery_modint.hpp" int main() { #ifdef LOCAL std::freopen("in", "r", stdin), std::freopen("out", "w", stdout); #endif ...
28.464286
68
0.580928
hly1204
b9ae74999466c5857c3a3ca37a3bcadd45aacffd
192
cpp
C++
old/Codeforces/112/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/Codeforces/112/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/Codeforces/112/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { string a, b; cin >> a >> b; for (char& c : a) c = tolower(c); for (char& c : b) c = tolower(c); cout << (a < b ? -1 : a > b ? 1 : 0) << endl; }
19.2
47
0.463542
not522
b9aee9434e218a09125111ac635c39c7ec06fcc3
2,059
cc
C++
impl/browser/vibration/vibration_message_filter.cc
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
impl/browser/vibration/vibration_message_filter.cc
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
impl/browser/vibration/vibration_message_filter.cc
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2013 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "browser/vibration/vibration_message_filter.h" #include <algorithm> #include "base/numerics/safe_conversions.h" #include "base/memory/ref_counte...
36.122807
87
0.78679
Jabawack
b9b06e589bbe8895ac5bd67aa404c8e462bfe00e
2,146
cpp
C++
src/medCore/gui/commonWidgets/medSlider.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
1
2020-11-16T13:55:45.000Z
2020-11-16T13:55:45.000Z
src/medCore/gui/commonWidgets/medSlider.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
null
null
null
src/medCore/gui/commonWidgets/medSlider.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2014. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE...
23.075269
89
0.550792
nebatmusic
b9b3de2dcbabd68328f103a278cad6b0cbfbd949
6,146
hpp
C++
inference-engine/thirdparty/ade/common/include/util/intrusive_list.hpp
mypopydev/dldt
8cd639116b261adbbc8db860c09807c3be2cc2ca
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
inference-engine/thirdparty/ade/common/include/util/intrusive_list.hpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
inference-engine/thirdparty/ade/common/include/util/intrusive_list.hpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
1
2018-12-14T07:54:14.000Z
2018-12-14T07:54:14.000Z
// Copyright (C) 2018 Intel Corporation // // SPDX-License-Identifier: Apache-2.0 // #ifndef UTIL_INTRUSIVE_LIST_HPP #define UTIL_INTRUSIVE_LIST_HPP #include <utility> #include <cstddef> #include <iterator> #include "util/type_traits.hpp" #include "util/assert.hpp" namespace util { /// Intrusive list node /// It w...
23.458015
102
0.568174
mypopydev
b9b448a26cc3f215a4894162aa545efe91906da2
3,622
cpp
C++
Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp
katehuratakeshi220/ezEngine
19fe98b5850172e67c37490ab0cee1b2d96fd220
[ "MIT" ]
5
2020-06-02T02:29:40.000Z
2021-07-28T15:20:51.000Z
Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp
jayrulez/ezEngine
49881480fef984b02fe3f550dd9ace932a05b86f
[ "MIT" ]
null
null
null
Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp
jayrulez/ezEngine
49881480fef984b02fe3f550dd9ace932a05b86f
[ "MIT" ]
null
null
null
#include <RendererCore/RendererCorePCH.h> #include <RendererCore/AnimationSystem/AnimGraph/AnimGraph.h> #include <RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.h> // clang-format off EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezMathExpressionAnimNode, 1, ezRTTIDefaultAllocator<ezMathExpressionAnimNode>) { EZ_...
33.229358
137
0.77968
katehuratakeshi220
b9b9c95d255574e7dab94385901e4c705b379225
1,568
cc
C++
DataFormats/ProtonReco/src/ForwardProton.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DataFormats/ProtonReco/src/ForwardProton.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
DataFormats/ProtonReco/src/ForwardProton.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
/**************************************************************************** * Authors: * Jan Kašpar * Laurent Forthomme ****************************************************************************/ #include "DataFormats/ProtonReco/interface/ForwardProton.h" #include <set> using namespace reco; ForwardProt...
36.465116
144
0.596301
bisnupriyasahu