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
81d99cbe8d4a731f81c7b6a84f788f537ab9d98f
1,120
cc
C++
cpp/solutions/006/solution.cc
StephanBischoff-Digle/dcp
5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e
[ "Unlicense" ]
null
null
null
cpp/solutions/006/solution.cc
StephanBischoff-Digle/dcp
5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e
[ "Unlicense" ]
null
null
null
cpp/solutions/006/solution.cc
StephanBischoff-Digle/dcp
5e0914386ceee5c1aa94a1b2deb8264c7c8bcc3e
[ "Unlicense" ]
null
null
null
#include "solution.h" xor_linked_list::xor_linked_list() : memory_(3), size_{0} {} void xor_linked_list::add(std::int32_t value) { if (size_ == 0) { memory_[0] = {0, value}; size_++; return; } // resize internam memory if necessary if (size_ == memory_.size() - 1) { me...
20.740741
70
0.507143
StephanBischoff-Digle
81d9ba16900de52ad218827748fd86f2150626a6
639
cpp
C++
src/Expression.cpp
bmarchon/LG_H4311
8a52272a19c13726b8a72b84147d7be27784deb3
[ "Apache-2.0" ]
null
null
null
src/Expression.cpp
bmarchon/LG_H4311
8a52272a19c13726b8a72b84147d7be27784deb3
[ "Apache-2.0" ]
null
null
null
src/Expression.cpp
bmarchon/LG_H4311
8a52272a19c13726b8a72b84147d7be27784deb3
[ "Apache-2.0" ]
null
null
null
#include "Expression.h" Expression::Expression(Expressions typeExp, Symboles type):Symbole(type) { this->typeExp=typeExp; expression = NULL; } Expression::Expression():Symbole(type) { expression = NULL; } Expressions Expression::getExprType() { return this->typeExp; } Expression::~Expression() { //dtor } void...
14.860465
72
0.716745
bmarchon
81db734bbc9a6e0f76a87b7a0e2ed2c2ee3ee09e
5,248
hxx
C++
opencascade/GeomInt_ParFunctionOfMyGradientOfTheComputeLineBezierOfWLApprox.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/GeomInt_ParFunctionOfMyGradientOfTheComputeLineBezierOfWLApprox.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/GeomInt_ParFunctionOfMyGradientOfTheComputeLineBezierOfWLApprox.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1995-01-27 // Created by: Jacques GOUSSARD // Copyright (c) 1995-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the G...
35.221477
323
0.804878
valgur
81dc1a3053519a1289dd6bd3195f14443e2fbc58
9,754
cpp
C++
NOLF/ClientShellDLL/BodyFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/BodyFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/BodyFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// ----------------------------------------------------------------------- // // // MODULE : BodyFX.cpp // // PURPOSE : Body special FX - Implementation // // CREATED : 8/24/98 // // (c) 1998-1999 Monolith Productions, Inc. All Rights Reserved // // --------------------------------------------------------------------...
24.693671
128
0.574841
haekb
81dc81bbfec0415572e5d7334486fcc66220c540
1,584
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPositiveRatioMeasure.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
1
2021-04-26T14:56:09.000Z
2021-04-26T14:56:09.000Z
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include <map> #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/IFC4/include/IfcMeas...
38.634146
163
0.748106
shelltdf
81dd0fc1dac78844220e9e9d309f26e5fb3b6c78
6,750
cpp
C++
Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Tests2/TestEvents/TestEvents_Scheduled.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: TestEvents_Scheduled.cpp // // AUTHOR: Dean Roddey // // CREATED: 09/21/2009 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
29.220779
100
0.491259
MarkStega
81de4c19a335e3ca7d86cd3105998e654e0319f7
2,406
cpp
C++
Passes/Misc/ReanimatorPass.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
Passes/Misc/ReanimatorPass.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
null
null
null
Passes/Misc/ReanimatorPass.cpp
vorpal-research/borealis
247ca1bb26690e2d605ffc57785151e86dccd5bb
[ "MIT" ]
1
2019-09-02T12:56:27.000Z
2019-09-02T12:56:27.000Z
// // Created by ice-phoenix on 5/27/15. // #include <llvm/Pass.h> #include "Passes/Defect/DefectManager.h" #include "Passes/PredicateStateAnalysis/PredicateStateAnalysis.h" #include "Passes/Tracker/SlotTrackerPass.h" #include "Reanimator/Reanimator.h" #include "State/Transformer/AggregateTransformer.h" #include "Sta...
28.987952
97
0.63591
vorpal-research
81de8f9990a206bc30adfd35bddc9388d5ec7fdf
601
hpp
C++
include/extractor/guidance/turn_lane_augmentation.hpp
peterkist-tinker/osrm-backend-appveyor-test
1891d7379c1d524ea6dc5a8d95e93f4023481a07
[ "BSD-2-Clause" ]
null
null
null
include/extractor/guidance/turn_lane_augmentation.hpp
peterkist-tinker/osrm-backend-appveyor-test
1891d7379c1d524ea6dc5a8d95e93f4023481a07
[ "BSD-2-Clause" ]
null
null
null
include/extractor/guidance/turn_lane_augmentation.hpp
peterkist-tinker/osrm-backend-appveyor-test
1891d7379c1d524ea6dc5a8d95e93f4023481a07
[ "BSD-2-Clause" ]
null
null
null
#ifndef OSRM_EXTRACTOR_GUIDANCE_TURN_LANE_AUGMENTATION_HPP_ #define OSRM_EXTRACTOR_GUIDANCE_TURN_LANE_AUGMENTATION_HPP_ #include "extractor/guidance/intersection.hpp" #include "extractor/guidance/turn_lane_data.hpp" namespace osrm { namespace extractor { namespace guidance { namespace lanes { LaneDataVector handleNo...
24.04
77
0.777038
peterkist-tinker
81defce025f673146fb076b3c67dd6f24fc5d927
1,529
cpp
C++
atcoder/agc006/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
atcoder/agc006/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
atcoder/agc006/D.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 200020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int a[N]; bool b[N]; int n, sz; bool check(int x...
15.927083
61
0.456508
swwind
81dfaff9617ef04a799d6168fb671e82f45bae41
363
cpp
C++
RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp
PiotrGardocki/RandomNumbersLibrary
4657ea288109381538a041ad765d02104414cd3c
[ "Unlicense" ]
null
null
null
RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp
PiotrGardocki/RandomNumbersLibrary
4657ea288109381538a041ad765d02104414cd3c
[ "Unlicense" ]
null
null
null
RandomNumbersLibrary/RandomNumbers/RandomGeneratorBase.cpp
PiotrGardocki/RandomNumbersLibrary
4657ea288109381538a041ad765d02104414cd3c
[ "Unlicense" ]
null
null
null
#include <chrono> #include "RandomGeneratorBase.hpp" namespace { long long createSeed() { auto seed = std::chrono::system_clock::now().time_since_epoch().count(); return seed; } } thread_local std::mt19937 RandomGeneratorBase::mEngine(static_cast<unsigned int>(createSeed()) ); std::mt19937 & RandomGeneratorBa...
19.105263
97
0.738292
PiotrGardocki
81e093b03296306e50da0486be0ffc86b2f40401
21,481
cc
C++
third_party/blink/renderer/bindings/core/v8/generated_code_helper.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/bindings/core/v8/generated_code_helper.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/bindings/core/v8/generated_code_helper.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h" #include "third_party/blink/renderer/bindings/core/v8/native_value_traits_...
40.151402
85
0.713561
Ron423c
81e3ed422724ffb91dc0100ff185cc6a3592d9d8
8,344
cc
C++
lib/libbase-chromium/base/threading/platform_thread_posix.cc
ducalpha/android_tools
5a660b6d4b4e963054a8fea380b7184d908bdd7a
[ "MIT" ]
null
null
null
lib/libbase-chromium/base/threading/platform_thread_posix.cc
ducalpha/android_tools
5a660b6d4b4e963054a8fea380b7184d908bdd7a
[ "MIT" ]
null
null
null
lib/libbase-chromium/base/threading/platform_thread_posix.cc
ducalpha/android_tools
5a660b6d4b4e963054a8fea380b7184d908bdd7a
[ "MIT" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/threading/platform_thread.h" #include <errno.h> #include <pthread.h> #include <sched.h> #include <stddef.h> #include <stdint.h> #inclu...
30.676471
80
0.723634
ducalpha
81e43a2f9aa0d4deedde81d90e47d78a3dc333ad
681
cpp
C++
test/unit/math/prim/meta/disjunction_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
test/unit/math/prim/meta/disjunction_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
2
2019-07-23T12:45:30.000Z
2020-05-01T20:43:03.000Z
test/unit/math/prim/meta/disjunction_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#include <stan/math/prim/meta.hpp> #include <gtest/gtest.h> TEST(MathMetaPrim, or_type) { bool temp = stan::math::disjunction<std::true_type, std::true_type, std::true_type>::value; EXPECT_TRUE(temp); temp = stan::math::disjunction<std::false_type, std::false_type, ...
37.833333
69
0.577093
LaudateCorpus1
81e4b7f88888d2272cf3af84dadb9ff704aa1078
9,953
cpp
C++
Graphics Offline 1/Graphics-Offline-1/codes/Wheel.cpp
shamiul94/Graphics-OpenGL-Lab-Assignments
7cbaa91634fe0f254222c42bb147e47979ce2329
[ "MIT" ]
null
null
null
Graphics Offline 1/Graphics-Offline-1/codes/Wheel.cpp
shamiul94/Graphics-OpenGL-Lab-Assignments
7cbaa91634fe0f254222c42bb147e47979ce2329
[ "MIT" ]
null
null
null
Graphics Offline 1/Graphics-Offline-1/codes/Wheel.cpp
shamiul94/Graphics-OpenGL-Lab-Assignments
7cbaa91634fe0f254222c42bb147e47979ce2329
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include <windows.h> #include <glut.h> #define pi (2*acos(0.0)) using namespace std; double cameraHeight; double cameraAngle; int drawgrid; int drawaxes; double angle; double cylinderHeight = 20, cylinderRadius = 30, sphereRadius = 20; double movementOnZaxes = 40, sphereZaxisMovement = 40, ...
24.636139
114
0.555511
shamiul94
81e6a655366f5b01affb9add00a1bf2d59ed9c1d
873
cpp
C++
connected_components.cpp
GautamSachdeva/Number_of_connected_components
d2f7cefaf956660f027e05836a075653390f66c3
[ "MIT" ]
null
null
null
connected_components.cpp
GautamSachdeva/Number_of_connected_components
d2f7cefaf956660f027e05836a075653390f66c3
[ "MIT" ]
null
null
null
connected_components.cpp
GautamSachdeva/Number_of_connected_components
d2f7cefaf956660f027e05836a075653390f66c3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; using std::vector; using std::pair; void depth(vector<vector<int> > &adj ,vector<bool> &visited , int curr_node){ visited[curr_node] = true; for(int i = 0; i < adj[curr_node].size() ; i++){ int v = adj[curr_node][i]; if(!visited[v]) depth(adj,visite...
20.302326
77
0.578465
GautamSachdeva
81e7e0b37b80a1a8a6534fd7a1f96e58c27d798d
16,712
cc
C++
src/ufo/filters/obsfunctions/CLWRetMW.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
4
2020-12-04T08:26:06.000Z
2021-11-20T01:18:47.000Z
src/ufo/filters/obsfunctions/CLWRetMW.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
21
2020-10-30T08:57:16.000Z
2021-05-17T15:11:20.000Z
src/ufo/filters/obsfunctions/CLWRetMW.cc
fmahebert/ufo
2af9b91433553ca473c72fcd131400a01c3aabdb
[ "Apache-2.0" ]
31
2021-06-24T18:07:53.000Z
2021-10-08T15:40:39.000Z
/* * (C) Copyright 2019 UCAR * * 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. */ #include "ufo/filters/obsfunctions/CLWRetMW.h" #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #inclu...
45.045822
99
0.57366
fmahebert
81e8caa080f0e05f4896cf588c709a8e75e495f4
76
hpp
C++
examples/example2/user1.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
1
2022-01-13T07:04:41.000Z
2022-01-13T07:04:41.000Z
examples/example2/user1.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
null
null
null
examples/example2/user1.hpp
ldrozdz93/cpp-visitor-pattern
542dd041178be665c94b9364a3595ff7cb60e40a
[ "MIT" ]
null
null
null
#pragma once #include "base.hpp" int user1_value_by_visitation(Base& base);
19
42
0.789474
ldrozdz93
81ea1d4f7ee99284ee21a9fb7e0e834aaf8adce4
2,437
cpp
C++
test/test_reversed.cpp
memgraph/cppitertools
d990df92820c3493eb1dbdd92fd23463a7089b6b
[ "BSD-2-Clause" ]
2
2017-08-19T08:12:19.000Z
2022-02-23T20:34:33.000Z
test/test_reversed.cpp
memgraph/cppitertools
d990df92820c3493eb1dbdd92fd23463a7089b6b
[ "BSD-2-Clause" ]
null
null
null
test/test_reversed.cpp
memgraph/cppitertools
d990df92820c3493eb1dbdd92fd23463a7089b6b
[ "BSD-2-Clause" ]
null
null
null
#include <reversed.hpp> #include <array> #include <string> #include <utility> #include <vector> #include "catch.hpp" #define DECLARE_REVERSE_ITERATOR #include "helpers.hpp" #undef DECLARE_REVERSE_ITERATOR using iter::reversed; using Vec = const std::vector<int>; TEST_CASE("reversed: can reverse a vector", "[revers...
24.128713
79
0.63808
memgraph
81ec34342b8d7fca921401c10aa3c77c8d4e6ee5
4,438
cpp
C++
src/lib/tide/javascript/js_method.cpp
badlee/TideSDK
fe6f6c93c6cab3395121696f48d3b55d43e1eddd
[ "Apache-2.0" ]
1
2021-09-18T10:10:39.000Z
2021-09-18T10:10:39.000Z
src/lib/tide/javascript/js_method.cpp
hexmode/TideSDK
2c0276de08d7b760b53416bbd8038d79b8474fc5
[ "Apache-2.0" ]
1
2022-02-08T08:45:29.000Z
2022-02-08T08:45:29.000Z
src/lib/tide/javascript/js_method.cpp
hexmode/TideSDK
2c0276de08d7b760b53416bbd8038d79b8474fc5
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2012 - 2014 TideSDK contributors * http://www.tidesdk.org * Includes modified sources under the Apache 2 License * Copyright (c) 2008 - 2012 Appcelerator Inc * Refer to LICENSE for details of distribution and use. **/ #include "javascript_module.h" namespace tide { KKJSMethod::KKJSMetho...
32.15942
104
0.632267
badlee
81ec746e39c96792fecb45725eb7a543a1cd2e87
2,765
hpp
C++
lite/fpga/KD/layout.hpp
banbishan/Paddle-Lite
02517c12c31609f413a1c47a83e25d3fbff07074
[ "Apache-2.0" ]
1
2019-08-21T05:54:42.000Z
2019-08-21T05:54:42.000Z
lite/fpga/KD/layout.hpp
banbishan/Paddle-Lite
02517c12c31609f413a1c47a83e25d3fbff07074
[ "Apache-2.0" ]
null
null
null
lite/fpga/KD/layout.hpp
banbishan/Paddle-Lite
02517c12c31609f413a1c47a83e25d3fbff07074
[ "Apache-2.0" ]
1
2019-10-11T09:34:49.000Z
2019-10-11T09:34:49.000Z
/* Copyright (c) 2019 PaddlePaddle 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...
27.65
76
0.666908
banbishan
81f03799cb719d11f4c00ae5c5f60e01313a0903
854
cpp
C++
August_2020_challange/Day 7.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
August_2020_challange/Day 7.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
August_2020_challange/Day 7.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
/* Problem : Vertical Order Traversal of a Binary Tree */ // Approach make variable x and y and attach them with every node x for horizontal distance and y for vertical distance // Code map<int,set<pair<int,int>>> ans; void pre( TreeNode *root, int horizontal_Level, int vertical_Level ){ if(!root) ...
32.846154
121
0.59719
jv640
81f1b89a3bced4fa9428e1eab4d8b19028256f04
268
cpp
C++
1.cpp
baicaihenxiao/LeetCode-Myself
f88fa5b5e76a913d6d9395d75571c8d7c46d37f5
[ "MIT" ]
null
null
null
1.cpp
baicaihenxiao/LeetCode-Myself
f88fa5b5e76a913d6d9395d75571c8d7c46d37f5
[ "MIT" ]
6
2021-03-31T02:43:24.000Z
2022-01-04T16:40:26.000Z
1.cpp
baicaihenxiao/LeetCode-Myself
f88fa5b5e76a913d6d9395d75571c8d7c46d37f5
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <string> #include <fstream> #include <vector> #include <unordered_map> #include <stack> #include <deque> #include <algorithm> using namespace std; int main() { cout << "Hello World!" << endl; return 0; }
13.4
35
0.660448
baicaihenxiao
81f22282779ab4d0066af37af146da671c028333
312
hpp
C++
rmvmath/types/quaternion_double_type.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/types/quaternion_double_type.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/types/quaternion_double_type.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 4/13/16. // #ifndef RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP #define RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP #include "../quaternion/TQuaternion.hpp" namespace rmmath { typedef quaternion::TQuaternion<double> dquat; } #endif //RMVECTORMATH_QUATERNION_DOUBLE_TYPE_HPP
19.5
50
0.801282
vitali-kurlovich
81f28547a74d8f334bab2fb9b6f11cd76da21412
2,679
cc
C++
chrome/browser/importer/toolbar_importer_utils.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome/browser/importer/toolbar_importer_utils.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/importer/toolbar_importer_utils.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/importer/toolbar_importer_utils.h" #include <string> #include <vector> #include "base/bind.h" #include "base/strings/string...
33.4875
78
0.711459
pozdnyakov
81f2a8043fea1e31ec5aca13a1808b6898969c0e
382
cpp
C++
sledge/test/analyze/FN_ptr_arith_bad.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
2
2021-12-17T13:38:34.000Z
2021-12-17T14:06:53.000Z
sledge/test/analyze/FN_ptr_arith_bad.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
7
2017-12-03T16:09:45.000Z
2018-01-08T15:15:34.000Z
sledge/test/analyze/FN_ptr_arith_bad.cpp
sujin0529/infer
f08a09d6896ac2a22081ead4830eb86c64af8813
[ "MIT" ]
2
2020-06-23T00:43:10.000Z
2022-03-24T06:24:50.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ int main() { auto x = new int[8]; auto y = new int[8]; y[0] = 42; auto x_ptr = x + 8; // one past the end if (x_ptr == &...
20.105263
66
0.586387
sujin0529
81f84de16b7ddce4b6c0ae26e79c0b2ed543fa4b
907
hh
C++
src/pks/flow/FracturePermModel_Linear.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/flow/FracturePermModel_Linear.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/flow/FracturePermModel_Linear.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Flow PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) Linear model for ef...
24.513514
71
0.76516
fmyuan
81fa269334856aaedcbfbc00cbb504cf710def21
970
cpp
C++
3rdParty/boost/1.71.0/libs/hana/example/set/searchable.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/hana/example/set/searchable.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/hana/example/set/searchable.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/assert.hpp> #include <boost/hana/at_key.hpp> #include <boost/hana/equal.hpp> #include <boost/hana/find.hpp> #include <...
37.307692
92
0.705155
rajeev02101987
3b4fe2e7cd59041d8fe62c572e6f3f466ea7a61c
2,736
cpp
C++
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TransitionPoseEvaluator.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TransitionPoseEvaluator.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TransitionPoseEvaluator.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "EnginePrivate.h" #include "Animation/AnimNode_TransitionPoseEvaluator.h" ///////////////////////////////////////////////////// // FAnimNode_TransitionPoseEvaluator FAnimNode_TransitionPoseEvaluator::FAnimNode_TransitionPoseEvaluator() : DataSour...
35.076923
142
0.783991
PopCap
3b506a36b07018b302038cfb8c986422bcefecaf
14,713
hxx
C++
linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-CX/bHYPRE_IJParCSRVector.hxx
pangkeji/warp3d
8b273b337e557f734298940a63291697cd561d02
[ "NCSA" ]
75
2015-07-06T18:14:20.000Z
2022-01-24T02:54:32.000Z
linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-CX/bHYPRE_IJParCSRVector.hxx
pangkeji/warp3d
8b273b337e557f734298940a63291697cd561d02
[ "NCSA" ]
15
2017-04-07T18:09:58.000Z
2022-02-28T01:48:33.000Z
linux_packages/source/hypre-2.9.0b/src/babel/bHYPREClient-CX/bHYPRE_IJParCSRVector.hxx
pangkeji/warp3d
8b273b337e557f734298940a63291697cd561d02
[ "NCSA" ]
41
2015-05-24T23:24:54.000Z
2021-12-13T22:07:45.000Z
// // File: bHYPRE_IJParCSRVector.hxx // Symbol: bHYPRE.IJParCSRVector-v1.0.0 // Symbol Type: class // Babel Version: 1.0.4 // Description: Client-side glue code for bHYPRE.IJParCSRVector // // WARNING: Automatically generated; changes will be lost // // #ifndef included_bHYPRE_IJParCSRVector_h...
23.5408
79
0.613947
pangkeji
3b51973e261c9f2e13c3e999c9cdfd2146978689
8,986
cc
C++
snapshot/test/test_cpu_context.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
snapshot/test/test_cpu_context.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
snapshot/test/test_cpu_context.cc
venge-vimeo/crashpad
7c30a508eb1c5fba3533a1e5570e79b9b2ad37d5
[ "Apache-2.0" ]
null
null
null
// Copyright 2014 The Crashpad 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 ...
29.953333
79
0.649232
venge-vimeo
3b52fb8755de47c005dada8e8640116f3566d69b
61,418
cpp
C++
src/qt/src/gui/painting/qblendfunctions.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
46
2015-01-08T14:32:34.000Z
2022-02-05T16:48:26.000Z
src/qt/src/gui/painting/qblendfunctions.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
7
2015-01-20T14:28:12.000Z
2017-01-18T17:21:44.000Z
src/qt/src/gui/painting/qblendfunctions.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
14
2015-10-27T06:17:48.000Z
2020-03-03T06:15:50.000Z
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
37.33617
254
0.511283
ant0ine
3b536e10d490f9a00b5ca1787c108c2a3f088e25
1,191
cpp
C++
competitive_programming/programming_contests/uri/motoboy.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/motoboy.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/motoboy.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/pt/problems/view/1286 #include <iostream> #include <vector> #include <algorithm> using namespace std; int max(int a, int b) { return a > b? a : b; } struct Obj { int time, pizza; }; bool sortByPizza(Obj obj1, Obj obj2) { if (obj1.pizza < obj2.pizza) return true; e...
20.186441
115
0.525609
LeandroTk
3b586f4a9bf403ae9a5a5c7d52f417ecf11a5bd8
13,160
cpp
C++
mplapack/reference/Chetrf_aa.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
26
2019-03-20T04:06:03.000Z
2022-03-02T10:21:01.000Z
mplapack/reference/Chetrf_aa.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-04T03:32:41.000Z
2021-12-01T07:47:25.000Z
mplapack/reference/Chetrf_aa.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...
38.367347
219
0.38579
Ndersam
3b5925b76ac1fcfbc1cf4036da4a15deda5565f1
3,196
hpp
C++
modules/scene_manager/include/urdf/visibility_control.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/urdf/visibility_control.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/urdf/visibility_control.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017, Open Source Robotics Foundation, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
41.506494
79
0.727472
Omnirobotic
3b59512a3a38616191043a443da2b41c89fb5aae
10,365
cpp
C++
test/xeus_client.cpp
JohanMabille/xeus-python
f7319d1d4e814f8842b8f12376301ce38dfed1e7
[ "BSD-3-Clause" ]
269
2019-12-29T23:50:45.000Z
2022-03-31T06:11:02.000Z
test/xeus_client.cpp
JohanMabille/xeus-python
f7319d1d4e814f8842b8f12376301ce38dfed1e7
[ "BSD-3-Clause" ]
199
2019-12-27T12:45:32.000Z
2022-03-14T17:06:32.000Z
test/xeus_client.cpp
JohanMabille/xeus-python
f7319d1d4e814f8842b8f12376301ce38dfed1e7
[ "BSD-3-Clause" ]
43
2020-01-09T22:37:45.000Z
2022-02-27T01:28:31.000Z
/*************************************************************************** * Copyright (c) 2018, Martin Renou, Johan Mabille, Sylvain Corlay, and * * Wolf Vollprecht * * Copyright (c) 2018, QuantStack * * ...
33.543689
105
0.54877
JohanMabille
3b5966ae0e3db24afa6799df4c5b4dc80b53692c
240
cpp
C++
list1010.cpp
zhangqiangoffice/Explain-C
d804978556ea3000f1718126765606e43223925e
[ "Apache-2.0" ]
null
null
null
list1010.cpp
zhangqiangoffice/Explain-C
d804978556ea3000f1718126765606e43223925e
[ "Apache-2.0" ]
null
null
null
list1010.cpp
zhangqiangoffice/Explain-C
d804978556ea3000f1718126765606e43223925e
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> int main(void) { int i; int vc[5] = {10, 20, 30, 40, 50}; int *ptr = &vc[0]; for (i = 0; i < 5; i++) printf("vc[%d] = %d ptr[%d] = %d *(ptr + %d) = %d\n", i, vc[i], i, ptr[i], i, *(ptr + i)); return (0); }
20
57
0.429167
zhangqiangoffice
3b5dfce7bba25ebda8010d0f04f5f660e7627608
892
cpp
C++
qprogressbar_hook_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qprogressbar_hook_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qprogressbar_hook_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
//****************************************************************************** // Copyright (c) 2005-2013 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the i...
30.758621
80
0.643498
mariuszmaximus
3b5e19002f51f8095c627fcfb44c89a83d29aae5
15,875
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/src/common/LoginWidget.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
31.560636
207
0.553701
ramkumarkoppu
3b5ebd385bb7b7e6513b1cd178a958ebeb5eda6c
7,169
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/test/formulas/intersection.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/test/formulas/intersection.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/test/formulas/intersection.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
// Boost.Geometry // Unit Test // Copyright (c) 2016-2017 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // ...
39.827778
134
0.667318
Wultyc
3b605aebaac58b71a48e68f078aed36a94602d4a
8,211
cpp
C++
src/VAC/IO/XmlStreamConverters/XmlStreamConverter_1_0_to_1_6.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
697
2015-08-08T09:27:02.000Z
2022-03-25T04:38:29.000Z
src/VAC/IO/XmlStreamConverters/XmlStreamConverter_1_0_to_1_6.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
125
2015-08-09T08:45:42.000Z
2022-03-31T11:26:16.000Z
src/VAC/IO/XmlStreamConverters/XmlStreamConverter_1_0_to_1_6.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
64
2015-08-09T10:34:34.000Z
2022-01-03T18:01:57.000Z
// Copyright (C) 2012-2019 The VPaint Developers. // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
29.325
107
0.596273
Qt-Widgets
3b61ee22750667eb92981b7e8e0a85b42ad9f45d
6,668
cpp
C++
lab8/src/2/src/kernel/memory.cpp
YatSenOS/YatSenOS-Tutorial-Volume-1
dc69d576b2cdcece58744eeab4798bd6f1260bb5
[ "MulanPSL-1.0" ]
400
2021-05-30T04:07:44.000Z
2022-03-16T04:47:52.000Z
lab8/src/2/src/kernel/memory.cpp
YatSenOS/YatSenOS-Tutorial-Volume-1
dc69d576b2cdcece58744eeab4798bd6f1260bb5
[ "MulanPSL-1.0" ]
2
2021-10-10T23:55:02.000Z
2021-10-11T06:09:36.000Z
lab8/src/2/src/kernel/memory.cpp
YatSenOS/YatSenOS-Tutorial-Volume-1
dc69d576b2cdcece58744eeab4798bd6f1260bb5
[ "MulanPSL-1.0" ]
38
2021-05-30T04:22:44.000Z
2022-03-14T04:41:52.000Z
#include "memory.h" #include "os_constant.h" #include "stdlib.h" #include "asm_utils.h" #include "stdio.h" #include "program.h" #include "os_modules.h" MemoryManager::MemoryManager() { initialize(); } void MemoryManager::initialize() { this->totalMemory = 0; this->totalMemory = getTotalMemory(); // 预...
26.046875
110
0.613077
YatSenOS
3b621e74b984a64b65282d7af484f2fef4badf25
13,031
cc
C++
file/s3_file.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
72
2019-01-25T09:03:41.000Z
2022-01-16T01:01:55.000Z
file/s3_file.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
35
2019-09-20T05:02:22.000Z
2022-02-14T17:28:58.000Z
file/s3_file.cc
dendisuhubdy/gaia
a988b7f08a4080a3209eba6cb378718486947a68
[ "BSD-2-Clause" ]
15
2018-08-12T13:43:31.000Z
2022-02-09T08:04:27.000Z
// Copyright 2013, Beeri 15. All rights reserved. // Author: Roman Gershman (romange@gmail.com) // #include <fnmatch.h> #include <libs3.h> #include <mutex> #include <unordered_map> #include "base/logging.h" #include "file/s3_file.h" #include "file/file.h" #include "file/file_util.h" #include "strings/strcat.h" name...
32.5775
107
0.670862
dendisuhubdy
3b6251aa2907606b779fd4115b9f2f0d38a22ac3
288
hpp
C++
pythran/pythonic/__builtin__/UserWarning.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/UserWarning.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/UserWarning.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_BUILTIN_USERWARNING_HPP #define PYTHONIC_BUILTIN_USERWARNING_HPP #include "pythonic/include/__builtin__/UserWarning.hpp" #include "pythonic/types/exceptions.hpp" namespace pythonic { namespace __builtin__ { PYTHONIC_EXCEPTION_IMPL(UserWarning) } } #endif
15.157895
55
0.805556
xmar
3b643983e602fd8539a7b121c967ecf189789816
804
cc
C++
RAVL2/Image/Base/RealDVSYUVValue.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Image/Base/RealDVSYUVValue.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Image/Base/RealDVSYUVValue.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
38.285714
86
0.756219
isuhao
3b678a0addf2b3959f949dc84cf3f76fbea1ae2f
8,651
cpp
C++
YorozuyaGSLib/source/VoterDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/VoterDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/VoterDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <VoterDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::VoterDoit2_ptr VoterDoit2_next(nullptr); Info::VoterDoit2_clbk VoterDoit2_user(nullptr); Info::VoterInitialize4_ptr VoterInitialize4_next(nullptr); Info::VoterInitiali...
46.510753
112
0.635765
lemkova
3b6908b7dbf5f6f66cac9172cca25d52bab9a4d7
2,784
hpp
C++
Siv3D/include/Siv3D/BinaryWriter.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/BinaryWriter.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/BinaryWriter.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <memory> # include "Co...
24.637168
80
0.681394
tas9n
3b6d257f9bc5af1f60e7de9e2cef005529eff75d
3,960
cpp
C++
native/androidaudioplugin/android/src/audio-plugin-host-android.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
34
2020-03-05T23:40:44.000Z
2022-03-23T04:50:43.000Z
native/androidaudioplugin/android/src/audio-plugin-host-android.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
87
2020-01-04T14:47:55.000Z
2022-03-31T16:42:11.000Z
native/androidaudioplugin/android/src/audio-plugin-host-android.cpp
atsushieno/android-audio-plugin-framework
f382d5964af24498972e51cbe52af34361a02dc3
[ "MIT" ]
1
2021-01-31T11:16:40.000Z
2021-01-31T11:16:40.000Z
// // Created by atsushi on 2020/01/21. // #include <jni.h> #include <android/log.h> #include <stdlib.h> #include <sys/mman.h> #include <memory> #include "aidl/org/androidaudioplugin/BnAudioPluginInterface.h" #include "aidl/org/androidaudioplugin/BpAudioPluginInterface.h" #include "aap/audio-plugin-host.h" #include "...
32.727273
127
0.717677
atsushieno
3b7171baaf7025f92b310950c21729d04d011e69
727
cpp
C++
TAO/orbsvcs/examples/LoadBalancing/StockFactory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/examples/LoadBalancing/StockFactory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/examples/LoadBalancing/StockFactory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// // $Id: StockFactory.cpp 78900 2007-07-15 13:05:48Z sowayaa $ // #include "StockFactory.h" #include "ace/streams.h" StockFactory::StockFactory (CORBA::ORB_ptr orb, int number) : orb_ (CORBA::ORB::_duplicate (orb)), rhat_ ("RHAT", "RedHat, Inc.", 210), msft_ ("MSFT", "Microsoft, Inc.", 91), number...
22.030303
61
0.629986
cflowe
3b71cd7c8f4d104658fa98bf693f6a494dc504af
24,957
cc
C++
src/transform/vertex_pulling_transform_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
src/transform/vertex_pulling_transform_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
src/transform/vertex_pulling_transform_test.cc
dorba/tint
f81c1081ea7d27ea55f373c0bfaf651e491da7e6
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
24.18314
80
0.555075
dorba
3b72baed5ee2814e04e45b53b455cb616676cc2f
234,149
cpp
C++
openjdk/jdk/src/windows/native/sun/windows/awt_Component.cpp
liumapp/compiling-jvm
962f37e281f4d9ec03486d9380c43b7260790eaa
[ "Apache-2.0" ]
null
null
null
openjdk/jdk/src/windows/native/sun/windows/awt_Component.cpp
liumapp/compiling-jvm
962f37e281f4d9ec03486d9380c43b7260790eaa
[ "Apache-2.0" ]
null
null
null
openjdk/jdk/src/windows/native/sun/windows/awt_Component.cpp
liumapp/compiling-jvm
962f37e281f4d9ec03486d9380c43b7260790eaa
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
32.816959
119
0.611213
liumapp
3b72dffedf31ab9716ad1fbeccc9a2fc976f1b7a
9,363
cpp
C++
src/xml.cpp
Lieutenant-Debaser/rom-checksum
45104adc2280dac448b9f37e7b637909e69f760c
[ "MIT" ]
null
null
null
src/xml.cpp
Lieutenant-Debaser/rom-checksum
45104adc2280dac448b9f37e7b637909e69f760c
[ "MIT" ]
null
null
null
src/xml.cpp
Lieutenant-Debaser/rom-checksum
45104adc2280dac448b9f37e7b637909e69f760c
[ "MIT" ]
null
null
null
/* File: xml.cpp * Author: Lieutenant Debaser * Last Update (yyyy-mm-dd_hhMM): 2022-01-27_1441 * * File contains definitions for the Xml class functions, along with constructor definitions. Functions for handling * searching within strings and XML data are also defined here. * * See xml.h for Xml class definit...
27.866071
126
0.579729
Lieutenant-Debaser
3b74323558aaa8402247e8e5391afc1c73f7dc80
3,969
hpp
C++
3rdParty/boost/1.71.0/libs/thread/test/shared_mutex_locking_thread.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/thread/test/shared_mutex_locking_thread.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/thread/test/shared_mutex_locking_thread.hpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
#ifndef SHARED_MUTEX_LOCKING_THREAD_HPP #define SHARED_MUTEX_LOCKING_THREAD_HPP // (C) Copyright 2008 Anthony Williams // // 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) #include <boost/thread/mutex.hpp> #i...
29.842105
75
0.648274
rajeev02101987
3b76373f85b176cc4fed368925a435e3857faf74
1,938
cpp
C++
Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/analysis/rosic_PitchDetector.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//#include "rosic_PitchDetector.h" //using namespace rosic; // Construction/Destruction: PitchDetector::PitchDetector() : formantRemover(30) { // initialize parameters: sampleRate = 44100.0; sampleRateRec = 1.0/sampleRate; minFundamental = 20.0; maxFundamental = 10000.0; minPeriod ...
25.168831
63
0.701754
RobinSchmidt
3b78e97df9a17ef8b3dbc3a2fbd3277645971109
769
cpp
C++
examples/indent_align_string/false_01.unc.cpp
beardog-ukr/uncrustify-config-examples
23308192b377107cf287bdb073ae7eccbbf06383
[ "Unlicense" ]
1
2021-06-23T00:12:23.000Z
2021-06-23T00:12:23.000Z
examples/indent_align_string/false_01.unc.cpp
beardog-ukr/uncrustify-config-examples
23308192b377107cf287bdb073ae7eccbbf06383
[ "Unlicense" ]
null
null
null
examples/indent_align_string/false_01.unc.cpp
beardog-ukr/uncrustify-config-examples
23308192b377107cf287bdb073ae7eccbbf06383
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> std::string zz = "Lorem ipsum dolor sit amet, \ consectetur adipiscing elit. \ Cras fermentum id diam sit amet consequat."; std::string z2 = "Lorem ipsum dolor sit amet," "consectetur adipiscing elit." "Cras fermentum id diam sit amet consequat."...
26.517241
64
0.598179
beardog-ukr
3b7a9132f2eb951e62f7961b8d82e92d7baa00fa
2,127
cc
C++
desktop_drag_drop_client_egl.cc
zenoalbisser/ozone-egl
764fa502f28eab052c2f6e9eb992042190c544c4
[ "BSD-3-Clause" ]
null
null
null
desktop_drag_drop_client_egl.cc
zenoalbisser/ozone-egl
764fa502f28eab052c2f6e9eb992042190c544c4
[ "BSD-3-Clause" ]
null
null
null
desktop_drag_drop_client_egl.cc
zenoalbisser/ozone-egl
764fa502f28eab052c2f6e9eb992042190c544c4
[ "BSD-3-Clause" ]
null
null
null
/* * --------------------------------------------------------------------------------- * Copyright (C) 2015 STMicroelectronics - All Rights Reserved * * May be copied or modified under the terms of the LGPL v2.1. * * ST makes no warranty express or implied including but not limited to, * any warranty of * * ...
31.279412
84
0.64598
zenoalbisser
3b7bd09b13852fcf3685def0a40a79b41223cefa
350
cpp
C++
src/decoderms3bits.cpp
leroythelegend/rough_idea_pcars
07ead73fa04402c860b21039d5aa8c22a33a7d93
[ "MIT" ]
4
2018-08-09T00:44:01.000Z
2021-07-03T08:26:39.000Z
src/decoderms3bits.cpp
ejmhub/rough_idea_project_cars
d7cd062cbff2a1df82b5a623205d9c1920c41b1c
[ "MIT" ]
1
2018-02-02T10:44:43.000Z
2018-02-02T10:44:43.000Z
src/decoderms3bits.cpp
ejmhub/rough_idea_project_cars
d7cd062cbff2a1df82b5a623205d9c1920c41b1c
[ "MIT" ]
1
2018-11-24T09:12:51.000Z
2018-11-24T09:12:51.000Z
#include "decoderms3bits.h" #include "exception.h" namespace pcars { Decoder_MS3bits::Decoder_MS3bits() : num_(0) { } Decoder_MS3bits::~Decoder_MS3bits() { } void Decoder_MS3bits::decode(const PCars_Data & data, Position & position) { num_ = (data.at(position) >> 4) & 7; } unsigned int Decoder_MS3bits::ms3bits(...
14.583333
76
0.702857
leroythelegend
3b7c4cc83c8dfa32e9e58d8596ccd7e8ca91ca99
1,212
cpp
C++
lib/IDEDiagnostics.cpp
clagah/mull
9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99
[ "Apache-2.0" ]
null
null
null
lib/IDEDiagnostics.cpp
clagah/mull
9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99
[ "Apache-2.0" ]
null
null
null
lib/IDEDiagnostics.cpp
clagah/mull
9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99
[ "Apache-2.0" ]
1
2019-06-10T02:43:04.000Z
2019-06-10T02:43:04.000Z
#include "mull/IDEDiagnostics.h" #include "mull/MutationPoint.h" #include <llvm/IR/DebugInfoMetadata.h> #include <llvm/IR/Instruction.h> #include <llvm/Support/raw_ostream.h> using namespace mull; using namespace llvm; void NormalIDEDiagnostics::report(mull::MutationPoint *mutationPoint, ...
25.787234
75
0.65099
clagah
3b7ca17731a5b04fe48163b077b1b540d96b64e7
1,108
cpp
C++
structure/develop/vertex-set-path-sum.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
127
2019-07-22T03:52:01.000Z
2022-03-11T07:20:21.000Z
structure/develop/vertex-set-path-sum.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
39
2019-09-16T12:04:53.000Z
2022-03-29T15:43:35.000Z
structure/develop/vertex-set-path-sum.cpp
neal2018/library
a19f3b29f3355e32f7e5f6768a7943db48fcdff7
[ "Unlicense" ]
29
2019-08-10T11:27:06.000Z
2022-03-11T07:02:43.000Z
#include "super-link-cut-tree.cpp" /** * @brief Vertex Set Path Sum */ using T = int64_t; // 遅延伝搬をするための作用素 struct Lazy { // 単位元 Lazy() {} // 初期化 Lazy(T v) {} // 遅延伝搬 void propagate(const Lazy &p) {} }; // Light-edge の情報 template< typename Lazy > struct LInfo { // 単位元(キーの値はアクセスしないので未初期化でもよい LInf...
15.605634
61
0.610108
neal2018
3b7d630543b9cb400341ab7d41ee743df1f52d45
14,750
cc
C++
content/browser/renderer_host/image_transport_factory.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
content/browser/renderer_host/image_transport_factory.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
content/browser/renderer_host/image_transport_factory.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/image_transport_factory.h" #include <algorithm> #include <map> #include "base/bind.h" #include "base/command...
32.632743
91
0.736339
gavinp
3b85c60b7bb76ea7e59aa9a287054ad60c3046e2
15,328
cpp
C++
modules/diagnostics/diagnostics.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
modules/diagnostics/diagnostics.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
modules/diagnostics/diagnostics.cpp
Clyde-Beep/sporks-test
c760d68c23a12dcc5c1a48ee0fc5e26c344f5c07
[ "Apache-2.0" ]
null
null
null
/************************************************************************************ * * Sporks, the learning, scriptable Discord bot! * * Copyright 2019 Craig Edwards <support@sporks.gg> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
38.41604
254
0.545472
Clyde-Beep
3b864bd71f412be269bb407f331dfad51a2a33b2
754
cpp
C++
Programs/ColladaConverter/Collada15/FCollada/FMath/FMAngleAxis.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ColladaConverter/Collada15/FCollada/FMath/FMAngleAxis.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ColladaConverter/Collada15/FCollada/FMath/FMAngleAxis.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FMAngleAxis.h" // // FMAngleAxis // FMAngleAxis::FMAngleAxis() ...
20.378378
97
0.651194
stinvi
3b872581b6730fc593c5e0c4436e78be88e664f4
5,604
hpp
C++
src/Utilities/FakeVirtual.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/Utilities/FakeVirtual.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/Utilities/FakeVirtual.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <type_traits> #include <typeinfo> #include "ErrorHandling/Error.hpp" #include "Utilities/PrettyType.hpp" #include "Utilities/Requires.hpp" #include "Utilities/TMPL.hpp" #include "Utilities/TypeTraits.hpp" /// \ingroup Utilit...
48.310345
80
0.563169
marissawalker
3b87ec6a310a6a48f6766cd44c12d4082e622cd7
238
cpp
C++
2017_05_29_GameStateManager/IGameState_old.cpp
DarthDementous/2017_05_29_GameStateManagement
207d3bbd2d5184a32a1437d4417343b696f60e60
[ "MIT" ]
null
null
null
2017_05_29_GameStateManager/IGameState_old.cpp
DarthDementous/2017_05_29_GameStateManagement
207d3bbd2d5184a32a1437d4417343b696f60e60
[ "MIT" ]
null
null
null
2017_05_29_GameStateManager/IGameState_old.cpp
DarthDementous/2017_05_29_GameStateManagement
207d3bbd2d5184a32a1437d4417343b696f60e60
[ "MIT" ]
null
null
null
#include "IGameState.h" #include "_2017_05_29_GameStateManagerApp.h" #include <Application.h> #pragma region Constructors IGameState::IGameState(aie::Application* a_app) : m_app(a_app) {} IGameState::~IGameState() { } #pragma endregion
19.833333
65
0.773109
DarthDementous
3b88994e9f2bba31d5310cd887f4d29babc32da0
2,239
cpp
C++
libraries/MySensors/core/MyTransportRFM95.cpp
kaniick/Growtek-Controller
9826776fa1c6f835c84f62dac84e1848509d9e76
[ "MIT" ]
null
null
null
libraries/MySensors/core/MyTransportRFM95.cpp
kaniick/Growtek-Controller
9826776fa1c6f835c84f62dac84e1848509d9e76
[ "MIT" ]
null
null
null
libraries/MySensors/core/MyTransportRFM95.cpp
kaniick/Growtek-Controller
9826776fa1c6f835c84f62dac84e1848509d9e76
[ "MIT" ]
null
null
null
/* * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the *...
24.075269
82
0.742742
kaniick
3b8b4dd936642a50874ddf4d96dcf5027ed46148
443
cpp
C++
src/helped/stdafx.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/helped/stdafx.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/helped/stdafx.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ // stdafx.cpp : source file that includes just the standard includes // HelpE...
26.058824
78
0.733634
ptitSeb
3b8d67b84d6079ac4fc905fac94d103c906f2d3e
3,397
cpp
C++
storage/storage_integration_tests/storage_downloading_tests.cpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
1
2021-07-02T08:45:02.000Z
2021-07-02T08:45:02.000Z
storage/storage_integration_tests/storage_downloading_tests.cpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
1
2020-06-15T15:16:23.000Z
2020-06-15T15:59:19.000Z
storage/storage_integration_tests/storage_downloading_tests.cpp
maksimandrianov/omim
cbc5a80d09d585afbda01e471887f63b9d3ab0c2
[ "Apache-2.0" ]
1
2018-10-01T10:27:21.000Z
2018-10-01T10:27:21.000Z
#include "testing/testing.hpp" #include "storage/storage_integration_tests/test_defines.hpp" #include "storage/storage.hpp" #include "platform/local_country_file_utils.hpp" #include "platform/mwm_version.hpp" #include "platform/platform.hpp" #include "platform/platform_tests_support/scoped_dir.hpp" #include "platfor...
27.176
96
0.743597
Barysman
3b8f3e6c815e4d483f03628723a32b0e543bfb76
1,434
hpp
C++
Code/Foundation/SpatialPartition/SpatialPartitionStandard.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Code/Foundation/SpatialPartition/SpatialPartitionStandard.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
Code/Foundation/SpatialPartition/SpatialPartitionStandard.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once // Standard includes #include "Foundation/Geometry/GeometryStandard.hpp" #include "Foundation/Serialization/SerializationStandard.hpp" namespace Zero { // SpatialPartition library class ZeroNoImportExport SpatialPartitionLibrary : public Zilch::StaticLibrary { public: ...
27.056604
78
0.806137
WelderUpdates
3b8ff879cc0962061baa0750af07664605e96750
1,299
cpp
C++
src/Sova/Graphics/Color.cpp
connorcarpenter/sova
3b640bea83c7fe1013196977c39a27e7cd4947ec
[ "MIT" ]
null
null
null
src/Sova/Graphics/Color.cpp
connorcarpenter/sova
3b640bea83c7fe1013196977c39a27e7cd4947ec
[ "MIT" ]
null
null
null
src/Sova/Graphics/Color.cpp
connorcarpenter/sova
3b640bea83c7fe1013196977c39a27e7cd4947ec
[ "MIT" ]
null
null
null
// // Created by connor on 7/29/18. // #include "Color.h" namespace Sova { Color::Color(int red, int green, int blue) { this->red = red; this->green = green; this->blue = blue; } Color Color::Red = Color(255, 0, 0); Color Color::Green = Color(0, 255, 0); Color Color::B...
28.866667
98
0.558122
connorcarpenter
3b9114112533cdb7840fca15584b7e577a4cdc07
4,115
cpp
C++
src/zaurus/zinfones.cpp
jay-kumogata/InfoNES
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
6
2019-05-10T02:09:55.000Z
2021-09-16T09:10:14.000Z
src/zaurus/zinfones.cpp
b004004/InfoNES-1
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
null
null
null
src/zaurus/zinfones.cpp
b004004/InfoNES-1
045dd572123753cd53bbbcd387b70a66d0a8562c
[ "Apache-2.0" ]
1
2019-05-10T16:02:51.000Z
2019-05-10T16:02:51.000Z
/*===================================================================*/ /* */ /* zinfones.cpp : A Qt-specific class implementation */ /* */ /* 2004/06/26 InfoNES Project ...
23.786127
71
0.425516
jay-kumogata
3b91694bd335b3e5d4b0626ab2ee37b7ea90ea3c
2,026
cpp
C++
Homework_Seminar_2/Homework_Seminar_2/main.cpp
AlexStoyanova/UP-FMI
fe0d3a0410645cc0e132d6728d8ee26067c025dc
[ "MIT" ]
4
2018-09-27T20:33:19.000Z
2020-03-31T19:19:58.000Z
Homework_Seminar_2/Homework_Seminar_2/main.cpp
AlexStoyanova/UP-FMI
fe0d3a0410645cc0e132d6728d8ee26067c025dc
[ "MIT" ]
null
null
null
Homework_Seminar_2/Homework_Seminar_2/main.cpp
AlexStoyanova/UP-FMI
fe0d3a0410645cc0e132d6728d8ee26067c025dc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int MAX_SIZE = 100; //2. int positionLetter(const char *str, char letter, size_t n, size_t start = 0) { if (start == (strlen(str) + 1)) { return -1; } if (str[start] == letter) { n--; } if (n == 0) { return start; } return positionLetter(str, letter, n, s...
15.705426
124
0.572063
AlexStoyanova
3b9348c67b2dbb10e9cb75758561c81519fc0cb8
1,830
hh
C++
unittests/libtests/bc/TestTimeDependent.hh
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-09-09T06:24:11.000Z
2021-09-09T06:24:11.000Z
unittests/libtests/bc/TestTimeDependent.hh
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
unittests/libtests/bc/TestTimeDependent.hh
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
23.461538
73
0.615301
joegeisz
3b935e6251bb8a396afc11a71d6fdb4b5b0e56c0
112
cpp
C++
Dataset/Leetcode/train/75/164.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/164.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/164.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<int>& nums) { return sort(nums.begin(),nums.end()); } };
14
42
0.580357
kkcookies99
3b94feda02b7dff6720c3999e539581fdf424e62
33,509
cpp
C++
Blizzlike/Trinity/Scripts/Dungeons/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Dungeons/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Dungeons/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
35.534464
355
0.520756
499453466
3b962e4338ccd3f5d92c68775b21a40475ae4513
292
cpp
C++
server/src/coverage/Coverage.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
server/src/coverage/Coverage.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
server/src/coverage/Coverage.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved. */ #include "Coverage.h" int Coverage::TestStatusMap::getNumberOfTests() { int cnt = 0; for (auto const &[fileName, testsStatus] : *this) { cnt += testsStatus.size(); } return cnt; }
20.857143
78
0.626712
PolyProgrammist
3b973b9b15b5571661f88bb58dd8bcfb355ad1e9
709
cpp
C++
jp.atcoder/abc021/abc021_c/11693515.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc021/abc021_c/11693515.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc021/abc021_c/11693515.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int MOD = 1e9 + 7; int main() { ios::sync_with_stdio(false); cin.tie(0); int n, a, b, m; cin >> n >> a >> b >> m; a--; b--; vector<vector<int>> graph(n, vector<int>(n, 0)); for (int i = 0; i < m; i++) { int x, y; cin >> x >> y; x--...
19.694444
51
0.4189
kagemeka
3b9762bea0ab3c3b8887b4092b09f9ae47991d52
26,165
cc
C++
plugin/plugin.cc
abique/vst-bridge
2fd29f806c4a54e3f97367974a3d48b9eabb10f7
[ "MIT" ]
235
2015-02-14T03:02:13.000Z
2022-03-30T04:46:40.000Z
plugin/plugin.cc
abique/vst-bridge
2fd29f806c4a54e3f97367974a3d48b9eabb10f7
[ "MIT" ]
9
2015-11-04T18:17:49.000Z
2020-12-01T14:40:04.000Z
plugin/plugin.cc
abique/vst-bridge
2fd29f806c4a54e3f97367974a3d48b9eabb10f7
[ "MIT" ]
16
2015-06-12T20:10:00.000Z
2020-12-01T14:37:29.000Z
#include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> #include <limits.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <pthread.h> #include <signal.h> #include <list> #include <X11/Xlib.h> #define __cdecl #include "../config.h" #include "....
29.971363
101
0.610587
abique
3b97f16d567a84132aa5436e779ecbccf7fe2e2d
3,357
cpp
C++
src/Linear/EqualConstrOptimize.cpp
alibabach/deformabletracker
1ef5631f7d91488da27abd83b468e2668670ad9d
[ "BSD-2-Clause-FreeBSD" ]
29
2015-09-07T17:51:22.000Z
2022-01-14T08:48:11.000Z
src/Linear/EqualConstrOptimize.cpp
alibabach/deformabletracker
1ef5631f7d91488da27abd83b468e2668670ad9d
[ "BSD-2-Clause-FreeBSD" ]
1
2017-12-07T07:58:19.000Z
2017-12-07T09:26:39.000Z
src/Linear/EqualConstrOptimize.cpp
alibabach/deformabletracker
1ef5631f7d91488da27abd83b468e2668670ad9d
[ "BSD-2-Clause-FreeBSD" ]
5
2016-08-10T05:16:18.000Z
2020-12-30T20:13:31.000Z
////////////////////////////////////////////////////////////////////////// // Author : Ngo Tien Dat // Email : dat.ngo@epfl.ch // Organization : EPFL // Purpose : Solve generic EQUALITY constrained optimization problem // Date : 30 March 2012 ///////////////////////////////////////////////////...
30.798165
113
0.583855
alibabach
3b98ff0957863265a00e6cb4c3e060a38294ca65
13,936
cc
C++
lib/sanitizer_common/sanitizer_procmaps_mac.cc
hfinkel/compiler-rt-bgq
5c116694a5ed7267288d9ea5723b6a651321d271
[ "MIT" ]
null
null
null
lib/sanitizer_common/sanitizer_procmaps_mac.cc
hfinkel/compiler-rt-bgq
5c116694a5ed7267288d9ea5723b6a651321d271
[ "MIT" ]
null
null
null
lib/sanitizer_common/sanitizer_procmaps_mac.cc
hfinkel/compiler-rt-bgq
5c116694a5ed7267288d9ea5723b6a651321d271
[ "MIT" ]
null
null
null
//===-- sanitizer_procmaps_mac.cc -----------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.577428
80
0.67975
hfinkel
3b9c73b53ebe56aca4b24d1c603bae36c5ce69af
6,495
cpp
C++
src/Data.cpp
IgnacioCofre/proyecto_tesis
e26b3fa1a7aba443fda64abfc2dc0208241088d9
[ "MIT" ]
1
2022-03-04T19:10:22.000Z
2022-03-04T19:10:22.000Z
src/Data.cpp
IgnacioCofre/proyecto_tesis
e26b3fa1a7aba443fda64abfc2dc0208241088d9
[ "MIT" ]
null
null
null
src/Data.cpp
IgnacioCofre/proyecto_tesis
e26b3fa1a7aba443fda64abfc2dc0208241088d9
[ "MIT" ]
null
null
null
#include "../includes/data.h" void Data::read_input_file(const char * input_path) { FILE * pFile; pFile = fopen (input_path,"r"); //lectura del archivo if(!pFile) { std::cerr << "Problem while reading instance" << std::endl; exit(EXIT_FAILURE); } //numero de articulos i...
29.522727
121
0.570285
IgnacioCofre
3b9cfda324df3847fa21884757a5432c49bcc3b3
1,459
hpp
C++
src/lib/storage/chunk.hpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
src/lib/storage/chunk.hpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
src/lib/storage/chunk.hpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
#pragma once // the linter wants this to be above everything else #include <shared_mutex> #include <atomic> #include <memory> #include <string> #include <vector> #include "all_type_variant.hpp" #include "types.hpp" namespace opossum { class BaseIndex; class BaseColumn; // A chunk is a horizontal partition of a ta...
27.018519
102
0.732008
lawben
3b9f2a094c4999dc0e3b8e9841087037c00e2094
530
hpp
C++
include/mtac/Pass.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
24
2015-10-08T23:08:50.000Z
2021-09-18T21:15:01.000Z
include/mtac/Pass.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
1
2016-02-29T20:20:45.000Z
2016-03-03T07:16:53.000Z
include/mtac/Pass.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
5
2015-08-09T09:53:52.000Z
2021-09-18T21:15:05.000Z
//======================================================================= // Copyright Baptiste Wicht 2011-2016. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #ifndef M...
20.384615
73
0.516981
wichtounet
3ba0e30c39e4243ec34c08e80036d27eee070040
10,174
cpp
C++
src/scripts/scripts/eastern_kingdoms/zulgurub/boss_jindo.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
1
2018-01-17T08:11:17.000Z
2018-01-17T08:11:17.000Z
src/scripts/scripts/eastern_kingdoms/zulgurub/boss_jindo.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
src/scripts/scripts/eastern_kingdoms/zulgurub/boss_jindo.cpp
Subv/diamondcore
e11891587736b6308e554f71cb56e8df1a1812ad
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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 License, or * (at your option) any l...
36.729242
190
0.637311
Subv
3ba56f4f1dddd083eaae7359df3c4759ba0e0d29
4,111
cpp
C++
src/org/apache/poi/ss/formula/UserDefinedFunction.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/UserDefinedFunction.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/UserDefinedFunction.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/UserDefinedFunction.java #include <org/apache/poi/ss/formula/UserDefinedFunction.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/Class.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/NullPointerException.hpp> #include <jav...
32.117188
188
0.689856
pebble2015
3ba5a1fe2d80001dd4ac49930452d6a544ebf7b4
1,453
cpp
C++
trunk/src/bls/BlsServerSelector.cpp
almondyoung/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
141
2015-01-07T15:54:55.000Z
2021-09-21T13:56:30.000Z
trunk/src/bls/BlsServerSelector.cpp
mol310/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
5
2015-03-02T09:22:26.000Z
2018-10-18T08:13:50.000Z
trunk/src/bls/BlsServerSelector.cpp
mol310/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
84
2015-01-15T07:04:25.000Z
2020-08-09T16:14:58.000Z
#include "BlsServerSelector.hpp" #include <MStringList> #include "BlsConf.hpp" BlsServerSelector::BlsServerSelector() { m_conhash = conhash_init(NULL); } BlsServerSelector::~BlsServerSelector() { conhash_fini(m_conhash); } BlsServerSelector *BlsServerSelector::instance() { static BlsS...
21.686567
86
0.636614
almondyoung
3ba6cf7e75f18e1276020255d3225ca2c9687582
828
cpp
C++
AOJ/ALDS1/4/d/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
AOJ/ALDS1/4/d/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
AOJ/ALDS1/4/d/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a), i##_max = (b); i < i##_max; ++i) #define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) #define ALL(obj) (obj).begin(), (obj).end() using namespace std; using i64 = int64_t; constexpr int INF = 1 << 30; constexpr int MOD = 1000000007; int ch...
19.255814
71
0.479469
eduidl
3ba96ffacd1797c174228c069609e349b61f6d0f
366
cpp
C++
CodeForces.com/educational_rounds/er3/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
CodeForces.com/educational_rounds/er3/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
CodeForces.com/educational_rounds/er3/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; vector<int> genres(10); int main(){ ios::sync_with_stdio(false); int n,m,tmp; int answer=0; cin >> n >> m; for(int i=0;i<n; i++) { cin >> tmp; genres[tmp-1]++; } for(int i =0; i<m; i++) for(int j=i+1; j<m; j++) answer+=genres[...
17.428571
32
0.551913
mstrechen
3baab6069e5228d4dbe314cb9c6a8a3ba7534765
5,705
cc
C++
runtime/src/iree/vm/bytecode_dispatch_async_test.cc
nithinsubbiah/iree
719856b9f45a5e3685a37bd87db62081a53cb4f9
[ "Apache-2.0" ]
null
null
null
runtime/src/iree/vm/bytecode_dispatch_async_test.cc
nithinsubbiah/iree
719856b9f45a5e3685a37bd87db62081a53cb4f9
[ "Apache-2.0" ]
null
null
null
runtime/src/iree/vm/bytecode_dispatch_async_test.cc
nithinsubbiah/iree
719856b9f45a5e3685a37bd87db62081a53cb4f9
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Tests covering the dispatch logic for individual ops. // // iree/vm/test/async_ops.mlir contai...
34.36747
80
0.709202
nithinsubbiah
3bacd0b6c5523beea6a162f135dcc168f2f462d6
46,095
cpp
C++
src/Meta_Auto_Code.cpp
ciyam/ciyam
f25d25145caca7e75de11ba0a3dac818254eb61a
[ "MIT" ]
15
2015-02-22T19:45:05.000Z
2020-04-12T01:50:57.000Z
src/Meta_Auto_Code.cpp
ciyam/ciyam
f25d25145caca7e75de11ba0a3dac818254eb61a
[ "MIT" ]
1
2017-04-15T15:58:43.000Z
2017-04-15T15:58:43.000Z
src/Meta_Auto_Code.cpp
ciyam/ciyam
f25d25145caca7e75de11ba0a3dac818254eb61a
[ "MIT" ]
14
2016-11-06T18:20:06.000Z
2021-06-27T13:01:50.000Z
// Copyright (c) 2012-2021 CIYAM Developers // // Distributed under the MIT/X11 software license, please refer to the file license.txt // in the root project directory or http://www.opensource.org/licenses/mit-license.php. #ifdef PRECOMPILE_H # include "precompile.h" #endif #pragma hdrstop #ifndef HAS_PRECOMPILED_ST...
25.910624
124
0.67708
ciyam
3bb205d82c7a90242d419db7e5da2db8fca07f7b
420
cpp
C++
src/roq/samples/example-4/config.cpp
roq-trading/examples
1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba
[ "BSD-3-Clause" ]
null
null
null
src/roq/samples/example-4/config.cpp
roq-trading/examples
1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba
[ "BSD-3-Clause" ]
null
null
null
src/roq/samples/example-4/config.cpp
roq-trading/examples
1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2022, Hans Erik Thrane */ #include "roq/samples/example-4/config.hpp" #include "roq/samples/example-4/flags.hpp" namespace roq { namespace samples { namespace example_4 { void Config::dispatch(Handler &handler) const { handler(client::Symbol{ .regex = Flags::symbols(), .exchange ...
20
47
0.678571
roq-trading
3bb247c2a2669ee3b24f359d2639d9bb0dbdbb0d
7,737
hxx
C++
OCC/inc/Prs3d_DatumAspect.hxx
cy15196/FastCAE
0870752ec2e590f3ea6479e909ebf6c345ac2523
[ "BSD-3-Clause" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/Prs3d_DatumAspect.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
33
2019-11-13T18:09:51.000Z
2021-11-26T17:24:12.000Z
opencascade/Prs3d_DatumAspect.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1993-07-30 // Created by: Jean-Louis FRENKEL // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the...
43.960227
133
0.779113
cy15196
3bb4800991fff29b1a82a180d581df476a52d2f0
2,401
cpp
C++
geomFuncs.cpp
kamino410/CudaSift
21d98443f919f877246aadde1d5e1c16fb7afa14
[ "MIT" ]
null
null
null
geomFuncs.cpp
kamino410/CudaSift
21d98443f919f877246aadde1d5e1c16fb7afa14
[ "MIT" ]
null
null
null
geomFuncs.cpp
kamino410/CudaSift
21d98443f919f877246aadde1d5e1c16fb7afa14
[ "MIT" ]
null
null
null
#include <Eigen/Dense> #include <cmath> #include <iostream> #include "cudaSift.h" int ImproveHomography(SiftData &data, float *homography, int numLoops, float minScore, float maxAmbiguity, float thresh) { #ifdef MANAGEDMEM SiftPoint *mpts = data.m_data; #else if (data.h_data == NULL) return ...
34.797101
86
0.512703
kamino410
3bb8f845ec8bb4eff8981c1f6ee8a36d679cf795
6,242
cpp
C++
lib/Dialect/SV/Transforms/PrettifyVerilog.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
lib/Dialect/SV/Transforms/PrettifyVerilog.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
lib/Dialect/SV/Transforms/PrettifyVerilog.cpp
mwachs5/circt
bd7edb5c449921cb36939ebb5943e4fe73f72899
[ "Apache-2.0" ]
null
null
null
//===- PrettifyVerilog.cpp - Transformations to improve Verilog quality ---===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
35.265537
80
0.652515
mwachs5
3bb95502baba167e88252c98f10a78d2b1cfe69e
6,052
cc
C++
third_party/blink/renderer/core/layout/jank_tracker.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/layout/jank_tracker.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/layout/jank_tracker.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "third_party/blink/renderer/core/layout/jank_tracker.h" #include "third_party/blink/renderer/core/frame/local_dom_window.h" #include "third_part...
37.358025
79
0.667878
zipated
3bb99a1bef9765fa1b27d0d99e5462aad873ef39
4,201
cpp
C++
android/android_42/native/libs/utils/WorkQueue.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/libs/utils/WorkQueue.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/libs/utils/WorkQueue.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2012 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...
24.424419
83
0.597001
yakuizhao
3bba94a2dc61eae4b9c5ed9bb65bc515ea0ed1c7
1,953
cpp
C++
snippets/cpp/VS_Snippets_CLR_System/system.Array.Resize/CPP/System.Array.Resize.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Array.Resize/CPP/System.Array.Resize.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Array.Resize/CPP/System.Array.Resize.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// The following example shows how resizing affects the array. // <Snippet1> using namespace System; static void PrintIndexAndValues(array<String^>^myArr) { for(int i = 0; i < myArr->Length; i++) { Console::WriteLine(L" [{0}] : {1}", i, myArr[i]); } Console::WriteLine(); } int main() { ...
23.25
75
0.605223
BohdanMosiyuk
3bbcec8abd7bb34587856268c2da025b8bec56d4
615
cc
C++
flow/layers/layer.cc
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
1
2021-08-13T08:19:40.000Z
2021-08-13T08:19:40.000Z
flow/layers/layer.cc
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
null
null
null
flow/layers/layer.cc
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 "flutter/flow/layers/layer.h" #include "third_party/skia/include/core/SkColorFilter.h" namespace flow { Layer::Layer() : parent_(nullptr), has...
29.285714
79
0.713821
abarth
3bc0b13dff18c8ab8d1ed82e90de4608b4e55925
13,346
cpp
C++
src/observation/observation.cpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/observation/observation.cpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/observation/observation.cpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // 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 // // ...
33.199005
100
0.533119
bburns
3bc59c50dfbbd632d0a260139a89d38c9d9d29f8
1,708
cpp
C++
tests/test/ported_libs/test_ffmpeg.cpp
kubasz/faasm
fa4cec66176c669c161f097d24edce099de66919
[ "Apache-2.0" ]
278
2020-10-01T16:37:06.000Z
2022-03-31T07:06:01.000Z
tests/test/ported_libs/test_ffmpeg.cpp
kubasz/faasm
fa4cec66176c669c161f097d24edce099de66919
[ "Apache-2.0" ]
78
2020-10-01T18:46:16.000Z
2022-03-18T15:39:03.000Z
tests/test/ported_libs/test_ffmpeg.cpp
kubasz/faasm
fa4cec66176c669c161f097d24edce099de66919
[ "Apache-2.0" ]
24
2020-10-21T18:45:48.000Z
2022-03-26T08:59:41.000Z
#include <catch2/catch.hpp> #include "utils.h" #include <boost/filesystem.hpp> #include <fstream> #include <iterator> #include <vector> #include <faabric/util/files.h> #include <storage/FileLoader.h> #include <storage/SharedFiles.h> #include <upload/UploadServer.h> namespace tests { // NOTE: we must be careful with...
24.753623
78
0.666276
kubasz
3bc6825be74cb2e766fa26ca42ebc8bebc14cf62
673
cpp
C++
Interview Bit/Pick from both sides.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
Interview Bit/Pick from both sides.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
Interview Bit/Pick from both sides.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
void fillSuffix(vector<int> &A,vector<int> &arr){ int n=A.size(); arr[n]=0; for(int i=n-1;i>=0;i--){ arr[i]=arr[i+1]+A[i]; } } void fillPrefix(vector<int> &A,vector<int> &arr){ arr[0]=0; for(int i=1;i<arr.size();i++){ arr[i]=arr[i-1]+A[i-1]; } } int Solution::solve(vector<i...
21.709677
49
0.530461
kothariji
3bc74862820321bf365db6840880b57b73d20018
4,635
cpp
C++
trikGui/communicationSettingsWidget.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
trikGui/communicationSettingsWidget.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
trikGui/communicationSettingsWidget.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014 CyberTech Labs Ltd. * * 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 agree...
29.903226
97
0.736354
Ashatta