hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
ca5c6ac469f59d2ed0ae0e0e60e6752189d7aea2
6,473
cc
C++
INET_EC/networklayer/diffserv/DSCP_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/networklayer/diffserv/DSCP_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/networklayer/diffserv/DSCP_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
1
2018-10-09T05:00:05.000Z
2018-10-09T05:00:05.000Z
// // Generated file, do not edit! Created by nedtool 5.1 from inet/networklayer/diffserv/DSCP.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #if defined(__clang__) # pragma clang diagnostic ignored "...
30.82381
128
0.663989
[ "vector" ]
ca5e3703d8308db872e9420390b786aab674b41a
7,315
cpp
C++
src/test/json/binding_factory.cpp
faizol/json
b4d9948bcfa51450628cab335a2088e24ba00fe2
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
src/test/json/binding_factory.cpp
faizol/json
b4d9948bcfa51450628cab335a2088e24ba00fe2
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
src/test/json/binding_factory.cpp
faizol/json
b4d9948bcfa51450628cab335a2088e24ba00fe2
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2018-2022 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #include "test.hpp" #include <tao/json.hpp> #include <tao/json/contrib/traits.hpp> namespace tao::json { class base_1 { public: virtual ~base_1() = default; ba...
27.5
103
0.525906
[ "object", "vector" ]
ca5ea465b0cf24d9ccef108ed0424315945d5df4
25,462
cpp
C++
src/marched.cpp
Hyrtsi/cubnature
c10aebc736f56e15148ca2e89c1ff7ce72b82e2c
[ "MIT" ]
null
null
null
src/marched.cpp
Hyrtsi/cubnature
c10aebc736f56e15148ca2e89c1ff7ce72b82e2c
[ "MIT" ]
null
null
null
src/marched.cpp
Hyrtsi/cubnature
c10aebc736f56e15148ca2e89c1ff7ce72b82e2c
[ "MIT" ]
1
2021-12-26T10:01:08.000Z
2021-12-26T10:01:08.000Z
#include "marched.hpp" #include <iostream> #include <omp.h> #include <functional> #include <vector> using namespace glm; namespace { // From http://paulbourke.net/geometry/polygonise/ static const uint16_t EDGE_TABLE[256] = { 0x0 , 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c, 0x80...
53.491597
154
0.373184
[ "mesh", "geometry", "render", "vector" ]
ca60f08b649d631ef71fb0ffe9b4e63ba1c9354f
6,065
cpp
C++
baselines/deepq/experiments/atari/knn_cuda_fixmem/src/knn.cpp
MouseHu/emdqn
ba907e959f21dd0b5a17117accccae9c82a79a3b
[ "MIT" ]
null
null
null
baselines/deepq/experiments/atari/knn_cuda_fixmem/src/knn.cpp
MouseHu/emdqn
ba907e959f21dd0b5a17117accccae9c82a79a3b
[ "MIT" ]
null
null
null
baselines/deepq/experiments/atari/knn_cuda_fixmem/src/knn.cpp
MouseHu/emdqn
ba907e959f21dd0b5a17117accccae9c82a79a3b
[ "MIT" ]
1
2021-04-26T13:55:47.000Z
2021-04-26T13:55:47.000Z
// Python #include <boost/python.hpp> #include <numpy/ndarrayobject.h> #include "knn.h" #include <cstdio> using namespace boost::python; int address_count =0; struct KNNAddress theAddress[20]={{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}}; // For extracting features from a 4-D blob f...
31.102564
115
0.663314
[ "object" ]
ca6132337eb287eeb9ec2e1543ddf7732812c830
1,168
cpp
C++
Source/Renderer/SkyboxRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
7
2021-03-11T14:29:49.000Z
2021-11-14T20:31:09.000Z
Source/Renderer/SkyboxRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
null
null
null
Source/Renderer/SkyboxRenderer.cpp
Hopson97/Slonda-Man
169f95b8db9f1cb694ab459973f98287e5979ab6
[ "MIT" ]
null
null
null
#include "SkyboxRenderer.h" #include "../GLLib/GLFunctions.h" #include "../Model/Mesh.h" #include "../Camera.h" #include "../Model/Generator.h" SkyboxRenderer::SkyboxRenderer() : m_skyShader ("Skybox", "Skybox") { m_skyBoxCube.create({Cube::generateVertexPositions(300), {}, {}, ...
24.333333
95
0.655822
[ "mesh", "render", "model" ]
ca61c1f92e7dc3c384afdcadc974085028c29455
171
cpp
C++
6-array/6-2-vectorSTD/6-2_3_memFunc_front.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
1
2018-04-04T13:43:28.000Z
2018-04-04T13:43:28.000Z
6-array/6-2-vectorSTD/6-2_3_memFunc_front.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
6-array/6-2-vectorSTD/6-2_3_memFunc_front.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { vector<int> marks = {50, 45, 47, 65, 80}; cout << marks.front() << endl; return 0; }
14.25
45
0.590643
[ "vector" ]
ca6391d830529247f4727984437e83b97b8efdc9
234
cpp
C++
src/objects/RedPiece.cpp
Amirhosein-GPR/checkers
4e4eb1ec23e2f34a663b8b59b07babd03c7354ad
[ "MIT" ]
null
null
null
src/objects/RedPiece.cpp
Amirhosein-GPR/checkers
4e4eb1ec23e2f34a663b8b59b07babd03c7354ad
[ "MIT" ]
null
null
null
src/objects/RedPiece.cpp
Amirhosein-GPR/checkers
4e4eb1ec23e2f34a663b8b59b07babd03c7354ad
[ "MIT" ]
null
null
null
#include "objects/RedPiece.hpp" RedPiece::RedPiece(Vector position, SDL_Renderer *renderer, TTF_Font *font) : Piece(position, renderer, font) { SDL_Rect *RedPieceClip = new SDL_Rect{0, 0, 32, 32}; this->clip = RedPieceClip; }
33.428571
109
0.722222
[ "vector" ]
ca689047d70755656bb3dc7c77420b8b32d45e0c
56,081
cpp
C++
tmc3/geometry_octree_decoder.cpp
kento-Y/mpeg-pcc-tmc13
bff871d2a6d85568420d0c059b21bfedfb107687
[ "BSD-3-Clause" ]
110
2019-07-03T08:15:18.000Z
2022-03-23T07:43:45.000Z
tmc3/geometry_octree_decoder.cpp
kento-Y/mpeg-pcc-tmc13
bff871d2a6d85568420d0c059b21bfedfb107687
[ "BSD-3-Clause" ]
null
null
null
tmc3/geometry_octree_decoder.cpp
kento-Y/mpeg-pcc-tmc13
bff871d2a6d85568420d0c059b21bfedfb107687
[ "BSD-3-Clause" ]
44
2019-07-18T12:20:38.000Z
2022-03-18T14:29:43.000Z
/* The copyright in this software is being made available under the BSD * Licence, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such * rights are granted under this licence. * * Copyright (c) 2017-2018, ISO/IEC * All rights reserved. ...
32.834309
85
0.650737
[ "geometry", "vector" ]
ca71ac37739181882bc517ca62439fecabe89886
4,934
cc
C++
mediapipe/calculators/util/landmarks_to_detection_calculator.cc
daren996/mediapipe
87531da11494f374fe95c2bd724da7f0fc795185
[ "Apache-2.0" ]
10
2019-11-04T01:37:47.000Z
2021-06-21T03:33:24.000Z
mediapipe/calculators/util/landmarks_to_detection_calculator.cc
daren996/mediapipe
87531da11494f374fe95c2bd724da7f0fc795185
[ "Apache-2.0" ]
3
2020-06-04T13:17:46.000Z
2021-09-14T15:28:23.000Z
mediapipe/calculators/util/landmarks_to_detection_calculator.cc
daren996/mediapipe
87531da11494f374fe95c2bd724da7f0fc795185
[ "Apache-2.0" ]
6
2019-11-21T02:16:23.000Z
2020-04-05T16:19:59.000Z
// Copyright 2019 The MediaPipe 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 a...
34.746479
79
0.730847
[ "vector" ]
ca776d47ae56cb50c85222323eb14eca9beeb4bc
9,042
cc
C++
PhysicsTools/NanoAOD/plugins/VertexTableProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/NanoAOD/plugins/VertexTableProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/NanoAOD/plugins/VertexTableProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: PhysicsTools/NanoAOD // Class: VertexTableProducer // /**\class VertexTableProducer VertexTableProducer.cc PhysicsTools/VertexTableProducer/plugins/VertexTableProducer.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // // Original Auth...
42.650943
120
0.698297
[ "vector" ]
ca7a7299c0a6e0f22467efd4fa5cace8628a1978
12,831
cpp
C++
Mysql/storage/ndb/test/run-test/db.cpp
clockzhong/WrapLAMP
fa7ad07da3f1759e74966a554befa47bbbbb8dd5
[ "Apache-2.0" ]
1
2015-12-24T16:44:50.000Z
2015-12-24T16:44:50.000Z
Mysql/storage/ndb/test/run-test/db.cpp
clockzhong/WrapLAMP
fa7ad07da3f1759e74966a554befa47bbbbb8dd5
[ "Apache-2.0" ]
1
2015-12-24T18:23:56.000Z
2015-12-24T18:24:26.000Z
Mysql/storage/ndb/test/run-test/db.cpp
clockzhong/WrapLAMP
fa7ad07da3f1759e74966a554befa47bbbbb8dd5
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distributed i...
24.77027
97
0.615307
[ "vector" ]
ca7d62bc84578a3c27a0644177d746d9d5f98e97
8,351
cpp
C++
CSCI-104/hw2/hw2-test/lliststr_gtest.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw2/hw2-test/lliststr_gtest.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/hw2/hw2-test/lliststr_gtest.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
1
2018-03-23T04:19:24.000Z
2018-03-23T04:19:24.000Z
/* CS 104: Homework 2 Problem 7 gtest_LListStr.cpp Contains unit tests for checking student's implementations of a doubly linked list that tracks integers. */ #include <iostream> #include <cstdlib> #include <string> #include <vector> #include "gtest/gtest.h" #include "../lliststr.h" class LListStrTest : public...
21.467866
75
0.672375
[ "vector" ]
ca7daf0faa70db96c8fc22efbabd025da797ef44
20,337
cc
C++
plugins/experimental/prefetch/fetch.cc
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
2
2020-12-05T03:28:25.000Z
2021-07-10T06:03:57.000Z
plugins/experimental/prefetch/fetch.cc
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
null
null
null
plugins/experimental/prefetch/fetch.cc
liangzhaorong/trafficserver
80d6440c1879d80d5f3dc0e3dcdc5de38d1e7ea1
[ "Apache-2.0" ]
null
null
null
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may no...
27.482432
129
0.679648
[ "object" ]
ca8124657789b76f13d89464a4cdb2d4abfa0739
3,119
cpp
C++
src/GameEngineClasses/Game.cpp
dmariaa/game-engine
b26a58b7cdfcabbb6952f5df62248a8e9ce3476c
[ "MIT" ]
null
null
null
src/GameEngineClasses/Game.cpp
dmariaa/game-engine
b26a58b7cdfcabbb6952f5df62248a8e9ce3476c
[ "MIT" ]
null
null
null
src/GameEngineClasses/Game.cpp
dmariaa/game-engine
b26a58b7cdfcabbb6952f5df62248a8e9ce3476c
[ "MIT" ]
null
null
null
// // Game.cpp // src // // Created by David María Arribas on 17/10/17. // Copyright © 2017 David María Arribas. All rights reserved. // #include "Game.hpp" Game* Game::gameInstance = 0; Game::Game() : scene(new Scene()), keyboardHandler(new InputHandler()) {} void Game::init(int argc, char** argv) { gameIn...
22.601449
73
0.675216
[ "render" ]
ca83e1c595d1adf316b8324af9eef4056ac06e0e
6,052
cpp
C++
interface/src/ui/overlays/TextOverlay.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
interface/src/ui/overlays/TextOverlay.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
interface/src/ui/overlays/TextOverlay.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
// // TextOverlay.cpp // interface/src/ui/overlays // // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // // include this before QGLWidget, which includes an earlier version of Ope...
31.195876
116
0.663087
[ "render" ]
ca8c308506a8089e1db9886bd4d34bb20fe00138
1,624
cpp
C++
src/test-apps/fuzz/FuzzUtils.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
249
2017-09-18T17:48:34.000Z
2022-02-02T06:46:21.000Z
src/test-apps/fuzz/FuzzUtils.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
501
2017-11-10T11:25:32.000Z
2022-02-01T10:43:13.000Z
src/test-apps/fuzz/FuzzUtils.cpp
aiw-google/openweave-core
5dfb14b21d0898ef95bb62ff564cadfeea4b4702
[ "Apache-2.0" ]
116
2017-09-20T07:06:55.000Z
2022-01-08T13:41:15.000Z
/* * * Copyright (c) 2018 Google LLC. * Copyright (c) 2013-2017 Nest Labs, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
29
78
0.672414
[ "vector" ]
ca8e6c177f0eeb9bc347f1b86dadde29b28714ee
21,769
cpp
C++
Marlin/src/lcd/e3v2/marlinui/ui_common.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
Marlin/src/lcd/e3v2/marlinui/ui_common.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
Marlin/src/lcd/e3v2/marlinui/ui_common.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
/** * Marlin 3D Printer Firmware * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
36.771959
152
0.657081
[ "mesh", "3d", "solid" ]
ca8ef7207cb83e541e1f4c57c5af42faeda54bdb
7,169
cxx
C++
GRBtemplate/src/GRBtemplateManager.cxx
fermi-lat/celestialSources
aaa2a2275b767088c23fde64b407afdac3493208
[ "BSD-3-Clause" ]
null
null
null
GRBtemplate/src/GRBtemplateManager.cxx
fermi-lat/celestialSources
aaa2a2275b767088c23fde64b407afdac3493208
[ "BSD-3-Clause" ]
null
null
null
GRBtemplate/src/GRBtemplateManager.cxx
fermi-lat/celestialSources
aaa2a2275b767088c23fde64b407afdac3493208
[ "BSD-3-Clause" ]
1
2017-08-31T21:10:27.000Z
2017-08-31T21:10:27.000Z
/* * $Header$ */ #include "GRBtemplate/GRBtemplateManager.h" #include <cstdlib> #include <iostream> #include <stdexcept> #include <fstream> #include "flux/SpectrumFactory.h" #include "astro/EarthCoordinate.h" #include "astro/GPS.h" #include "astro/SkyDir.h" #include "astro/PointingTransform.h" #include "astro/Julian...
25.332155
141
0.615149
[ "vector" ]
ca907fc0e5127d08d6ea885dfbcb7a794619add6
19,012
cpp
C++
net/rras/cm/cmdl/vpndownload.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/rras/cm/cmdl/vpndownload.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/rras/cm/cmdl/vpndownload.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+---------------------------------------------------------------------------- // // File: vpndownload.cpp // // Module: CMDL32.EXE // // Synopsis: This file contains the code to handle the updating of VPN phonebooks. // // Copyright (c) 2000-2001 Microsoft Corporation // // Author: quintinb Create...
36.144487
159
0.492584
[ "object" ]
ca91e5112ff10a763c5297bfb18928b48e25c6f1
1,380
cpp
C++
Sources/Elastos/LibCore/src/elastosx/crypto/spec/PSource.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastosx/crypto/spec/PSource.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastosx/crypto/spec/PSource.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
27.058824
75
0.619565
[ "object" ]
ca9ae791b55306ebd4ddd8ec8f7829dddb478895
2,090
cc
C++
Strategy/TextProcessor/src/main.cc
kasakun/Design-Patterns
8196c2d3bc03cdf36b913f890a615ccf18924a11
[ "MIT" ]
null
null
null
Strategy/TextProcessor/src/main.cc
kasakun/Design-Patterns
8196c2d3bc03cdf36b913f890a615ccf18924a11
[ "MIT" ]
null
null
null
Strategy/TextProcessor/src/main.cc
kasakun/Design-Patterns
8196c2d3bc03cdf36b913f890a615ccf18924a11
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <sstream> #include <string> #include <vector> using namespace std; enum class OutputFormat { Markdown, Html }; struct ListStrategy { virtual ~ListStrategy() = default; virtual void add_list_item(ostringstream& oss, const string& item) {}; virtual void start(o...
24.302326
74
0.602871
[ "vector" ]
caa2721441a0d919e67f2cc2825742c05b8713b4
4,349
cpp
C++
src/k_point/test_fv_states.cpp
mtaillefumier/SIRIUS
50ec1c202c019113c5660f1966b170dec9dfd4d4
[ "BSD-2-Clause" ]
77
2016-03-18T08:38:30.000Z
2022-03-11T14:06:25.000Z
src/K_point/test_fv_states.cpp
oschuett/SIRIUS
8725bb9bc56d7655df9e02b2a511cb63def29d85
[ "BSD-2-Clause" ]
240
2016-04-12T16:39:11.000Z
2022-03-31T08:46:12.000Z
src/K_point/test_fv_states.cpp
oschuett/SIRIUS
8725bb9bc56d7655df9e02b2a511cb63def29d85
[ "BSD-2-Clause" ]
43
2016-03-18T17:45:07.000Z
2022-02-28T05:27:59.000Z
// Copyright (c) 2013-2016 Anton Kozhevnikov, Thomas Schulthess // 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, ...
44.835052
117
0.5914
[ "transform" ]
caa827f1fd8359081abaaaaf751be1cc1a5bb0aa
6,879
hpp
C++
include/STP/Core/ObjectGroup.hpp
mustafmst/lost-dungeon
78eab777dc4ffeacca48e647cf5945628992ce7c
[ "MIT" ]
33
2015-06-26T19:39:40.000Z
2022-01-03T23:34:12.000Z
include/STP/Core/ObjectGroup.hpp
arnavr23/STP
7c027a84d61137f092f4fac7d847a0085b156dbc
[ "MIT" ]
25
2015-02-17T17:02:51.000Z
2020-08-23T22:57:55.000Z
include/STP/Core/ObjectGroup.hpp
arnavr23/STP
7c027a84d61137f092f4fac7d847a0085b156dbc
[ "MIT" ]
26
2015-02-14T18:21:14.000Z
2020-07-27T04:39:30.000Z
//////////////////////////////////////////////////////////// // // The MIT License (MIT) // // STP - SFML TMX Parser // Copyright (c) 2013-2014 Manuel Sabogal // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to de...
39.763006
119
0.525222
[ "object", "shape", "vector" ]
caaf6a56c911fc1ba47b4bc7bff1cb8971f2e92e
1,772
hpp
C++
srcs/common/itemprotectionbox.hpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
9
2018-04-28T02:27:33.000Z
2021-11-24T16:04:36.000Z
srcs/common/itemprotectionbox.hpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
1
2018-11-20T15:23:29.000Z
2018-11-21T05:10:58.000Z
srcs/common/itemprotectionbox.hpp
brooklet/heif
87d0427d750d882acba5f31bae697fe9a433ab50
[ "BSD-3-Clause" ]
1
2021-01-07T06:47:02.000Z
2021-01-07T06:47:02.000Z
/* This file is part of Nokia HEIF library * * Copyright (c) 2015-2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: heif@nokia.com * * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are rese...
34.076923
151
0.726862
[ "vector" ]
cab6a7cd2e55f2a97039ff4a7c270636de314cd5
14,565
cpp
C++
qt-solutions/qtscriptclassic/src/qscriptengineagent.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
10
2016-04-15T15:31:08.000Z
2019-10-02T01:19:48.000Z
qt-solutions/qtscriptclassic/src/qscriptengineagent.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
null
null
null
qt-solutions/qtscriptclassic/src/qscriptengineagent.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
5
2016-04-15T15:31:10.000Z
2022-02-22T02:00:06.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Solutions component. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BS...
32.878104
115
0.730793
[ "object" ]
cab8ae3c5d809b9e52c8c905ce27787a9e4639d0
12,389
cpp
C++
src/caffe/layers/anchors_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
2
2017-09-11T11:59:05.000Z
2021-05-08T13:12:57.000Z
src/caffe/layers/anchors_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/anchors_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
null
null
null
#include "caffe/layers/anchors_layer.hpp" #include "caffe/util/nms.hpp" #include <algorithm> #include <tuple> #define ROUND(x) ((int)((x) + (Dtype)0.5)) using std::max; using std::min; namespace caffe { template <typename Dtype> static void generate_anchors(int base_size, const Dtype ratios[], const Dtype sca...
37.542424
219
0.608927
[ "vector", "transform" ]
cabba33de6f1829457511e606e5391d6c60c488d
7,453
cc
C++
v8js_array_access.cc
petk/v8js
6fc0c216d8e1256b42b719c5a645ac4485e3ed4c
[ "MIT" ]
null
null
null
v8js_array_access.cc
petk/v8js
6fc0c216d8e1256b42b719c5a645ac4485e3ed4c
[ "MIT" ]
null
null
null
v8js_array_access.cc
petk/v8js
6fc0c216d8e1256b42b719c5a645ac4485e3ed4c
[ "MIT" ]
1
2021-07-19T19:15:25.000Z
2021-07-19T19:15:25.000Z
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2017 The PHP Group | +--------------...
28.446565
127
0.660271
[ "object" ]
cabcb64d0141d0dae2924f33890bbafa40c70df9
10,014
cpp
C++
src/engine/components/replay/cl_screenshotmanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/components/replay/cl_screenshotmanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/components/replay/cl_screenshotmanager.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // //=======================================================================================// #include "cl_screenshotmanager.h" #include "replay/screenshot.h" #include "replaysystem.h" #include "cl_replaymanager.h" #include "replay/replayut...
36.95203
119
0.65688
[ "geometry", "vector" ]
cabdc126a8bf2ad02981ae91eb17a88861742b9a
5,754
hpp
C++
Sources/Renderer/Pipelines/ShaderProgram.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
1
2019-03-13T08:26:38.000Z
2019-03-13T08:26:38.000Z
Sources/Renderer/Pipelines/ShaderProgram.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
Sources/Renderer/Pipelines/ShaderProgram.hpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <sstream> #include <string> #include <vector> #include <vulkan/vulkan.h> #include "PipelineCreate.hpp" namespace glslang { class TProgram; } namespace acid { class ACID_EXPORT Uniform { private: std::string m_name; int m_binding; int m_offset; int m_size; int m_g...
24.278481
154
0.695864
[ "vector" ]
cac453f5e444a6eb849d82aa83a6e07261b2a018
3,345
cpp
C++
clone-graph_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
16
2018-12-04T16:23:07.000Z
2021-09-21T06:32:04.000Z
clone-graph_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
1
2019-08-21T16:20:03.000Z
2019-08-21T16:21:41.000Z
clone-graph_test.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
23
2019-06-21T12:09:57.000Z
2021-09-22T18:03:28.000Z
#include <bits/stdc++.h> using namespace std; #define DEBUG(x) \ do { \ std::cout << #x << ": " << x << " "; \ } while (0) #define DEBUG...
28.836207
80
0.462481
[ "vector" ]
cac4e866fd0896f5c60749bb0bd1031cedb473b2
3,843
cc
C++
content/browser/scheduler/browser_io_thread_delegate.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
content/browser/scheduler/browser_io_thread_delegate.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
content/browser/scheduler/browser_io_thread_delegate.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/scheduler/browser_io_thread_delegate.h" #include "base/message_loop/message_pump.h" #include "base/message_loop/message_pump_ty...
33.12931
75
0.766068
[ "vector" ]
cac5139ea19b667d6f01a3f11c41a6eff1ce659d
1,067
hpp
C++
ext/src/org/apache/commons/collections4/bidimap/TreeBidiMap_ValueView.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/apache/commons/collections4/bidimap/TreeBidiMap_ValueView.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/apache/commons/collections4/bidimap/TreeBidiMap_ValueView.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/commons-collections4-4.1.jar #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/util/fwd-POI.hpp> #include <org/apache/commons/collections4/bidimap/fwd-POI.hpp> #include <org/apache/commons/collections4/bidimap/TreeBidiMap_View.hpp> struct default_init_tag; cl...
24.813953
93
0.735708
[ "object" ]
cac6d3a6c10b0e58444b6788480be55f188102c8
5,177
cpp
C++
arf_planning_server/src/server_3.cpp
JeroenDM/benchmark_planning_servers
f87230421e344e678c9aa406d2cda2362d6cb6d7
[ "MIT" ]
null
null
null
arf_planning_server/src/server_3.cpp
JeroenDM/benchmark_planning_servers
f87230421e344e678c9aa406d2cda2362d6cb6d7
[ "MIT" ]
null
null
null
arf_planning_server/src/server_3.cpp
JeroenDM/benchmark_planning_servers
f87230421e344e678c9aa406d2cda2362d6cb6d7
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <nexon_msgs/LINPlanning.h> #include <eigen_conversions/eigen_msg.h> #include <eigen3/Eigen/Geometry> #include "arf_moveit_wrapper/redundant_robot.h" #include "arf_trajectory/trajectory.h" // I put some code in header files instead of separate libraries #quickanddirty #include "arf_planni...
29.924855
116
0.688623
[ "geometry", "vector" ]
cac7b7835307e89ef70b15f5dbb5cc8e4bdc1c91
1,147
cpp
C++
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Serial/src/RaspberryPi_2_B_Serial.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Serial/src/RaspberryPi_2_B_Serial.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Serial/src/RaspberryPi_2_B_Serial.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
/**************************************************************************************** ** LINX Serial Listener For Raspberry Pi 2 Model B ** ** For more information see: www.labviewmakerhub.com/linx ** For support visit the forums at: www.labviewmakerhub.com/forums/linx ** ** Written By Sam Kristo...
26.068182
125
0.612031
[ "model" ]
cacb4438b1564685a656089b69a3f97d57ff21f3
1,313
cpp
C++
src/Logger.cpp
walidAbbassi/LoggerCpp
1ca2e3e6049759c7ecb94c8a83b9b65588a79daa
[ "MIT" ]
1
2018-12-13T05:35:31.000Z
2018-12-13T05:35:31.000Z
src/Logger.cpp
walidAbbassi/LoggerCpp
1ca2e3e6049759c7ecb94c8a83b9b65588a79daa
[ "MIT" ]
null
null
null
src/Logger.cpp
walidAbbassi/LoggerCpp
1ca2e3e6049759c7ecb94c8a83b9b65588a79daa
[ "MIT" ]
null
null
null
/** * @file Logger.cpp * @ingroup LoggerCpp * @brief A simple thread-safe Logger class * * Copyright (c) 2013 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ #include <Logg...
21.177419
83
0.689261
[ "object" ]
cacb5f51a735d9a33e27986bc507cc6cd5fe162e
4,744
cpp
C++
runtime/mmap-module.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
runtime/mmap-module.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
runtime/mmap-module.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "mmap-module.h" #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> #include <cerrno> #include "builtins.h" #include "file.h" #include "handles.h" #include "module-builtins.h" #include "modules.h" #include "objects.h" #...
33.174825
79
0.655987
[ "object" ]
cacd69625aad4feb64e6fa7553e10ef5ed227dd7
3,808
cpp
C++
som/test/saved model/main.cpp
dsilko/SOM
9d27f101176b789305e783f643930a7a1c384bc5
[ "Apache-2.0" ]
9
2018-05-19T21:37:06.000Z
2021-05-31T20:10:34.000Z
som/test/saved model/main.cpp
dsilko/SOM
9d27f101176b789305e783f643930a7a1c384bc5
[ "Apache-2.0" ]
null
null
null
som/test/saved model/main.cpp
dsilko/SOM
9d27f101176b789305e783f643930a7a1c384bc5
[ "Apache-2.0" ]
3
2018-06-30T20:55:56.000Z
2020-09-14T20:35:23.000Z
/* Copyright 2018 Denis Silko. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
32
92
0.574055
[ "vector", "model" ]
cad7fb6792d9b4fd02a100cac3454833cc0dfc8c
9,700
cxx
C++
main/framework/source/uielement/fontmenucontroller.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/framework/source/uielement/fontmenucontroller.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/framework/source/uielement/fontmenucontroller.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
37.451737
147
0.710412
[ "vector" ]
cae274265ba4f2b67fbbb9bf7fbab7a2cc196e2b
4,971
cpp
C++
tests/testDogleg.cpp
versatran01/minisam
b3840d2629551fdfa287df8aac2e7956873d2b0e
[ "BSD-3-Clause" ]
338
2019-09-03T10:44:08.000Z
2022-03-31T12:12:08.000Z
tests/testDogleg.cpp
bhsphd/minisam
ef84796fa11ac6e5e4d4aa9d60d9b94a99a973fb
[ "BSD-3-Clause" ]
23
2019-09-26T09:00:43.000Z
2022-01-04T06:04:02.000Z
tests/testDogleg.cpp
bhsphd/minisam
ef84796fa11ac6e5e4d4aa9d60d9b94a99a973fb
[ "BSD-3-Clause" ]
87
2019-09-04T05:17:07.000Z
2022-02-23T09:47:23.000Z
// test Levenberg-Marquardt // use the same factor graph in testlinearization #include <minisam/3rdparty/Catch2/catch.hpp> #include <minisam/utils/testAssertions.h> #include <minisam/nonlinear/DoglegOptimizer.h> #include <minisam/nonlinear/linearization.h> #include <minisam/nonlinear/SparsityPattern.h> #include <min...
31.462025
94
0.670087
[ "vector" ]
cae79749030067f5fbdd0ce363c081dd59d7f79e
10,008
cc
C++
tce/src/applibs/hdb/FUArchitecture.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
74
2015-10-22T15:34:10.000Z
2022-03-25T07:57:23.000Z
tce/src/applibs/hdb/FUArchitecture.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
79
2015-11-19T09:23:08.000Z
2022-01-12T14:15:16.000Z
tce/src/applibs/hdb/FUArchitecture.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
38
2015-11-17T10:12:23.000Z
2022-03-25T07:57:24.000Z
/* Copyright (c) 2002-2009 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...
31.275
78
0.593125
[ "object" ]
cae7c3182d0133f47960099b59dcb7f974be03e9
6,008
hpp
C++
src/graph_cc.hpp
owodolab/graspi
4319cad2d5490903998094cdee85f039f70a4ff6
[ "BSD-3-Clause" ]
2
2020-11-24T15:07:00.000Z
2021-03-09T00:22:14.000Z
src/graph_cc.hpp
owodolab/graspi
4319cad2d5490903998094cdee85f039f70a4ff6
[ "BSD-3-Clause" ]
2
2021-05-21T21:33:55.000Z
2021-07-08T16:17:12.000Z
src/graph_cc.hpp
owodolab/graspi
4319cad2d5490903998094cdee85f039f70a4ff6
[ "BSD-3-Clause" ]
3
2020-11-19T22:18:32.000Z
2021-12-22T11:13:22.000Z
/*** * $Id$ ** * File: graph_cc.hpp * Created: May 9, 2012 * * Author: Olga Wodo, Baskar Ganapathysubramanian * Copyright (c) 2012 Olga Wodo, Baskar Ganapthysubramanian * See accompanying LICENSE. * * This file is part of GraSPI. */ #ifndef GRAPH_CC_HPP #define GRAPH_CC_HPP #include "graspi_types.hp...
39.788079
172
0.601365
[ "vector" ]
cae9cd1ea56dd308b362d3362c1e4d9f58f7730d
577
hpp
C++
frontend/error/Manager.hpp
patrickf2000/tiny-lang
0339bf046be53e31130c47a9eae4c0a62fe5a1a6
[ "BSD-3-Clause" ]
null
null
null
frontend/error/Manager.hpp
patrickf2000/tiny-lang
0339bf046be53e31130c47a9eae4c0a62fe5a1a6
[ "BSD-3-Clause" ]
null
null
null
frontend/error/Manager.hpp
patrickf2000/tiny-lang
0339bf046be53e31130c47a9eae4c0a62fe5a1a6
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2021-2022 Patrick Flynn // This file is part of the Tiny Lang compiler. // Tiny Lang is licensed under the BSD-3 license. See the COPYING file for more information. // #pragma once #include <string> #include <vector> struct Error { int line; std::string message; }; class ErrorManager { public...
20.607143
92
0.691508
[ "vector" ]
caeb9e7ee3bfb3ef00f1fe2643307ef254f0e1d9
32,854
cpp
C++
cygic/logic/logic_circuit.cpp
T145/archive
520ce95fb533ac0c41d3c59511637ad06faea095
[ "MIT" ]
null
null
null
cygic/logic/logic_circuit.cpp
T145/archive
520ce95fb533ac0c41d3c59511637ad06faea095
[ "MIT" ]
null
null
null
cygic/logic/logic_circuit.cpp
T145/archive
520ce95fb533ac0c41d3c59511637ad06faea095
[ "MIT" ]
null
null
null
/***************************************************************************** Project: CEDAR Logic Simulator Copyright 2006 Cedarville University, Benjamin Sprague, Matt Lewellyn, and David Knierim All rights reserved. For license information see license.txt included with distribution....
32.788423
154
0.681957
[ "vector" ]
caefd845ceb99e8ebacf03715ca6660c826f026e
5,174
cpp
C++
src/LMR/cpm_LeafCommInfo.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
4
2015-03-17T17:30:10.000Z
2019-01-31T15:13:59.000Z
src/LMR/cpm_LeafCommInfo.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
null
null
null
src/LMR/cpm_LeafCommInfo.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
4
2015-12-09T02:42:29.000Z
2022-03-18T09:03:28.000Z
/* ################################################################################### # # CPMlib - Computational space Partitioning Management library # # Copyright (c) 2012-2014 Institute of Industrial Science (IIS), The University of Tokyo. # All rights reserved. # # Copyright (c) 2014-2016 Advanced Institute for Co...
27.668449
106
0.57673
[ "vector" ]
cafca702eef73eb0a7561a6fc594506ab11ee039
2,628
cpp
C++
Example/Visualization/VisualizationPipeline/main.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Example/Visualization/VisualizationPipeline/main.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Example/Visualization/VisualizationPipeline/main.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file main.cpp * @brief Example program for kvs::VisualizationPipeline class. * @author Naohisa Sakamoto */ /*****************************************************************************/ #include <kvs/Message> #include <kvs...
37.014085
85
0.574581
[ "object" ]
1b09d96180e7bc411bbdd6b57bf2df6f68397288
12,750
cpp
C++
SYCL/GroupAlgorithm/SYCL2020/sort.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
10
2020-08-04T04:29:03.000Z
2022-02-23T21:43:56.000Z
SYCL/GroupAlgorithm/SYCL2020/sort.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
519
2020-09-15T07:40:51.000Z
2022-03-31T20:51:15.000Z
SYCL/GroupAlgorithm/SYCL2020/sort.cpp
AerialMantis/llvm-test-suite
c28d0d3b7a26f069f904d652a974968c5e40e994
[ "Apache-2.0" ]
117
2020-06-24T13:11:04.000Z
2022-03-23T15:44:23.000Z
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -I . -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out // // RUNx: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -I . -o %t13.out #include "support.h" #include <CL/sycl.hpp> #include <algorithm>...
34
80
0.588863
[ "vector" ]
db47084c28d2eafda50a7858c1ee841c38deb359
1,748
cpp
C++
labosi/lab-2/2019-20/by_KitKat/struk.cpp
studosi-fer/DISMATe1
d34de1f54c9607602521af311c55e7cacd16c411
[ "Apache-2.0" ]
null
null
null
labosi/lab-2/2019-20/by_KitKat/struk.cpp
studosi-fer/DISMATe1
d34de1f54c9607602521af311c55e7cacd16c411
[ "Apache-2.0" ]
null
null
null
labosi/lab-2/2019-20/by_KitKat/struk.cpp
studosi-fer/DISMATe1
d34de1f54c9607602521af311c55e7cacd16c411
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <queue> #include <fstream> #include <string> using namespace std; #define N 100200 const int MAX = 20; vector<int> gr[N]; // bridovi void Add_edge(int x, int y) { gr[x].push_back(y); gr[y].push_back(x); } int struk(int n) { // pomocna varijabla...
14.940171
49
0.540618
[ "vector" ]
db4d2ec0db929b475b4a8c83fcf65cd93ce0a0f5
14,766
cpp
C++
core/resource.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
core/resource.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
core/resource.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
1
2019-01-13T00:44:17.000Z
2019-01-13T00:44:17.000Z
/*************************************************************************/ /* resource.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
23.550239
142
0.673845
[ "object" ]
db4d7121a6936fe76cf4af3b4cb6cef7265bcbbc
100,493
cpp
C++
src/module.cpp
Jiboo/wembed
8d6ce78d8e499ffdbd736e4cfb688e1aba265adf
[ "MIT" ]
2
2019-04-22T05:50:37.000Z
2020-02-11T20:45:12.000Z
src/module.cpp
Jiboo/wembed
8d6ce78d8e499ffdbd736e4cfb688e1aba265adf
[ "MIT" ]
null
null
null
src/module.cpp
Jiboo/wembed
8d6ce78d8e499ffdbd736e4cfb688e1aba265adf
[ "MIT" ]
null
null
null
#include <sstream> #include <llvm-c/Analysis.h> #include <llvm-c/Transforms/AggressiveInstCombine.h> #include <llvm-c/Transforms/InstCombine.h> #include <llvm-c/Transforms/IPO.h> #include <llvm-c/Transforms/Scalar.h> #include <llvm-c/Transforms/Utils.h> #include <llvm-c/Transforms/Vectorize.h> #include <wembed/module....
47.514421
186
0.651817
[ "vector" ]
db4dafccc0876421b7f44def950287c53831c58b
44,961
cpp
C++
third_party/skia_m84/third_party/externals/angle2/src/tests/gl_tests/ProgramInterfaceTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
third_party/skia_m84/third_party/externals/angle2/src/tests/gl_tests/ProgramInterfaceTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
third_party/skia_m84/third_party/externals/angle2/src/tests/gl_tests/ProgramInterfaceTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
// // Copyright 2017 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ProgramInterfaceTest: Tests of program interfaces. #include "common/string_utils.h" #include "test_utils/ANGLETest.h" #include "test_utils/...
36.944125
100
0.63713
[ "render", "vector", "transform" ]
db52d6ab106a63b8fe2c88b1c1df7f0063719a87
16,617
cpp
C++
src/auto_settings_ui.cpp
Lauriethefish/FishUtils
110815bb316bfb4376cc8306e4eeaf1cfd28727f
[ "Zlib" ]
1
2021-10-17T12:03:40.000Z
2021-10-17T12:03:40.000Z
src/auto_settings_ui.cpp
Lauriethefish/FishUtils
110815bb316bfb4376cc8306e4eeaf1cfd28727f
[ "Zlib" ]
null
null
null
src/auto_settings_ui.cpp
Lauriethefish/FishUtils
110815bb316bfb4376cc8306e4eeaf1cfd28727f
[ "Zlib" ]
null
null
null
#include "auto_settings_ui.hpp" #include "main.hpp" #include "ui_utils.hpp" #include "System/Collections/Generic/List_1.hpp" using namespace System::Collections::Generic; #include "GlobalNamespace/BeatmapLevelsModel.hpp" #include "GlobalNamespace/BeatmapLevelPackCollection.hpp" #include "GlobalNamespace/IBeatmapLevel...
58.717314
239
0.686706
[ "vector", "transform" ]
db6af1f87f7acfa986068f6f04935403b8756356
11,577
cpp
C++
source/mclib/appear.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mclib/appear.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mclib/appear.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//--------------------------------------------------------------------------- // // Appear.cpp -- File contains the Basic Game Appearance operator overrides // //---------------------------------------------------------------------------// // Copyright (C) Microsoft Corporation. All rights reserved. // ...
25.00432
97
0.57692
[ "render" ]
db6f0295625ec6f8751ba4805c625f655c4244a4
9,132
cpp
C++
src/FaceTracker.cpp
m9dfukc/ofxDLib
a92befdfea8b45aaf273f79fa123d507567f1635
[ "MIT" ]
4
2016-04-22T13:00:09.000Z
2021-06-21T07:05:59.000Z
src/FaceTracker.cpp
m9dfukc/ofxDLib
a92befdfea8b45aaf273f79fa123d507567f1635
[ "MIT" ]
null
null
null
src/FaceTracker.cpp
m9dfukc/ofxDLib
a92befdfea8b45aaf273f79fa123d507567f1635
[ "MIT" ]
null
null
null
// // FaceTracker.cpp // example_FaceTracker // // Created by Roy Macdonald on 15-01-16. // // #include "FaceTracker.h" using namespace ofxDLib; FaceTracker::FaceTracker() { smoothingRate = 0.5; drawStyle = lines; tracker.setSmoothingRate(smoothingRate); } //-------------------------------------------...
31.381443
97
0.491568
[ "shape", "vector" ]
db7344d6d79de6b002adf67f2d9813c1bf9cbe50
4,754
cc
C++
lite/core/optimizer/mir/fusion/keepdims_convert_fuser.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
808
2018-04-17T17:43:12.000Z
2019-08-18T07:39:13.000Z
lite/core/optimizer/mir/fusion/keepdims_convert_fuser.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
728
2018-04-18T08:15:25.000Z
2019-08-16T07:14:43.000Z
lite/core/optimizer/mir/fusion/keepdims_convert_fuser.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
364
2018-04-18T17:05:02.000Z
2019-08-18T03:25:38.000Z
// Copyright (c) 2022 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...
33.013889
79
0.667017
[ "shape", "vector" ]
db778c16812e7d12003f2b07900f253dd31faa7b
4,997
hpp
C++
src/sage/modular/arithgroup/farey.hpp
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
5
2015-01-04T07:15:06.000Z
2022-03-04T15:15:18.000Z
src/sage/modular/arithgroup/farey.hpp
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
null
null
null
src/sage/modular/arithgroup/farey.hpp
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
10
2016-09-28T13:12:40.000Z
2022-02-12T09:28:34.000Z
// // farey.hpp // FareySymbol // //************************************************************************* // Copyright (C) 2011 Hartmut Monien <monien@th.physik.uni-bonn.de> // // Distributed under the terms of the GNU General Public License (GPL) // // This code is distributed in the hope that it will ...
30.469512
81
0.668801
[ "vector" ]
db780abd9d864db8fe85de3ba3c1ff3f59646c3e
37,715
cpp
C++
darkness-engine/private-src/engine/graphics/vulkan/VulkanPipeline.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
6
2019-10-17T11:31:55.000Z
2022-02-11T08:51:20.000Z
darkness-engine/private-src/engine/graphics/vulkan/VulkanPipeline.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-08-11T09:01:29.000Z
2020-08-11T09:01:29.000Z
darkness-engine/private-src/engine/graphics/vulkan/VulkanPipeline.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-06-02T15:48:20.000Z
2020-06-02T15:48:20.000Z
#include "engine/graphics/vulkan/VulkanPipeline.h" #include "engine/graphics/vulkan/VulkanHeaders.h" #include "engine/graphics/vulkan/VulkanShaderBinary.h" #include "engine/graphics/vulkan/VulkanConversions.h" #include "engine/graphics/vulkan/VulkanRootSignature.h" #include "engine/graphics/vulkan/VulkanRootParameter.h...
49.821664
161
0.649821
[ "object", "vector" ]
db7830a92cca225b4a7f58b6e85e67c4144c5068
9,970
hpp
C++
dmc.contracts/eosio.system/include/eosio.system/eosio.system.hpp
JTNowitzki/dmchain_contract
2c0e17aa89426bf5b37b256126d7be60423113a4
[ "MIT" ]
2
2022-02-01T08:04:24.000Z
2022-02-09T11:22:02.000Z
dmc.contracts/eosio.system/include/eosio.system/eosio.system.hpp
JTNowitzki/dmchain_contract
2c0e17aa89426bf5b37b256126d7be60423113a4
[ "MIT" ]
1
2022-02-07T07:02:35.000Z
2022-02-07T07:02:35.000Z
dmc.contracts/eosio.system/include/eosio.system/eosio.system.hpp
JTNowitzki/dmchain_contract
2c0e17aa89426bf5b37b256126d7be60423113a4
[ "MIT" ]
1
2022-03-15T12:10:31.000Z
2022-03-15T12:10:31.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio.system/native.hpp> #include <eosiolib/asset.hpp> #include <eosiolib/time.hpp> #include <eosiolib/privileged.hpp> #include <eosiolib/singleton.hpp> #include <eosio.system/exchange_state.hpp> #include <string> namespace eosiosyste...
35.863309
303
0.733099
[ "object", "vector" ]
db7c4ab6bd3a1678fb04331d2673821b293100c0
5,878
hpp
C++
src/header/UDP_Rcv.hpp
chenxull/UDP_Project
2490ee11dea3f0a11ff509f59338e510db25d0d9
[ "MIT" ]
null
null
null
src/header/UDP_Rcv.hpp
chenxull/UDP_Project
2490ee11dea3f0a11ff509f59338e510db25d0d9
[ "MIT" ]
null
null
null
src/header/UDP_Rcv.hpp
chenxull/UDP_Project
2490ee11dea3f0a11ff509f59338e510db25d0d9
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // Filename: UDP_Rcv.hpp // Revision: None // Date: 2018/09/30 - 02:00 // Author: Haixiang HOU // Email: hexid26@outlook.com // Website: [NULL] // Notes: [NULL] // -----------------------------------------...
40.260274
119
0.534876
[ "vector" ]
db85e4f315c96df77d2497ed81a2976b2b29b32b
2,514
cpp
C++
SDK/Ethereum/EthereumToken.cpp
heropan/Elastos.ELA.SPV.Cpp
9b7fe0de47d3213ed175e28e20905120bfb80a23
[ "MIT" ]
11
2018-08-01T02:01:34.000Z
2019-09-15T23:31:40.000Z
SDK/Ethereum/EthereumToken.cpp
heropan/Elastos.ELA.SPV.Cpp
9b7fe0de47d3213ed175e28e20905120bfb80a23
[ "MIT" ]
51
2018-07-16T09:41:14.000Z
2020-01-08T03:40:34.000Z
SDK/Ethereum/EthereumToken.cpp
heropan/Elastos.ELA.SPV.Cpp
9b7fe0de47d3213ed175e28e20905120bfb80a23
[ "MIT" ]
26
2018-07-12T02:34:46.000Z
2022-02-07T07:08:54.000Z
/* * EthereumToken * * Created by Ed Gamble <ed@breadwallet.com> on 3/20/18. * Copyright (c) 2018 Breadwinner AG. All right reserved. * Copyright (c) 2020 Elastos Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (t...
29.576471
81
0.721161
[ "transform" ]
db880f5b6f8014f946b37c5f4cefbb1b8378e2e6
2,129
cpp
C++
src/tools.cpp
ahmedmbakr/CarND-Extended-Kalman-Filter-Project
5840bf5382e573648e45a75e7ec381b82cee9f01
[ "MIT" ]
null
null
null
src/tools.cpp
ahmedmbakr/CarND-Extended-Kalman-Filter-Project
5840bf5382e573648e45a75e7ec381b82cee9f01
[ "MIT" ]
null
null
null
src/tools.cpp
ahmedmbakr/CarND-Extended-Kalman-Filter-Project
5840bf5382e573648e45a75e7ec381b82cee9f01
[ "MIT" ]
null
null
null
#include <iostream> #include "tools.h" using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} //RMSE = sqrt( (1 / n) * sum-of((estimiations[i] - ground_truth[i])^2) ) VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const...
25.963415
74
0.670268
[ "vector" ]
db8c7b4a57a1366715c2b8935c12c32d72b93b4d
20,138
cxx
C++
PWGPP/EVCHAR/AliCentralityGlauberFit.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGPP/EVCHAR/AliCentralityGlauberFit.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGPP/EVCHAR/AliCentralityGlauberFit.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
33.067323
123
0.549061
[ "vector" ]
db9758dc3c7d6dbbc5874af62c29cdc7a8375fa0
592
cpp
C++
src/question_3/main.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-midterm-isaiahgher
76e14dd47cffa40f9c7f595f9f42a8a6dc362089
[ "MIT" ]
null
null
null
src/question_3/main.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-midterm-isaiahgher
76e14dd47cffa40f9c7f595f9f42a8a6dc362089
[ "MIT" ]
null
null
null
src/question_3/main.cpp
acc-cosc-1337-spring-2021/acc-spring-2021-midterm-isaiahgher
76e14dd47cffa40f9c7f595f9f42a8a6dc362089
[ "MIT" ]
null
null
null
#include "question3.cpp" #include<algorithm> #include "question3.h" void transcribe_dna_into_rna(){ static std::string const dna{"GCTA"}; static std::string const rna{"CGAU"}; char strand_switch(char c) { const auto charpos = dna.find(c); if( charpos != std::string::npos ) { c = rna[charpos]; return c...
16.914286
91
0.663851
[ "transform" ]
db97e0e92f8b43813aeecb9a249b88a5e82ea374
44,661
cpp
C++
express/MathOp.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
express/MathOp.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
express/MathOp.cpp
jinfagang/MNN
f10b2203dbb27432155f863f1dfd65a156d57a09
[ "Apache-2.0" ]
null
null
null
// // MathOp.cpp // MNN // // Created by MNN on 2019/06/27. // Copyright © 2018, Alibaba Group Holding Limited // #include <algorithm> #include <map> #include <numeric> #include <MNN/expr/ExprCreator.hpp> #include <MNN/MNNDefine.h> #include "Utils.hpp" #define MNN_DEFAULT_FLATBUFFER_SIZE 32 namespace MNN { namespa...
36.428222
160
0.719084
[ "shape", "vector" ]
db9d4b15a244f596ad73b3e225d3e2717403ba97
14,029
cpp
C++
src/applications_pool.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
src/applications_pool.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
src/applications_pool.cpp
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com> // ...
24.569177
153
0.692494
[ "vector" ]
dba31ef14f80379c519d73c33f8a5b8aea2ad9ac
1,283
cpp
C++
src/model.cpp
dorodnic/shader_playground
fa66ffd18140c1b6b80a4451805cf9f7fe666c92
[ "Apache-2.0" ]
1
2018-08-11T18:05:18.000Z
2018-08-11T18:05:18.000Z
src/model.cpp
dorodnic/shader_playground
fa66ffd18140c1b6b80a4451805cf9f7fe666c92
[ "Apache-2.0" ]
null
null
null
src/model.cpp
dorodnic/shader_playground
fa66ffd18140c1b6b80a4451805cf9f7fe666c92
[ "Apache-2.0" ]
null
null
null
#include "model.h" void model::create(obj_file& loader) { for (auto& mesh : loader) { if (mesh.name == id || id == "*") { id = mesh.name; //if (curMesh.MeshMaterial.map_Kd != "") //{ // auto dir = get_directory(loader.Path); // a...
26.729167
73
0.41933
[ "mesh", "render", "model" ]
dbaa53f72097f5eaa00ab6cf8051c53f8c7e203a
4,722
cpp
C++
tools/handler.cpp
Nuvoton-Israel/phosphor-ipmi-flash
af7e0ab8141863fd898f638292083d677308419c
[ "Apache-2.0" ]
1
2020-06-22T13:37:17.000Z
2020-06-22T13:37:17.000Z
tools/handler.cpp
Nuvoton-Israel/phosphor-ipmi-flash
af7e0ab8141863fd898f638292083d677308419c
[ "Apache-2.0" ]
null
null
null
tools/handler.cpp
Nuvoton-Israel/phosphor-ipmi-flash
af7e0ab8141863fd898f638292083d677308419c
[ "Apache-2.0" ]
1
2019-09-11T05:29:42.000Z
2019-09-11T05:29:42.000Z
/* * Copyright 2018 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
26.829545
80
0.589581
[ "vector" ]
dbaf87aa52836446032ebb7eea5e9835d5d2334d
18,999
cpp
C++
Engine/Source/Runtime/DatabaseSupport/Private/Database.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/DatabaseSupport/Private/Database.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/DatabaseSupport/Private/Database.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. // Precompiled header include. Can't add anything above this line. #include "DatabaseSupportPrivatePCH.h" DEFINE_LOG_CATEGORY_STATIC(LogDataBase, Log, All); #if USE_REMOTE_INTEGRATION /** * Sends a command to the database proxy. * * @param Cmd The comm...
27.336691
175
0.682457
[ "object" ]
dbafdfd81028f0af92c2c1a694954f5c0cda4b34
86,516
cpp
C++
src/mod/pop/ecattr_extensions.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
7
2021-03-02T02:27:18.000Z
2022-02-18T00:56:28.000Z
src/mod/pop/ecattr_extensions.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
3
2021-11-29T15:53:02.000Z
2022-02-21T13:09:22.000Z
src/mod/pop/ecattr_extensions.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
5
2021-03-04T20:26:11.000Z
2021-11-26T07:09:24.000Z
#include "mod.h" #include "mod/pop/kv_conditional.h" #include "stub/tfbot.h" #include "stub/populators.h" #include "stub/strings.h" #include "stub/gamerules.h" #include "stub/tfbot_behavior.h" #include "stub/misc.h" #include "stub/server.h" #include "stub/particles.h" #include "util/iterate.h" #include "util...
34.70357
298
0.664629
[ "vector", "model" ]
dbbb88e0299e33ec075648c49d81d77be15c46a2
11,947
cpp
C++
aws-cpp-sdk-ec2/source/model/IpamResourceCidr.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-ec2/source/model/IpamResourceCidr.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ec2/source/model/IpamResourceCidr.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/IpamResourceCidr.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <util...
35.451039
192
0.701264
[ "model" ]
dbbba5f7efc2598016252aad5323a9c622fcc454
6,464
cpp
C++
Editor/AudioManager.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
null
null
null
Editor/AudioManager.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
null
null
null
Editor/AudioManager.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
null
null
null
/* PROJECT: Medo * AUTHORS: Zenja Solaja, Melbourne Australia * COPYRIGHT: Zen Yes Pty Ltd, 2019-2021 * DESCRIPTION: Audio manager (accurate seeking + cache frames) */ #include <cassert> #include <vector> #include <MediaKit.h> #include <interface/Bitmap.h> #include <kernel/OS.h> extern "C" { #include <libswre...
27.159664
153
0.715811
[ "vector" ]
dbbbabd92df39565e41cbcb90bc90aa01e8f47d5
1,351
cpp
C++
src/main_auxiliary.cpp
meteoritenhagel/conways_game_of_life
5a15cc008b9e7b700cd1c900bcc2509a3a22f233
[ "MIT" ]
null
null
null
src/main_auxiliary.cpp
meteoritenhagel/conways_game_of_life
5a15cc008b9e7b700cd1c900bcc2509a3a22f233
[ "MIT" ]
null
null
null
src/main_auxiliary.cpp
meteoritenhagel/conways_game_of_life
5a15cc008b9e7b700cd1c900bcc2509a3a22f233
[ "MIT" ]
null
null
null
#include "main_auxiliary.h" bool events() { bool quit = false; SDL_Event event; while(SDL_PollEvent(&event)) { if(event.type == SDL_QUIT) // window is closed { quit = true; } } return quit; } void loop(GameOfLife &gameOfLife) { gameOfLife.nextGeneration(...
30.022222
100
0.626203
[ "render" ]
dbc61e7ae41f6a2d9cb7e77775897121759ed239
9,867
cpp
C++
traced_inference_example.cpp
steczol/cpp-pytorch-ssd
c0852ab02c16def1191dc5a991b2da055349518e
[ "MIT" ]
null
null
null
traced_inference_example.cpp
steczol/cpp-pytorch-ssd
c0852ab02c16def1191dc5a991b2da055349518e
[ "MIT" ]
null
null
null
traced_inference_example.cpp
steczol/cpp-pytorch-ssd
c0852ab02c16def1191dc5a991b2da055349518e
[ "MIT" ]
null
null
null
#include <ATen/Functions.h> #include <ATen/core/TensorBody.h> #include <ATen/core/grad_mode.h> #include <chrono> #include <functional> #include <opencv2/core.hpp> #include <opencv2/core/matx.hpp> #include <opencv2/imgproc.hpp> #include <torch/script.h> #include <torchvision/vision.h> #include <opencv2/core/core.hpp> ...
30.266871
80
0.606973
[ "vector", "model", "transform" ]
dbc65183b81ea3b16e9663221ba39e4965520175
151,599
cpp
C++
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_0Table.cpp
angelicabr97/Emergency-Broadcast-
edafae6b21db0026a9502dbc7ba63b815bd06dbd
[ "MIT" ]
1
2019-04-02T19:43:55.000Z
2019-04-02T19:43:55.000Z
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_0Table.cpp
angelicabr97/Emergency-Broadcast-
edafae6b21db0026a9502dbc7ba63b815bd06dbd
[ "MIT" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_0Table.cpp
angelicabr97/Emergency-Broadcast-
edafae6b21db0026a9502dbc7ba63b815bd06dbd
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
41.533973
286
0.837703
[ "object" ]
3a7b41d3ca053ee6ae44c5e32f149d29fd584184
6,641
cpp
C++
3dEngine/src/scene/renderer3d/lighting/shadow/light/LightShadowMap.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
24
2015-10-05T00:13:57.000Z
2020-05-06T20:14:06.000Z
3dEngine/src/scene/renderer3d/lighting/shadow/light/LightShadowMap.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
1
2019-11-01T08:00:55.000Z
2019-11-01T08:00:55.000Z
3dEngine/src/scene/renderer3d/lighting/shadow/light/LightShadowMap.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
10
2015-11-25T07:33:13.000Z
2020-03-02T08:21:10.000Z
#include <stdexcept> #include <utility> #include <scene/renderer3d/lighting/shadow/light/LightShadowMap.h> #include <scene/renderer3d/lighting/shadow/light/LightSplitShadowMap.h> #include <scene/renderer3d/lighting/shadow/display/ShadowModelShaderVariable.h> namespace urchin { LightShadowMap::LightShadowMap(Ligh...
40.993827
180
0.664207
[ "render", "vector", "model" ]
3a7c5d8088781dceb60a1d6a818949231f326aab
1,171
cpp
C++
stdlib/public/runtime/ImageInspectionInit.cpp
paulmenage/apple-swift
3902688b04385bf8e9b45dea868855ce57cf5271
[ "Apache-2.0" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
stdlib/public/runtime/ImageInspectionInit.cpp
paulmenage/apple-swift
3902688b04385bf8e9b45dea868855ce57cf5271
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
stdlib/public/runtime/ImageInspectionInit.cpp
paulmenage/apple-swift
3902688b04385bf8e9b45dea868855ce57cf5271
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===--- ImageInspectionInit.cpp ------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
34.441176
80
0.604611
[ "object" ]
3a7deed24f1c6dd5ce4be95df86f54c6ecd8a9a1
568
cpp
C++
HackerRank/Algorithms/Easy/E0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
HackerRank/Algorithms/Easy/E0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
HackerRank/Algorithms/Easy/E0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://www.hackerrank.com/challenges/plus-minus/problem */ #include <iostream> #include <vector> using namespace std; void plusMinus(vector<int> arr) { vector<double> count{0,0,0}; for(int num: arr){ if(num > 0) count[0]++; else if(num < 0) count[1]++; else count[2]++; } for...
15.351351
75
0.59507
[ "vector" ]
3a7edfd4c36f06099e6501f3217bd731f0cd6d1d
540
cpp
C++
codingame/practice/cp0/power_of_thor_episode_1.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
codingame/practice/cp0/power_of_thor_episode_1.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
codingame/practice/cp0/power_of_thor_episode_1.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
// https://www.codingame.com/training/easy/power-of-thor-episode-1 #include "common/geometry/d2/base.h" #include "common/geometry/d2/point_io.h" #include "common/numeric/utils/sign.h" #include "common/stl/base.h" #include <string> int main_power_of_thor_episode_1() { vector<string> vx{"W", "", "E"}, vy{"N", "", "S...
23.478261
66
0.609259
[ "geometry", "vector" ]
3a7fbce06a9ffb38c563d8898282e70ddf6ebdf0
10,059
cpp
C++
opencv/native/jni/include/opencv2/MeanShift.cpp
Young-Jang/BarberMan
19bcf0637ff668da9cc31bd6e4cb4f3e0fe5e797
[ "MIT" ]
1
2022-03-22T18:39:30.000Z
2022-03-22T18:39:30.000Z
opencv/native/jni/include/opencv2/MeanShift.cpp
Young-Jang/BarberMan
19bcf0637ff668da9cc31bd6e4cb4f3e0fe5e797
[ "MIT" ]
null
null
null
opencv/native/jni/include/opencv2/MeanShift.cpp
Young-Jang/BarberMan
19bcf0637ff668da9cc31bd6e4cb4f3e0fe5e797
[ "MIT" ]
null
null
null
//---------------- Head File --------------------------------------- #include "MeanShift.h" #include <cmath> #include <thread> //---------------- Name space --------------------------------------- using namespace cv; using namespace std; //---------------- Definition --------------------------------------- #define M...
31.336449
192
0.586042
[ "vector", "transform" ]
3a819c6d346c529a0e24912ad6fb91f87d480c2e
19,277
cpp
C++
OpenGL_Primitive_Restart_Example.cpp
Jammyhammy/Accessible-OpenGL
23a2ea83a69d58f7f0db002b63ea8fb60999a396
[ "BSD-3-Clause" ]
null
null
null
OpenGL_Primitive_Restart_Example.cpp
Jammyhammy/Accessible-OpenGL
23a2ea83a69d58f7f0db002b63ea8fb60999a396
[ "BSD-3-Clause" ]
null
null
null
OpenGL_Primitive_Restart_Example.cpp
Jammyhammy/Accessible-OpenGL
23a2ea83a69d58f7f0db002b63ea8fb60999a396
[ "BSD-3-Clause" ]
null
null
null
#include <gmtl\gmtl.h> #include <stdlib.h> #include <stdio.h> #include <GL/glew.h> #include <GLFW\glfw3.h> #pragma comment (lib, "opengl32.lib") #pragma comment (lib, "glew32.lib") #pragma comment (lib, "glfw3.lib") using namespace std; // std::vector -> vector // GLOBAL VARIABLES gmtl::Matrix44f M; // The matrix w...
36.234962
211
0.724594
[ "mesh", "geometry", "object", "shape", "vector" ]
3a826520e60220b49cf9c8527e4992f4f53a24f6
9,098
cpp
C++
samples/CinderProject/src/CinderProjectApp.cpp
saynono/cinderHoa
cfba3a2011506e5e3280c178293becd804506e2d
[ "BSD-3-Clause" ]
null
null
null
samples/CinderProject/src/CinderProjectApp.cpp
saynono/cinderHoa
cfba3a2011506e5e3280c178293becd804506e2d
[ "BSD-3-Clause" ]
null
null
null
samples/CinderProject/src/CinderProjectApp.cpp
saynono/cinderHoa
cfba3a2011506e5e3280c178293becd804506e2d
[ "BSD-3-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/Serial.h" #include "cinder/audio/audio.h" #include "cinder/GeomIo.h" #include "cinder/audio/ChannelRouterNode.h" #include "cinder/Rand.h" #include "cinder/Utilities.h" #include "HoaNode.h" using namespace ci; using namespace ci::app; usi...
30.428094
194
0.597164
[ "vector" ]
3a83808bf285a02fcce4c8c4fba9ec486789a6bf
6,417
cpp
C++
FKCore/FKRealmConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
2
2015-10-01T07:25:36.000Z
2015-11-02T23:14:10.000Z
FKCore/FKRealmConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
13
2015-11-02T22:15:14.000Z
2015-11-03T21:08:51.000Z
FKCore/FKRealmConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
null
null
null
#include "FKRealmConnectionManager.h" #include "FKRealm.h" #include "FKMessage.h" #include "FKBasicEvent.h" #include "FKEventObject.h" #include "FKLogger.h" #include "FKBasicEventSubjects.h" /*! \class FKRealmConnectionManager \brief This class used to process guest connectors at realm-side */ /*! * \brief Create ...
30.703349
128
0.728066
[ "object" ]
3a89efccb0875012e7317e9e04791558c446718c
28,194
cpp
C++
deps/usr/src/libwav/libwav/CsWav.cpp
xia-lixun/Libaudio.jl
0e3b60d2d7c3e73f9741e7ab8721c213a9b4bf2d
[ "MIT" ]
4
2018-09-27T13:09:53.000Z
2022-02-14T12:25:29.000Z
deps/usr/src/libwav/libwav/CsWav.cpp
xia-lixun/Libaudio.jl
0e3b60d2d7c3e73f9741e7ab8721c213a9b4bf2d
[ "MIT" ]
null
null
null
deps/usr/src/libwav/libwav/CsWav.cpp
xia-lixun/Libaudio.jl
0e3b60d2d7c3e73f9741e7ab8721c213a9b4bf2d
[ "MIT" ]
null
null
null
#include <cstring> #include <cstdio> #include <cstdlib> #include "CsWav.h" CsWav::CsWav() { FrameMatrix = NULL; FrameVector = NULL; StreamFID = NULL; } CsWav::~CsWav() { delete[] FrameVector; delete[] FrameMatrix; FrameVector = NULL; FrameMatrix = NULL; } size_t CsWav::ExtractMetaInfo(const char * Fi...
28.137725
143
0.658332
[ "vector" ]
3a8eb6d8e97c2e6451ca9a7fb5666b1c3fc0bb3e
9,646
cpp
C++
src/reaction/reactionBase.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
2
2021-01-30T00:30:32.000Z
2021-04-20T11:54:53.000Z
src/reaction/reactionBase.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
src/reaction/reactionBase.cpp
myrabiedermann/rsmd
97ccc65dbb3d9d16e5e6a88f256d97a36c511740
[ "Apache-2.0" ]
null
null
null
/************************************************ * * * rs@md * * (reactive steps @ molecular dynamics ) * * * ************************************************/ /* Copyright 2020...
37.243243
185
0.571429
[ "vector" ]
3a8f696f411154458448025c25aa378e2c75edc0
9,735
cpp
C++
src/unicode_cpp_generator.cpp
StableCoder/unicode-hpp
e701f30d7cecafaa53cf1f499593b61f30b9e006
[ "MIT" ]
3
2019-05-22T04:29:44.000Z
2022-01-22T06:27:49.000Z
src/unicode_cpp_generator.cpp
StableCoder/unicode-hpp
e701f30d7cecafaa53cf1f499593b61f30b9e006
[ "MIT" ]
null
null
null
src/unicode_cpp_generator.cpp
StableCoder/unicode-hpp
e701f30d7cecafaa53cf1f499593b61f30b9e006
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2017-2018 George Cave - gcave@stablecoder.ca * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation...
36.324627
127
0.591474
[ "vector" ]
3a9318b83fc8e4a9da24e702942d987cad5e93a3
21,755
cc
C++
content/browser/service_worker/service_worker_client_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
content/browser/service_worker/service_worker_client_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/service_worker_client_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.000Z
// 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 "content/browser/service_worker/service_worker_client_utils.h" #include <algorithm> #include <tuple> #include "base/location.h" #include "base/...
39.411232
80
0.702367
[ "vector" ]
3a93dfe37a4f20d978f2135d9a7e0284959d7ebc
1,899
cpp
C++
Uncategorized/oly21practice24.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/oly21practice24.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/oly21practice24.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define all(x) (x).begin(), (x).end() using namespace std; const int MM = 3e5+5; int n, q, dis[MM], par[MM], pw[MM], dep[MM], head[MM], heavy[MM]; vector<pair<int, int>> adj[MM]; array<int, 4> v[MM]; int dfs(int cur, int pre){ dep[cur] = dep[pre]+1; par[cur] = pre; int sz = 1...
17.263636
66
0.462349
[ "vector" ]
3a97c9a83f6d1523af5c31a759c70e578d8a387c
3,754
cpp
C++
src/settings.cpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
src/settings.cpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
src/settings.cpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
/* Implementation for settings.hpp. author: andreasl */ #include "settings.hpp" #include "cli.hpp" #include "log.hpp" #include <experimental/filesystem> #include <fstream> #include <string> #include <unordered_map> #include <vector> namespace barn { namespace bbm { namespace { /*Convert settings from yaml to a Se...
34.127273
99
0.643047
[ "object", "vector" ]
3a9e5b9471d10ba776566f1ed185f273822bf45c
16,546
hpp
C++
src/del/codegen/codeblocks/Operations.hpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
src/del/codegen/codeblocks/Operations.hpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
src/del/codegen/codeblocks/Operations.hpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
#ifndef DEL_BLOCK_OPERATIONS_HPP #define DEL_BLOCK_OPERATIONS_HPP #include "Codeblock.hpp" namespace DEL { namespace CODE { // // A base conditional block // class Conditional : public Block { public: Conditional(uint64_t label_id, std::string comparison) : Block() { ...
29.812613
131
0.451046
[ "vector" ]
3aa091921d78113f5ac34b83a41f3afe07f3a9d8
14,158
cpp
C++
PSME/application/src/rest/endpoints/chassis/chassis.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/application/src/rest/endpoints/chassis/chassis.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
null
null
null
PSME/application/src/rest/endpoints/chassis/chassis.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
1
2022-03-01T07:21:51.000Z
2022-03-01T07:21:51.000Z
/*! * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
42.516517
162
0.612163
[ "object", "model" ]
3aa1e0ad084053aaa4f09da868a93292912c9518
2,794
cpp
C++
src/persistent_structures/bit_array.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
18
2015-03-21T21:55:45.000Z
2022-02-09T12:59:33.000Z
src/persistent_structures/bit_array.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
27
2015-01-19T07:26:20.000Z
2020-07-03T20:21:29.000Z
src/persistent_structures/bit_array.cpp
ufal/korektor
3764a6965b8f1f900a74ad6df0034f65d16aa725
[ "BSD-2-Clause" ]
5
2015-07-06T09:41:01.000Z
2020-08-02T11:53:44.000Z
// This file is part of korektor <http://github.com/ufal/korektor/>. // // Copyright 2015 by Institute of Formal and Applied Linguistics, Faculty // of Mathematics and Physics, Charles University in Prague, Czech Republic. // All rights reserved. // // Redistribution and use in source and binary forms, with or without ...
23.283333
76
0.654617
[ "vector" ]
3aa8a2ed71dfe9fd9c6b3761c82ce718e921293d
4,019
cc
C++
iree/modules/strings/strings_module_test.cc
rsuderman/iree
fa5faf0a254db3311dafacc70c383a7469376095
[ "Apache-2.0" ]
1
2021-08-02T15:41:24.000Z
2021-08-02T15:41:24.000Z
iree/modules/strings/strings_module_test.cc
rsuderman/iree
fa5faf0a254db3311dafacc70c383a7469376095
[ "Apache-2.0" ]
null
null
null
iree/modules/strings/strings_module_test.cc
rsuderman/iree
fa5faf0a254db3311dafacc70c383a7469376095
[ "Apache-2.0" ]
1
2020-03-06T06:22:26.000Z
2020-03-06T06:22:26.000Z
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
35.254386
80
0.731276
[ "vector" ]
3aaaf1375f7d313a5d073cb4c18ec250c75d8fb7
8,550
cc
C++
src/storage/volume_image/ftl/ftl_volume_extractor.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/storage/volume_image/ftl/ftl_volume_extractor.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/storage/volume_image/ftl/ftl_volume_extractor.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <getopt.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string> #include <vector> #include "src/st...
33.529412
100
0.648421
[ "vector" ]
3aab2340c09295a7d4b50c2b3fa906616476a999
873
hpp
C++
impl/support_for_with_xxx_stm.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
8
2017-03-31T12:27:10.000Z
2019-09-04T20:18:34.000Z
impl/support_for_with_xxx_stm.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
null
null
null
impl/support_for_with_xxx_stm.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
null
null
null
#pragma once // Source encoding: utf-8 ∩ // #include <p/expressive/impl/support_for_with_xxx_stm_.hpp> // Copyright © 2017 Alf P. Steinbach, distributed under Boost license 1.0. #include <p/expressive/core_language/basic_type_builders.hpp> // ref_ namespace progrock{ namespace expressive{ #include <p/expressive...
34.92
74
0.671249
[ "object" ]
3aae424f8753014aab6e5fb067ea432fbc69197f
2,600
cc
C++
cartographer/sensor/internal/voxel_filter.cc
tu-darmstadt-ros-pkg/cartographer
ddbc9464cfc80e7d0b3bd32c068d6e14443cabf4
[ "Apache-2.0" ]
9
2017-05-04T06:57:07.000Z
2021-07-18T17:59:46.000Z
cartographer/sensor/internal/voxel_filter.cc
tu-darmstadt-ros-pkg/hectorgrapher
f04b15b2dbd31004d99d5e5584519416d11ac420
[ "Apache-2.0" ]
1
2020-09-23T10:41:32.000Z
2020-09-23T10:41:32.000Z
cartographer/sensor/internal/voxel_filter.cc
tu-darmstadt-ros-pkg/cartographer
ddbc9464cfc80e7d0b3bd32c068d6e14443cabf4
[ "Apache-2.0" ]
3
2019-09-01T05:47:22.000Z
2021-05-27T07:03:44.000Z
/* * Copyright 2016 The Cartographer 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...
31.325301
79
0.716923
[ "vector" ]
3aaf11cef6948b4003bfdbedbb95014835c268d8
3,474
hpp
C++
src/ControlSystem/PiecewisePolynomial.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/ControlSystem/PiecewisePolynomial.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/ControlSystem/PiecewisePolynomial.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <cstddef> #include <vector> #include "ControlSystem/FunctionOfTime.hpp" #include "DataStructures/DataVector.hpp" // IWYU pragma: keep /// \ingroup ControlSystemGroup /// Contains functions of time to suppor...
39.033708
80
0.74122
[ "vector" ]
3ab6e56b01502f22f50c402dabdd19b2d95ea3c7
32,841
cpp
C++
c/src/dsig/DSIGSignature.cpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
null
null
null
c/src/dsig/DSIGSignature.cpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
null
null
null
c/src/dsig/DSIGSignature.cpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
2
2018-08-10T18:54:23.000Z
2018-08-10T18:56:27.000Z
/* * Copyright 2002-2005 The Apache Software Foundation. * * 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...
25.418731
108
0.665753
[ "object", "transform" ]
3abab7b5660372915b0996b21f75b01e088ff908
23,666
cpp
C++
src/nn.cpp
JakobWyatt/MachineLearning
a52bc5b352e122e44ea7d29d8565b405cc915b54
[ "Apache-2.0" ]
1
2017-12-30T05:10:02.000Z
2017-12-30T05:10:02.000Z
src/nn.cpp
JakobWyatt/MachineLearning
a52bc5b352e122e44ea7d29d8565b405cc915b54
[ "Apache-2.0" ]
null
null
null
src/nn.cpp
JakobWyatt/MachineLearning
a52bc5b352e122e44ea7d29d8565b405cc915b54
[ "Apache-2.0" ]
null
null
null
//Copyright 2017 Jakob Wyatt // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // //http ://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, ...
32.198639
150
0.691034
[ "vector" ]
3abdf63812b83919da91a32fb95b50c30ae2f3a3
1,382
cpp
C++
src/RigidBody/GeneralizedCoordinates.cpp
Amedeo123/biorbd
ac4a2bba2662342243d7df60b3afff59253e64e8
[ "MIT" ]
1
2021-09-13T08:55:28.000Z
2021-09-13T08:55:28.000Z
src/RigidBody/GeneralizedCoordinates.cpp
Amedeo123/biorbd
ac4a2bba2662342243d7df60b3afff59253e64e8
[ "MIT" ]
2
2018-04-18T19:31:23.000Z
2018-04-18T19:40:17.000Z
src/RigidBody/GeneralizedCoordinates.cpp
pyomeca/rbdl_interface
238065f9267816b987b49955c97c9d14ff04ffa7
[ "MIT" ]
1
2020-02-27T15:35:04.000Z
2020-02-27T15:35:04.000Z
#define BIORBD_API_EXPORTS #include "RigidBody/GeneralizedCoordinates.h" #include "RigidBody/Joints.h" using namespace BIORBD_NAMESPACE; rigidbody::GeneralizedCoordinates::GeneralizedCoordinates() { } rigidbody::GeneralizedCoordinates::GeneralizedCoordinates( unsigned int nbQ) : utils::Vector(nbQ) { } ri...
17.717949
60
0.743849
[ "vector" ]
3ac4e9626dbe73403fa9c0556bc9fb48c2cd2385
7,441
cpp
C++
examples/spla_sssp.cpp
mfkiwl/spla
9a7515f6ff5176bc0250734a09aac0fcafbfd3da
[ "MIT" ]
null
null
null
examples/spla_sssp.cpp
mfkiwl/spla
9a7515f6ff5176bc0250734a09aac0fcafbfd3da
[ "MIT" ]
null
null
null
examples/spla_sssp.cpp
mfkiwl/spla
9a7515f6ff5176bc0250734a09aac0fcafbfd3da
[ "MIT" ]
null
null
null
/**********************************************************************************/ /* This file is part of spla project */ /* https://github.com/JetBrains-Research/spla */ /****************************************************************...
47.698718
185
0.578014
[ "vector" ]
3ac5b5d641c0747c33dbb9cac7dfa24401a85d01
733
cpp
C++
form_greatest_no_in_array.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
form_greatest_no_in_array.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
form_greatest_no_in_array.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool comp(string a, string b){ return (a + b < b + a) ? 1 : 0; } void show(vector<string> box){ for(string i : box) cout << i << " "; cout << endl; return; } void fetch_greatest_no(vector<string> box){ sort(box.begin(), box.end(), comp); //sh...
19.289474
43
0.488404
[ "vector" ]