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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7853276613002d45956c6fbb9c24e6db990246dc | 7,596 | cpp | C++ | openfpga/src/fpga_bitstream/fabric_bitstream.cpp | avesus/OpenFPGA | c1dab2168655d41eb59d4923156dabd253ffbd3e | [
"MIT"
] | 246 | 2020-12-03T08:49:29.000Z | 2022-03-28T21:19:55.000Z | openfpga/src/fpga_bitstream/fabric_bitstream.cpp | a-canela/OpenFPGA | 063c58b6cbe2e01aa5520ec43ec80ff064d7f228 | [
"MIT"
] | 261 | 2020-12-03T00:23:54.000Z | 2022-03-31T10:00:37.000Z | openfpga/src/fpga_bitstream/fabric_bitstream.cpp | a-canela/OpenFPGA | 063c58b6cbe2e01aa5520ec43ec80ff064d7f228 | [
"MIT"
] | 66 | 2020-12-12T09:05:53.000Z | 2022-03-28T07:51:41.000Z | /******************************************************************************
* This file includes member functions for data structure FabricBitstream
******************************************************************************/
#include <algorithm>
#include "vtr_assert.h"
#include "openfpga_decode.h"
#include "... | 30.142857 | 107 | 0.637704 | [
"vector"
] |
78534fcdd6b6eca7dee2387a685d37269be68ff5 | 382 | cpp | C++ | abc122/d/main.cpp | kamiyaowl/atcoder | 30521be1684e72e75c7ba21312c5f96ae81bf25a | [
"MIT"
] | null | null | null | abc122/d/main.cpp | kamiyaowl/atcoder | 30521be1684e72e75c7ba21312c5f96ae81bf25a | [
"MIT"
] | 1 | 2019-04-20T11:51:59.000Z | 2019-04-20T11:51:59.000Z | abc122/d/main.cpp | kamiyaowl/atcoder | 30521be1684e72e75c7ba21312c5f96ae81bf25a | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <map>
#include <set>
#include <tuple>
#include <stdbool.h>
#include <bitset>
#include <string>
#include <boost/multiprecision/cpp_int.hpp>
namespace mp = boost::multiprecision;
using namespace std;
bool validate(const string& src) {... | 15.28 | 43 | 0.691099 | [
"vector"
] |
785453cd125610a6226f2345e59f830f982c586a | 1,702 | cpp | C++ | codeforces/F - Make Them Similar/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/F - Make Them Similar/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/F - Make Them Similar/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Nov/22/2019 01:29
* solution_verdict: Accepted language: GNU C++14
* run... | 28.366667 | 111 | 0.402468 | [
"vector"
] |
7855a80bf148a67d5fe976d7420ff7af9bf621af | 30,123 | cpp | C++ | ace/tao/tests/rtcorba/Policy_Combinations/server.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/tests/rtcorba/Policy_Combinations/server.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/tests/rtcorba/Policy_Combinations/server.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // server.cpp,v 1.5 2001/09/19 23:35:40 irfan Exp
#include "ace/Get_Opt.h"
#include "testS.h"
#include "tao/ORB_Core.h"
#include "tao/RTPortableServer/RTPortableServer.h"
#include "../check_supported_priorities.cpp"
class test_i :
public POA_test,
public PortableServer::RefCountServantBase
{
public:
... | 33.358804 | 93 | 0.542642 | [
"object"
] |
7859f14ad1d45f2dcfc804a1f34d719502ec5c33 | 660 | hpp | C++ | src/resourceManager.hpp | ondralukes/OpenGLCraft | 8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3 | [
"MIT"
] | 1 | 2020-01-27T18:11:13.000Z | 2020-01-27T18:11:13.000Z | src/resourceManager.hpp | ondralukes/OpenGLCraft | 8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3 | [
"MIT"
] | 12 | 2020-01-22T09:16:29.000Z | 2020-02-10T21:37:50.000Z | src/resourceManager.hpp | ondralukes/OpenGLCraft | 8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3 | [
"MIT"
] | null | null | null | #ifndef RES_MGR_H
#define RES_MGR_H
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include "loadObj.hpp"
#include "loadTexture.hpp"
struct texture_t {
GLuint id;
char name[128];
};
struct obj_t {
std::vector<glm::vec3> * vertices;
std::vector<glm::vec2> * uvs;
char name[128... | 20 | 71 | 0.689394 | [
"vector"
] |
7860a55c438599d39cc56fb8ea1f01490a765e2f | 661 | hpp | C++ | Sources/Animations/Skin/VertexWeights.hpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 977 | 2019-05-23T01:53:42.000Z | 2022-03-30T04:22:41.000Z | Sources/Animations/Skin/VertexWeights.hpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 44 | 2019-06-02T17:30:32.000Z | 2022-03-27T14:22:40.000Z | Sources/Animations/Skin/VertexWeights.hpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 121 | 2019-05-23T05:18:01.000Z | 2022-03-27T21:59:23.000Z | #pragma once
#include <cstdint>
#include <vector>
#include "Export.hpp"
namespace acid {
class ACID_EXPORT VertexWeights {
public:
void AddJointEffect(uint32_t jointId, float jointWeight);
void LimitJointNumber(uint32_t max);
void FillEmptyWeights(uint32_t max);
float SaveTopWeights(std::vector<float> &topWeight... | 25.423077 | 74 | 0.765507 | [
"vector"
] |
7861ae997da2ee2c95f24e7f696af2ff2f22b16e | 7,375 | cc | C++ | src/modules/audio_processing/agc2/interpolated_gain_curve_unittest.cc | ilya-fedin/tg_owt | d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589 | [
"BSD-3-Clause"
] | 344 | 2016-07-03T11:45:20.000Z | 2022-03-19T16:54:10.000Z | src/modules/audio_processing/agc2/interpolated_gain_curve_unittest.cc | ilya-fedin/tg_owt | d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589 | [
"BSD-3-Clause"
] | 59 | 2020-08-24T09:17:42.000Z | 2022-02-27T23:33:37.000Z | src/modules/audio_processing/agc2/interpolated_gain_curve_unittest.cc | ilya-fedin/tg_owt | d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589 | [
"BSD-3-Clause"
] | 278 | 2016-04-26T07:37:12.000Z | 2022-01-24T10:09:44.000Z | /*
* Copyright (c) 2018 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 36.151961 | 80 | 0.749424 | [
"vector"
] |
78634dd53c2fe9eefa5439ed39697a9aec68f244 | 1,356 | cc | C++ | third_party/blink/renderer/modules/vr/vr_pose.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/modules/vr/vr_pose.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/modules/vr/vr_pose.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "third_party/blink/renderer/modules/vr/vr_pose.h"
namespace blink {
namespace {
DOMFloat32Array* MojoArrayToFloat32Array(
const base::Opti... | 29.478261 | 78 | 0.758112 | [
"vector"
] |
7864f155a1e0914372b06ac0164ea993904ddd68 | 1,649 | cpp | C++ | 012/012.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | 1 | 2022-03-26T07:05:21.000Z | 2022-03-26T07:05:21.000Z | 012/012.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | null | null | null | 012/012.cpp | joeymich/Project-Euler | a061f6ecc2afa9f95f3727380443dfc6e8d43db0 | [
"MIT"
] | null | null | null | // Problem 12 -- Highly divisible triangular number
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;
vector<int> prime_factors(unsigned int n)
{
vector<int> primes;
while (n % 2 == 0) {
primes.push_back(2);
n /= 2;
}
for (unsigned int i = 3; i < sqrt(n); i += ... | 22.589041 | 75 | 0.542147 | [
"vector"
] |
78652e9cc398da52fdacece2b4b2689e504923b4 | 17,662 | cxx | C++ | panda/src/express/virtualFileMountRamdisk.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/express/virtualFileMountRamdisk.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/express/virtualFileMountRamdisk.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file virtualFileMountRamdisk... | 27.006116 | 92 | 0.669913 | [
"object",
"vector",
"3d"
] |
786a58a1e858ace175907756182ee077b1c3911e | 963 | cc | C++ | content/browser/frame_host/navigator_delegate.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/frame_host/navigator_delegate.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/frame_host/navigator_delegate.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/frame_host/navigator_delegate.h"
namespace content {
bool NavigatorDelegate::CanOverscrollContent() const {
return false;
}
... | 26.027027 | 73 | 0.788162 | [
"vector"
] |
786b57ab351f7973d1d27d50ea2a66b525f8b223 | 659 | hpp | C++ | gearoenix/render/texture/gx-rnd-txt-texture-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 35 | 2018-01-07T02:34:38.000Z | 2022-02-09T05:19:03.000Z | gearoenix/render/texture/gx-rnd-txt-texture-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 111 | 2017-09-20T09:12:36.000Z | 2020-12-27T12:52:03.000Z | gearoenix/render/texture/gx-rnd-txt-texture-cube.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 5 | 2020-02-11T11:17:37.000Z | 2021-01-08T17:55:43.000Z | #ifndef GEAROENIX_RENDER_TEXTURE_CUBE_HPP
#define GEAROENIX_RENDER_TEXTURE_CUBE_HPP
#include "gx-rnd-txt-texture.hpp"
namespace gearoenix::render::texture {
class TextureCube : public Texture {
GX_GET_VAL_PRT(std::size_t, aspect, 0)
protected:
TextureCube(
core::Id id,
std::string name,
... | 27.458333 | 87 | 0.705615 | [
"render"
] |
786c26070fc1f685e7ad59a0a327a51932d26cc4 | 907 | cpp | C++ | code/Interleaving String.cpp | htfy96/leetcode-solutions | 4736e87958d7e5aea3cbd999f88c7a86de13205a | [
"Apache-2.0"
] | 1 | 2021-02-21T15:43:13.000Z | 2021-02-21T15:43:13.000Z | code/Interleaving String.cpp | htfy96/leetcode-solutions | 4736e87958d7e5aea3cbd999f88c7a86de13205a | [
"Apache-2.0"
] | null | null | null | code/Interleaving String.cpp | htfy96/leetcode-solutions | 4736e87958d7e5aea3cbd999f88c7a86de13205a | [
"Apache-2.0"
] | 1 | 2018-12-13T07:14:09.000Z | 2018-12-13T07:14:09.000Z | class Solution {
public:
bool isInterleave(string s1, string s2, string s3) {
vector<bool> v((s1.size() + 1) * (s2.size() + 1) );
if (s3.empty())
return true;
const int BASE = s2.size() + 1;
v[0] = true;
bool ans = false;
for (int i=0; i<=s1.size(); ++i)
... | 39.434783 | 121 | 0.342889 | [
"vector"
] |
7879367830216cdd875f9f95f95e2a88f282ac64 | 8,494 | cc | C++ | paddle/fluid/operators/reduce_op.cc | ghevinn/Paddle | 544159c3de2f74a38a5795c635a2f1bda170379f | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-04-28T13:29:41.000Z | 2022-01-09T16:54:20.000Z | paddle/fluid/operators/reduce_op.cc | ghevinn/Paddle | 544159c3de2f74a38a5795c635a2f1bda170379f | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2018-04-11T10:25:51.000Z | 2018-04-12T01:17:22.000Z | paddle/fluid/operators/reduce_op.cc | ghevinn/Paddle | 544159c3de2f74a38a5795c635a2f1bda170379f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-04-25T03:44:51.000Z | 2018-04-25T03:44:51.000Z | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 37.418502 | 80 | 0.615964 | [
"vector"
] |
787a3db5b654d602f7dcecda54684dfcee187d07 | 15,029 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothA2dpSink.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothA2dpSink.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothA2dpSink.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
//
// ... | 32.251073 | 123 | 0.600971 | [
"object"
] |
787a41f2fa4934a24d86f6cbf875733446cd5665 | 1,539 | hpp | C++ | shared/image8.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 45 | 2015-03-26T17:14:55.000Z | 2022-03-29T20:27:32.000Z | shared/image8.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 35 | 2015-01-06T16:16:37.000Z | 2021-06-19T05:03:13.000Z | shared/image8.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 5 | 2017-03-26T04:48:02.000Z | 2020-07-10T22:55:49.000Z | #ifndef IMAGE8_HPP
#define IMAGE8_HPP
#include <Magick++.h>
#include <memory>
#include <vector>
#include "color.hpp"
#include "image.hpp"
#include "scene.hpp"
#include "palette.hpp"
class Image16Bpp;
/** 8 Bit Image with palette
* Used for GBA mode 4
*/
class Image8Bpp : public Image
{
public:
Image... | 29.037736 | 138 | 0.660169 | [
"vector"
] |
788129509985f01a9ce0c568af3072c50d6b2a3b | 5,892 | hpp | C++ | src/petuum_ps_common/include/configs.hpp | zuowang/bosen | 1c823287787b324776fd16ecb3c96f0ec58a989b | [
"BSD-3-Clause"
] | 1 | 2018-01-26T14:29:00.000Z | 2018-01-26T14:29:00.000Z | src/petuum_ps_common/include/configs.hpp | zuowang/bosen | 1c823287787b324776fd16ecb3c96f0ec58a989b | [
"BSD-3-Clause"
] | null | null | null | src/petuum_ps_common/include/configs.hpp | zuowang/bosen | 1c823287787b324776fd16ecb3c96f0ec58a989b | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <inttypes.h>
#include <stdint.h>
#include <map>
#include <vector>
#include <string>
#include <petuum_ps_common/include/host_info.hpp>
#include <petuum_ps_common/include/constants.hpp>
namespace petuum {
enum ConsistencyModel {
/**
* Stale synchronous parallel.
*/
SSP = 0,
/**
*... | 21.661765 | 80 | 0.684997 | [
"vector"
] |
7884a658cc0d278dfdfc5a16d4dfec6c60ab8b14 | 8,572 | cpp | C++ | Libs/Kernel/src/Position.cpp | n8vm/OpenVisus | dab633f6ecf13ffcf9ac2ad47d51e48902d4aaef | [
"Unlicense"
] | 1 | 2019-04-30T12:11:24.000Z | 2019-04-30T12:11:24.000Z | Libs/Kernel/src/Position.cpp | tjhei/OpenVisus | f0c3bf21cb0c02f303025a8efb68b8c36701a9fd | [
"Unlicense"
] | null | null | null | Libs/Kernel/src/Position.cpp | tjhei/OpenVisus | f0c3bf21cb0c02f303025a8efb68b8c36701a9fd | [
"Unlicense"
] | null | null | null | /*-----------------------------------------------------------------------------
Copyright(c) 2010 - 2018 ViSUS L.L.C.,
Scientific Computing and Imaging Institute of the University of Utah
ViSUS L.L.C., 50 W.Broadway, Ste. 300, 84101 - 2044 Salt Lake City, UT
University of Utah, 72 S Central Campus Dr, Room 3750, 84112... | 32.969231 | 103 | 0.633691 | [
"vector"
] |
78857be1ea9d52d6e22919df26a1a4c127db1de8 | 1,356 | cpp | C++ | p1865.cpp | sjnov11/Baekjoon-Online-Judge | a95df8a62e181d86a97d0e8969d139a3dae2be74 | [
"MIT"
] | null | null | null | p1865.cpp | sjnov11/Baekjoon-Online-Judge | a95df8a62e181d86a97d0e8969d139a3dae2be74 | [
"MIT"
] | null | null | null | p1865.cpp | sjnov11/Baekjoon-Online-Judge | a95df8a62e181d86a97d0e8969d139a3dae2be74 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
#define INF 99999999
vector<pair<int, int>> adj_list[501];
int main() {
cin.tie(NULL);
ios::sync_with_stdio(false);
int T;
cin >> T;
for (int tc = 1; tc <= T; tc++) {
int N, M, W;
cin >> N >> M >> W;
for (int i = 1; i <= 500; i++) {
adj_list[... | 17.61039 | 47 | 0.465339 | [
"vector"
] |
7886b2d23d14d1d5a624d6f50e0303a2e131c77b | 15,454 | cc | C++ | quiche/spdy/core/hpack/hpack_header_table_test.cc | ktprime/quiche-1 | abf85ce22e1409a870b1bf470cb5a68cbdb28e50 | [
"BSD-3-Clause"
] | null | null | null | quiche/spdy/core/hpack/hpack_header_table_test.cc | ktprime/quiche-1 | abf85ce22e1409a870b1bf470cb5a68cbdb28e50 | [
"BSD-3-Clause"
] | null | null | null | quiche/spdy/core/hpack/hpack_header_table_test.cc | ktprime/quiche-1 | abf85ce22e1409a870b1bf470cb5a68cbdb28e50 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quiche/spdy/core/hpack/hpack_header_table.h"
#include <algorithm>
#include <cstdint>
#include <set>
#include <string>
#include <vector>
#inclu... | 39.323155 | 80 | 0.720784 | [
"vector"
] |
7889b54426a15aab1b93d8cfeed5ca57823c7e55 | 8,833 | cpp | C++ | Src/BsImguiInputs.cpp | guestnone/bsfImgui | 1c736547a4decd36e9203b9c8acba62858a9be58 | [
"MIT"
] | 14 | 2019-07-10T16:50:51.000Z | 2020-12-31T14:51:52.000Z | Src/BsImguiInputs.cpp | guestnone/bsfImgui | 1c736547a4decd36e9203b9c8acba62858a9be58 | [
"MIT"
] | 1 | 2019-09-23T14:26:44.000Z | 2019-09-23T14:26:44.000Z | Src/BsImguiInputs.cpp | guestnone/bsfImgui | 1c736547a4decd36e9203b9c8acba62858a9be58 | [
"MIT"
] | 4 | 2019-08-08T11:39:02.000Z | 2020-12-31T14:51:54.000Z | #include "imgui.h"
#include "ImGuizmo.h"
#include "./BsImgui.h"
#include "BsPrerequisites.h"
#include "Input/BsInputFwd.h"
#include "Platform/BsPlatform.h"
#include "Platform/BsCursor.h"
#include "Input/BsInput.h"
#include "BsApplication.h"
// utility operator for osstream debugging.
std::ostream& operator<<(std::os... | 31.322695 | 80 | 0.714367 | [
"render"
] |
7894c952151ae42f6b90ebfd5030b4c0c08814c2 | 6,776 | cpp | C++ | src/QJsonRpc/JsonRpcServer.cpp | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | src/QJsonRpc/JsonRpcServer.cpp | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | src/QJsonRpc/JsonRpcServer.cpp | BitcoinNero/REPO1 | dfa3e667bfd4b8f051173b2c113ab51095f54212 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2017, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Bytecoin is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your ... | 37.644444 | 139 | 0.74085 | [
"object"
] |
7898f3097ca4e5d0e262b2f322f1bfb1ac2d7d44 | 752 | cpp | C++ | project/source/components/Light.cpp | zeroZshadow/rehover | 5219658b9877a9ea032a588aa95a6881ac37e92e | [
"Zlib",
"CC-BY-4.0",
"MIT"
] | 12 | 2017-12-01T17:39:27.000Z | 2021-06-24T10:46:38.000Z | project/source/components/Light.cpp | hoverguys/rehover | 5219658b9877a9ea032a588aa95a6881ac37e92e | [
"Zlib",
"CC-BY-4.0",
"MIT"
] | 18 | 2017-11-25T20:30:44.000Z | 2020-05-19T05:37:12.000Z | project/source/components/Light.cpp | zeroZshadow/rehover | 5219658b9877a9ea032a588aa95a6881ac37e92e | [
"Zlib",
"CC-BY-4.0",
"MIT"
] | 1 | 2017-11-15T10:41:15.000Z | 2017-11-15T10:41:15.000Z | #include "Light.h"
namespace Components {
void Light::Bind(unsigned short slot) {
GX_LoadLightObj(&lightobj, slot);
}
void PointLight::Setup(const Matrix& view, const Transform& transform) {
Vector pos = view.Multiply(transform.position);
GX_InitLightColor(&lightobj, color);
GX_InitLightPosv(&lightobj, &pos);
}... | 27.851852 | 78 | 0.753989 | [
"vector",
"transform"
] |
789badfd6aae289eb420308f1bfda182bce95c8f | 13,675 | cpp | C++ | vireo/scala/jni/vireo/mux.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 890 | 2017-12-15T17:55:42.000Z | 2022-03-27T07:46:49.000Z | vireo/scala/jni/vireo/mux.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 29 | 2017-12-16T21:49:08.000Z | 2021-09-08T23:04:10.000Z | vireo/scala/jni/vireo/mux.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 88 | 2017-12-15T19:29:49.000Z | 2022-03-21T00:59:29.000Z | /*
* MIT License
*
* Copyright (c) 2017 Twitter
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | 44.112903 | 189 | 0.712102 | [
"object",
"vector"
] |
789fb59f3cb09aaf972309d87312629aa841cf31 | 5,264 | cpp | C++ | MEK_Engine/src/MEK/Application.cpp | mekot16/MEK_Engine | 9a246ec380b9e0f481d7c5958363dfbe9352bbd5 | [
"Apache-2.0"
] | null | null | null | MEK_Engine/src/MEK/Application.cpp | mekot16/MEK_Engine | 9a246ec380b9e0f481d7c5958363dfbe9352bbd5 | [
"Apache-2.0"
] | null | null | null | MEK_Engine/src/MEK/Application.cpp | mekot16/MEK_Engine | 9a246ec380b9e0f481d7c5958363dfbe9352bbd5 | [
"Apache-2.0"
] | null | null | null | #include "mekpch.h"
#include "Application.h"
#include "Input.h"
#include "MEK/Renderer/Renderer.h"
namespace MEK {
Application* Application::s_Instance = nullptr;
Application::Application()
{
MEK_CORE_ASSERT(!s_Instance, "Application already exists!");
s_Instance = this;
m_Window = std::unique_ptr<Window>... | 23.605381 | 101 | 0.676102 | [
"render"
] |
a192db0c333adebf59e4cde9fb2801892431a7be | 1,322 | cc | C++ | ppapi/thunk/ppb_view_dev_thunk.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ppapi/thunk/ppb_view_dev_thunk.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ppapi/thunk/ppb_view_dev_thunk.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// From dev/ppb_view_dev.idl modified Wed Jan 27 17:10:16 2016.
#include <stdint.h>
#include "base/logging.h"
#include "ppapi/c/dev/ppb_view_dev.h"
... | 26.979592 | 73 | 0.714826 | [
"object"
] |
a197cf85baf36cea8bbc68ad7e98feeebf1cf397 | 2,511 | hpp | C++ | include/codegen/include/UnityEngine/TestTools/SetUpTearDownCommand_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/TestTools/SetUpTearDownCommand_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/TestTools/SetUpTearDownCommand_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:35 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 45.654545 | 128 | 0.727599 | [
"object"
] |
a19a9310d185a214937a9f43576806e711213f19 | 3,731 | cpp | C++ | 3_3_Prediction/NaiveBayes/classifier.cpp | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | 7 | 2018-12-27T00:12:50.000Z | 2022-03-29T13:13:42.000Z | 3_3_Prediction/NaiveBayes/classifier.cpp | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | null | null | null | 3_3_Prediction/NaiveBayes/classifier.cpp | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | 8 | 2018-10-03T16:46:39.000Z | 2021-01-11T18:29:42.000Z | #include <iostream>
#include <sstream>
#include <fstream>
#include <math.h>
#include <vector>
#include "classifier.h"
using namespace std;
using Eigen::ArrayXd;
/**
* Initializes GNB
*/
GNB::GNB()
{
for(int actionIndex = 0; actionIndex<actionCount; ++actionIndex)
{
(means[actionIndex] = ArrayXd(4)... | 23.916667 | 154 | 0.598499 | [
"vector"
] |
a19b702938a27dc148c5c4221f957775a148be79 | 74,641 | cc | C++ | test/cctest/test-ast-types.cc | radimkohout/v8-new | f6dc1d17efcc695a6f2dd7bcc50c0c6321747613 | [
"BSD-3-Clause"
] | 5 | 2015-03-04T17:49:04.000Z | 2017-04-17T10:10:13.000Z | test/cctest/test-ast-types.cc | radimkohout/v8-new | f6dc1d17efcc695a6f2dd7bcc50c0c6321747613 | [
"BSD-3-Clause"
] | null | null | null | test/cctest/test-ast-types.cc | radimkohout/v8-new | f6dc1d17efcc695a6f2dd7bcc50c0c6321747613 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 the V8 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.
#include <vector>
#include "src/crankshaft/hydrogen-types.h"
#include "src/factory.h"
#include "src/heap/heap.h"
#include "src/isolate.h"
// FIXME(msta... | 39.181627 | 80 | 0.58295 | [
"object",
"vector"
] |
a19df53ed360f0eff464bd1dc63eb914fd841b12 | 1,268 | cpp | C++ | UVA/vol-106/10625.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | 3 | 2017-05-12T14:45:37.000Z | 2020-01-18T16:51:25.000Z | UVA/vol-106/10625.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | null | null | null | UVA/vol-106/10625.cpp | arash16/prays | 0fe6bb2fa008b8fc46c80b01729f68308114020d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct CharCount {
char ch;
int cnt;
CharCount(char ch, int cnt):ch(ch),cnt(cnt){}
};
int main() {
ios_base::sync_with_stdio(0);cin.tie(0);
char ch;
string str;
int T, n, r;
cin >> T;
while (T-- && cin>>n) {
vector<CharCount> r... | 24.384615 | 60 | 0.364353 | [
"vector"
] |
a1a0f6fbd63645a22bdec6ab0265cd1066dea00f | 1,822 | cpp | C++ | TestWrapper.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | TestWrapper.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | TestWrapper.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | // TestWrapper.cpp
//
// Testing heterogeneous properties
//
// (C) Datasim Education BV 2006
//
#include "datasimdate.hpp" // Dates and other useful stuff
#include "datetime.hpp"
#include <string> // Standard string class in C++
#include "Wrapper.cpp"
#include "SimplePropertySet.cpp"
using namespace std... | 20.021978 | 72 | 0.612514 | [
"object"
] |
a1a456fbfb7ffd7943a2d6a2aaf6c24d1a97a5f0 | 1,087 | cpp | C++ | tests/ibm/ibm/test_storage_wrapper.cpp | mfournial/Faasm | f6c48b8b38b78c1b14a7b5557f3bccad9d4424ae | [
"Apache-2.0"
] | 1 | 2020-04-21T07:33:42.000Z | 2020-04-21T07:33:42.000Z | tests/ibm/ibm/test_storage_wrapper.cpp | mfournial/Faasm | f6c48b8b38b78c1b14a7b5557f3bccad9d4424ae | [
"Apache-2.0"
] | 4 | 2020-02-03T18:54:32.000Z | 2020-05-13T18:28:28.000Z | tests/ibm/ibm/test_storage_wrapper.cpp | mfournial/Faasm | f6c48b8b38b78c1b14a7b5557f3bccad9d4424ae | [
"Apache-2.0"
] | null | null | null | #include <catch/catch.hpp>
#include <storage/IBMStorageWrapper.h>
#include <util/config.h>
using namespace storage;
namespace tests {
TEST_CASE("Test authentication", "[ibm]") {
util::SystemConfig &conf = util::getSystemConfig();
IBMStorageWrapper wrapper(conf.ibmApiKey);
const std::stri... | 32.939394 | 80 | 0.612695 | [
"vector"
] |
a1a6e5da2257b776def941a9b23216dc11d0b4c2 | 1,337 | cpp | C++ | Mavn/ResourceAllocation.cpp | rajko-z/mahl-compiler | c417de8546c40524f09a9de67ecd5786f2199669 | [
"MIT"
] | null | null | null | Mavn/ResourceAllocation.cpp | rajko-z/mahl-compiler | c417de8546c40524f09a9de67ecd5786f2199669 | [
"MIT"
] | null | null | null | Mavn/ResourceAllocation.cpp | rajko-z/mahl-compiler | c417de8546c40524f09a9de67ecd5786f2199669 | [
"MIT"
] | null | null | null | #include "ResourceAllocation.h"
#include "InterferenceGraph.h"
#include "Constants.h"
#include "Utils.h"
#include <set>
#include <vector>
using namespace std;
bool doResourceAllocation(SimplificationStack& simplificationStack, InterferenceGraph& ig)
{
while (!simplificationStack.empty())
{
Variable* var = simpli... | 19.661765 | 90 | 0.646223 | [
"vector"
] |
a1a8823d2edf8dd4dcda7a982eb08b3e0596a1b5 | 1,336 | cpp | C++ | July LeetCode Challenge/Day_18.cpp | mishrraG/100DaysOfCode | 3358af290d4f05889917808d68b95f37bd76e698 | [
"MIT"
] | 13 | 2020-08-10T14:06:37.000Z | 2020-09-24T14:21:33.000Z | July LeetCode Challenge/Day_18.cpp | mishrraG/DaysOfCP | 3358af290d4f05889917808d68b95f37bd76e698 | [
"MIT"
] | null | null | null | July LeetCode Challenge/Day_18.cpp | mishrraG/DaysOfCP | 3358af290d4f05889917808d68b95f37bd76e698 | [
"MIT"
] | 1 | 2020-05-31T21:09:14.000Z | 2020-05-31T21:09:14.000Z | class Solution {
public:
bool impossible;
void dfs(vector<vector<int>>&map1, int i, vector<bool>&visited, vector<int>&donecourse) {
if (visited[i]) {
impossible = true;
return;
}
visited[i] = true;
if (map1[i].size() == 0) {
donecourse.push_bac... | 29.688889 | 93 | 0.461826 | [
"vector"
] |
a1a918fe8527b7432b445fe87cbc59d67cd6a2d6 | 7,495 | cc | C++ | chrome/browser/ui/ash/vpn_list_forwarder.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/ui/ash/vpn_list_forwarder.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/ui/ash/vpn_list_forwarder.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "chrome/browser/ui/ash/vpn_list_forwarder.h"
#include "ash/public/interfaces/constants.mojom.h"
#include "base/bind.h"
#include "base/location.h"... | 35.861244 | 80 | 0.750767 | [
"vector"
] |
a1abd536dfa5524cb2a61d80aa5ccb971d107107 | 7,157 | cpp | C++ | tests/unit/testreleasemonitor.cpp | abpostelnicu/mozilla-vpn-client | 8401aa3eb4b579b06cf88a765a7a4c32d10e0bbb | [
"MIT"
] | 1 | 2021-06-19T04:01:54.000Z | 2021-06-19T04:01:54.000Z | tests/unit/testreleasemonitor.cpp | abpostelnicu/mozilla-vpn-client | 8401aa3eb4b579b06cf88a765a7a4c32d10e0bbb | [
"MIT"
] | 2 | 2020-11-29T13:51:47.000Z | 2020-12-01T07:29:09.000Z | tests/unit/testreleasemonitor.cpp | abpostelnicu/mozilla-vpn-client | 8401aa3eb4b579b06cf88a765a7a4c32d10e0bbb | [
"MIT"
] | null | null | null | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "testreleasemonitor.h"
#include "../../src/releasemonitor.h"
#include "../../src/update/versionapi.h"
#in... | 33.288372 | 76 | 0.497275 | [
"object"
] |
a1aee7a85d4d2ce16f9f3da7e13dfe9bd6f99064 | 16,006 | cpp | C++ | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/inspector/ThreadDebugger.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V... | 39.915212 | 262 | 0.710421 | [
"object",
"vector"
] |
a1b1fafd2bb3dd0a91a82ed9f90d67ee4e448334 | 28,217 | hpp | C++ | sequitur.hpp | lytnus/cpp-sequitur | a27a5d1ad85b78d6366f74d2be18d3727d5bce94 | [
"MIT"
] | null | null | null | sequitur.hpp | lytnus/cpp-sequitur | a27a5d1ad85b78d6366f74d2be18d3727d5bce94 | [
"MIT"
] | null | null | null | sequitur.hpp | lytnus/cpp-sequitur | a27a5d1ad85b78d6366f74d2be18d3727d5bce94 | [
"MIT"
] | null | null | null | #ifndef SEQUITUR_H
#define SEQUITUR_H
#include <unordered_map>
#include <cassert>
#include <list>
#include <tuple>
#include <stack>
#include <memory>
#include "sequitur/symbols.hpp"
#include "sequitur/symbolwrapper.hpp"
#include "sequitur/hashing.hpp"
#include "sequitur/id.hpp"
namespace jw
{
//global aliases... | 34.878863 | 106 | 0.586065 | [
"object"
] |
a1b206f8c5cbd6049a9438399f039a3e9ab05d28 | 13,389 | cpp | C++ | modules/basegl/src/processors/volumeprocessing/volumecombiner.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 349 | 2015-01-30T09:21:52.000Z | 2022-03-25T03:10:02.000Z | modules/basegl/src/processors/volumeprocessing/volumecombiner.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 641 | 2015-09-23T08:54:06.000Z | 2022-03-23T09:50:55.000Z | modules/basegl/src/processors/volumeprocessing/volumecombiner.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 124 | 2015-02-27T23:45:02.000Z | 2022-02-21T09:37:14.000Z | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | 39.149123 | 100 | 0.61431 | [
"geometry",
"vector"
] |
a1b72be74ac763b0c871cc4e55ec8fa14c725388 | 10,627 | cpp | C++ | tests/binaryloggertest/logging.cpp | ztxc/Log4Qt | 41c108535b6a0035e667c5a1a5d696c7adbd81c3 | [
"Apache-2.0"
] | 421 | 2015-12-22T15:13:26.000Z | 2022-03-29T02:26:28.000Z | tests/binaryloggertest/logging.cpp | ztxc/Log4Qt | 41c108535b6a0035e667c5a1a5d696c7adbd81c3 | [
"Apache-2.0"
] | 34 | 2016-05-09T17:32:38.000Z | 2022-03-21T09:56:43.000Z | tests/binaryloggertest/logging.cpp | ztxc/Log4Qt | 41c108535b6a0035e667c5a1a5d696c7adbd81c3 | [
"Apache-2.0"
] | 184 | 2016-01-15T08:43:16.000Z | 2022-03-29T02:26:31.000Z | #include "logging.h"
#include <QByteArray>
#include <QVariant>
#include <QDateTime>
#include <QStringBuilder>
static QString escape(const QString &string);
static QString toString(const QVariantMap &map);
static QString toString(const QVariantList &list);
static QString toString(const QVariantHash &hash);
static QStr... | 28.877717 | 121 | 0.599887 | [
"transform"
] |
a1b8ce2ae2d63bf7bc187dbce1c6d3f5bb477e4f | 7,958 | cpp | C++ | APX_Files/Src/AdditionalJSONCommands.cpp | poco2018/Archicad-Keynotes | 8796a44022ddc3d2675cd630b6fa0c7d8a6c9586 | [
"MIT"
] | 2 | 2021-07-15T10:05:25.000Z | 2021-11-20T06:21:46.000Z | APX_Files/Src/AdditionalJSONCommands.cpp | poco2018/Archicad-Keynotes | 8796a44022ddc3d2675cd630b6fa0c7d8a6c9586 | [
"MIT"
] | null | null | null | APX_Files/Src/AdditionalJSONCommands.cpp | poco2018/Archicad-Keynotes | 8796a44022ddc3d2675cd630b6fa0c7d8a6c9586 | [
"MIT"
] | null | null | null | #include "AdditionalJSONCommands.hpp"
#include "ObjectState.hpp"
#include "FileSystem.hpp"
#include "AddOnMain.hpp"
constexpr const char* AdditionalJSONCommandsNamespace = "AdditionalJSONCommands";
static GS::HashTable<GS::UniString, API_Guid> GetPublisherSetNameGuidTable ()
{
GS::HashTable<GS::UniString, API_Gu... | 29.474074 | 120 | 0.722418 | [
"object",
"shape"
] |
a1ba9d3a8fd0282749a9e341862a3618aa3c8636 | 12,897 | cpp | C++ | src/qt/src/3rdparty/webkit/Source/WebCore/platform/network/HTTPParsers.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 46 | 2015-01-08T14:32:34.000Z | 2022-02-05T16:48:26.000Z | src/qt/src/3rdparty/webkit/Source/WebCore/platform/network/HTTPParsers.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 7 | 2015-01-20T14:28:12.000Z | 2017-01-18T17:21:44.000Z | src/qt/src/3rdparty/webkit/Source/WebCore/platform/network/HTTPParsers.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 14 | 2015-10-27T06:17:48.000Z | 2020-03-03T06:15:50.000Z | /*
* Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
* Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | 34.300532 | 141 | 0.63224 | [
"vector"
] |
a1c11aa300f7be0768214aad66b2cc6e052ec21f | 5,140 | cpp | C++ | game_upgrade.cpp | AutoLS/DodgeTheBlocks | 1a2ee586ce82a8d9ebdfab074d793dd1f4b30eba | [
"MIT"
] | null | null | null | game_upgrade.cpp | AutoLS/DodgeTheBlocks | 1a2ee586ce82a8d9ebdfab074d793dd1f4b30eba | [
"MIT"
] | null | null | null | game_upgrade.cpp | AutoLS/DodgeTheBlocks | 1a2ee586ce82a8d9ebdfab074d793dd1f4b30eba | [
"MIT"
] | null | null | null | #include "game_upgrade.h"
void UpdateUpgradeMenu(upgrade_menu* UpgradeMenu, player_profile* Profile,
game_renderer* Renderer, render* Graphics)
{
TTF_Font* Font = Renderer->RenderFonts[DEFAULT_FONT_MEDIUM];
object_data Object = Renderer->RenderObjects[R_OBJECT_RECT];
glDeleteTextures(1, &UpgradeM... | 37.794118 | 93 | 0.696693 | [
"render",
"object"
] |
a1c146a4b21f37f995b08fb5d300de65635f3195 | 2,601 | cc | C++ | src/pmem/PersistentPtr.cc | ecmwf/pmem | e7fc7a18ec8ac928730812b4e7a0565a18295fcd | [
"Apache-2.0"
] | null | null | null | src/pmem/PersistentPtr.cc | ecmwf/pmem | e7fc7a18ec8ac928730812b4e7a0565a18295fcd | [
"Apache-2.0"
] | null | null | null | src/pmem/PersistentPtr.cc | ecmwf/pmem | e7fc7a18ec8ac928730812b4e7a0565a18295fcd | [
"Apache-2.0"
] | null | null | null | /*
* (C) Copyright 1996-2015 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an in... | 27.378947 | 100 | 0.614764 | [
"object"
] |
a1c195c7e5d8b267c83e6355f6f382740c9f407e | 6,049 | cpp | C++ | src/JRectangle.cpp | jildertviet/ofxJVisuals | 878c5b0e7a7dda49ddb71b3f5d19c13987706a73 | [
"MIT"
] | null | null | null | src/JRectangle.cpp | jildertviet/ofxJVisuals | 878c5b0e7a7dda49ddb71b3f5d19c13987706a73 | [
"MIT"
] | 6 | 2021-10-16T07:10:04.000Z | 2021-12-26T13:23:54.000Z | src/JRectangle.cpp | jildertviet/ofxJVisuals | 878c5b0e7a7dda49ddb71b3f5d19c13987706a73 | [
"MIT"
] | null | null | null | //
// JRectangle
//
// Created by Jildert Viet on 24-01-16.
//
//
#include "JRectangle.hpp"
JRectangle::JRectangle(){
setType("JRectangle");
}
JRectangle::JRectangle(float millisTime, ofVec2f loc, ofVec2f size, ofColor color, float attack, float release, ofVec2f direction, bool move){
setType... | 26.765487 | 143 | 0.520582 | [
"mesh",
"vector"
] |
a1c69bd36e7d4364d02eb8c400ef4b36a01ced16 | 15,481 | cpp | C++ | GSM/molpro.cpp | awvwgk/molecularGSM | f78925bb142d83095e3f78587ed9cfebc98ea89d | [
"MIT"
] | 42 | 2016-09-08T19:45:41.000Z | 2022-03-17T01:57:38.000Z | GSM/molpro.cpp | awvwgk/molecularGSM | f78925bb142d83095e3f78587ed9cfebc98ea89d | [
"MIT"
] | 12 | 2017-11-08T03:55:50.000Z | 2022-03-11T18:01:57.000Z | GSM/molpro.cpp | awvwgk/molecularGSM | f78925bb142d83095e3f78587ed9cfebc98ea89d | [
"MIT"
] | 17 | 2016-11-14T17:39:50.000Z | 2022-03-17T01:58:59.000Z | #include "molpro.h"
//#include "utils.h"
using namespace std;
//set to 1 to not run molpro
#define SAFE_MODE 0
#define ONLY_RHF 0
#define BASIS631GS 0
#define READ_SCF 1
#define PSPACE 0
//pspace now is 10. //was 100.
#define DYNWEIGHT 0
#define MEMORY 400
#define DIRECT 1
//run molpro for gradient of n, derivative... | 24.69059 | 140 | 0.580906 | [
"geometry",
"vector"
] |
a1c7d4dfad37ec9d2619f35419b85884fda925f7 | 12,620 | cpp | C++ | s8_casa/main.cpp | code-mds/grafica | 604a802bf32ce5245abf249a13cadb7eb32e1fd8 | [
"MIT"
] | 1 | 2020-02-23T09:48:25.000Z | 2020-02-23T09:48:25.000Z | s8_casa/main.cpp | code-mds/grafica | 604a802bf32ce5245abf249a13cadb7eb32e1fd8 | [
"MIT"
] | null | null | null | s8_casa/main.cpp | code-mds/grafica | 604a802bf32ce5245abf249a13cadb7eb32e1fd8 | [
"MIT"
] | null | null | null | //glut_test.cpp
//glut_test.cpp
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#ifdef __APPLE__
// Headers richiesti da OSX
#include <GL/glew.h>
#include <GLUT/glut.h>
#else
// headers richiesti da Windows e linux
#include <GL/glew.h>
#include <GL/freeglut.h>
#endif
#include <cstdlib>
#i... | 27.554585 | 113 | 0.605705 | [
"model"
] |
a1c8d18a37537784d8d50cd3d4b8944e9bdaee64 | 3,940 | cpp | C++ | Source/Tools/RampGenerator/RampGenerator.cpp | GKR/Urho3D | 70db25ac459dd40f76580c8f6ee9320192a425ac | [
"Apache-2.0"
] | null | null | null | Source/Tools/RampGenerator/RampGenerator.cpp | GKR/Urho3D | 70db25ac459dd40f76580c8f6ee9320192a425ac | [
"Apache-2.0"
] | null | null | null | Source/Tools/RampGenerator/RampGenerator.cpp | GKR/Urho3D | 70db25ac459dd40f76580c8f6ee9320192a425ac | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | 31.023622 | 92 | 0.586041 | [
"vector"
] |
a1c938936bb2adb046643fdbbc86d328d2aeef4b | 137,363 | cpp | C++ | ios/Classes/Native/Bulk_UnityEngine.ParticleSystemModule_0.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | null | null | null | ios/Classes/Native/Bulk_UnityEngine.ParticleSystemModule_0.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | null | null | null | ios/Classes/Native/Bulk_UnityEngine.ParticleSystemModule_0.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"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... | 47.090504 | 284 | 0.834082 | [
"object"
] |
a1cd4b9f3ec46a78da2f90a2e0243b4a07be0853 | 9,570 | cpp | C++ | Data_Structures/splay_tree/splay_tree_beats.cpp | phibrainDK/Library_Templates | 88f34eb08de78a20828f8362d97da7dad3b28ced | [
"MIT"
] | null | null | null | Data_Structures/splay_tree/splay_tree_beats.cpp | phibrainDK/Library_Templates | 88f34eb08de78a20828f8362d97da7dad3b28ced | [
"MIT"
] | null | null | null | Data_Structures/splay_tree/splay_tree_beats.cpp | phibrainDK/Library_Templates | 88f34eb08de78a20828f8362d97da7dad3b28ced | [
"MIT"
] | null | null | null | // #################################################################################################
// # You told me #
// # At your absolute best, you still won't be good enough for the wrong person #
// # ... | 29 | 100 | 0.446708 | [
"vector"
] |
a1cf7fbcf16f2f6d58513a2a84e8e2c5a4483f8c | 7,152 | cpp | C++ | third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/resolver/CSSVariableResolver.h"
#include "core/CSSPropertyNames.h"
#include "core/CSSValueKeywords.h"
#include "core/StyleBuilderFunct... | 36.865979 | 152 | 0.723294 | [
"vector"
] |
a1d081d4b4401853dc6665b0056e8a64087a6029 | 4,934 | cxx | C++ | scipy/spatial/ckdtree/src/query_ball_point.cxx | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | scipy/spatial/ckdtree/src/query_ball_point.cxx | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | scipy/spatial/ckdtree/src/query_ball_point.cxx | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | #include <Python.h>
#include "numpy/arrayobject.h"
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <string>
#include <sstream>
#include <new>
#include <typeinfo>
#include <stdexcept>
#include <ios>
#define CKDTREE_METHODS_IMPL
#include "ckdtree_decl.h"
#include "ckdtree_methods.h"
#... | 31.832258 | 105 | 0.534657 | [
"vector"
] |
a1dd42e6f53dfb2b27ad37961ef0eb4042ff9a47 | 6,691 | cpp | C++ | Bull-Engine/Primitive.cpp | Sersius/Bull-Engine | d97c7ed4725eb9bef776ffbe9e5a13bed200cfd0 | [
"MIT"
] | null | null | null | Bull-Engine/Primitive.cpp | Sersius/Bull-Engine | d97c7ed4725eb9bef776ffbe9e5a13bed200cfd0 | [
"MIT"
] | null | null | null | Bull-Engine/Primitive.cpp | Sersius/Bull-Engine | d97c7ed4725eb9bef776ffbe9e5a13bed200cfd0 | [
"MIT"
] | null | null | null |
#include "Globals.h"
#include "Primitive.h"
#include "Glew/include/glew.h"
#include <gl/GL.h>
#include <gl/GLU.h>
// ------------------------------------------------------------
Primitive::Primitive() : transform(IdentityMatrix), color(White), wire(false), axis(false), type(PrimitiveTypes::Primitive_Point)
{}
//... | 24.330909 | 129 | 0.564191 | [
"render",
"transform"
] |
a1de3d7894f6cb22cd2957c769b1deb0e6a1451c | 92,149 | cc | C++ | storage/innobase/row/row0ins.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | storage/innobase/row/row0ins.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | storage/innobase/row/row0ins.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************
Copyright (c) 1996, 2014, 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
Founda... | 27.433462 | 79 | 0.672639 | [
"object",
"vector"
] |
a1e0ffc1b0de98d52524f5825919fe83ba67d080 | 11,759 | cpp | C++ | firmware/src/foc/foc.cpp | zenglongGH/px4esc | b12adc96a180503c75856220cfe8539cb24204cc | [
"BSD-3-Clause"
] | 1 | 2021-08-07T22:27:54.000Z | 2021-08-07T22:27:54.000Z | firmware/src/foc/foc.cpp | zenglongGH/px4esc | b12adc96a180503c75856220cfe8539cb24204cc | [
"BSD-3-Clause"
] | null | null | null | firmware/src/foc/foc.cpp | zenglongGH/px4esc | b12adc96a180503c75856220cfe8539cb24204cc | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2016 Zubax Robotics OU <info@zubax.com>
*
* 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... | 26.544018 | 118 | 0.636874 | [
"vector"
] |
a1e90446116f481a4066ac77a24372a843af257e | 10,254 | cpp | C++ | mutator.cpp | richinseattle/haze | b307b6ffca326f1211f4355668ab31eeedc77f67 | [
"Apache-2.0"
] | 47 | 2020-09-27T01:46:05.000Z | 2021-07-27T04:48:11.000Z | mutator.cpp | richinseattle/haze-tinyinst | b307b6ffca326f1211f4355668ab31eeedc77f67 | [
"Apache-2.0"
] | 2 | 2020-10-31T20:05:33.000Z | 2020-12-26T03:49:46.000Z | mutator.cpp | richinseattle/haze | b307b6ffca326f1211f4355668ab31eeedc77f67 | [
"Apache-2.0"
] | 7 | 2020-09-27T11:17:29.000Z | 2021-05-01T21:17:33.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 writing, software
dis... | 40.054688 | 139 | 0.696216 | [
"vector"
] |
a1ebc620aa23b7a98cae19371fefd2377c036931 | 4,675 | cpp | C++ | src/served/net/server.cpp | csfilehub/served | 7b0f68902a9044cf45701c34bea0dcc1d52e3730 | [
"MIT"
] | 434 | 2015-01-14T09:25:57.000Z | 2018-06-28T14:15:26.000Z | src/served/net/server.cpp | csfilehub/served | 7b0f68902a9044cf45701c34bea0dcc1d52e3730 | [
"MIT"
] | 34 | 2018-07-02T22:32:28.000Z | 2021-01-17T01:42:44.000Z | src/served/net/server.cpp | csfilehub/served | 7b0f68902a9044cf45701c34bea0dcc1d52e3730 | [
"MIT"
] | 113 | 2018-07-23T19:18:45.000Z | 2022-03-03T14:55:36.000Z | /*
* Copyright (C) 2014 MediaSift Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publ... | 25.828729 | 81 | 0.658182 | [
"vector"
] |
a1ef06b4d3dd399a8d4dc176ed5bb3303bc63cfb | 11,716 | cc | C++ | tensorflow/compiler/plugin/poplar/driver/passes/serialize_gradient_accumulation.cc | DebeshJha/tensorflow-1 | 2b5a225c49d25273532d11c424d37ce394d7579a | [
"Apache-2.0"
] | 2 | 2021-03-08T23:32:06.000Z | 2022-01-13T03:43:49.000Z | tensorflow/compiler/plugin/poplar/driver/passes/serialize_gradient_accumulation.cc | DebeshJha/tensorflow-1 | 2b5a225c49d25273532d11c424d37ce394d7579a | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/driver/passes/serialize_gradient_accumulation.cc | DebeshJha/tensorflow-1 | 2b5a225c49d25273532d11c424d37ce394d7579a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.315436 | 99 | 0.638614 | [
"shape",
"vector"
] |
b802e24f2fb14d87713055121cdc2e5624e3ac6d | 11,437 | cpp | C++ | simd_sys_eu/src/simd_sys_eu_add_sub_2.cpp | timurkelin/simsimd | 79431b70cca50a995f2a1f12b3f5abe26e574096 | [
"MIT"
] | 14 | 2019-07-16T22:14:21.000Z | 2021-09-26T10:20:48.000Z | simd_sys_eu/src/simd_sys_eu_add_sub_2.cpp | timurkelin/simsimd | 79431b70cca50a995f2a1f12b3f5abe26e574096 | [
"MIT"
] | null | null | null | simd_sys_eu/src/simd_sys_eu_add_sub_2.cpp | timurkelin/simsimd | 79431b70cca50a995f2a1f12b3f5abe26e574096 | [
"MIT"
] | 3 | 2020-03-20T02:34:39.000Z | 2020-06-28T19:55:28.000Z | /*
* simd_sys_eu_add_sub_2.cpp
*
* Description:
* Methods for the 2-input add/subtract execution unit
* This is an example of the multiple IN ports feeding data into a single OUT port
*/
#include "simd_sys_eu_add_sub_2.h"
#include "simd_assert.h"
#include "simd_report.h"
namespace simd {
void simd_sys_e... | 34.975535 | 121 | 0.524613 | [
"vector"
] |
b8039307beb57239f7808567af3734d6a3cc2866 | 29,192 | cpp | C++ | DarkGDK/Dark Basic Pro SDK/Shared/Basic2D/CBasic2DC.cpp | dgavedissian/DBPro-CMake | 83e5b9505a8a068eec62bb8b5fc9dddbad08c3dd | [
"MIT"
] | null | null | null | DarkGDK/Dark Basic Pro SDK/Shared/Basic2D/CBasic2DC.cpp | dgavedissian/DBPro-CMake | 83e5b9505a8a068eec62bb8b5fc9dddbad08c3dd | [
"MIT"
] | null | null | null | DarkGDK/Dark Basic Pro SDK/Shared/Basic2D/CBasic2DC.cpp | dgavedissian/DBPro-CMake | 83e5b9505a8a068eec62bb8b5fc9dddbad08c3dd | [
"MIT"
] | null | null | null |
//////////////////////////////////////////////////////////////////////////////////
// INCLUDES / LIBS ///////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
#include <time.h>
#include "cbasic2Dc.h"
#include ".\..\error\cerror.... | 26.562329 | 143 | 0.616642 | [
"render"
] |
b804ddc9c1e390626d6864f94610e965519b23d3 | 3,019 | hpp | C++ | Simple++/IO/IOManagerLoadable.hpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null | Simple++/IO/IOManagerLoadable.hpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null | Simple++/IO/IOManagerLoadable.hpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null |
template<typename DataType>
IOManagerLoadable<DataType>::IOManagerLoadable( const IOManager<DataType> & manager ) {
setLoaded( true );
for ( auto it( manager.dataMap.getBegin() ); it != manager.dataMap.getEnd(); manager.dataMap.iterate( &it ) ) {
ObjectContainer newContainer;
newContainer.object = new DataType... | 30.806122 | 126 | 0.707519 | [
"object"
] |
b805ccb9ca80d8e3ec22bb505bda0fdc3e734eed | 14,821 | cpp | C++ | ext/s2/internal/parse_s2.cpp | davidsiaw/s2 | 2881fe51136e2afbfbe5a94329a9fd0d1490fec0 | [
"MIT"
] | null | null | null | ext/s2/internal/parse_s2.cpp | davidsiaw/s2 | 2881fe51136e2afbfbe5a94329a9fd0d1490fec0 | [
"MIT"
] | 2 | 2019-12-19T04:46:31.000Z | 2020-06-25T02:33:52.000Z | ext/s2/internal/parse_s2.cpp | davidsiaw/s2 | 2881fe51136e2afbfbe5a94329a9fd0d1490fec0 | [
"MIT"
] | null | null | null |
#include "parse_s2.hpp"
/*
WARNING: This file is generated using ruco. Please modify the .ruco file if you wish to change anything
https://github.com/davidsiaw/ruco
*/
namespace S2
{
S2Ptr Parse(std::string sourceFile)
{
std::shared_ptr<FILE> fp (fopen(sourceFile.c_str(), "r"), fclose);
if (!fp)
{
throw... | 23.488114 | 120 | 0.702517 | [
"object"
] |
b811c56e218a60ec6872fcf5d92a2e38202e8373 | 16,494 | cpp | C++ | testing/sg_tst_context.cpp | beanhuo/sg3_utils | be90b8fe4666ee15a516941fe155c421e40b12d6 | [
"BSD-2-Clause"
] | null | null | null | testing/sg_tst_context.cpp | beanhuo/sg3_utils | be90b8fe4666ee15a516941fe155c421e40b12d6 | [
"BSD-2-Clause"
] | null | null | null | testing/sg_tst_context.cpp | beanhuo/sg3_utils | be90b8fe4666ee15a516941fe155c421e40b12d6 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2013-2018 Douglas Gilbert.
* 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, this list o... | 32.791252 | 78 | 0.554565 | [
"object",
"vector"
] |
b8135445af043e590807760683ff0c8ae36a8c1f | 2,909 | hpp | C++ | external/bsd/atf/dist/tools/expand.hpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | external/bsd/atf/dist/tools/expand.hpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | external/bsd/atf/dist/tools/expand.hpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | //
// Automated Testing Framework (atf)
//
// Copyright (c) 2007 The NetBSD Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain... | 35.048193 | 75 | 0.680303 | [
"vector"
] |
b814a2489e74751ed73528ac81198009ddd771d0 | 2,445 | hpp | C++ | contrib/libboost/boost_1_62_0/boost/range/algorithm/partition.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | contrib/libboost/boost_1_62_0/boost/range/algorithm/partition.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | contrib/libboost/boost_1_62_0/boost/range/algorithm/partition.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | // Copyright Neil Groves 2009. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#ifndef BOOST_RANGE_ALGORIT... | 32.6 | 76 | 0.761554 | [
"model"
] |
b815473c60cbeab0806f94cf36532dc517f445eb | 5,092 | hpp | C++ | src/helper.hpp | gtraines/g13-schneller | 87ba1855cada0e0ceebb0e0188f76cc84e00620a | [
"MIT"
] | null | null | null | src/helper.hpp | gtraines/g13-schneller | 87ba1855cada0e0ceebb0e0188f76cc84e00620a | [
"MIT"
] | null | null | null | src/helper.hpp | gtraines/g13-schneller | 87ba1855cada0e0ceebb0e0188f76cc84e00620a | [
"MIT"
] | null | null | null | /*
* helper.hpp
*
* Miscellaneous helpful little tidbits...
*/
/*
* Copyright (c) 2015, James Fowler
*
* 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... | 25.847716 | 90 | 0.585625 | [
"vector"
] |
b8216a6d58da0ce6e4f3cbc7e3f2eeb5fd9ab453 | 7,920 | cpp | C++ | caffe/src/caffe/layers/lifted_struct_similarity_softmax_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 136 | 2018-03-20T01:26:36.000Z | 2022-02-07T12:05:43.000Z | caffe/src/caffe/layers/lifted_struct_similarity_softmax_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 18 | 2018-03-20T08:06:53.000Z | 2021-02-22T11:59:47.000Z | caffe/src/caffe/layers/lifted_struct_similarity_softmax_layer.cpp | BlancRay/SeqFace | 72bdeb1d5f463df9c8c164466f3a7125421b975c | [
"MIT"
] | 33 | 2018-03-20T02:13:33.000Z | 2022-02-07T12:05:44.000Z | #include <algorithm>
#include <vector>
#include "caffe/layers/lifted_struct_similarity_softmax_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void LiftedStructSimilaritySoftmaxLossLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>&... | 36 | 138 | 0.615278 | [
"vector"
] |
b821a0bc5fed6b4fcd1a472ee990cd49f95ba337 | 7,399 | cpp | C++ | aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp | crazecdwn/aws-sdk-cpp | e74b9181a56e82ee04cf36a4cb31686047f4be42 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp | crazecdwn/aws-sdk-cpp | e74b9181a56e82ee04cf36a4cb31686047f4be42 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/source/model/VpcEndpointConnection.cpp | crazecdwn/aws-sdk-cpp | e74b9181a56e82ee04cf36a4cb31686047f4be42 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 34.096774 | 173 | 0.707393 | [
"model"
] |
b82397dee3fc03154786dee48855a7ed5c4f34e7 | 9,110 | cpp | C++ | src/services/processFileSystem/processFileSystem.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 26 | 2018-03-19T15:59:46.000Z | 2021-08-06T16:13:16.000Z | src/services/processFileSystem/processFileSystem.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 34 | 2018-01-21T17:43:29.000Z | 2020-06-27T02:00:53.000Z | src/services/processFileSystem/processFileSystem.cpp | patrick-lafferty/saturn | 6dc36adb42ad9b647704dd19247423a522eeb551 | [
"BSD-3-Clause"
] | 3 | 2019-12-08T22:26:35.000Z | 2021-06-25T17:05:57.000Z | /*
Copyright (c) 2017, Patrick Lafferty
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the... | 37.336066 | 135 | 0.572887 | [
"object",
"vector"
] |
b824138b06816f13dfa138cfd4d0f2cfa1e24236 | 1,482 | cc | C++ | ddoscoo/src/model/ConfigNetworkRulesRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | ddoscoo/src/model/ConfigNetworkRulesRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | ddoscoo/src/model/ConfigNetworkRulesRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 28.5 | 81 | 0.761808 | [
"model"
] |
b82502938db98a1d3e0b6eee5ed57deae06e79d5 | 945 | cpp | C++ | codes/leetcode/NonoverlappingIntervals.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/leetcode/NonoverlappingIntervals.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/leetcode/NonoverlappingIntervals.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | /*
************************************************
username : smmehrab
fullname : s.m.mehrabul islam
email : mehrab.24csedu.001@gmail.com
institute : university of dhaka, bangladesh
session : 2017-2018
************************************************
*/
class Solution {
public:
int eras... | 30.483871 | 84 | 0.499471 | [
"vector"
] |
b82baa84f12e0f29ca0fa76d0bb91ead03b422fd | 1,019 | cpp | C++ | ArtificialIntelligence/StatisticsAndMachineLearning/BasicStatisticsWarmup/basic_statistics_warmup.cpp | suzyz/HackerRank | e97f76c4b39aa448e43e30b479d9718b8b88b2d2 | [
"MIT"
] | null | null | null | ArtificialIntelligence/StatisticsAndMachineLearning/BasicStatisticsWarmup/basic_statistics_warmup.cpp | suzyz/HackerRank | e97f76c4b39aa448e43e30b479d9718b8b88b2d2 | [
"MIT"
] | null | null | null | ArtificialIntelligence/StatisticsAndMachineLearning/BasicStatisticsWarmup/basic_statistics_warmup.cpp | suzyz/HackerRank | e97f76c4b39aa448e43e30b479d9718b8b88b2d2 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
const int maxn = 2502;
int n,d[maxn];
int main() {
int mode = 0;
/* sd: stanstard deviation */
double sum = 0, mean = 0, median = 0, sd = 0 ,lower_boundary, upper_boundary;
scanf("%d",&n);
for (int... | 16.704918 | 95 | 0.546614 | [
"vector"
] |
b837a3b882fef724df27cacb8730efaad38db7ac | 2,091 | cpp | C++ | C++/Codeforces/cf-678/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/Codeforces/cf-678/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/Codeforces/cf-678/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
template <typename T> ostream& operator<<(ostream &os, const vector<T> &v) { os << '{'; string sep; for (const auto &x : v) os << sep << x, sep = ", "; return os << '}'; }
template <typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os <... | 29.041667 | 171 | 0.496891 | [
"vector"
] |
b8396ad0df2e35b3174e91ce8c9493097bffb1e7 | 8,022 | cpp | C++ | Dev/Cpp/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelRenderer.cpp | riccardobl/Effekseer | 40dea55d7d2fafa365e4365adfe58a1059a5a980 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Dev/Cpp/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelRenderer.cpp | riccardobl/Effekseer | 40dea55d7d2fafa365e4365adfe58a1059a5a980 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Dev/Cpp/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelRenderer.cpp | riccardobl/Effekseer | 40dea55d7d2fafa365e4365adfe58a1059a5a980 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
#include "EffekseerRendererLLGI.RenderState.h"
#include "EffekseerRendererLLGI.RendererImplemented.h"
#include "EffekseerRendererLLGI.IndexBuffer.h"
#include "EffekseerRendererLLGI.ModelRenderer.h"
#include "EffekseerRendererLLGI.Shader.h"
#include "EffekseerRendererLLGI.VertexBuffer.h"
#include "GraphicsDevice.h"
... | 37.138889 | 183 | 0.746697 | [
"vector",
"model"
] |
b83b9880628e3d10e6ea4e3a712ae6ae52875520 | 8,663 | cc | C++ | trw_sql.cc | prakruti1090/PortScan_Sql | a69c376dccecb3d9276069cfa020432eef2f597e | [
"Apache-2.0"
] | null | null | null | trw_sql.cc | prakruti1090/PortScan_Sql | a69c376dccecb3d9276069cfa020432eef2f597e | [
"Apache-2.0"
] | null | null | null | trw_sql.cc | prakruti1090/PortScan_Sql | a69c376dccecb3d9276069cfa020432eef2f597e | [
"Apache-2.0"
] | null | null | null | #include "mysql.h"
#include <cstdio>
#include <sstream>
#include <fstream>
#include <cstring>
#include <string>
#include <iostream>
#include <vector>
using namespace std;
int main() {
MYSQL *conn;
MYSQL_RES *res,*res_tot_flows,*res_sip,*res_dip,*res_flags,*res_packets,*res_d,*res_scanner;
MYSQL_RES *res_hit1,*res_hit2,... | 31.732601 | 112 | 0.712802 | [
"vector"
] |
b83de6076448a01c5636a265c0e82434ea9fe4d6 | 13,411 | cpp | C++ | main.cpp | sasawat/crazydiskinfo | 212bc613d8878f0c76021bf0135a15e62da73682 | [
"MIT"
] | null | null | null | main.cpp | sasawat/crazydiskinfo | 212bc613d8878f0c76021bf0135a15e62da73682 | [
"MIT"
] | null | null | null | main.cpp | sasawat/crazydiskinfo | 212bc613d8878f0c76021bf0135a15e62da73682 | [
"MIT"
] | 1 | 2022-03-27T15:09:09.000Z | 2022-03-27T15:09:09.000Z | #include <iostream>
#include <array>
#include <vector>
#include <algorithm>
#include <functional>
#include <locale.h>
#include <ncurses.h>
#include <atasmart.h>
#include <sys/signal.h>
#include <dirent.h>
constexpr int const STATUS_WIDTH = 80;
constexpr int const DEVICE_BAR_HEIGHT = 4;
constexpr int const VERSION_HE... | 25.447818 | 156 | 0.646037 | [
"vector",
"model"
] |
b83e4ee01c46e3703ad01868a8025196791c4f93 | 31,692 | hpp | C++ | include/do_cycles.hpp | daboehme/Comb | e06e54d351f7b31177db89f37b4326c8e96656bd | [
"MIT"
] | null | null | null | include/do_cycles.hpp | daboehme/Comb | e06e54d351f7b31177db89f37b4326c8e96656bd | [
"MIT"
] | null | null | null | include/do_cycles.hpp | daboehme/Comb | e06e54d351f7b31177db89f37b4326c8e96656bd | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018-2020, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-758885
//
// All rights reserved.
//
// This file is part of Comb.
//
// For details, see htt... | 42.143617 | 223 | 0.587278 | [
"mesh",
"object",
"vector"
] |
b83fc16e298bbe9d0d858fbff24079151612b427 | 2,124 | hpp | C++ | include/strex.hpp | m1nuz/launchdb | bd3ed8817dce00af8091ee5df9e9082fc5698f15 | [
"MIT"
] | null | null | null | include/strex.hpp | m1nuz/launchdb | bd3ed8817dce00af8091ee5df9e9082fc5698f15 | [
"MIT"
] | null | null | null | include/strex.hpp | m1nuz/launchdb | bd3ed8817dce00af8091ee5df9e9082fc5698f15 | [
"MIT"
] | null | null | null | #pragma once
#include <sstream>
#include <vector>
#include <locale>
#include <algorithm>
namespace strex {
template <typename T>
inline T from_string(const std::string& str)
{
std::stringstream buff(str);
T value;
buff >> value;
return value;
}
constexpr unsigned i... | 24.988235 | 99 | 0.533898 | [
"vector",
"transform"
] |
cdc44ae01646d996136abca3c3887dbf8520aa2e | 4,983 | cpp | C++ | tests/fluid_cylinder_mpi_insimex/fluid_cylinder_mpi_insimex.cpp | yufeimi/OpenIFEM | 51cdd1633e41a3f5a3175e216c8584da43f3dc76 | [
"Apache-2.0"
] | 20 | 2019-04-08T15:24:52.000Z | 2021-04-04T16:52:32.000Z | tests/fluid_cylinder_mpi_insimex/fluid_cylinder_mpi_insimex.cpp | yufeimi/OpenIFEM | 51cdd1633e41a3f5a3175e216c8584da43f3dc76 | [
"Apache-2.0"
] | 18 | 2018-05-10T14:42:23.000Z | 2022-02-24T18:41:54.000Z | tests/fluid_cylinder_mpi_insimex/fluid_cylinder_mpi_insimex.cpp | yufeimi/OpenIFEM | 51cdd1633e41a3f5a3175e216c8584da43f3dc76 | [
"Apache-2.0"
] | 20 | 2018-04-16T01:40:28.000Z | 2021-07-13T05:55:15.000Z | /**
* This program tests InsIMEX solver with a 2D flow around
* cylinder
* case.
* Hard-coded parabolic velocity input is used, and Re = 20.
* Only one step is run, and the test takes about 33s.
*/
#include "mpi_insimex.h"
extern template class Fluid::MPI::InsIMEX<2>;
extern template class Fluid::MPI::InsIMEX<3>... | 36.372263 | 80 | 0.459161 | [
"3d"
] |
cdc83d94b563a16ee6bf6f0560151cd01cd0a8ed | 716 | cxx | C++ | VFRendering/src/RendererBase.cxx | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 92 | 2016-10-02T16:17:27.000Z | 2022-02-22T11:23:49.000Z | VFRendering/src/RendererBase.cxx | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 590 | 2016-09-24T12:46:36.000Z | 2022-03-24T18:27:18.000Z | VFRendering/src/RendererBase.cxx | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 46 | 2016-09-26T07:20:17.000Z | 2022-02-17T19:55:17.000Z | #include "VFRendering/RendererBase.hxx"
namespace VFRendering {
RendererBase::RendererBase(const View& view) : m_view(view), m_options(m_view.options()) {}
const Options& RendererBase::options() const {
return m_options;
}
void RendererBase::options(const Options& options) {
m_options = Options();
update... | 23.866667 | 91 | 0.72486 | [
"vector"
] |
cdd256e209bad130153d6b43d3f3f5e04ffdb83e | 515 | cpp | C++ | Zerojudge/b235.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | Zerojudge/b235.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | Zerojudge/b235.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int main()
{
vector<int>k;
k.push_back(2);
for(long long int i=3;i<=10000;i+=2)
{
int t=0;
for(long long int j=3;j<=sqrt(i);j+=2)
{
if(i%j==0)
t=1;
}
... | 17.166667 | 47 | 0.407767 | [
"vector"
] |
cdd8854d352129c1887c29782ff828cce834983c | 10,730 | hpp | C++ | componentLibraries/defaultLibrary/Hydraulic/Restrictors/HydraulicOrificeG.hpp | mjfwest/hopsan | 77a0a1e69fd9588335b7e932f348972186cbdf6f | [
"Apache-2.0"
] | null | null | null | componentLibraries/defaultLibrary/Hydraulic/Restrictors/HydraulicOrificeG.hpp | mjfwest/hopsan | 77a0a1e69fd9588335b7e932f348972186cbdf6f | [
"Apache-2.0"
] | null | null | null | componentLibraries/defaultLibrary/Hydraulic/Restrictors/HydraulicOrificeG.hpp | mjfwest/hopsan | 77a0a1e69fd9588335b7e932f348972186cbdf6f | [
"Apache-2.0"
] | null | null | null | /*-----------------------------------------------------------------------------
Copyright 2017 Hopsan Group
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.o... | 29.972067 | 79 | 0.582665 | [
"shape",
"vector"
] |
cddc070e00d257954678aca2784f452652e59794 | 1,563 | cpp | C++ | src/main/_2021/day07.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | src/main/_2021/day07.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | 6 | 2018-12-03T04:43:00.000Z | 2020-12-12T12:42:02.000Z | src/main/_2021/day07.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include "../util/helpers.cpp"
using namespace std;
// https://adventofcode.com/2021/day/7
// calculate how much fuel it takes to move every crab to target_pos
// for part one, the cost to move from a position pos to target_pos is linear
// for part two, every step costs one more (e.g. 1 -> 2... | 25.209677 | 100 | 0.673704 | [
"vector"
] |
cddf09896d6d70d72f62196bf47c82edc1bd5971 | 429 | cpp | C++ | Efficient Janitor.cpp | saber-030/Data-Structures-and-Algorithms-CSF211 | caa33c57b10b1fb2474f0c078c803be697b6cae8 | [
"MIT"
] | 1 | 2021-09-09T05:22:51.000Z | 2021-09-09T05:22:51.000Z | Efficient Janitor.cpp | saber-030/Data-Structures-and-Algorithms-CSF211 | caa33c57b10b1fb2474f0c078c803be697b6cae8 | [
"MIT"
] | null | null | null | Efficient Janitor.cpp | saber-030/Data-Structures-and-Algorithms-CSF211 | caa33c57b10b1fb2474f0c078c803be697b6cae8 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
long long n;
cin>>n;
double x;
vector<double> obj(n);
for(long long i=0; i<n; i++){
cin>>x;
obj[i] = x;
}
sort(obj.begin(), obj.end(), greater<double>());
long long i=0, j=n-1, ans = 0;
while(i<j){
if(obj[i] + obj[j] <= 3){
i++;
j--;
}
... | 12.257143 | 49 | 0.501166 | [
"vector"
] |
cde7797d4c6f91e30faf269db58c2827f96a5cad | 674 | cpp | C++ | src/spellchooser.cpp | mikelukas/errantry | e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c | [
"MIT"
] | 1 | 2018-05-11T16:09:35.000Z | 2018-05-11T16:09:35.000Z | src/spellchooser.cpp | mikelukas/errantry | e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c | [
"MIT"
] | null | null | null | src/spellchooser.cpp | mikelukas/errantry | e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c | [
"MIT"
] | null | null | null | #include "spellchooser.h"
SpellChooser::SpellChooser(vector<const SpellTemplate*>* spellChoices, const Player& player)
: InventoryChooser(spellChoices),
player(player)
{
}
void SpellChooser::displayRelevantStats() const
{
StatsDisplayer::fullDisplayFor(player);
}
void SpellChooser::displayInventoryChoices() co... | 21.741935 | 92 | 0.746291 | [
"vector"
] |
cde792cbd1e69a0a6ffcb24ffdd5a32e68282f77 | 8,415 | hpp | C++ | DemoFramework/FslBase/include/FslBase/Collections/CircularFixedSizeBuffer.hpp | alexvonduar/gtec-demo-framework | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | DemoFramework/FslBase/include/FslBase/Collections/CircularFixedSizeBuffer.hpp | alexvonduar/gtec-demo-framework | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | DemoFramework/FslBase/include/FslBase/Collections/CircularFixedSizeBuffer.hpp | alexvonduar/gtec-demo-framework | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | #ifndef FSLBASE_COLLECTIONS_CIRCULARFIXEDSIZEBUFFER_HPP
#define FSLBASE_COLLECTIONS_CIRCULARFIXEDSIZEBUFFER_HPP
/****************************************************************************************************************************************************
* Copyright 2019 NXP
* All rights reserved.
*
* Redist... | 33.129921 | 150 | 0.617706 | [
"vector"
] |
cde9a59ffaedc42762da74a0aff9a4a67bf5c114 | 15,082 | cpp | C++ | gen/blink/bindings/modules/v8/V8CHROMIUMSubscribeUniform.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 8 | 2019-05-05T16:38:05.000Z | 2021-11-09T11:45:38.000Z | gen/blink/bindings/modules/v8/V8CHROMIUMSubscribeUniform.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | null | null | null | gen/blink/bindings/modules/v8/V8CHROMIUMSubscribeUniform.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 4 | 2018-12-14T07:52:46.000Z | 2021-06-11T18:06:09.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8CHROMIUMSubscribeUniform.h"
#include "bindi... | 48.651613 | 642 | 0.767405 | [
"object"
] |
cdee485a8d18596e0184d5114905d6e5d34cefff | 1,583 | hpp | C++ | Particle.hpp | tylerc/Ignatus | 7ceb806554f5af4afa5b22af65bc8249071cfc50 | [
"Unlicense"
] | 1 | 2019-08-13T07:09:47.000Z | 2019-08-13T07:09:47.000Z | Particle.hpp | tylerc/Ignatus | 7ceb806554f5af4afa5b22af65bc8249071cfc50 | [
"Unlicense"
] | null | null | null | Particle.hpp | tylerc/Ignatus | 7ceb806554f5af4afa5b22af65bc8249071cfc50 | [
"Unlicense"
] | null | null | null | #ifndef PARTICLE_HPP
#define PARTICLE_HPP
namespace Ignatus{
class Particle: public virtual AniObject{
public:
bool Loop;
int Slife;
bool Decay;
bool Fade;
sf::Color Stint;
sf::Color Etint;
sf::Color Mtint;
float Friction;
float Turn;
float Wiggle;
float Ac... | 28.781818 | 185 | 0.625395 | [
"vector"
] |
cdf0078f3729543ae212ab284c8e0e542c314821 | 7,545 | cpp | C++ | rootex/vendor/Effekseer/effekseer/src/EffekseerRendererDX11/EffekseerRenderer/EffekseerRendererDX11.ModelRenderer.cpp | ChronicallySerious/Rootex | bf2a0997b6aa5be84dbfc0e7826c31ff693ca0f1 | [
"MIT"
] | 166 | 2019-06-19T19:51:45.000Z | 2022-03-24T13:03:29.000Z | rootex/vendor/Effekseer/effekseer/src/EffekseerRendererDX11/EffekseerRenderer/EffekseerRendererDX11.ModelRenderer.cpp | rahil627/Rootex | 44f827d469bddc7167b34dedf80d7a8b984fdf20 | [
"MIT"
] | 312 | 2019-06-13T19:39:25.000Z | 2022-03-02T18:37:22.000Z | rootex/vendor/Effekseer/effekseer/src/EffekseerRendererDX11/EffekseerRenderer/EffekseerRendererDX11.ModelRenderer.cpp | rahil627/Rootex | 44f827d469bddc7167b34dedf80d7a8b984fdf20 | [
"MIT"
] | 23 | 2019-10-04T11:02:21.000Z | 2021-12-24T16:34:52.000Z |
//----------------------------------------------------------------------------------
// Include
//----------------------------------------------------------------------------------
#include "EffekseerRendererDX11.RenderState.h"
#include "EffekseerRendererDX11.RendererImplemented.h"
#include "EffekseerRendererDX11.In... | 31.569038 | 143 | 0.707886 | [
"model"
] |
cdf05c8d6e269fd9eaf5950643b7d786ad027552 | 12,657 | cxx | C++ | ds/adsi/nds/odssz.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/adsi/nds/odssz.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/adsi/nds/odssz.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995.
//
// File: ods2nds.cxx
//
// Contents: NDS Object to Variant Copy Routines
//
// Functions:
//
// History: 25-Apr-96 KrishnaG Cre... | 19.714953 | 100 | 0.534329 | [
"object"
] |
cdf284dfea815c9997411a8ce62e2b1909716921 | 766 | cpp | C++ | codeforces/1453B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1453B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1453B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // B. Suffix Operations
#include <iostream>
#include <algorithm>
#include <vector>
#include <numeric>
using namespace std;
using ll = long long;
int main(){
int t;
cin >> t;
while(t--){
ll n;
cin >> n;
vector<ll> a(n);
for (auto &el: a) cin >> el;
// Editorial... | 17.409091 | 89 | 0.439948 | [
"vector"
] |
cdf2ae73087a983d8e707238adc75f4c63d96386 | 1,324 | cpp | C++ | DSA/Trees/validate-bst.cpp | abhisheknaiidu/dsa | fe3f54df6802d2520142992b541602ce5ee24f26 | [
"MIT"
] | 54 | 2020-07-31T14:50:23.000Z | 2022-03-14T11:03:02.000Z | DSA/Trees/validate-bst.cpp | abhisheknaiidu/NOOB | fe3f54df6802d2520142992b541602ce5ee24f26 | [
"MIT"
] | null | null | null | DSA/Trees/validate-bst.cpp | abhisheknaiidu/NOOB | fe3f54df6802d2520142992b541602ce5ee24f26 | [
"MIT"
] | 30 | 2020-08-15T17:39:02.000Z | 2022-03-10T06:50:18.000Z | #pragma GCC optimize("Ofast")
#include <algorithm>
#include <bitset>
#include <deque>
#include <iostream>
#include <iterator>
#include <string>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#include <unordered_map>
#include <unordered_set>
using namespace std;
void abhisheknaiidu()... | 17.891892 | 62 | 0.622356 | [
"vector"
] |
cdf69a3f8de29ea7b56d407d449bc78312805950 | 6,656 | cpp | C++ | src/Plugins/OpenGL/Shader/GLGPUProgram.cpp | MemoryDealer/LORE | 2ce0c6cf03c119e5d1b0b90f3ee044901353283a | [
"MIT"
] | 2 | 2021-07-14T06:05:48.000Z | 2021-07-14T18:07:18.000Z | src/Plugins/OpenGL/Shader/GLGPUProgram.cpp | MemoryDealer/LORE | 2ce0c6cf03c119e5d1b0b90f3ee044901353283a | [
"MIT"
] | null | null | null | src/Plugins/OpenGL/Shader/GLGPUProgram.cpp | MemoryDealer/LORE | 2ce0c6cf03c119e5d1b0b90f3ee044901353283a | [
"MIT"
] | null | null | null | // ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //
// The MIT License (MIT)
// This source file is part of LORE
// ( Lightweight Object-oriented Rendering Engine )
//
// Copyright (c) 2017-2021 Jordan Sparks
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
... | 29.847534 | 105 | 0.491587 | [
"object"
] |
cdfa4cfa4d5cefc95bc30306722eaf7fc1018eae | 1,448 | cpp | C++ | Codeforces/Airport.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | Codeforces/Airport.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | Codeforces/Airport.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include <deque>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <bitset>
#include <algorithm>
#include <utility>
#include <functional>
#include <valarray>
#include <math.h>
#include <time.h>
#include <stdl... | 20.985507 | 54 | 0.515884 | [
"vector"
] |
cdfaf9d9cae2e1e698c28a1728b443f3a9d2c844 | 1,439 | hpp | C++ | firmware/shared.hpp | ross2718/breath-controller | 8870dc040734bd63dc26341e27b129c5e1246507 | [
"CC0-1.0"
] | 3 | 2020-11-29T15:42:03.000Z | 2022-03-18T22:43:23.000Z | firmware/shared.hpp | ross2718/breath-controller | 8870dc040734bd63dc26341e27b129c5e1246507 | [
"CC0-1.0"
] | null | null | null | firmware/shared.hpp | ross2718/breath-controller | 8870dc040734bd63dc26341e27b129c5e1246507 | [
"CC0-1.0"
] | null | null | null | /*
* Stuff for working with shared and volatile objects
*
* Shared object is an object that is shared across different threads of
* execution. Such an object (if is not a constant) should be accessed in an
* exclusive way. Note that 'volatile' keyword of C/C++ have nothing to do with
* exclusive access.
*
* Vo... | 28.215686 | 80 | 0.648367 | [
"object"
] |
cdfb81716396f1828f5a25a6697628ce6e282fd9 | 1,571 | cc | C++ | gen_circulant.cc | josefcibulka/book-embedder | 746093a97b388ea38226631eb36ded8fe48155e9 | [
"MIT"
] | null | null | null | gen_circulant.cc | josefcibulka/book-embedder | 746093a97b388ea38226631eb36ded8fe48155e9 | [
"MIT"
] | null | null | null | gen_circulant.cc | josefcibulka/book-embedder | 746093a97b388ea38226631eb36ded8fe48155e9 | [
"MIT"
] | null | null | null | /**
* This program generates circulant graphs for use by book-embedder.
*
* Program for minimizing the number of crossings in a book embedding of a given
* graph to a given number of pages.
*
* Author: Josef Cibulka
* License: see the file LICENSE
*/
#include <cstdio>
#include <cstdlib>
#include <sstream>
#inc... | 21.819444 | 96 | 0.60662 | [
"vector"
] |
cdfdd6253f12229225f10be0eabb4b621dca7c04 | 10,638 | cpp | C++ | CPD_xonly_attr/main_model copy.cpp | nkrishnan94/cell_model | 9ec39dc2a68a0b8d19cd395c71238eee88d8f469 | [
"MIT"
] | null | null | null | CPD_xonly_attr/main_model copy.cpp | nkrishnan94/cell_model | 9ec39dc2a68a0b8d19cd395c71238eee88d8f469 | [
"MIT"
] | null | null | null | CPD_xonly_attr/main_model copy.cpp | nkrishnan94/cell_model | 9ec39dc2a68a0b8d19cd395c71238eee88d8f469 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <fstream>
#include <math.h>
#include <sstream>
#include <string>
#include <unistd.h>
#include <array>
#include <vector>
#include <random>
#include <ctime>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
const double xdim = 100 *pow(10,-6); //x length of simulatio... | 28.368 | 286 | 0.445666 | [
"vector"
] |
a80059acd3954592565e9845503e97f0210b92bd | 360 | cpp | C++ | 1329.cpp | zhulk3/leetCode | 0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc | [
"Apache-2.0"
] | 2 | 2020-03-13T08:14:01.000Z | 2021-09-03T15:27:49.000Z | 1329.cpp | zhulk3/LeetCode | 0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc | [
"Apache-2.0"
] | null | null | null | 1329.cpp | zhulk3/LeetCode | 0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc | [
"Apache-2.0"
] | null | null | null | #include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
vector<vector<int>> diagonalSort(vector<vector<int>>& mat) {
int row = mat.size();
int col = mat[0].size();
vector<vector<int> >ans(row);
for (int i = 0; i < row; i++) {
ans.resize(col);
}
for (int i = col - 1; i >= 0;... | 18.947368 | 61 | 0.580556 | [
"vector"
] |
a804610487ab1f6e464ae48c16a2457de178eb20 | 46,544 | hpp | C++ | src/netxs/text/utf.hpp | aeiouaeiouaeiouaeiouaeiouaeiou/vtm | f6e257d0f2c98a9be6ce9451abc4927f98525b7e | [
"MIT"
] | null | null | null | src/netxs/text/utf.hpp | aeiouaeiouaeiouaeiouaeiouaeiou/vtm | f6e257d0f2c98a9be6ce9451abc4927f98525b7e | [
"MIT"
] | null | null | null | src/netxs/text/utf.hpp | aeiouaeiouaeiouaeiouaeiouaeiou/vtm | f6e257d0f2c98a9be6ce9451abc4927f98525b7e | [
"MIT"
] | null | null | null | // Copyright (c) NetXS Group.
// Licensed under the MIT license.
#ifndef NETXS_UTF_HPP
#define NETXS_UTF_HPP
#include "unidata.hpp"
#include "../math/intmath.hpp"
#include <string>
#include <string_view>
#include <vector>
#include <map>
#include <algorithm>
#include <charconv>
#include <optional>
#include <sstream>
... | 32.277393 | 155 | 0.403446 | [
"vector"
] |
a811408b1bc9d1a513f91bb27d46458e71108539 | 1,287 | cpp | C++ | src/card_abstraction.cpp | bluedevils23/slumbot2019 | a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd | [
"MIT"
] | 80 | 2019-03-28T02:57:51.000Z | 2022-03-17T05:41:48.000Z | src/card_abstraction.cpp | bluedevils23/slumbot2019 | a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd | [
"MIT"
] | 19 | 2019-06-11T08:01:06.000Z | 2022-01-28T23:13:49.000Z | src/card_abstraction.cpp | bluedevils23/slumbot2019 | a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd | [
"MIT"
] | 28 | 2019-07-18T01:36:35.000Z | 2021-12-26T14:37:10.000Z | // Requires the Game object to have been initialized first.
#include <stdio.h>
#include <stdlib.h>
#include <memory>
#include <string>
#include <vector>
#include "card_abstraction.h"
#include "constants.h"
#include "files.h"
#include "game.h"
#include "io.h"
#include "params.h"
#include "split.h"
using std::string;... | 26.265306 | 73 | 0.658897 | [
"object",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.