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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6f1e40f2ee403b75bcb4c1f2c8758f14a7eed30 | 524 | cpp | C++ | DMOJ/Olympiads School/Rogers_Homework.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | null | null | null | DMOJ/Olympiads School/Rogers_Homework.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-10-14T18:26:56.000Z | 2021-10-14T18:26:56.000Z | DMOJ/Olympiads School/Rogers_Homework.cpp | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-08-06T03:39:55.000Z | 2021-08-06T03:39:55.000Z | #include<bits/stdc++.h>
using namespace std;
int n, di, pi, ans;
vector<int> adj[1000002];
priority_queue<int> pq;
int main() {
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
cin >> n;
for (int i = 0; i < n; i++) {
cin >> di >> pi;
adj[di].push_back(pi);
}
for (int i = n... | 15.878788 | 33 | 0.419847 | [
"vector"
] |
e6fa0fc974e52d266d0acd9e7a5366d6ce07350a | 1,084 | hpp | C++ | src/abacus/view_iterator.hpp | steinwurf/abacus | 80eb3611a6a97472a4a686ce9ffb380767c8c200 | [
"BSD-3-Clause"
] | 1 | 2022-02-04T17:32:30.000Z | 2022-02-04T17:32:30.000Z | src/abacus/view_iterator.hpp | steinwurf/abacus | 80eb3611a6a97472a4a686ce9ffb380767c8c200 | [
"BSD-3-Clause"
] | 8 | 2021-11-08T12:37:15.000Z | 2022-01-25T12:14:01.000Z | src/abacus/view_iterator.hpp | steinwurf/abacus | 80eb3611a6a97472a4a686ce9ffb380767c8c200 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) Steinwurf ApS 2020.
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#pragma once
#include <cassert>
#include <vector>
#include "version.hpp"
#include "view.hpp"
namespace abacus
{
inline namespace STEINWURF_ABACUS_VERSION
{
/// This class tak... | 24.636364 | 78 | 0.697417 | [
"object",
"vector"
] |
e6fddf7fa4df692aa2f5a9f1af7ddebe70fec646 | 15,325 | cpp | C++ | doc/tutorial/12_voronoi.cpp | lolengine/lolengine | d1a0443e69de96611d739d4c374633c5371e6e81 | [
"WTFPL"
] | 4 | 2015-02-14T21:14:25.000Z | 2021-12-12T15:45:44.000Z | doc/tutorial/12_voronoi.cpp | lolengine/lolengine | d1a0443e69de96611d739d4c374633c5371e6e81 | [
"WTFPL"
] | 3 | 2015-02-14T20:56:26.000Z | 2015-02-16T08:50:54.000Z | doc/tutorial/12_voronoi.cpp | lolengine/lolengine | d1a0443e69de96611d739d4c374633c5371e6e81 | [
"WTFPL"
] | 1 | 2021-10-06T16:01:03.000Z | 2021-10-06T16:01:03.000Z | //
// Lol Engine — Voronoi diagram tutorial
//
// Copyright © 2015—2020 Sam Hocevar <sam@hocevar.net>
// © 2011—2015 Benjamin “Touky” Huet <huet.benjamin@gmail.com>
//
// Lol Engine is free software. It comes without any warranty, to
// the extent permitted by applicable law. You can redistribute it
// ... | 37.196602 | 177 | 0.510799 | [
"object",
"vector"
] |
fc04361acdca588d061815865a6b1f3dc5dbc095 | 8,954 | cpp | C++ | engine/src/wolf.render/vulkan/w_memory_allocator.cpp | SiminBadri/Wolf.Engine | 3da04471ec26e162e1cbb7cc88c7ce37ee32c954 | [
"BSL-1.0",
"Apache-2.0",
"libpng-2.0"
] | 1 | 2020-07-15T13:14:26.000Z | 2020-07-15T13:14:26.000Z | engine/src/wolf.render/vulkan/w_memory_allocator.cpp | foroughmajidi/Wolf.Engine | f08a8cbd519ca2c70b1c8325250dc9af7ac4c498 | [
"BSL-1.0",
"Apache-2.0",
"libpng-2.0"
] | null | null | null | engine/src/wolf.render/vulkan/w_memory_allocator.cpp | foroughmajidi/Wolf.Engine | f08a8cbd519ca2c70b1c8325250dc9af7ac4c498 | [
"BSL-1.0",
"Apache-2.0",
"libpng-2.0"
] | null | null | null | #include "w_render_pch.h"
#include "w_graphics_device_manager.h"
#include "w_memory_allocator.h"
#ifndef __WIN32
#include <w_aligned_malloc.h>
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifndef VMA_IMPLEMENTATION
#define VMA_IMPLEMENTATION
#endif
#include "vk_mem_alloc.h"
#include <assert.h>
static void* const... | 29.071429 | 147 | 0.739334 | [
"render"
] |
fc0aaee38164a8a75b148ae230d273bdbeb4dcad | 12,972 | cpp | C++ | Point_set_processing_3/examples/Point_set_processing_3/normal_estimation.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Point_set_processing_3/examples/Point_set_processing_3/normal_estimation.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Point_set_processing_3/examples/Point_set_processing_3/normal_estimation.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | // normal_estimation.cpp
//----------------------------------------------------------
// Normal estimation:
// Reads a point set, compute and orient its normals,
// and save the point set.
// Input file formats are .off, .xyz and .pwn.
// Output file formats are .xyz and .pwn.
//---------------------------------------... | 41.312102 | 113 | 0.573003 | [
"mesh",
"vector"
] |
fc1012ab362921029509d541c27553b1180285d7 | 32,076 | cpp | C++ | src/franka_hw_mujoco.cpp | DavidPL1/franka_ros_mujoco | 797ad512403a25af752272f0745f88dd711a0d41 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/franka_hw_mujoco.cpp | DavidPL1/franka_ros_mujoco | 797ad512403a25af752272f0745f88dd711a0d41 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/franka_hw_mujoco.cpp | DavidPL1/franka_ros_mujoco | 797ad512403a25af752272f0745f88dd711a0d41 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Copyright 2017 Franka Emika GmbH
*
* 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/... | 43.640816 | 118 | 0.675832 | [
"vector",
"model"
] |
fc10882d146ccd506dde50a2822f476442eebc17 | 1,271 | cpp | C++ | codeforces/152/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | 5 | 2020-06-30T12:44:25.000Z | 2021-07-14T06:35:57.000Z | codeforces/152/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | codeforces/152/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | // [amitdu6ey]
#include <bits/stdc++.h>
#define hell 1000000007
#define bug(x) cout<<"$ "<<x<<" $"<<endl
#define ll long long
#define pb push_back
#define mp make_pair
#define tr(z) for(auto it=z.begin(); it!=z.end(); it++)
#define loop(i,a,b) for(long long i=a; i<b; i++)
#define vbool vector< bool >
#define vvbool v... | 21.913793 | 55 | 0.546814 | [
"vector"
] |
fc129e5cf22d1a92397434dbefde9367167f1c69 | 5,453 | cpp | C++ | hapfuse.cpp | winni2k/snptools | a343ae5aa8e8e43b77f1132675bb2b2c55d62511 | [
"Unlicense"
] | null | null | null | hapfuse.cpp | winni2k/snptools | a343ae5aa8e8e43b77f1132675bb2b2c55d62511 | [
"Unlicense"
] | null | null | null | hapfuse.cpp | winni2k/snptools | a343ae5aa8e8e43b77f1132675bb2b2c55d62511 | [
"Unlicense"
] | null | null | null | /**
@file hapfuse.cpp
@brief joint chunked haplotypes into chromosome wide haplotypes
@author Yi Wang
@date 04/01/2011
*/
#include <iostream>
#include <algorithm>
#include <dirent.h>
#include <stdint.h>
#include <cstring>
#include <fstream>
#include <sstream>
#include <cstdio>
#include <string>
#include <vector>
#inclu... | 25.013761 | 127 | 0.60077 | [
"vector"
] |
fc15c9828ea46ba2346e7d5d76f40f2d7ef9588e | 8,576 | cpp | C++ | c++test/lambda2.cpp | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | c++test/lambda2.cpp | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | 2 | 2019-06-24T00:56:52.000Z | 2019-06-24T01:28:29.000Z | c++test/lambda2.cpp | seekindark/helloworld | 00fe439fdbd98add53f3bec7eac2b1ba1dc817a7 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
//当出现任一默认捕获符时,都能隐式捕获当前对象(*this)。
//当它被隐式捕获时,始终被以引用捕获,即使默认捕获符是 = 也是如此。
//当默认捕获符为 = 时,*this 的隐式捕获被弃用。 (C++20 起)
//=================================================
//1. 当默认捕获符是 & 时,后继的简单捕获符必须不以 & 开始。
struct S1 { void f(int i); };
void S1::f(int i)
{
[]{}; // OK, don't catpu... | 28.682274 | 104 | 0.44298 | [
"vector"
] |
fc1ba8319b41d936ec5a3a08150af25e9c39a9ae | 687 | hpp | C++ | idGenerator.hpp | piotrplaza/MouseSpaceShooter | 9aed0c16889b6ce70e725c165bf28307201e81d1 | [
"MIT"
] | null | null | null | idGenerator.hpp | piotrplaza/MouseSpaceShooter | 9aed0c16889b6ce70e725c165bf28307201e81d1 | [
"MIT"
] | null | null | null | idGenerator.hpp | piotrplaza/MouseSpaceShooter | 9aed0c16889b6ce70e725c165bf28307201e81d1 | [
"MIT"
] | 1 | 2020-06-16T10:32:06.000Z | 2020-06-16T10:32:06.000Z | #pragma once
#include <vector>
#include <limits>
#include <cassert>
template <typename Id, Id firstId = 0>
class IdGenerator
{
public:
IdGenerator()
{
}
Id acquire()
{
if (counter < std::numeric_limits<Id>::max())
{
return counter++;
}
else
{
assert(!releasedIds.empty());
const auto id = rele... | 13.211538 | 47 | 0.62591 | [
"vector"
] |
fc1f23e723b4990e637e16c4c8ee75dae648939a | 1,694 | cpp | C++ | Source/Engine/Rendering/RenderPrimitives.cpp | SirRamEsq/LEngine | 24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c | [
"Apache-2.0"
] | 1 | 2020-05-24T14:04:12.000Z | 2020-05-24T14:04:12.000Z | Source/Engine/Rendering/RenderPrimitives.cpp | SirRamEsq/LEngine | 24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c | [
"Apache-2.0"
] | 21 | 2017-09-20T13:39:12.000Z | 2018-01-27T22:21:13.000Z | Source/Engine/Rendering/RenderPrimitives.cpp | SirRamEsq/LEngine | 24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c | [
"Apache-2.0"
] | null | null | null | #include "RenderPrimitives.h"
#include "../Kernel.h"
#include "../Resources/RSC_Texture.h"
//////////////
// RenderLine//
//////////////
RenderLine::RenderLine(RenderManager *rm, int x1, int y1, int x2, int y2,
bool absolute)
: RenderableObjectScreen(rm) {
mX1 = x1;
mY1 = y1;
mX2 = x2;... | 21.175 | 73 | 0.583235 | [
"render"
] |
fc263de8594a4efd94be4119ebbba58046ba88f3 | 1,114 | cpp | C++ | Engine/src/Engine/Rendering/Texture.cpp | wesExpress/GameEngine2D | 9851968c14069f9bba5b2b14dc8d5dafe0850534 | [
"Apache-2.0"
] | 2 | 2021-05-04T13:54:47.000Z | 2021-05-24T23:58:09.000Z | Engine/src/Engine/Rendering/Texture.cpp | wesExpress/GameEngine2D | 9851968c14069f9bba5b2b14dc8d5dafe0850534 | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Rendering/Texture.cpp | wesExpress/GameEngine2D | 9851968c14069f9bba5b2b14dc8d5dafe0850534 | [
"Apache-2.0"
] | null | null | null | #include "Texture.h"
#include "Renderer.h"
#include "Platform/OpenGL/TextureOpenGL.h"
#include "Logging.h"
#include "EngineDefines.h"
namespace Engine
{
Ref<Texture2D> Texture2D::Create(uint32_t width, uint32_t height)
{
switch (Renderer::Get())
{
case RendererAPI::API::None:
... | 27.85 | 69 | 0.564632 | [
"render"
] |
fc297830ce4f84da632b88d1e03de9cdbc828563 | 318 | hpp | C++ | include/private/BlackBox/Renderer/VertexArrayObject.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | 1 | 2019-12-10T00:37:05.000Z | 2019-12-10T00:37:05.000Z | include/private/BlackBox/Renderer/VertexArrayObject.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | 3 | 2020-02-17T21:12:09.000Z | 2022-01-19T10:28:02.000Z | include/private/BlackBox/Renderer/VertexArrayObject.hpp | kovdennik/TestEngine | 43e8d51f64c1a576ff812126d44ee43d8e25bdef | [
"MIT"
] | 3 | 2019-03-14T16:28:47.000Z | 2020-05-17T20:42:55.000Z | /*
#ifndef VERTEXARRAYOBJECT_H
#define VERTEXARRAYOBJECT_H
#include <vector>
//#include <IGeometry.hpp>
class VertexArrayObject
{
private:
GLuint VAO;
GLuint VBO;
GLuint IBO;
public:
VertexArrayObject();
VertexArrayObject(std::vector<Vertex> &vb, std::vector<int> &ib);
};
#endif // VERTEXARRAYOBJECT_H
*/ | 15.9 | 67 | 0.732704 | [
"vector"
] |
fc3616454f0ee1fc24259c24956f9a375ab793ae | 3,018 | cpp | C++ | src/cmds/render_arrays/main.cpp | rl337/bust | c27b3ac242dea33bfcf69b51f2e8161832dc91f0 | [
"Apache-2.0"
] | null | null | null | src/cmds/render_arrays/main.cpp | rl337/bust | c27b3ac242dea33bfcf69b51f2e8161832dc91f0 | [
"Apache-2.0"
] | null | null | null | src/cmds/render_arrays/main.cpp | rl337/bust | c27b3ac242dea33bfcf69b51f2e8161832dc91f0 | [
"Apache-2.0"
] | null | null | null | #include "widgets.h"
#include "arrays.h"
#include <fstream>
#include <vector>
class ICAPNG : public bust::png::PNG {
private:
const std::vector<bust::util::Color> colors = {
bust::util::vga16::Black, bust::util::vga16::Gray, bust::util::vga16::White,
bust::util::vga16::Olive, bust::... | 36.361446 | 185 | 0.611663 | [
"vector"
] |
fc3cf2acae3a890c1f80209f74241747eba58ac4 | 6,958 | inl | C++ | test/multi_type_vector/custom/tc/misc.inl | kohei-us/mdds | f2147285c1afe68c951223b9309706ad9ee45dec | [
"MIT"
] | 2 | 2019-12-09T05:23:46.000Z | 2021-04-13T20:00:30.000Z | test/multi_type_vector/custom/tc/misc.inl | kohei-us/mdds | f2147285c1afe68c951223b9309706ad9ee45dec | [
"MIT"
] | null | null | null | test/multi_type_vector/custom/tc/misc.inl | kohei-us/mdds | f2147285c1afe68c951223b9309706ad9ee45dec | [
"MIT"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* Copyright (c) 2021 Kohei Yoshida
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated document... | 34.445545 | 87 | 0.648175 | [
"vector"
] |
fc4400cf5f58c9b67b6822c11b9dec6356ceda1a | 14,092 | hpp | C++ | include/scalesim/logical_process/store/berkeleydb_store.hpp | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | 3 | 2019-06-26T15:11:26.000Z | 2022-03-29T14:38:47.000Z | include/scalesim/logical_process/store/berkeleydb_store.hpp | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | null | null | null | include/scalesim/logical_process/store/berkeleydb_store.hpp | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | 3 | 2019-05-02T12:21:25.000Z | 2022-02-16T07:45:07.000Z | /*
* berkeleydb_store.hpp
*
* Copyright (c) 2015 Masatoshi Hanai
*
* This software is released under MIT License.
* See LICENSE.
*
*/
#ifndef SCALESIM_LOGICAL_PROCESS_STORE_BERKELEYDB_STORE_HPP_
#define SCALESIM_LOGICAL_PROCESS_STORE_BERKELEYDB_STORE_HPP_
#include <boost/filesystem.hpp>
#include <boost/thre... | 31.039648 | 89 | 0.608217 | [
"object",
"vector"
] |
fc480be8fe84ae808ae04a153005044ceca40008 | 5,235 | cpp | C++ | Source/Manager/Space/SpaceManager.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | 2 | 2020-01-09T07:48:24.000Z | 2020-01-09T07:48:26.000Z | Source/Manager/Space/SpaceManager.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | Source/Manager/Space/SpaceManager.cpp | arian153/Engine-5 | 34f85433bc0a74a7ebe7da350d3f3698de77226e | [
"MIT"
] | null | null | null | #include "SpaceManager.hpp"
#include "Space.hpp"
#include "../../System/Physics/PhysicsSystem.hpp"
#include "../Resource/ResourceType/JsonResource.hpp"
#include "../../System/Core/Utility/CoreUtility.hpp"
#include "../Object/ObjectFactory.hpp"
namespace Engine5
{
SpaceManager::SpaceManager(PhysicsSystem* physi... | 36.608392 | 171 | 0.616046 | [
"object"
] |
fc68ec1c38fa23aed311cfa8bb9e139d0628e522 | 5,481 | cc | C++ | src/runtime/hhb/hhb_runtime.cc | T-head-Semi/tvm | c1b8e06685c92fb7cacbe989e147b0622aee4503 | [
"Apache-2.0"
] | 4 | 2021-10-19T06:22:55.000Z | 2022-03-17T22:55:12.000Z | src/runtime/hhb/hhb_runtime.cc | T-head-Semi/tvm | c1b8e06685c92fb7cacbe989e147b0622aee4503 | [
"Apache-2.0"
] | null | null | null | src/runtime/hhb/hhb_runtime.cc | T-head-Semi/tvm | c1b8e06685c92fb7cacbe989e147b0622aee4503 | [
"Apache-2.0"
] | 2 | 2021-10-19T03:28:37.000Z | 2022-03-17T22:55:14.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 28.847368 | 100 | 0.679256 | [
"object",
"vector"
] |
fc69f442fc6228307bde664bcf20962dd05c526c | 9,469 | cc | C++ | samples/amber.cc | alan-baker/amber | 13dd6edfc6a0779093fa6182d1f57800d1e21504 | [
"Apache-2.0"
] | null | null | null | samples/amber.cc | alan-baker/amber | 13dd6edfc6a0779093fa6182d1f57800d1e21504 | [
"Apache-2.0"
] | null | null | null | samples/amber.cc | alan-baker/amber | 13dd6edfc6a0779093fa6182d1f57800d1e21504 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 The Amber Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 29.870662 | 80 | 0.607878 | [
"vector"
] |
fc6ae1a4a9fe56ec297a5fb6e31df4bb22680583 | 2,870 | cpp | C++ | src/ui/common/color_generator.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 6 | 2020-03-29T09:37:01.000Z | 2022-01-20T08:56:31.000Z | src/ui/common/color_generator.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 1 | 2021-03-05T08:00:50.000Z | 2021-03-05T08:00:50.000Z | src/ui/common/color_generator.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 11 | 2019-05-13T00:04:38.000Z | 2022-01-20T08:56:38.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 29.895833 | 155 | 0.605226 | [
"vector"
] |
fc6e5070e05d625c91af375c679e588bdd80a00e | 10,988 | cpp | C++ | lib/Analyses/Decider.cpp | jamro1149/Hydra | 52dfc168b6af543af54ac53199d134ac57faf584 | [
"MIT"
] | 8 | 2018-04-30T19:36:29.000Z | 2021-04-18T06:45:26.000Z | lib/Analyses/Decider.cpp | chichunchen/Hydra | 52dfc168b6af543af54ac53199d134ac57faf584 | [
"MIT"
] | null | null | null | lib/Analyses/Decider.cpp | chichunchen/Hydra | 52dfc168b6af543af54ac53199d134ac57faf584 | [
"MIT"
] | 2 | 2018-04-30T19:36:16.000Z | 2020-09-10T10:08:04.000Z | // std includes
#include <cmath>
// boost includes
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/property_map/property_map.hpp>
// llvm includes
#include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
// hydr... | 34.124224 | 80 | 0.597652 | [
"vector"
] |
fc6e9a4ca3ac5993c881dfb823e824b0624c86d3 | 1,845 | cpp | C++ | src/cpp/lpnamer/LinkProfileReader.cpp | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 5 | 2021-08-25T09:29:14.000Z | 2022-03-09T08:59:07.000Z | src/cpp/lpnamer/LinkProfileReader.cpp | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 251 | 2020-10-30T09:49:29.000Z | 2022-03-31T12:28:48.000Z | src/cpp/lpnamer/LinkProfileReader.cpp | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 5 | 2020-12-16T15:11:33.000Z | 2021-06-18T05:03:59.000Z | #include "LinkProfileReader.h"
LinkProfile LinkProfileReader::ReadLinkProfile(const std::string& filename){
std::ifstream infile(filename);
if (!infile.good()) {
throw std::runtime_error( "unable to open : " + filename);
}
LinkProfile result;
result._directLinkProfile.reserve(8760);
do... | 36.176471 | 162 | 0.669919 | [
"vector"
] |
fc7a63d4f82f3cefc7615d9a5d9120f6608401f5 | 1,347 | hpp | C++ | remodet_repository_LEE/include/caffe/minihand/minihand_transformer.hpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_LEE/include/caffe/minihand/minihand_transformer.hpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_LEE/include/caffe/minihand/minihand_transformer.hpp | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | #ifndef CAFFE_MINIHAND_DATA_TRANSFORMER_HPP_
#define CAFFE_MINIHAND_DATA_TRANSFORMER_HPP_
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
using namespace cv;
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/tracker/bounding_box.hp... | 25.903846 | 97 | 0.738679 | [
"vector",
"transform"
] |
fc7ca7c128d51cad0297c31c1df8cd0d2bc22265 | 3,324 | hpp | C++ | Ruken/Source/Include/Vulkan/Core/VulkanTimelineSemaphore.hpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 6 | 2020-09-12T19:16:49.000Z | 2022-03-17T14:10:16.000Z | Ruken/Source/Include/Vulkan/Core/VulkanTimelineSemaphore.hpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 1 | 2021-11-15T10:13:17.000Z | 2021-11-15T10:13:17.000Z | Ruken/Source/Include/Vulkan/Core/VulkanTimelineSemaphore.hpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 3 | 2020-09-03T16:41:35.000Z | 2022-01-24T09:35:55.000Z | /*
* MIT License
*
* Copyright (c) 2019-2020 Basile Combet, Philippe Yi
*
* 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 ri... | 38.206897 | 106 | 0.70006 | [
"object"
] |
fc82d4a3c89a49dbe5c9404440c1d8d45ab9c4bf | 5,650 | cpp | C++ | src/recursive_graph_bisection.cpp | JMMackenzie/pisa-multi-query | fdedbd943c6db133b9665c5a5f4178160352b361 | [
"Apache-2.0"
] | 2 | 2020-05-23T23:36:38.000Z | 2021-07-14T07:56:02.000Z | src/recursive_graph_bisection.cpp | JMMackenzie/pisa-multi-query | fdedbd943c6db133b9665c5a5f4178160352b361 | [
"Apache-2.0"
] | null | null | null | src/recursive_graph_bisection.cpp | JMMackenzie/pisa-multi-query | fdedbd943c6db133b9665c5a5f4178160352b361 | [
"Apache-2.0"
] | null | null | null | #include <numeric>
#include <thread>
#include <optional>
#include <CLI/CLI.hpp>
#include <pstl/execution>
#include <spdlog/spdlog.h>
#include <tbb/task_scheduler_init.h>
#include "recursive_graph_bisection.hpp"
#include "util/progress.hpp"
#include "util/inverted_index_utils.hpp"
#include "payload_vector.hpp"
using ... | 40.070922 | 128 | 0.654336 | [
"vector"
] |
fc8998987a8e056752b780984c9100e0134e37be | 2,368 | cpp | C++ | tests/testConfigurationHelpers.cpp | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 44 | 2019-12-13T08:48:02.000Z | 2022-03-24T03:11:25.000Z | tests/testConfigurationHelpers.cpp | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 160 | 2020-01-17T20:46:23.000Z | 2022-03-31T01:32:42.000Z | tests/testConfigurationHelpers.cpp | fkanehiro/mc_rtc | 776017e46c1a4626c1d8f1fb7d51675a9b9b9cad | [
"BSD-2-Clause"
] | 20 | 2019-12-20T04:34:00.000Z | 2022-03-24T01:31:27.000Z | /*
* Copyright 2015-2020 CNRS-UM LIRMM, CNRS-AIST JRL
*/
#include <mc_rtc/ConfigurationHelpers.h>
#include <boost/test/unit_test.hpp>
template<typename ElemT,
typename WrongElemT,
typename VecT = std::vector<ElemT>,
typename WrongVecT = std::vector<WrongElemT>>
void test_fromVectorOrEleme... | 39.466667 | 114 | 0.687078 | [
"vector"
] |
4764000533f457f3ecc69950cbcacfdf83506420 | 18,330 | cpp | C++ | server/core/src/irodsReServer.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | server/core/src/irodsReServer.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | server/core/src/irodsReServer.cpp | mcv21/irods | 3c793a5acbbbe25b5f20aaeeca2609417855eee6 | [
"BSD-3-Clause"
] | null | null | null | #include "connection_pool.hpp"
#include "initServer.hpp"
#include "irods_at_scope_exit.hpp"
#include "irods_delay_queue.hpp"
#include "irods_logger.hpp"
#include "irods_query.hpp"
#include "irods_re_structs.hpp"
#include "irods_server_properties.hpp"
#include "irods_server_state.hpp"
#include "irodsReServer.hpp"
#inclu... | 41.753986 | 120 | 0.590562 | [
"vector"
] |
476f0e30ab55ce8ef4c729efaf01edd32af199ba | 3,184 | cc | C++ | main.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | main.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | main.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#ifdef __APPLE__
#include <OpenCL/opencl.h>
#include <OpenGL/glu.h>
#else
#include <CL/cl.h>
#include <GL/glu.h>
#endif
#include "camera.hpp"
#include "display.hpp"
#include "geometry.hpp"
#include "material.hpp"
#include <vector>
void Update(){
}
void Render(){
}
int main()... | 26.098361 | 99 | 0.615264 | [
"geometry",
"render",
"vector"
] |
477540bc69546dd0a21086e0afcc07f56ac820b5 | 26,821 | cpp | C++ | test/performance-regression/full-apps/qmcpack/src/QMCHamiltonians/NonLocalECPComponent.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 55 | 2015-07-28T01:32:58.000Z | 2022-02-27T16:27:46.000Z | test/performance-regression/full-apps/qmcpack/src/QMCHamiltonians/NonLocalECPComponent.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 66 | 2015-06-15T20:38:19.000Z | 2020-08-26T00:11:43.000Z | test/performance-regression/full-apps/qmcpack/src/QMCHamiltonians/NonLocalECPComponent.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | //////////////////////////////////////////////////////////////////
// (c) Copyright 2005- by Jeongnim Kim and Simone Chiesa
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// National Center for Supercomputing Applications &
// Ma... | 32.589307 | 105 | 0.556877 | [
"vector"
] |
47881ccda6806a740293681ce7c543896779a12f | 319,353 | cpp | C++ | media/libstagefright/ACodec.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libstagefright/ACodec.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libstagefright/ACodec.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 35.471843 | 101 | 0.58719 | [
"render",
"object",
"vector"
] |
478c128b7f63cafa9f7ad5411f552a743075862f | 1,753 | hpp | C++ | src/operators/directional.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | src/operators/directional.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | 2 | 2022-02-18T22:43:06.000Z | 2022-02-18T22:43:19.000Z | src/operators/directional.hpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "boundaries.hpp"
#include "fields/fields.hpp"
#include "geometry/geometry.hpp"
#include "matrices/block.hpp"
#include "matrices/csr.hpp"
#include "mesh/mesh.hpp"
#include "stencils/stencils.hpp"
namespace ccs::op
{
// a directional operator (i.e. d/dx) - a building block for a full operator (i.e... | 31.303571 | 88 | 0.665716 | [
"mesh",
"geometry",
"object",
"vector",
"solid"
] |
47963e853c73325ffb2647847b4ce2e968f89ec1 | 9,534 | cxx | C++ | main/idlc/source/idlc.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/idlc/source/idlc.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/idlc/source/idlc.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 28.207101 | 92 | 0.675267 | [
"object"
] |
479956f7d1f39cd42638c215b185b81723d3726f | 5,068 | cpp | C++ | Source/nn/SOMQAgent.cpp | JakobStruye/AILib | 7cd76c409aa77a8da615204fa5fd9d1724c5f8bb | [
"Zlib"
] | 66 | 2015-01-05T02:31:21.000Z | 2021-04-11T18:45:42.000Z | Source/nn/SOMQAgent.cpp | JakobStruye/AILib | 7cd76c409aa77a8da615204fa5fd9d1724c5f8bb | [
"Zlib"
] | null | null | null | Source/nn/SOMQAgent.cpp | JakobStruye/AILib | 7cd76c409aa77a8da615204fa5fd9d1724c5f8bb | [
"Zlib"
] | 16 | 2015-01-23T19:55:24.000Z | 2021-11-07T20:41:22.000Z | /*
AI Lib
Copyright (C) 2014 Eric Laukien
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial ... | 34.47619 | 214 | 0.723757 | [
"vector"
] |
479a62e000f0e723843044c77d2c6d71a1063712 | 1,390 | cpp | C++ | aws-cpp-sdk-budgets/source/model/CalculatedSpend.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-budgets/source/model/CalculatedSpend.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-budgets/source/model/CalculatedSpend.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/budgets/model/CalculatedSpend.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... | 18.533333 | 70 | 0.735252 | [
"model"
] |
479f579a781364c7e4a59c67a78dba461bfa6ecc | 943 | cpp | C++ | Item/MPpotion.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Item/MPpotion.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Item/MPpotion.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | #include "MPpotion.h"
std::string MPpotion_name = "MP potion";
bool MPpotion_isUsable = true;
bool MPpotion_isEquipable = false;
int MPpotion_rarity = 1;
std::string MPpotion_description = "Recover 50 MP.";
int MPpotion_rounds_of_effect = 0;
// call constructor to create a MPpotion Object by default values
MPpotion::... | 42.863636 | 78 | 0.791092 | [
"object"
] |
47a14d4ee7e9a80d041fa4c75141137c510b4e7f | 2,626 | cpp | C++ | src/test/cxx/common/loadelf.cpp | pcotret/lowrisc-chip | 7012773c2e190f8916fbe0465b4db624d529bd9d | [
"ECL-2.0",
"Apache-2.0"
] | 587 | 2015-04-06T17:08:41.000Z | 2022-03-27T18:09:02.000Z | src/test/cxx/common/loadelf.cpp | pcotret/lowrisc-chip | 7012773c2e190f8916fbe0465b4db624d529bd9d | [
"ECL-2.0",
"Apache-2.0"
] | 147 | 2016-01-15T17:49:09.000Z | 2022-02-20T08:39:39.000Z | src/test/cxx/common/loadelf.cpp | pcotret/lowrisc-chip | 7012773c2e190f8916fbe0465b4db624d529bd9d | [
"ECL-2.0",
"Apache-2.0"
] | 186 | 2015-04-26T04:02:38.000Z | 2022-03-27T18:09:02.000Z | #include "elf.h"
#include "loadelf.hpp"
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <assert.h>
#include <unistd.h>
#include <vector>
#include <cstring>
std::map<std::string, uint64_t> elfLoader::operator() (const std::string& fn) {
int fd = open(fn.c_str(), O_RDONLY);
struct stat s;
a... | 35.013333 | 89 | 0.620335 | [
"vector"
] |
47a163753a8efd334464974d4ed88d26fbcf960d | 4,636 | cpp | C++ | tests/Unit/Evolution/Systems/GeneralizedHarmonic/Test_UpwindPenaltyCorrection.cpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | tests/Unit/Evolution/Systems/GeneralizedHarmonic/Test_UpwindPenaltyCorrection.cpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | tests/Unit/Evolution/Systems/GeneralizedHarmonic/Test_UpwindPenaltyCorrection.cpp | desperadoshi/spectre | b61c12dce108a98a875a1e9476e5630bea634119 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <memory>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/DataVector.h... | 43.327103 | 92 | 0.761648 | [
"mesh"
] |
47a5d5a460b29789be00a887c91f08a19b3c5168 | 4,102 | cpp | C++ | client/LonelyPlaneteer/LonelyPlaneteer/Engine/Game.cpp | simonlthorp/LostMines | 202f6616959b2dcc939655365447f817d5d8ba66 | [
"Apache-2.0"
] | null | null | null | client/LonelyPlaneteer/LonelyPlaneteer/Engine/Game.cpp | simonlthorp/LostMines | 202f6616959b2dcc939655365447f817d5d8ba66 | [
"Apache-2.0"
] | null | null | null | client/LonelyPlaneteer/LonelyPlaneteer/Engine/Game.cpp | simonlthorp/LostMines | 202f6616959b2dcc939655365447f817d5d8ba66 | [
"Apache-2.0"
] | null | null | null | #include "Game.h"
//SDL Includes
#include "SDL_ttf.h"
//C++ Includes
#include <iostream>
//Engine Includes
#include "Camera.h"
#include "Texture/TextureManager.h"
#include "ECS/ECS.h"
#include "ECS/Vector2D.h"
#include "../Game/UI/TextUI.h"
SDL_Rect Game::camera;
SceneManager Game::sceneManager;
AssetManager Game::a... | 23.306818 | 100 | 0.669917 | [
"render"
] |
47aec237c7bf7c07c8071e0b24c2d78be80300a7 | 12,047 | cpp | C++ | modules/dnn/src/layers/reduce_layer.cpp | VISION-YJ/opencv | 4ca679180d4999bded1bdf94adc299a90ba41c6b | [
"Apache-2.0"
] | 2 | 2017-03-25T01:55:45.000Z | 2017-08-05T10:37:09.000Z | modules/dnn/src/layers/reduce_layer.cpp | VISION-YJ/opencv | 4ca679180d4999bded1bdf94adc299a90ba41c6b | [
"Apache-2.0"
] | null | null | null | modules/dnn/src/layers/reduce_layer.cpp | VISION-YJ/opencv | 4ca679180d4999bded1bdf94adc299a90ba41c6b | [
"Apache-2.0"
] | 1 | 2020-12-13T22:09:12.000Z | 2020-12-13T22:09:12.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "../precomp.hpp"
#include "opencv2/core/hal/intrin.hpp"
#include "../op_cuda.hpp"
#include "../op_webnn.hpp"
#inclu... | 30.889744 | 127 | 0.490828 | [
"vector"
] |
47aed11483e003aedc40c4994c9b3269bc2d4a0d | 5,314 | cpp | C++ | test/v10/queue_property/min_rate_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | test/v10/queue_property/min_rate_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | 8 | 2016-07-21T11:29:13.000Z | 2016-12-03T05:16:42.000Z | test/v10/queue_property/min_rate_test.cpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | #define BOOST_TEST_DYN_LINK
#include <canard/net/ofp/v10/queue_property/min_rate.hpp>
#include <boost/test/unit_test.hpp>
#include <canard/net/ofp/v10/io/openflow.hpp>
#include "../../test_utility.hpp"
namespace ofp = canard::net::ofp;
namespace queue_properties = ofp::v10::queue_properties;
namespace protocol = ofp:... | 30.022599 | 79 | 0.681784 | [
"vector"
] |
47b04907f366147eba399681456ea77498146795 | 539 | cpp | C++ | baseline/draw/renderable_factory.cpp | weshoke/baseline-gl | 12816dc710736e9fb36a76859b043e17b782fcf7 | [
"MIT"
] | null | null | null | baseline/draw/renderable_factory.cpp | weshoke/baseline-gl | 12816dc710736e9fb36a76859b043e17b782fcf7 | [
"MIT"
] | null | null | null | baseline/draw/renderable_factory.cpp | weshoke/baseline-gl | 12816dc710736e9fb36a76859b043e17b782fcf7 | [
"MIT"
] | null | null | null | #include "renderable_factory.h"
#include "mesh_factory.h"
#include "pipeline.h"
#include "primitives.h"
#include <memory>
namespace baseline {
namespace draw {
Renderable::Ref Create(Mesh &&mesh, uint32_t color, const std::string &program,
GLenum primitve, Matrix4 model, UniformMap uniforms,
... | 29.944444 | 79 | 0.679035 | [
"mesh",
"vector",
"model"
] |
47b494f910bd6dcf72e28c877be07e29a67ae77a | 2,020 | cpp | C++ | project/tests/test_dic_binary.cpp | fanyang805/modern_cpp_sol | 48f74fe3c089f0aa5c39bea194accc383cba4f2b | [
"MIT"
] | null | null | null | project/tests/test_dic_binary.cpp | fanyang805/modern_cpp_sol | 48f74fe3c089f0aa5c39bea194accc383cba4f2b | [
"MIT"
] | null | null | null | project/tests/test_dic_binary.cpp | fanyang805/modern_cpp_sol | 48f74fe3c089f0aa5c39bea194accc383cba4f2b | [
"MIT"
] | 1 | 2020-12-20T20:12:21.000Z | 2020-12-20T20:12:21.000Z | #include <iostream>
#include <string>
#include <vector>
#include "bowdictionary.hpp"
#include "convert_dataset.hpp"
#include "histogram.hpp"
#include "serialize.hpp"
#include "utils.hpp"
using namespace bovw;
using namespace cv;
int main() {
// Compute histograms
std::vector<bovw::Histogram> vec_hist_from_csv =
... | 38.113208 | 77 | 0.694554 | [
"vector"
] |
47b6c3c73bf4c733c147b5c9f8615481706ebf3c | 7,483 | cpp | C++ | kdgui/graphics/GradientSkia.cpp | jjzhang166/kdguigl | e8e8a4a2f34893e18d487ecd56c2522e34d8feef | [
"MIT"
] | 39 | 2015-12-12T23:40:51.000Z | 2021-11-01T06:04:55.000Z | kdgui/graphics/GradientSkia.cpp | weolar/kdguigl | e8e8a4a2f34893e18d487ecd56c2522e34d8feef | [
"MIT"
] | null | null | null | kdgui/graphics/GradientSkia.cpp | weolar/kdguigl | e8e8a4a2f34893e18d487ecd56c2522e34d8feef | [
"MIT"
] | 30 | 2015-02-28T12:23:06.000Z | 2021-11-01T06:04:57.000Z | /*
* Copyright (c) 2008, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | 39.17801 | 145 | 0.648938 | [
"object"
] |
47ba8e75ffaaf8b9fa04313a10dcead582825108 | 1,079 | cpp | C++ | 911_top_voted_candidate/top_voted_candidate.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 911_top_voted_candidate/top_voted_candidate.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 911_top_voted_candidate/top_voted_candidate.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | /*
* @Date: 2021-12-11 07:08:45
* @Author: Mengsen Wang
* @LastEditors: Mengsen Wang
* @LastEditTime: 2021-12-11 07:17:58
*/
#include <cassert>
#include <unordered_map>
#include <vector>
using namespace std;
class TopVotedCandidate {
public:
vector<int> tops;
vector<int> times;
TopVotedCandidate(vector<... | 21.58 | 77 | 0.578313 | [
"vector"
] |
47c39216346b99928ad7b1005a2a8abfbacdc102 | 2,060 | cpp | C++ | 1172/a.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | 1 | 2021-10-24T00:46:37.000Z | 2021-10-24T00:46:37.000Z | 1172/a.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | 1172/a.cpp | vladshablinsky/algo | 815392708d00dc8d3159b4866599de64fa9d34fa | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
const int MAX_N = 200000 + 5;
const int NONE = -1;
int check_no_move(vector<bool> my_cards, vector<int>& pile, int start_number, int n) {
int steps = 0;
int pos = 0;
for (int i = start_number; i... | 19.807692 | 86 | 0.516505 | [
"vector"
] |
47c61c2f41fec7c3c945f1332f8a0f8437dc0bf6 | 5,084 | cpp | C++ | arangod/IResearch/IResearchRocksDBLink.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/IResearch/IResearchRocksDBLink.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/IResearch/IResearchRocksDBLink.cpp | specimen151/arangodb | 1a3a31dace16293426a19364eb4d93c8f17c0d68 | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2017 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 33.447368 | 96 | 0.622345 | [
"object"
] |
47c8d69e947df331b41f20c4be1610b16926aa41 | 1,809 | cpp | C++ | src/linad99/fvar_m37.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 79 | 2015-01-16T14:14:22.000Z | 2022-01-24T06:28:15.000Z | src/linad99/fvar_m37.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 172 | 2015-01-21T01:53:57.000Z | 2022-03-29T19:57:31.000Z | src/linad99/fvar_m37.cpp | wStockhausen/admb | 876ec704ae974d0ed3bcc329f243dbc401ad0e6d | [
"BSD-3-Clause"
] | 22 | 2015-01-15T18:11:54.000Z | 2022-01-11T21:47:51.000Z | /**
Author: David Fournier
Copyright (c) 2008-2012 Regents of the University of California
*/
#include <fvar.hpp>
#ifndef OPT_LIB
#include <cassert>
#endif
/**
Construct AD variable matrix with dimensions nrl to nrh by ncl to nch.
\param nrl lower row index
\param nrh higher row index
\param ncl lower column index... | 24.445946 | 78 | 0.630735 | [
"shape"
] |
47cfa8fec431fb43969db0621500551566e81a83 | 2,536 | hpp | C++ | include/EcosWrapper.hpp | jonnyhyman/SuccessiveConvexificationCpp | 7243687d7dac88bf4d66ddb4cfb2016cb70cbb67 | [
"MIT"
] | 5 | 2019-10-30T13:22:29.000Z | 2021-04-09T16:50:13.000Z | include/EcosWrapper.hpp | jonnyhyman/SuccessiveConvexificationCpp | 7243687d7dac88bf4d66ddb4cfb2016cb70cbb67 | [
"MIT"
] | null | null | null | include/EcosWrapper.hpp | jonnyhyman/SuccessiveConvexificationCpp | 7243687d7dac88bf4d66ddb4cfb2016cb70cbb67 | [
"MIT"
] | 3 | 2019-09-20T10:16:01.000Z | 2021-05-20T06:27:22.000Z | #pragma once
#include <vector>
#include <map>
#include <string>
#include <cassert>
#include <sstream>
#include <experimental/optional>
#include <utility>
#include <functional>
#include "OptimizationProblem.hpp"
#include "ecos.h"
using std::vector;
using std::string;
using std::map;
using std::experimental::optional... | 32.935065 | 93 | 0.643139 | [
"vector"
] |
47d4cf42f7a6d88dd740686eaacd985771b14e7d | 4,166 | cpp | C++ | src/support.cpp | jhfisc/cplusplus-tictactoe | a7dc531f966a83e1f5873aa4c53f8e0e2e64ce4e | [
"Apache-2.0"
] | null | null | null | src/support.cpp | jhfisc/cplusplus-tictactoe | a7dc531f966a83e1f5873aa4c53f8e0e2e64ce4e | [
"Apache-2.0"
] | null | null | null | src/support.cpp | jhfisc/cplusplus-tictactoe | a7dc531f966a83e1f5873aa4c53f8e0e2e64ce4e | [
"Apache-2.0"
] | null | null | null | /*
* support functions for tic-tac-toe
*/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include "support.hh"
std::vector<std::string> initialize_game() {
srand (time(NULL));
return std::vector<std::string>{"---", "---", "---"};
}
std::string winningPlayer(std::vector<std::st... | 24.650888 | 89 | 0.469515 | [
"vector"
] |
47d893d49ef1bb387ae7f47ecf4d91c2fe325b2c | 7,205 | cc | C++ | app/resource_bundle_linux.cc | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | app/resource_bundle_linux.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | app/resource_bundle_linux.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2008 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 "app/resource_bundle.h"
#include <gtk/gtk.h>
#include "app/app_paths.h"
#include "app/gfx/font.h"
#include "app/l10n_util.h"
#include ... | 31.880531 | 79 | 0.707981 | [
"vector"
] |
c51c023c686127aab00ccc8bf8f1673cfd138ea1 | 8,375 | cpp | C++ | vm/external_libs/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp | deepakec/rubinius | 5ebbdf3d9a4e258204e0d21f00500de4f3fb6085 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T21:05:11.000Z | 2016-05-08T21:05:11.000Z | vm/external_libs/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | vm/external_libs/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | //===-- IPConstantPropagation.cpp - Propagate constants through calls -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 35.189076 | 80 | 0.622209 | [
"transform"
] |
c522ca39d369583a9b67672250daaa1da4e6d451 | 8,544 | cpp | C++ | event_camera_simulator/esim_common/src/utils.cpp | jfvilaro/rpg_esim | ffac30571d45f7b41d8924a263dff9895457ceaa | [
"MIT"
] | null | null | null | event_camera_simulator/esim_common/src/utils.cpp | jfvilaro/rpg_esim | ffac30571d45f7b41d8924a263dff9895457ceaa | [
"MIT"
] | null | null | null | event_camera_simulator/esim_common/src/utils.cpp | jfvilaro/rpg_esim | ffac30571d45f7b41d8924a263dff9895457ceaa | [
"MIT"
] | null | null | null | #include <esim/common/utils.hpp>
#include <ze/cameras/camera_models.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
using namespace std;
namespace event_camera_simulator {
OpticFlowHelper::OpticFlowHelper(const ze::Camera::Ptr& camera)
: camera_(camera)
{
CHECK(camera_);
precomputePixelToBearin... | 34.873469 | 162 | 0.637055 | [
"transform",
"3d"
] |
c52b5d4e4e281a537b539ec722637b071811a80f | 8,487 | cpp | C++ | ImportantExample/cuteReportView/cutereport/src/appsCore/designerCore/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/cuteReportView/cutereport/src/appsCore/designerCore/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/cuteReportView/cutereport/src/appsCore/designerCore/mainwindow.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | /***************************************************************************
* This file is part of the CuteReport project *
* Copyright (C) 2012-2015 by Alexander Mikhalov *
* alexander.mikhalov@gmail.com *
* ... | 35.961864 | 185 | 0.661364 | [
"geometry",
"render"
] |
c53b3252788709c39d2b87aaf4607f4c5c0b0456 | 9,286 | cpp | C++ | src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | /* -*- mesa-c++ -*-
*
* Copyright (c) 2018-2019 Collabora LTD
*
* Author: Gert Wollny <gert.wollny@collabora.com>
*
* 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 restrictio... | 24.372703 | 95 | 0.610274 | [
"vector"
] |
c53d6719a68b182ab10cfa49149b841b631f443a | 14,457 | cpp | C++ | src/Slave/Slave/NTService/NTService.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Slave/Slave/NTService/NTService.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Slave/Slave/NTService/NTService.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | // NTService.cpp
//
// Implementation of CNTService
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <string>
#include "NTService.h"
// static variables
CNTService* CNTService::m_pThis = NULL;
CNTService::CNTService(const char* szServiceName)
{
// copy the address of the ... | 32.560811 | 102 | 0.526942 | [
"object"
] |
c53f3b44eba2419c8523de030e8b35d7d9b35599 | 23,255 | cpp | C++ | vm/external_libs/llvm/lib/Target/IA64/IA64ISelLowering.cpp | deepakec/rubinius | 5ebbdf3d9a4e258204e0d21f00500de4f3fb6085 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T21:05:11.000Z | 2016-05-08T21:05:11.000Z | vm/external_libs/llvm/lib/Target/IA64/IA64ISelLowering.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | vm/external_libs/llvm/lib/Target/IA64/IA64ISelLowering.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | //===-- IA64ISelLowering.cpp - IA64 DAG Lowering Implementation -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.122951 | 82 | 0.614363 | [
"object",
"vector"
] |
c540660d2ec9bceafb8b164ca586630ff01492f8 | 19,404 | cpp | C++ | libraries/ngk-vm/external/outcome/include/outcome/quickcpplib/test/spinlock_tribool.cpp | tianhao13/ngkchain | 25d59f3161dd85c8cf9b4ce4bd210bd859deca05 | [
"MIT"
] | 15 | 2016-04-12T17:12:19.000Z | 2019-08-14T17:46:17.000Z | libraries/ngk-vm/external/outcome/include/outcome/quickcpplib/test/spinlock_tribool.cpp | tianhao13/ngkchain | 25d59f3161dd85c8cf9b4ce4bd210bd859deca05 | [
"MIT"
] | 63 | 2016-03-22T14:35:31.000Z | 2018-07-04T22:17:07.000Z | libraries/ngk-vm/external/outcome/include/outcome/quickcpplib/test/spinlock_tribool.cpp | tianhao13/ngkchain | 25d59f3161dd85c8cf9b4ce4bd210bd859deca05 | [
"MIT"
] | 4 | 2020-11-02T11:25:56.000Z | 2021-01-22T14:12:22.000Z | /* Unit testing for spinlocks
(C) 2013-2017 Niall Douglas <http://www.nedproductions.biz/> (7 commits)
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 in the accompanying file
Licence.txt or at
h... | 35.152174 | 310 | 0.694754 | [
"vector"
] |
c555ccdfa85d027ff81d695e31ec215819bafa15 | 55,070 | cpp | C++ | src/amd/compiler/aco_lower_to_hw_instr.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | src/amd/compiler/aco_lower_to_hw_instr.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | src/amd/compiler/aco_lower_to_hw_instr.cpp | PWN-Hunter/mesa3d | be12e189989e3476d7c9d40e1c0c3a35143ee51a | [
"MIT"
] | null | null | null | /*
* Copyright © 2018 Valve Corporation
*
* 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, pub... | 46.868085 | 153 | 0.582767 | [
"vector"
] |
c563f86982b09a8c92f2df7e7ce2f5d918a997f5 | 21,615 | cpp | C++ | windows/APIExample/APIExample/Advanced/CustomVideoCapture/CAgoraCaptureVideoDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 178 | 2020-07-03T14:51:26.000Z | 2022-03-30T08:55:03.000Z | windows/APIExample/APIExample/Advanced/CustomVideoCapture/CAgoraCaptureVideoDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 74 | 2020-05-09T06:19:14.000Z | 2022-03-31T01:15:13.000Z | windows/APIExample/APIExample/Advanced/CustomVideoCapture/CAgoraCaptureVideoDlg.cpp | voicemod/AgoraIO-API-Examples | e35b9581daa6cc0917d4be91a9eef3c909ac5890 | [
"MIT"
] | 164 | 2020-06-19T11:03:29.000Z | 2022-03-30T03:00:48.000Z | #include "stdafx.h"
#include "APIExample.h"
#include "CAgoraCaptureVideoDlg.h"
#include <dsound.h>
BEGIN_MESSAGE_MAP(CAgoraCaptureVideoDlg, CDialogEx)
ON_WM_SHOWWINDOW()
ON_MESSAGE(WM_MSGID(EID_JOINCHANNEL_SUCCESS), &CAgoraCaptureVideoDlg::OnEIDJoinChannelSuccess)
ON_MESSAGE(WM_MSGID(EID_LEAVE_CHANNEL), &CAgoraCap... | 33.985849 | 156 | 0.772519 | [
"render",
"object"
] |
c564a67d9c97280532bc38f43307177fd50ca45e | 19,625 | cc | C++ | src/stirling/source_connectors/socket_tracer/protocols/kafka/decoder/fetch_test.cc | ddelnano/pixie | 5210a1e992152f6ed1ef87756913cbcfd29912c2 | [
"Apache-2.0"
] | null | null | null | src/stirling/source_connectors/socket_tracer/protocols/kafka/decoder/fetch_test.cc | ddelnano/pixie | 5210a1e992152f6ed1ef87756913cbcfd29912c2 | [
"Apache-2.0"
] | 1 | 2021-09-08T12:31:30.000Z | 2021-09-08T12:31:30.000Z | src/stirling/source_connectors/socket_tracer/protocols/kafka/decoder/fetch_test.cc | ddelnano/pixie | 5210a1e992152f6ed1ef87756913cbcfd29912c2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018- The Pixie Authors.
*
* Licensed under the Apache LicenseVersion 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 agre... | 43.514412 | 100 | 0.667414 | [
"vector"
] |
c567faeaf53ba29cfc9f6bf42805f1a4ebf99500 | 4,766 | cpp | C++ | tests/gpu/test-cache.cpp | SJTU-IPADS/wukong-cube | ccabf1b754978322277dc881a43cedfd2687070f | [
"Apache-2.0"
] | 7 | 2021-06-22T06:24:21.000Z | 2022-02-16T02:48:38.000Z | tests/gpu/test-cache.cpp | SJTU-IPADS/wukong-cube | ccabf1b754978322277dc881a43cedfd2687070f | [
"Apache-2.0"
] | 4 | 2021-12-22T15:11:02.000Z | 2021-12-22T15:27:50.000Z | tests/gpu/test-cache.cpp | SJTU-IPADS/wukong-cube | ccabf1b754978322277dc881a43cedfd2687070f | [
"Apache-2.0"
] | 1 | 2022-01-19T04:23:18.000Z | 2022-01-19T04:23:18.000Z | /*
* Copyright (c) 2016 Shanghai Jiao Tong University.
* 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.... | 36.661538 | 130 | 0.656945 | [
"vector"
] |
c575fb7277d4fc3d08e81f49be29de2f7ab1eb6f | 22,455 | cpp | C++ | Parse/PFFile.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | Parse/PFFile.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | Parse/PFFile.cpp | sourada/Parse-Qt-SDK | 32bb10a37ddebc71bae4e648438efb3bd9fdd48b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// PFFile.cpp
// Parse
//
// Created by Christian Noon on 11/6/13.
// Copyright (c) 2013 Christian Noon. All rights reserved.
//
// Parse headers
#include "PFError.h"
#include "PFFile.h"
#include "PFManager.h"
// Qt headers
#include <QEventLoop>
#include <QFileInfo>
#include <QJsonDocument>
#include <QJsonObje... | 27.054217 | 151 | 0.73654 | [
"object"
] |
c57a025c96fd69864b4de389955e9196e14eed2d | 2,778 | cpp | C++ | quatris/nwoa.cpp | asm128/nwol_samples | 16a0bca7ce95b8530de014be673bb2228a362574 | [
"MIT"
] | null | null | null | quatris/nwoa.cpp | asm128/nwol_samples | 16a0bca7ce95b8530de014be673bb2228a362574 | [
"MIT"
] | null | null | null | quatris/nwoa.cpp | asm128/nwol_samples | 16a0bca7ce95b8530de014be673bb2228a362574 | [
"MIT"
] | null | null | null | #include "nwoa.h"
#include "text.h"
#include "ascii_screen.h"
#include "gui.h"
#include "runtime_impl.h"
#include <thread>
#include <process.h>
DEFINE_RUNTIME_INTERFACE_FUNCTIONS(SApplication, "Quatris", 0, 1);
#define errmsg(functionCall, format, ...) \
{ \
::nwol::erro... | 28.639175 | 103 | 0.655148 | [
"render"
] |
c57e88879fbd48f3a5950057bf7b1182c65ca226 | 7,411 | cc | C++ | server.cc | iains/libcody | dd2e4155bb92b682a6b399e33876136adf861e0f | [
"Apache-2.0"
] | 17 | 2020-06-09T11:56:20.000Z | 2022-03-05T07:11:32.000Z | server.cc | iains/libcody | dd2e4155bb92b682a6b399e33876136adf861e0f | [
"Apache-2.0"
] | 18 | 2020-06-19T18:47:25.000Z | 2022-03-09T09:48:42.000Z | server.cc | iains/libcody | dd2e4155bb92b682a6b399e33876136adf861e0f | [
"Apache-2.0"
] | 9 | 2020-06-22T13:45:42.000Z | 2022-02-11T13:30:58.000Z | // CODYlib -*- mode:c++ -*-
// Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
// License: Apache v2.0
// Cody
#include "internal.hh"
// C++
#include <tuple>
// C
#include <cerrno>
#include <cstring>
// Server code
namespace Cody {
// These do not need to be members
static Resolver *ConnectRequest (Server *, Res... | 23.231975 | 81 | 0.617461 | [
"vector"
] |
c5856b9eeda8442627026cc53d7f012ae3615b91 | 2,549 | cpp | C++ | src/main.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 21 | 2016-12-14T09:46:27.000Z | 2021-12-28T10:05:04.000Z | src/main.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 2 | 2016-12-02T07:47:14.000Z | 2018-01-30T18:11:09.000Z | src/main.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | null | null | null | /*
* main.cpp
*
* Created on: 2016年11月9日
* Author: zhuqian
*/
#include "config.h"
#ifdef WIN32
#include "getopt.h"
#define GOOGLE_GLOG_DLL_DECL // 使用静态glog库用这个
#define GLOG_NO_ABBREVIATED_SEVERITIES // 没这个编译会出错,传说因为和Windows.h冲突
#else
#include <unistd.h>
#endif
#include "api.h"
#include ... | 20.230159 | 81 | 0.546881 | [
"vector"
] |
c59192857e6fab541007a00bc203327377f998b7 | 6,676 | cpp | C++ | source/game.cpp | FlagBrew/2048 | 97fa0939bec69ce227d0b55f3f8e1049da0523bd | [
"MIT"
] | 10 | 2018-12-09T22:44:10.000Z | 2022-01-05T02:45:51.000Z | source/game.cpp | FlagBrew/2048 | 97fa0939bec69ce227d0b55f3f8e1049da0523bd | [
"MIT"
] | 1 | 2020-02-27T04:07:20.000Z | 2020-07-30T08:03:15.000Z | source/game.cpp | BernardoGiordano/2048 | 97fa0939bec69ce227d0b55f3f8e1049da0523bd | [
"MIT"
] | 3 | 2018-12-01T02:59:41.000Z | 2020-12-29T22:54:27.000Z | #include "game.hpp"
const u32 g_l = 96;
const u32 g_spacing = 16;
const u32 g_xstart = ceil((1280 - g_l*4 - g_spacing*3) / 2);
const u32 g_ystart = ceil((720 - g_l*4 - g_spacing*3) / 2);
color_t colorbg = MakeColor(187, 173, 160, 255);
static std::array<Cell, 16> grid;
static u32 score;
u8 index(u8 row, u8 col)
{
... | 22.941581 | 154 | 0.482924 | [
"vector"
] |
c5a00bdfc17b42a4528b422939762f35a8a11df7 | 851 | cpp | C++ | Engine/Source/Runtime/UMG/Private/Animation/WidgetAnimationBinding.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/UMG/Private/Animation/WidgetAnimationBinding.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/UMG/Private/Animation/WidgetAnimationBinding.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Animation/WidgetAnimationBinding.h"
#include "UObject/Object.h"
#include "Components/Widget.h"
#include "Blueprint/WidgetTree.h"
/* FWidgetAnimationBinding interface
*****************************************************************************/
... | 25.029412 | 108 | 0.674501 | [
"object"
] |
c5a57c592c86fbab30a88f48dd6b1d5d7ca04ea8 | 3,992 | cc | C++ | tests/transforms/lower_safe_assertions.cc | numairmansur/crab | 316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7 | [
"Apache-2.0"
] | 4 | 2021-05-19T17:35:30.000Z | 2021-08-17T04:03:21.000Z | tests/transforms/lower_safe_assertions.cc | numairmansur/crab | 316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7 | [
"Apache-2.0"
] | null | null | null | tests/transforms/lower_safe_assertions.cc | numairmansur/crab | 316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7 | [
"Apache-2.0"
] | 1 | 2022-01-15T11:20:30.000Z | 2022-01-15T11:20:30.000Z | #include "../program_options.hpp"
#include "../common.hpp"
#include <crab/checkers/base_property.hpp>
#include <crab/checkers/assertion.hpp>
#include <crab/checkers/checker.hpp>
#include <crab/transforms/lower_safe_assertions.hpp>
using namespace std;
using namespace crab::analyzer;
using namespace crab::cfg;
using na... | 31.68254 | 88 | 0.658066 | [
"vector"
] |
c5a8737da3ee6b698f0fa551bace5a4281127a81 | 23,141 | cxx | C++ | Base/QTGUI/qSlicerExtensionsRestoreWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerExtensionsRestoreWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerExtensionsRestoreWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | // Qt includes
#include <QAction>
#include <QPushButton>
#include <QProgressBar>
#include <QLayout>
#include <iostream>
#include <QFileInfo>
#include <QDir>
#include <QListWidget>
#include <QDebug>
#include <QProgressDialog>
#include <ctkMessageBox.h>
#include <QStyledItemDelegate>
#include <QPainter>
#include <QEvent>... | 36.966454 | 157 | 0.671449 | [
"object",
"model"
] |
c5ad95b804f235c2a08249dae6b292b4151ac350 | 7,816 | cpp | C++ | src/Visuals/UI/ui-renderer.cpp | LazyFalcon/TechDemo-v4 | 7b865e20beb7f04fde6e7df66be30f555e0aef5a | [
"MIT"
] | null | null | null | src/Visuals/UI/ui-renderer.cpp | LazyFalcon/TechDemo-v4 | 7b865e20beb7f04fde6e7df66be30f555e0aef5a | [
"MIT"
] | null | null | null | src/Visuals/UI/ui-renderer.cpp | LazyFalcon/TechDemo-v4 | 7b865e20beb7f04fde6e7df66be30f555e0aef5a | [
"MIT"
] | null | null | null | #include "core.hpp"
#include "ui-renderer.hpp"
#include "Assets.hpp"
#include "Context.hpp"
#include "PerfTimers.hpp"
#include "ui-rendered.hpp"
#include "ui-text.hpp"
void UIRender::blurBackgroundCumulative(RenderedUIItems&) {}
void UIRender::blurBackgroundEven(RenderedUIItems& ui) {
auto& polygons = ui.get<Rende... | 34.280702 | 118 | 0.66607 | [
"render",
"shape",
"vector"
] |
c5b34e5c775631f0f05b44f1ee5876d991d63085 | 2,321 | cpp | C++ | src/outParam.cpp | strongloop/strong-oracle | e10b794c669d103f816611900db471deaa914b81 | [
"Artistic-2.0"
] | 36 | 2015-01-21T06:33:53.000Z | 2018-02-15T19:13:39.000Z | src/outParam.cpp | strongloop/strong-oracle | e10b794c669d103f816611900db471deaa914b81 | [
"Artistic-2.0"
] | 46 | 2015-01-20T16:10:18.000Z | 2020-04-02T01:17:02.000Z | src/outParam.cpp | strongloop/strong-oracle | e10b794c669d103f816611900db471deaa914b81 | [
"Artistic-2.0"
] | 19 | 2015-01-21T16:32:07.000Z | 2019-12-16T17:40:51.000Z | #include "outParam.h"
#include "nodeOracleException.h"
using namespace std;
Nan::Persistent<FunctionTemplate> OutParam::constructorTemplate;
/**
* The C++ class represents a JS constructor as follows:
*
* function OutParam(type, options) {
* this._type = type || 0;
* this._size = options.size;
* this._in... | 25.228261 | 76 | 0.628178 | [
"object"
] |
c5b4c364ea68634ecff3faf01f002143bbf48c56 | 2,446 | hpp | C++ | src/Engine/Audio/SteamAudio.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Engine/Audio/SteamAudio.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Engine/Audio/SteamAudio.hpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #pragma once
#include "SteamAudioRenderers.hpp"
#include <vector>
#include <cstdint>
#include "../linking.hpp"
#include <map>
namespace Audio {
/// Main Steam Audio class for processing audio samples
class SteamAudio {
public:
friend class SteamAudioInterface;
/// Constructor.
... | 34.450704 | 110 | 0.583401 | [
"object",
"vector"
] |
c5c01f4833b272f550c4fc061102de46f36afe9b | 3,455 | cpp | C++ | src/entities/popdata.cpp | Dmytro-Kyparenko/alt-integration-cpp | df18abdd4bfeec757c2df47efcaf4020d78880bb | [
"MIT"
] | null | null | null | src/entities/popdata.cpp | Dmytro-Kyparenko/alt-integration-cpp | df18abdd4bfeec757c2df47efcaf4020d78880bb | [
"MIT"
] | null | null | null | src/entities/popdata.cpp | Dmytro-Kyparenko/alt-integration-cpp | df18abdd4bfeec757c2df47efcaf4020d78880bb | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2020 Xenios SEZC
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#include <veriblock/entities/popdata.hpp>
#include "veriblock/hashutil.hpp"
namespace altintegration {
PopDat... | 29.784483 | 79 | 0.580029 | [
"vector"
] |
c5c299f45696576582ec55b78cea0eb23db54359 | 863 | cpp | C++ | wms/LonLatToXYTransformation.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | null | null | null | wms/LonLatToXYTransformation.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 6 | 2017-01-05T07:19:43.000Z | 2019-10-23T06:21:48.000Z | wms/LonLatToXYTransformation.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 1 | 2016-12-30T11:10:58.000Z | 2016-12-30T11:10:58.000Z | #include "LonLatToXYTransformation.h"
#include "State.h"
#include <boost/move/make_unique.hpp>
#include <gis/SpatialReference.h>
#include <ogr_spatialref.h>
namespace SmartMet
{
namespace Plugin
{
namespace Dali
{
LonLatToXYTransformation::LonLatToXYTransformation(const Projection& projection)
: transformation(Fmi... | 22.710526 | 99 | 0.754345 | [
"transform"
] |
c5c7b2392b1bef94d0b58b99c702892353775eab | 2,932 | cpp | C++ | src/main.cpp | nbassagoda/3d-game-snake | 7ead8d8bb7f2b8d745073b9f08c66bd00ca8b87a | [
"MIT"
] | null | null | null | src/main.cpp | nbassagoda/3d-game-snake | 7ead8d8bb7f2b8d745073b9f08c66bd00ca8b87a | [
"MIT"
] | null | null | null | src/main.cpp | nbassagoda/3d-game-snake | 7ead8d8bb7f2b8d745073b9f08c66bd00ca8b87a | [
"MIT"
] | 1 | 2019-09-13T16:53:29.000Z | 2019-09-13T16:53:29.000Z | #define DEFAULT_WINDOW_WIDTH 1280
#define DEFAULT_WINDOW_HEIGHT 720
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <iostream>
#include <fstream>
#include "../include/EventsEngine.h"
#include "../include/GraphicEngine.h"
#include "../include/GameEngine.h"
const char* MA... | 34.494118 | 152 | 0.707367 | [
"object"
] |
c5c8c1fc254890ad0ab5003ef97a452e865c0820 | 1,391 | cpp | C++ | AtCoder/tkppc4/B.cpp | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 1 | 2018-11-25T04:15:45.000Z | 2018-11-25T04:15:45.000Z | AtCoder/tkppc4/B.cpp | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | null | null | null | AtCoder/tkppc4/B.cpp | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 2 | 2018-08-08T13:01:14.000Z | 2018-11-25T12:38:36.000Z | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
typedef long long ll;
#define rep(i, n) for(int i=0;i<(n);i++)
#define rep2(i, m, n) for(int i=m;i<(n);i++)
#define rrep(i, n, m) for(int i=n;i>=(m);i--)
using Graph = vector<vector<int>>;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1,... | 20.15942 | 72 | 0.460101 | [
"vector"
] |
c5ca8d6b232a74a251a6dd7495a45c021454382b | 727 | cpp | C++ | BinaryStuff/BinaryStuff.cpp | forsbergsskola-se/marczaku-gp20-2021-0524-nim-game-Alex-Rynkowski | 410b6da789e96c2b7e88b90fbe38b25b605a0b81 | [
"MIT"
] | null | null | null | BinaryStuff/BinaryStuff.cpp | forsbergsskola-se/marczaku-gp20-2021-0524-nim-game-Alex-Rynkowski | 410b6da789e96c2b7e88b90fbe38b25b605a0b81 | [
"MIT"
] | null | null | null | BinaryStuff/BinaryStuff.cpp | forsbergsskola-se/marczaku-gp20-2021-0524-nim-game-Alex-Rynkowski | 410b6da789e96c2b7e88b90fbe38b25b605a0b81 | [
"MIT"
] | null | null | null | #include <iostream>
#include <list>
#include <string>
#include <vector>
using namespace std;
void RemainderBinaryConverter(){
unsigned int userInput;
cin >> userInput;
string result;
while (userInput > 0){
int remainder = userInput % 2;
userInput /=2;
result = std::to_string(re... | 18.175 | 52 | 0.594223 | [
"vector"
] |
c5d92e12dced29e7f2ab3e11df0d84b8e20a759b | 61,113 | cc | C++ | tensorflow/core/ops/data_flow_ops.cc | devsangwoo/tensor | 066592c9f9cdf4acdd1b9b104766271133e9088e | [
"Apache-2.0"
] | 1 | 2020-01-12T14:38:34.000Z | 2020-01-12T14:38:34.000Z | tensorflow/core/ops/data_flow_ops.cc | devsangwoo/tensor | 066592c9f9cdf4acdd1b9b104766271133e9088e | [
"Apache-2.0"
] | null | null | null | tensorflow/core/ops/data_flow_ops.cc | devsangwoo/tensor | 066592c9f9cdf4acdd1b9b104766271133e9088e | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
/* Copyright 2015 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 applic... | 34.122278 | 80 | 0.640829 | [
"shape",
"vector"
] |
c5dca01070b0a053a0fa8fb7812e9dfaeec99da0 | 3,143 | cpp | C++ | src/dfs_analyze.cpp | falgon/PuzzleGame | 247b99fcbfc676d1a536a1115b7d83b1a4c8972b | [
"MIT"
] | null | null | null | src/dfs_analyze.cpp | falgon/PuzzleGame | 247b99fcbfc676d1a536a1115b7d83b1a4c8972b | [
"MIT"
] | null | null | null | src/dfs_analyze.cpp | falgon/PuzzleGame | 247b99fcbfc676d1a536a1115b7d83b1a4c8972b | [
"MIT"
] | null | null | null | /*
*
* Input the puzzle from standart input stream object
* NOTE:x means the empty
*
* exp:
* x 1 7
* 2 8 3
* 6 5 4
*
*
*/
#include<string>
#include<map>
#include<queue>
#include<array>
#include<cmath>
#include<type_traits>
#include<iostream>
template<std::size_t s>
struct Puzzle final{
std::array<char,s>... | 22.45 | 101 | 0.647789 | [
"object"
] |
c5e23a3c27405eeabad1f85a6334da60b9d094d4 | 1,857 | cpp | C++ | fxjs/cjs_console.cpp | jamespayor/pdfium | 07b4727a34d2f4aff851f0dc420faf617caca220 | [
"BSD-3-Clause"
] | 1 | 2019-01-12T07:00:46.000Z | 2019-01-12T07:00:46.000Z | fxjs/cjs_console.cpp | jamespayor/pdfium | 07b4727a34d2f4aff851f0dc420faf617caca220 | [
"BSD-3-Clause"
] | null | null | null | fxjs/cjs_console.cpp | jamespayor/pdfium | 07b4727a34d2f4aff851f0dc420faf617caca220 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "fxjs/cjs_console.h"
#include <vector>
#include "fxjs/JS_Define.h"
... | 33.763636 | 80 | 0.596123 | [
"vector"
] |
c5e313540845ed2086e1a426ee28cace9d9ef92d | 1,084 | cc | C++ | jax/training/21-09/16/d_vova_and_trophies.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | 2 | 2022-01-01T16:55:02.000Z | 2022-03-16T14:47:29.000Z | jax/training/21-09/16/d_vova_and_trophies.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | null | null | null | jax/training/21-09/16/d_vova_and_trophies.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr), cout.tie(nullptr);
cin.exceptions(cin.failbit);
int n;
cin >> n;
string s;
cin >> s;
vector<pair<int, int>> ps;
int ans = 0;
int l = 0;
while (l < n) {
if... | 19.357143 | 86 | 0.364391 | [
"vector"
] |
c5f170c585bb403f204c2e9db7783204b45a4ff7 | 17,172 | hpp | C++ | modules/sqlite/Connection.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/sqlite/Connection.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | modules/sqlite/Connection.hpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | #ifndef _SQSQLITE_CONNECTION_HPP_
#define _SQSQLITE_CONNECTION_HPP_
// ------------------------------------------------------------------------------------------------
#include "Handle/Connection.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {... | 35.849687 | 105 | 0.386676 | [
"object"
] |
c5f318b3f03dc48f714c3fe2f594d77e81a0e84f | 3,777 | hh | C++ | test/field/detail/CMSParameterizedField.i.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | 22 | 2020-03-31T14:18:22.000Z | 2022-01-10T09:43:06.000Z | test/field/detail/CMSParameterizedField.i.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | 261 | 2020-04-29T15:14:29.000Z | 2022-03-31T19:07:14.000Z | test/field/detail/CMSParameterizedField.i.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | 15 | 2020-05-01T19:47:19.000Z | 2021-12-25T06:12:09.000Z | //----------------------------------*-C++-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 31.475 | 79 | 0.46995 | [
"geometry"
] |
c5ffa1108ca91371e0f7086fed8781df34a0655f | 6,378 | cc | C++ | src/meshes/geompack_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 4 | 2020-11-16T12:25:09.000Z | 2021-06-29T08:53:25.000Z | src/meshes/geompack_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 2 | 2020-05-05T22:41:37.000Z | 2020-05-10T14:14:17.000Z | src/meshes/geompack_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 3 | 2021-01-31T14:09:20.000Z | 2021-06-07T07:20:51.000Z | // LIC// ====================================================================
// LIC// This file forms part of oomph-lib, the object-oriented,
// LIC// multi-physics finite-element library, available
// LIC// at http://www.oomph-lib.org.
// LIC//
// LIC// Copyright (C) 2006-2021 Matthias Heil and Andrew Hazel
// LIC//
... | 37.517647 | 80 | 0.611007 | [
"mesh",
"object"
] |
6807cbe951d264cca5a3d8ca0d557f5df9cb0f15 | 1,460 | cpp | C++ | prim/prim.cpp | FranciscoThiesen/mst_benchmarks | 68124753464a5b94bc5b65d4043f298a470d0506 | [
"MIT"
] | 5 | 2020-12-11T19:00:16.000Z | 2022-03-17T19:56:41.000Z | prim/prim.cpp | FranciscoThiesen/karger-klein-tarjan | 68124753464a5b94bc5b65d4043f298a470d0506 | [
"MIT"
] | null | null | null | prim/prim.cpp | FranciscoThiesen/karger-klein-tarjan | 68124753464a5b94bc5b65d4043f298a470d0506 | [
"MIT"
] | null | null | null | #include "prim.hpp"
#include <chrono>
#include <iostream>
#include <set>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
constexpr int INF = 0x3f3f3f3f;
struct Edge
{
int w = INF, to = -1, id;
bool operator<(Edge const& other) const
{
return make_pair(w, to) < make_pair(other.w, othe... | 18.481013 | 79 | 0.580137 | [
"vector"
] |
68086f6c2c48d3753be52bfa4af2bcb590ed2dae | 46,420 | cpp | C++ | pkgs/tools/cmake/src/Source/MFCDialog/CMakeSetupDialog.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | pkgs/tools/cmake/src/Source/MFCDialog/CMakeSetupDialog.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | pkgs/tools/cmake/src/Source/MFCDialog/CMakeSetupDialog.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | // pcbuilderdialogDlg.cpp : implementation file
//
#include "stdafx.h"
#include "shellapi.h"
// a fun undef for DOT NET
#undef DEBUG
#include "CMakeSetup.h"
#include "MakeHelp.h"
#include "cmVersion.h"
#include "PathDialog.h"
#include "CMakeSetupDialog.h"
#include "CMakeCommandLineInfo.h"
#include "../cmExternalMakefi... | 29.890534 | 216 | 0.610233 | [
"object",
"model"
] |
68205b9627ddd8a22705390327b92a203f7a06cd | 1,833 | cpp | C++ | Chapter01/lambda_returning_value/lambda_returning_value.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | 41 | 2017-08-25T07:13:57.000Z | 2022-01-06T12:28:33.000Z | Chapter01/lambda_returning_value/lambda_returning_value.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | null | null | null | Chapter01/lambda_returning_value/lambda_returning_value.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | 26 | 2017-08-10T21:12:25.000Z | 2021-11-17T07:25:04.000Z | /* lambda_returning_value.cpp */
#include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
auto main() -> int
{
cout << "[lambda_returning_value.cpp]" << endl;
// Initializing a vector containing integer element
vector<int> vect;
for (int i = 0; i < 10; ++i)
vect.push_ba... | 24.118421 | 55 | 0.481724 | [
"vector",
"transform"
] |
682c986ef7dc8b8972dd5f82ff0e3a07f3cfa04c | 9,160 | cpp | C++ | lib/djvUI/ComboBox.cpp | pafri/DJV | 9db15673b6b03ad3743f57119118261b1fbe8810 | [
"BSD-3-Clause"
] | 456 | 2018-10-06T00:07:14.000Z | 2022-03-31T06:14:22.000Z | lib/djvUI/ComboBox.cpp | pafri/DJV | 9db15673b6b03ad3743f57119118261b1fbe8810 | [
"BSD-3-Clause"
] | 438 | 2018-10-31T15:05:51.000Z | 2022-03-31T09:01:24.000Z | lib/djvUI/ComboBox.cpp | pafri/DJV | 9db15673b6b03ad3743f57119118261b1fbe8810 | [
"BSD-3-Clause"
] | 54 | 2018-10-29T10:18:36.000Z | 2022-03-23T06:56:11.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2004-2020 Darby Johnston
// All rights reserved.
#include <djvUI/ComboBox.h>
#include <djvUI/Action.h>
#include <djvUI/ActionGroup.h>
#include <djvUI/Menu.h>
#include <djvUI/MenuButton.h>
#include <djvUI/RowLayout.h>
#define GLFW_INCLUDE_NONE
#include <GLFW/g... | 28.09816 | 105 | 0.447162 | [
"vector"
] |
969b8360150ea5294a477990cc86e5b1c828dc67 | 4,832 | hpp | C++ | shared/simulation_funshield.hpp | krulis-martin/Moccarduino | 3cb200ea6e3c271a664355ba5a26162fec8ec95d | [
"MIT"
] | 1 | 2021-01-22T00:57:15.000Z | 2021-01-22T00:57:15.000Z | shared/simulation_funshield.hpp | krulis-martin/Moccarduino | 3cb200ea6e3c271a664355ba5a26162fec8ec95d | [
"MIT"
] | null | null | null | shared/simulation_funshield.hpp | krulis-martin/Moccarduino | 3cb200ea6e3c271a664355ba5a26162fec8ec95d | [
"MIT"
] | null | null | null | #ifndef MOCCARDUINO_SHARED_SIMULATION_FUNSHIELD_HPP
#define MOCCARDUINO_SHARED_SIMULATION_FUNSHIELD_HPP
#include "simulation.hpp"
#include "led_display.hpp"
#include "constants.hpp"
#include "funshield.h"
/**
* Simulation controller for the funshield which is attached to Arduino simulator.
*/
class FunshieldSimulat... | 27.146067 | 112 | 0.720406 | [
"object",
"vector"
] |
96aa958f453eab70f7944cbd70f38120c7f6df99 | 2,608 | hpp | C++ | libs/core/render/include/bksge/core/render/d3d11/detail/inl/hlsl_program_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/core/render/include/bksge/core/render/d3d11/detail/inl/hlsl_program_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/core/render/include/bksge/core/render/d3d11/detail/inl/hlsl_program_inl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file hlsl_program_inl.hpp
*
* @brief HlslProgram クラスの実装
*
* @author myoukaku
*/
#ifndef BKSGE_CORE_RENDER_D3D11_DETAIL_INL_HLSL_PROGRAM_INL_HPP
#define BKSGE_CORE_RENDER_D3D11_DETAIL_INL_HLSL_PROGRAM_INL_HPP
#include <bksge/core/render/config.hpp>
#if BKSGE_CORE_RENDER_HAS_D3D11_RENDERER
... | 22.290598 | 72 | 0.716641 | [
"render"
] |
96ab76f20e6fd8993d1474049a78615d5b876613 | 1,952 | cpp | C++ | texplorer/VerticalBox.cpp | toca/texplorer | 454449ca276bb430539375d6032461e950d1706a | [
"MIT"
] | 1 | 2022-02-15T09:52:26.000Z | 2022-02-15T09:52:26.000Z | texplorer/VerticalBox.cpp | toca/texplorer | 454449ca276bb430539375d6032461e950d1706a | [
"MIT"
] | null | null | null | texplorer/VerticalBox.cpp | toca/texplorer | 454449ca276bb430539375d6032461e950d1706a | [
"MIT"
] | null | null | null | #include "VerticalBox.h"
tuindow::VerticalBox::VerticalBox(Placement place)
: placement(place)
{
}
tuindow::VerticalBox::VerticalBox()
{
}
void tuindow::VerticalBox::RenderImpl()
{
for (auto& child : this->children)
{
child->Render();
}
}
void tuindow::VerticalBox::RefreshImpl()
{
for (auto child : this->chi... | 17.745455 | 62 | 0.683914 | [
"render"
] |
96abe7267c77839177ae35a62d19da414ebc70c7 | 1,079 | cpp | C++ | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/August Challenge 17/CHEFFA.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-05-09T04:02:04.000Z | 2021-02-21T19:27:56.000Z | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/August Challenge 17/CHEFFA.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | null | null | null | something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/August Challenge 17/CHEFFA.cpp | gopala-kr/CR-101 | dd27b767cdc0c667655ab8e32e020ed4248bd112 | [
"MIT"
] | 5 | 2018-02-23T22:08:28.000Z | 2020-08-19T08:31:47.000Z | #include <bits/stdc++.h>
using namespace std;
long long mod = 1000000007;
vector<vector<vector<long long> > > marr;
vector<long> arr;
long long recurse_util(long prev, long cur, long index){
if(marr.size() <= index)
marr.resize(index+1);
if(marr[index].size() <= prev)
marr[index].resize(prev+1);
if(marr[index][p... | 23.977778 | 85 | 0.588508 | [
"vector"
] |
96b6cadc85718c1ac060a5467677a6e39f274271 | 431 | cpp | C++ | leetcode/118-pascal-triangle.cpp | vsmolyakov/competitive_programming | ec7891eee86b5d051bcb4d9eff056d4cafab668e | [
"MIT"
] | 1 | 2020-04-21T05:12:34.000Z | 2020-04-21T05:12:34.000Z | leetcode/118-pascal-triangle.cpp | rossanag/competitive_programming | 5d1bd3d00f2fa8589bdbeee07abeacceb693e930 | [
"MIT"
] | null | null | null | leetcode/118-pascal-triangle.cpp | rossanag/competitive_programming | 5d1bd3d00f2fa8589bdbeee07abeacceb693e930 | [
"MIT"
] | 2 | 2019-08-13T21:27:05.000Z | 2019-12-30T02:32:09.000Z | class Solution {
public:
vector<vector<int>> generate(int numRows) {
vector<vector<int>> result (numRows);
for (int i = 0; i < numRows; ++i)
{
result[i].resize(i+1);
result[i][0] = 1; result[i][i] = 1;
for (int j = 1; j < i; ++j)
{
... | 23.944444 | 65 | 0.417633 | [
"vector"
] |
96ba00d72599c6f4c7d44a0dec918e9d47f6f8cc | 5,551 | cpp | C++ | src/services/pcn-ddosmitigator/src/BlacklistSrc.cpp | mbertrone/polycube | b35a6aa13273c000237d53c5f1bf286f12e4b9bd | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-16T04:49:29.000Z | 2020-07-16T04:49:29.000Z | src/services/pcn-ddosmitigator/src/BlacklistSrc.cpp | mbertrone/polycube | b35a6aa13273c000237d53c5f1bf286f12e4b9bd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/services/pcn-ddosmitigator/src/BlacklistSrc.cpp | mbertrone/polycube | b35a6aa13273c000237d53c5f1bf286f12e4b9bd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 The Polycube Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 30.5 | 79 | 0.686543 | [
"object",
"vector"
] |
96bf886255f10179817dc7744809834eaea83d22 | 8,235 | cpp | C++ | src/fast-d.cpp | revdotcom/fstalign | 3f71e16c1a3f37ff648fb17a504dc1081214380d | [
"Apache-2.0"
] | 98 | 2021-03-24T16:49:19.000Z | 2022-03-22T04:03:52.000Z | src/fast-d.cpp | revdotcom/fstalign | 3f71e16c1a3f37ff648fb17a504dc1081214380d | [
"Apache-2.0"
] | 4 | 2021-03-24T23:46:18.000Z | 2022-03-31T19:38:37.000Z | src/fast-d.cpp | revdotcom/fstalign | 3f71e16c1a3f37ff648fb17a504dc1081214380d | [
"Apache-2.0"
] | 6 | 2021-03-24T21:01:53.000Z | 2022-02-03T23:56:11.000Z | /*
fast-d.cpp
JP Robichaud (jp@rev.com)
2021
*/
#include "fast-d.h"
#include <algorithm> // std::min
#include <iomanip>
#include <iostream>
#include <utility>
#define debug_map false
int min(int &a, int &b, int &c) {
if (a < b) {
if (a < c) {
return a;
} else {
return c;
}
} else if (b ... | 28.793706 | 117 | 0.584214 | [
"vector"
] |
96c00b17790179e72bde8eeaae974c66e3b6f980 | 799 | cpp | C++ | leetcode.com/0508 Most Frequent Subtree Sum/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2020-08-20T11:02:49.000Z | 2020-08-20T11:02:49.000Z | leetcode.com/0508 Most Frequent Subtree Sum/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | null | null | null | leetcode.com/0508 Most Frequent Subtree Sum/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2022-01-01T23:23:13.000Z | 2022-01-01T23:23:13.000Z | #include <algorithm>
#include <iostream>
#include <set>
#include <unordered_map>
#include <vector>
#include "leetcode.hpp"
using namespace std;
class Solution {
private:
vector<int> res;
unordered_map<int, int> m;
int tree_sum(TreeNode* root) {
int sum = root->val;
if (root->left) sum += tree_sum(root... | 20.487179 | 53 | 0.588235 | [
"vector"
] |
96c219267ae84f0662ab6a55020ccaea8df0f1d1 | 9,883 | cpp | C++ | cpptempl.cpp | rmartinho/cpptemplate | 5b1dd29398fdeee752b77d1f46fc169e963a58ba | [
"MIT"
] | 2 | 2016-05-02T07:18:05.000Z | 2019-02-03T02:51:32.000Z | cpptempl.cpp | rmartinho/cpptemplate | 5b1dd29398fdeee752b77d1f46fc169e963a58ba | [
"MIT"
] | null | null | null | cpptempl.cpp | rmartinho/cpptemplate | 5b1dd29398fdeee752b77d1f46fc169e963a58ba | [
"MIT"
] | 2 | 2019-02-03T03:00:41.000Z | 2020-07-09T19:40:25.000Z | #ifdef _MSC_VER
#include "stdafx.h"
#endif
#include "cpptempl.h"
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
namespace cpptempl
{
//////////////////////////////////////////////////////////////////////////
// Data classes
////////////////////////////////... | 24.223039 | 87 | 0.54528 | [
"vector"
] |
96d2e6af2283e9d470f838051b53479caff40161 | 1,576 | cpp | C++ | 1192. Critical Connections in a Network/main.cpp | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | 1 | 2021-07-18T06:18:40.000Z | 2021-07-18T06:18:40.000Z | 1192. Critical Connections in a Network/main.cpp | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | null | null | null | 1192. Critical Connections in a Network/main.cpp | amanchadha/LeetCode | 20dddf0616351ad399f0fa03cb6a2b5cbdd25279 | [
"MIT"
] | 3 | 2020-09-27T05:48:30.000Z | 2021-08-13T10:07:08.000Z | typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
class Solution {
vector<vii> AdjList;
vi dfs_num;
vi dfs_low;
vi dfs_parent;
int dfsNumberCounter = 1;
vector<vi> res;
public:
void articulationPointAndBridge(int u){
dfs_low[u] = dfs_num[u] = dfsNumberCounte... | 31.52 | 86 | 0.503173 | [
"vector"
] |
96db5a449f499183c58b28a0ccc24896e6056bb2 | 13,334 | cpp | C++ | src/core/unittest/UnitTestMatrix.cpp | jacobmas/PALISADE | 4cd6a0e1efa58379797c15fa2fcfdca3a2d49d8d | [
"BSD-2-Clause"
] | null | null | null | src/core/unittest/UnitTestMatrix.cpp | jacobmas/PALISADE | 4cd6a0e1efa58379797c15fa2fcfdca3a2d49d8d | [
"BSD-2-Clause"
] | null | null | null | src/core/unittest/UnitTestMatrix.cpp | jacobmas/PALISADE | 4cd6a0e1efa58379797c15fa2fcfdca3a2d49d8d | [
"BSD-2-Clause"
] | null | null | null | /*
* @file
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT)
* 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. Redistributio... | 33.418546 | 219 | 0.674216 | [
"vector"
] |
96df0f6f1ce47a33b0c909a2f158d67599c659bb | 12,473 | cc | C++ | wasm/tests/test-glob.cc | xescugc/opa | afdb035d707f6ec1b0aa472c9ec90c1aaef7306f | [
"Apache-2.0"
] | 1 | 2021-06-13T02:34:50.000Z | 2021-06-13T02:34:50.000Z | wasm/tests/test-glob.cc | xescugc/opa | afdb035d707f6ec1b0aa472c9ec90c1aaef7306f | [
"Apache-2.0"
] | null | null | null | wasm/tests/test-glob.cc | xescugc/opa | afdb035d707f6ec1b0aa472c9ec90c1aaef7306f | [
"Apache-2.0"
] | null | null | null | #include "glob-compiler.h"
#include "glob-lexer.h"
#include "glob-parser.h"
#include "malloc.h"
#include "test.h"
#include "re2/re2.h"
#include "std.h"
// The following is a re-implementation of tests in
// https://github.com/gobwas/glob/blob.
//
// The MIT License (MIT)
//
// Copyright (c) 2016 Sergey Kamardin
//
// ... | 49.300395 | 156 | 0.504129 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.