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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a747a9d7989b49408a74654685190a1643c9d0cc | 860 | hpp | C++ | src/View/Palette.hpp | qzerrty/graphics-editor | af76f1466bac3b3ba7363272af74ab04e6ee44ae | [
"MIT"
] | null | null | null | src/View/Palette.hpp | qzerrty/graphics-editor | af76f1466bac3b3ba7363272af74ab04e6ee44ae | [
"MIT"
] | null | null | null | src/View/Palette.hpp | qzerrty/graphics-editor | af76f1466bac3b3ba7363272af74ab04e6ee44ae | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <istream>
#include "main/graphicsEditor.hpp"
#include "Interfaces/Window.hpp"
#include "ColorInput.hpp"
#include "ChoosenColor.hpp"
#include "TextInput.hpp"
class Palette : public Window {
private:
std::vector<ColorInput *> colors;
std::vector<TextInput *> textInputs;
Choo... | 30.714286 | 86 | 0.748837 | [
"vector"
] |
a747b9379b58d9310c3235715fd75faa43fc3708 | 44,663 | cpp | C++ | src/backend/gporca/server/src/unittest/gpopt/operators/CExpressionTest.cpp | saschasch76/gpdb | 83e217407e8d431f97144c5233e6b93aa4db26c7 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-11-28T08:12:58.000Z | 2020-10-28T04:15:52.000Z | src/backend/gporca/server/src/unittest/gpopt/operators/CExpressionTest.cpp | wjzeng/gpdb | 42ed049b7d7dfd21127cfffaf7aa9be862570828 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/backend/gporca/server/src/unittest/gpopt/operators/CExpressionTest.cpp | wjzeng/gpdb | 42ed049b7d7dfd21127cfffaf7aa9be862570828 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 Greenplum, Inc.
//
// @filename:
// CExpressionTest.cpp
//
// @doc:
// Test for CExpression
//---------------------------------------------------------------------------
#include "unittest/gpopt/o... | 32.387962 | 133 | 0.681011 | [
"shape"
] |
a74ddc2e5bb4f6387f122dc7d27e02479d93d977 | 2,828 | cpp | C++ | src/kademlia/dht_state.cpp | kamyu104/libtorrent-1 | 87ec445943324a243be2b9499b74dc0983a42af9 | [
"BSL-1.0",
"BSD-3-Clause"
] | 9 | 2019-11-05T16:47:12.000Z | 2022-03-05T15:21:25.000Z | src/kademlia/dht_state.cpp | kamyu104/libtorrent-1 | 87ec445943324a243be2b9499b74dc0983a42af9 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/kademlia/dht_state.cpp | kamyu104/libtorrent-1 | 87ec445943324a243be2b9499b74dc0983a42af9 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2016, 2021, Alden Torres
Copyright (c) 2017, Steven Siloti
Copyright (c) 2017-2021, Arvid Norberg
All rights reserved.
You may use, distribute and modify this code under the terms of the BSD license,
see LICENSE file.
*/
#include "libtorrent/kademlia/dht_state.hpp"
#include <libtorrent/bdecode.hpp>... | 25.026549 | 80 | 0.674682 | [
"vector"
] |
a74e36c8c96650efef5ed52a2c33be4b520a7265 | 385 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Remoting/Remoting_Sinks/CPP/client.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Remoting_Sinks/CPP/client.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Remoting_Sinks/CPP/client.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
// <snippet10>
#using <remotable.dll>
using namespace System;
using namespace System::Runtime::Remoting;
int main()
{
// Set up a remoting client.
RemotingConfiguration::Configure( "Client.config" );
// Call a method on a remote object.
Remotable ^ remoteObject = gcnew Remotable;
Cons... | 20.263158 | 56 | 0.664935 | [
"object"
] |
a74ecfac88a8361c6e3d75ea882dfef2a3a5e869 | 1,871 | cpp | C++ | aws-cpp-sdk-rekognition/source/model/ProjectDescription.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-rekognition/source/model/ProjectDescription.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-rekognition/source/model/ProjectDescription.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2020-11-04T03:18:11.000Z | 2020-11-04T03:18:11.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/rekognition/model/ProjectDescription.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... | 20.788889 | 91 | 0.745056 | [
"model"
] |
a74fac71b2386b0883c16026944734b712550857 | 12,618 | cpp | C++ | tests/Usul/Math/Vector2.cpp | perryiv/usul | 4c43ba6b00d6b8a36df76fcfaaa5243080e3adcb | [
"MIT"
] | null | null | null | tests/Usul/Math/Vector2.cpp | perryiv/usul | 4c43ba6b00d6b8a36df76fcfaaa5243080e3adcb | [
"MIT"
] | null | null | null | tests/Usul/Math/Vector2.cpp | perryiv/usul | 4c43ba6b00d6b8a36df76fcfaaa5243080e3adcb | [
"MIT"
] | null | null | null |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2019, Perry L Miller IV
// All rights reserved.
// MIT License: https://opensource.org/licenses/mit-license.html
//
////////////////////////////////////////////////////////////////////////////////
/////////////////... | 28.04 | 113 | 0.520526 | [
"vector"
] |
a7512d3bf3cffcb100fe292e50fc7b7b23fa0aa0 | 1,972 | cpp | C++ | test/operators/test_im2sequence_op.cpp | purushothamgowthu/paddle-mobile | fb8a569e47084c3fb22b7bd002b1eea413d089ea | [
"Apache-2.0"
] | 1 | 2018-09-06T06:45:00.000Z | 2018-09-06T06:45:00.000Z | test/operators/test_im2sequence_op.cpp | purushothamgowthu/paddle-mobile | fb8a569e47084c3fb22b7bd002b1eea413d089ea | [
"Apache-2.0"
] | null | null | null | test/operators/test_im2sequence_op.cpp | purushothamgowthu/paddle-mobile | fb8a569e47084c3fb22b7bd002b1eea413d089ea | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 31.301587 | 76 | 0.681542 | [
"vector"
] |
a751b20376c496f65b0ec14e2de5bcc5ac2518a5 | 20,527 | cpp | C++ | display-caf/sdm/libs/core/display_base.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/display_base.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/display_base.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | /*
* Copyright (c) 2014 - 2015, The Linux Foundation. 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
* ... | 32.325984 | 191 | 0.663711 | [
"3d"
] |
a757c71e8ddfa4f7a1e116de4d0b62388b8a8864 | 17,961 | cpp | C++ | src/min_cg_old.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 3 | 2018-06-06T05:43:36.000Z | 2020-07-18T14:31:37.000Z | src/min_cg_old.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | null | null | null | src/min_cg_old.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 7 | 2018-01-16T03:21:20.000Z | 2020-07-20T19:36:13.000Z | #include "min_cg_old.h"
#include <stdlib.h>
using namespace MAPP_NS;
/*--------------------------------------------
constructor
--------------------------------------------*/
MinCGOld::MinCGOld(type0 __e_tol,
bool(&__H_dof)[__dim__][__dim__],bool __affine,type0 __max_dx,LineSearch* __ls):
Min(__e_tol,__H_dof,__affine... | 27.846512 | 135 | 0.517789 | [
"object"
] |
a758d28f54bc64053f001f75be8b15493d22181a | 4,310 | hpp | C++ | tests/cpp/security/typedefs.hpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | tests/cpp/security/typedefs.hpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | tests/cpp/security/typedefs.hpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 31.231884 | 75 | 0.556613 | [
"vector"
] |
a75ddf4004dd18ec2d4beb610ce44dc1b6285dcc | 1,518 | cpp | C++ | 102/10229.cpp | TheLurkingCat/UVA | 41327badf07ef15f7fd88e8b6adcb5835f880565 | [
"MIT"
] | 7 | 2019-02-14T12:16:26.000Z | 2021-12-25T06:34:51.000Z | 102/10229.cpp | TheLurkingCat/UVA | 41327badf07ef15f7fd88e8b6adcb5835f880565 | [
"MIT"
] | null | null | null | 102/10229.cpp | TheLurkingCat/UVA | 41327badf07ef15f7fd88e8b6adcb5835f880565 | [
"MIT"
] | null | null | null | /*
矩陣快速冪
*/
#include <iostream>
#include <vector>
using namespace std;
int mod;
class matrix {
public:
vector<vector<long long>> mat;
matrix(vector<vector<long long>>& d) {
mat = d;
}
matrix(int a, int b, int c, int d) {
mat = vector<vector<long long>>(2, vector<long long>(2, ... | 26.172414 | 99 | 0.438735 | [
"vector"
] |
a763cd1eeb88d0ef10f90fa9b287afdd0d84236d | 1,345 | cpp | C++ | Summer_Training_2014/H/H_perm.cpp | Zubieta/CPP | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 8 | 2017-03-02T07:56:45.000Z | 2021-08-07T20:20:19.000Z | Summer_Training_2014/H/H_perm.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | null | null | null | Summer_Training_2014/H/H_perm.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 1 | 2021-08-07T20:20:20.000Z | 2021-08-07T20:20:20.000Z | /*Santiago Zubieta*/
#include <iostream>
#include <numeric>
#include <fstream>
#include <climits>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <queue>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <deque>
#include <vector>
#include <string>
#include <cstdlib>
#include <casser... | 27.44898 | 78 | 0.623792 | [
"vector"
] |
a767d87992704419a422c6c372e0065296268388 | 4,652 | hpp | C++ | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/convex_shape__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/convex_shape__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/convex_shape__struct.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from rmf_traffic_msgs:msg/ConvexShape.idl
// generated code does not contain a copyright notice
#ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__CONVEX_SHAPE__STRUCT_HPP_
#define RMF_TRAFFIC_MSGS__MSG__DETAIL__CONVEX_SHAPE__STRUCT_HPP_
#include <r... | 29.630573 | 156 | 0.755374 | [
"vector"
] |
a76c253b6aabea3f2f62a4774fd18b3ee7b3eaf0 | 20,356 | hxx | C++ | include/lineage/heuristics/greedy-lineage.hxx | rempfler/efficient-mlt | 653be91ae707ab9c766ed0c08c512b30c61c51ab | [
"MIT"
] | 3 | 2018-02-19T18:42:24.000Z | 2020-04-20T03:09:02.000Z | include/lineage/heuristics/greedy-lineage.hxx | rempfler/efficient-mlt | 653be91ae707ab9c766ed0c08c512b30c61c51ab | [
"MIT"
] | null | null | null | include/lineage/heuristics/greedy-lineage.hxx | rempfler/efficient-mlt | 653be91ae707ab9c766ed0c08c512b30c61c51ab | [
"MIT"
] | 1 | 2020-05-23T17:26:09.000Z | 2020-05-23T17:26:09.000Z | #pragma once
#ifndef LINEAGE_HEURISTICS_GREEDY_LINEAGE_HXX
#define LINEAGE_HEURISTICS_GREEDY_LINEAGE_HXX
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <sstream>
#include <stack>
#include <util... | 31.077863 | 80 | 0.514197 | [
"vector"
] |
a76c5ee55ead6a92fce1223123e5db2910bab080 | 1,151 | cpp | C++ | HackerRank Solutions/Algorithms/Arrays And Sorting/Running Time of Quicksort.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 13 | 2021-09-02T07:30:02.000Z | 2022-03-22T19:32:03.000Z | HackerRank Solutions/Algorithms/Arrays And Sorting/Running Time of Quicksort.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | null | null | null | HackerRank Solutions/Algorithms/Arrays And Sorting/Running Time of Quicksort.cpp | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 3 | 2021-08-24T16:06:22.000Z | 2021-09-17T15:39:53.000Z | #include <bits/stdc++.h>
using namespace std;
int shiftI = 0, shiftQ = 0;
void Swap (int * a, int * b) {
int temp = *a;
*a = *b;
*b = temp;
}
int Partition (vector<int> &Arr, int start, int end) {
int i, j, p = Arr[end];
for (i = start - 1, j = start; j < end; j++) {
if (Arr[j] < p) {
i += 1;
Swap(&Arr... | 18.269841 | 55 | 0.526499 | [
"vector"
] |
a76de7e55f3d8b3d0b3aac49671853fd3af954d4 | 731 | cpp | C++ | basic/dp/iterator/aggregate.cpp | Marveliu/learn-cpp | e1f121fb1d5d7decc5712817a3f4751f43fea1b8 | [
"Apache-2.0"
] | null | null | null | basic/dp/iterator/aggregate.cpp | Marveliu/learn-cpp | e1f121fb1d5d7decc5712817a3f4751f43fea1b8 | [
"Apache-2.0"
] | null | null | null | basic/dp/iterator/aggregate.cpp | Marveliu/learn-cpp | e1f121fb1d5d7decc5712817a3f4751f43fea1b8 | [
"Apache-2.0"
] | null | null | null | //aggregate.cpp
#include <iostream>
#include "aggregate.h"
#include "iterator.h"
using namespace std;
Aggregate::Aggregate() //定义抽象聚合类型的构造函数
{
}
Aggregate::~Aggregate() //定义抽象聚合类型的析构函数
{
}
ConcreteAggregate::ConcreteAggregate() //定义具体聚合类型的构造函数
{
//向聚合类型中填充具体数据,数量为SIZE(5)个,保存在int类型的数组中
for (int i = 0; i < SIZE;... | 19.236842 | 55 | 0.703146 | [
"object"
] |
a76e78758fe56e20d82c6013adf80a3f2df67d59 | 1,095 | cpp | C++ | Database/main.cpp | Bestfast/Generatore_schede | 008a1a8baf4ee34fc3655b352a3f5f6cd3c13517 | [
"MIT"
] | 2 | 2017-10-27T00:50:56.000Z | 2018-02-12T08:10:59.000Z | Database/main.cpp | Bestfast/Generatore_schede | 008a1a8baf4ee34fc3655b352a3f5f6cd3c13517 | [
"MIT"
] | 5 | 2017-10-16T14:53:04.000Z | 2018-03-13T10:02:02.000Z | Database/main.cpp | Bestfast/Generatore_schede | 008a1a8baf4ee34fc3655b352a3f5f6cd3c13517 | [
"MIT"
] | 1 | 2017-11-18T17:33:36.000Z | 2017-11-18T17:33:36.000Z | #include "Database.h"
#include <iostream>
Database::Database(char const *filename)
{
database = NULL;
open(filename);
}
Database::~Database()
{
}
bool Database::open(char const *filename)
{
if(sqlite3_open(filename, &database) == SQLITE_OK)
return true;
return false;
}
vector<vector<string> > Database::q... | 17.66129 | 73 | 0.647489 | [
"vector"
] |
a7721523001eb951d23be6e5aee22eee8c3c81eb | 1,602 | cpp | C++ | paradigms/binary_search/154_find-minimum-in-rotated-sorted-array-ii.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/binary_search/154_find-minimum-in-rotated-sorted-array-ii.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/binary_search/154_find-minimum-in-rotated-sorted-array-ii.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | // Author: b1tank
// Email: b1tank@outlook.com
//=================================
/*
154_find-minimum-in-rotated-sorted-array-ii LeetCode
Solution:
- l + (r - l) / 2 ---- to avoid int overflow !!!
- be careful with different left and right boundary change patterns
- move less aggressively with... | 29.127273 | 161 | 0.418227 | [
"vector"
] |
a772267242599ed609f05b2d28ad49056e91ed99 | 615 | cpp | C++ | Algorithm/0204 (Easy)Count Primes/Best-Approach.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | 1 | 2020-12-03T10:10:15.000Z | 2020-12-03T10:10:15.000Z | Algorithm/0204 (Easy)Count Primes/Best-Approach.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | null | null | null | Algorithm/0204 (Easy)Count Primes/Best-Approach.cpp | ZexinLi0w0/LeetCode | cf3988620ccdcc3d54b9beafd04c517c96f01bb9 | [
"MIT"
] | null | null | null | class Solution {
public:
int countPrimes(int n) {
if(n<=2)
return 0;
bool res[n]; //array is faster than vector
memset(res, true, sizeof(res));
int counts = 2;
for(int i = 2; i * i < n; i++){
if(res[i]){
int step = (i > 2) ? 2 * i : 2;... | 27.954545 | 79 | 0.362602 | [
"vector"
] |
a7746c43d2b2f8123c8f185758cca8dc67497950 | 3,568 | cpp | C++ | src/ProfileTracer.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/ProfileTracer.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/ProfileTracer.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2015 - 2022, Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "config.h"
#include <string.h>
#include <errno.h>
#include <limits.h>
#include <iostream>
#include <iomanip>
#include "ProfileTracerImp.hpp"
#include "geopm/PlatformIO.hpp"
#include "geopm/PlatformTopo.hpp"
#inclu... | 32.144144 | 99 | 0.552691 | [
"vector"
] |
a7754a2b7e02cea8555a5d79ee9d2b79c5149569 | 1,743 | cpp | C++ | aws-cpp-sdk-dax/source/model/NodeTypeSpecificValue.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-dax/source/model/NodeTypeSpecificValue.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-dax/source/model/NodeTypeSpecificValue.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 20.505882 | 78 | 0.730924 | [
"model"
] |
a7795b9d71e9e1101f4b18e1beda66c9eddc66bd | 2,460 | cpp | C++ | component/oai-amf/src/contexts/ue_context.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-amf/src/contexts/ue_context.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-amf/src/contexts/ue_context.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | 35.652174 | 81 | 0.620732 | [
"vector"
] |
a7812d51c6401e78146dd4e5c076f8d89e5714a7 | 3,691 | cpp | C++ | preprocessing/maskfusion-master-2/Core/Segmentation/PreSegmentation.cpp | Wayne-Mai/DynSLAM | 7b62e13d2a33ff58ca888a346433a4891a228a20 | [
"BSD-3-Clause"
] | null | null | null | preprocessing/maskfusion-master-2/Core/Segmentation/PreSegmentation.cpp | Wayne-Mai/DynSLAM | 7b62e13d2a33ff58ca888a346433a4891a228a20 | [
"BSD-3-Clause"
] | null | null | null | preprocessing/maskfusion-master-2/Core/Segmentation/PreSegmentation.cpp | Wayne-Mai/DynSLAM | 7b62e13d2a33ff58ca888a346433a4891a228a20 | [
"BSD-3-Clause"
] | null | null | null | /*
* This file is part of https://github.com/martinruenz/maskfusion
*
* 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 versi... | 41.011111 | 136 | 0.62097 | [
"vector",
"model"
] |
a781eb588f98f7b84f1f632a2cb326538e3022e7 | 1,023 | cpp | C++ | UVa 12126 - Containers/sample/12126 - Containers.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 12126 - Containers/sample/12126 - Containers.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 12126 - Containers/sample/12126 - Containers.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <string.h>
#include <algorithm>
#include <queue>
#include <stack>
using namespace std;
struct SOL {
long long L, W;
SOL(long long a = 0, long long b = 0):
L(a), W(b) {}
bool operator<(const SOL &x) const {
if (L * W != x.L *... | 19.673077 | 72 | 0.431085 | [
"vector"
] |
a78734ebc2c194741191a20fcf20003366ca9c47 | 1,248 | hpp | C++ | messages/camera.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | messages/camera.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | messages/camera.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-07-02T11:51:17.000Z | 2020-07-02T11:51:17.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 33.72973 | 89 | 0.778045 | [
"geometry",
"model"
] |
a78824d3dbfec21ebabc4224f2f1432a1ce15512 | 4,971 | cpp | C++ | dev/PushNotifications/PushNotificationReceivedEventArgs.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | dev/PushNotifications/PushNotificationReceivedEventArgs.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | dev/PushNotifications/PushNotificationReceivedEventArgs.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include <winrt/Windows.ApplicationModel.background.h>
#include <winrt/Windows.Storage.Streams.h>
#include <winrt/Windows.Networking.PushNot... | 41.773109 | 139 | 0.716154 | [
"vector"
] |
a78fe46fb0c6000b6b216c221eff2afa1da7796c | 2,055 | cpp | C++ | heaps.cpp | kshitijanand36/Important-programs | 6b5867896d64ab16453248e0f8c1ca0ba54036e3 | [
"MIT"
] | null | null | null | heaps.cpp | kshitijanand36/Important-programs | 6b5867896d64ab16453248e0f8c1ca0ba54036e3 | [
"MIT"
] | null | null | null | heaps.cpp | kshitijanand36/Important-programs | 6b5867896d64ab16453248e0f8c1ca0ba54036e3 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include<vector>
#define pb push_back
using namespace std;
class Priority_Queue{
vector<int> pq;
int last;
public:
void helper_insert(int curr){
int parent = (curr-1)/2;
if(curr<=0){
return ;
}
if(pq[parent]<pq[c... | 18.853211 | 64 | 0.424818 | [
"vector"
] |
042871c2e97d07ec4adb79b04488baddf5e2eefb | 724 | cc | C++ | sdk/lib/fidl/cpp/object_coding_unittest.cc | yanyushr/fuchsia | 98e70672a81a206d235503e398f37b7b65581f79 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | sdk/lib/fidl/cpp/object_coding_unittest.cc | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | sdk/lib/fidl/cpp/object_coding_unittest.cc | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/fidl/cpp/object_coding.h>
#include <fidl/test/misc/cpp/fidl.h>
#include <utility>
#include "gtest/gtest.h"
namespace fidl {
namespace {
TES... | 25.857143 | 73 | 0.689227 | [
"vector"
] |
042c5cdbda8e0a0503f672c9503c66372b25410e | 4,931 | cpp | C++ | Base/PLInput/src/Backend/Provider.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 1 | 2019-11-09T16:54:04.000Z | 2019-11-09T16:54:04.000Z | Base/PLInput/src/Backend/Provider.cpp | naetherm/pixelligh | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Base/PLInput/src/Backend/Provider.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | null | null | null | /*********************************************************\
* File: Provider.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 28.668605 | 97 | 0.544109 | [
"object"
] |
042d088be2cdd645d2265a8c3a357b382b1841ee | 4,807 | cpp | C++ | csrc/mmdeploy/codebase/mmocr/panet.cpp | PeterH0323/mmdeploy-1 | ac0b52f12ac897867b9bf3dae74b4192493b3d5f | [
"Apache-2.0"
] | null | null | null | csrc/mmdeploy/codebase/mmocr/panet.cpp | PeterH0323/mmdeploy-1 | ac0b52f12ac897867b9bf3dae74b4192493b3d5f | [
"Apache-2.0"
] | null | null | null | csrc/mmdeploy/codebase/mmocr/panet.cpp | PeterH0323/mmdeploy-1 | ac0b52f12ac897867b9bf3dae74b4192493b3d5f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) OpenMMLab. All rights reserved.
#include "mmdeploy/codebase/mmocr/panet.h"
#include <algorithm>
#include <opencv2/opencv.hpp>
#include "mmdeploy/codebase/mmocr/mmocr.h"
#include "mmdeploy/core/device.h"
#include "mmdeploy/core/registry.h"
#include "mmdeploy/core/serialization.h"
#include "mmdeploy/c... | 37.263566 | 99 | 0.633867 | [
"shape",
"vector"
] |
042d915ee204ccd3f4f05aae541a26e0dba130b8 | 5,603 | hh | C++ | svelte/tag.hh | Himujjal/go-tree-sitter | 0e977561152c8cb0c8624309719ff2a9cfc869f6 | [
"MIT"
] | null | null | null | svelte/tag.hh | Himujjal/go-tree-sitter | 0e977561152c8cb0c8624309719ff2a9cfc869f6 | [
"MIT"
] | null | null | null | svelte/tag.hh | Himujjal/go-tree-sitter | 0e977561152c8cb0c8624309719ff2a9cfc869f6 | [
"MIT"
] | null | null | null | #ifndef TAG_HH
#define TAG_HH
#include <algorithm>
#include <map>
#include <string>
using std::map;
using std::string;
enum TagType {
AREA,
BASE,
BASEFONT,
BGSOUND,
BR,
COL,
COMMAND,
EMBED,
FRAME,
HR,
IMAGE,
IMG,
INPUT,
ISINDEX,
KEYGEN,
LINK,
MENUITEM,
META,
NEXTID,
PARAM,
S... | 15.435262 | 78 | 0.594324 | [
"object"
] |
042f1918670613854faff16c1b434f91f2d472af | 7,050 | cc | C++ | tensorflow/core/kernels/ctc_loss_op.cc | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2017-09-14T23:59:05.000Z | 2017-09-14T23:59:05.000Z | tensorflow/core/kernels/ctc_loss_op.cc | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2016-10-19T02:43:04.000Z | 2016-10-31T14:53:06.000Z | tensorflow/core/kernels/ctc_loss_op.cc | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 8 | 2016-10-23T00:50:02.000Z | 2019-04-21T11:11:57.000Z | /* Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 42.215569 | 80 | 0.635603 | [
"shape",
"vector"
] |
0433ad84f2bd0cbbd775df376a6ddd49ffef9119 | 10,157 | cpp | C++ | decision_tree.cpp | ChristyanS/DecisionTree | 04c81002ea5283551b8bd4114442246e49dc2931 | [
"MIT"
] | null | null | null | decision_tree.cpp | ChristyanS/DecisionTree | 04c81002ea5283551b8bd4114442246e49dc2931 | [
"MIT"
] | null | null | null | decision_tree.cpp | ChristyanS/DecisionTree | 04c81002ea5283551b8bd4114442246e49dc2931 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <cmath>
#include <map>
using namespace std;
int threads = 4;
/**
Projeto 01 - Implementação Paralela de uma Técnica de Inteligência Artificial
i) Tempo gasto para processamento no parcode, sem paralelização, usando o dataset data_fin... | 24.125891 | 125 | 0.637491 | [
"vector"
] |
04340219a93da2b21fe007223b571b183ee82168 | 1,304 | hpp | C++ | allocore/allocore/protocol/opencl/al_OpenCLImage3D.hpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | allocore/allocore/protocol/opencl/al_OpenCLImage3D.hpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | allocore/allocore/protocol/opencl/al_OpenCLImage3D.hpp | donghaoren/AlloSystem | 7674cc8597e470a355a5dab1dac9191c2c2e8086 | [
"BSD-3-Clause"
] | null | null | null | #ifndef AL_OPENCL_IMAGE3D_H
#define AL_OPENCL_IMAGE3D_H 1
#include "al_OpenCLInternal.hpp"
#include "al_OpenCLContext.hpp"
#include "al_OpenCLMemoryBuffer.hpp"
#include <vector>
#include <string>
using std::vector;
using std::list;
using std::string;
namespace al {
namespace cl {
class OpenCLImage3D : public OpenCL... | 16.935065 | 70 | 0.712423 | [
"vector"
] |
04380e575335c5148fe537fad1d3e4a4600d42a5 | 9,697 | hh | C++ | xdl/third_party/seastar/util/log.hh | hitflame/x-deeplearning | c8029396c6ae6dbf397a34a1801ceadc824e4f8d | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | xdl/third_party/seastar/util/log.hh | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | xdl/third_party/seastar/util/log.hh | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 29.474164 | 89 | 0.631226 | [
"vector"
] |
043883e0b35157db8973bc89fa1acbcc93351d36 | 1,651 | hpp | C++ | src/type-system/factories/generators/random/RandomNextIntFactory.hpp | inexorgame/entity-system | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 19 | 2018-10-11T09:19:48.000Z | 2020-04-19T16:36:58.000Z | src/type-system/factories/generators/random/RandomNextIntFactory.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 132 | 2018-07-28T12:30:54.000Z | 2020-04-25T23:05:33.000Z | src/type-system/factories/generators/random/RandomNextIntFactory.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 3 | 2019-03-02T16:19:23.000Z | 2020-02-18T05:15:29.000Z | #pragma once
#include "base/LifeCycleComponent.hpp"
#include "entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp"
#include "entity-system/model/entities/entity-instances/EntityInstance.hpp"
namespace inexor::entity_system::type_system {
using EntityInstancePtr = std::sh... | 38.395349 | 108 | 0.775893 | [
"model"
] |
043b4492a25bb40890b0262c2b7ccc006d29fcc5 | 2,743 | cpp | C++ | collection/cp/bcw_codebook-master/Contest/WF2011/pI.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/bcw_codebook-master/Contest/WF2011/pI.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/bcw_codebook-master/Contest/WF2011/pI.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
template... | 18.046053 | 67 | 0.47685 | [
"vector"
] |
043cba5e58de2998cc6f36c0cd54d523ecb5e83e | 1,349 | cpp | C++ | drape_frontend/overlay_batcher.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | 1 | 2021-07-02T08:45:02.000Z | 2021-07-02T08:45:02.000Z | drape_frontend/overlay_batcher.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | 1 | 2020-06-15T15:16:23.000Z | 2020-06-15T15:59:19.000Z | drape_frontend/overlay_batcher.cpp | maksimandrianov/omim | cbc5a80d09d585afbda01e471887f63b9d3ab0c2 | [
"Apache-2.0"
] | 1 | 2018-10-01T10:27:21.000Z | 2018-10-01T10:27:21.000Z | #include "drape_frontend/overlay_batcher.hpp"
#include "drape_frontend/map_shape.hpp"
#include "drape/batcher.hpp"
#include "drape/render_bucket.hpp"
#include "drape/texture_manager.hpp"
namespace df
{
uint32_t const kOverlayIndexBufferSize = 30000;
uint32_t const kOverlayVertexBufferSize = 20000;
OverlayBatcher::O... | 29.977778 | 106 | 0.733877 | [
"shape"
] |
043e0766f5b8e5f87432144ff618afe4dd7219a6 | 1,146 | cpp | C++ | aws-cpp-sdk-sqs/source/model/TagQueueRequest.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-sqs/source/model/TagQueueRequest.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-sqs/source/model/TagQueueRequest.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sqs/model/TagQueueRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::SQS::Model;
using namespace Aws::Utils;
... | 22.92 | 75 | 0.643106 | [
"model"
] |
0442c0c9283e75088f03d61a916255cfa8e49d05 | 3,396 | cc | C++ | media/cast/test/fake_video_encode_accelerator.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/cast/test/fake_video_encode_accelerator.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/cast/test/fake_video_encode_accelerator.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.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 "media/cast/test/fake_video_encode_accelerator.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/sin... | 29.789474 | 79 | 0.72821 | [
"vector"
] |
044418bcc2c669dbf5647d6257d31ae2698645dd | 13,299 | hpp | C++ | liblava/frame/input.hpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | 11 | 2018-10-26T02:15:53.000Z | 2019-05-25T16:08:17.000Z | liblava/frame/input.hpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | liblava/frame/input.hpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | /**
* @file liblava/frame/input.hpp
* @brief Input handling
* @authors Lava Block OÜ and contributors
* @copyright Copyright (c) 2018-present, MIT License
*/
#pragma once
#include <liblava/core/id.hpp>
#include <liblava/util/utility.hpp>
namespace lava {
/**
* @brief Input keys
*/
enum... | 18.217808 | 71 | 0.579216 | [
"vector"
] |
0446b6032de6d53aa32af747bfcff4228947475b | 6,713 | cpp | C++ | src/openms/source/ANALYSIS/MAPMATCHING/FeatureGroupingAlgorithm.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/FeatureGroupingAlgorithm.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/FeatureGroupingAlgorithm.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 45.666667 | 168 | 0.66334 | [
"vector"
] |
044b4d54dd91d29f408643a3e5da6d0afbda620a | 685 | hpp | C++ | poptorch/include/poptorch/AutomaticCasting.hpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 128 | 2020-12-08T22:22:46.000Z | 2022-03-23T10:54:26.000Z | poptorch/include/poptorch/AutomaticCasting.hpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 4 | 2021-06-22T14:26:28.000Z | 2022-02-15T11:25:05.000Z | poptorch/include/poptorch/AutomaticCasting.hpp | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 7 | 2020-12-09T20:32:56.000Z | 2022-01-18T16:12:24.000Z | // Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#ifndef INCLUDE_POPTORCH_AUTOMATIC_CASTING_HPP
#define INCLUDE_POPTORCH_AUTOMATIC_CASTING_HPP
#include <string>
#include <vector>
namespace torch {
namespace jit {
struct Graph;
} // namespace jit
} // namespace torch
namespace poptorch {
void setAutocastEna... | 26.346154 | 57 | 0.778102 | [
"vector"
] |
044c48554040e47ee5173fcfbf7c9c964e786938 | 4,367 | cpp | C++ | epublib/src/main/jni/NativeFormats/fbreader/src/library/Tag.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | 2 | 2021-07-30T02:36:46.000Z | 2021-09-04T23:04:43.000Z | epublib/src/main/jni/NativeFormats/fbreader/src/library/Tag.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | null | null | null | epublib/src/main/jni/NativeFormats/fbreader/src/library/Tag.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | 2 | 2021-06-03T08:59:58.000Z | 2021-07-30T04:42:53.000Z | /*
* Copyright (C) 2009-2015 FBReader.ORG Limited <contact@fbreader.org>
*
* 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 2 of the License, or
* (at your option) any later ... | 26.307229 | 185 | 0.681017 | [
"vector"
] |
0450732818169ceb127fbb15b731d85f38e6834b | 12,632 | cpp | C++ | src/add-ons/kernel/interrupt_controllers/openpic/openpic.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/kernel/interrupt_controllers/openpic/openpic.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/kernel/interrupt_controllers/openpic/openpic.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
/*-
* Copyright (C) 2002 Benno Rice.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | 23.699812 | 84 | 0.735275 | [
"vector"
] |
0451befa2ef14b1c93b15f28eb7591d2ff57a357 | 40,668 | cpp | C++ | third_party/nuke/lib/Fuser/SceneXform.cpp | jonntd/dwa_usd_plugins | e1aacff9d3670f364e18ae352ece53a734c93dff | [
"Apache-2.0"
] | 2 | 2019-08-08T15:55:32.000Z | 2020-05-16T05:56:36.000Z | third_party/nuke/lib/Fuser/SceneXform.cpp | lucienfostier/dwa_usd_plugins | e1aacff9d3670f364e18ae352ece53a734c93dff | [
"Apache-2.0"
] | null | null | null | third_party/nuke/lib/Fuser/SceneXform.cpp | lucienfostier/dwa_usd_plugins | e1aacff9d3670f364e18ae352ece53a734c93dff | [
"Apache-2.0"
] | 1 | 2020-03-25T06:31:03.000Z | 2020-03-25T06:31:03.000Z | //
// Copyright 2019 DreamWorks Animation
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with... | 37.173675 | 163 | 0.587956 | [
"object",
"vector",
"transform",
"3d"
] |
045a70a74499cf11a527467c074195faed60fe96 | 1,716 | cc | C++ | quickstart/ReverseGroups.cc | shortthirdman/code-eval-challenges | 27d8f2474a95d4836397b3c5970dcabd5e2bff5e | [
"MIT"
] | 2 | 2018-06-24T17:09:16.000Z | 2020-08-03T11:44:54.000Z | quickstart/ReverseGroups.cc | shortthirdman/code-eval-challenges | 27d8f2474a95d4836397b3c5970dcabd5e2bff5e | [
"MIT"
] | null | null | null | quickstart/ReverseGroups.cc | shortthirdman/code-eval-challenges | 27d8f2474a95d4836397b3c5970dcabd5e2bff5e | [
"MIT"
] | null | null | null | /*
Reverse Groups Share on LinkedIn
Description:
Given a list of numbers and a positive integer k, reverse the elements of the list, k items at a time. If the number of elements is not a multiple of k, then the remaining items in the end should be left as is.
Input sample:
Your program should accept as it... | 26.4 | 211 | 0.555944 | [
"vector"
] |
045c6a8c5e71d987c9f68f717e2214bd60d172cd | 58,518 | cc | C++ | src/nameserver/name_server_create_remote_test.cc | daifengxin/OpenMLDB | e145a2cb58c9dc885e03d68b3b3b22d3cedfc195 | [
"Apache-2.0"
] | 1 | 2021-08-23T12:02:30.000Z | 2021-08-23T12:02:30.000Z | src/nameserver/name_server_create_remote_test.cc | daifengxin/OpenMLDB | e145a2cb58c9dc885e03d68b3b3b22d3cedfc195 | [
"Apache-2.0"
] | null | null | null | src/nameserver/name_server_create_remote_test.cc | daifengxin/OpenMLDB | e145a2cb58c9dc885e03d68b3b3b22d3cedfc195 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 4Paradigm
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 39.971311 | 100 | 0.644041 | [
"vector"
] |
045e3431fd256b0742f3946ffab152c4b0cc61b1 | 2,673 | cpp | C++ | v2_hashTable/Entry.cpp | salmanfs815/English-Klingon-Translator | 6b6a4030759642f9a7e2c5a004636e915ff67fb7 | [
"MIT"
] | null | null | null | v2_hashTable/Entry.cpp | salmanfs815/English-Klingon-Translator | 6b6a4030759642f9a7e2c5a004636e915ff67fb7 | [
"MIT"
] | null | null | null | v2_hashTable/Entry.cpp | salmanfs815/English-Klingon-Translator | 6b6a4030759642f9a7e2c5a004636e915ff67fb7 | [
"MIT"
] | null | null | null | /*
* Entry.cpp
*
* Entry Class to be used in nodes of BST for assn3-cmpt225
*
* Authors: Salman Siddiqui and Raj Mahey
* Date: 2016-07-05
*/
#include "Entry.h"
#include <string>
#include <iostream>
#include <algorithm>
using namespace std;
/* private attributes:
string english;
string klingo... | 23.243478 | 99 | 0.680135 | [
"transform"
] |
046150ee8625fc89427ad6741fae19fb4ada6bf7 | 2,845 | hpp | C++ | services/network_service/network_service.hpp | cyberduckninja/RocketJoe | f0cfb51850423c218c3630f7a664afb48b2b8319 | [
"BSD-3-Clause"
] | 9 | 2020-07-20T15:32:07.000Z | 2021-06-04T13:02:58.000Z | services/network_service/network_service.hpp | cyberduckninja/RocketJoe | f0cfb51850423c218c3630f7a664afb48b2b8319 | [
"BSD-3-Clause"
] | 22 | 2020-06-06T07:27:00.000Z | 2021-01-14T23:11:22.000Z | services/network_service/network_service.hpp | cyberduckninja/RocketJoe | f0cfb51850423c218c3630f7a664afb48b2b8319 | [
"BSD-3-Clause"
] | 3 | 2020-08-29T07:07:49.000Z | 2021-06-04T13:02:59.000Z | #pragma once
#include "beast-compact.hpp"
#include <boost/smart_ptr/intrusive_ptr.hpp>
#include "context.hpp"
#include "dto.hpp"
#include "http_client.hpp"
#include "routes.hpp"
#include "log/log.hpp"
#include <goblin-engineer/core.hpp>
#include "excutor.hpp"
namespace ge = goblin_engineer;
class network_service_t... | 31.263736 | 101 | 0.676626 | [
"vector"
] |
0462599e5ec215d71ec4cc18ca81b230b5d790f7 | 2,218 | cpp | C++ | chapter20/ex02_jack_jill.cpp | ClassAteam/stroustrup-ppp | ea9e85d4ea9890038eb5611c3bc82734c8706ce7 | [
"MIT"
] | 124 | 2018-06-23T10:16:56.000Z | 2022-03-19T15:16:12.000Z | chapter20/ex02_jack_jill.cpp | therootfolder/stroustrup-ppp | b1e936c9a67b9205fdc9712c42496b45200514e2 | [
"MIT"
] | 23 | 2018-02-08T20:57:46.000Z | 2021-10-08T13:58:29.000Z | chapter20/ex02_jack_jill.cpp | ClassAteam/stroustrup-ppp | ea9e85d4ea9890038eb5611c3bc82734c8706ce7 | [
"MIT"
] | 65 | 2019-05-27T03:05:56.000Z | 2022-03-26T03:43:05.000Z | //
// Stroustrup - Programming Principles & Practice
//
// Chapter 20 Jack and Jill example
//
#include <iostream>
#include <stdexcept>
#include <vector>
#include <fstream>
#include <memory>
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// mocks
double* get_from_jack(int* count)
... | 22.865979 | 79 | 0.519838 | [
"vector"
] |
04633d5c157fa28db220fe5ae1be0e4349c4557a | 1,085 | cpp | C++ | Templates/Project/Volund_Engine/src/Scene/Skybox.cpp | Kaj9296/Volund-Engine | 2416edc6297da4818f0a9f5613daf2223ff868d9 | [
"MIT"
] | null | null | null | Templates/Project/Volund_Engine/src/Scene/Skybox.cpp | Kaj9296/Volund-Engine | 2416edc6297da4818f0a9f5613daf2223ff868d9 | [
"MIT"
] | null | null | null | Templates/Project/Volund_Engine/src/Scene/Skybox.cpp | Kaj9296/Volund-Engine | 2416edc6297da4818f0a9f5613daf2223ff868d9 | [
"MIT"
] | null | null | null | #pragma once
#include "PCH/PCH.h"
#include "Skybox.h"
#include "Components/Camera.h"
namespace Volund
{
bool SkyboxClass::HasCubeMap()
{
return this->cubeMap != nullptr;
}
CubeMap* SkyboxClass::GetCubeMap()
{
return this->cubeMap;
}
void SkyboxClass::SetCubeMap(CubeMap const& cubeMap)
{
if (&cubeMap !... | 20.092593 | 63 | 0.688479 | [
"mesh",
"render"
] |
0465b7bdca211c6fc0d2eb86503ea7ccdf5c56b5 | 3,727 | cc | C++ | chrome_frame/chrome_launcher_utils.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome_frame/chrome_launcher_utils.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome_frame/chrome_launcher_utils.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2011 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_frame/chrome_launcher_utils.h"
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "... | 33.881818 | 80 | 0.735712 | [
"model"
] |
046741d09ccc362384d21e4e1e53af281bc97b76 | 8,757 | hpp | C++ | app/src/main/cpp/isEngine/ext_lib/TMXLoader/tmx/MapObject.hpp | Is-Daouda/is-Engine-TMXLoader | db6d75a82326f44d66170acf70224d6a8cf20bad | [
"Zlib"
] | null | null | null | app/src/main/cpp/isEngine/ext_lib/TMXLoader/tmx/MapObject.hpp | Is-Daouda/is-Engine-TMXLoader | db6d75a82326f44d66170acf70224d6a8cf20bad | [
"Zlib"
] | null | null | null | app/src/main/cpp/isEngine/ext_lib/TMXLoader/tmx/MapObject.hpp | Is-Daouda/is-Engine-TMXLoader | db6d75a82326f44d66170acf70224d6a8cf20bad | [
"Zlib"
] | null | null | null | /*********************************************************************
Matt Marchant 2013 - 2016
SFML Tiled Map Loader - https://github.com/bjorn/tiled/wiki/TMX-Map-Format
http://trederia.blogspot.com/2013/05/tiled-map-loader-for-sfml.html
Zlib License:
This software is provided 'as-is', without any express or
... | 31.728261 | 108 | 0.66621 | [
"object",
"shape",
"vector"
] |
04692108df098404e01267dbe0a40c12a4a3da3f | 4,940 | hpp | C++ | src/webots/nodes/WbTrack.hpp | yjf18340/webots | 60d441c362031ab8fde120cc0cd97bdb1a31a3d5 | [
"Apache-2.0"
] | 1 | 2019-11-13T08:12:02.000Z | 2019-11-13T08:12:02.000Z | src/webots/nodes/WbTrack.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | null | null | null | src/webots/nodes/WbTrack.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | 1 | 2020-09-25T02:01:45.000Z | 2020-09-25T02:01:45.000Z | // Copyright 1996-2019 Cyberbotics Ltd.
//
// 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 agr... | 28.72093 | 120 | 0.742105 | [
"mesh",
"geometry"
] |
046b7b4afedf99065c010efd5e227319cb36fa58 | 26,297 | cpp | C++ | mystrategy/src/MyStrategy.cpp | kswaldemar/raicup2016 | e365112403ca65826c70f50b4ecdd16737a0581b | [
"MIT"
] | null | null | null | mystrategy/src/MyStrategy.cpp | kswaldemar/raicup2016 | e365112403ca65826c70f50b4ecdd16737a0581b | [
"MIT"
] | null | null | null | mystrategy/src/MyStrategy.cpp | kswaldemar/raicup2016 | e365112403ca65826c70f50b4ecdd16737a0581b | [
"MIT"
] | null | null | null | #include "MyStrategy.h"
#include "FieldsDescription.h"
#include "PathFinder.h"
#include "Logger.h"
#include "VisualDebug.h"
#include "BehaviourConfig.h"
#include <cassert>
#include <list>
#include <algorithm>
using namespace model;
using namespace std;
using namespace geom;
BehaviourConfig::Damage Beh... | 34.738441 | 121 | 0.551508 | [
"vector",
"model",
"3d"
] |
046e3abd484d8fdbb9038f815a1fc77e17c53fd0 | 4,789 | cpp | C++ | Plugins/PointSprite/ParaViewPlugin/Qvis/AttributeSubject.cpp | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Plugins/PointSprite/ParaViewPlugin/Qvis/AttributeSubject.cpp | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Plugins/PointSprite/ParaViewPlugin/Qvis/AttributeSubject.cpp | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************
*
* Copyright (c) 2000 - 2007, The Regents of the University of California
* Produced at the Lawrence Livermore National Laboratory
* All rights reserved.
*
* This file is part of VisIt. For details, see http://www.llnl.gov/visit/. The
* ful... | 33.027586 | 79 | 0.579244 | [
"object"
] |
0473caa467a05dc0721769dc37e9a9114367480c | 3,738 | cpp | C++ | examples/demo_input.cpp | NBiermann/cpp-terminal | efe33d80725e6bd4b4abf3fd3769a02efe90c392 | [
"Unlicense"
] | null | null | null | examples/demo_input.cpp | NBiermann/cpp-terminal | efe33d80725e6bd4b4abf3fd3769a02efe90c392 | [
"Unlicense"
] | null | null | null | examples/demo_input.cpp | NBiermann/cpp-terminal | efe33d80725e6bd4b4abf3fd3769a02efe90c392 | [
"Unlicense"
] | null | null | null | /*
*/
#include "../cpp-terminal/base.hpp"
#include "../cpp-terminal/input.hpp"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#pragma GCC diagnostic ignored "-Wc++98-c++11-compat-binary-literal"
#pragma GCC diagnostic ignored... | 28.534351 | 73 | 0.453451 | [
"vector"
] |
0474c74a60ef43c00d213538de3596cd95ee52c2 | 3,016 | cpp | C++ | unittests/Mutators/ScalarValueMutatorTest.cpp | myfreeweb/mull | ac74f0e7b08652037f5e893d06d2aaa38e91ac02 | [
"Apache-2.0"
] | null | null | null | unittests/Mutators/ScalarValueMutatorTest.cpp | myfreeweb/mull | ac74f0e7b08652037f5e893d06d2aaa38e91ac02 | [
"Apache-2.0"
] | null | null | null | unittests/Mutators/ScalarValueMutatorTest.cpp | myfreeweb/mull | ac74f0e7b08652037f5e893d06d2aaa38e91ac02 | [
"Apache-2.0"
] | null | null | null | #include "Config.h"
#include "Context.h"
#include "Mutators/ScalarValueMutator.h"
#include "MutationPoint.h"
#include "TestModuleFactory.h"
#include "Toolchain/Compiler.h"
#include "Toolchain/Toolchain.h"
#include "Filter.h"
#include "Testee.h"
#include "MutationsFinder.h"
#include <llvm/IR/Instructions.h>
#include <l... | 37.234568 | 121 | 0.730106 | [
"vector"
] |
04773cf9d18ea63362bc9aa7b95b92b0ec825c45 | 52,675 | cpp | C++ | src/core/impl/graph/static_infer_impl.cpp | csf0429/MegEngine | 4cb7fa8e28cbe7fd23c000e4657300f1db0726ae | [
"Apache-2.0"
] | 5,168 | 2020-03-19T06:10:04.000Z | 2022-03-31T11:11:54.000Z | src/core/impl/graph/static_infer_impl.cpp | csf0429/MegEngine | 4cb7fa8e28cbe7fd23c000e4657300f1db0726ae | [
"Apache-2.0"
] | 286 | 2020-03-25T01:36:23.000Z | 2022-03-31T10:26:33.000Z | src/core/impl/graph/static_infer_impl.cpp | csf0429/MegEngine | 4cb7fa8e28cbe7fd23c000e4657300f1db0726ae | [
"Apache-2.0"
] | 515 | 2020-03-19T06:10:05.000Z | 2022-03-30T09:15:59.000Z | /**
* \file src/core/impl/graph/static_infer_impl.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed o... | 33.486968 | 89 | 0.628306 | [
"shape",
"vector"
] |
047c442ba62d2792d7cdeb91a5ad535c740cc7aa | 1,456 | cpp | C++ | leetcode/number-of-islands/NumberOfIslands.cpp | giwankim/algo | 8dd1cf8aed6e89db54e753c7ce5821019628c47f | [
"MIT"
] | null | null | null | leetcode/number-of-islands/NumberOfIslands.cpp | giwankim/algo | 8dd1cf8aed6e89db54e753c7ce5821019628c47f | [
"MIT"
] | null | null | null | leetcode/number-of-islands/NumberOfIslands.cpp | giwankim/algo | 8dd1cf8aed6e89db54e753c7ce5821019628c47f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int dx[] = {-1, 1, 0, 0};
int dy[] = {0, 0, -1, 1};
int m, n;
vector<vector<int>> check;
void bfs(int i, int j, vector<vector<char>> &grid)
{
queue<pair<int, int>> q;
q.emplace(i, j);
check[i][j] = 1;
while (!q.empty())
{
int x = q.front().firs... | 22.4 | 58 | 0.371566 | [
"vector"
] |
047f408a0f4762f35cac78e89c8542603f8bdf71 | 19,274 | cc | C++ | headless/app/headless_shell.cc | 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 | headless/app/headless_shell.cc | 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 | headless/app/headless_shell.cc | 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 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <sstream>
#include <string>
#include "base/base64.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_... | 36.573055 | 80 | 0.674691 | [
"geometry"
] |
048131e8eb52c67fa6db8dd5c5f6aad3bda21c2a | 21,526 | hh | C++ | Includes/live/includes/liveMedia/include/RTSPServer.hh | HectorTa1989/FFMPEG-Live555-H264-H265-VideoStreaming | 90914d31dae00110278601787646222ff3139e26 | [
"MIT"
] | null | null | null | Includes/live/includes/liveMedia/include/RTSPServer.hh | HectorTa1989/FFMPEG-Live555-H264-H265-VideoStreaming | 90914d31dae00110278601787646222ff3139e26 | [
"MIT"
] | null | null | null | Includes/live/includes/liveMedia/include/RTSPServer.hh | HectorTa1989/FFMPEG-Live555-H264-H265-VideoStreaming | 90914d31dae00110278601787646222ff3139e26 | [
"MIT"
] | null | null | null | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 51.252381 | 215 | 0.766283 | [
"object"
] |
0488ab613ec2323eb25f3599323fc2de23f3a661 | 14,433 | cc | C++ | source/Host.test.cc | piperwelch/SymbulationEmp | 36a69154f46bddfbc75712bf39becfa56d49ad02 | [
"BSL-1.0"
] | 3 | 2022-02-01T20:29:10.000Z | 2022-02-03T21:10:23.000Z | source/Host.test.cc | piperwelch/SymbulationEmp | 36a69154f46bddfbc75712bf39becfa56d49ad02 | [
"BSL-1.0"
] | null | null | null | source/Host.test.cc | piperwelch/SymbulationEmp | 36a69154f46bddfbc75712bf39becfa56d49ad02 | [
"BSL-1.0"
] | 1 | 2022-03-31T14:37:49.000Z | 2022-03-31T14:37:49.000Z | #include "Host.h"
#include "Symbiont.h"
#include <set>
TEST_CASE("Host SetIntVal, GetIntVal") {
emp::Ptr<emp::Random> random = new emp::Random(-1);
SymConfigBase config;
SymWorld w(*random);
double int_val = 1;
Host * h1 = new Host(random, &w, &config);
double default_int_val = 0.0;
REQUIR... | 32.144766 | 121 | 0.59648 | [
"vector"
] |
048be8a11dfd45d178940cb575276192af6c42d1 | 69,059 | cc | C++ | src/btree/leaf_node.cc | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | src/btree/leaf_node.cc | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | src/btree/leaf_node.cc | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2014 RethinkDB, all rights reserved.
#include "btree/leaf_node.hpp"
#include <inttypes.h>
#include <algorithm>
#include <set>
#include "errors.hpp"
#include <boost/optional.hpp>
#include "btree/node.hpp"
#include "repli_timestamp.hpp"
#include "utils.hpp"
namespace leaf {
// A leaf node is a se... | 37.778446 | 205 | 0.6302 | [
"vector"
] |
048f69021b8b70ec268a1973e5ce00e9c3de2ab0 | 24,341 | cpp | C++ | Source/EMsoftWorkbench/Workbench/Modules/PatternDisplayModule/PatternDisplayController.cpp | josephtessmer/EMsoft | b6f73c76c52ff7bfa432119b91d3981c8e97fd11 | [
"Intel",
"Unlicense",
"MIT-CMU",
"BSD-3-Clause"
] | 37 | 2019-02-11T15:39:55.000Z | 2022-03-15T10:37:23.000Z | Source/EMsoftWorkbench/Workbench/Modules/PatternDisplayModule/PatternDisplayController.cpp | hhoward22/EMsoft | 97daa26978c42d5f569f4588a9991393c157d509 | [
"Intel",
"BSD-3-Clause",
"MIT-CMU",
"Unlicense"
] | 83 | 2018-08-30T10:30:30.000Z | 2022-03-31T09:27:33.000Z | Source/EMsoftWorkbench/Workbench/Modules/PatternDisplayModule/PatternDisplayController.cpp | hhoward22/EMsoft | 97daa26978c42d5f569f4588a9991393c157d509 | [
"Intel",
"BSD-3-Clause",
"MIT-CMU",
"Unlicense"
] | 71 | 2018-08-21T14:19:22.000Z | 2022-03-30T19:50:54.000Z | /* ============================================================================
* Copyright (c) 2009-2017 BlueQuartz Software, LLC
*
* 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... | 41.608547 | 197 | 0.646892 | [
"render",
"object",
"vector",
"model"
] |
048fa151e72b184ca331726d27a5416ed8008128 | 7,787 | cpp | C++ | src/common/optionstructure.cpp | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | src/common/optionstructure.cpp | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | src/common/optionstructure.cpp | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | /*!
* \file config.cpp
* \brief Classes for different Optiontypes in rtsn
* \author S. Schotthoefer
*
* Disclaimer: This class structure was copied and modifed with open source permission from SU2 v7.0.3 https://su2code.github.io/
*/
#include "common/optionstructure.h"
// --- Members of OptionBase ----
OptionB... | 32.445833 | 146 | 0.649544 | [
"vector"
] |
04927876cde663765fe1bff8c0221902bc0e23a1 | 11,650 | cpp | C++ | src/Boring32/Crypto/boring32.crypto-functions.cpp | yottaawesome/Win32Common | cb5896bf68307d6eceddea78c7867b97ec020bc1 | [
"MIT"
] | null | null | null | src/Boring32/Crypto/boring32.crypto-functions.cpp | yottaawesome/Win32Common | cb5896bf68307d6eceddea78c7867b97ec020bc1 | [
"MIT"
] | null | null | null | src/Boring32/Crypto/boring32.crypto-functions.cpp | yottaawesome/Win32Common | cb5896bf68307d6eceddea78c7867b97ec020bc1 | [
"MIT"
] | null | null | null | module;
#include <vector>
#include <stdexcept>
#include <source_location>
#include <string>
#include <Windows.h>
#include <dpapi.h> // not including this header causes symbol has already been defined error
#include <Wincrypt.h>
module boring32.crypto:functions;
import boring32.error;
namespace Boring32:... | 27.541371 | 102 | 0.658197 | [
"vector"
] |
049361e9101bf2733484c7ae8f09b4261b874315 | 8,038 | cc | C++ | content/worker/websharedworkerclient_proxy.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/worker/websharedworkerclient_proxy.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/worker/websharedworkerclient_proxy.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:25:45.000Z | 2020-11-04T07:25:45.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/worker/websharedworkerclient_proxy.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/message_loop.h"
#include... | 36.87156 | 84 | 0.76325 | [
"object",
"vector"
] |
0493d1927aa13107fd62b455538e431b1e83c7df | 6,205 | cc | C++ | src/ui/lib/escher/scene/camera.cc | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | src/ui/lib/escher/scene/camera.cc | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | src/ui/lib/escher/scene/camera.cc | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/lib/escher/scene/camera.h"
#include "src/lib/fxl/logging.h"
#include "src/ui/lib/escher/math/rotations.h"
#include "src/ui/lib/escher/sce... | 43.090278 | 80 | 0.675262 | [
"vector",
"transform"
] |
0496e3fd95d560aa3ca1c724eb5cd3b2021c1484 | 4,922 | cpp | C++ | tests/src/test_AlignerBatchCPU.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | tests/src/test_AlignerBatchCPU.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | tests/src/test_AlignerBatchCPU.cpp | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | null | null | null | #include <PancakeTestData.h>
#include <gtest/gtest.h>
#include <pacbio/pancake/AlignerBatchCPU.h>
#include <pacbio/pancake/AlignerFactory.h>
#include <pacbio/pancake/AlignmentParameters.h>
#include <iostream>
#include "TestHelperUtils.h"
TEST(AlignerBatchCPU, ArrayOfTests_Small)
{
using namespace PacBio::Pancake;
... | 40.01626 | 151 | 0.552011 | [
"vector"
] |
04977c93d0ea5eef41a7a524d90c7427230c027c | 1,880 | cpp | C++ | liver/test/fill_liver_test.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null | liver/test/fill_liver_test.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null | liver/test/fill_liver_test.cpp | ncrookston/liver_source | 9876ac4e9ea57d8e23767af9be061a9b10c6f1e5 | [
"BSL-1.0"
] | null | null | null |
#include "liver/fill_liver_volume.hpp"
#include "shape/box.hpp"
#define CATCH_CONFIG_MAIN
#include <catch.hpp>
#include <fmt/ostream.h>
#include <range/v3/all.hpp>
using namespace jhmi;
TEST_CASE( "Lobules two ways", "[fill_liver_volume]" ) {
auto shape = box{m3{}, dbl3{1,1,1} * 18_mm};
auto lob1 = std::vector<... | 28.059701 | 75 | 0.632447 | [
"shape",
"vector"
] |
049c0b63119ed1d3e0cd5400602c56a6ec6bb35f | 8,359 | cpp | C++ | src/capture_checkerboard.cpp | hongtaowu67/checkerboard_ros | c58c1a939cb55e0ca6dc4e5ec6b54fba30182cd0 | [
"MIT"
] | 3 | 2020-06-02T19:50:54.000Z | 2020-09-18T04:38:59.000Z | src/capture_checkerboard.cpp | hongtaowu67/checkerboard_ros | c58c1a939cb55e0ca6dc4e5ec6b54fba30182cd0 | [
"MIT"
] | null | null | null | src/capture_checkerboard.cpp | hongtaowu67/checkerboard_ros | c58c1a939cb55e0ca6dc4e5ec6b54fba30182cd0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <fstream>
#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <tf/transform_broadcaster.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/c... | 45.429348 | 165 | 0.578179 | [
"vector",
"model",
"transform"
] |
049c6503f493af07032c274a6be2f493d5ec4074 | 952 | cpp | C++ | examples/example_or_get.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | examples/example_or_get.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | examples/example_or_get.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | #include "../streamer/streamer.hpp"
#include "../streamer/optional.hpp"
#include <cassert>
#include <vector>
/*
* or_get(UnaryFunc) operates on a std::optional and returns either the value the
* std::optional contains, or calls the UnaryFunc passed to or_default if the std::optional is
* empty, and returns the Unar... | 25.72973 | 94 | 0.595588 | [
"vector"
] |
049c900b95e22f0f1d7a9008d33dcbc5c729b2e8 | 8,033 | cpp | C++ | src/mbgl/annotation/annotation_manager.cpp | kravtsun/mapbox-gl-native | ea8ec38df156c6683c886253dbb1f6bc828686ff | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/annotation/annotation_manager.cpp | kravtsun/mapbox-gl-native | ea8ec38df156c6683c886253dbb1f6bc828686ff | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/annotation/annotation_manager.cpp | kravtsun/mapbox-gl-native | ea8ec38df156c6683c886253dbb1f6bc828686ff | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #include <mbgl/annotation/annotation_manager.hpp>
#include <mbgl/annotation/annotation_source.hpp>
#include <mbgl/annotation/annotation_tile.hpp>
#include <mbgl/annotation/symbol_annotation_impl.hpp>
#include <mbgl/annotation/line_annotation_impl.hpp>
#include <mbgl/annotation/fill_annotation_impl.hpp>
#include <mbgl/a... | 35.702222 | 123 | 0.717789 | [
"geometry",
"shape"
] |
049eaf46c3da602bd3490e6642862b6317449532 | 657 | cpp | C++ | Composite/Composite/Canvas.cpp | AlK2x/OOD | 7ce78cfa7708978483f67642d93a8bc2873c2285 | [
"MIT"
] | null | null | null | Composite/Composite/Canvas.cpp | AlK2x/OOD | 7ce78cfa7708978483f67642d93a8bc2873c2285 | [
"MIT"
] | 5 | 2016-03-20T20:28:52.000Z | 2016-06-30T18:17:42.000Z | Composite/Composite/Canvas.cpp | AlK2x/OOD | 7ce78cfa7708978483f67642d93a8bc2873c2285 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Canvas.h"
CCanvas::CCanvas()
{
}
void CCanvas::DrawLine(SPoint a, SPoint b)
{
std::cout << "Line: " << a << " - " << b << std::endl;
}
void CCanvas::DrawEllipse(int l, int t, int w, int h)
{
std::cout << "Draw Ellipse" << std::endl;
}
void CCanvas::FillEllipse(int l, int t, int w, i... | 16.425 | 74 | 0.649924 | [
"vector"
] |
049eb24957d39917a5393763369b11a7e1e982a9 | 4,217 | cpp | C++ | src/Game/Things/Thing.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 2 | 2015-01-14T20:20:51.000Z | 2015-09-08T15:49:18.000Z | src/Game/Things/Thing.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | null | null | null | src/Game/Things/Thing.cpp | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 1 | 2015-11-03T13:58:58.000Z | 2015-11-03T13:58:58.000Z | /*
Phobos 3d
May 2011
Copyright (c) 2005-2011 Bruno Sanches http://code.google.com/p/phobos3d
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 softw... | 26.522013 | 243 | 0.691487 | [
"3d"
] |
04a5cad3c0c67a116a756204eeb8576951e4cf98 | 83,769 | cpp | C++ | catboost/libs/fstr/shap_values.cpp | LordProtoss/catboost | fc196e25b67a4aacaffc89e23475c4fc4de324d4 | [
"Apache-2.0"
] | null | null | null | catboost/libs/fstr/shap_values.cpp | LordProtoss/catboost | fc196e25b67a4aacaffc89e23475c4fc4de324d4 | [
"Apache-2.0"
] | null | null | null | catboost/libs/fstr/shap_values.cpp | LordProtoss/catboost | fc196e25b67a4aacaffc89e23475c4fc4de324d4 | [
"Apache-2.0"
] | null | null | null | #include "shap_values.h"
#include "util.h"
#include "shap_exact.h"
#include <catboost/private/libs/algo/features_data_helpers.h>
#include <catboost/private/libs/algo/index_calcer.h>
#include <catboost/libs/data/features_layout.h>
#include <catboost/libs/helpers/exception.h>
#include <catboost/libs/loggers/logger.h>
#... | 41.063235 | 169 | 0.626198 | [
"object",
"model"
] |
04b280e355a03e50310854842520aa030bba21d5 | 7,381 | cpp | C++ | src/runtime_src/core/tools/common/XBUtilitiesCore.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | null | null | null | src/runtime_src/core/tools/common/XBUtilitiesCore.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | null | null | null | src/runtime_src/core/tools/common/XBUtilitiesCore.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2019-2022 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 23.137931 | 113 | 0.631893 | [
"vector",
"transform"
] |
04bd3a15d22698ce4a69d257cdb399d34e8e8296 | 4,745 | cpp | C++ | src/step_function.cpp | cocteautwins/SIRIUS-develop | 8ab09ca7cc69e9a7dc76475b7b562b20d56deea3 | [
"BSD-2-Clause"
] | null | null | null | src/step_function.cpp | cocteautwins/SIRIUS-develop | 8ab09ca7cc69e9a7dc76475b7b562b20d56deea3 | [
"BSD-2-Clause"
] | null | null | null | src/step_function.cpp | cocteautwins/SIRIUS-develop | 8ab09ca7cc69e9a7dc76475b7b562b20d56deea3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2013-2016 Anton Kozhevnikov, Thomas Schulthess
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that
// the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notic... | 42.747748 | 118 | 0.633087 | [
"vector",
"transform"
] |
04c885993a91b488e490b8e48fe020dd6a9cd60e | 15,548 | cpp | C++ | src/SFML/Graphics/Shader.cpp | Luhrel/CSFML | a9df535b6b8adffb2bb585058caf5f6dd5c26d83 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/Shader.cpp | Luhrel/CSFML | a9df535b6b8adffb2bb585058caf5f6dd5c26d83 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/Shader.cpp | Luhrel/CSFML | a9df535b6b8adffb2bb585058caf5f6dd5c26d83 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.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 a... | 32.732632 | 144 | 0.554862 | [
"geometry",
"vector",
"transform"
] |
04cc292996b77e928cfbcc2cf1cf2d40c3bb10cf | 7,381 | cpp | C++ | data/test/cpp/04cc292996b77e928cfbcc2cf1cf2d40c3bb10cfenvchunk.cpp | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/cpp/04cc292996b77e928cfbcc2cf1cf2d40c3bb10cfenvchunk.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/cpp/04cc292996b77e928cfbcc2cf1cf2d40c3bb10cfenvchunk.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | #include "chunk.hpp"
#include "envchunk.hpp"
//macro for helping to force inclusion of chunks when using libraries
FORCE_CHUNK_INCLUDE_IMPLEMENT(envchunk)
// Class Environment_Data_Chunk functions
RIF_IMPLEMENT_DYNCREATE("REBENVDT",Environment_Data_Chunk)
// constructor from buffer
LOCKABLE_CHUNK_WITH_CHILDREN_LOADE... | 22.641104 | 129 | 0.74204 | [
"shape"
] |
04cf5ba71a7472b58a2feb7092838357e7968639 | 20,458 | cpp | C++ | SymbolExtractorAndRenamer/swift/lib/Obfuscation/LayoutRenamer.cpp | Polidea/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 427 | 2018-05-29T14:21:02.000Z | 2022-03-16T03:17:54.000Z | SymbolExtractorAndRenamer/swift/lib/Obfuscation/LayoutRenamer.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 25 | 2018-07-23T08:34:15.000Z | 2021-11-05T07:13:36.000Z | SymbolExtractorAndRenamer/swift/lib/Obfuscation/LayoutRenamer.cpp | PolideaPlayground/SiriusObfuscator | b0e590d8130e97856afe578869b83a209e2b19be | [
"Apache-2.0"
] | 52 | 2018-07-19T19:57:32.000Z | 2022-03-11T16:05:38.000Z | #include "swift/Obfuscation/LayoutRenamer.h"
namespace swift {
namespace obfuscation {
LayoutNodeRenaming::LayoutNodeRenaming(xmlNode* Node,
const xmlChar* PropertyName,
const std::string ObfuscatedName)
... | 38.026022 | 106 | 0.561443 | [
"vector"
] |
04d386dd8821e3af37ff7ff65414042941cc221c | 6,749 | cc | C++ | CalibTracker/SiPixelConnectivity/src/PixelToFEDAssociateFromAscii.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | CalibTracker/SiPixelConnectivity/src/PixelToFEDAssociateFromAscii.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | CalibTracker/SiPixelConnectivity/src/PixelToFEDAssociateFromAscii.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #include "CalibTracker/SiPixelConnectivity/interface/PixelToFEDAssociateFromAscii.h"
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include "DataFormats/SiPixelDetId/interface/PixelEndcapName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <ostream>
#include <fstream>
#include ... | 27.88843 | 90 | 0.605571 | [
"vector"
] |
3e20f3b6b3d7ba724a71d79dd095cd7842423d61 | 2,997 | cpp | C++ | inventory_dump.cpp | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | 2 | 2020-03-12T19:11:56.000Z | 2020-05-01T03:11:03.000Z | inventory_dump.cpp | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | null | null | null | inventory_dump.cpp | LANL-Bioinformatics/BIGSI- | ccf1b1878b10f40ab475499aadcdb7c238e257e1 | [
"BSD-3-Clause"
] | 1 | 2021-06-22T22:05:56.000Z | 2021-06-22T22:05:56.000Z | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <stdlib.h>
#include "bloom.h"
#include "binary_io.h"
using namespace std;
int main(int argc, char *argv[])
{
try{
if(argc != 2){
cerr << "Usage: " << argv[0] << " <binary metadata file>" << endl;
return EXIT_SUCCESS;
... | 27 | 95 | 0.638639 | [
"vector"
] |
3e24eacef3303fb703ce6550617aa8fd265f8077 | 11,121 | cc | C++ | tools/toktx/pngimage.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | tools/toktx/pngimage.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | tools/toktx/pngimage.cc | kacprzak/KTX-Software | ebc4b205e32090665d375bd9bee8559a85294b33 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | // -*- tab-width: 4; -*-
// vi: set sw=2 ts=4 expandtab:
// Copyright 2010-2020 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0
//!
//! @internal
//! @~English
//! @file
//!
//! @brief Create Images from PNG format files.
//!
//! @author Mark Callow, HI Corporation.
//! @author Jacob Ström, Ericsso... | 35.990291 | 80 | 0.575398 | [
"vector",
"transform"
] |
3e26bfdfd5db49aae493e3ac9428c2f0fe6d6025 | 11,063 | cpp | C++ | Plugins/PLCompositing/src/Shaders/Deferred/SRPDeferredAmbient.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 1 | 2019-11-09T16:54:04.000Z | 2019-11-09T16:54:04.000Z | Plugins/PLCompositing/src/Shaders/Deferred/SRPDeferredAmbient.cpp | naetherm/pixelligh | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Plugins/PLCompositing/src/Shaders/Deferred/SRPDeferredAmbient.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | null | null | null | /*********************************************************\
* File: SRPDeferredAmbient.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 47.277778 | 224 | 0.657778 | [
"render"
] |
3e26d83ee430c59e587c33105047cb4393421356 | 2,383 | hpp | C++ | Support/Modules/UDLib/UDSettingsCombMainDialog.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/UDLib/UDSettingsCombMainDialog.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/UDLib/UDSettingsCombMainDialog.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z | #ifndef SETTINGSCOMBMAINDIALOG_HPP
#define SETTINGSCOMBMAINDIALOG_HPP
#pragma once
#include <memory>
#include "UDRollDownDialogs.hpp"
namespace UD {
class SettingsCombHeaderTabPage;
class SettingsCombListTabPage;
class ISettingsCombCurrTabPage;
class SettingsCombControl;
class SettingsCombDialogState;
}
names... | 31.355263 | 198 | 0.76794 | [
"object"
] |
3e2b08d459aecde78abc44b60543d45cffa7a6fc | 498 | hpp | C++ | src/analysisgraph.hpp | medical-genomics-group/hydra | d352f1096d8397a36d6984ff7ea944bdb6c4e1d5 | [
"MIT"
] | 7 | 2020-09-09T08:35:24.000Z | 2021-11-14T16:09:12.000Z | src/analysisgraph.hpp | medical-genomics-group/hydra | d352f1096d8397a36d6984ff7ea944bdb6c4e1d5 | [
"MIT"
] | 2 | 2020-12-09T14:48:15.000Z | 2021-04-23T09:56:24.000Z | src/analysisgraph.hpp | medical-genomics-group/hydra | d352f1096d8397a36d6984ff7ea944bdb6c4e1d5 | [
"MIT"
] | 1 | 2020-10-11T12:33:25.000Z | 2020-10-11T12:33:25.000Z | #ifndef ANALYSISGRAPH_H
#define ANALYSISGRAPH_H
#include <cstddef>
#include <vector>
class BayesRRmz;
class AnalysisGraph
{
public:
AnalysisGraph(BayesRRmz *bayes, size_t maxParallel = 12);
virtual ~AnalysisGraph();
virtual void exec(unsigned int numInds,
unsigned int numSnps,
... | 19.92 | 74 | 0.674699 | [
"vector"
] |
3e314855a6b69fb1c435ede7d0597f9b81712ee6 | 2,215 | cpp | C++ | source/file/alignment/bed/BedFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | source/file/alignment/bed/BedFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | source/file/alignment/bed/BedFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Frangou Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 21.504854 | 75 | 0.651919 | [
"vector"
] |
3e31e2371dba294014f9558c24350667fd3e612f | 1,265 | cpp | C++ | Cpp/DFS/DFSforReal/dfs.cpp | Manuel4131/CandCppFT | e88a8312db4b5fea44b5225809a6ba8059289d4e | [
"MIT"
] | null | null | null | Cpp/DFS/DFSforReal/dfs.cpp | Manuel4131/CandCppFT | e88a8312db4b5fea44b5225809a6ba8059289d4e | [
"MIT"
] | null | null | null | Cpp/DFS/DFSforReal/dfs.cpp | Manuel4131/CandCppFT | e88a8312db4b5fea44b5225809a6ba8059289d4e | [
"MIT"
] | null | null | null | #include <iostream>
#include <stack>
#include <vector>
void getNeighborsAndPush(std::stack <int> &s, int node);
bool isVisited(std::vector<int> &visitedNode, int node);
void printVector(std::vector <int> &v);
int graph[][7]=
{
{0,1,1,1,0,0,0},
{1,0,0,0,0,1,0},
{1,0,0,1,1,0,1},
{1,0,1,0,1,0,0},
{0,0,1,1,0,0,1},
{0,1,... | 15.8125 | 69 | 0.58419 | [
"vector"
] |
3e3749e052587a8c8364da3e11b05fe0c4e95206 | 16,062 | cc | C++ | extensions/browser/updater/update_data_provider_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | extensions/browser/updater/update_data_provider_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | extensions/browser/updater/update_data_provider_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 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 "extensions/browser/updater/update_data_provider.h"
#include <map>
#include <memory>
#include <set>
#include <string>
#include <vector>
#includ... | 37.353488 | 80 | 0.717532 | [
"vector"
] |
3e378c347f34ecd6597246ee8149b64de80834e6 | 12,229 | cpp | C++ | spoj/ACPC10G.cpp | tuket/challenges | 456979020c78dfcae2f8681245000bb64a6aaf38 | [
"Unlicense"
] | null | null | null | spoj/ACPC10G.cpp | tuket/challenges | 456979020c78dfcae2f8681245000bb64a6aaf38 | [
"Unlicense"
] | null | null | null | spoj/ACPC10G.cpp | tuket/challenges | 456979020c78dfcae2f8681245000bb64a6aaf38 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <bitset>
using namespace std;
typedef int64_t i64;
typedef int8_t i8;
typedef uint8_t u8;
typedef int32_t i32;
typedef uint32_t u32;
struct P { i64 x, y; };
static constexpr i64 LU_SIZE = 10;
static const i64 LU[LU_SIZE][LU_SIZE] = {
{0, 3, 2, ... | 29.610169 | 86 | 0.318096 | [
"vector"
] |
3e3d3c264abf73d73812536835c095caa97b5dc0 | 22,296 | cpp | C++ | cmdnotify.cpp | bgirard/znc-cmd-notify | 1151582c39e5e8833c68a7ddb53944f913dd2b70 | [
"MIT"
] | 8 | 2015-02-11T21:42:08.000Z | 2021-04-23T11:33:46.000Z | cmdnotify.cpp | bgirard/znc-cmd-notify | 1151582c39e5e8833c68a7ddb53944f913dd2b70 | [
"MIT"
] | null | null | null | cmdnotify.cpp | bgirard/znc-cmd-notify | 1151582c39e5e8833c68a7ddb53944f913dd2b70 | [
"MIT"
] | 3 | 2015-02-22T09:21:07.000Z | 2016-05-10T03:21:54.000Z | /**
* ZNC Cmd Notify
*
* Fowards a notify to a command of your choice
*
* Forked credits:
* Copyright (c) 2011 John Reese
* Licensed under the MIT license
*/
#include <map>
#include <string>
#include "znc/znc.h"
#include "znc/Chan.h"
#include "znc/User.h"
#include "znc/IRCNetwork.h"
#include "znc/Modules.h"
#... | 23.273486 | 151 | 0.613428 | [
"object",
"vector"
] |
3e3d954bb4cacc9859b0e02baa518a0cf1737f95 | 583 | hpp | C++ | include/lives.hpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | include/lives.hpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | include/lives.hpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | #ifndef SRC_LIVES_HPP_
#define SRC_LIVES_HPP_
#include "circle.hpp"
#include "entity.hpp"
#include <vector>
/**
* The class is responsible to show the circular dots which represent the number of live player has in the game
*/
class lives : public Entity, public Circle
{
sf::CircleShape shape;
public:
static con... | 20.821429 | 111 | 0.728988 | [
"shape",
"vector"
] |
3e3e1f14a8e4a2f9c38ad477e16e7a82686bcc08 | 3,187 | cpp | C++ | LevelEditor/Edit/ESound_Environment.cpp | MlssingTexture/xray-sdk | 648de11d78fcc8088e802572da6187ee9b198f9f | [
"CC0-1.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | LevelEditor/Edit/ESound_Environment.cpp | MlssingTexture/xray-sdk | 648de11d78fcc8088e802572da6187ee9b198f9f | [
"CC0-1.0"
] | null | null | null | LevelEditor/Edit/ESound_Environment.cpp | MlssingTexture/xray-sdk | 648de11d78fcc8088e802572da6187ee9b198f9f | [
"CC0-1.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | //---------------------------------------------------------------------------
#include "stdafx.h"
#pragma hdrstop
#include "ESound_Environment.h"
#include "EShape.h"
#include "ui_levelmain.h"
//----------------------------------------------------
#define SOUND_SEL0_COLOR 0x00A0A0A0
#define SOUND_SEL1_COLOR 0x00FFFF... | 26.558333 | 101 | 0.603389 | [
"shape"
] |
3e4063f53ad860edb6e96c96b900eb5c57783049 | 1,585 | cpp | C++ | src/uscxml/plugins/datamodel/ecmascript/v8/dom/V8XPathResultCustom.cpp | sradomski/uscxml | b8ba0e7c31f397a66f9d509ff20a85b33619475a | [
"W3C",
"BSD-2-Clause"
] | null | null | null | src/uscxml/plugins/datamodel/ecmascript/v8/dom/V8XPathResultCustom.cpp | sradomski/uscxml | b8ba0e7c31f397a66f9d509ff20a85b33619475a | [
"W3C",
"BSD-2-Clause"
] | null | null | null | src/uscxml/plugins/datamodel/ecmascript/v8/dom/V8XPathResultCustom.cpp | sradomski/uscxml | b8ba0e7c31f397a66f9d509ff20a85b33619475a | [
"W3C",
"BSD-2-Clause"
] | null | null | null | /**
* @file
* @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
* @copyright Simplified BSD
*
* @cond
* This program is free software: you can redistribute it and/or modify
* it under the terms of the FreeBSD license as published by the FreeBSD
* project.
*
* This program is ... | 34.456522 | 132 | 0.728707 | [
"object"
] |
3e40cfddf027a1a02c9318cafef6eaf4e29a2cd4 | 6,670 | cc | C++ | homework-3/src/assn3.cc | lherman-cs/cs4050 | 8976f99d2b96449abab2fcad14960dd694c7e071 | [
"MIT"
] | null | null | null | homework-3/src/assn3.cc | lherman-cs/cs4050 | 8976f99d2b96449abab2fcad14960dd694c7e071 | [
"MIT"
] | null | null | null | homework-3/src/assn3.cc | lherman-cs/cs4050 | 8976f99d2b96449abab2fcad14960dd694c7e071 | [
"MIT"
] | null | null | null | //
// Programming Assignment #1
//
// Victor Zordan
//
//
//
/***************************************************************************/
/**
* Name : Lukas Herman
* Homework # : 1
*
* Conventions :
* - "_": means previous value. Ex: x_last_ -> previous value of x_last
*/
/* Include ne... | 26.573705 | 78 | 0.585007 | [
"render",
"vector",
"model"
] |
3e414deef5ffe8802f87de07b59ea04f7bf412f0 | 27,806 | cpp | C++ | src/ontology.cpp | severin-lemaignan/liboro | 058168bbabd7d79fbf38e242695ba15a6bea5deb | [
"ISC"
] | 1 | 2019-04-24T01:18:16.000Z | 2019-04-24T01:18:16.000Z | src/ontology.cpp | severin-lemaignan/liboro | 058168bbabd7d79fbf38e242695ba15a6bea5deb | [
"ISC"
] | null | null | null | src/ontology.cpp | severin-lemaignan/liboro | 058168bbabd7d79fbf38e242695ba15a6bea5deb | [
"ISC"
] | 1 | 2019-01-31T17:54:59.000Z | 2019-01-31T17:54:59.000Z |
/*
* Copyright (c) 2008-2010 LAAS-CNRS Séverin Lemaignan slemaign@laas.fr
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS ... | 33.541616 | 281 | 0.657808 | [
"object",
"vector",
"model"
] |
3e43232fa484ff2dfeebb703a031787756f3b4e1 | 3,657 | cpp | C++ | practicas/lab_9_greedyAlgorithms/WateringGrass/wateringGrass.cpp | JackMerma/Adagrupob | 240b4155a68cf0672299d93f8dc0b61abba2e5e4 | [
"BSD-3-Clause"
] | null | null | null | practicas/lab_9_greedyAlgorithms/WateringGrass/wateringGrass.cpp | JackMerma/Adagrupob | 240b4155a68cf0672299d93f8dc0b61abba2e5e4 | [
"BSD-3-Clause"
] | null | null | null | practicas/lab_9_greedyAlgorithms/WateringGrass/wateringGrass.cpp | JackMerma/Adagrupob | 240b4155a68cf0672299d93f8dc0b61abba2e5e4 | [
"BSD-3-Clause"
] | null | null | null | /**
* @author : Jackson Fernando Merma Portocarrero (jmermap@unsa.edu.pe)
* @filename : wateringGrass
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define endl "\n"
#define PI 3.1415926535897932384626
/**
* Explanation:
* Para resolverlo, primero se agre... | 34.17757 | 101 | 0.59475 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.