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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
842e4a7a09162563e9e5a60f30e5147843ad4046 | 1,410 | cpp | C++ | test/unit/IR/Type.cpp | mishazharov/caffeine | a1a8ad5bd2d69b5378d71d15ddec4658ea34f057 | [
"MIT"
] | 17 | 2021-03-04T01:10:22.000Z | 2022-03-30T18:33:14.000Z | test/unit/IR/Type.cpp | mishazharov/caffeine | a1a8ad5bd2d69b5378d71d15ddec4658ea34f057 | [
"MIT"
] | 320 | 2020-11-16T02:42:50.000Z | 2022-03-31T16:43:26.000Z | test/unit/IR/Type.cpp | mishazharov/caffeine | a1a8ad5bd2d69b5378d71d15ddec4658ea34f057 | [
"MIT"
] | 6 | 2020-11-10T02:37:10.000Z | 2021-12-25T06:58:44.000Z | #include "caffeine/IR/Type.h"
#include "caffeine/IR/Operation.h"
#include "caffeine/IR/Value.h"
#include <llvm/IR/DataLayout.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Type.h>
#include <gtest/gtest.h>
using namespace caffeine;
using llvm::LLVMContext;
static const char* const X86_64_LINUX =
"e-m:e-p... | 20.434783 | 77 | 0.684397 | [
"vector"
] |
842f2aa4783c3213922c93ac6566ac3aa9b3b476 | 15,063 | cpp | C++ | shell/ext/webcheck/droptrgt.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/ext/webcheck/droptrgt.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/ext/webcheck/droptrgt.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "private.h"
#include "offl_cpp.h"
#include "subsmgrp.h"
HRESULT _GetURLData(IDataObject *pdtobj, int iDropType, TCHAR *pszUrl, UINT cchUrl, TCHAR *pszName, UINT cchName);
HRESULT _ConvertHDROPData(IDataObject *, BOOL);
HRESULT ScheduleDefault(LPCTSTR, LPCTSTR);
#define CITBDTYPE_HDROP 1
#define ... | 27.842884 | 115 | 0.534887 | [
"object"
] |
8439b9e557e02d18f7f09145f0f6d8453f6a7207 | 2,158 | hpp | C++ | src/hotspot/share/gc/shared/stringdedup/stringDedupStorageUse.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | src/hotspot/share/gc/shared/stringdedup/stringDedupStorageUse.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | src/hotspot/share/gc/shared/stringdedup/stringDedupStorageUse.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | 36.576271 | 77 | 0.769694 | [
"object"
] |
843cfb7b698461733b82b82c61830943dec29003 | 9,688 | cpp | C++ | arangod/Cluster/FailureOracleFeature.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | arangod/Cluster/FailureOracleFeature.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | arangod/Cluster/FailureOracleFeature.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | ///
/// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://... | 33.178082 | 80 | 0.672998 | [
"object"
] |
843d5752c9e616c5e20494ecf7c4995bdca6f2ea | 2,810 | cpp | C++ | ext/stub/java/awt/font/GlyphVector-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/java/awt/font/GlyphVector-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/java/awt/font/GlyphVector-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <java/awt/font/GlyphVector.hpp>
extern void unimplemented_(const char16_t* name);
java::awt::font::GlyphVector::GlyphVector(const ::default_init_tag&)
: super(*static_cast< ::default_init_tag* >(0))
{
cli... | 36.025641 | 160 | 0.722776 | [
"shape"
] |
843e83bc740538e6423bf7bdcd6ded7009352aeb | 6,826 | cpp | C++ | Projeto/plottermatriz.cpp | asilvadev/DCA-Modelador-3D | 5f3b0795be7ca589a05e209d72822862366aa589 | [
"MIT"
] | null | null | null | Projeto/plottermatriz.cpp | asilvadev/DCA-Modelador-3D | 5f3b0795be7ca589a05e209d72822862366aa589 | [
"MIT"
] | null | null | null | Projeto/plottermatriz.cpp | asilvadev/DCA-Modelador-3D | 5f3b0795be7ca589a05e209d72822862366aa589 | [
"MIT"
] | null | null | null | #include <QPainter>
#include <QPen>
#include <QBrush>
#include <QMouseEvent>
#include <QtDebug>
#include <vector>
#include <iostream>
#include "plottermatriz.h"
#include "sculptor.h"
PlotterMatriz::PlotterMatriz(QWidget *parent) : QWidget(parent)
{
scultporTamX = 25;
scultporTamY = 25;
scultporTamZ = 25;
... | 20.874618 | 119 | 0.541606 | [
"vector"
] |
4604bb9de05543e93f3d306572d01f7a8a0aac94 | 770 | cpp | C++ | LeetCode/_0064_MinimumPathSum.cpp | Restart20200301/Algorithm-Practice | 2b5f42492a1ae574d7ddc7efeebdef55a82a30a5 | [
"MIT"
] | 2 | 2020-05-26T08:25:25.000Z | 2020-05-27T03:53:00.000Z | LeetCode/_0064_MinimumPathSum.cpp | Restart20200301/Algorithm-Practice | 2b5f42492a1ae574d7ddc7efeebdef55a82a30a5 | [
"MIT"
] | null | null | null | LeetCode/_0064_MinimumPathSum.cpp | Restart20200301/Algorithm-Practice | 2b5f42492a1ae574d7ddc7efeebdef55a82a30a5 | [
"MIT"
] | null | null | null | /*
给定一个包含非负整数的 m x n 网格,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。
说明:每次只能向下或者向右移动一步。
示例:
输入:
[
[1,3,1],
[1,5,1],
[4,2,1]
]
输出: 7
解释: 因为路径 1→3→1→1→1 的总和最小。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/minimum-path-sum
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
class Solution {
public:
int minPathSum(vector<vector... | 20.263158 | 59 | 0.493506 | [
"vector"
] |
460a76e3c7b89f0cd8fd0f9ef9cc48dd6de25d45 | 10,971 | cpp | C++ | src/ofxOilTrace.cpp | jagracar/ofxOilPaint | 095201a165d1122c1d92fe2a291b936f3de35c75 | [
"MIT"
] | 44 | 2018-04-08T05:59:10.000Z | 2022-02-20T17:41:14.000Z | src/ofxOilTrace.cpp | jagracar/ofxOilPaint | 095201a165d1122c1d92fe2a291b936f3de35c75 | [
"MIT"
] | 1 | 2019-04-26T10:46:22.000Z | 2019-04-26T10:46:22.000Z | src/ofxOilTrace.cpp | jagracar/ofxOilPaint | 095201a165d1122c1d92fe2a291b936f3de35c75 | [
"MIT"
] | 6 | 2018-04-29T19:46:01.000Z | 2021-10-02T21:36:22.000Z | #include "ofxOilTrace.h"
#include "ofxOilBrush.h"
#include "ofMain.h"
float ofxOilTrace::NOISE_FACTOR = 0.007;
unsigned char ofxOilTrace::MIN_ALPHA = 20;
float ofxOilTrace::BRIGHTNESS_RELATIVE_CHANGE = 0.09;
unsigned int ofxOilTrace::TYPICAL_MIX_STARTING_STEP = 5;
float ofxOilTrace::MIX_STRENGTH = 0.012;
ofxOilTr... | 28.496104 | 112 | 0.703673 | [
"vector"
] |
46208d73fcf8d2b64b1e8c81a2a83c900f106381 | 10,785 | cc | C++ | src/openzwave-driver.cc | sescandell/node-openzwave-shared | 21e1516ef3c316d8a6986a44fb844345344de9fe | [
"ISC"
] | 215 | 2015-05-21T13:49:35.000Z | 2021-12-08T21:10:02.000Z | src/openzwave-driver.cc | sescandell/node-openzwave-shared | 21e1516ef3c316d8a6986a44fb844345344de9fe | [
"ISC"
] | 356 | 2015-05-24T13:27:13.000Z | 2022-03-15T13:59:23.000Z | src/openzwave-driver.cc | sescandell/node-openzwave-shared | 21e1516ef3c316d8a6986a44fb844345344de9fe | [
"ISC"
] | 166 | 2015-07-07T05:04:48.000Z | 2021-03-19T18:22:39.000Z | /*
* Copyright (c) 2013 Jonathan Perkin <jonathan@perkin.org.uk>
* Copyright (c) 2015-2017 Elias Karakoulakis <elias.karakoulakis@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this perm... | 32.19403 | 101 | 0.580807 | [
"object"
] |
4623a9d374117ee117c2f8fb1f6bd6ca0a6aeb40 | 1,415 | cpp | C++ | sherlock_and_the_beast.cpp | zmechz/study-cpp | 34ec5ea88139d907cbef5bf593c8715302f96117 | [
"MIT"
] | 1 | 2017-08-18T00:26:39.000Z | 2017-08-18T00:26:39.000Z | sherlock_and_the_beast.cpp | zmechz/cpp-lab | 34ec5ea88139d907cbef5bf593c8715302f96117 | [
"MIT"
] | null | null | null | sherlock_and_the_beast.cpp | zmechz/cpp-lab | 34ec5ea88139d907cbef5bf593c8715302f96117 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <memory>
#include <cstring>
using namespace std;
int find_highest_number(int n) {
char buffer[n+1];
// cout << "\nN " << n;
memset(buffer, '5' , n);
buffer[n+1] = '\0';
// cout << "\nBuffer " << b... | 24.824561 | 63 | 0.428975 | [
"vector"
] |
462ff14e7967dd9976d96138342a803de18b71af | 972 | cpp | C++ | Leetcode/HashMap/employeeImportance.cpp | pokemonTrainer5833/Data-Structures | 10aa1a1b6975a3cd32aa5978f5e950283360dd0e | [
"MIT"
] | null | null | null | Leetcode/HashMap/employeeImportance.cpp | pokemonTrainer5833/Data-Structures | 10aa1a1b6975a3cd32aa5978f5e950283360dd0e | [
"MIT"
] | null | null | null | Leetcode/HashMap/employeeImportance.cpp | pokemonTrainer5833/Data-Structures | 10aa1a1b6975a3cd32aa5978f5e950283360dd0e | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<unordered_map>
#include<queue>
using namespace std;
// Definition for Employee.
class Employee {
public:
int id;
int importance;
vector<int> subordinates;
};
class Solution {
public:
int getImportance(vector<Employee*> employees, int id) {
Employee* ... | 23.142857 | 72 | 0.533951 | [
"vector"
] |
46384f4f3962ec7ccaa798642d9cc5483fc6d18c | 1,981 | cpp | C++ | Greedy-Algo/JobSequencingProblem.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 38 | 2021-10-14T09:36:53.000Z | 2022-01-27T02:36:19.000Z | Greedy-Algo/JobSequencingProblem.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | null | null | null | Greedy-Algo/JobSequencingProblem.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 4 | 2021-12-06T15:47:12.000Z | 2022-02-04T04:25:00.000Z | // Given a set of N jobs where each jobi has a deadline and profit associated with it. Each job takes 1 unit of time to complete and only one job can be scheduled at a time. We earn the profit if and only if the job is completed by its deadline. The task is to find the number of jobs done and the maximum profit.
// ... | 30.015152 | 314 | 0.539122 | [
"vector"
] |
4640caed07b9bd3f3d33331672dec3e435bf5b06 | 1,382 | hpp | C++ | include/nodes/GeoConversionNodes.hpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 8 | 2018-03-28T19:45:47.000Z | 2022-03-23T16:53:24.000Z | include/nodes/GeoConversionNodes.hpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 58 | 2018-01-31T11:10:04.000Z | 2021-08-13T11:48:31.000Z | include/nodes/GeoConversionNodes.hpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 1 | 2018-07-04T12:30:06.000Z | 2018-07-04T12:30:06.000Z | #ifndef SEMPR_GEOCONVERSIONNODES_HPP_
#define SEMPR_GEOCONVERSIONNODES_HPP_
#include <rete-core/Builtin.hpp>
#include <rete-core/Accessors.hpp>
#include "../component/GeosGeometry.hpp"
namespace sempr {
/**
Takes a geometry and a zone (int), and returns a new geometry transformed
from WGS84 lon/lat to UTM<z... | 24.678571 | 77 | 0.7178 | [
"geometry"
] |
464b1a0a6c0e484a1a8904516fbdf532835b0fcf | 42,423 | cpp | C++ | src/kognac/utils/utils.cpp | pjotrscholtze/kognac | 161a4308367edb2d6ffac9c336e801a20e3ef41e | [
"Apache-2.0"
] | null | null | null | src/kognac/utils/utils.cpp | pjotrscholtze/kognac | 161a4308367edb2d6ffac9c336e801a20e3ef41e | [
"Apache-2.0"
] | 2 | 2018-06-26T16:41:19.000Z | 2021-09-16T12:26:05.000Z | src/kognac/utils/utils.cpp | pjotrscholtze/kognac | 161a4308367edb2d6ffac9c336e801a20e3ef41e | [
"Apache-2.0"
] | 2 | 2018-09-18T11:38:18.000Z | 2021-09-13T23:27:09.000Z | /*
* Copyright 2016 Jacopo Urbani
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, V... | 30.002122 | 144 | 0.532471 | [
"vector"
] |
465716ec67e7d5c770a15821d93e045e201cf974 | 4,844 | cpp | C++ | src/gui/rendered_textures/viewport.cpp | Pritchy96/cadbase | 8d3b3a4441a7889fe3510631719b341e8dc1d3f3 | [
"MIT"
] | null | null | null | src/gui/rendered_textures/viewport.cpp | Pritchy96/cadbase | 8d3b3a4441a7889fe3510631719b341e8dc1d3f3 | [
"MIT"
] | null | null | null | src/gui/rendered_textures/viewport.cpp | Pritchy96/cadbase | 8d3b3a4441a7889fe3510631719b341e8dc1d3f3 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <spdlog/spdlog.h>
#include <glm/fwd.hpp>
#include <memory>
#include <vector>
#include "cad-base/gui/rendered_textures/viewport.hpp"
#include "cad-base/geometry/viewport_grid.hpp"
#include "cad-base/gui/gui_data.hpp"
#include "cad-base/gui/rendered_textures/gui_render_texture.hpp"
#includ... | 34.35461 | 169 | 0.667217 | [
"cad",
"geometry",
"render",
"object",
"vector"
] |
465745eaa395f24e8eac45a1b4021b6ddf53c408 | 6,663 | cpp | C++ | kwm/keys.cpp | choco/kwm | 5f833ef02090b86b7262db0415a64a2771addb4d | [
"MIT"
] | null | null | null | kwm/keys.cpp | choco/kwm | 5f833ef02090b86b7262db0415a64a2771addb4d | [
"MIT"
] | null | null | null | kwm/keys.cpp | choco/kwm | 5f833ef02090b86b7262db0415a64a2771addb4d | [
"MIT"
] | null | null | null | #include "keys.h"
#include "helpers.h"
#include "interpreter.h"
#define internal static
#define local_persist static
extern modifier_keys MouseDragKey;
internal const char *Shell = "/bin/bash";
internal const char *ShellArgs = "-c";
internal inline bool
HasFlags(modifier_keys *Modifier, uint32_t Flag)
{
bool Re... | 32.985149 | 95 | 0.639802 | [
"vector"
] |
4679d171acdca8f16bb94603f4f5ae32a1e301fa | 1,656 | hpp | C++ | cpuemu/w65c02s/execution_wrapper.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | 2 | 2021-04-23T13:40:45.000Z | 2022-03-28T13:59:30.000Z | cpuemu/w65c02s/execution_wrapper.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | null | null | null | cpuemu/w65c02s/execution_wrapper.hpp | deqyra/cpuemu | b30d39e01ef03a165169d53397d117a2550c650e | [
"MIT"
] | null | null | null | #ifndef CPUEMU__W65C02S__EXECUTION_WRAPPER_HPP
#define CPUEMU__W65C02S__EXECUTION_WRAPPER_HPP
#include <vector>
#include <common/types.hpp>
#include <common/memory.hpp>
#include "cpu.hpp"
namespace emu::w65c02s
{
class ExecutionWrapper
{
public:
ExecutionWrapper();
// Write a program to internal memory at... | 27.147541 | 88 | 0.716787 | [
"vector"
] |
468986925da4c77712962d6ac562dd417694dfce | 13,383 | cpp | C++ | xinput.cpp | MaddTheSane/koku-xinput-wine | cc20eeaf32eaeda14c8ff7e7929bcd672026269e | [
"BSD-2-Clause"
] | null | null | null | xinput.cpp | MaddTheSane/koku-xinput-wine | cc20eeaf32eaeda14c8ff7e7929bcd672026269e | [
"BSD-2-Clause"
] | null | null | null | xinput.cpp | MaddTheSane/koku-xinput-wine | cc20eeaf32eaeda14c8ff7e7929bcd672026269e | [
"BSD-2-Clause"
] | null | null | null | #include "xinput.h"
#include "config.h"
#include "main.h"
#ifndef USE_SDL2
#include <SDL/SDL.h>
#define SDL_INIT_HAPTIC 0
#define SDL_Haptic void
#else
#include <SDL2/SDL.h>
#include <SDL2/SDL_haptic.h>
#endif
#include <vector>
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <sys/types.h>
#include <... | 24.875465 | 159 | 0.63491 | [
"vector"
] |
468d2503b9d06d230d6b6f2d8f68cafa0e99fdc8 | 8,101 | cpp | C++ | config.cpp | BlackHawkPL/checkLOS | dfdca8c3c1ede1572de0b4bf49f81ab977cdbd2f | [
"MIT"
] | null | null | null | config.cpp | BlackHawkPL/checkLOS | dfdca8c3c1ede1572de0b4bf49f81ab977cdbd2f | [
"MIT"
] | 1 | 2017-10-21T21:37:04.000Z | 2017-10-22T02:24:20.000Z | config.cpp | BlackHawkPL/checkLOS | dfdca8c3c1ede1572de0b4bf49f81ab977cdbd2f | [
"MIT"
] | 1 | 2020-04-08T19:32:16.000Z | 2020-04-08T19:32:16.000Z | class CfgPatches {
class los_check {
units[] = { "" };
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Ui_F"};
version = 1;
};
};
class Extended_PostInit_EventHandlers
{
class checkLOS
{
clientinit="call compile preprocessFileLineNumbers '\checkLOS\ini... | 21.776882 | 75 | 0.483891 | [
"object"
] |
469b89a4fd03aea639fae846b7a384b748d40e6c | 2,952 | cpp | C++ | PIN64/Game.cpp | MooglyGuy/pin64 | aa411cbabbc400f752411d2c0a0711209d7f4826 | [
"BSD-3-Clause"
] | 1 | 2019-05-22T23:22:14.000Z | 2019-05-22T23:22:14.000Z | PIN64/Game.cpp | MooglyGuy/pin64 | aa411cbabbc400f752411d2c0a0711209d7f4826 | [
"BSD-3-Clause"
] | 1 | 2019-07-04T10:12:06.000Z | 2019-07-04T10:12:06.000Z | PIN64/Game.cpp | MooglyGuy/pin64 | aa411cbabbc400f752411d2c0a0711209d7f4826 | [
"BSD-3-Clause"
] | null | null | null | #include <SDL.h>
#include "Logger.h"
#include "Game.h"
Game::Game()
: mInitialized(false)
, mRunning(false)
, mPaused(false)
, mCurrTime(0)
, mLastTime(0)
, mWindow(nullptr)
, mRenderer(nullptr)
, mFramebuffer(nullptr)
, mFB(nullptr)
, mEventDispatcher(nullptr)
, mRDRAM(nullptr)
, mHiddenRAM(nullptr)
, m... | 22.883721 | 107 | 0.697832 | [
"render"
] |
46a3e1ae55cf4b16a891cc93706ade6d7c5cccd5 | 2,418 | hpp | C++ | common/autoware_lanelet2_ros_interface/include/autoware_lanelet2_ros2_interface/utility/utilities.hpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | common/autoware_lanelet2_ros_interface/include/autoware_lanelet2_ros2_interface/utility/utilities.hpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | common/autoware_lanelet2_ros_interface/include/autoware_lanelet2_ros2_interface/utility/utilities.hpp | VT-ASIM-LAB/autoware.ai | 211dff3bee2d2782cb10444272c5d98d1f30d33a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015-2019 Autoware Foundation. 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 requi... | 37.2 | 127 | 0.7378 | [
"object",
"vector"
] |
46a6386f86232e5d34d5e1297bf6d7fd9a0e4738 | 8,145 | cxx | C++ | src/main.cxx | fermi-lat/detModel | fd8348a10adb75a669f0e4977448afc5e877f057 | [
"BSD-3-Clause"
] | null | null | null | src/main.cxx | fermi-lat/detModel | fd8348a10adb75a669f0e4977448afc5e877f057 | [
"BSD-3-Clause"
] | null | null | null | src/main.cxx | fermi-lat/detModel | fd8348a10adb75a669f0e4977448afc5e877f057 | [
"BSD-3-Clause"
] | null | null | null | /// Test program for the generic model
#include <string>
#include <iostream>
#include <fstream>
#include <list>
#include <vector>
#include "detModel/Management/Manager.h"
#include "detModel/Management/VrmlSectionsVisitor.h"
#include "detModel/Management/CountMaterial.h"
#include "detModel/Management/IDmapBuilder.h"
#... | 32.321429 | 93 | 0.662738 | [
"geometry",
"object",
"shape",
"vector",
"model"
] |
9e5cb241c0be083d4f7380c018879427a6c5bf10 | 1,411 | cpp | C++ | TASM_Compiler/MacroHandle.cpp | darthhater101/TASM-Compiler | e26e8d7e6b2ac268832e740dd3d6b19986eb98ea | [
"MIT"
] | null | null | null | TASM_Compiler/MacroHandle.cpp | darthhater101/TASM-Compiler | e26e8d7e6b2ac268832e740dd3d6b19986eb98ea | [
"MIT"
] | null | null | null | TASM_Compiler/MacroHandle.cpp | darthhater101/TASM-Compiler | e26e8d7e6b2ac268832e740dd3d6b19986eb98ea | [
"MIT"
] | null | null | null | #include "MacroHandle.h"
#include <vector>
#include <fstream>
#include <string>
void fileChanger(std::string _file)
{
std::ifstream file(_file);
std::ofstream out("test.txt");
out.clear();
std::string macroName = "";
std::vector<std::string> macro_lines;
std::string macroParam = "";
std::strin... | 19.597222 | 56 | 0.544295 | [
"vector"
] |
9e607e7ead657b88310482a6abc858444bee85eb | 15,576 | cpp | C++ | src/VK/VKPass.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | 6 | 2019-07-16T05:39:18.000Z | 2022-02-17T10:10:18.000Z | src/VK/VKPass.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | src/VK/VKPass.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "VKPass.h"
#include "VKUtil.h"
#include "VKDevice.h"
#include "VKSwapchain.h"
#include "VKExtensions.h"
#include "VKAccelerationStructure.h"
#include "camera.h"
#include "async.h"
namespace Raekor::VK {
void PathTracePass::initialize(Device& device, const Swapchain& swapchain, const Accele... | 39.234257 | 225 | 0.717065 | [
"vector"
] |
9e675377278f97f01d0defdbf3d95903d8bc9438 | 2,174 | cpp | C++ | Samples/Win32/ThunderRumble/Common/ShipInput.cpp | yazhenchua/PlayFab-Samples | 85d1d252bd21d050575c382628caa6d0c9785ff7 | [
"MIT"
] | 160 | 2016-05-26T09:30:20.000Z | 2022-03-31T08:05:56.000Z | Samples/Win32/ThunderRumble/Common/ShipInput.cpp | srivers8424/PlayFab-Samples | 9fe465858e7f9bae3250dfe77d4500bb57d9e7fd | [
"MIT"
] | 17 | 2016-03-22T17:37:16.000Z | 2021-11-20T23:20:07.000Z | Samples/Win32/ThunderRumble/Common/ShipInput.cpp | srivers8424/PlayFab-Samples | 9fe465858e7f9bae3250dfe77d4500bb57d9e7fd | [
"MIT"
] | 204 | 2016-05-14T22:46:51.000Z | 2022-03-04T00:45:56.000Z | //--------------------------------------------------------------------------------------
// ShipInput.h
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "... | 22.183673 | 102 | 0.583717 | [
"vector"
] |
9e7025638d725dbe5f837f9523a59413aa699611 | 6,228 | cpp | C++ | 11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/distances.cpp | EatAllBugs/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | 14 | 2021-09-01T14:25:45.000Z | 2022-02-21T08:49:57.000Z | 11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/distances.cpp | yinflight/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | null | null | null | 11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/distances.cpp | yinflight/autonomous_learning | 02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47 | [
"MIT"
] | 3 | 2021-10-10T00:58:29.000Z | 2022-01-23T13:16:09.000Z | /*
* Copyright (c) 2008 Radu Bogdan Rusu <rusu -=- cs.tum.edu>
*
* 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
*... | 39.923077 | 127 | 0.558446 | [
"geometry",
"vector",
"3d"
] |
9e7d2bb0910a2dc2a8eeb85cb72bf47f1d4b846e | 85,470 | cpp | C++ | code/tools/gtkradiant/radiant/surfacedialog.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 11 | 2016-06-03T07:46:15.000Z | 2021-09-09T19:35:32.000Z | code/tools/gtkradiant/radiant/surfacedialog.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 1 | 2016-10-14T23:06:19.000Z | 2016-10-14T23:06:19.000Z | code/tools/gtkradiant/radiant/surfacedialog.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 5 | 2016-10-13T04:43:58.000Z | 2019-08-24T14:03:35.000Z | /*
Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | 36.777108 | 176 | 0.676015 | [
"object",
"vector",
"transform"
] |
9e7d4f52926eeb370170e722959d0a275eb68191 | 16,453 | cpp | C++ | source/Load_main.cpp | PhanSangTheAlerianLord/OpenGL-Object-Loading | 4efb653e83cd0a858921416f99c5b6a75e1c84db | [
"MIT"
] | 3 | 2021-11-03T09:38:09.000Z | 2022-01-25T14:56:27.000Z | source/Load_main.cpp | PhanSangTheAlerianLord/OpenGL-Object-Loading | 4efb653e83cd0a858921416f99c5b6a75e1c84db | [
"MIT"
] | null | null | null | source/Load_main.cpp | PhanSangTheAlerianLord/OpenGL-Object-Loading | 4efb653e83cd0a858921416f99c5b6a75e1c84db | [
"MIT"
] | 1 | 2021-11-04T05:07:38.000Z | 2021-11-04T05:07:38.000Z | #include <gl\glew.h>
#include <gl\freeglut.h>
#include <iostream>
#include <stdio.h>
#include <string>
#include <glm\gtc\type_ptr.hpp>
#include <glm\gtc\matrix_transform.hpp>
#include "Utility.h"
#include "Load_Model.h"
#include "Controls.h"
using namespace std;
using namespace glm;
int width = 1920;//1... | 31.579655 | 134 | 0.68328 | [
"mesh",
"model"
] |
9e88727ef55b7ad916e56ab6578afbbccbaf7e70 | 1,241 | cpp | C++ | ch11/ex11_21.cpp | forevermzm/Cpp-Primer | 0f149707451d50738677d9194cb701af53e99934 | [
"CC0-1.0"
] | 2 | 2015-06-11T17:50:41.000Z | 2017-01-23T09:37:56.000Z | ch11/ex11_21.cpp | forevermzm/Cpp-Primer | 0f149707451d50738677d9194cb701af53e99934 | [
"CC0-1.0"
] | null | null | null | ch11/ex11_21.cpp | forevermzm/Cpp-Primer | 0f149707451d50738677d9194cb701af53e99934 | [
"CC0-1.0"
] | 1 | 2018-10-23T09:43:12.000Z | 2018-10-23T09:43:12.000Z | //! @Alan
//!
//! Exercise 11.21:
//! Assuming word_count is a map from string to size_t and word is a string,
//! explain the following loop:
//! while (cin >> word)
//! ++word_count.insert({word, 0}).first->second;
//!
#include <iostream>
#include <map>
#include <string>
#include <algorithm>
#include <set>
#... | 26.978261 | 97 | 0.546334 | [
"vector"
] |
9e8bdbc5f13be921939cf01e305332811ff659e7 | 1,580 | cpp | C++ | src/engine/render_debug_system.cpp | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | src/engine/render_debug_system.cpp | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | src/engine/render_debug_system.cpp | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | #include "render_debug_system.h"
namespace mitmeo
{
namespace engine
{
RenderDebugSystem::RenderDebugSystem() {}
void RenderDebugSystem::run(entt::registry &world, uint32_t time_ms)
{
// Debug pen
blit::screen.pen = blit::Pen(0, 255, 0, 200);
auto d... | 40.512821 | 120 | 0.459494 | [
"vector"
] |
9e904be7b22b400847a493dbffec1c0b083b023f | 651 | hpp | C++ | kernel/driver/input/InputHandler.hpp | boulangg/phoenix | d14928ebaf8b2546e00d407c239f28c3e929181e | [
"MIT"
] | 3 | 2016-04-22T13:29:08.000Z | 2016-04-25T15:56:23.000Z | kernel/driver/input/InputHandler.hpp | boulangg/phoenix | d14928ebaf8b2546e00d407c239f28c3e929181e | [
"MIT"
] | null | null | null | kernel/driver/input/InputHandler.hpp | boulangg/phoenix | d14928ebaf8b2546e00d407c239f28c3e929181e | [
"MIT"
] | null | null | null | #pragma once
#include <list>
#include <vector>
#include "InputEventCode.hpp"
class InputDevice;
class InputHandler {
public:
InputHandler() : _devices() {
}
virtual ~InputHandler() {
}
virtual void handleEvents(const std::vector<InputValue>& vals) = 0;
//bool (*filter)(struct input_handle *handle, unsigned... | 21.7 | 96 | 0.731183 | [
"vector"
] |
9e96ed7185150d90ba2fd0e4e498c98e5b63bad6 | 4,881 | cpp | C++ | tools/code_snippets/Measurement/realtimemultisamplearray.cpp | fjpolo/mne-cpp | fe5ce28680dbcfc3cd2e24954e31a5bf0531f28d | [
"BSD-3-Clause"
] | 1 | 2021-05-18T08:33:44.000Z | 2021-05-18T08:33:44.000Z | tools/code_snippets/Measurement/realtimemultisamplearray.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | tools/code_snippets/Measurement/realtimemultisamplearray.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================================================
/**
* @file realtimemultisamplearray.cpp
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date February, 2013
*
* @sec... | 41.717949 | 129 | 0.467527 | [
"vector"
] |
9e98e2b890a3178fbaa2c56840c7be68b8516c67 | 590 | cpp | C++ | Lectura.cpp | Apih97/NominaH | 6b7febf8b9fcbf1961ffe7a27cc5b41372c7d99a | [
"PostgreSQL",
"MIT"
] | null | null | null | Lectura.cpp | Apih97/NominaH | 6b7febf8b9fcbf1961ffe7a27cc5b41372c7d99a | [
"PostgreSQL",
"MIT"
] | null | null | null | Lectura.cpp | Apih97/NominaH | 6b7febf8b9fcbf1961ffe7a27cc5b41372c7d99a | [
"PostgreSQL",
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <fstream>
#include <direct.h>
#include <ctime>
#include <windows.h>
using namespace std;
int main (){
HWND consoleWindow = GetConsoleWindow();
SetWindowPos( consoleWindow, 0, 10, 10, 0, 0, SWP_NOSIZE | SWP_NOZORDER );
system("color B");
system("mode con: cols=4... | 16.388889 | 75 | 0.661017 | [
"vector"
] |
9eaa7aa63d4e524136fd4fcade1443711b7b5bf5 | 16,860 | cpp | C++ | yoloconvertor/src/main_fusion.cpp | VisualComputingInstitute/CROWDBOT_perception | df98f3f658c39fb3fa4ac0456f1214f7918009f6 | [
"MIT"
] | 1 | 2022-03-07T06:24:27.000Z | 2022-03-07T06:24:27.000Z | yoloconvertor/src/main_fusion.cpp | VisualComputingInstitute/CROWDBOT_perception | df98f3f658c39fb3fa4ac0456f1214f7918009f6 | [
"MIT"
] | null | null | null | yoloconvertor/src/main_fusion.cpp | VisualComputingInstitute/CROWDBOT_perception | df98f3f658c39fb3fa4ac0456f1214f7918009f6 | [
"MIT"
] | null | null | null | // ROS includes.
#include <ros/ros.h>
#include <ros/time.h>
#include <tf/tf.h>
#include <tf/transform_listener.h>
#include <string.h>
#include <cmath>
#include <algorithm> // std::min_element, std::max_element
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <message_filte... | 42.683544 | 168 | 0.667734 | [
"object",
"vector",
"transform",
"3d"
] |
9eabfbd6612302f42dd8489652b4489502a7827a | 8,574 | cpp | C++ | Blizzlike/ArcEmu/C++/SpellHandlers/RogueSpells.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/ArcEmu/C++/SpellHandlers/RogueSpells.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/ArcEmu/C++/SpellHandlers/RogueSpells.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* ArcScript Scripts for Arcemu MMORPG Server
* Copyright (C) 2008-2011 Arcemu Team
* Copyright (C) 2007 Moon++ <http://www.moonplusplus.com/>
*
* 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,... | 26.381538 | 194 | 0.700373 | [
"object"
] |
9eb34cb7c2ed3de9d0e7dc22029838272d260954 | 10,642 | cpp | C++ | OCLApp3/GaussianFilter/Program.cpp | zzyzy/OCLPlayground | e62ecddf4873df262238463980dede16ca4bc399 | [
"MIT"
] | 2 | 2017-10-22T07:05:20.000Z | 2022-03-10T20:28:13.000Z | OCLApp3/GaussianFilter/Program.cpp | zzyzy/OCLPlayground | e62ecddf4873df262238463980dede16ca4bc399 | [
"MIT"
] | null | null | null | OCLApp3/GaussianFilter/Program.cpp | zzyzy/OCLPlayground | e62ecddf4873df262238463980dede16ca4bc399 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <unordered_map>
#include <CL/cl.hpp>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include "OCLUtils.h"
#include "Filters.h"
#define CL_FILENAME "Convolution.cl"
#define INPUT_IMAGE_FILENA... | 41.248062 | 107 | 0.649126 | [
"vector"
] |
9eb771823d8724142ff49f5afb018de1adfb8348 | 18,318 | cpp | C++ | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/dae/daeRGeometry.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 3 | 2018-08-20T12:12:43.000Z | 2021-06-06T09:43:27.000Z | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/dae/daeRGeometry.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | null | null | null | deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/dae/daeRGeometry.cpp | UM-ARM-Lab/mab_ms | f199f05b88060182cfbb47706bd1ff3479032c43 | [
"BSD-2-Clause"
] | 1 | 2022-03-31T03:12:23.000Z | 2022-03-31T03:12:23.000Z | /*
* Copyright 2006 Sony Computer Entertainment Inc.
*
* Licensed under the SCEA Shared Source License, Version 1.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://research.scea.com/scea_shared_source_license.html
*
* Unless r... | 35.159309 | 134 | 0.596899 | [
"mesh",
"geometry"
] |
9ec1dca39bee7b237750bd99d7f39dbf15b141d6 | 763 | hpp | C++ | libs/core/render/include/bksge/core/render/dxgi/dxgi_format.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/core/render/include/bksge/core/render/dxgi/dxgi_format.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/core/render/include/bksge/core/render/dxgi/dxgi_format.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file dxgi_format.hpp
*
* @brief DXGIFormat クラスの定義
*
* @author myoukaku
*/
#ifndef BKSGE_CORE_RENDER_DXGI_DXGI_FORMAT_HPP
#define BKSGE_CORE_RENDER_DXGI_DXGI_FORMAT_HPP
#include <bksge/core/render/d3d_common/dxgiformat.hpp>
#include <bksge/core/render/texture_format.hpp>
namespace bksge
{... | 16.955556 | 58 | 0.715596 | [
"render"
] |
9eccd8a19e8ce13637dc7bd4e21f99cb34d56473 | 49,580 | cpp | C++ | sounddev/SoundDeviceASIO.cpp | extrowerk/openmpt | 99cb32168f6500dfbb238f305fef6b5e58fbac1d | [
"BSD-3-Clause"
] | null | null | null | sounddev/SoundDeviceASIO.cpp | extrowerk/openmpt | 99cb32168f6500dfbb238f305fef6b5e58fbac1d | [
"BSD-3-Clause"
] | null | null | null | sounddev/SoundDeviceASIO.cpp | extrowerk/openmpt | 99cb32168f6500dfbb238f305fef6b5e58fbac1d | [
"BSD-3-Clause"
] | null | null | null | /*
* SoundDeviceASIO.cpp
* -------------------
* Purpose: ASIO sound device driver class.
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "SoundDevice.h"... | 27.744824 | 236 | 0.720775 | [
"vector"
] |
19b781cd068d4a68ec8ca2fbc9c006662aa10f12 | 3,647 | cc | C++ | granary/cfg/trace.cc | Granary/granary2 | 66f60e0a9d94c9e9bf9df78587871b981c9e3bed | [
"MIT"
] | 41 | 2015-10-15T19:56:58.000Z | 2022-02-03T19:35:10.000Z | granary/cfg/trace.cc | Granary/granary2 | 66f60e0a9d94c9e9bf9df78587871b981c9e3bed | [
"MIT"
] | null | null | null | granary/cfg/trace.cc | Granary/granary2 | 66f60e0a9d94c9e9bf9df78587871b981c9e3bed | [
"MIT"
] | 7 | 2015-10-16T21:16:20.000Z | 2022-01-15T02:02:20.000Z | /* Copyright 2014 Peter Goodman, all rights reserved. */
#define GRANARY_INTERNAL
#include "arch/base.h"
#include "granary/base/cstring.h"
#include "granary/base/pc.h"
#include "granary/cfg/block.h"
#include "granary/cfg/trace.h"
#include "granary/context.h"
#include "granary/breakpoint.h"
namespace granary {
Tr... | 31.713043 | 76 | 0.722237 | [
"object"
] |
19b8a9610d6a786b38b0ebc5f0ba65a464886e8b | 1,461 | cpp | C++ | lsd/examples/lsd_opencv_cmd.cpp | huihui891/groundLineDetection | 7306e05dad202d6bfa71d4b72d6a9716005df39b | [
"Apache-2.0"
] | null | null | null | lsd/examples/lsd_opencv_cmd.cpp | huihui891/groundLineDetection | 7306e05dad202d6bfa71d4b72d6a9716005df39b | [
"Apache-2.0"
] | null | null | null | lsd/examples/lsd_opencv_cmd.cpp | huihui891/groundLineDetection | 7306e05dad202d6bfa71d4b72d6a9716005df39b | [
"Apache-2.0"
] | 1 | 2018-11-25T02:34:18.000Z | 2018-11-25T02:34:18.000Z | #include <iostream>
#include <fstream>
#include <string>
#include <opencv2/opencv.hpp>
#include "lsd_opencv.hpp"
using namespace std;
using namespace cv;
int main(int argc, char** argv)
{
if (argc != 3)
{
std::cout << "lsd_opencv_cmd [in] [out]" << std::endl
<< "\tin - input image" << std::endl
<< "\tout -... | 26.563636 | 115 | 0.566051 | [
"vector"
] |
19ba6a1266b44f0f2ef552080b61f78d08d967a4 | 7,371 | hh | C++ | packages/SPn/mesh/Mesh.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 19 | 2015-06-04T09:02:41.000Z | 2021-04-27T19:32:55.000Z | packages/SPn/mesh/Mesh.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | null | null | null | packages/SPn/mesh/Mesh.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 5 | 2016-10-05T20:48:28.000Z | 2021-06-21T12:00:54.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file SPn/mesh/Mesh.hh
* \author Tom Evans
* \date Wednesday February 12 0:15:45 2014
* \brief Declaration of Mesh
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//-------------------------... | 29.366534 | 79 | 0.572921 | [
"mesh",
"vector",
"3d"
] |
19bc19a6ed8f4df401581521ecfdd4aca9c47b81 | 735 | hpp | C++ | include/mgard-x/MDR-X/SizeInterpreter/SizeInterpreterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR-X/SizeInterpreter/SizeInterpreterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR-X/SizeInterpreter/SizeInterpreterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | #ifndef _MDR_SIZE_INTERPRETER_INTERFACE_HPP
#define _MDR_SIZE_INTERPRETER_INTERFACE_HPP
namespace mgard_x {
namespace MDR {
namespace concepts {
// level bit-plane reorganizer: EBCOT-like algorithm for multilevel bit-plane
// truncation
class SizeInterpreterInterface {
public:
virtual ~SizeInterpreterInterface() = d... | 29.4 | 79 | 0.692517 | [
"vector"
] |
19c0fae73c19734ebf2997d41f2e53a462c51cd1 | 1,162 | cpp | C++ | fix_csv/src/delete_non_bosch_sensors.cpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | fix_csv/src/delete_non_bosch_sensors.cpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | fix_csv/src/delete_non_bosch_sensors.cpp | CppPhil/fix_mogasens_csv | eedfe3037c1bd626f81a40073bd616b58d6ba677 | [
"Unlicense"
] | null | null | null | #include <tl/casts.hpp>
#include <pl/algo/erase.hpp>
#include <pl/string_view.hpp>
#include <pl/stringify.hpp>
#include <pl/unreachable.hpp>
#include "cl/column.hpp"
#include "cl/sensor.hpp"
#include "delete_non_bosch_sensors.hpp"
namespace fmc {
namespace {
constexpr pl::string_view extractIdString(cl::Sensor sens... | 25.26087 | 73 | 0.684165 | [
"vector"
] |
19c8ef1b18435a339990eb796ae8a236bd1601dc | 4,938 | cc | C++ | src/core/rpc_recv_context.cc | dlintw/smf | 7ad8b388ef1c051ca6e5f11e0d4c2415c8c3fda3 | [
"Apache-2.0"
] | null | null | null | src/core/rpc_recv_context.cc | dlintw/smf | 7ad8b388ef1c051ca6e5f11e0d4c2415c8c3fda3 | [
"Apache-2.0"
] | null | null | null | src/core/rpc_recv_context.cc | dlintw/smf | 7ad8b388ef1c051ca6e5f11e0d4c2415c8c3fda3 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2016 Alexander Gallego. All rights reserved.
//
#include <smf/rpc_recv_context.h>
#include <flatbuffers/minireflect.h>
#include <smf/log.h>
#include <smf/rpc_generated.h>
#include "smf/rpc_header_utils.h"
namespace std {
ostream &
operator<<(ostream &o, const smf::rpc::header &h) {
o << "rpc::head... | 37.694656 | 79 | 0.669704 | [
"vector"
] |
19ca2e0348da487194d7e6a59d3aa50ece72bb02 | 2,190 | cpp | C++ | C++/188.best-time-to-buy-and-sell-stock-iv.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2018-03-06T05:07:22.000Z | 2018-03-06T05:07:22.000Z | C++/188.best-time-to-buy-and-sell-stock-iv.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2021-12-24T16:41:02.000Z | 2021-12-24T16:41:02.000Z | C++/188.best-time-to-buy-and-sell-stock-iv.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | null | null | null | class Solution {
public:
int maxProfit(int k, vector<int>& prices) {
// version 1: dp
// buy[i][k], the max profit at the ith day when is buy in state after kth transactions, the max profit at the ith day when is sell out states after kth transactions
// buy[i][k] = max(buy[i - 1][k], sell[i... | 39.107143 | 173 | 0.460731 | [
"vector"
] |
19cc9a77263da62a368c26a5616e7134b65bf687 | 9,052 | cpp | C++ | src/utils/input_reads_profiler.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | 1 | 2018-08-21T23:34:28.000Z | 2018-08-21T23:34:28.000Z | src/utils/input_reads_profiler.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | null | null | null | src/utils/input_reads_profiler.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2018 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "input_reads_profiler.hpp"
#include <random>
#include <deque>
#include <iterator>
#include <algorithm>
#include <utility>
#include <cassert>
#include "mappable_algorithms.... | 40.410714 | 115 | 0.670128 | [
"vector",
"transform"
] |
19d1cc523c63dd4378b974fb801d87f80e5b5ea9 | 2,410 | cpp | C++ | ROS_WS/site_ws/src/site_model/src/data_output/radar_listener.cpp | OrangeSodahub/ROS-WS | 5b3c56ea1b46025298360eed9c06f25f7c5f7fe6 | [
"MIT"
] | 1 | 2022-03-20T19:16:06.000Z | 2022-03-20T19:16:06.000Z | ROS_WS/site_ws/src/site_model/src/data_output/radar_listener.cpp | OrangeSodahub/ROS-WS | 5b3c56ea1b46025298360eed9c06f25f7c5f7fe6 | [
"MIT"
] | null | null | null | ROS_WS/site_ws/src/site_model/src/data_output/radar_listener.cpp | OrangeSodahub/ROS-WS | 5b3c56ea1b46025298360eed9c06f25f7c5f7fe6 | [
"MIT"
] | null | null | null | /*###########################################################
# This cpp file subscribe the topic of radars and save #
# the poses information of vehicles. #
# Author: Yangxiuyu #
############################################################*/
#include "ros/ros.h"
#incl... | 29.036145 | 122 | 0.645643 | [
"vector"
] |
19e118f6dc464a1564c86e5b026593451da2ab02 | 691 | cpp | C++ | training-sheet/B/002. Bear and Finding Criminals.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | 1 | 2020-08-27T06:59:52.000Z | 2020-08-27T06:59:52.000Z | training-sheet/B/002. Bear and Finding Criminals.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | null | null | null | training-sheet/B/002. Bear and Finding Criminals.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define lli long long int
#define endl "\n"
#define MAX 2005
using namespace std;
int main()
{
int n, k;
cin>>n>>k;
k--; //for 0 based indexing
vector <int > v1(n);
for(int i = 0; i<n; i++)
cin>>v1[i];
int total = v1[k]; //it will be either 0 or 1
int left = k-1;
int right = k+1;... | 16.452381 | 48 | 0.523878 | [
"vector"
] |
19e1f74eb3f4539969120ea96929d6b0757a7eb8 | 51,560 | cc | C++ | wrspice/devlib/bjt/bjtdist.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | wrspice/devlib/bjt/bjtdist.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | wrspice/devlib/bjt/bjtdist.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 34 | 2017-10-06T17:04:21.000Z | 2022-02-18T16:22:03.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 28.772321 | 78 | 0.471102 | [
"model"
] |
19e6a9c117367e63808495190a9281ff5b106065 | 17,274 | cpp | C++ | src/reco/shaperec/featureextractor/l7/L7ShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | src/reco/shaperec/featureextractor/l7/L7ShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | src/reco/shaperec/featureextractor/l7/L7ShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************************
* Copyright (c) 2006 Hewlett-Packard Development Company, L.P.
* 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
* th... | 29.377551 | 128 | 0.551291 | [
"object",
"vector"
] |
19e714271dfa659d26be7f44b861ee0e94762e12 | 26,005 | cpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_tacacs_tacacs_server.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_tacacs_tacacs_server.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_tacacs_tacacs_server.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_sysadmin_tacacs_tacacs_server.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_sysadmin_tacacs_tacacs_server {
TacacsServer::TacacsS... | 28.830377 | 178 | 0.684791 | [
"vector"
] |
19eba7c587baa35b43794606ef6c4b420eb75ad9 | 25,326 | cpp | C++ | C++/Shared/Audio.cpp | 3282269202/Windows-appsample-marble-maze | cc9ec5b4002c0a51b49275e52e4c77a26ce6d3e3 | [
"MIT"
] | 73 | 2015-09-09T18:35:36.000Z | 2019-05-01T03:14:57.000Z | C++/Shared/Audio.cpp | 3282269202/Windows-appsample-marble-maze | cc9ec5b4002c0a51b49275e52e4c77a26ce6d3e3 | [
"MIT"
] | 4 | 2015-10-04T07:23:19.000Z | 2018-11-20T21:51:45.000Z | C++/Shared/Audio.cpp | 3282269202/Windows-appsample-marble-maze | cc9ec5b4002c0a51b49275e52e4c77a26ce6d3e3 | [
"MIT"
] | 40 | 2015-10-11T15:23:35.000Z | 2019-04-19T13:01:25.000Z | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h... | 36.918367 | 175 | 0.697228 | [
"render"
] |
19f395651739d5b215314033bdd30aebc1a78344 | 3,022 | cpp | C++ | src/sampling.cpp | kdbohne/pt | 78250c676b9cd03f1acdd27dcbec1e0b6209572b | [
"BSD-2-Clause"
] | null | null | null | src/sampling.cpp | kdbohne/pt | 78250c676b9cd03f1acdd27dcbec1e0b6209572b | [
"BSD-2-Clause"
] | null | null | null | src/sampling.cpp | kdbohne/pt | 78250c676b9cd03f1acdd27dcbec1e0b6209572b | [
"BSD-2-Clause"
] | null | null | null | #include "sampling.h"
#include "math.h"
float uniform_float()
{
// TODO: improve?
return (float)drand48();
}
Vector3f uniform_sample_sphere(const Point2f &u)
{
float z = 1 - 2 * u[0];
float r = std::sqrt(std::max((float)0, (float)1 - z * z));
float phi = 2 * PI * u[1];
return Vector3f(r * std:... | 24.569106 | 89 | 0.562541 | [
"vector"
] |
19f777e1718a5bb11dc1b3873774deaa786533dc | 8,876 | cpp | C++ | IProc/IProc/IProc.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | 3 | 2018-11-20T20:17:00.000Z | 2020-02-25T07:33:53.000Z | IProc/IProc/IProc.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | 2 | 2018-05-22T08:48:15.000Z | 2021-11-08T10:47:34.000Z | IProc/IProc/IProc.cpp | heshanera/IProc | 5e444038f46eec6f5d43e8d2fc169531aa8b68e5 | [
"MIT"
] | null | null | null | /*
* File: IProc.cpp
* Author: heshan
*
* Created on October 5, 2017, 1:32 PM
*/
#include <iostream>
#include <algorithm>
#include "IProc.h"
IProc::IProc() { }
IProc::IProc(const IProc& orig) { }
IProc::~IProc() { }
/**
*
* @param path of the image ( source or the target)
* @return an integer accordin... | 27.310769 | 97 | 0.585962 | [
"transform"
] |
19fa1dbb9f1ae6c5df9042521a9bd9deaa01e02b | 2,834 | cpp | C++ | test/thin_rq_test.cpp | saibalde/tensorfact | 7d5d9eea19d30d5ac6e1eb58ef70b23a8a68dbfb | [
"MIT"
] | 1 | 2021-12-31T08:29:42.000Z | 2021-12-31T08:29:42.000Z | test/thin_rq_test.cpp | saibalde/tensorfact | 7d5d9eea19d30d5ac6e1eb58ef70b23a8a68dbfb | [
"MIT"
] | null | null | null | test/thin_rq_test.cpp | saibalde/tensorfact | 7d5d9eea19d30d5ac6e1eb58ef70b23a8a68dbfb | [
"MIT"
] | null | null | null | #include "thin_rq.hpp"
#include <gtest/gtest.h>
#include <blas.hh>
#include <cmath>
#include <limits>
#include <random>
#include <stdexcept>
#include <vector>
template <typename Real>
void CreateRandomMatrix(long m, long n, std::vector<Real> &A) {
if (m < 1 || n < 1) {
throw std::invalid_argument(
... | 26 | 79 | 0.528582 | [
"vector"
] |
c20379497d245e83d2d62fef73d66adc6db6fbcb | 4,988 | hpp | C++ | include/GlobalNamespace/KeySoundController.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/KeySoundController.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/KeySoundController.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#include ... | 48.427184 | 228 | 0.754411 | [
"vector",
"transform"
] |
c20390643825ea8dab06fea61514cb650e88b960 | 2,564 | cpp | C++ | Code/src/selectedsourcefieldsselect.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | 1 | 2021-12-15T15:15:50.000Z | 2021-12-15T15:15:50.000Z | Code/src/selectedsourcefieldsselect.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | null | null | null | Code/src/selectedsourcefieldsselect.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | null | null | null | #include "selectedsourcefieldsselect.h"
#include "ui_selectedsourcefieldsselect.h"
#include "qsignalmapper.h"
#include <QDebug>
#include <QCheckBox>
#include "viewselectedsourcedataset.h"
selectedSourceFieldsSelect::selectedSourceFieldsSelect(vtkwindow_new *v, QList<QListWidgetItem *> sel, QWidget *parent) :
QWid... | 25.89899 | 121 | 0.696178 | [
"model"
] |
c206707df80c598f2f28813469e0b16720244d58 | 3,857 | cpp | C++ | main.cpp | sosastry/BashCrossProduct | 3c44193ac6b067b51010c91c06f022550b77cd07 | [
"MIT"
] | null | null | null | main.cpp | sosastry/BashCrossProduct | 3c44193ac6b067b51010c91c06f022550b77cd07 | [
"MIT"
] | null | null | null | main.cpp | sosastry/BashCrossProduct | 3c44193ac6b067b51010c91c06f022550b77cd07 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <stack>
#include <vector>
#include <regex>
using namespace std;
/* Creates a stack comprised of each element in the input string.
* Returns an empty stack if there are invalid characters in the string */
stack<string> createInputStack(string input) {
stack<string> in... | 29.899225 | 118 | 0.578429 | [
"vector"
] |
c20d40888bff3f53baa5e0035dccfece7ffdbc16 | 1,178 | cpp | C++ | CodeForces/34A_Reconnaissance2.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | 2 | 2020-09-10T15:48:02.000Z | 2020-09-12T00:05:35.000Z | CodeForces/34A_Reconnaissance2.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | null | null | null | CodeForces/34A_Reconnaissance2.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | 2 | 2020-09-09T17:01:05.000Z | 2020-09-09T17:02:27.000Z | /*
Author: Davi Augusto Neves Leite
Date: 24/06/2021
Compilar com os argumentos: -O2 -Wall -Wextra
Executar com os argumentos: < input.txt > output.txt
*/
#include <bits/stdc++.h>
#define MODULO 1000000007
typedef long long ll;
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
... | 21.035714 | 69 | 0.580645 | [
"vector"
] |
c20f2e3103ecac73faf76f6e1db001ce28d58950 | 7,714 | cpp | C++ | fly/coders/huffman/huffman_decoder.cpp | ExternalRepositories/libfly | 5acfc424a68031c0004b3c1cb5bef9d76dd129fb | [
"MIT"
] | 12 | 2020-12-26T04:40:48.000Z | 2022-02-12T17:58:33.000Z | fly/coders/huffman/huffman_decoder.cpp | ExternalRepositories/libfly | 5acfc424a68031c0004b3c1cb5bef9d76dd129fb | [
"MIT"
] | 308 | 2017-09-20T22:19:57.000Z | 2022-02-26T00:16:11.000Z | fly/coders/huffman/huffman_decoder.cpp | ExternalRepositories/libfly | 5acfc424a68031c0004b3c1cb5bef9d76dd129fb | [
"MIT"
] | 2 | 2020-12-26T04:41:02.000Z | 2021-06-17T18:24:03.000Z | #include "fly/coders/huffman/huffman_decoder.hpp"
#include "fly/logger/logger.hpp"
#include "fly/types/bit_stream/bit_stream_reader.hpp"
#include "fly/types/numeric/literals.hpp"
#include <vector>
using namespace fly::literals::numeric_literals;
namespace fly::coders {
//===========================================... | 30.25098 | 100 | 0.556261 | [
"vector"
] |
c216a60140eed39787cc78b8190940754dda7d3c | 1,707 | cpp | C++ | fboss/agent/hw/sai/tracer/VirtualRouterApiTracer.cpp | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 834 | 2015-03-10T18:12:28.000Z | 2022-03-31T20:16:17.000Z | fboss/agent/hw/sai/tracer/VirtualRouterApiTracer.cpp | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 82 | 2015-04-07T08:48:29.000Z | 2022-03-11T21:56:58.000Z | fboss/agent/hw/sai/tracer/VirtualRouterApiTracer.cpp | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 296 | 2015-03-11T03:45:37.000Z | 2022-03-14T22:54:22.000Z | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 30.482143 | 80 | 0.768014 | [
"vector"
] |
c217e5baf283b83a1274756a672020c7b8f5b25c | 453 | cpp | C++ | source/utility/text_parser.cpp | thomastli/k-means-cpp | 2e8e27a57e448b40f093e2e678e99a0b1bb909c1 | [
"MIT"
] | null | null | null | source/utility/text_parser.cpp | thomastli/k-means-cpp | 2e8e27a57e448b40f093e2e678e99a0b1bb909c1 | [
"MIT"
] | 1 | 2021-08-21T23:28:02.000Z | 2021-08-21T23:28:02.000Z | source/utility/text_parser.cpp | thomastli/k-means-cpp | 2e8e27a57e448b40f093e2e678e99a0b1bb909c1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include "algorithm/jaro_winkler.h"
#include "utility/text_parser.h"
using namespace utility;
std::vector<std::string> TextParser::RetrieveList(const std::string &filename) {
std::vector<std::string> name_list;
std::string line;
std::ifstream input_file(filename);
... | 22.65 | 80 | 0.699779 | [
"vector"
] |
c219d9da9b425abf6a41184ad89c73aad9939fc6 | 4,016 | hpp | C++ | src/tl/utility.hpp | Sebanisu/ToolsLibrary | 008773ee21bb160abc24c2f28c4f743813cdc777 | [
"BSL-1.0"
] | 1 | 2021-03-04T17:11:34.000Z | 2021-03-04T17:11:34.000Z | src/tl/utility.hpp | Sebanisu/ToolsLibrary | 008773ee21bb160abc24c2f28c4f743813cdc777 | [
"BSL-1.0"
] | 4 | 2021-03-04T17:12:49.000Z | 2021-03-25T02:08:29.000Z | src/tl/utility.hpp | Sebanisu/ToolsLibrary | 008773ee21bb160abc24c2f28c4f743813cdc777 | [
"BSL-1.0"
] | null | null | null | #ifndef TOOLSLIBRARY_UTILITY_HPP
#define TOOLSLIBRARY_UTILITY_HPP
#include "tl/concepts.hpp"
#include <array>
#include <cassert>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <istream>
#include <optional>
#include <span>
#include <vector>
namespace tl::utility {
/**
* Utility functions used by ... | 26.077922 | 80 | 0.683267 | [
"vector"
] |
c22038fe8f911a24ee0616c21a50ae4aa53e2b45 | 1,597 | cpp | C++ | Client/main.cpp | PeriodicSeizures/CPPNetworking | eb26674f7a1bf4e93622825b974dec4463959f93 | [
"MIT"
] | null | null | null | Client/main.cpp | PeriodicSeizures/CPPNetworking | eb26674f7a1bf4e93622825b974dec4463959f93 | [
"MIT"
] | null | null | null | Client/main.cpp | PeriodicSeizures/CPPNetworking | eb26674f7a1bf4e93622825b974dec4463959f93 | [
"MIT"
] | null | null | null | #define SDL_MAIN_HANDLED
#include <SDL.h>
#include <stdio.h>
#include <iostream>
#include <string>
#include "task/Task.h"
#include "engine/Engine.h"
int main(void)
{
Engine::init();
Task::init();
MAIN_MENU_TASK.focus();
//WORLD_TASK.focus();
//std::chrono::
//bool alive = true;
bool render = true;
unsigned ... | 19.716049 | 61 | 0.673137 | [
"render"
] |
c227ba66c8fdb188b2458225eb9b59d92735a71b | 1,780 | hpp | C++ | cpp/include/raft/linalg/axpy.hpp | kaatish/raft | f487da7f2585e60f0a11aef43ce17c990cc6145a | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/axpy.hpp | kaatish/raft | f487da7f2585e60f0a11aef43ce17c990cc6145a | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/axpy.hpp | kaatish/raft | f487da7f2585e60f0a11aef43ce17c990cc6145a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2022, NVIDIA CORPORATION.
*
* 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 ... | 29.666667 | 81 | 0.688202 | [
"vector"
] |
c22ded9c3c91047701ac5cdfd2acba48a01e878d | 5,339 | cpp | C++ | src/server.cpp | f0lg0/tcp-server-boilerplate | 54250c8da8dac2f7f57820af4322f7acfc29bff5 | [
"MIT"
] | 21 | 2022-01-09T19:04:49.000Z | 2022-01-23T00:47:36.000Z | src/server.cpp | f0lg0/tcp-server-boilerplate | 54250c8da8dac2f7f57820af4322f7acfc29bff5 | [
"MIT"
] | null | null | null | src/server.cpp | f0lg0/tcp-server-boilerplate | 54250c8da8dac2f7f57820af4322f7acfc29bff5 | [
"MIT"
] | 3 | 2022-01-10T15:22:14.000Z | 2022-01-18T15:14:59.000Z | #include "server.hpp"
#include <iostream>
#include <cstdint>
#include <unistd.h>
#include <algorithm>
#include <sys/epoll.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
Epoll::EpollHandler::EpollHandler() {
this->epfd = epoll_create(this->nthreads);
if (this->epfd < 0) {
std::cerr << "[!] F... | 25.303318 | 141 | 0.657239 | [
"vector"
] |
ea588e6e11a2f285abf3e5bb2a7b29e449134308 | 2,262 | cpp | C++ | examples/mult_example.cpp | DavidPfander-UniStuttgart/AutoTuneTMP | f5fb836778b04c2ab0fbcc4d36c466e577e96e65 | [
"BSD-3-Clause"
] | 5 | 2019-11-06T15:02:41.000Z | 2022-01-14T20:25:50.000Z | examples/mult_example.cpp | DavidPfander-UniStuttgart/AutoTuneTMP | f5fb836778b04c2ab0fbcc4d36c466e577e96e65 | [
"BSD-3-Clause"
] | 3 | 2018-01-25T21:25:22.000Z | 2022-03-14T17:35:27.000Z | examples/mult_example.cpp | DavidPfander-UniStuttgart/AutoTuneTMP | f5fb836778b04c2ab0fbcc4d36c466e577e96e65 | [
"BSD-3-Clause"
] | 1 | 2020-07-15T11:05:43.000Z | 2020-07-15T11:05:43.000Z | #include <algorithm>
#include <iostream>
#include <vector>
#include "autotune/autotune.hpp"
#include "autotune/parameter.hpp"
#include "autotune/tuners/bruteforce.hpp"
#include "autotune/tuners/countable_set.hpp"
AUTOTUNE_KERNEL(void(size_t, std::vector<double> &, size_t,
std::vector<double> &, s... | 35.904762 | 80 | 0.702918 | [
"vector"
] |
ea5da3e06c79192974a9190f4c22d1a55d4c5adc | 5,956 | cpp | C++ | Elements/src/higgs_couplings_table.cpp | GambitBSM/gambit_2.0 | a4742ac94a0352585a3b9dcb9b222048a5959b91 | [
"Unlicense"
] | 1 | 2021-09-17T22:53:26.000Z | 2021-09-17T22:53:26.000Z | Elements/src/higgs_couplings_table.cpp | GambitBSM/gambit_2.0 | a4742ac94a0352585a3b9dcb9b222048a5959b91 | [
"Unlicense"
] | 3 | 2021-07-22T11:23:48.000Z | 2021-08-22T17:24:41.000Z | Elements/src/higgs_couplings_table.cpp | GambitBSM/gambit_2.0 | a4742ac94a0352585a3b9dcb9b222048a5959b91 | [
"Unlicense"
] | 1 | 2021-08-14T10:31:41.000Z | 2021-08-14T10:31:41.000Z | // GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// Lightweight higgs partial widths container
///
/// *********************************************
///
/// Authors (add name and date if you modify):
///
/// \author Pat Scott
/// (p.scott... | 34.427746 | 135 | 0.688885 | [
"vector"
] |
ea6379935919f0b341d58479f05b855122ac2984 | 625 | cpp | C++ | Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DrawInstancedPass.cpp | shh1473/Sunrin_Engine_2019 | 1782d10a397055f8a64f3b772b342438ede02b36 | [
"MIT"
] | null | null | null | Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DrawInstancedPass.cpp | shh1473/Sunrin_Engine_2019 | 1782d10a397055f8a64f3b772b342438ede02b36 | [
"MIT"
] | null | null | null | Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_DrawInstancedPass.cpp | shh1473/Sunrin_Engine_2019 | 1782d10a397055f8a64f3b772b342438ede02b36 | [
"MIT"
] | null | null | null | #include "SR_PCH.h"
#include "SR_DrawInstancedPass.h"
#include "SR_App.h"
namespace SunrinEngine
{
SR_DrawInstancedPass::SR_DrawInstancedPass(SR_Component * owner) noexcept :
SR_CommonPass(owner),
m_vertexCountPerInstance { 0 },
m_instanceCount { 0 },
m_startVertexLocation { 0 },
m_startInstanceLocati... | 22.321429 | 176 | 0.7648 | [
"render"
] |
ea6644e611d271e78b484a16a354363f0aa4b3da | 19,896 | cpp | C++ | gl_impl.cpp | Meisaka/ICIClient | cc0a11031338fed79019aa8c997c6a5f09c514d6 | [
"MIT"
] | 2 | 2016-05-19T16:18:38.000Z | 2021-05-19T15:12:12.000Z | gl_impl.cpp | Meisaka/ICIClient | cc0a11031338fed79019aa8c997c6a5f09c514d6 | [
"MIT"
] | 1 | 2016-10-30T21:49:18.000Z | 2016-11-01T01:29:53.000Z | gl_impl.cpp | Meisaka/ICIClient | cc0a11031338fed79019aa8c997c6a5f09c514d6 | [
"MIT"
] | 1 | 2016-05-19T16:18:41.000Z | 2016-05-19T16:18:41.000Z | // ImGui SDL2 binding with OpenGL3 (slightly modified)
// In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp.
#include "ici.h"
// SDL WM
#include <SDL_syswm.h>
// Data
static double g_Time = 0.0f;
static bool g_MousePressed[5] = { false... | 41.107438 | 232 | 0.734318 | [
"render"
] |
ea6698ccdd76e3dc4e0800fe457eb4ba83d6e3c0 | 7,048 | cxx | C++ | utilities/goal_distance/src/main.cxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null | utilities/goal_distance/src/main.cxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null | utilities/goal_distance/src/main.cxx | miquelramirez/aamas18-planning-for-transparency | dff3e635102bf351906807c5181113fbf4b67083 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <fstream>
#include <map>
#include <ctype.h>
#include <climits>
#include <strips_prob.hxx>
#include <ff_to_aptk.hxx>
#include <fluent.hxx>
#include <action.hxx>
#include <cond_eff.hxx>
#include <strips_state.hxx>
#include <fwd_search_prob.hxx>
#include <rp_heuristic.hxx>
#include <aptk/ope... | 35.77665 | 141 | 0.6792 | [
"vector"
] |
ea69646686934cf7b546679da08cb56d42a054d3 | 1,878 | cpp | C++ | inst/isource/cluster4.cpp | trosendal/sourceSim | 190c86db6edd07d217321393679e0b9152b7c032 | [
"BSD-3-Clause"
] | null | null | null | inst/isource/cluster4.cpp | trosendal/sourceSim | 190c86db6edd07d217321393679e0b9152b7c032 | [
"BSD-3-Clause"
] | 1 | 2021-11-01T14:39:13.000Z | 2021-11-01T14:39:13.000Z | inst/isource/cluster4.cpp | trosendal/sourceSim | 190c86db6edd07d217321393679e0b9152b7c032 | [
"BSD-3-Clause"
] | null | null | null | #include "cluster.h"
void Cluster::recalc_b(Matrix<double> &a, Matrix< Vector<double> > &b) {
int i,j,k,l;
for(i=0;i<ng;i++) {
for(j=0;j<nloc;j++) {
for(k=0;k<acount[i][j].size();k++) {
b[i][j][k] = 0.0;
for(l=0;l<ng;l++) {
b[i][j][k] += acount[l][j][k] * a[i][l];
// bk[i][j][k] += (acount[l][j... | 28.892308 | 101 | 0.561235 | [
"vector"
] |
ea72b836fbacbb3bc732a8c7d9f61eea0493215c | 7,230 | cpp | C++ | tools/clang/tools/dxlib-sample/lib_cache_manager.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | tools/clang/tools/dxlib-sample/lib_cache_manager.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | tools/clang/tools/dxlib-sample/lib_cache_manager.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// //
// lib_cache_manager.cpp //
// Copyright (C) Microsoft Corporation. All rights reserved. //
... | 35.097087 | 117 | 0.625311 | [
"vector"
] |
ea75fa57c8610a61af723957f18542b82d7ec372 | 798 | hpp | C++ | apal_cxx/include/chc_noise.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | null | null | null | apal_cxx/include/chc_noise.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | 15 | 2019-05-23T07:18:19.000Z | 2019-12-17T08:01:10.000Z | apal_cxx/include/chc_noise.hpp | davidkleiven/APAL | f3d549498d312b98f55aad5db7c4ad061785ecbf | [
"MIT"
] | null | null | null | #ifndef CHC_NOISE_H
#define CHC_NOISE_H
#include <vector>
#include <string>
#include "thermal_noise_generator.hpp"
template<int dim>
class CHCNoise: public ThermalNoiseGenerator{
public:
CHCNoise(double dt, double mobility, double amplitude, unsigned int L);
~CHCNoise();
/** Create noise */
void cre... | 25.741935 | 100 | 0.697995 | [
"vector"
] |
ea7618086f4342b8dabe62820d06573d78639f51 | 27,820 | cpp | C++ | tests/unit/plugins/matrixops/dot_operation.cpp | NK-Nikunj/phylanx | 6898992513a122c49d26947d877f329365486665 | [
"BSL-1.0"
] | null | null | null | tests/unit/plugins/matrixops/dot_operation.cpp | NK-Nikunj/phylanx | 6898992513a122c49d26947d877f329365486665 | [
"BSL-1.0"
] | null | null | null | tests/unit/plugins/matrixops/dot_operation.cpp | NK-Nikunj/phylanx | 6898992513a122c49d26947d877f329365486665 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017 Hartmut Kaiser
// Copyright (c) 2017 Parsa Amini
//
// 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 <phylanx/phylanx.hpp>
#include <hpx/hpx_main.hpp>
#include <hpx/include/lc... | 36.557162 | 82 | 0.664881 | [
"vector"
] |
ea8163a77f40dd68454774e43094b79d87cfa81a | 9,178 | cpp | C++ | src/glui_treepanel.cpp | mick-p1982/glui | 1fa44ceadd135bdb022a0117e8437979d5cd7c9c | [
"Zlib"
] | null | null | null | src/glui_treepanel.cpp | mick-p1982/glui | 1fa44ceadd135bdb022a0117e8437979d5cd7c9c | [
"Zlib"
] | 1 | 2020-07-22T03:14:59.000Z | 2020-07-22T03:14:59.000Z | src/glui_treepanel.cpp | mick-p1982/glui | 1fa44ceadd135bdb022a0117e8437979d5cd7c9c | [
"Zlib"
] | 1 | 2021-03-31T18:13:11.000Z | 2021-03-31T18:13:11.000Z | /*
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redist... | 22.887781 | 78 | 0.653519 | [
"render"
] |
ea85acbeaf3f93fabd21bff1883e333cbe758c46 | 6,273 | cc | C++ | tests/client_tests/packet_loss_test.cc | gjerecze/eRPC | 3516d5d8973a7b12f7141a4d4be3ba3a671c41a4 | [
"Apache-2.0"
] | null | null | null | tests/client_tests/packet_loss_test.cc | gjerecze/eRPC | 3516d5d8973a7b12f7141a4d4be3ba3a671c41a4 | [
"Apache-2.0"
] | null | null | null | tests/client_tests/packet_loss_test.cc | gjerecze/eRPC | 3516d5d8973a7b12f7141a4d4be3ba3a671c41a4 | [
"Apache-2.0"
] | null | null | null | /**
* @file test_packet_loss.cc
* @brief Test packet losses. Most of the code here is derived from
* `test_large_msg.cc`.
*/
#include "client_tests.h"
void req_handler(ReqHandle *, void *); // Forward declaration
/// Request handler for foreground testing
auto reg_info_vec_fg = {
ReqFuncRegInfo(kTestReqType,... | 34.092391 | 80 | 0.713375 | [
"vector"
] |
ea8d9ee9e35fb63f385febc4ec177b6c8ad267c1 | 832 | cpp | C++ | leet/ac/0053.maximum-subarray.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | leet/ac/0053.maximum-subarray.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | leet/ac/0053.maximum-subarray.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | class Solution { // Time O(n)
public:
int maxSubArray(vector<int> &nums) {
int maxSum = nums[0];
vector<int> dp;
dp.push_back(nums[0]);
for (int i = 1; i < nums.size(); i++) {
dp.push_back(max(nums[i], dp[i - 1] + nums[i]));
if (dp[i] > maxSum)
... | 26 | 60 | 0.424279 | [
"vector"
] |
ea8f378b52a11f13bf022c41b2dedc4d39280c49 | 4,455 | cc | C++ | console-plugins/map-sparsification-plugin/src/map-sparsification-plugin.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 1,936 | 2017-11-27T23:11:37.000Z | 2022-03-30T14:24:14.000Z | console-plugins/map-sparsification-plugin/src/map-sparsification-plugin.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 353 | 2017-11-29T18:40:39.000Z | 2022-03-30T15:53:46.000Z | console-plugins/map-sparsification-plugin/src/map-sparsification-plugin.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 661 | 2017-11-28T07:20:08.000Z | 2022-03-28T08:06:29.000Z | #include "map-sparsification-plugin/map-sparsification-plugin.h"
#include <string>
#include <vector>
#include <console-common/console.h>
#include <map-manager/map-manager.h>
#include <map-sparsification-plugin/landmark-sparsification.h>
#include <vi-map/unique-id.h>
#include <vi-map/vi-map.h>
#include <visualization/... | 37.436975 | 79 | 0.6422 | [
"vector"
] |
ea908590a4d5c1f3080daa4bbc66a251140275f2 | 18,079 | cpp | C++ | apps/esmtool/esmtool.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/esmtool/esmtool.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/esmtool/esmtool.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <vector>
#include <deque>
#include <list>
#include <map>
#include <set>
#include <boost/program_options.hpp>
#include <components/esm/esmreader.hpp>
#include <components/esm/esmwriter.hpp>
#include <components/esm/records.hpp>
#include "record.hpp"
#define ESMTOOL_VERSION 1.2
// Create... | 31.99823 | 325 | 0.554345 | [
"vector"
] |
ea95798ff8b29d2a635f70e0f1c8f2928eff37a8 | 1,372 | hpp | C++ | include/tsk/thread_pool.hpp | edouarda/task-manager | abec3f0dfdbd97204f7f68d03e3ca136346c6304 | [
"BSD-3-Clause"
] | null | null | null | include/tsk/thread_pool.hpp | edouarda/task-manager | abec3f0dfdbd97204f7f68d03e3ca136346c6304 | [
"BSD-3-Clause"
] | null | null | null | include/tsk/thread_pool.hpp | edouarda/task-manager | abec3f0dfdbd97204f7f68d03e3ca136346c6304 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <thread>
#include <tsk/task.hpp>
namespace tsk
{
template <typename Queue>
class thread_pool
{
public:
explicit thread_pool(Queue & q, size_t s)
: _queue{q}
, _size{s}
{}
thread_pool(const thread_pool &) = delete;
public:
void start()
{
if (_run.e... | 17.15 | 80 | 0.443878 | [
"vector"
] |
eaa27c2ef6319a05297038a6b8ff46c33e855ca9 | 2,388 | cpp | C++ | src/caffe/layers/cross_entropy_loss_layer.cpp | chenbinghui1/Hybrid-Attention-based-Decoupled-Metric-Learning | 7b1bda334efe0c98c6876548b35a728c3c35676d | [
"MIT"
] | 44 | 2019-04-03T16:51:30.000Z | 2022-02-02T15:19:48.000Z | src/caffe/layers/cross_entropy_loss_layer.cpp | chenbinghui1/Decoupled-Metric-Learning | 7b1bda334efe0c98c6876548b35a728c3c35676d | [
"MIT"
] | 1 | 2021-06-01T10:00:00.000Z | 2021-06-23T01:46:43.000Z | src/caffe/layers/cross_entropy_loss_layer.cpp | chenbinghui1/Decoupled-Metric-Learning | 7b1bda334efe0c98c6876548b35a728c3c35676d | [
"MIT"
] | 8 | 2019-05-16T05:44:41.000Z | 2020-08-19T17:16:28.000Z | #include <algorithm>
#include <cfloat>
#include <vector>
#include "caffe/layers/cross_entropy_loss_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void CrossEntropyLossLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
... | 34.114286 | 160 | 0.667923 | [
"vector"
] |
eaa97709e55b9c5346d8cade7fbaf537f3a4742e | 14,382 | cpp | C++ | src/merge-name.cpp | shirok1/font-merger | 9dc6a2b98f58e751940e33700e0ad39189a7ccb8 | [
"MIT"
] | 227 | 2019-07-30T15:36:57.000Z | 2022-03-27T00:47:40.000Z | src/merge-name.cpp | shirok1/font-merger | 9dc6a2b98f58e751940e33700e0ad39189a7ccb8 | [
"MIT"
] | 3 | 2020-03-23T13:53:21.000Z | 2021-12-25T19:39:19.000Z | src/merge-name.cpp | shirok1/font-merger | 9dc6a2b98f58e751940e33700e0ad39189a7ccb8 | [
"MIT"
] | 21 | 2019-09-10T11:59:01.000Z | 2022-03-22T06:37:26.000Z | #include <algorithm>
#include <iterator>
#include <map>
#include <optional>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include "merge-name.h"
using namespace std;
namespace LicenseString {
const char *Apache =
"This Font Software is licensed under the Apache License,... | 26.983114 | 81 | 0.615909 | [
"vector",
"transform"
] |
eaae68c5001724aa400f21c3868ef85205f31b82 | 20,879 | cxx | C++ | vendor/fltk-sys/cfltk/fltk/src/drivers/Android/Fl_Android_Graphics_Clipping.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | vendor/fltk-sys/cfltk/fltk/src/drivers/Android/Fl_Android_Graphics_Clipping.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | vendor/fltk-sys/cfltk/fltk/src/drivers/Android/Fl_Android_Graphics_Clipping.cxx | dareludum/icfpc2020 | a4fae7389da30a8f1d151df00752290ec2472b84 | [
"MIT"
] | null | null | null | //
// Clipping region routines for the Fast Light Tool Kit (FLTK).
//
// Copyright 2018 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
// file is missing or damaged, see the licen... | 25.808405 | 115 | 0.659898 | [
"object"
] |
eab33d842eed78f97404458b04f30e6b7022fed1 | 10,909 | cpp | C++ | src/Microsoft.DotNet.Wpf/src/WpfGfx/core/resources/BrushTypeUtils.cpp | Mu-L/wpf | a539c26bb4c099acaf902077e03f787775b082fd | [
"MIT"
] | 5,937 | 2018-12-04T16:32:50.000Z | 2022-03-31T09:48:37.000Z | src/Microsoft.DotNet.Wpf/src/WpfGfx/core/resources/BrushTypeUtils.cpp | Mu-L/wpf | a539c26bb4c099acaf902077e03f787775b082fd | [
"MIT"
] | 4,151 | 2018-12-04T16:38:19.000Z | 2022-03-31T18:41:14.000Z | src/Microsoft.DotNet.Wpf/src/WpfGfx/core/resources/BrushTypeUtils.cpp | Mu-L/wpf | a539c26bb4c099acaf902077e03f787775b082fd | [
"MIT"
] | 1,084 | 2018-12-04T16:24:21.000Z | 2022-03-30T13:52:03.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//+-----------------------------------------------------------------------------
//
//
// $TAG ENGR
// $Mod... | 33.158055 | 101 | 0.659822 | [
"shape",
"vector",
"transform"
] |
ead2b77d14b11898ba36339f34efa1982c672282 | 2,319 | cpp | C++ | solutions/LeetCode/C++/799.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/799.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/799.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 4 ms submission
class Solution {
public:
double champagneTower(int poured, int query_row, int query_glass) {
if (query_row == 0) return poured < 1.0 ? poured : 1.0;
int queryId = query_row * (q... | 40.684211 | 103 | 0.530832 | [
"vector"
] |
eadeafe8fe4d9d8e083d21c908c7b50148071393 | 30,023 | cc | C++ | chrome/browser/extensions/extensions_ui.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | chrome/browser/extensions/extensions_ui.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/extensions_ui.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extensions_ui.h"
#include "app/gfx/codec/png_codec.h"
#include "app/gfx/color_utils.h"
#include "app/gfx/skb... | 39.194517 | 80 | 0.720115 | [
"render",
"vector"
] |
eaef5c066cdda0db81e4249abde97864f2488dbb | 2,811 | cpp | C++ | Atcoder/ABC 159/E.cpp | JanaSabuj/cpmaster | d943780c7ca4badbefbce2d300848343c4032650 | [
"MIT"
] | 1 | 2020-11-29T08:36:38.000Z | 2020-11-29T08:36:38.000Z | Atcoder/ABC 159/E.cpp | Sahu49/CompetitiveProgramming | adf11a546f81878ad2975926219af84deb3414e8 | [
"MIT"
] | null | null | null | Atcoder/ABC 159/E.cpp | Sahu49/CompetitiveProgramming | adf11a546f81878ad2975926219af84deb3414e8 | [
"MIT"
] | null | null | null | /*--------------------------"SABUJ-JANA"------"JADAVPUR UNIVERSITY"--------*/
/*-------------------------------@greenindia-----------------------------------*/
//
// _____ _ _ _
// / ____| | | (_) | |
// | (___ __ _| |__ _ _ _ | | __ _ _ __ __ _
// \___ \ / _... | 22.488 | 126 | 0.412665 | [
"vector"
] |
eaf0f74863f03b17d31c439e724ff3751fcf9614 | 718 | cpp | C++ | BashuOJ-Code/4585.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/4585.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/4585.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
const int INF=0x7fffffff/2;
int n,dist[205][205],f[205];
inline int getint()
{
int num=0,bj=1;
... | 19.944444 | 57 | 0.60585 | [
"vector"
] |
46ac98be0a4a747e53adde57ccda100b683b62d4 | 303 | hpp | C++ | src/cartridge/Cartridge.hpp | zombre98/gameboy-emulator | 7741d8c5f77a94c91a24c9fdeeb7c6dbfa525cba | [
"MIT"
] | null | null | null | src/cartridge/Cartridge.hpp | zombre98/gameboy-emulator | 7741d8c5f77a94c91a24c9fdeeb7c6dbfa525cba | [
"MIT"
] | null | null | null | src/cartridge/Cartridge.hpp | zombre98/gameboy-emulator | 7741d8c5f77a94c91a24c9fdeeb7c6dbfa525cba | [
"MIT"
] | null | null | null | //
// Created by Thomas Burgaud on 2019-01-11.
//
#pragma once
#include <string>
#include <vector>
namespace gb {
class Cartridge {
public:
Cartridge(std::string const &romPath);
~Cartridge() = default;
bool init();
private:
std::string const &_romPath;
std::vector<char> _cart;
};
}
| 13.173913 | 43 | 0.660066 | [
"vector"
] |
46b045d8e796195868e19ef11e4cfb586bab1030 | 4,281 | cpp | C++ | Gameplay/EnemyController.cpp | Akita-Interactive/Hachiko-Engine | 0e3e0377ac5c8f5b15c525c8fcff384e9c92c14b | [
"MIT"
] | 5 | 2022-02-10T23:31:11.000Z | 2022-02-11T19:32:38.000Z | Gameplay/EnemyController.cpp | Akita-Interactive/Hachiko-Engine | 0e3e0377ac5c8f5b15c525c8fcff384e9c92c14b | [
"MIT"
] | null | null | null | Gameplay/EnemyController.cpp | Akita-Interactive/Hachiko-Engine | 0e3e0377ac5c8f5b15c525c8fcff384e9c92c14b | [
"MIT"
] | null | null | null |
#include "scriptingUtil/gameplaypch.h"
#include "EnemyController.h"
#include "PlayerController.h"
#include "Stats.h"
#include <components/ComponentTransform.h>
#include <components/ComponentAgent.h>
Hachiko::Scripting::EnemyController::EnemyController(GameObject* game_object)
: Script(game_object, "EnemyController")... | 25.331361 | 118 | 0.742116 | [
"transform"
] |
46c7c4ebc78c2ff914a83da92b4ddec6a38597a7 | 8,672 | cpp | C++ | src/dlib/test/statistics.cpp | cpearce/HARM | 1e629099bbaa0203b19fe9007a71d9ab9c938be0 | [
"Apache-2.0"
] | 1 | 2016-10-11T18:37:52.000Z | 2016-10-11T18:37:52.000Z | src/dlib/test/statistics.cpp | wsgan001/HARM | 1e629099bbaa0203b19fe9007a71d9ab9c938be0 | [
"Apache-2.0"
] | 2 | 2017-03-27T22:58:45.000Z | 2017-03-28T04:46:52.000Z | src/dlib/test/statistics.cpp | wsgan001/HARM | 1e629099bbaa0203b19fe9007a71d9ab9c938be0 | [
"Apache-2.0"
] | 4 | 2016-04-19T06:15:01.000Z | 2020-01-02T11:11:57.000Z | // Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <dlib/statistics.h>
#include <dlib/rand.h>
#include <algorithm>
#include "tester.h"
namespa... | 34.141732 | 111 | 0.440613 | [
"vector"
] |
46cbf5c0432fe698ee456bd9e1c978c5f41ce71b | 132,648 | cpp | C++ | server/sql_utils_container.cpp | bolorerdenee/griddb | 993350605124eef8ec9df122aa958d5d6b8fc370 | [
"Apache-2.0"
] | 646 | 2016-02-24T13:44:26.000Z | 2022-03-30T19:24:55.000Z | server/sql_utils_container.cpp | bolorerdenee/griddb | 993350605124eef8ec9df122aa958d5d6b8fc370 | [
"Apache-2.0"
] | 57 | 2020-06-20T01:17:56.000Z | 2022-03-12T02:22:48.000Z | server/sql_utils_container.cpp | bolorerdenee/griddb | 993350605124eef8ec9df122aa958d5d6b8fc370 | [
"Apache-2.0"
] | 1,697 | 2020-06-17T08:43:28.000Z | 2022-03-31T21:25:58.000Z | /*
Copyright (c) 2017 TOSHIBA Digital Solutions Corporation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This... | 27.973007 | 83 | 0.741436 | [
"vector"
] |
46cf657b5b8e3054001752e598d37f5bf152a356 | 2,962 | cpp | C++ | src/SACSegmentation.cpp | FloatingObjectSegmentation/Test2 | f55ec186e5f64accc325aeada56f06f32e686f96 | [
"MIT"
] | 1 | 2022-03-03T04:57:44.000Z | 2022-03-03T04:57:44.000Z | src/SACSegmentation.cpp | FloatingObjectSegmentation/Test2 | f55ec186e5f64accc325aeada56f06f32e686f96 | [
"MIT"
] | null | null | null | src/SACSegmentation.cpp | FloatingObjectSegmentation/Test2 | f55ec186e5f64accc325aeada56f06f32e686f96 | [
"MIT"
] | null | null | null | #include "SACSegmentation.hpp"
#include <iostream>
#include <vector>
#include <string>
#include <liblas/liblas.hpp>
#include <pcl/io/pcd_io.h>
#include <pcl/search/search.h>
#include <pcl/search/kdtree.h>
#include <pcl/features/normal_3d.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/ModelCoefficients.h... | 36.121951 | 127 | 0.608035 | [
"object",
"vector",
"model"
] |
46d985b9c9d12fe385cf427b04b6405319a3917e | 12,389 | cc | C++ | src/fcst/source/contribs/DAE_solver.cc | jeremyjiezhou/Learn-PyTorch | 7e4404609bacd2ec796f6ca3ea118e8e34ab4a22 | [
"MIT"
] | 24 | 2016-10-04T20:49:55.000Z | 2022-03-12T19:07:10.000Z | src/fcst/source/contribs/DAE_solver.cc | jeremyjiezhou/Learn-PyTorch | 7e4404609bacd2ec796f6ca3ea118e8e34ab4a22 | [
"MIT"
] | 3 | 2016-09-05T10:17:36.000Z | 2016-12-11T18:23:06.000Z | src/fcst/source/contribs/DAE_solver.cc | jeremyjiezhou/Learn-PyTorch | 7e4404609bacd2ec796f6ca3ea118e8e34ab4a22 | [
"MIT"
] | 9 | 2016-12-11T22:15:03.000Z | 2020-11-21T13:51:05.000Z | //---------------------------------------------------------------------------
// $Id: DAE_solver.cc 2605 2014-08-15 03:36:44Z secanell $
//
// Copyright (C) 2011 by Jason Boisvert, University of Saskatchewan
//
// This file is subject to QPL and may not be distributed
// without copyright and license infor... | 24.630219 | 112 | 0.49544 | [
"mesh"
] |
46da57e6b1b07323b3c21a96ee6b3aec7cbeaeb8 | 2,154 | cpp | C++ | src/Systems/camerasystem.cpp | NotBjoggisAtAll/Tomato-Engine | c13d071fdc311634a58243f000f8c5d6731f1218 | [
"MIT"
] | 1 | 2021-01-06T21:13:19.000Z | 2021-01-06T21:13:19.000Z | src/Systems/camerasystem.cpp | NotBjoggisAtAll/Tomato-Engine | c13d071fdc311634a58243f000f8c5d6731f1218 | [
"MIT"
] | null | null | null | src/Systems/camerasystem.cpp | NotBjoggisAtAll/Tomato-Engine | c13d071fdc311634a58243f000f8c5d6731f1218 | [
"MIT"
] | null | null | null | #include "camerasystem.h"
#include "world.h"
#include "GSL/matrix4x4.h"
#include "Components/camera.h"
#include "Components/transform.h"
void CameraSystem::tick(float /*deltaTime*/)
{
for(const auto& entity : entities_)
{
Camera* camera = getWorld()->getComponent<Camera>(entity).value();
Transf... | 35.9 | 83 | 0.652275 | [
"transform"
] |
46e08ab3d4dbb7030a82e6668c17b64e6cceeafd | 3,125 | cpp | C++ | app/src/logic/GameManager.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | app/src/logic/GameManager.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | app/src/logic/GameManager.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include <algorithm>
#include <optional>
#include <stdexcept>
#include <thread>
#include <mutex>
#include "GameManager.hpp"
#include "debug.hpp"
#include "stringTools.hpp"
#include "Process.hpp"
namespace Logic {
GameManager::GameManager(const std::vector<Model::PieceColor>* const colorsInGame, const std::ch... | 31.565657 | 242 | 0.57824 | [
"vector",
"model"
] |
46e1326e984be6abfa15c11eaaf26c7494355d4a | 770 | cpp | C++ | conf/IniHelper.cpp | jjzhang166/winutil1 | fba80821c415e26afb2c63d8d3a423d6ff43b6b4 | [
"MIT"
] | 4 | 2015-09-05T05:28:30.000Z | 2019-05-16T08:45:36.000Z | conf/IniHelper.cpp | ph0ly/winutil | fba80821c415e26afb2c63d8d3a423d6ff43b6b4 | [
"MIT"
] | null | null | null | conf/IniHelper.cpp | ph0ly/winutil | fba80821c415e26afb2c63d8d3a423d6ff43b6b4 | [
"MIT"
] | null | null | null | #define DLL_EXPORTS
#include "IniHelper.h"
#include <windows.h>
NAMESPACE_PH0LY_BEGIN(conf)
IniHelper::IniHelper(void)
{
}
IniHelper::~IniHelper(void)
{
}
std::vector<std::string> IniHelper::GetChildren(std::string strPath, std::string strNode)
{
std::vector<std::string> tmp;
return tmp;
}
std::vector<std::string... | 19.25 | 100 | 0.688312 | [
"vector"
] |
46e270e52c9693f63368537f61be73beb1648032 | 1,803 | cpp | C++ | boboleetcode/Play-Leetcode-master/0473-Matchsticks-to-Square/cpp-0473/main3.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 2 | 2019-03-20T17:05:59.000Z | 2019-10-15T07:56:45.000Z | boboleetcode/Play-Leetcode-master/0473-Matchsticks-to-Square/cpp-0473/main3.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 6 | 2019-12-04T06:08:32.000Z | 2021-05-10T20:22:47.000Z | boboleetcode/Play-Leetcode-master/0473-Matchsticks-to-Square/cpp-0473/main3.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | null | null | null | /// Source : https://leetcode.com/problems/matchsticks-to-square/description/
/// Author : liuyubobobo
/// Time : 2018-08-28
#include <iostream>
#include <numeric>
#include <vector>
#include <cassert>
using namespace std;
/// Memory Search
///
/// Time Complexity: O(n*2^n)
/// Space Complexity: O(2^n)
class Solut... | 22.5375 | 83 | 0.494176 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.