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
5c404b0c46c1e1b426c706138fdb7e2f0f9345bb
1,964
cpp
C++
ftt_backend/hlsBackend.cpp
Hecmay/p4c-ftt
9180e9635d3df5bd5c2ce74a5c24af5df027b9df
[ "MIT" ]
null
null
null
ftt_backend/hlsBackend.cpp
Hecmay/p4c-ftt
9180e9635d3df5bd5c2ce74a5c24af5df027b9df
[ "MIT" ]
null
null
null
ftt_backend/hlsBackend.cpp
Hecmay/p4c-ftt
9180e9635d3df5bd5c2ce74a5c24af5df027b9df
[ "MIT" ]
null
null
null
#include "lib/error.h" #include "lib/nullstream.h" #include "frontends/p4/evaluator/evaluator.h" #include "hlsBackend.h" #include "target.h" #include "hlsType.h" #include "hlsProgram.h" namespace P4HLS { void run_ebpf_backend(const EbpfOptions& options, const IR::ToplevelBlock* toplevel, P4::Re...
27.277778
98
0.600305
Hecmay
5c420197519741bd5d396af42b2a59c22254ac3b
3,228
cpp
C++
src/org/apache/poi/util/ShortField.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/util/ShortField.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/util/ShortField.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/util/ShortField.java #include <org/apache/poi/util/ShortField.hpp> #include <java/lang/ArrayIndexOutOfBoundsException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuilder.hpp> #include <org/apache/poi/util/LittleEndian.hpp> poi::util::ShortField::ShortField...
28.069565
152
0.703841
pebble2015
5c42ca7bb0f4595b1a2817fda887cf080c6f291c
1,119
cpp
C++
beecrowd/C++/basico/1021.cpp
MateusdeNovaesSantos/Tecnologias
0a4d55f82942e33ed86202c58596f03d0dddbf6d
[ "MIT" ]
null
null
null
beecrowd/C++/basico/1021.cpp
MateusdeNovaesSantos/Tecnologias
0a4d55f82942e33ed86202c58596f03d0dddbf6d
[ "MIT" ]
null
null
null
beecrowd/C++/basico/1021.cpp
MateusdeNovaesSantos/Tecnologias
0a4d55f82942e33ed86202c58596f03d0dddbf6d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ double N; long int NINT; cin >> N; N = N * 100; NINT = N; cout << "NOTAS:" << endl; cout << NINT / 10000 << " nota(s) de R$ 100.00" << endl; NINT %= 10000; cout << NINT / 5000 << " nota(s) de R$ 50.00" << endl; NINT ...
16.701493
60
0.449508
MateusdeNovaesSantos
5c45b1f6fa955a76c9ba95c608399dc707462bd6
2,874
hpp
C++
lib/headers/Optimisation/LevenbergMarquardt.hpp
JackHunt/GaussianProcess
64820259608229ebc324904ec2f6213f205af804
[ "BSD-3-Clause" ]
null
null
null
lib/headers/Optimisation/LevenbergMarquardt.hpp
JackHunt/GaussianProcess
64820259608229ebc324904ec2f6213f205af804
[ "BSD-3-Clause" ]
null
null
null
lib/headers/Optimisation/LevenbergMarquardt.hpp
JackHunt/GaussianProcess
64820259608229ebc324904ec2f6213f205af804
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2020, Jack Miles Hunt 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 conditi...
34.214286
78
0.68302
JackHunt
5c4c739eba81376c7be499db87eeb6d6b2385962
3,449
cpp
C++
BINARYTREE/binarytree.cpp
michaelpeterswa/cpsc223
ae5371126ccf91e7c2179a04fd8057036be65e2d
[ "MIT" ]
1
2019-01-17T21:23:24.000Z
2019-01-17T21:23:24.000Z
BINARYTREE/binarytree.cpp
michaelpeterswa/cpsc223
ae5371126ccf91e7c2179a04fd8057036be65e2d
[ "MIT" ]
null
null
null
BINARYTREE/binarytree.cpp
michaelpeterswa/cpsc223
ae5371126ccf91e7c2179a04fd8057036be65e2d
[ "MIT" ]
null
null
null
//file binarytree.cpp //author Michael Peters //date October 7, 2018 //Specification of ADT Binary Tree // Data object: a binary tree which is either empty or // in the form of r // / // TL TR // where TL and ...
27.814516
67
0.654103
michaelpeterswa
5c4da1d7449913d58645996c9cf4a44da29a100b
1,167
hpp
C++
src/macros.hpp
sandialabs/calibr8
a7be9213a49eb2b56f58041a2a88b0184382de4d
[ "MIT" ]
5
2021-08-31T00:33:36.000Z
2022-03-29T17:10:28.000Z
src/macros.hpp
sandialabs/calibr8
a7be9213a49eb2b56f58041a2a88b0184382de4d
[ "MIT" ]
null
null
null
src/macros.hpp
sandialabs/calibr8
a7be9213a49eb2b56f58041a2a88b0184382de4d
[ "MIT" ]
null
null
null
#pragma once #include "control.hpp" #define ALWAYS_ASSERT(cond) \ do { \ if (! (cond)) { \ char omsg[2048]; \ sprintf(omsg, "%s failed at %s + %d \n", \ ...
34.323529
55
0.382177
sandialabs
5c4e24a82ebe72dfde7af5dfcec8238079f3dc1c
964
cpp
C++
test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
null
null
null
test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
1
2019-04-21T16:53:33.000Z
2019-04-21T17:15:25.000Z
test/std/input.output/iostreams.base/ios/basic.ios.members/rdbuf_streambuf.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
1
2020-09-09T07:40:32.000Z
2020-09-09T07:40:32.000Z
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
26.777778
80
0.529046
ontio
5c52fdef8f92ca574f0357e0caa4b8a4e4624efb
363
hpp
C++
frontend/typing/normalisation.hpp
NicolaiLS/becarre
cf23e80041f856f50b9f96c087819780dfe1792c
[ "MIT" ]
null
null
null
frontend/typing/normalisation.hpp
NicolaiLS/becarre
cf23e80041f856f50b9f96c087819780dfe1792c
[ "MIT" ]
null
null
null
frontend/typing/normalisation.hpp
NicolaiLS/becarre
cf23e80041f856f50b9f96c087819780dfe1792c
[ "MIT" ]
null
null
null
#if !defined(BECARRE_FRONTEND_TYPING_NORMALISATION_HPP) #define BECARRE_FRONTEND_TYPING_NORMALISATION_HPP #include <optional> namespace becarre::frontend::typing { struct Type; namespace normalisation { void apply(Type &); } // namespace normalisation } // namespace becarre::frontend::typing #endif // !defined(...
17.285714
61
0.804408
NicolaiLS
5c53076c74b580736f75fc95f36cf1da164c6427
8,160
cpp
C++
libadb/src/libadb/api/channel/channel-api.cpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
1
2022-03-10T15:14:13.000Z
2022-03-10T15:14:13.000Z
libadb/src/libadb/api/channel/channel-api.cpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
9
2022-03-07T21:00:08.000Z
2022-03-15T23:14:52.000Z
libadb/src/libadb/api/channel/channel-api.cpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
null
null
null
#include <libadb/api/channel/channel-api.hpp> #include <libadb/api/context/context.hpp> #include <nlohmann/json.hpp> #include <libadb/api/auth/token-bot.hpp> #include <libadb/api/utils/fill-reason.hpp> #include <libadb/api/utils/message-session.hpp> #include <libadb/api/utils/read-response.hpp> #include <fmt/core.h> #i...
37.090909
137
0.673039
faserg1
5c5682b447ab378307987a121bfaabc74b405d8d
149
cpp
C++
source/lib/memory/unused_memory_fea0_feff.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/memory/unused_memory_fea0_feff.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
source/lib/memory/unused_memory_fea0_feff.cpp
olduf/gb-emu
37a2195fa67a2656cc11541eb75b1f7a548057b2
[ "Unlicense" ]
null
null
null
#include "lib/memory/unused_memory_fea0_feff.hpp" namespace gb_lib { uint8_t UnusedMemoryFEA0_FEFF::getByte(uint16_t address) { return 0; } }
13.545455
56
0.765101
olduf
5c58eaae8401922d30075897bb5bc28bde474f7a
867
cpp
C++
src/deco.cpp
mrnoda/first-demo
d89b6f4fbe02073aab16365d9f57eae4a695e554
[ "MIT" ]
null
null
null
src/deco.cpp
mrnoda/first-demo
d89b6f4fbe02073aab16365d9f57eae4a695e554
[ "MIT" ]
2
2015-04-18T19:58:14.000Z
2015-04-18T19:59:00.000Z
src/deco.cpp
mrnoda/first-demo
d89b6f4fbe02073aab16365d9f57eae4a695e554
[ "MIT" ]
null
null
null
#include <stdexcept> #include "deco.h" #include "utility.h" namespace effects { Deco::Deco(sf::RenderWindow &window) : Effect(window), border_colour_(sf::Color(100, 20, 100)) { auto window_size = window.getSize(); auto thickness = window_size.y / 60.0f; sf::RectangleShape bord...
21.146341
75
0.580161
mrnoda
5c59b70c8d06b7c1b020f24832aa684e9c943679
2,132
cpp
C++
udsc2/src/api/phoneme.cpp
utkucandogan/udsc2
ced007c0760ce0c3a4b2fbdd14672e38bd58d6d6
[ "Apache-2.0" ]
null
null
null
udsc2/src/api/phoneme.cpp
utkucandogan/udsc2
ced007c0760ce0c3a4b2fbdd14672e38bd58d6d6
[ "Apache-2.0" ]
null
null
null
udsc2/src/api/phoneme.cpp
utkucandogan/udsc2
ced007c0760ce0c3a4b2fbdd14672e38bd58d6d6
[ "Apache-2.0" ]
null
null
null
#include <udsc2/phoneme/phoneme.h> #include "phoneme.hpp" #include "util/bit.h" #include <limits> namespace udsc2::api { int phoneme_difference(const api::PhonemeProperties pLeft, const api::PhonemeProperties pRight, const api::PhonemeProperties ignore) { // These are tecnical 'Phonemes' s...
30.898551
95
0.583959
utkucandogan
5c5b199d7a305e11547eae8647633d9fb5de9575
463
cpp
C++
query/scorer/BM25.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
1
2015-02-07T13:11:43.000Z
2015-02-07T13:11:43.000Z
query/scorer/BM25.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
1
2015-04-14T05:04:19.000Z
2015-04-14T05:04:19.000Z
query/scorer/BM25.cpp
Da-Huang/Search-Engine
5f1faed6c49adb7f3cc2199c33dbe6bc7094c932
[ "Apache-2.0" ]
null
null
null
#include <cmath> #include <BM25.h> double BM25::R(size_t tf, size_t dl, double avgdl) { const double K = k1 * (1 - b + b * dl / avgdl); return tf * (k1 + 1) / (tf + K); } double BM25::idf(size_t df, size_t DOC_NUM) { return log(1 + (DOC_NUM - df + double(0.5)) / (df + double(0.5)) ); return 0; } double ...
18.52
52
0.598272
Da-Huang
5c5badcb17dbd63a5d0181212eb0d66937270cf8
1,468
cpp
C++
src/xrGame/static_cast_checked_test.cpp
acidicMercury8/xray-1.6
52fba7348a93a52ff9694f2c9dd40c0d090e791e
[ "Linux-OpenIB" ]
10
2021-05-04T06:40:27.000Z
2022-01-20T20:24:28.000Z
src/xrGame/static_cast_checked_test.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
null
null
null
src/xrGame/static_cast_checked_test.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
2
2020-05-17T10:01:14.000Z
2020-09-11T20:17:27.000Z
//////////////////////////////////////////////////////////////////////////// // Module : static_cast_checked.cpp // Created : 04.12.2007 // Modified : 04.12.2007 // Author : Dmitriy Iassenev // Description : checked static_cast implementation for debug purposes //////////////////////////////////////////////...
36.7
77
0.55654
acidicMercury8
5c635061262edc0077c26515342ef1dc851a84a7
1,107
cc
C++
src/Basevector.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
48
2016-04-26T16:52:59.000Z
2022-01-15T09:18:17.000Z
src/Basevector.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
45
2016-04-27T08:20:56.000Z
2022-02-14T07:47:11.000Z
src/Basevector.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
15
2016-05-11T14:35:25.000Z
2022-01-15T09:18:45.000Z
/////////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2010) by the // // Broad Institute. All rights are reserved. This software is supplied // ...
36.9
79
0.558266
Amjadhpc
5c6eb51173b7bcba9c2dc0f5e1c0eecb427b4e23
669
cpp
C++
linear-list/array/rotate_image.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
1
2015-07-15T07:31:42.000Z
2015-07-15T07:31:42.000Z
linear-list/array/rotate_image.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
linear-list/array/rotate_image.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; /** * You are given an n × n 2D matrix representing an image. * Rotate the image by 90 degrees (clockwise). * Follow up: Could you do this in-place? * */ class Solution { public: void rotate(vector<vector<int> >& matrix) { int n = matrix.size...
22.3
65
0.472347
zhangxin23
5c6f1120a7cf503ef4a941153cc48524469e94be
2,424
hpp
C++
src/application/app_alphapose/alpha_pose.hpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
537
2021-10-03T10:51:49.000Z
2022-03-31T10:07:05.000Z
src/application/app_alphapose/alpha_pose.hpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
52
2021-10-04T09:05:35.000Z
2022-03-31T07:35:22.000Z
src/application/app_alphapose/alpha_pose.hpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
146
2021-10-11T00:46:19.000Z
2022-03-31T02:19:37.000Z
#ifndef ALPHA_POSE_HPP #define ALPHA_POSE_HPP #include <vector> #include <memory> #include <string> #include <future> #include <opencv2/opencv.hpp> /* # change AlphaPose-master/configs/halpe_136/resnet/256x192_res50_lr1e-3_2x-regression.yaml CONV_DIM : 256 -> CONV_DIM : 128 import torch import yaml from easyd...
31.480519
96
0.665429
hito0512
5c7264079ac15c2c01c4c6c91a060c8fe48eae33
1,235
hpp
C++
includes/MIP_constants.hpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
5
2021-12-04T04:42:32.000Z
2022-01-21T13:23:47.000Z
includes/MIP_constants.hpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
null
null
null
includes/MIP_constants.hpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
null
null
null
#ifndef MIP_CONSTANTS_HPP #define MIP_CONSTANTS_HPP #include "MIP_config.hpp" namespace minlpproblem { enum MIP_RETURN_CODE { MIP_SUCESS = 0, MIP_BAD_DEFINITIONS = -1, MIP_BAD_VALUE = -2, MIP_INDEX_FAULT = -3, MIP_MEMORY_ERROR = -4, MIP_REPET...
19.603175
74
0.556275
xmuriqui
5c733a75519d2dc0a81ecbc857e533c588476f43
1,775
hpp
C++
fastdecoder/src/decoder.hpp
tuxzz/lightvideo
3654d7a452ec42a7e2d40129ef571375e5f93ddb
[ "MIT" ]
2
2019-05-05T22:37:19.000Z
2021-05-17T03:32:44.000Z
fastdecoder/src/decoder.hpp
tuxzz/lightvideo
3654d7a452ec42a7e2d40129ef571375e5f93ddb
[ "MIT" ]
null
null
null
fastdecoder/src/decoder.hpp
tuxzz/lightvideo
3654d7a452ec42a7e2d40129ef571375e5f93ddb
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <cstdint> #include "struct.hpp" #include "imagechannel.hpp" #include "colorformat.hpp" namespace LightVideoDecoder { class DecoderPrivate; class Decoder final { public: typedef std::function<void(char*, int64_t)> ReadFunc; typedef std::funct...
25
81
0.673803
tuxzz
f075d689497d0edced6ad946289a5a859d3fb327
9,364
cpp
C++
modules/ide_old/src/NewFilePage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/NewFilePage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/NewFilePage_1.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
#include "NewFilePage_1.h" NewFilePage_1::NewFilePage_1(QWidget* parent) : QWidget(parent) { titlePtr = new QLabel("<b>Select file type</b>"); langStrPtr = new QString("null"); fileTypeStrPtr = new QString("null"); langsStrLstPtr = new QVector<QListWidgetItem*>(); langsStrLstPtr->push_ba...
48.020513
120
0.601773
DeepBlue14
f076c6fbd27720f0b643179527a8641a414e65d0
7,733
hpp
C++
src/truetouch.hpp
TrueTouch/truetouch-firmware
ae6f435613a557c111d4f4eed6d548280a7c5702
[ "MIT" ]
null
null
null
src/truetouch.hpp
TrueTouch/truetouch-firmware
ae6f435613a557c111d4f4eed6d548280a7c5702
[ "MIT" ]
null
null
null
src/truetouch.hpp
TrueTouch/truetouch-firmware
ae6f435613a557c111d4f4eed6d548280a7c5702
[ "MIT" ]
null
null
null
/** * truetouch.hpp - a simple protocol written on top of a BLE UART for controlling pins on * the TrueTouch device. * * Copyright (c) 2021 TrueTouch * Distributed under the MIT license (see LICENSE or https://opensource.org/licenses/MIT) */ #pragma once #include "nordic_ble.hpp" #i...
36.305164
101
0.528126
TrueTouch
f0790e6b4e55e8359c355ec19eabd6c8196c18f0
641
hpp
C++
include/locic/Parser/TemplateParser.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
include/locic/Parser/TemplateParser.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
include/locic/Parser/TemplateParser.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#ifndef LOCIC_PARSER_TEMPLATEPARSER_HPP #define LOCIC_PARSER_TEMPLATEPARSER_HPP #include <locic/AST.hpp> #include <locic/Parser/TemplateBuilder.hpp> namespace locic { namespace Debug { class SourcePosition; } namespace Parser { class TemplateInfo; class TokenReader; class TemplateParser { ...
15.634146
58
0.706708
scross99
f07a3778e625992cd5ef4cf609abb57f28e9fbda
2,108
cc
C++
Trie/trie.cc
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
1
2019-11-23T15:41:58.000Z
2019-11-23T15:41:58.000Z
Trie/trie.cc
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
null
null
null
Trie/trie.cc
zhanMingming/DataStruct
7e0c665f02d49919e3df2f08f7a5945300ebd8f1
[ "MIT" ]
null
null
null
#include"trie.h" #include<cstring> #include<iostream> Trie::Trie() :root(NULL) {} Trie::Trie_node::Trie_node() { data=NULL; for(int index=0;index <Num_chars;++index) { num_char[index]=NULL; } } Trie::~Trie() { } int Trie::insert(const char *word,const char *number) { if(word==NULL||number==NULL...
15.275362
62
0.4426
zhanMingming
f07ab6bc91c3f089f5643326b052f12ad6bc2a34
1,109
cpp
C++
Training (Lopatin)/B.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
Training (Lopatin)/B.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
Training (Lopatin)/B.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> using namespace std; vector <vector <int> > g; vector <char> used; vector <int> matching; bool augment_path(int v) { if (used[v]) return false; used[v] = true; for (int i = 0; i < g[v].size(); ++i) { int node = g[v][i]; if (matchin...
16.552239
52
0.493237
michaelarakel
f07d5fa8601a4812b6405afea95482e972db512c
8,092
cpp
C++
ee450/lab1/main.cpp
chenying-wang/usc-ee-coursework-public
5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1
[ "MIT" ]
1
2021-03-24T10:46:20.000Z
2021-03-24T10:46:20.000Z
ee450/lab1/main.cpp
chenying-wang/usc-ee-coursework-public
5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1
[ "MIT" ]
null
null
null
ee450/lab1/main.cpp
chenying-wang/usc-ee-coursework-public
5bc94c2350bcebf1036fb058fe7dc4f7e31e1de1
[ "MIT" ]
1
2021-03-25T09:18:45.000Z
2021-03-25T09:18:45.000Z
#include <iostream> #include <fstream> #include <vector> #include <deque> #include <unordered_map> #include <unordered_set> #include <iterator> #include <sstream> #include <string> #include <limits> #ifdef __TIME_STAT #include <chrono> #endif #define SUCCESS 0 #define ERROR -1 #define MAX(T) std::numeric_limits<T>::m...
30.651515
117
0.56525
chenying-wang
f07ffc54071b476d8d723231960477f04b4172c9
173
cpp
C++
Serna_Esteban.assignment2.0/Blast.cpp
Este-iv/Space_nvaders
dc3fbe00047584a04b43b8228bbc484dcf6bee50
[ "MIT" ]
null
null
null
Serna_Esteban.assignment2.0/Blast.cpp
Este-iv/Space_nvaders
dc3fbe00047584a04b43b8228bbc484dcf6bee50
[ "MIT" ]
null
null
null
Serna_Esteban.assignment2.0/Blast.cpp
Este-iv/Space_nvaders
dc3fbe00047584a04b43b8228bbc484dcf6bee50
[ "MIT" ]
null
null
null
#include "Blast.h" #include "space.h" Blast::Blast(char s, int d, point p, point v){ source = s; damage = d; position = p; velocity = v; }
15.727273
46
0.514451
Este-iv
f084067ac272b1ed58680e5d4016dae85163a38f
1,833
cc
C++
src/developer/debug/zxdb/client/pretty_frame_glob_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/debug/zxdb/client/pretty_frame_glob_unittest.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/developer/debug/zxdb/client/pretty_frame_glob_unittest.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2019 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/debug/zxdb/client/pretty_frame_glob.h" #include <gtest/gtest.h> #include "src/developer/debug/zxdb/symbols/function.h" #include "...
41.659091
97
0.762139
allansrc
f086727a8eede7721dfbd3cbf0bde48e01ee9a24
18,983
cpp
C++
src/client/ClientTests.cpp
oakdoor/enterprisediodefiletransfer
64cf04f47fd48fa4723b022968babdd8d62702d3
[ "MIT" ]
1
2021-05-27T09:53:20.000Z
2021-05-27T09:53:20.000Z
src/client/ClientTests.cpp
oakdoor/enterprisediodefiletransfer
64cf04f47fd48fa4723b022968babdd8d62702d3
[ "MIT" ]
null
null
null
src/client/ClientTests.cpp
oakdoor/enterprisediodefiletransfer
64cf04f47fd48fa4723b022968babdd8d62702d3
[ "MIT" ]
1
2021-09-16T14:12:27.000Z
2021-09-16T14:12:27.000Z
// Copyright PA Knowledge Ltd 2021 // MIT License. For licence terms see LICENCE.md file. #include <cstdint> #include <vector> #include <string> #include <future> #include "test/catch.hpp" #include "test/EnterpriseDiodeTestHelpers.hpp" #include "enterprisediode/EnterpriseDiodeHeader.hpp" #include "Client.hpp" #inclu...
40.561966
119
0.724069
oakdoor
f08e91e7cdace12b90ee16361d8e87c14dbe37a2
1,890
cpp
C++
puzzles/2020/day03/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
puzzles/2020/day03/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
puzzles/2020/day03/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
#include <fmt/core.h> #include <range/v3/all.hpp> #include <fstream> #include <string> namespace rs = ranges; namespace rv = ranges::views; auto slope_type1_hits(const std::vector<std::string>& input, int slope) { auto hit_test = [slope](auto&& p) { auto&& [depth, line] = p; return (line[(depth ...
21.477273
95
0.575132
apathyboy
f091b649d9f9a2c42e5dee8b491dd451c5a55b4e
1,470
hpp
C++
include/HighPerMeshes/dsl/buffers/LocalBuffer.hpp
HighPerMeshes/highpermeshes-dsl
3019cadcc7c2504f3bf55be1d69da2ee66159c07
[ "MIT" ]
3
2020-04-24T11:10:34.000Z
2021-07-07T09:41:08.000Z
include/HighPerMeshes/dsl/buffers/LocalBuffer.hpp
HighPerMeshes/highpermeshes-dsl
3019cadcc7c2504f3bf55be1d69da2ee66159c07
[ "MIT" ]
1
2020-03-09T18:28:24.000Z
2020-03-09T18:28:24.000Z
include/HighPerMeshes/dsl/buffers/LocalBuffer.hpp
HighPerMeshes/highpermeshes-dsl
3019cadcc7c2504f3bf55be1d69da2ee66159c07
[ "MIT" ]
1
2020-04-22T12:49:46.000Z
2020-04-22T12:49:46.000Z
// Copyright (c) 2017-2020 // // Distributed under the MIT Software License // (See accompanying file LICENSE) #ifndef DSL_BUFFERS_LOCALBUFFER_HPP #define DSL_BUFFERS_LOCALBUFFER_HPP #include <cassert> #include <cstdint> #include <type_traits> #include <vector> #include <HighPerMeshes/dsl/data_access/AccessMode.hpp>...
27.735849
177
0.679592
HighPerMeshes
f099c65429d8ff4dfd5e6663bfd4934ebd311e19
571
cpp
C++
Volume110/11029 - Leading and Trailing/11029.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
1
2017-01-25T18:07:49.000Z
2017-01-25T18:07:49.000Z
Volume110/11029 - Leading and Trailing/11029.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
Volume110/11029 - Leading and Trailing/11029.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
// Author: Stancioiu Nicu Razvan // Problem: http://uva.onlinejudge.org/external/110/11029.html #include <bits/stdc++.h> #define MOD 1000 using namespace std; unsigned int n,k; int t; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin>>t; int first,second; while(t--) { cin>>n>>k; int p=n%MOD; seco...
15.861111
62
0.597198
rstancioiu
f09a77ed465b33ff038f3f716365b8d3ffc690c0
2,319
hpp
C++
src/runtime/c4g_glsl.hpp
slightech/c4gpu
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
7
2019-04-26T20:25:53.000Z
2022-02-08T06:48:35.000Z
src/runtime/c4g_glsl.hpp
c4gpu/c4gpu_runtime
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
null
null
null
src/runtime/c4g_glsl.hpp
c4gpu/c4gpu_runtime
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
3
2021-12-22T02:02:42.000Z
2022-02-08T06:48:38.000Z
/* ** C4GPU. ** ** For the latest info, see https://github.com/c4gpu/c4gpu_runtime/ ** ** Copyright (C) 2017 Wang Renxin. All rights reserved. */ #ifndef __C4G_GLSL_H__ #define __C4G_GLSL_H__ #include "c4g_runtime.h" #ifdef C4G_RUNTIME_OS_WIN # include <GL/glew.h> # include <GL/glut.h> #elif defined C4...
21.672897
99
0.688228
slightech
f09a7b28c8064b1024115f9006be8e36b1a3a2e5
2,988
cpp
C++
src/gromacs/linearalgebra/gmx_lapack/dlarft.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
384
2015-01-02T19:44:15.000Z
2022-03-27T15:13:15.000Z
src/gromacs/linearalgebra/gmx_lapack/dlarft.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
168
2017-05-27T14:43:32.000Z
2021-04-12T08:07:11.000Z
src/gromacs/linearalgebra/gmx_lapack/dlarft.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
258
2015-01-19T11:19:57.000Z
2022-03-18T08:59:52.000Z
#include <cmath> #include "gromacs/utility/real.h" #include "../gmx_blas.h" #include "../gmx_lapack.h" void F77_FUNC(dlarft,DLARFT)(const char *direct, const char *storev, int *n, int *k, double *v, int *ldv, double *tau, double *t, int *ldt) { /* System generated locals */ int t_dim1, t_offs...
23.162791
79
0.477912
hejamu
f09ccdbb4aa5049e1e6a7362e34ff9994bf804f5
15,421
cpp
C++
Ambit/Source/Ambit/Mode/BulkScenarioConfiguration.spec.cpp
aws-samples/aws-ambit-scenario-designer-ue4
96843bccab3325a36dff6451b7e46837a9e918de
[ "Apache-2.0" ]
32
2021-12-01T04:28:53.000Z
2022-03-12T18:22:56.000Z
Ambit/Source/Ambit/Mode/BulkScenarioConfiguration.spec.cpp
aws-samples/aws-ambit-scenario-designer-ue4
96843bccab3325a36dff6451b7e46837a9e918de
[ "Apache-2.0" ]
10
2021-12-01T18:35:26.000Z
2022-02-15T00:32:00.000Z
Ambit/Source/Ambit/Mode/BulkScenarioConfiguration.spec.cpp
aws-samples/aws-ambit-scenario-designer-ue4
96843bccab3325a36dff6451b7e46837a9e918de
[ "Apache-2.0" ]
10
2021-12-01T06:59:41.000Z
2022-02-23T23:37:44.000Z
// Copyright 2022 Amazon.com, Inc. or its affiliates. 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...
43.934473
125
0.599702
aws-samples
f09e26bfae754f2005d371eb252ef42a8edd05ad
4,060
cc
C++
Analyses/src/SimParticlesWithHitsExample_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
Analyses/src/SimParticlesWithHitsExample_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Analyses/src/SimParticlesWithHitsExample_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Plugin to show how to use the SimParticlesWithHits class. // // $Id: SimParticlesWithHitsExample_module.cc,v 1.6 2013/10/21 21:13:18 kutschke Exp $ // $Author: kutschke $ // $Date: 2013/10/21 21:13:18 $ // // Original author Rob Kutschke. // // C++ includes. #include <iostream> #include <string> // Framework in...
32.741935
103
0.598522
bonventre
f0a0d9b01b46fa45294ec5f4bf7290b07ed81974
3,339
cc
C++
demo/client/client_demo.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
9
2015-08-14T08:59:06.000Z
2018-08-20T13:46:46.000Z
demo/client/client_demo.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
null
null
null
demo/client/client_demo.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
1
2018-08-20T13:46:29.000Z
2018-08-20T13:46:29.000Z
// Copyright (c) 2015 The CSUTIL 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 <iostream> #include <stdio.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <unistd.h> #include <pthread.h> #include "...
24.021583
91
0.59988
haveTryTwo
f0a13569cb49e9429fd227682aece1f8a0ae1f26
1,223
cpp
C++
src/Model/CFrameModel.cpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Model/CFrameModel.cpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Model/CFrameModel.cpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#include "CFrameModel.hpp" namespace OMGL3D { namespace MODEL { CFrameModel::CFrameModel(const std::string & name) : IFrameModel(name) { } CFrameModel::~CFrameModel() { } void CFrameModel::SetRootMesh(CORE::IMesh * mesh) { } voi...
22.648148
104
0.54211
Sebajuste
f0a31a4f8a39524e1c8f0452c049d426976f200a
1,586
cc
C++
chrome/browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
chrome/browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/javascript_dialogs/javascript_dialog_browsertest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "base/strings/utf_string_conversions.h" #include "base/test/scoped_feature_list.h" #include "chrome/browser/ui/browser.h" #include "chrome/browse...
36.883721
79
0.785624
xzhan96
f0a654f13bad1f4110544661d84ced551a9a7581
3,165
cpp
C++
Scene.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
Scene.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
Scene.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" #include "Device.h" #include "Vertex.h" #include "RectObject.h" #include "Random.h" Shader* shader; ID3D11Buffer* vertexBuffer; const int VNUM = 32; const int VSIZE = 6; Vertex vertices[VNUM*VSIZE]; RectObject player = RectObject(D3DXVECTOR3(50.0f, 50.0f, 0), 25.0f, D3DXVECTOR3(1, 1,...
22.132867
100
0.660979
Excelsus4
f0a9db2283b19824b65822056aa3ebbb2f9cb0bb
5,912
cpp
C++
InformationScripting/src/queries/Join.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
75
2015-01-18T13:29:43.000Z
2022-01-14T08:02:01.000Z
InformationScripting/src/queries/Join.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
364
2015-01-06T10:20:21.000Z
2018-12-17T20:12:28.000Z
InformationScripting/src/queries/Join.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
14
2015-01-09T00:44:24.000Z
2022-02-22T15:01:44.000Z
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
36.95
120
0.677605
dimitar-asenov
f0ad1feed8b5215c4a58b3ee5082286b10100e98
14,149
cpp
C++
WRK-V1.2/clr/src/vm/securitytransparentassembly.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/securitytransparentassembly.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/securitytransparentassembly.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
34.25908
148
0.670365
intj-t
f0ae554202b769de7508fba055dbfed89228d22d
979
cpp
C++
libminimsgbus/PubTable.cpp
jinyuttt/libminimsgbus
7e5265b3d48bebf7ced93ee27d73b7414b4b6f8b
[ "MIT" ]
null
null
null
libminimsgbus/PubTable.cpp
jinyuttt/libminimsgbus
7e5265b3d48bebf7ced93ee27d73b7414b4b6f8b
[ "MIT" ]
null
null
null
libminimsgbus/PubTable.cpp
jinyuttt/libminimsgbus
7e5265b3d48bebf7ced93ee27d73b7414b4b6f8b
[ "MIT" ]
null
null
null
#include "PubTable.h" namespace libminimsgbus { PubTable::PubTable() { } bool PubTable::add(string topic, string address) { auto v = topicPub.find(topic); if (v != topicPub.end()) { for (auto lst : v->second) { if (lst == address) ...
18.12963
51
0.444331
jinyuttt
f0aee4b76de3ef7afabda480aaf80e98d0431508
5,239
cpp
C++
apps/experiments/fluidDemo/src/testApp.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
1
2015-12-05T04:53:15.000Z
2015-12-05T04:53:15.000Z
apps/experiments/fluidDemo/src/testApp.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
null
null
null
apps/experiments/fluidDemo/src/testApp.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
null
null
null
#include "testApp.h" using namespace MSA; //-------------------------------------------------------------- void testApp::setup() { // setup fluid stuff fluidSolver.setup(100, 100); fluidSolver.enableRGB(true); //fluidSolver.setFadeSpeed(0.000001); fluidSolver.setFadeSpeed(0.002f); //fluidSolver.setFadeSp...
26.459596
110
0.650124
HellicarAndLewis
f0b16322c4cdb3ec8f95a8623130941f374af0aa
9,425
cpp
C++
ThreeDog/tdslider.cpp
602985142/TD-FrameWork
1870be856c01fd46d48c8f6db1ba10d97ad4127c
[ "MIT" ]
32
2017-03-02T11:12:21.000Z
2021-08-02T00:49:15.000Z
ThreeDog/tdslider.cpp
602985142/TD-FrameWork
1870be856c01fd46d48c8f6db1ba10d97ad4127c
[ "MIT" ]
1
2020-04-26T02:01:33.000Z
2020-04-26T09:14:13.000Z
ThreeDog/tdslider.cpp
602985142/TD-FrameWork
1870be856c01fd46d48c8f6db1ba10d97ad4127c
[ "MIT" ]
17
2017-03-09T06:10:32.000Z
2022-02-25T05:37:51.000Z
#if _MSC_BUILD #pragma execution_character_set("utf-8") #endif /************************************************************** * File Name : tdslider.cpp * Author : ThreeDog * Date : Tue Jan 03 15:59:31 2017 * Description : 自定义滑块窗体,参数传递底色,前景色和滑块颜色,采用绘图事件 * 在鼠标松开时触发操作,接口和QSlider尽量保持一致。 * **...
27.318841
78
0.588117
602985142
f0b2cef226b8716776d3bba24c7fd46eca6389cb
363
cpp
C++
Covid19QuizApp/studentgraderecord.cpp
AnkitKafle2020/HonorsProject
f02488e46ec06728c6edd4803781aeea87808867
[ "MIT" ]
null
null
null
Covid19QuizApp/studentgraderecord.cpp
AnkitKafle2020/HonorsProject
f02488e46ec06728c6edd4803781aeea87808867
[ "MIT" ]
null
null
null
Covid19QuizApp/studentgraderecord.cpp
AnkitKafle2020/HonorsProject
f02488e46ec06728c6edd4803781aeea87808867
[ "MIT" ]
null
null
null
#include "studentgraderecord.h" #include "ui_studentgraderecord.h" studentGradeRecord::studentGradeRecord(QWidget *parent) : QDialog(parent), ui(new Ui::studentGradeRecord) { ui->setupUi(this); } studentGradeRecord::~studentGradeRecord() { delete ui; } void studentGradeRecord::on_butto...
18.15
58
0.69146
AnkitKafle2020
f0c56e520757162ecc9caff4bfa7b063bbf65c3f
4,147
cpp
C++
book_samples/birds-eye/opencv-birdsEyeView.cpp
jwinarske/openvx_tutorial
3b57b1c043c5e28e03b6c7121bad87f4ce67ea8c
[ "MIT" ]
220
2016-03-20T00:48:58.000Z
2022-03-31T09:46:21.000Z
book_samples/birds-eye/opencv-birdsEyeView.cpp
jwinarske/openvx_tutorial
3b57b1c043c5e28e03b6c7121bad87f4ce67ea8c
[ "MIT" ]
28
2016-06-16T19:17:41.000Z
2021-09-16T16:19:18.000Z
book_samples/birds-eye/opencv-birdsEyeView.cpp
jwinarske/openvx_tutorial
3b57b1c043c5e28e03b6c7121bad87f4ce67ea8c
[ "MIT" ]
84
2016-03-24T01:13:07.000Z
2022-03-22T04:37:03.000Z
/* * Copyright (c) 2019 Victor Erukhimov * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Materials without restriction, including * without limitation the rights to use, copy, modify, merg...
35.444444
98
0.612732
jwinarske
f0d18f2ca2a4029e18003345fd3bd89a24db5f9f
1,610
cpp
C++
EZOJ/Contests/1533/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1533/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1533/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> #include <map> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=ge...
22.676056
78
0.612422
sshockwave
f0d1b0143f4b0c30385f92e8e22f006dce6403c9
4,405
cpp
C++
src/net/host.cpp
suprafun/smalltowns
c722da7dd3a1d210d07f22a6c322117b540e63da
[ "BSD-3-Clause" ]
null
null
null
src/net/host.cpp
suprafun/smalltowns
c722da7dd3a1d210d07f22a6c322117b540e63da
[ "BSD-3-Clause" ]
null
null
null
src/net/host.cpp
suprafun/smalltowns
c722da7dd3a1d210d07f22a6c322117b540e63da
[ "BSD-3-Clause" ]
null
null
null
/********************************************* * * Author: David Athay * * License: New BSD License * * Copyright (c) 2009, CT Games * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are ...
31.241135
87
0.585244
suprafun
f0d76724b9ab2ec34a634810f883c1294812b1ac
496
cpp
C++
cpp/example/tst/UniquePaths/UniquePaths-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:33:45.000Z
2022-01-26T16:33:45.000Z
cpp/example/tst/UniquePaths/UniquePaths-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
null
null
null
cpp/example/tst/UniquePaths/UniquePaths-test.cpp
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:35:44.000Z
2022-01-26T16:35:44.000Z
#include "UniquePaths/uniquePaths.h" #include "gtest/gtest.h" using namespace std; class uniquePaths_MultipleParamsTests : public ::testing::TestWithParam<tuple<int,int>>{ }; TEST_P(uniquePaths_MultipleParamsTests, CheckAns){ int n = get<0>(GetParam()); int expected = get<1>(GetParam()); ASSERT_EQ(e...
21.565217
52
0.707661
zcemycl
f0d81a94aabc5bc8a7cde7a0a09ce3ea042bd277
234
hpp
C++
src/gfx/Mesh.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/gfx/Mesh.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/gfx/Mesh.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#pragma once #include "SubMesh.hpp" namespace ari::gfx { ARI_HANDLE(MeshHandle) struct Mesh { core::Array<SubMeshHandle> SubMeshes; }; Mesh* GetMesh(const MeshHandle& mesh_handle); } // namespace ari::gfx
13.764706
47
0.662393
kochol
f0d8d3537216398725a220d921ed107a5a2274f0
584
cpp
C++
sbb/primeNumbers.cpp
cwboden/coding-practice
a80aea59d57bfdd55c15ef2fdf01f73aff168031
[ "MIT" ]
null
null
null
sbb/primeNumbers.cpp
cwboden/coding-practice
a80aea59d57bfdd55c15ef2fdf01f73aff168031
[ "MIT" ]
null
null
null
sbb/primeNumbers.cpp
cwboden/coding-practice
a80aea59d57bfdd55c15ef2fdf01f73aff168031
[ "MIT" ]
null
null
null
// Carson Boden / November 2016 // Prints out prime numbers between 1 and 100,000 int main() { // Range from 1 to 100,000 for (size_t i = 1; i <= 100000; ++i) { // Flag to confirm if number is prime bool isPrime = true; // Checks factors up to half of the number (Since 2 is the smallest divisor) for (size_...
17.69697
78
0.568493
cwboden
f0db573b0382faf97c1e7879f93c59c9c55ad1d5
10,931
cpp
C++
graphics/cgal/Triangulation_3/benchmark/Triangulation_3/Triangulation_benchmark_3.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/cgal/Triangulation_3/benchmark/Triangulation_3/Triangulation_benchmark_3.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/cgal/Triangulation_3/benchmark/Triangulation_3/Triangulation_benchmark_3.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
// Benchmark program for the Triangulation_3 package. // // Sylvain Pion, 2009. // // The data produced by this program is meant to be used // in the Benchmarks section of the User Manual. // // We measure : // - construction time // - point location time function of triangulation size // - vertex removal time // - me...
29.86612
104
0.654377
hlzz
f0db72dce53a713876d31a7f4dbb58d6e20f8f3b
2,273
cpp
C++
Callflow.cpp
DineshDevaraj/hivecf
6462131c8aa75d8b41c7592f11cb7aef03ecbc47
[ "MIT" ]
null
null
null
Callflow.cpp
DineshDevaraj/hivecf
6462131c8aa75d8b41c7592f11cb7aef03ecbc47
[ "MIT" ]
null
null
null
Callflow.cpp
DineshDevaraj/hivecf
6462131c8aa75d8b41c7592f11cb7aef03ecbc47
[ "MIT" ]
null
null
null
/** * * Author : D.Dinesh * Licence : Refer the license file * **/ #include "Callflow.h" struct Node { int m_line; int m_level; Node *m_next; const char *m_szFunc; const char *m_szFile; }; static int g_level = 0; static Node *g_base = 0; static Node *g_last = 0; static int g_max_level ...
20.853211
78
0.556093
DineshDevaraj
f0de20d8f5185bf47585f5d7a7b526d35f267688
558
cc
C++
draw/main.cc
FacelessManipulator/StructureAlgo
73ce3cbd469c4beb7df88c39e8cf2a7777eb27e8
[ "MIT" ]
null
null
null
draw/main.cc
FacelessManipulator/StructureAlgo
73ce3cbd469c4beb7df88c39e8cf2a7777eb27e8
[ "MIT" ]
null
null
null
draw/main.cc
FacelessManipulator/StructureAlgo
73ce3cbd469c4beb7df88c39e8cf2a7777eb27e8
[ "MIT" ]
null
null
null
#include "draw/table.hpp" using namespace Faceless; int main() { Table table; Terminal term; table[0][0].setContent("root ").setAlign(Cell::Right).setFiller('-'); table[0][1].setContent("--> child1 ").setAlign(Cell::Right).setFiller('-'); table[0][2].setContent("--> child2 ").setAlign(Cell::Right).setFiller('...
37.2
79
0.639785
FacelessManipulator
f0e216d09ebc3a5af228ec7be530f0fcf5bcee62
3,106
cpp
C++
LUPI/Test/alias/alias.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
LUPI/Test/alias/alias.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
LUPI/Test/alias/alias.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
/* # <<BEGIN-copyright>> # Copyright 2019, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: MIT # <<END-copyright>> */ #include <stdlib.h> #include <iostream> #include <LUPI.hpp> static char const *description = "The alias checker."; void main2...
40.337662
175
0.580167
Mathnerd314
f0e57372332d296a00d367ae4aacf0908d850604
7,712
cc
C++
case_studies/allocate/main.cc
luglio/dashmm
19d191576735345d66b450061a940a2738eed1d4
[ "BSD-3-Clause" ]
null
null
null
case_studies/allocate/main.cc
luglio/dashmm
19d191576735345d66b450061a940a2738eed1d4
[ "BSD-3-Clause" ]
null
null
null
case_studies/allocate/main.cc
luglio/dashmm
19d191576735345d66b450061a940a2738eed1d4
[ "BSD-3-Clause" ]
null
null
null
#include <cassert> #include <cstdio> #include <cstring> #include <vector> #include <hpx/hpx.h> // The size of the array - this is to mimic the DASHMM use case constexpr size_t kRecordSize = 48; constexpr size_t kNumRecords = 2000000; constexpr size_t kArraySize = kRecordSize * kNumRecords; // The size of the LCO d...
29.776062
78
0.698781
luglio
f0e6e482ffe222966f3744c15bb1d40b14e77ae0
4,329
cpp
C++
105/105.cpp
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
105/105.cpp
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
105/105.cpp
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
/* Let S(A) represent the sum of elements in set A of size n. We shall call it a special sum set if for any two non-empty disjoint subsets, B and C, the following properties are true: 1. S(B) ≠ S(C); that is, sums of subsets cannot be equal. 2. If B contains more elements than C then S(B) > S(C). For example,...
33.55814
105
0.584893
bsamseth
f0e802d21d2a747063a6c3c6ca1dd4419fb4ea63
1,428
cpp
C++
src/RCE/Gui/rce/gui/RGraphicsPolylineItem.cpp
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
1
2019-05-15T09:46:40.000Z
2019-05-15T09:46:40.000Z
src/RCE/Gui/rce/gui/RGraphicsPolylineItem.cpp
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
null
null
null
src/RCE/Gui/rce/gui/RGraphicsPolylineItem.cpp
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
null
null
null
#include "RGraphicsPolylineItem.h" #include <QPainterPath> #include <QPainterPathStroker> rce::gui::RGraphicsPolylineItem:: RGraphicsPolylineItem(const QPolygonF &path, const QPen &pen, QGraphicsItem *parent): QGraphicsPathItem(parent), polyline_(path), penWidth...
20.112676
50
0.62395
Timie
f0ea5e2a0dd12c21431427276e3402e14e3dd423
1,567
hpp
C++
src/TestXE/XETCommon/TestControllerSystem.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/TestXE/XETCommon/TestControllerSystem.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/TestXE/XETCommon/TestControllerSystem.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
#pragma once #include <XEngine.hpp> #include "TestController.hpp" namespace XE { class GraphicsManager; class OgreConsole; class XEngine; } namespace XET { class TestControllerSystem : public entityx::System < TestControllerSystem > , public XE::SDLInputHandler { public: TestControllerSystem(XE::XEngine& ...
24.484375
106
0.758775
devxkh
f0ecd75c90b1397381cc270c29c3cc394e32feee
8,784
cpp
C++
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/DirectWrite hit testing sample (Windows 8)/C++/DWriteHitTesting.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/DirectWrite hit testing sample (Windows 8)/C++/DWriteHitTesting.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/DirectWrite hit testing sample (Windows 8)/C++/DWriteHitTesting.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
27.111111
122
0.675546
alonmm
f0ee749e1a3d95496f8274ffbe8edb9ea3eb2222
2,778
cpp
C++
Modules/ProxyModule/firewalldiscoverymanager.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
2
2016-09-28T02:23:07.000Z
2019-07-13T15:53:47.000Z
Modules/ProxyModule/firewalldiscoverymanager.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
Modules/ProxyModule/firewalldiscoverymanager.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
#include "firewalldiscoverymanager.h" #include "irequest.h" #include "iproxyconnection.h" #include "idatabasesettings.h" #include "isession.h" #include "isettings.h" #include <QThread> #include <QTimer> bool FirewallDiscoveryManager::m_wasPingedBack = false; bool FirewallDiscoveryManager::m_statusChecked = false; F...
32.302326
222
0.662707
OwNet
f0f05bf693f7d79fd2726994ede303576e1af4e4
1,044
cpp
C++
String Processing/Suffix Trie, Tree, Array/DNA Sequencing.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
String Processing/Suffix Trie, Tree, Array/DNA Sequencing.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
String Processing/Suffix Trie, Tree, Array/DNA Sequencing.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; string a, b; int dp[500][500]; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); int cas = 1; while(cin >> a >> b){ ...
26.769231
69
0.423372
satvik007
f0f0ace72afa4202406e02c8721c07cb503b134a
908
cpp
C++
leetcode/baseball-game/solution.cpp
kpagacz/comp-programming
15482d762ede4d3b7f8ff45a193f6e6bcd85672a
[ "MIT" ]
1
2021-12-06T16:01:55.000Z
2021-12-06T16:01:55.000Z
leetcode/baseball-game/solution.cpp
kpagacz/comp-programming
15482d762ede4d3b7f8ff45a193f6e6bcd85672a
[ "MIT" ]
null
null
null
leetcode/baseball-game/solution.cpp
kpagacz/comp-programming
15482d762ede4d3b7f8ff45a193f6e6bcd85672a
[ "MIT" ]
null
null
null
// link to the problem: https://leetcode.com/problems/baseball-game/ #include <algorithm> #include <array> #include <cassert> #include <iostream> #include <iterator> #include <numeric> #include <queue> #include <set> #include <sstream> #include <stack> #include <stdexcept> #include <string> #include <unordered_map> #in...
23.894737
80
0.612335
kpagacz
f0f3edf65ada39edd4d875628f77efab8c768201
270
cpp
C++
old/practice/lesson2/special.cpp
Lyuminarskiy/oop
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
3
2018-02-16T11:22:55.000Z
2018-03-23T14:10:33.000Z
old/practice/lesson2/special.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
null
null
null
old/practice/lesson2/special.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
1
2020-04-28T17:13:02.000Z
2020-04-28T17:13:02.000Z
#include <string> using namespace std; struct Backup final { static void makeBakup(string path) {} }; struct Printer final { static void print(string text) {} }; int main() { Backup::makeBakup("C:/myBackups/"); Printer::print("Hello, world!"); return 0; }
12.857143
39
0.666667
Lyuminarskiy
e7c5dbbea0bd5fbe6f6afa015267f64f2c5b80dc
2,224
hpp
C++
modules/boost/simd/sdk/include/boost/simd/sdk/memory/meta/is_aligned.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/boost/simd/sdk/include/boost/simd/sdk/memory/meta/is_aligned.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/sdk/memory/meta/is_aligned.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
42.769231
80
0.498201
pbrunet
e7cb87db2e716639f7eb980466689cac07891275
1,593
cpp
C++
src/prod/src/Management/BackupRestore/BA/BackupConfiguration.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Management/BackupRestore/BA/BackupConfiguration.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Management/BackupRestore/BA/BackupConfiguration.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
31.86
98
0.723792
gridgentoo
e7cc78d92806210ceb5c2003c6ddbce43886464a
16,811
cpp
C++
nsl/api/glsl/generator.cpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
nsl/api/glsl/generator.cpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
292
2020-03-19T22:38:52.000Z
2022-03-05T22:49:34.000Z
nsl/api/glsl/generator.cpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
#include "generator.h" #include <sstream> #include <regex> using namespace natus::nsl::glsl ; natus::ntd::string_t generator::replace_buildin_symbols( natus::ntd::string_t code ) noexcept { natus::nsl::repl_syms_t repls = { { natus::ntd::string_t( "mul" ), [=] ( natus::ntd::ve...
33.893145
242
0.454762
aconstlink
e7cf06b3e60825044f85863d5f24f3f9fae10376
8,733
cpp
C++
Source/Core/Visualization/Mapper/Streamline.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Mapper/Streamline.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Mapper/Streamline.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file Streamline.cpp * @author Yukio Yasuhra, Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights re...
31.189286
105
0.612504
CCSEPBVR
e7d5b7e1336a699fc45f5c704060073b301168fb
2,385
cpp
C++
ext/nuvo_image/src/Gif.cpp
crema/nuvo_image
7868601deca054dc1bd45507c8d01e640611d322
[ "MIT" ]
null
null
null
ext/nuvo_image/src/Gif.cpp
crema/nuvo_image
7868601deca054dc1bd45507c8d01e640611d322
[ "MIT" ]
5
2016-08-02T13:33:02.000Z
2020-11-03T15:22:52.000Z
ext/nuvo_image/src/Gif.cpp
crema/nuvo-image
365e4a54429fe4180e03adb1968ab9989e7ee5fb
[ "MIT" ]
null
null
null
#include "Gif.h" #include <cstring> bool Gif::TryReadFromBuffer(const std::shared_ptr<std::vector<unsigned char>>& buffer, Gif& gif, Flatten flatten) { GifBuffer readBuffer(buffer->data(), buffer->size()); int error = 0; auto gifFile = DGifOpen(&readBuffer, GifBuffer::ReadFromData, &error); if (gifFile == NUL...
29.085366
115
0.67086
crema
e7db49fd1820aac516d688f41489b6279c002c05
857
cpp
C++
src/Core/Application.cpp
TheJoKeR15/RaiTracer
fb7c498d49c6f886228d54aed1939580bbfb4043
[ "Apache-2.0" ]
1
2020-12-26T03:55:08.000Z
2020-12-26T03:55:08.000Z
src/Core/Application.cpp
TheJoKeR15/RaiTracer
fb7c498d49c6f886228d54aed1939580bbfb4043
[ "Apache-2.0" ]
null
null
null
src/Core/Application.cpp
TheJoKeR15/RaiTracer
fb7c498d49c6f886228d54aed1939580bbfb4043
[ "Apache-2.0" ]
null
null
null
#include "Application.h" ApplicationLayer::ApplicationLayer(GLFWwindow* window, int weight, int height) { m_imGuiLayer = new ImGuiLayer(window, ImVec2((float)weight, (float)height)); } ApplicationLayer ::~ApplicationLayer() { delete m_imGuiLayer; } void ApplicationLayer::OnAttach() { RenderSettings...
18.234043
80
0.705951
TheJoKeR15
e7dc42015308bdc9fb045fa832b2a7afcf101cc3
1,314
hpp
C++
f9_os/inc/os/ktimer.hpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/inc/os/ktimer.hpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/inc/os/ktimer.hpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
1
2020-03-08T01:08:38.000Z
2020-03-08T01:08:38.000Z
/* * ktimer.hpp * * Created on: Apr 30, 2017 * Author: warlo */ #ifndef OS_KTIMER_HPP_ #define OS_KTIMER_HPP_ #include "list.hpp" namespace os { static constexpr bool CONFIG_KTIMER_TICKLESS=true; static constexpr bool CONFIG_KTIMER_TICKLESS_VERIFY=false; static constexpr size_t CONFIG_KTIMER_TICKLESS_C...
23.464286
67
0.749619
ghsecuritylab
e7dc9cc36818cacc1b256cc8333ebf8286fbefed
215
cpp
C++
puzzlemoppet/source/NodeHandler.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
puzzlemoppet/source/NodeHandler.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
puzzlemoppet/source/NodeHandler.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
#include "NodeHandler.h" void NodeHandler::ReceiveRenderPosition(core::vector3df pos) { irrNode->setPosition(pos); } void NodeHandler::ReceiveRenderRotation(core::vector3df rot) { irrNode->setRotation(rot); }
15.357143
60
0.767442
LibreGames
e7e21691c1e63353a0f8d4b3921fd608f4703eb1
940
cpp
C++
sources/2015/2015_10.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
2
2021-02-01T13:19:37.000Z
2021-02-25T10:39:46.000Z
sources/2015/2015_10.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
sources/2015/2015_10.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
#include "2015_10.h" namespace Day10_2015 { pair<size_t, size_t> both_parts(string input) { size_t p1 = 0; size_t p2 = 0; for (int j = 1; j <= 50; j++) { string next; int cnt = 0; char ch = 0; for (size_t i = 0; i < input.size(); i++) { if (input[i] != ch) { if (ch) next += ...
18.431373
82
0.565957
tbielak
e7e59a8104e8fabe05e8d54858ac8af31f80afc9
5,253
cpp
C++
examples/log_example.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
examples/log_example.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
examples/log_example.cpp
yumilceh/libqi
f094bcad506bcfd5a8dcfa7688cbcce864b0765b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012 Aldebaran Robotics. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the COPYING file. */ #include <qi/log.hpp> #include <boost/program_options.hpp> namespace po = boost::program_options; int main(int argc, char **argv) { po::option...
35.734694
227
0.570912
yumilceh
e7e5d5107266ecb4fcb40f9eae3608ef75bab634
1,826
cpp
C++
test/unit/math/opencl/kernel_cl_test.cpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/opencl/kernel_cl_test.cpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/opencl/kernel_cl_test.cpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
#ifdef STAN_OPENCL #include <stan/math/prim/mat.hpp> #include <stan/math/opencl/opencl.hpp> #include <gtest/gtest.h> #include <algorithm> #define EXPECT_MATRIX_NEAR(A, B, DELTA) \ for (int i = 0; i < A.size(); i++) \ EXPECT_NEAR(A(i), B(i), DELTA); TEST(MathGpu, make_kernel) { stan::math::matrix_d m0(3, 3...
29.451613
78
0.594195
peterwicksstringfield
e7e609a2ee5b0ac3c5d65d3452624fc99092084e
13,267
cpp
C++
src/atta/fileSystem/project/projectSerializer.cpp
brenocq/atta
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
5
2021-11-18T02:44:45.000Z
2021-12-21T17:46:10.000Z
src/atta/fileSystem/project/projectSerializer.cpp
Brenocq/RobotSimulator
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
1
2021-11-18T02:56:14.000Z
2021-12-04T15:09:16.000Z
src/atta/fileSystem/project/projectSerializer.cpp
Brenocq/RobotSimulator
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
3
2020-09-10T07:17:00.000Z
2020-11-05T10:24:41.000Z
//-------------------------------------------------- // Atta File System // projectSerializer.cpp // Date: 2021-09-15 // By Breno Cunha Queiroz //-------------------------------------------------- #include <atta/fileSystem/project/projectSerializer.h> #include <atta/fileSystem/serializer/serializer.h> #include <atta/cm...
33.587342
293
0.544434
brenocq
e7ecbe09ed03cde709de89e8bf0cb077e84f8009
1,689
cpp
C++
UInterfaceLib/UInterfaceLib/CConfigBase.cpp
hanbox/UInterfaceLib
6724d5eda486fe604c13bc1bc11a66d3c53dec56
[ "MIT" ]
14
2017-02-24T15:37:27.000Z
2021-12-30T11:13:49.000Z
UInterfaceLib/UInterfaceLib/CConfigBase.cpp
HanBox2016/UInterfaceLib
6724d5eda486fe604c13bc1bc11a66d3c53dec56
[ "MIT" ]
null
null
null
UInterfaceLib/UInterfaceLib/CConfigBase.cpp
HanBox2016/UInterfaceLib
6724d5eda486fe604c13bc1bc11a66d3c53dec56
[ "MIT" ]
11
2017-09-01T08:13:32.000Z
2021-12-30T11:13:44.000Z
#include "StdAfx.h" #include "CConfigBase.h" CConfigBase::CConfigBase(void) { } CConfigBase::~CConfigBase(void) { } int CConfigBase::LoadConfig(string strPath, vector<STPAIR> &v_stPair) { int iRet = ULIB_FALSE; m_strPath = strPath; iRet = m_pFile->InitFile(strPath); for ( int i = 0; i < v_stPair.size(); i...
18.16129
100
0.702783
hanbox
e7efd444fb854946efc856df366d11f249d692db
233
cpp
C++
greeting.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
greeting.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
greeting.cpp
ADITYA-CS/ncurse
f6a9ce3b5e024b76338ab92ae966daf63eb53bc2
[ "MIT" ]
null
null
null
#include <ncurses.h> int main(void) { initscr(); char text[] = "Greetings from NCurses!"; char *t = text; while(*t) { addch(*t++); refresh(); napms(100); } endwin(); return 0; }
12.944444
44
0.472103
ADITYA-CS
e7f039a3480d5001ccc2814ae9898acf0a79cdaf
483
cpp
C++
src/node.cpp
pedroccrp/mata54-compressor
921fe88abd09217a7d6b865106ece4871ba2ec87
[ "MIT" ]
null
null
null
src/node.cpp
pedroccrp/mata54-compressor
921fe88abd09217a7d6b865106ece4871ba2ec87
[ "MIT" ]
null
null
null
src/node.cpp
pedroccrp/mata54-compressor
921fe88abd09217a7d6b865106ece4871ba2ec87
[ "MIT" ]
null
null
null
#include "node.h" Node::Node() { } Node::Node(char value_, int rate_, bool isLeaf_) { value = value_; rate = rate_; isLeaf = isLeaf_; } Node::~Node() { } void Node::addChild(Node node) { children.push_back(node); } bool operator<(const Node& n1, const Node& n2) { return n1.rate < n2.rate; } bo...
13.054054
48
0.619048
pedroccrp
e7f492461bfc00bb977f00bfedf19f318ec6a485
807
cpp
C++
Source/FSD/Private/EnemyPawn.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/EnemyPawn.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/EnemyPawn.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "EnemyPawn.h" #include "Net/UnrealNetwork.h" #include "EnemyHealthComponent.h" #include "PawnStatsComponent.h" #include "EnemyPawnAfflictionComponent.h" #include "EnemyComponent.h" void AEnemyPawn::OnRep_QueuedMontage() { } void AEnemyPawn::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeP...
31.038462
97
0.77943
trumank
e7f4dc026ad488f4a4b3e4f1f385c222346d1ab6
1,901
cpp
C++
ZooidEngine/UI/UIInputComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
4
2019-05-31T22:55:49.000Z
2020-11-26T11:55:34.000Z
ZooidEngine/UI/UIInputComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
null
null
null
ZooidEngine/UI/UIInputComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
1
2018-04-11T02:50:47.000Z
2018-04-11T02:50:47.000Z
#include "UIInputComponent.h" #include "ZooidUI.h" #include "ZEGameContext.h" #include "Input/InputManager.h" #include "Input/Keys.h" namespace ZE { IMPLEMENT_CLASS_1(UIInputComponent, Component); UIInputComponent::UIInputComponent(GameContext* gameContext) : Component(gameContext) { } void UIInputComponent...
27.550725
116
0.776433
azon04
e7fa714d7f40dcea1a236b7ac245bc545bbac3b3
2,190
cpp
C++
game/modules/settings.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
33
2017-01-13T20:47:21.000Z
2022-03-21T23:29:17.000Z
game/modules/settings.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
null
null
null
game/modules/settings.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
4
2016-12-10T16:10:42.000Z
2020-06-28T04:44:11.000Z
// Implements a settings menu for end-user. This is in a separate module // so that it can be shared between multiple small example games. #include "common.hpp" #include "renderer.hpp" #include "glrenderer/renderdevice.hpp" #include "audio.hpp" #include "gui.hpp" #include "../game.hpp" #include <json11/json11.hpp> us...
30
88
0.677626
tapio
e7fc661eb3da78393138874d92b0124b6335f4fb
4,069
cpp
C++
StyleFramework/StyleGridCtrl.cpp
edwig/StyleFramework
c9b19af74f5298c3da348cdbdc988191e76ed807
[ "MIT" ]
2
2021-04-03T12:50:30.000Z
2022-02-08T23:23:56.000Z
StyleFramework/StyleGridCtrl.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
StyleFramework/StyleGridCtrl.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // File: StyleGridCtrl.cpp // Function: Styling frame for the Chris Maunder CGridCtrl grid. // // _____ _ _ _ ______ _ // / ____| | | (_) | ____| ...
25.753165
91
0.529123
edwig
e7fcefc0e0a7f5b05a9d3530c85fee061e89034e
15,397
cpp
C++
xyfd/GaussLegendreQuad.cpp
xxxiasu/XYFDPlus
6bc49723100c9c052a8613ae8ca3135794bc558f
[ "MIT" ]
2
2020-09-08T15:58:16.000Z
2020-09-09T12:44:18.000Z
xyfd/GaussLegendreQuad.cpp
xxxiasu/XYFDPlus
6bc49723100c9c052a8613ae8ca3135794bc558f
[ "MIT" ]
null
null
null
xyfd/GaussLegendreQuad.cpp
xxxiasu/XYFDPlus
6bc49723100c9c052a8613ae8ca3135794bc558f
[ "MIT" ]
null
null
null
/** * GaussLegendreQuad.cpp : xyfd class for representing Gauss-Legendre quadrature rules. * * @author * Xiasu Yang <xiasu.yang@sorbonne-universite.fr> */ /*------------------------------------------------------------------*\ Dependencies \*------------------------------------------------------------------...
58.543726
98
0.673053
xxxiasu
f004013521faa90ad816c94861c38780108d8daa
1,568
cpp
C++
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/Ui/FlowUiScrollerNodes.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/Ui/FlowUiScrollerNodes.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/Ui/FlowUiScrollerNodes.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * 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...
46.117647
100
0.649872
crazyskateface
f0054f2b37a8b3f7886ec48108958a54d0fe74b6
2,670
cpp
C++
android/android_42/native/services/sensorservice/LinearAccelerationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/services/sensorservice/LinearAccelerationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/services/sensorservice/LinearAccelerationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010 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...
33.375
86
0.669663
yakuizhao
f0069085f03a6eff49cae6b18f4a5eed49d722e6
766
hpp
C++
src/ast/include/function_call_expr.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
5
2017-03-28T00:36:54.000Z
2019-08-06T00:05:44.000Z
src/ast/include/function_call_expr.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
4
2017-03-28T01:36:05.000Z
2017-04-17T20:34:46.000Z
src/ast/include/function_call_expr.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
null
null
null
#ifndef FUNCTION_CALL_EXPR_HPP #define FUNCTION_CALL_EXPR_HPP class FunctionDecl; #include "expr.hpp" class FunctionCallExpr : virtual public Expr { private: FunctionDecl* func; std::vector<std::unique_ptr<Expr>> args; public: FunctionCallExpr() = delete; FunctionCallExpr(ScopeCreator* owner, Expr* pe, Functi...
26.413793
79
0.715405
bfeip
f00ac9b055704cdea5f7e2c8677c5d0a2c99a793
369
cpp
C++
source/XCalcSigLib/Data/Functions.cpp
feudalnate/NinjaCrypt
e0a2a42735f3ffcb0e88c1d66998a126569e2d67
[ "Unlicense" ]
2
2022-03-11T20:13:05.000Z
2022-03-12T07:49:01.000Z
source/XCalcSigLib/Data/Functions.cpp
feudalnate/NinjaCrypt
e0a2a42735f3ffcb0e88c1d66998a126569e2d67
[ "Unlicense" ]
null
null
null
source/XCalcSigLib/Data/Functions.cpp
feudalnate/NinjaCrypt
e0a2a42735f3ffcb0e88c1d66998a126569e2d67
[ "Unlicense" ]
1
2022-03-11T20:13:07.000Z
2022-03-11T20:13:07.000Z
#include "Functions.h" void memcpy(byte* dst, byte* src, u32 len) { for (u32 i = 0; i < len; i++) dst[i] = src[i]; } void memset(byte* buffer, byte value, u32 len) { for (u32 i = 0; i < len; i++) buffer[i] = value; } bool32 memcmp(byte* a, byte* b, u32 len) { for (u32 i = 0; i < len; i++) if (...
20.5
49
0.531165
feudalnate
f00ae0c4d6b14bdbcc46d71681d471d764c2956f
1,037
hpp
C++
include/src/TypeErasure/areAllConstexpr.hpp
zeta1999/METL-recursed
495aaa610eb7a98fa720429ebccf9bb98abc3e55
[ "Apache-2.0" ]
10
2018-09-09T04:13:12.000Z
2021-04-20T06:23:11.000Z
include/src/TypeErasure/areAllConstexpr.hpp
zeta1999/METL-recursed
495aaa610eb7a98fa720429ebccf9bb98abc3e55
[ "Apache-2.0" ]
3
2018-10-04T01:56:47.000Z
2020-07-01T15:20:26.000Z
include/src/TypeErasure/areAllConstexpr.hpp
zeta1999/METL-recursed
495aaa610eb7a98fa720429ebccf9bb98abc3e55
[ "Apache-2.0" ]
3
2018-09-28T16:04:46.000Z
2020-01-12T10:55:57.000Z
// File: areAllConstexpr.h // // Copyright 2017-2018 Till Heinzel // // 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 require...
24.116279
75
0.711668
zeta1999
f00e98f5d3a2c856b1735eb7addc1bc7971531e8
3,377
cpp
C++
04 Drawing/contextinterface.cpp
mld2443/D3D12-Tutorial-04-Drawing
da8812f9b93b24740c0c1ecfcb54a1ad4505ca85
[ "MIT" ]
1
2018-11-25T02:53:56.000Z
2018-11-25T02:53:56.000Z
04 Drawing/contextinterface.cpp
mld2443/D3D12-Tutorial-04-Drawing
da8812f9b93b24740c0c1ecfcb54a1ad4505ca85
[ "MIT" ]
10
2018-10-25T21:15:33.000Z
2020-08-14T15:06:01.000Z
04 Drawing/contextinterface.cpp
mld2443/D3D12-Tutorial-04-Drawing
da8812f9b93b24740c0c1ecfcb54a1ad4505ca85
[ "MIT" ]
1
2018-11-24T17:51:28.000Z
2018-11-24T17:51:28.000Z
//////////////////////////////////////////////////////////////////////////////// // Filename: contextinterface.cpp //////////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "contextinterface.h" ContextInterface::ConstantBufferType::ConstantBufferType(ID3D12Devic...
36.706522
111
0.639325
mld2443
f01827da3aaf42c2b8e6c91563718b54dacc7769
73
cpp
C++
src/logging/log.cpp
stridera/FieryV4
747c80fee1dc71e2e06f57fc3f058f3540aaf880
[ "Unlicense" ]
1
2020-07-17T14:03:34.000Z
2020-07-17T14:03:34.000Z
src/logging/log.cpp
stridera/FieryV4
747c80fee1dc71e2e06f57fc3f058f3540aaf880
[ "Unlicense" ]
null
null
null
src/logging/log.cpp
stridera/FieryV4
747c80fee1dc71e2e06f57fc3f058f3540aaf880
[ "Unlicense" ]
null
null
null
#include "log.hpp" std::shared_ptr<spdlog::logger> Mud::Logger::logger_;
24.333333
53
0.739726
stridera
f01a432d3b2cff15bd77f551c4995fbcd8bc80a4
1,760
cc
C++
test/mnist_test.cc
WaizungTaam/nn
1d2c9ac6ae59b85c3493be683a2133ac38e00e62
[ "Apache-2.0" ]
null
null
null
test/mnist_test.cc
WaizungTaam/nn
1d2c9ac6ae59b85c3493be683a2133ac38e00e62
[ "Apache-2.0" ]
null
null
null
test/mnist_test.cc
WaizungTaam/nn
1d2c9ac6ae59b85c3493be683a2133ac38e00e62
[ "Apache-2.0" ]
null
null
null
#include "../include/data/mnist.h" #include <iostream> #include <vector> #include "../include/tensor/vector.h" #include "../include/tensor/matrix.h" #include "../include/model/mlp.h" #include "../include/optimizer.h" #include "../include/activ.h" #include "../include/loss.h" int main() { nn::data::MNIST mnist("d...
37.446809
92
0.613636
WaizungTaam
f01b3c73bf5c9a48a978288b48022b83aa893a29
34,690
hxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterial_EquivGlazingMaterial_Blind.hxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterial_EquivGlazingMaterial_Blind.hxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimMaterial_EquivGlazingMaterial_Blind.hxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
45.228162
212
0.769155
EnEff-BIM
f01d7722a7494aa12536d92b9f4445bdc7bd5b43
1,875
inl
C++
samples/extensions/open_cl_interop/open_cl_functions.inl
samhsw/Vulkan-Samples
53b75db552330772c3c08734adf1ca983bedbf88
[ "Apache-2.0" ]
20
2020-03-25T17:57:32.000Z
2022-03-12T08:16:10.000Z
samples/extensions/open_cl_interop/open_cl_functions.inl
JasonWinston/Vulkan-Samples
fe3fd6435e5f209b00d72a85004f189d01debee4
[ "Apache-2.0" ]
1
2020-02-18T07:08:52.000Z
2020-02-18T07:08:52.000Z
samples/extensions/open_cl_interop/open_cl_functions.inl
JasonWinston/Vulkan-Samples
fe3fd6435e5f209b00d72a85004f189d01debee4
[ "Apache-2.0" ]
1
2020-04-12T16:23:18.000Z
2020-04-12T16:23:18.000Z
/* Copyright (c) 2021, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/license...
38.265306
78
0.817067
samhsw
f01dd885b659ab3d2b3487bdf047fed9020df4e3
179
hpp
C++
llarp/path_types.hpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
llarp/path_types.hpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
llarp/path_types.hpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
#ifndef LLARP_PATH_TYPES_HPP #define LLARP_PATH_TYPES_HPP #include <aligned.hpp> #include <crypto.h> namespace llarp { using PathID_t = AlignedBuffer< PATHIDSIZE >; } #endif
13.769231
47
0.77095
KeeJef
f01fe3c9503dab7dd0139d26787f423f83d77dd2
3,389
cpp
C++
code_reading/oceanbase-master/src/sql/engine/cmd/ob_udf_executor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/cmd/ob_udf_executor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/cmd/ob_udf_executor.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
40.345238
98
0.740041
wangcy6
f026eb7a1d592f75bed531fdd748786e38ecc01e
2,990
cpp
C++
cbits/nqs.cpp
BagrovAndrey/nqs-playground
e2834e8d340c06468687944516a2858bb754cbfe
[ "BSD-3-Clause" ]
null
null
null
cbits/nqs.cpp
BagrovAndrey/nqs-playground
e2834e8d340c06468687944516a2858bb754cbfe
[ "BSD-3-Clause" ]
null
null
null
cbits/nqs.cpp
BagrovAndrey/nqs-playground
e2834e8d340c06468687944516a2858bb754cbfe
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, Tom Westerhout // 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 condition...
37.375
81
0.692308
BagrovAndrey
f028f2117657c1d0797202d543d5684b021cfe4b
14,173
cc
C++
chrome/browser/ui/webui/browser_command/browser_command_handler_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/webui/browser_command/browser_command_handler_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/webui/browser_command/browser_command_handler_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/bind.h" #include "base/run_loop.h" #include "base/test/metrics/histogram_tester.h" #include "base/test/scoped_feature_li...
38.830137
98
0.757144
chromium
f02b78616e68539c658bb9cda3d87c6f870efa5a
461
cpp
C++
find-first-and-last-position-of-element-in-sorted-array/find-first-and-last-position-of-element-in-sorted-array.cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
13
2019-10-12T14:36:32.000Z
2021-06-08T04:26:30.000Z
find-first-and-last-position-of-element-in-sorted-array/find-first-and-last-position-of-element-in-sorted-array.cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
1
2020-02-29T14:02:39.000Z
2020-02-29T14:02:39.000Z
find-first-and-last-position-of-element-in-sorted-array/find-first-and-last-position-of-element-in-sorted-array.cpp
JanaSabuj/Leetcode-solutions
78d10926b15252a969df598fbf1f9b69b2760b79
[ "MIT" ]
3
2020-02-08T12:04:28.000Z
2020-03-17T11:53:00.000Z
class Solution { public: vector<int> searchRange(vector<int>& nums, int target) { int idx1 = lower_bound(nums.begin(), nums.end(), target) - nums.begin(); int idx2 = upper_bound(nums.begin(), nums.end(), target) - nums.begin(); idx2--; if(idx1 >= 0 and idx1 < (in...
30.733333
92
0.501085
JanaSabuj
f0350516c718cdc55f6f2895200a149b9a4b4197
30,949
cpp
C++
middleware/queue/unittest/source/group/test_queuebase.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/queue/unittest/source/group/test_queuebase.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/queue/unittest/source/group/test_queuebase.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
1
2022-02-21T18:30:25.000Z
2022-02-21T18:30:25.000Z
//! //! Copyright (c) 2015, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "common/unittest.h" #include "queue/group/queuebase.h" #include "common/file.h" #include "common/environment.h" #include "common/chronology.h" #include "common/buf...
35.614499
199
0.588032
casualcore