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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8193c93b85a612785218bf481e4387ce4972dba0 | 570 | cpp | C++ | node_modules/msnodesqlv8/src/EndTranOperation.cpp | EevaNikkila/Nipema.Historia | 910f3aaca6076ab0d402193391bd471be6ad2d79 | [
"CC0-1.0"
] | null | null | null | node_modules/msnodesqlv8/src/EndTranOperation.cpp | EevaNikkila/Nipema.Historia | 910f3aaca6076ab0d402193391bd471be6ad2d79 | [
"CC0-1.0"
] | null | null | null | node_modules/msnodesqlv8/src/EndTranOperation.cpp | EevaNikkila/Nipema.Historia | 910f3aaca6076ab0d402193391bd471be6ad2d79 | [
"CC0-1.0"
] | null | null | null | #include "stdafx.h"
#include <OdbcConnection.h>
#include <EndTranOperation.h>
namespace mssql
{
EndTranOperation::EndTranOperation(const shared_ptr<OdbcConnection> &connection,
const SQLSMALLINT completion_type, const Handle<Object> callback)
: OdbcOperation(connection, callback)... | 22.8 | 101 | 0.72807 | [
"object"
] |
819aee6cd076bc280ff92b7e10354543f21b5fb7 | 2,729 | cpp | C++ | src/test_suites/oclc/oclc_conversions/src/common.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | 1 | 2021-10-05T14:15:34.000Z | 2021-10-05T14:15:34.000Z | src/test_suites/oclc/oclc_conversions/src/common.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | src/test_suites/oclc/oclc_conversions/src/common.cpp | intel/cassian | 8e9594f053f9b9464066c8002297346580e4aa2a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <cassian/runtime/feature.hpp>
#include <cassian/runtime/runtime.hpp>
#include <common.hpp>
namespace {
float uint32_to_float(uint32_t v) {
float tmp = 0;
std::memcpy(&tmp, &v, sizeof(uint32_t));
return tmp;
}
bool na... | 26.754902 | 77 | 0.689996 | [
"vector"
] |
819ffdfe3bdc07f3fdd89b61159b0a6843101d82 | 1,184 | cpp | C++ | aws-cpp-sdk-iotsitewise/source/model/BatchDisassociateProjectAssetsRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-iotsitewise/source/model/BatchDisassociateProjectAssetsRequest.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-iotsitewise/source/model/BatchDisassociateProjectAssetsRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotsitewise/model/BatchDisassociateProjectAssetsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IoTSiteWise::Model;
using namespace A... | 23.68 | 97 | 0.755068 | [
"model"
] |
81a9dd4c614f3e8500d37698c7ba2812be403544 | 9,320 | cpp | C++ | SOURCES/sim/aircraft/turbulence.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/sim/aircraft/turbulence.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/sim/aircraft/turbulence.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #include "turbulence.h"
#include "debuggr.h"
#include "renderow.h"
#include "weather.h"
extern unsigned long vuxGameTime;
extern bool g_bDrawWakeTurbulence;
// static class members
TurbulanceList lTurbulenceList;
unsigned long AircraftTurbulence::lastPurgeTime = 0;
TurbulanceList::~TurbulanceList()
{ // this wil... | 22.190476 | 178 | 0.65633 | [
"vector"
] |
81ab1129b3b95a8803962b4c583d0e7ddc60fc74 | 6,233 | cc | C++ | third_party/blink/renderer/core/layout/svg/layout_svg_rect.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/layout/svg/layout_svg_rect.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/layout/svg/layout_svg_rect.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (C) 2011 University of Szeged
* Copyright (C) 2011 Renata Hodovan <reni@webkit.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mus... | 43.284722 | 80 | 0.711856 | [
"object"
] |
81ab8355622fd371e10b4ec96737633a24c1e916 | 4,442 | hpp | C++ | src/functional_graph_binary_lifting.hpp | keijak/hikidashi-cpp | 63d01dfa1587fa56fd7f4e50712f7c10d8168520 | [
"Apache-2.0"
] | null | null | null | src/functional_graph_binary_lifting.hpp | keijak/hikidashi-cpp | 63d01dfa1587fa56fd7f4e50712f7c10d8168520 | [
"Apache-2.0"
] | null | null | null | src/functional_graph_binary_lifting.hpp | keijak/hikidashi-cpp | 63d01dfa1587fa56fd7f4e50712f7c10d8168520 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
// A functional graph is a directed graph in which each vertex has outdegree
// one, and can therefore be specified by a function mapping {0,...,n-1} onto
// itself.
// https://mathworld.wolfram.com/FunctionalGraph.html
// Node transition only.
// Precomputes every (2^d)-th step (0 <= d < kMa... | 26.921212 | 79 | 0.564385 | [
"vector"
] |
81ac831c903a19f10dc330c45265d19c546e23e9 | 710 | cpp | C++ | src/kc/math/Utils.cpp | nekoffski/libkc | f72cc40d2780747a707eaf6b822ba98848d92237 | [
"MIT"
] | null | null | null | src/kc/math/Utils.cpp | nekoffski/libkc | f72cc40d2780747a707eaf6b822ba98848d92237 | [
"MIT"
] | null | null | null | src/kc/math/Utils.cpp | nekoffski/libkc | f72cc40d2780747a707eaf6b822ba98848d92237 | [
"MIT"
] | null | null | null | #include "Utils.hpp"
#include "kc/core/Macros.h"
namespace kc::math {
glm::vec3 randomVec3(float min, float max) {
return glm::vec3 {
random<float>(min, max),
random<float>(min, max),
random<float>(min, max)
};
}
glm::vec3 randomNormalVec3() {
return glm::normalize(randomVec3());... | 20.285714 | 68 | 0.607042 | [
"vector"
] |
81af51403556223d707c91f06ec8eb41a8f10ffe | 2,251 | cpp | C++ | src/gemm/gemm_sequential.cpp | s-aguado/tfm | 8be2a1f19568bfe7a1654d1fd0fb185c7a2abd38 | [
"Apache-2.0"
] | 3 | 2021-11-09T17:59:33.000Z | 2021-12-17T16:07:42.000Z | src/gemm/gemm_sequential.cpp | s-aguado/tfm | 8be2a1f19568bfe7a1654d1fd0fb185c7a2abd38 | [
"Apache-2.0"
] | null | null | null | src/gemm/gemm_sequential.cpp | s-aguado/tfm | 8be2a1f19568bfe7a1654d1fd0fb185c7a2abd38 | [
"Apache-2.0"
] | 1 | 2021-12-17T15:23:06.000Z | 2021-12-17T15:23:06.000Z |
/**
* gemm_sequential.cpp
*
* Implements the gemm-based convolution algorithm in forward propagation mode.
*/
#include "../utils.hpp"
/**
* Transforms a 3D input tensor into a 2D matrix.
*/
void im2col(float *y, float *x) {
int c, h, w, r, s, p, q, row, col;
int hw=H*W, pq=P*Q, rspq=R*S*P*Q;
for (c = ... | 24.204301 | 79 | 0.571746 | [
"vector",
"3d"
] |
81b613b81c4ba86a989638f8e2b9692c460a5dbe | 4,072 | hpp | C++ | libs/boost_process/boost/process/environment.hpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 192 | 2015-02-13T14:53:59.000Z | 2022-03-29T11:18:58.000Z | libs/boost_process/boost/process/environment.hpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 48 | 2015-01-06T22:00:53.000Z | 2022-01-15T18:22:46.000Z | libs/boost_process/boost/process/environment.hpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 51 | 2015-01-16T00:55:16.000Z | 2022-02-05T03:09:30.000Z | //
// Boost.Process
//
// Copyright (c) 2006 Julio M. Merino Vidal.
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt.)
//
//!
//! \file boost/process/environment.hpp
//!
//! Includes the declaratio... | 29.507246 | 78 | 0.597495 | [
"object"
] |
81bab2727c3d673aafc804bd726e7720bd0f2f08 | 12,017 | hpp | C++ | inc/rasters/entities/Grid/convenience.hpp | davidson16807/libtectonics | aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646 | [
"CC-BY-4.0"
] | 7 | 2020-06-09T19:56:55.000Z | 2021-02-17T01:53:30.000Z | inc/rasters/entities/Grid/convenience.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | inc/rasters/entities/Grid/convenience.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | #pragma once
#include <cmath>
#include <series/relational.hpp>
#include <series/common.hpp>
#include <series/glm/geometric.hpp>
#include "Raster.hpp"
/*
"convenience.hpp" contains functions that pass output as return values rather than using using output parameters
This provides convenience at the expense of perform... | 38.270701 | 190 | 0.676375 | [
"transform"
] |
81bbeb6152e0564af7c8070837d31ac9447c3990 | 25,727 | cpp | C++ | src/chainparams.cpp | ESIRInvestments/ESIRInvestments | f457e4bf68f2749e061ee2b9dd20bc3d7aa62944 | [
"MIT"
] | null | null | null | src/chainparams.cpp | ESIRInvestments/ESIRInvestments | f457e4bf68f2749e061ee2b9dd20bc3d7aa62944 | [
"MIT"
] | null | null | null | src/chainparams.cpp | ESIRInvestments/ESIRInvestments | f457e4bf68f2749e061ee2b9dd20bc3d7aa62944 | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Copyright (c) 2021 The ESIR developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://w... | 53.486486 | 242 | 0.715124 | [
"vector"
] |
81bc7f9ac0fed4dde5f0d40868230f3274f9fa7b | 5,307 | cpp | C++ | svm/main.cpp | ShoupingShan/Hyperspectral-image-target-detection-based-on-sparse-representation | 109f59dc6e7e09d9f13dad4f587ddc706683f7a9 | [
"MIT"
] | 56 | 2017-09-20T11:34:03.000Z | 2022-03-28T06:42:12.000Z | svm/main.cpp | zx4829468/Hyperspectral-image-target-detection-based-on-sparse-representation | 109f59dc6e7e09d9f13dad4f587ddc706683f7a9 | [
"MIT"
] | null | null | null | svm/main.cpp | zx4829468/Hyperspectral-image-target-detection-based-on-sparse-representation | 109f59dc6e7e09d9f13dad4f587ddc706683f7a9 | [
"MIT"
] | 25 | 2017-12-13T13:40:40.000Z | 2021-08-04T11:50:48.000Z | #include <iostream>
#include"opencv2/opencv.hpp"
#include"opencv2/core/core.hpp"
#include"opencv2/imgproc/imgproc.hpp"
#include"opencv2/highgui/highgui.hpp"
#include"opencv2/ml/ml.hpp"
#include<cstdlib>
#include<stdio.h>
#include<string.h>
#define TESTNUM 3334 ///测试样本数
#define TRAINNUM 6666 ///训练样本数... | 23.691964 | 71 | 0.548898 | [
"vector"
] |
81be8cb197a773fe06535ae88ac0b6e2c61e2118 | 1,680 | hpp | C++ | src/fixie_lib/vertex_attribute.hpp | vonture/fixie | 7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc | [
"MIT"
] | 7 | 2015-01-09T22:08:17.000Z | 2021-10-12T10:32:58.000Z | src/fixie_lib/vertex_attribute.hpp | vonture/fixie | 7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc | [
"MIT"
] | 1 | 2015-08-19T07:51:53.000Z | 2015-08-19T07:51:53.000Z | src/fixie_lib/vertex_attribute.hpp | vonture/fixie | 7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc | [
"MIT"
] | 5 | 2015-08-20T07:10:23.000Z | 2022-03-24T07:09:10.000Z | #ifndef _FIXIE_LIB_VERTEX_ATTRIBUTE_HPP_
#define _FIXIE_LIB_VERTEX_ATTRIBUTE_HPP_
#include "fixie/fixie_gl_types.h"
#include "fixie_lib/vector.hpp"
#include "fixie_lib/buffer.hpp"
namespace fixie
{
class vertex_attribute
{
public:
vertex_attribute();
GLboolean& attribute_enabled();
... | 25.074627 | 102 | 0.671429 | [
"vector"
] |
81c1dd7f0c19f03fe9689435ea76f478f861bf9c | 12,169 | cpp | C++ | src/demos/fea/demo_FEA_brick.cpp | keonjoe/chrono | b597d9ef2e8d40a995a52247f6a39780febb035c | [
"BSD-3-Clause"
] | null | null | null | src/demos/fea/demo_FEA_brick.cpp | keonjoe/chrono | b597d9ef2e8d40a995a52247f6a39780febb035c | [
"BSD-3-Clause"
] | null | null | null | src/demos/fea/demo_FEA_brick.cpp | keonjoe/chrono | b597d9ef2e8d40a995a52247f6a39780febb035c | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 44.738971 | 123 | 0.595612 | [
"mesh",
"geometry"
] |
81c4f4c8f78a3b1ced815281124d2312ea632f9a | 4,985 | cpp | C++ | Tank/Graphics/Image.cpp | tank-dev/tank | eb7e07eeec8ee047eb372cf80b55563d64400658 | [
"BSL-1.0"
] | 10 | 2015-04-16T22:57:21.000Z | 2022-03-25T12:18:59.000Z | Tank/Graphics/Image.cpp | tank-dev/tank | eb7e07eeec8ee047eb372cf80b55563d64400658 | [
"BSL-1.0"
] | 4 | 2015-02-17T20:58:34.000Z | 2016-06-06T09:42:29.000Z | Tank/Graphics/Image.cpp | tank-dev/tank | eb7e07eeec8ee047eb372cf80b55563d64400658 | [
"BSL-1.0"
] | 3 | 2015-03-15T07:58:44.000Z | 2022-03-25T12:39:50.000Z | // Copyright (©) Jamie Bayne, David Truby, David Watson 2013-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "Image.hpp"
#include <cmath>
#include <SFML/Graphics/RenderWindow.hpp>
#include "../S... | 26.236842 | 77 | 0.622869 | [
"model",
"transform"
] |
81c8236d5e78aeb7a4ddeff349132f34103ac836 | 1,589 | cpp | C++ | GeeksForGeeks/C Plus Plus/Find_duplicates_in_an_array.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 4 | 2021-06-19T14:15:34.000Z | 2021-06-21T13:53:53.000Z | GeeksForGeeks/C Plus Plus/Find_duplicates_in_an_array.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 2 | 2021-07-02T12:41:06.000Z | 2021-07-12T09:37:50.000Z | GeeksForGeeks/C Plus Plus/Find_duplicates_in_an_array.cpp | ankit-sr/Competitive-Programming | 3397b313b80a32a47cfe224426a6e9c7cf05dec2 | [
"MIT"
] | 3 | 2021-06-19T15:19:20.000Z | 2021-07-02T17:24:51.000Z | /*
Problem Statement:
------------------
Given an array a[] of size N which contains elements from 0 to N-1, you need to find all the elements occurring more than once in the given array.
Example 1:
----------
Input:
N = 4
a[] = {0,3,1,2}
Output: -1
Explanation: N=4 and all elements from 0 to (N-1 = 3) are present in ... | 24.446154 | 146 | 0.560101 | [
"vector"
] |
81cb22c210ca7948dea1353d52fb75f123082d9e | 1,315 | cpp | C++ | P/1726.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2020-09-13T02:51:25.000Z | 2020-09-13T02:51:25.000Z | P/1726.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | null | null | null | P/1726.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2021-06-05T03:37:57.000Z | 2021-06-05T03:37:57.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <stack>
#include <vector>
#include <algorithm>
using namespace std;
const int inf=5005;
int n,m,sccco,sccno[inf],dfstime,pre[inf],low[inf],val[inf],maxvalue,maxfirst;
stack<int>s;
vector<int> adj[inf];
vector<int> ans[inf];
void tarjan(int u)
{
pre[u]=... | 17.77027 | 78 | 0.519392 | [
"vector"
] |
81cf6ac562de0523c28b0084229a868d531b706e | 1,297 | cc | C++ | src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc | samotarnik/grpc | 3278bdceda8030d5aa130f12765e5f07263c860d | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc | samotarnik/grpc | 3278bdceda8030d5aa130f12765e5f07263c860d | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc | samotarnik/grpc | 3278bdceda8030d5aa130f12765e5f07263c860d | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
*
* Copyright 2018 gRPC 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.880952 | 86 | 0.766384 | [
"vector"
] |
81d105bb08481514d2f94b05f486e75ac73e9ad0 | 16,223 | cpp | C++ | src/shogun/structure/BeliefPropagation.cpp | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/structure/BeliefPropagation.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/structure/BeliefPropagation.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2013 Shell Hu
* Copyright (C) 2013 Shell Hu
*... | 29.073477 | 100 | 0.66227 | [
"vector",
"transform"
] |
81d193958289cfea5e97e66050744f96b874f68c | 3,166 | cc | C++ | firestore/src/common/collection_reference.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | firestore/src/common/collection_reference.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | firestore/src/common/collection_reference.cc | NetsoftHoldings/firebase-cpp-sdk | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | [
"Apache-2.0"
] | null | null | null | #include "firestore/src/include/firebase/firestore/collection_reference.h"
#include "app/meta/move.h"
#include "app/src/include/firebase/future.h"
#include "firestore/src/common/futures.h"
#include "firestore/src/include/firebase/firestore/document_reference.h"
#if defined(__ANDROID__)
#include "firestore/src/android... | 31.346535 | 80 | 0.754896 | [
"object"
] |
81d489330b293ac9ed7db0ec55f571c01e7981d9 | 757 | cpp | C++ | Aula03/Ejercicio6_divisible_k.cpp | VanessaMMH/ProgComp2021A | 03a3e0394b26eb78801246c7d6b7888fe53141bd | [
"BSD-3-Clause"
] | null | null | null | Aula03/Ejercicio6_divisible_k.cpp | VanessaMMH/ProgComp2021A | 03a3e0394b26eb78801246c7d6b7888fe53141bd | [
"BSD-3-Clause"
] | null | null | null | Aula03/Ejercicio6_divisible_k.cpp | VanessaMMH/ProgComp2021A | 03a3e0394b26eb78801246c7d6b7888fe53141bd | [
"BSD-3-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Dados un número entero de matrices y un entero k,
devuelve el número de subarreglos no vacíos que tienen una suma divisible por k.
Una submatriz es una parte contigua de una matriz.
*/
int subarrays_div_k(vector<int>& v, int k) {
int c=0;
vector <int> suma;
... | 20.459459 | 81 | 0.494055 | [
"vector"
] |
81d6fb28351a9c2c45d1cc97fd748b7e9df710f4 | 4,712 | cpp | C++ | src/trackpoint_publisher_node.cpp | nilseuropa/spacecam_ros_bridge | a0936d888e4d88239336aabb5b95a85e438510e2 | [
"Unlicense"
] | null | null | null | src/trackpoint_publisher_node.cpp | nilseuropa/spacecam_ros_bridge | a0936d888e4d88239336aabb5b95a85e438510e2 | [
"Unlicense"
] | null | null | null | src/trackpoint_publisher_node.cpp | nilseuropa/spacecam_ros_bridge | a0936d888e4d88239336aabb5b95a85e438510e2 | [
"Unlicense"
] | null | null | null | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <opencv2/highgui/highgui.hpp>
#include <sensor_msgs/image_encodings.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/features2d.hpp>
#include <std_msgs/UInt16Mult... | 30.597403 | 115 | 0.637733 | [
"vector"
] |
81d859be8b591dca75781790fc422ceae0a77166 | 7,748 | cpp | C++ | src/test/util/threadpool_test.cpp | EndlessOpenSource/etheos | 01b4729b21c787e321fe27eb4ccf8ceb38032656 | [
"Zlib"
] | 5 | 2019-12-15T19:58:52.000Z | 2021-01-05T03:23:28.000Z | src/test/util/threadpool_test.cpp | EndlessOpenSource/etheos | 01b4729b21c787e321fe27eb4ccf8ceb38032656 | [
"Zlib"
] | 12 | 2019-12-10T21:47:57.000Z | 2020-11-06T06:01:52.000Z | src/test/util/threadpool_test.cpp | ethanmoffat/etheos | 15911c34d978fab10c60c4653e75b7e2bd0eafa2 | [
"Zlib"
] | 4 | 2021-06-23T07:55:42.000Z | 2022-02-07T08:34:09.000Z | #include <gtest/gtest.h>
#include "util/semaphore.hpp"
#include "util/threadpool.hpp"
using Semaphore = util::Semaphore;
using ThreadPool = util::ThreadPool;
#define SLEEP_MS(x) std::this_thread::sleep_for(std::chrono::milliseconds(x))
// Testing class that allows the thread pool to be instanced
// Prevents cross-t... | 26.996516 | 182 | 0.683015 | [
"vector"
] |
81e61b22b8318c1e38b91344a2bc051c453b7e03 | 3,686 | cpp | C++ | TSPWizard/Chooser.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 1 | 2021-02-08T20:31:46.000Z | 2021-02-08T20:31:46.000Z | TSPWizard/Chooser.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | null | null | null | TSPWizard/Chooser.cpp | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 4 | 2019-11-14T03:47:33.000Z | 2021-03-08T01:18:05.000Z | /******************************************************************************/
//
// CHOOSER.CPP - Implements the CDialogChooser object
//
// Copyright (C) 1998 Mark C. Smith... | 29.96748 | 80 | 0.474769 | [
"object"
] |
81e7a03c91e9be6d7226b9ddb0ec4fda3dc4d9a7 | 6,324 | cpp | C++ | src/TacticsVictory/common_files/GUI/Windows/ConsoleParserFunctions_.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | src/TacticsVictory/common_files/GUI/Windows/ConsoleParserFunctions_.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | src/TacticsVictory/common_files/GUI/Windows/ConsoleParserFunctions_.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | // (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by
#include "stdafx.h"
#include "GUI/Windows/Console_.h"
#include "GUI/Windows/WindowVariables_.h"
#include "Scene/SceneC.h"
bool ConsoleParser::FuncClient(Vector<String> &words, bool showInfo)
{
const ParserStruct structs[100] =
{
{(char *)"start", ... | 24.511628 | 152 | 0.578906 | [
"vector"
] |
81ec5ee4f15599a0259b33b361d180a264bc2ce2 | 16,628 | cc | C++ | dlp/dlp_adaptor.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | dlp/dlp_adaptor.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | dlp/dlp_adaptor.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Chromium OS 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 "dlp/dlp_adaptor.h"
#include <cstdint>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <utility>
#include <vector>
#... | 34.00409 | 80 | 0.695153 | [
"object",
"vector"
] |
81ed2688993a4b47a992573e0229c82957025db8 | 20,910 | cpp | C++ | Engine/src/Renderer/BatchRenderer.cpp | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | 1 | 2020-03-04T20:46:40.000Z | 2020-03-04T20:46:40.000Z | Engine/src/Renderer/BatchRenderer.cpp | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | null | null | null | Engine/src/Renderer/BatchRenderer.cpp | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "BatchRenderer.h"
#include <Gameplay/Components/Transform.h>
#include <Gameplay/Components/Mesh.h>
#include <Gameplay/Components/Image.h>
#include <Renderer/Material.h>
#include <Core/Timer.h>
namespace sixengine {
BatchRenderer* BatchRenderer::m_BatchRendererInstance = nullptr;
bool So... | 30.260492 | 144 | 0.677618 | [
"mesh",
"render",
"vector",
"model",
"transform"
] |
81f28ef7845f124cae0d95dcfccf0e6a85d8383b | 5,148 | cc | C++ | lib/tests/unit/modules/ping_test.cc | nicklewis/pxp-agent | 12a383fb3403760524008ec81e5c1fcfd9178452 | [
"Apache-2.0"
] | null | null | null | lib/tests/unit/modules/ping_test.cc | nicklewis/pxp-agent | 12a383fb3403760524008ec81e5c1fcfd9178452 | [
"Apache-2.0"
] | null | null | null | lib/tests/unit/modules/ping_test.cc | nicklewis/pxp-agent | 12a383fb3403760524008ec81e5c1fcfd9178452 | [
"Apache-2.0"
] | null | null | null | #include "../../common/content_format.hpp"
#include <pxp-agent/modules/ping.hpp>
#include <cpp-pcp-client/protocol/chunks.hpp> // ParsedChunks
#include <leatherman/json_container/json_container.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <catch.hpp>
#include <vector>
#include <algorit... | 33.647059 | 86 | 0.559829 | [
"mesh",
"vector"
] |
81f77037229bf7f03841e57bfff6e4d6adcc8b22 | 20,587 | cpp | C++ | dev/Code/Sandbox/Editor/TerrainMiniMapTool.cpp | crazyskateface/lumberyard | 164512f8d415d6bdf37e195af319ffe5f96a8f0b | [
"AML"
] | 5 | 2018-08-17T21:05:55.000Z | 2021-04-17T10:48:26.000Z | dev/Code/Sandbox/Editor/TerrainMiniMapTool.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/Sandbox/Editor/TerrainMiniMapTool.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 5 | 2017-12-05T16:36:00.000Z | 2021-04-27T06:33:54.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 32.677778 | 199 | 0.598144 | [
"object"
] |
3b52da731abf0761b14d68d5302beef8f308ae9d | 3,003 | cpp | C++ | source/code/programs/transcompilers/old_unilang/main/main.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/code/programs/transcompilers/old_unilang/main/main.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/code/programs/transcompilers/old_unilang/main/main.cpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | #include <locale>
#include <iostream>
//This is a boilerplate main that I think is nice to have in every program I write.
//No matter how small a program is, it inevitably grows,
//Its nice to have these facilities pre-implemented.
//Some may think this a bulky addon for every application.
//I think compilers are pr... | 38.012658 | 113 | 0.765235 | [
"object"
] |
3b57581c4357c6305a306a6fb17941a5f6fed939 | 34,482 | hpp | C++ | src/IO/Observer/ReductionActions.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/IO/Observer/ReductionActions.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/IO/Observer/ReductionActions.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <optional>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
#include "DataStructures/DataBox/DataBox.hpp"
#include "IO/H5/AccessType.hpp"
#include "IO/H5/Dat.... | 47.106557 | 80 | 0.638072 | [
"vector"
] |
3b5ebb01b7b625a604e3f78986b7e413439c18b9 | 12,336 | cpp | C++ | Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/DemandTextureImpl.cpp | hamiltonmj/LF-Render | 405faa0b94b5914a94c59152be1a7c6964a0fc7f | [
"MIT"
] | null | null | null | Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/DemandTextureImpl.cpp | hamiltonmj/LF-Render | 405faa0b94b5914a94c59152be1a7c6964a0fc7f | [
"MIT"
] | null | null | null | Optix Code/Optix7.3.0LightFIeldViewer/SDK/lib/DemandLoading/Textures/DemandTextureImpl.cpp | hamiltonmj/LF-Render | 405faa0b94b5914a94c59152be1a7c6964a0fc7f | [
"MIT"
] | null | null | null | //
// Copyright (c) 2021, NVIDIA CORPORATION. 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 co... | 41.959184 | 147 | 0.67915 | [
"object",
"vector"
] |
3b5f5b42ffbddcbd70b646fad6003425601e5a30 | 18,331 | cpp | C++ | NotPiGame/NotPiGame/Source/Player.cpp | TDCRanila/NotPiGame | 308c8c77c7865e1259b0fd2a56a040b20a3929b0 | [
"BSD-Source-Code"
] | 1 | 2020-10-29T11:12:26.000Z | 2020-10-29T11:12:26.000Z | NotPiGame/NotPiGame/Source/Player.cpp | TDCRanila/NotPiGame | 308c8c77c7865e1259b0fd2a56a040b20a3929b0 | [
"BSD-Source-Code"
] | null | null | null | NotPiGame/NotPiGame/Source/Player.cpp | TDCRanila/NotPiGame | 308c8c77c7865e1259b0fd2a56a040b20a3929b0 | [
"BSD-Source-Code"
] | null | null | null | #include "../Headers/Player.h"
#include "../Headers/ResourceManager.h"
#include "../Headers/Input.h"
#include "../Headers/ModelMatrix.h"
#include "../Headers/MD2Model.h"
#include "../Headers/Camera.h"
#include "../Headers/OBJModel.h"
#include "../Headers/Gun.h"
#include "../Headers/AmmoPack.h"
#include "../Headers/H... | 38.919321 | 164 | 0.690142 | [
"vector",
"model"
] |
3b65ac2f4f5ace1feee129927752a14fe3cc34b4 | 947 | cc | C++ | uva/11503.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | uva/11503.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | uva/11503.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | // https://uva.onlinejudge.org/external/115/11503.pdf
#include<bits/stdc++.h>
using namespace std;
using ii=tuple<int,int>;
using vi=vector<int>;
using vii=vector<ii>;
using msi=unordered_map<string,int>;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int t,m,u,v;
cin>>t;
while(t--){
cin>>m;
vii e(m... | 20.586957 | 53 | 0.482577 | [
"vector"
] |
3b6b77d1423ff31b7b20e9f10f2bfd28fc54a726 | 67,629 | cpp | C++ | test/polygon_event_point_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | 3 | 2021-10-16T16:22:52.000Z | 2022-02-07T21:41:34.000Z | test/polygon_event_point_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | 2 | 2021-10-17T10:25:35.000Z | 2022-01-30T18:32:19.000Z | test/polygon_event_point_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | null | null | null | #include "walnut/polygon_event_point.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace walnut {
using testing::AnyOf;
using testing::Eq;
using testing::IsEmpty;
using testing::SizeIs;
BSPPolygon<AABBConvexPolygon<>> MakeTriangle(
BSPContentId id, const HomoPoint3& start, const HomoPoint3& middle,
... | 43.379731 | 82 | 0.636251 | [
"vector"
] |
3b6c756243b4375255efad1ed2c6194666770458 | 5,206 | cpp | C++ | main.cpp | ryanpeach/openscan | 4ca32c45f624dc0d70f61ee9ea6ba488c544c0c6 | [
"MIT"
] | 37 | 2015-10-28T22:53:11.000Z | 2022-03-04T09:34:33.000Z | main.cpp | nicopace/openscan | 4ca32c45f624dc0d70f61ee9ea6ba488c544c0c6 | [
"MIT"
] | 22 | 2015-10-27T02:45:13.000Z | 2015-12-16T16:48:20.000Z | main.cpp | nicopace/openscan | 4ca32c45f624dc0d70f61ee9ea6ba488c544c0c6 | [
"MIT"
] | 7 | 2015-11-12T15:47:58.000Z | 2022-02-01T23:41:29.000Z | /**
* main.cpp
*
* Created on: Oct 31, 2015
* Author: Ryan Peach
*/
#include "tests.hpp"
#include "sliders.hpp"
#include "logger.hpp"
#define DESKTOP
#define TEST
#ifdef DESKTOP
// -------------- Window Manager Class -------------
class WindowManager {
private:
vector<Mat*> OUT;
vector<string>... | 27.114583 | 87 | 0.537265 | [
"vector"
] |
3b6dffaf9899efdab879a069f07f29ec1efd3705 | 5,986 | cpp | C++ | third_party/skia_m63/third_party/externals/angle2/util/shader_utils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 4 | 2019-10-18T05:53:30.000Z | 2021-08-21T07:36:37.000Z | third_party/skia_m63/third_party/externals/angle2/util/shader_utils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m63/third_party/externals/angle2/util/shader_utils.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 4 | 2018-10-14T00:17:11.000Z | 2020-07-01T04:01:25.000Z | //
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "shader_utils.h"
#include <vector>
#include <iostream>
#include <fstream>
static std::string ReadFileToString(const std::string ... | 27.585253 | 100 | 0.650351 | [
"vector"
] |
3b6e2950312b3b1c620c5d711b166a7f4efd55b6 | 4,943 | cpp | C++ | algorithms/constructive algorithms/LenaSort.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | algorithms/constructive algorithms/LenaSort.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | algorithms/constructive algorithms/LenaSort.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define MAXLENGTH 100000
vector<ll> lowerBounds (MAXLENGTH+1);
vector<ll> result (MAXLENGTH+1);
void setLowerBounds() {
ll n = MAXLENGTH;
lowerBounds[0] = 0;
for(ll i=1; i<=n; i++) {
if(i % 2 == 1)
lowerBounds[i] ... | 24.112195 | 81 | 0.484928 | [
"vector"
] |
3b6f151b82114b574df167f0372bd80213dc963b | 702 | hpp | C++ | code/include/common/graphics/drawables/menu/textboxes/TransparentTextBox.hpp | StuntHacks/infinite-dungeons | b462dd27c4e0f7285940e45d086b5d022fea23df | [
"MIT"
] | null | null | null | code/include/common/graphics/drawables/menu/textboxes/TransparentTextBox.hpp | StuntHacks/infinite-dungeons | b462dd27c4e0f7285940e45d086b5d022fea23df | [
"MIT"
] | null | null | null | code/include/common/graphics/drawables/menu/textboxes/TransparentTextBox.hpp | StuntHacks/infinite-dungeons | b462dd27c4e0f7285940e45d086b5d022fea23df | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "common/Singleton.hpp"
#include "common/graphics/Vertex.hpp"
#include "common/graphics/drawables/menu/TextBox.hpp"
namespace id {
namespace menu {
class TransparentTextBox: public TextBox, public id::Singleton<TransparentTextBox> {
friend class id::Singleton... | 28.08 | 92 | 0.616809 | [
"vector"
] |
3b71dcf40b121de811f40c03fd43121fe99cbd4e | 3,845 | cpp | C++ | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fonts/fontspec.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fonts/fontspec.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fonts/fontspec.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | /**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | 29.806202 | 97 | 0.647334 | [
"3d"
] |
3b7bf405fd1b290c9622a496a218307ae884d26f | 832 | cpp | C++ | lib/ExecutionEngine/Orc/NullResolver.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | lib/ExecutionEngine/Orc/NullResolver.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | lib/ExecutionEngine/Orc/NullResolver.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | //===---------- NullResolver.cpp - Reject symbol lookup requests ----------===//
//
// The LLVM37 Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | 29.714286 | 80 | 0.652644 | [
"object"
] |
3b7effd53c46006630a8468b26e9cf8c669d2662 | 60,902 | cpp | C++ | tests/InstrEngineTests/NaglerInstrumentationMethod/NaglerInstrumentationMethod.cpp | wiktork/CLRInstrumentationEngine | c33ca3b9aa0cfbd834a6dd0e4113252721cb3a7b | [
"MIT"
] | null | null | null | tests/InstrEngineTests/NaglerInstrumentationMethod/NaglerInstrumentationMethod.cpp | wiktork/CLRInstrumentationEngine | c33ca3b9aa0cfbd834a6dd0e4113252721cb3a7b | [
"MIT"
] | null | null | null | tests/InstrEngineTests/NaglerInstrumentationMethod/NaglerInstrumentationMethod.cpp | wiktork/CLRInstrumentationEngine | c33ca3b9aa0cfbd834a6dd0e4113252721cb3a7b | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "stdafx.h"
#include "NaglerInstrumentationMethod.h"
#pragma warning(push)
#pragma warning(disable: 4995) // disable so that memcpy, wmemcpy can be used
#include <sstream>
#pragma warning(pop)
#include "Util.h"
con... | 35.305507 | 209 | 0.637598 | [
"vector"
] |
3b84046160289da0173677ab7794002fcb855b7c | 6,115 | hpp | C++ | include/pisa/taily_stats.hpp | mrgrassho/pisa | 6a234b600aba88129159b98f608ac3a498125203 | [
"Apache-2.0"
] | null | null | null | include/pisa/taily_stats.hpp | mrgrassho/pisa | 6a234b600aba88129159b98f608ac3a498125203 | [
"Apache-2.0"
] | null | null | null | include/pisa/taily_stats.hpp | mrgrassho/pisa | 6a234b600aba88129159b98f608ac3a498125203 | [
"Apache-2.0"
] | 1 | 2021-02-27T11:46:50.000Z | 2021-02-27T11:46:50.000Z | #pragma once
#include <iostream>
#include <optional>
#include <gsl/span>
#include <mio/mmap.hpp>
#include <taily.hpp>
#include "binary_freq_collection.hpp"
#include "memory_source.hpp"
#include "query/queries.hpp"
#include "scorer/scorer.hpp"
#include "type_safe.hpp"
#include "util/progress.hpp"
#include "vec_map.hp... | 36.183432 | 103 | 0.626165 | [
"vector",
"transform"
] |
3b856f0aeafd6fbe690f2c809f158961d45d36a2 | 1,962 | cpp | C++ | src/Library/Geometry/TriangleMeshLoaderPSurf.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | 1 | 2018-12-20T19:31:02.000Z | 2018-12-20T19:31:02.000Z | src/Library/Geometry/TriangleMeshLoaderPSurf.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | src/Library/Geometry/TriangleMeshLoaderPSurf.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////
//
// TriangleMeshLoaderPSurf.cpp - Implements the surface loader
//
// Author: Aravind Krishnaswamy
// Date of Birth: March 26, 2003
// Tabs: 4
// Comments:
//
// License Information: Please see the attached LICENSE.TXT file
//
//////////////... | 26.513514 | 142 | 0.668196 | [
"mesh",
"geometry"
] |
3b89f4b713791cd1ba16eaa1a0b25c1f7ff0515c | 37,656 | cc | C++ | tensorflow/core/grappler/graph_analyzer/sig_node_test.cc | AdeshChoudhar/tensorflow | 1065fdc54e336a6278a4795ffa69c17c4336dfec | [
"Apache-2.0"
] | null | null | null | tensorflow/core/grappler/graph_analyzer/sig_node_test.cc | AdeshChoudhar/tensorflow | 1065fdc54e336a6278a4795ffa69c17c4336dfec | [
"Apache-2.0"
] | null | null | null | tensorflow/core/grappler/graph_analyzer/sig_node_test.cc | AdeshChoudhar/tensorflow | 1065fdc54e336a6278a4795ffa69c17c4336dfec | [
"Apache-2.0"
] | null | null | null | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 30.466019 | 80 | 0.675563 | [
"vector"
] |
3b8ab79a9f4cd3cfad4433a14cd372781a1e050d | 536 | cpp | C++ | brian2/devices/cpp_standalone/templates/group_variable_set.cpp | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | 674 | 2015-01-14T11:05:39.000Z | 2022-03-29T04:53:50.000Z | brian2/devices/cpp_standalone/templates/group_variable_set.cpp | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | 937 | 2015-01-05T13:24:22.000Z | 2022-03-25T13:10:13.000Z | brian2/devices/cpp_standalone/templates/group_variable_set.cpp | awillats/brian2 | e1107ed0cc4a7d6c69c1e2634b675ba09edfd9fc | [
"BSD-2-Clause"
] | 237 | 2015-01-05T13:54:16.000Z | 2022-03-15T22:16:32.000Z | {# USES_VARIABLES { _group_idx } #}
{% extends 'common_group.cpp' %}
{% block maincode %}
//// MAIN CODE ////////////
// scalar code
const size_t _vectorisation_idx = -1;
{{scalar_code|autoindent}}
{{ openmp_pragma('parallel-static') }}
for(int _idx_group_idx=0; _idx_group_idx<(int)_num_group_... | 28.210526 | 83 | 0.619403 | [
"vector"
] |
3b8bad0b81f7a4771122f04e05119b361aeb4992 | 17,355 | cc | C++ | chrome/common/profiler/thread_profiler.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/common/profiler/thread_profiler.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/common/profiler/thread_profiler.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/profiler/thread_profiler.h"
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/command... | 40.454545 | 80 | 0.756554 | [
"object",
"vector"
] |
3b8c047223075e67d9f27ab6ca58c5400282a60e | 724 | cc | C++ | CPP/No1.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No1.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No1.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | //
// Created by Monkey on 2020/5/5.
//
#include "iostream"
#include "vector"
using namespace std;
class Solution {
public:
vector<int> twoSum(vector<int> &nums, int target) {
vector<int> result;
for (int i = 0; i < nums.size(); i++) {
for (int j = i + 1; j < nums.size(); j++) {
... | 21.294118 | 55 | 0.447514 | [
"vector"
] |
3b8e5e641e2c77d7f5e1f1f7db83a78c2271f7d0 | 2,347 | cpp | C++ | src/Build2020Demo/DemoBuildCpp/DemoBuildCpp/DemoBuildCpp/App.xaml.cpp | ghost1372/WinUI-3-Demos | b625eb9e6fc264a0b116870a614c8229277b2c98 | [
"MIT"
] | 223 | 2020-05-20T06:33:41.000Z | 2022-03-26T20:53:31.000Z | src/Build2020Demo/DemoBuildCpp/DemoBuildCpp/DemoBuildCpp/App.xaml.cpp | acidburn0zzz/WinUI-3-Demos | e1263681f561bbc140adf7e67556030b0f970ee1 | [
"MIT"
] | 16 | 2020-05-21T07:12:07.000Z | 2022-03-21T11:16:29.000Z | src/Build2020Demo/DemoBuildCpp/DemoBuildCpp/DemoBuildCpp/App.xaml.cpp | acidburn0zzz/WinUI-3-Demos | e1263681f561bbc140adf7e67556030b0f970ee1 | [
"MIT"
] | 51 | 2020-05-20T07:40:21.000Z | 2022-03-10T13:21:33.000Z | #include "pch.h"
#include "App.xaml.h"
#include "MainWindow.xaml.h"
#include "microsoft.ui.xaml.window.h" //For using IWindowNative
using namespace winrt;
using namespace Windows::Foundation;
using namespace Microsoft::UI::Xaml;
using namespace Microsoft::UI::Xaml::Controls;
using namespace Microsoft::UI::Xaml::Navi... | 35.560606 | 103 | 0.713251 | [
"object"
] |
3b9201b2254325e5f124d5aaf726a4633cdad1aa | 9,525 | hpp | C++ | libs/vm/include/vm/ir.hpp | cyenyxe/ledger | 6b42c3a3a5c78d257a02634437f9e00d1439690b | [
"Apache-2.0"
] | null | null | null | libs/vm/include/vm/ir.hpp | cyenyxe/ledger | 6b42c3a3a5c78d257a02634437f9e00d1439690b | [
"Apache-2.0"
] | null | null | null | libs/vm/include/vm/ir.hpp | cyenyxe/ledger | 6b42c3a3a5c78d257a02634437f9e00d1439690b | [
"Apache-2.0"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... | 27.850877 | 99 | 0.661207 | [
"vector"
] |
3b94ee12a2e9f632bafec64fc85a725efbba9866 | 6,423 | cpp | C++ | src/resources.cpp | edave64/SeriousProton | 99dff093952fe6e8d38a40b887302f97c9b9535d | [
"MIT"
] | null | null | null | src/resources.cpp | edave64/SeriousProton | 99dff093952fe6e8d38a40b887302f97c9b9535d | [
"MIT"
] | null | null | null | src/resources.cpp | edave64/SeriousProton | 99dff093952fe6e8d38a40b887302f97c9b9535d | [
"MIT"
] | null | null | null | #include "resources.h"
#include <cstdio>
#include <filesystem>
#include <SDL.h>
#ifdef ANDROID
#include <jni.h>
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#endif
PVector<ResourceProvider> resourceProviders;
ResourceProvider::ResourceProvider()
{
resourceProviders.push_back(this);
... | 28.171053 | 136 | 0.613576 | [
"vector"
] |
3b98f3dfac0788ddc33dcff844284ca7fb22af13 | 17,634 | cpp | C++ | extensions/DRM/dream/TextMessage.cpp | mfkiwl/FlyDog_SDR_GPS | d4870af35e960282a3c1b7e6b41444be4cb53fab | [
"MIT"
] | 9 | 2020-09-22T17:26:17.000Z | 2022-03-10T17:58:03.000Z | extensions/DRM/dream/TextMessage.cpp | hikijun/FlyDog_SDR_GPS | d4870af35e960282a3c1b7e6b41444be4cb53fab | [
"MIT"
] | null | null | null | extensions/DRM/dream/TextMessage.cpp | hikijun/FlyDog_SDR_GPS | d4870af35e960282a3c1b7e6b41444be4cb53fab | [
"MIT"
] | 4 | 2021-02-10T16:13:19.000Z | 2021-09-21T08:04:25.000Z | /******************************************************************************\
* Technische Universitaet Darmstadt, Institut fuer Nachrichtentechnik
* Copyright (c) 2001-2004
*
* Author(s):
* Volker Fischer
*
* Description:
* Implementation of the text message application of section 6.5
*
******************... | 32.655556 | 84 | 0.496824 | [
"vector"
] |
3b9d47bdcb23072ffb532b90bedef5bcafb435f4 | 12,204 | hpp | C++ | test/unit/math/rev/mat/functor/util_algebra_solver.hpp | PhilClemson/math | fffe604a7ead4525be2551eb81578c5f351e5c87 | [
"BSD-3-Clause"
] | null | null | null | test/unit/math/rev/mat/functor/util_algebra_solver.hpp | PhilClemson/math | fffe604a7ead4525be2551eb81578c5f351e5c87 | [
"BSD-3-Clause"
] | null | null | null | test/unit/math/rev/mat/functor/util_algebra_solver.hpp | PhilClemson/math | fffe604a7ead4525be2551eb81578c5f351e5c87 | [
"BSD-3-Clause"
] | null | null | null | #include <gtest/gtest.h>
#include <stan/math/rev/mat/functor/algebra_solver_powell.hpp>
#include <stan/math/rev/mat/functor/algebra_solver_newton.hpp>
#include <test/unit/util.hpp>
#include <sstream>
#include <vector>
#include <limits>
#include <string>
/* wrapper function that either calls the dogleg or the newton so... | 38.620253 | 80 | 0.6098 | [
"vector"
] |
3ba7320a11d8874b3198dd3c07a5545b0bbf2688 | 3,439 | cpp | C++ | External/FEXCore/Source/Interface/Core/X86Tables.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | External/FEXCore/Source/Interface/Core/X86Tables.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | External/FEXCore/Source/Interface/Core/X86Tables.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | /*
$info$
meta: frontend|x86-tables ~ Metadata that drives the frontend x86/64 decoding
tags: frontend|x86-tables
$end_info$
*/
#include <FEXCore/Utils/LogManager.h>
#include <FEXCore/Core/Context.h>
#include <FEXCore/Debug/X86Tables.h>
#include <array>
#include <cstdint>
#include <tuple>
#include <vector>
namespace... | 29.904348 | 77 | 0.776388 | [
"vector"
] |
3ba98043a89c3f8bc1a0d03a6bb65be64f9fcdba | 12,080 | hpp | C++ | boost/network/protocol/http/parser.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | 1 | 2019-06-19T13:42:33.000Z | 2019-06-19T13:42:33.000Z | boost/network/protocol/http/parser.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | null | null | null | boost/network/protocol/http/parser.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | null | null | null | // This file is part of the Boost Network library
// Based on the Pion Network Library (r421)
// Copyright Atomic Labs, Inc. 2007-2008
// See http://cpp-netlib.sourceforge.net for library home page.
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
... | 38.349206 | 96 | 0.603808 | [
"object",
"vector"
] |
3baeda63432e3b7a53e58dcafa48ffc4278f896d | 1,320 | hpp | C++ | egl_x11/quaddrawable.hpp | darkenk/playground | ab1cf2585d27bdda65555bdd52aa7d7dafd9a430 | [
"MIT"
] | null | null | null | egl_x11/quaddrawable.hpp | darkenk/playground | ab1cf2585d27bdda65555bdd52aa7d7dafd9a430 | [
"MIT"
] | null | null | null | egl_x11/quaddrawable.hpp | darkenk/playground | ab1cf2585d27bdda65555bdd52aa7d7dafd9a430 | [
"MIT"
] | null | null | null | #ifndef QUADDRAWABLE_HPP
#define QUADDRAWABLE_HPP
#include "drawable.hpp"
#include "quadprogram.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/transform.hpp>
class QuadDrawable : public DKDrawable<QuadProgram>
{
public:
QuadDrawable(const glm::vec4& color): mColor(color), mUpdateMo... | 20.307692 | 98 | 0.6 | [
"transform"
] |
3bb149db6a6d7866559e764c5a9d96e003ced9fb | 3,119 | cpp | C++ | Modules/Segmentation/Rendering/mitkContourSetMapper2D.cpp | Sotatek-TuyenLuu/MITK_src | c17a156480f5bddf84c340eac62415d46fcc01ab | [
"BSD-3-Clause"
] | 1 | 2019-01-22T20:33:16.000Z | 2019-01-22T20:33:16.000Z | Modules/Segmentation/Rendering/mitkContourSetMapper2D.cpp | Sotatek-TuyenLuu/MITK_src | c17a156480f5bddf84c340eac62415d46fcc01ab | [
"BSD-3-Clause"
] | null | null | null | Modules/Segmentation/Rendering/mitkContourSetMapper2D.cpp | Sotatek-TuyenLuu/MITK_src | c17a156480f5bddf84c340eac62415d46fcc01ab | [
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 24.753968 | 88 | 0.619109 | [
"transform"
] |
3bb35da31c94474425ba427c2a304473b695b620 | 48,868 | cpp | C++ | src/v3_mib.cpp | jun1017/agent- | af57f5e52d3807fb82d2a8cc6e812149689e893a | [
"Apache-2.0"
] | null | null | null | src/v3_mib.cpp | jun1017/agent- | af57f5e52d3807fb82d2a8cc6e812149689e893a | [
"Apache-2.0"
] | null | null | null | src/v3_mib.cpp | jun1017/agent- | af57f5e52d3807fb82d2a8cc6e812149689e893a | [
"Apache-2.0"
] | null | null | null | /*_############################################################################
_##
_## AGENT++ 4.0 - v3_mib.cpp
_##
_## Copyright (C) 2000-2013 Frank Fock and Jochen Katz (agentpp.com)
_##
_## Licensed under the Apache License, Version 2.0 (the "License");
_## you may not use this file except ... | 27.940537 | 88 | 0.627609 | [
"object"
] |
3bb668b888b65a07f7d3a2cb2a3140a624547987 | 9,615 | cpp | C++ | src/GafferArnold/IECoreArnoldPreview/ShaderAlgo.cpp | danieldresser-ie/gaffer | 78c22487156a5800fcca49a24f52451a8ac0c559 | [
"BSD-3-Clause"
] | null | null | null | src/GafferArnold/IECoreArnoldPreview/ShaderAlgo.cpp | danieldresser-ie/gaffer | 78c22487156a5800fcca49a24f52451a8ac0c559 | [
"BSD-3-Clause"
] | null | null | null | src/GafferArnold/IECoreArnoldPreview/ShaderAlgo.cpp | danieldresser-ie/gaffer | 78c22487156a5800fcca49a24f52451a8ac0c559 | [
"BSD-3-Clause"
] | 1 | 2020-02-15T16:15:54.000Z | 2020-02-15T16:15:54.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2016, Image Engine Design 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:
//
// * R... | 32.928082 | 146 | 0.655746 | [
"vector"
] |
3bbc325b35c8832f5687406e5fe2df9a5a49caa8 | 17,671 | cpp | C++ | mitsuba-af602c6fd98a/src/emitters/sky.cpp | NTForked-ML/pbrs | 0b405d92c12d257e2581366542762c9f0c3facce | [
"MIT"
] | 139 | 2017-04-21T00:22:34.000Z | 2022-02-16T20:33:10.000Z | mitsuba-af602c6fd98a/src/emitters/sky.cpp | NTForked-ML/pbrs | 0b405d92c12d257e2581366542762c9f0c3facce | [
"MIT"
] | 11 | 2017-08-15T18:22:59.000Z | 2019-07-01T05:44:41.000Z | mitsuba-af602c6fd98a/src/emitters/sky.cpp | NTForked-ML/pbrs | 0b405d92c12d257e2581366542762c9f0c3facce | [
"MIT"
] | 30 | 2017-07-21T03:56:45.000Z | 2022-03-11T06:55:34.000Z | /*
This file is part of Mitsuba, a physically based rendering system.
Copyright (c) 2007-2014 by Wenzel Jakob and others.
Mitsuba is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License Version 3
as published by the Free Software Foundation.
Mitsuba is distr... | 36.968619 | 102 | 0.694132 | [
"render",
"vector",
"model",
"transform"
] |
3bbebae36723cac917148785513abc7d1c47808f | 5,768 | cc | C++ | testprograms/RegionTest/PatchBVHTest.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 3 | 2020-06-10T08:21:31.000Z | 2020-06-23T18:33:16.000Z | testprograms/RegionTest/PatchBVHTest.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | null | null | null | testprograms/RegionTest/PatchBVHTest.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 2 | 2019-12-30T05:48:30.000Z | 2020-02-12T16:24:16.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2019 The University of Utah
*
* 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
* right... | 27.864734 | 82 | 0.635576 | [
"vector"
] |
3bc4145ef222f6e7ffa1a621f243543e26044c43 | 4,709 | hpp | C++ | pyoptsparse/pyNOMAD/source/nomad_src/Signature_Element.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 26 | 2020-08-25T16:16:21.000Z | 2022-03-10T08:23:57.000Z | pyoptsparse/pyNOMAD/source/nomad_src/Signature_Element.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 90 | 2020-08-24T23:02:47.000Z | 2022-03-29T13:48:15.000Z | pyoptsparse/pyNOMAD/source/nomad_src/Signature_Element.hpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 25 | 2020-08-24T19:28:24.000Z | 2022-01-27T21:17:37.000Z | /*-------------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct search - version 3.7.1 */
/* */
/* Copyright (C) 2001-2015 Mark Abramson ... | 46.623762 | 91 | 0.430877 | [
"mesh",
"object"
] |
3bcad08860031efd5b6fb80ade928786a1ada533 | 361 | cpp | C++ | LeetCode/Array/118_Pascal's_Triangle.cpp | Shaownak/Data-Structures | 5077333755f27effcc7e454a446192294bc84a59 | [
"MIT"
] | null | null | null | LeetCode/Array/118_Pascal's_Triangle.cpp | Shaownak/Data-Structures | 5077333755f27effcc7e454a446192294bc84a59 | [
"MIT"
] | null | null | null | LeetCode/Array/118_Pascal's_Triangle.cpp | Shaownak/Data-Structures | 5077333755f27effcc7e454a446192294bc84a59 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> generate(int numRows) {
vector<vector<int>>v = {{1}};
for(int i=1; i<numRows; i++){
v.push_back({1});
for(int j=1; j<i; j++){
v[i].push_back(v[i-1][j]+v[i-1][j-1]);
}
v[i].push_back(... | 22.5625 | 54 | 0.407202 | [
"vector"
] |
3bd599fe8afd3940844d0a2e7e9c35e8719827c5 | 888 | cpp | C++ | UVa 13015 - Promotions/sample/13015 - Promotions.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 13015 - Promotions/sample/13015 - Promotions.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 13015 - Promotions/sample/13015 - Promotions.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <bits/stdc++.h>
using namespace std;
// O(VE)
const int MAXN = 5005;
int A, B, E, P;
vector<int> G[MAXN], invG[MAXN];
int used[MAXN] = {}, cases = 0;
int dfs(int u, vector<int> g[]) {
if (used[u] == cases) return 0;
used[u] = cases;
int ret = 1;
for (auto v : g[u])
ret += dfs(v, g);
return ret;
}
int ma... | 21.142857 | 52 | 0.489865 | [
"vector"
] |
3be1ff5dae0bec207472cc6e24ba40acd178e83c | 9,502 | hpp | C++ | include/zpp/condition_variable.hpp | lowlander/zpp | dd54ec07efdf746c3984acf6ecc4b9863c85ef53 | [
"Apache-2.0"
] | 12 | 2020-10-10T16:46:22.000Z | 2022-03-22T02:18:34.000Z | include/zpp/condition_variable.hpp | lowlander/zpp | dd54ec07efdf746c3984acf6ecc4b9863c85ef53 | [
"Apache-2.0"
] | 1 | 2022-01-19T23:38:25.000Z | 2022-03-13T12:37:58.000Z | include/zpp/condition_variable.hpp | lowlander/zpp | dd54ec07efdf746c3984acf6ecc4b9863c85ef53 | [
"Apache-2.0"
] | 2 | 2022-02-13T15:00:34.000Z | 2022-02-14T01:11:44.000Z | ///
/// Copyright (c) 2021 Erwin Rol <erwin@erwinrol.com>
///
/// SPDX-License-Identifier: Apache-2.0
///
#ifndef ZPP_INCLUDE_ZPP_CONDITION_VARIABLE_HPP
#define ZPP_INCLUDE_ZPP_CONDITION_VARIABLE_HPP
#include <kernel.h>
#include <sys/__assert.h>
#include <chrono>
#include <zpp/mutex.hpp>
#include <zpp/utils.hpp>
#i... | 25.61186 | 108 | 0.65944 | [
"object"
] |
3be3ea463f3f3a40d4620ea65fb98aa6a4209d7e | 2,080 | cpp | C++ | Classes/EntityManager.cpp | ConorHaining/ToTheTrains | 6ff294afd1a643e35964601a2cdbb77f4cdd8a4a | [
"MIT"
] | 2 | 2018-02-13T09:47:19.000Z | 2018-04-28T17:26:05.000Z | Classes/EntityManager.cpp | ConorHaining/ToTheTrains | 6ff294afd1a643e35964601a2cdbb77f4cdd8a4a | [
"MIT"
] | null | null | null | Classes/EntityManager.cpp | ConorHaining/ToTheTrains | 6ff294afd1a643e35964601a2cdbb77f4cdd8a4a | [
"MIT"
] | null | null | null | //
// Created by conor on 03/03/18.
//
#include "EntityManager.h"
EntityManager* EntityManager::instance = 0;
EntityManager::EntityManager() { }
EntityManager *EntityManager::getInstance() {
if (instance == 0) {
instance = new EntityManager();
}
return instance;
}
void EntityManager::create... | 20.8 | 106 | 0.634135 | [
"vector"
] |
3be4a193b236b3f3d49d29137cfe5c045773758f | 4,900 | cpp | C++ | game/src/ballistic.cpp | Luiy0/BokorsMistake | 004b888a1641f8349bbda0a06c86d7de00b2a3f2 | [
"MIT"
] | null | null | null | game/src/ballistic.cpp | Luiy0/BokorsMistake | 004b888a1641f8349bbda0a06c86d7de00b2a3f2 | [
"MIT"
] | null | null | null | game/src/ballistic.cpp | Luiy0/BokorsMistake | 004b888a1641f8349bbda0a06c86d7de00b2a3f2 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Ballistic.h"
ballistic::ballistic(){}
ballistic::~ballistic(){}
void ballistic::initialise(engine::ref<engine::game_object> object){
m_object = object;
m_object->set_scale(glm::vec3(0.03f, 0.03f, 0.03f));
m_object->set_position(glm::vec3(100.f, 100.f, 100.f));
m_rotational_inertia = (2... | 41.176471 | 144 | 0.724898 | [
"object",
"transform"
] |
3be5d332365f0457bfbd6c4387cd6c2182bd4bb9 | 2,955 | cpp | C++ | src/main.cpp | gaolichen/cftbtsp | e764b6ca339d6d68a5c6b6acd9f58ef64c628d47 | [
"MIT"
] | null | null | null | src/main.cpp | gaolichen/cftbtsp | e764b6ca339d6d68a5c6b6acd9f58ef64c628d47 | [
"MIT"
] | null | null | null | src/main.cpp | gaolichen/cftbtsp | e764b6ca339d6d68a5c6b6acd9f58ef64c628d47 | [
"MIT"
] | null | null | null | #include <vector>
#include "common.h"
#include "CftData.h"
#include "BootstrapRunner.h"
#include "EquationSolver.h"
#include "RandomAlgebricEquations.h"
#include "CrossingEquations.h"
#include <iostream>
using namespace std;
void Example()
{
BoostrapConfig bootstrapConfig;
bootstrapConfig.NumberOfScalarsToBoo... | 26.863636 | 64 | 0.67242 | [
"vector"
] |
3beaf8658018cdf667045551ec16d7ea3a411b27 | 6,322 | cpp | C++ | extern/bullet2/src/BulletCollision/CollisionShapes/btShapeHull.cpp | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | extern/bullet2/src/BulletCollision/CollisionShapes/btShapeHull.cpp | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7,584 | 2019-01-17T22:58:27.000Z | 2022-03-31T23:10:22.000Z | extern/bullet2/src/BulletCollision/CollisionShapes/btShapeHull.cpp | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
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 grant... | 36.97076 | 243 | 0.738374 | [
"shape"
] |
3bf16049a8c8731a4dc515a5d0e038d04cfdc8a8 | 3,895 | hh | C++ | src/bugengine/introspect/api/bugengine/introspect/node/node.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | src/bugengine/introspect/api/bugengine/introspect/node/node.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | src/bugengine/introspect/api/bugengine/introspect/node/node.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | /* BugEngine <bugengine.devel@gmail.com>
see LICENSE for detail */
#ifndef BE_INTROSPECT_NODE_NODE_HH_
#define BE_INTROSPECT_NODE_NODE_HH_
/**************************************************************************************************/
#include <bugengine/introspect/stdafx.h>
#include <bugengine/meta/value.hh>
... | 33.869565 | 100 | 0.596662 | [
"object",
"vector"
] |
3bf72e74e8f8451ced66e8d8890a56243218ff20 | 10,292 | cpp | C++ | bus-simulator/src/Utility.cpp | kasiabadio/bus-simulator | 49216bb2fdd601e150955ba66212649049e39d5c | [
"MIT"
] | 1 | 2022-03-21T12:05:52.000Z | 2022-03-21T12:05:52.000Z | bus-simulator/src/Utility.cpp | kasiabadio/bus-simulator | 49216bb2fdd601e150955ba66212649049e39d5c | [
"MIT"
] | null | null | null | bus-simulator/src/Utility.cpp | kasiabadio/bus-simulator | 49216bb2fdd601e150955ba66212649049e39d5c | [
"MIT"
] | null | null | null | #include "Utility.h"
void print_xyz(struct xyz& coords)
{
std::cout << coords.x << " " << coords.y << " " << coords.z << std::endl;
}
// extracting x, y, z from a .obj file
std::vector<float> find_numbers(std::string numbers_line)
{
std::stringstream s;
s << numbers_line;
std::string temp;
std::ve... | 36.239437 | 195 | 0.567723 | [
"object",
"vector"
] |
0ec88f1931952d796db7d84ac9bfc0c481349ee1 | 551 | cpp | C++ | LeetCode/Find Kth Largest XOR Coordinate Value/main.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | LeetCode/Find Kth Largest XOR Coordinate Value/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | LeetCode/Find Kth Largest XOR Coordinate Value/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | class Solution {
public:
int kthLargestValue(vector<vector<int>> &matrix, int k) {
int n = matrix.size(), m = matrix[0].size();
for (int i = 1; i < n; i++) {
for (int j = 0; j < m; j++) {
matrix[i][j] ^= matrix[i - 1][j];
}
}
for (int j = 1; j < m; j++) {
for (int i = 0; i < n; i++) {
matrix... | 22.958333 | 58 | 0.491833 | [
"vector"
] |
0ecc45b16dbf6010ddf3b5d71a38d120c1118577 | 658 | cpp | C++ | #0221.maximal-square.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0221.maximal-square.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0221.maximal-square.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | class Solution {
public:
int maximalSquare(vector<vector<char>>& matrix) {
int row = matrix.size();
if (row == 0) {
return 0;
}
int col = matrix[0].size();
vector<vector<int>> v(row + 1, vector(col + 1, 0));
int max = 0;
for (int i = 1; i <= row;... | 26.32 | 84 | 0.361702 | [
"vector"
] |
0eccd1bbeca806c70b86ddcee622e827ec46f17f | 1,125 | cpp | C++ | src/ParallelTask.cpp | SkyZH/CAHRR | ab24d3e437962caf7e545dac135fafa7537c40b0 | [
"MIT"
] | null | null | null | src/ParallelTask.cpp | SkyZH/CAHRR | ab24d3e437962caf7e545dac135fafa7537c40b0 | [
"MIT"
] | 1 | 2018-10-27T02:48:35.000Z | 2018-10-27T02:50:35.000Z | src/ParallelTask.cpp | SkyZH/CAHRR | ab24d3e437962caf7e545dac135fafa7537c40b0 | [
"MIT"
] | null | null | null | //
// Created by Alex Chi on 2018/11/12.
//
#include "ParallelTask.h"
bool ParallelTask::initialize() {
bool result = true;
for (std::vector <Task*> ::const_iterator iter = this->tasks.begin(); iter != this->tasks.end(); iter++) {
result = result && (*iter)->initialize();
}
return result;
}
b... | 26.785714 | 110 | 0.592889 | [
"vector"
] |
0ed1d02a61e9d64fa0fe70674a7e277f8e4af361 | 6,322 | cpp | C++ | gym_battlesnake/src/gameinstance.cpp | jpulmano/gym-battlesnake | 33eca80846528d7ef441a8a315813dd1644bf058 | [
"MIT"
] | null | null | null | gym_battlesnake/src/gameinstance.cpp | jpulmano/gym-battlesnake | 33eca80846528d7ef441a8a315813dd1644bf058 | [
"MIT"
] | null | null | null | gym_battlesnake/src/gameinstance.cpp | jpulmano/gym-battlesnake | 33eca80846528d7ef441a8a315813dd1644bf058 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <chrono>
#include <cstring>
#include <random>
#include "gameinstance.h"
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_real_distribution<> dis(0.0, 1.0);
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
auto g = std::default_rando... | 27.017094 | 76 | 0.610883 | [
"vector"
] |
0edb0fce8778c8a8309b6ac6dbba5d1df3ece435 | 15,149 | cpp | C++ | common/utility/src/XMLReader.cpp | cbtek/CommonUtils | 0574fec085651f261e7bd3618db2b3ad3e6f5c48 | [
"MIT"
] | null | null | null | common/utility/src/XMLReader.cpp | cbtek/CommonUtils | 0574fec085651f261e7bd3618db2b3ad3e6f5c48 | [
"MIT"
] | null | null | null | common/utility/src/XMLReader.cpp | cbtek/CommonUtils | 0574fec085651f261e7bd3618db2b3ad3e6f5c48 | [
"MIT"
] | null | null | null | /**
MIT License
Copyright (c) 2016 cbtek
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, publish,... | 26.577193 | 84 | 0.491188 | [
"vector"
] |
0edbf387370af6b18a22556d862f8619637e8610 | 1,299 | cpp | C++ | Source/Shared/http_call_request_message.cpp | claytonv/xbox-live-api | d8db86cf930085c7547ae95999c9b301506de343 | [
"MIT"
] | 3 | 2020-07-15T17:50:24.000Z | 2021-11-17T11:15:11.000Z | Source/Shared/http_call_request_message.cpp | CameronGoodwin/xbox-live-api | ee0c3ee2413f2fed6a373df4b26035792e922fe2 | [
"MIT"
] | null | null | null | Source/Shared/http_call_request_message.cpp | CameronGoodwin/xbox-live-api | ee0c3ee2413f2fed6a373df4b26035792e922fe2 | [
"MIT"
] | 1 | 2017-06-22T21:17:58.000Z | 2017-06-22T21:17:58.000Z | // Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "pch.h"
#include "shared_macros.h"
#include "xsapi/http_call_request_message.h"
NAMESPACE_MICROSOFT_XBOX_SERVICES_CPP_BEGIN
http_call_request_message::http_call_reques... | 26.510204 | 101 | 0.818322 | [
"vector"
] |
0edd9dc2e03e4215536e603dbfcbbab5cfea333c | 17,762 | cpp | C++ | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/feature/descriptor_toolbox/renderpatch.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/feature/descriptor_toolbox/renderpatch.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/feature/descriptor_toolbox/renderpatch.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | #include "mex.h"
#include "math.h"
#include "string.h"
#include <iostream>
#include "stdlib.h"
#define mind(a, b) ((a) < (b) ? (a): (b))
#define maxd(a, b) ((a) > (b) ? (a): (b))
#include "renderpatch_transformation.cpp"
#include "renderpatch_vertice.cpp"
#include "renderpatch_texture.cpp"
#include "rende... | 46.989418 | 154 | 0.651334 | [
"mesh",
"render",
"object",
"model"
] |
0ede386c3d88db111451340b004a5928531eeef1 | 16,191 | cpp | C++ | third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "bindings/core/v8/ScriptPromiseProperty.h"
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScriptFunction.h"
#include "... | 33.314815 | 80 | 0.709839 | [
"object"
] |
0ee2ae0cd8e7d545a3118c83b26226f0b2235a1a | 8,559 | cc | C++ | src/index_collection.cc | DavisVaughan/vroom | d1799d51197f1631c38aa28f461f172bec6ca24e | [
"MIT"
] | 1 | 2021-08-09T16:36:35.000Z | 2021-08-09T16:36:35.000Z | src/index_collection.cc | DavisVaughan/vroom | d1799d51197f1631c38aa28f461f172bec6ca24e | [
"MIT"
] | null | null | null | src/index_collection.cc | DavisVaughan/vroom | d1799d51197f1631c38aa28f461f172bec6ca24e | [
"MIT"
] | null | null | null | #include <cpp11/function.hpp>
#include "delimited_index_connection.h"
#include "fixed_width_index.h"
#include "fixed_width_index_connection.h"
#include "index.h"
#include "index_collection.h"
#include <memory>
#include <utility>
#include "r_utils.h"
using namespace vroom;
// Class index_collection::column::iterator... | 22.885027 | 79 | 0.600654 | [
"vector"
] |
0ee57556557cf9f235681774a94a9ea3c0453255 | 4,344 | cc | C++ | tensorflow/compiler/plugin/poplar/driver/tools/poplar_executable_binary_file.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/driver/tools/poplar_executable_binary_file.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/plugin/poplar/driver/tools/poplar_executable_binary_file.cc | pierricklee/tensorflow | c6a61d7b19a9242b06f40120ab42f0fdb0b5c462 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 35.606557 | 89 | 0.675414 | [
"vector"
] |
0ee5962d4e363aa19bb7a60f1517adfce3ed6494 | 3,546 | hpp | C++ | sidebar.hpp | austonst/chess2 | 8bb764999d07271d2d8f35f3381841412481e32f | [
"MIT"
] | null | null | null | sidebar.hpp | austonst/chess2 | 8bb764999d07271d2d8f35f3381841412481e32f | [
"MIT"
] | 7 | 2015-03-08T04:44:46.000Z | 2016-01-19T21:13:21.000Z | sidebar.hpp | austonst/chess2 | 8bb764999d07271d2d8f35f3381841412481e32f | [
"MIT"
] | null | null | null | /*
-----Sidebar Class Header-----
Auston Sterling
austonst@gmail.com
A renderable SDL sidebar for Chess 2. This is a modular system consisting of
objects laid out vertically.
Sidebar objects are copied when given to the sidebar, but can be later accessed
and modified if needed.
Each sidebar object ha... | 30.834783 | 82 | 0.736605 | [
"render",
"object"
] |
0ee61485a9566976b79bd62f49d5dad0aea78170 | 1,296 | hpp | C++ | src/Modules/GUIModule/GUI/ofxGui/ofxNavigator.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/GUIModule/GUI/ofxGui/ofxNavigator.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/GUIModule/GUI/ofxGui/ofxNavigator.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | //
// ofxNavigator.hpp
// orange
//
// Created by Daniel Almeida on 23/01/2019.
//
#ifndef ofxNavigator_hpp
#define ofxNavigator_hpp
#include <stdio.h>
#include "ofxBaseGui.h"
#include "ofParameter.h"
#include "ofxInputField.h"
#include "ofxPaginatedInterface.h"
class ofxNavigator : public ofxBaseGui {
frien... | 23.142857 | 120 | 0.695988 | [
"render"
] |
0ee8d7a8288f0c2d1337d4051a0b0343557ec24b | 596 | cpp | C++ | codeforces/1269/B/1269B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | codeforces/1269/B/1269B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | codeforces/1269/B/1269B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
vector<int> a(n), b(n);
for(auto &v:a)
{
cin >> v;
v %= m;
}
for(auto &v:b)
cin >> v;
sort(a.begin(), a.end());
sort(b.begin(), b.end());
int ans = INT_MAX;
for(int i ... | 18.625 | 58 | 0.38255 | [
"vector"
] |
0eee1af0dcd4f1e93454d196c9fa1d8514fd9255 | 47,402 | cpp | C++ | plugins/resources/roundrobin/libroundrobin.cpp | nesi/irods | 49eeaf76305fc483f21b1bbfbdd77d540b59cfd2 | [
"BSD-3-Clause"
] | null | null | null | plugins/resources/roundrobin/libroundrobin.cpp | nesi/irods | 49eeaf76305fc483f21b1bbfbdd77d540b59cfd2 | [
"BSD-3-Clause"
] | null | null | null | plugins/resources/roundrobin/libroundrobin.cpp | nesi/irods | 49eeaf76305fc483f21b1bbfbdd77d540b59cfd2 | [
"BSD-3-Clause"
] | null | null | null | // =-=-=-=-=-=-=-
// legacy irods includes
#include "msParam.hpp"
#include "reGlobalsExtern.hpp"
#include "miscServerFunct.hpp"
// =-=-=-=-=-=-=-
//
#include "irods_resource_plugin.hpp"
#include "irods_file_object.hpp"
#include "irods_physical_object.hpp"
#include "irods_collection_object.hpp"
#include "irods_string_t... | 36.632148 | 120 | 0.515379 | [
"object",
"vector"
] |
0eee9c0a6a4b1318c7775e7ad314556c514783a9 | 3,186 | cpp | C++ | Leetcode/Course Schedule/solution.cpp | arushmangal/Hack-CP-DSA | 91f5aabc4741c1c518f35065273c7fcfced67061 | [
"MIT"
] | 205 | 2021-09-30T15:41:05.000Z | 2022-03-27T18:34:56.000Z | Leetcode/Course Schedule/solution.cpp | arushmangal/Hack-CP-DSA | 91f5aabc4741c1c518f35065273c7fcfced67061 | [
"MIT"
] | 566 | 2021-09-30T15:27:27.000Z | 2021-10-16T21:21:02.000Z | Leetcode/Course Schedule/solution.cpp | arushmangal/Hack-CP-DSA | 91f5aabc4741c1c518f35065273c7fcfced67061 | [
"MIT"
] | 399 | 2021-09-29T05:40:46.000Z | 2022-03-27T18:34:58.000Z |
/*
Intuition:-
- We have to construct a Directed Graph with node 'u' directed to 'v'
such that, in each pair of (u,v), 'u' will denote the prerequisite courses to be done to reach 'v'
- Here, we have to detect in our contructed Graph, if there is a deadlock present will prevent
us from doing ... | 39.333333 | 122 | 0.585687 | [
"vector"
] |
0ef268098949c988535bfbdcdc904825c95ad2d0 | 1,781 | cpp | C++ | sort/bucket_sort.cpp | FrancsXiang/DataStructure-Algorithms | f8f9e6d7be94057b955330cb7058235caef5cfed | [
"MIT"
] | 1 | 2020-04-14T05:44:50.000Z | 2020-04-14T05:44:50.000Z | sort/bucket_sort.cpp | FrancsXiang/DataStructure-Algorithms | f8f9e6d7be94057b955330cb7058235caef5cfed | [
"MIT"
] | null | null | null | sort/bucket_sort.cpp | FrancsXiang/DataStructure-Algorithms | f8f9e6d7be94057b955330cb7058235caef5cfed | [
"MIT"
] | 2 | 2020-09-02T08:56:31.000Z | 2021-06-22T11:20:58.000Z | //bucket_sort implementation by array.
//you could learn more about the bucket_sort extension knowledge which is widely used in Hadoop,Tero_sort.
//strategy:
//1.make sure of the range of datasets.
//2.make uniform splits on the datasets.
//3.group the data into several buckets.
//4.sort on each bucket parallelly.
//... | 32.381818 | 106 | 0.59461 | [
"vector"
] |
0ef6045ecc79db690d37691ede0535df48c74a08 | 8,758 | cxx | C++ | Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 33.555556 | 149 | 0.622859 | [
"3d"
] |
0ef692d2211fb72e992afded86d66b6ca915538c | 11,406 | cpp | C++ | llpc/context/llpcGraphicsContext.cpp | piotrAMD/llpc | fa3b03b915a3df0c8ae2289f16eedd59ac39da6e | [
"MIT"
] | null | null | null | llpc/context/llpcGraphicsContext.cpp | piotrAMD/llpc | fa3b03b915a3df0c8ae2289f16eedd59ac39da6e | [
"MIT"
] | null | null | null | llpc/context/llpcGraphicsContext.cpp | piotrAMD/llpc | fa3b03b915a3df0c8ae2289f16eedd59ac39da6e | [
"MIT"
] | null | null | null | /*
***********************************************************************************************************************
*
* Copyright (c) 2016-2020 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 44.03861 | 120 | 0.640452 | [
"geometry"
] |
0ef6ec509631090f27bd20fee59a8503a8dda674 | 4,637 | cpp | C++ | src/vision_engine.cpp | qaz734913414/mnn_example | f9b4136425fe88c78b4fd1ff49c1d65547ed1656 | [
"MIT"
] | 171 | 2020-02-05T15:10:31.000Z | 2022-03-28T12:05:43.000Z | src/vision_engine.cpp | qaz734913414/mnn_example | f9b4136425fe88c78b4fd1ff49c1d65547ed1656 | [
"MIT"
] | 32 | 2020-03-02T00:40:15.000Z | 2021-08-20T01:00:43.000Z | src/vision_engine.cpp | qaz734913414/mnn_example | f9b4136425fe88c78b4fd1ff49c1d65547ed1656 | [
"MIT"
] | 51 | 2020-03-04T09:05:28.000Z | 2022-02-24T07:34:16.000Z | #include "vision_engine.h"
#include <iostream>
#include "classifier/classifier.h"
#include "object/object_engine.h"
#include "face/face_engine.h"
#include "object/object_engine.h"
namespace mirror {
class VisionEngine::Impl {
public:
Impl() {
face_engine_ = new FaceEngine();
object_engine_ = new ... | 28.98125 | 119 | 0.644382 | [
"object",
"vector"
] |
0efbeb40ad9a4d46b411905408d28c4e46a66120 | 3,219 | cc | C++ | shell/browser/login_handler.cc | itsananderson/electron | 74acd17771afdfd3f69d8004d5c5c34deb55a945 | [
"MIT"
] | 3 | 2020-11-10T02:37:06.000Z | 2021-11-07T02:41:07.000Z | shell/browser/login_handler.cc | itsananderson/electron | 74acd17771afdfd3f69d8004d5c5c34deb55a945 | [
"MIT"
] | 7 | 2020-04-06T23:42:22.000Z | 2022-03-26T01:42:54.000Z | shell/browser/login_handler.cc | itsananderson/electron | 74acd17771afdfd3f69d8004d5c5c34deb55a945 | [
"MIT"
] | 1 | 2020-10-12T04:47:57.000Z | 2020-10-12T04:47:57.000Z | // Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/login_handler.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/callback.h"
#include "base/strings/string16.h"
#inclu... | 33.185567 | 79 | 0.717304 | [
"object",
"vector"
] |
0efd610b81e45276c19984ff6c8dbc9b552c4ac9 | 670 | cpp | C++ | DOJ/#607.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | DOJ/#607.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | 1 | 2021-11-18T15:10:29.000Z | 2021-11-20T07:13:31.000Z | DOJ/#607.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | /*
* @author Nickel_Angel (1239004072@qq.com)
* @copyright Copyright (c) 2022
*/
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <vector>
const int maxn = 1e6 + 10;
int n, A, cnt[maxn];
int main()
{
scanf("%d", &n);
for (int i = 1, x; i <= n; ++i)
{
scanf("%d", &x);
A =... | 19.142857 | 53 | 0.420896 | [
"vector"
] |
1602d217ec49f2106313193c8b62444f84978c23 | 1,193 | cc | C++ | puzzle-23-01/main.cc | matt-gretton-dann/advent-of-code-2020 | 39765ebe1456a433ce7200c6772e090a159a69ec | [
"Apache-2.0"
] | null | null | null | puzzle-23-01/main.cc | matt-gretton-dann/advent-of-code-2020 | 39765ebe1456a433ce7200c6772e090a159a69ec | [
"Apache-2.0"
] | null | null | null | puzzle-23-01/main.cc | matt-gretton-dann/advent-of-code-2020 | 39765ebe1456a433ce7200c6772e090a159a69ec | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <array>
#include <cassert>
#include <iostream>
#include <list>
#include <map>
#include <regex>
#include <set>
#include <string>
#include <tuple>
#include <vector>
struct Cups {
Cups(std::string const &s) : s_(s) {
std::cout << "Initial state: " << s_ << "\n";
}
void play(unsign... | 22.942308 | 75 | 0.538139 | [
"vector"
] |
1605bd5df49a8d8a5e5e3f1bbfc3362187c2d4ca | 7,439 | cpp | C++ | 1_Widgets/1_4_Widgets_Surfing/src/ofApp.cpp | moebiussurfing/ofxSurfingImGui | d12a3f75f99c8737d956c52077b6e9f0463fe7d9 | [
"MIT"
] | 11 | 2021-06-27T09:02:07.000Z | 2022-03-13T07:40:36.000Z | 1_Widgets/1_4_Widgets_Surfing/src/ofApp.cpp | moebiussurfing/ofxSurfingImGui | d12a3f75f99c8737d956c52077b6e9f0463fe7d9 | [
"MIT"
] | null | null | null | 1_Widgets/1_4_Widgets_Surfing/src/ofApp.cpp | moebiussurfing/ofxSurfingImGui | d12a3f75f99c8737d956c52077b6e9f0463fe7d9 | [
"MIT"
] | 6 | 2021-06-09T08:01:36.000Z | 2021-12-06T07:28:52.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
setup_ImGui();
// Parameters
params.setName("paramsGroup1");// main container
params2.setName("paramsGroup2");// nested
params3.setName("paramsGroup3");// nested
params.add(indexPreset... | 29.875502 | 149 | 0.667025 | [
"shape"
] |
1608a5aa485be370b9c763294dc8e48ee55a1f14 | 1,595 | hpp | C++ | typed_python/PyTemporaryReferenceTracer.hpp | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 105 | 2019-12-02T01:44:46.000Z | 2022-03-28T20:27:38.000Z | typed_python/PyTemporaryReferenceTracer.hpp | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 173 | 2019-10-08T19:37:06.000Z | 2022-01-24T18:43:42.000Z | typed_python/PyTemporaryReferenceTracer.hpp | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 1 | 2020-01-23T00:06:42.000Z | 2020-01-23T00:06:42.000Z | /******************************************************************************
Copyright 2017-2021 typed_python 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://ww... | 33.93617 | 92 | 0.666458 | [
"vector"
] |
160c2a4caa86395a82dde7fb1d07bd2ef4534ebf | 69,963 | cc | C++ | src/lib/dhcpsrv/tests/subnet_unittest.cc | V1pr/kea | c46ee5731863351cc863ca50b39ce41ac824dc9c | [
"Apache-2.0"
] | null | null | null | src/lib/dhcpsrv/tests/subnet_unittest.cc | V1pr/kea | c46ee5731863351cc863ca50b39ce41ac824dc9c | [
"Apache-2.0"
] | null | null | null | src/lib/dhcpsrv/tests/subnet_unittest.cc | V1pr/kea | c46ee5731863351cc863ca50b39ce41ac824dc9c | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012-2019 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <asiolink/io_ad... | 39.129195 | 93 | 0.670483 | [
"object"
] |
160e3d0d12317e2e50c9a86ad08a239698406f4c | 726 | cpp | C++ | engine/Primitives/PlaneObject.cpp | TristanFish/SuperBongoEngine | 3a6c67c0aa0c6b4f75e353690016b8f91d813717 | [
"MIT"
] | null | null | null | engine/Primitives/PlaneObject.cpp | TristanFish/SuperBongoEngine | 3a6c67c0aa0c6b4f75e353690016b8f91d813717 | [
"MIT"
] | null | null | null | engine/Primitives/PlaneObject.cpp | TristanFish/SuperBongoEngine | 3a6c67c0aa0c6b4f75e353690016b8f91d813717 | [
"MIT"
] | null | null | null | #include "PlaneObject.h"
using namespace MATH;
PlaneObject::PlaneObject(const std::string& name, Vec3 position)
{
AddComponent<MeshRenderer>()->LoadModel("Plane.fbx");
GetComponent<MeshRenderer>()->CreateShader("DefaultVert.glsl", "DefaultFrag.glsl");
AddComponent<RigidBody3D>();
this->name = name;
transform... | 19.105263 | 84 | 0.735537 | [
"transform"
] |
160e6c0dbae0217128a55cb749d83188db84e53f | 2,335 | cpp | C++ | src/Editor/hierarchy.cpp | Chaphlagical/ChafRenderer | 9460452ad75fd0d3b7e4a0ba348738b8d7536215 | [
"MIT"
] | 14 | 2020-07-31T15:09:44.000Z | 2022-03-24T00:59:57.000Z | src/Editor/hierarchy.cpp | Chaphlagical/ChafRenderer | 9460452ad75fd0d3b7e4a0ba348738b8d7536215 | [
"MIT"
] | 3 | 2020-11-18T15:56:06.000Z | 2022-03-19T08:42:47.000Z | src/Editor/hierarchy.cpp | Chaphlagical/ChafRenderer | 9460452ad75fd0d3b7e4a0ba348738b8d7536215 | [
"MIT"
] | 1 | 2021-02-18T08:53:35.000Z | 2021-02-18T08:53:35.000Z | #include <Editor/hierarchy.h>
#include <Scene/scene_layer.h>
#include <Scene/components.h>
#include <Editor/basic.h>
#include <imgui.h>
namespace Chaf
{
void Hierachy::ShowHierarchy(bool* p_open)
{
ImGui::Begin("Hierachy", p_open);
auto& scene = SceneLayer::GetInstance()->GetScene();
if (!scene->Empty())
{
... | 24.840426 | 140 | 0.662955 | [
"object",
"transform"
] |
160fda752bb4fbf9fe4dec9af8a4eeba43855f7a | 10,934 | cpp | C++ | src/getting_started/09_camera.cpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | src/getting_started/09_camera.cpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | src/getting_started/09_camera.cpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <stb_image.h>
#include <algorithm>
#include "../gl/shader.h"
#include "../gl/camera.h"
#include "../utils/log.h"
#include "../gl/gl_utils.h"
namespace getting_started
{... | 37.965278 | 135 | 0.515091 | [
"model"
] |
16148d72a0758a2aae2ee7cc65426e704c25e03f | 123,187 | cpp | C++ | example/simple_mmd_viewer_vulkan.cpp | ShinomoriRinonn/saba | af2fb19efc54ba4f49de91e373d90246a1579dfd | [
"MIT"
] | 305 | 2017-01-10T17:20:41.000Z | 2022-03-26T17:08:08.000Z | example/simple_mmd_viewer_vulkan.cpp | ShinomoriRinonn/saba | af2fb19efc54ba4f49de91e373d90246a1579dfd | [
"MIT"
] | 30 | 2017-03-14T16:20:48.000Z | 2022-03-21T13:10:19.000Z | example/simple_mmd_viewer_vulkan.cpp | ShinomoriRinonn/saba | af2fb19efc54ba4f49de91e373d90246a1579dfd | [
"MIT"
] | 61 | 2017-01-10T21:54:59.000Z | 2022-03-20T08:12:05.000Z |
#if _WIN32
#include <Windows.h>
#include <shellapi.h>
#undef min
#undef max
#endif
//#define VULKAN_HPP_NO_SMART_HANDLE
//#define VULKAN_HPP_NO_EXCEPTIONS
//#define VULKAN_HPP_DISABLE_ENHANCED_MODE
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.hpp>
#include <GLFW/glfw3.h>
#include <iostream>
#include <fstream>... | 27.914571 | 136 | 0.741271 | [
"render",
"object",
"vector",
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.