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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6fd7c8d7be8b550699d91f14abf5c4fb231a014 | 12,226 | cpp | C++ | Lux.cpp | GuMiner/lux | ea8ee83fe88dc2905ba80dcc9082cddfb835f739 | [
"MIT"
] | null | null | null | Lux.cpp | GuMiner/lux | ea8ee83fe88dc2905ba80dcc9082cddfb835f739 | [
"MIT"
] | null | null | null | Lux.cpp | GuMiner/lux | ea8ee83fe88dc2905ba80dcc9082cddfb835f739 | [
"MIT"
] | null | null | null | #include <sstream>
#include <string>
#include <glm\gtx\transform.hpp>
#include <SFML\System.hpp>
#include "logging\Logger.h"
#include "filters\IQSpectrum.h"
#include "filters\FrequencySpectrum.h"
#include "Input.h"
#include "LineRenderer.h"
#include "PointRenderer.h"
#include "version.h"
#include "Lux.h"
... | 33.313351 | 208 | 0.651889 | [
"render",
"transform"
] |
4706e241d4a3f89f98f031a0b5e989af0927f9f8 | 64,940 | cpp | C++ | arangod/V8Server/v8-vocindex.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | arangod/V8Server/v8-vocindex.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | arangod/V8Server/v8-vocindex.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// @brief V8-vocbase bridge
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "Licen... | 35.544609 | 138 | 0.575793 | [
"object",
"vector"
] |
47090c1b82053eea0782afd9520b3842f08f6965 | 5,465 | cpp | C++ | lm_io.cpp | chenkovsky/lmprune | 1f77e00a5c6c2673b40e0c6b3d7552cc237e95be | [
"MIT"
] | 3 | 2015-11-28T12:14:26.000Z | 2019-07-27T05:10:38.000Z | lm_io.cpp | chenkovsky/lmprune | 1f77e00a5c6c2673b40e0c6b3d7552cc237e95be | [
"MIT"
] | null | null | null | lm_io.cpp | chenkovsky/lmprune | 1f77e00a5c6c2673b40e0c6b3d7552cc237e95be | [
"MIT"
] | null | null | null | #include<iomanip>
#include <sstream> // std::istringstream
#include "lm.hpp"
template <class T> LanguageModel* LanguageModel::load(T &in) {
LanguageModel *lm = NULL;
cerr << "[LOADING] start loading..." << endl;
string str, word;
size_t ngram_num_per_order[MAX_ORDER];
word_id_t word_ids[MAX_OR... | 37.176871 | 107 | 0.599268 | [
"vector",
"model"
] |
47090f0fae67600f665022ca8db0ac1a754814d8 | 1,930 | cpp | C++ | code/playground/boostSpline.cpp | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | null | null | null | code/playground/boostSpline.cpp | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | null | null | null | code/playground/boostSpline.cpp | manavjain99/oscar_buggy | b5dab0848f8667c9515bcfb078730cd0c4060000 | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<algorithm>
#include<cmath>
using namespace std;
using vec = vector<double>;
struct SplineSet{
double a;
double b;
double c;
double d;
double x;
};
vector<SplineSet> spline(vec &x, vec &y)
{
int n = x.size()-1;
vec a;
a.insert(a.begin(), y.b... | 18.921569 | 89 | 0.391192 | [
"vector"
] |
47120488ed5fb3100fc1db429e7afd562fbaadec | 2,364 | hpp | C++ | geometry/include/overlap.hpp | Ludophonic/JigLib | 541ec63b345ccf01e58cce49eb2f73c21eaf6aa6 | [
"Zlib"
] | 10 | 2016-06-01T12:54:45.000Z | 2021-09-07T17:34:37.000Z | geometry/include/overlap.hpp | Ludophonic/JigLib | 541ec63b345ccf01e58cce49eb2f73c21eaf6aa6 | [
"Zlib"
] | null | null | null | geometry/include/overlap.hpp | Ludophonic/JigLib | 541ec63b345ccf01e58cce49eb2f73c21eaf6aa6 | [
"Zlib"
] | 4 | 2017-05-03T14:03:03.000Z | 2021-01-04T04:31:15.000Z | //==============================================================
// Copyright (C) 2004 Danny Chapman
// danny@rowlhouse.freeserve.co.uk
//--------------------------------------------------------------
//
/// @file overlap.hpp
///
/// Overlap tests compare two static geometries and tell yo... | 41.473684 | 104 | 0.653553 | [
"geometry"
] |
4712bdb29dd810ec36c08c12ad69ddc973ed2700 | 2,899 | cpp | C++ | src/libs/ml_models/ut/test_svm_predction.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/libs/ml_models/ut/test_svm_predction.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null | src/libs/ml_models/ut/test_svm_predction.cpp | boazsade/machine_learinig_models | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | [
"MIT"
] | null | null | null |
#include <boost/test/unit_test.hpp>
#include "acc_data_input.hpp"
#include "expected_prediction.h"
#include "../src/svm_impl/classifiers_generator.h"
#include "../src/svm_impl/svm_model.h"
namespace
{
// arguments for the training
const constexpr auto coat_value = 32.0;
const constexpr auto gamma_value = 0.0078125;
... | 49.135593 | 139 | 0.562953 | [
"model"
] |
472afa18f4892fd3ae518e4a4d2cf1eb44d7ae93 | 4,084 | cc | C++ | labs/13-verilog-uart/2-tx/sim.cc | dddrrreee/cs240lx-22spr | 7cab61cbe2ff7779ca414ca7ff64ea00914bf362 | [
"MIT"
] | 2 | 2022-03-29T03:59:29.000Z | 2022-03-29T04:27:26.000Z | labs/13-verilog-uart/2-tx/sim.cc | dddrrreee/cs240lx-22spr | 7cab61cbe2ff7779ca414ca7ff64ea00914bf362 | [
"MIT"
] | null | null | null | labs/13-verilog-uart/2-tx/sim.cc | dddrrreee/cs240lx-22spr | 7cab61cbe2ff7779ca414ca7ff64ea00914bf362 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include "Vuart_top_uart_rx.h"
#include "Vuart_top_uart_top.h"
#include "Vuart_top.h"
#include "verilated.h"
#include "verilated_vcd_c.h"
#define DEBUG 0
#if (DEBUG == 1)
#define dprintf(args...) printf(args)
#else
#define dprintf(args...)
#endif
#define BYTE_TO_BINARY_PATTERN "%c%c%c%c%c%c%c%c"
... | 26.179487 | 93 | 0.534525 | [
"vector"
] |
472d01a3aed1cae6224b22bdbc71c5299f4f84a9 | 5,253 | cc | C++ | tvm/src/pass/infer_reuse_bound.cc | hj424/heterocl | e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b | [
"Apache-2.0"
] | 7 | 2019-08-20T02:43:44.000Z | 2019-12-13T14:26:05.000Z | tvm/src/pass/infer_reuse_bound.cc | hj424/heterocl | e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b | [
"Apache-2.0"
] | null | null | null | tvm/src/pass/infer_reuse_bound.cc | hj424/heterocl | e51b8f7f65ae6ad55c0c2426ab7192c3d8f6702b | [
"Apache-2.0"
] | 2 | 2019-07-18T14:13:35.000Z | 2020-01-04T01:45:34.000Z | /*!
* Copyright (c) 2019 by Contributors
* \file loop_partition.cc
*/
#include <tvm/ir.h>
#include <tvm/ir_visitor.h>
#include <tvm/ir_mutator.h>
#include <tvm/ir_pass.h>
#include <tvm/operation.h>
#include <arithmetic/Substitute.h>
namespace TVM {
namespace ir {
// collect all load indices that contains the reus... | 36.227586 | 87 | 0.625167 | [
"vector"
] |
47395839860b65019527439c9baf1ab754518748 | 15,703 | cpp | C++ | biggles/model.cpp | fbi-octopus/biggles | 2dac4f1748ab87242951239caf274f302be1143a | [
"Apache-2.0"
] | 1 | 2019-11-15T14:01:59.000Z | 2019-11-15T14:01:59.000Z | biggles/model.cpp | fbi-octopus/biggles | 2dac4f1748ab87242951239caf274f302be1143a | [
"Apache-2.0"
] | null | null | null | biggles/model.cpp | fbi-octopus/biggles | 2dac4f1748ab87242951239caf274f302be1143a | [
"Apache-2.0"
] | null | null | null | #include <boost/assert.hpp>
#include <boost/foreach.hpp>
#include <boost/filesystem.hpp>
#include <boost/format.hpp>
//#include <boost/math/special_functions/binomial.hpp>
#include <cmath>
#include <Eigen/Dense>
#include <limits>
#include <vector>
#include <fstream>
#include "kalman_filter.hpp"
#include "kalman_filte... | 40.576227 | 126 | 0.688722 | [
"vector",
"model"
] |
4741027b972b4b93be77cfb371423d9811ed0550 | 6,186 | hpp | C++ | src/entity-system/builders/entities/entity-type-builder/EntityTypeBuilder.hpp | inexorgame/entity-system | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 19 | 2018-10-11T09:19:48.000Z | 2020-04-19T16:36:58.000Z | src/entity-system/builders/entities/entity-type-builder/EntityTypeBuilder.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 132 | 2018-07-28T12:30:54.000Z | 2020-04-25T23:05:33.000Z | src/entity-system/builders/entities/entity-type-builder/EntityTypeBuilder.hpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 3 | 2019-03-02T16:19:23.000Z | 2020-02-18T05:15:29.000Z | #pragma once
#include "entity-system/managers/entities/entity-type-manager/EntityTypeManager.hpp"
#include "entity-system/managers/entity-attributes/entity-attribute-instance-manager/EntityAttributeInstanceManager.hpp"
#include "entity-system/managers/entity-attributes/entity-attribute-type-manager/EntityAttributeType... | 54.743363 | 194 | 0.760103 | [
"model"
] |
4744ba1e89893d3fb6c4cfcd0fabf5638d2981a0 | 4,630 | hh | C++ | src/pypa/ast/dump.hh | RangelReale/libpypa | e4b3c359d3d2a9ccbea1cbb0a977af8219dd64ef | [
"Apache-2.0"
] | 152 | 2015-01-01T02:26:21.000Z | 2022-03-04T12:18:15.000Z | src/pypa/ast/dump.hh | kattkieru/libpypa | 5e7a4833da515d0cd2d850d51f082000c9e9f651 | [
"Apache-2.0"
] | 43 | 2015-01-22T00:49:10.000Z | 2019-02-26T22:42:59.000Z | src/pypa/ast/dump.hh | kattkieru/libpypa | 5e7a4833da515d0cd2d850d51f082000c9e9f651 | [
"Apache-2.0"
] | 42 | 2015-01-02T11:29:49.000Z | 2022-03-04T12:18:17.000Z | // Copyright 2014 Vinzenz Feenstra
//
// 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 ... | 30.662252 | 81 | 0.558315 | [
"vector"
] |
4749fb3bb03a0f2f0492834ec2e9770305c88716 | 5,110 | cpp | C++ | src/point_location_rbtree.cpp | 4x7y/DCEL | 6e73a7229f5c71fb83dff7e19de04fa973665f92 | [
"MIT"
] | null | null | null | src/point_location_rbtree.cpp | 4x7y/DCEL | 6e73a7229f5c71fb83dff7e19de04fa973665f92 | [
"MIT"
] | null | null | null | src/point_location_rbtree.cpp | 4x7y/DCEL | 6e73a7229f5c71fb83dff7e19de04fa973665f92 | [
"MIT"
] | null | null | null | //
// Created by Xiaoqian Mu on 4/2/17.
//
#include "point_location_rbtree.h"
using namespace geo;
bool PlCompare::less(PointLocationEdge* e1, PointLocationEdge* e2){
if(e1!= nullptr&&e2!= nullptr) {
if (e1->v_r->point.y > e2->v_r->point.y)
return true;
if(e1->v_r->point.y == e2->v_r->... | 26.340206 | 99 | 0.53092 | [
"vector"
] |
474b305e99217aee776b52e876902d711d9004ff | 769 | cxx | C++ | src/FastInputPreprocessor.cxx | QuantumDancer/lwtnn | ded198fb6ed3718c927b482e6e8710037a5de04a | [
"MIT"
] | null | null | null | src/FastInputPreprocessor.cxx | QuantumDancer/lwtnn | ded198fb6ed3718c927b482e6e8710037a5de04a | [
"MIT"
] | null | null | null | src/FastInputPreprocessor.cxx | QuantumDancer/lwtnn | ded198fb6ed3718c927b482e6e8710037a5de04a | [
"MIT"
] | null | null | null | #include "lwtnn/generic/FastInputPreprocessor.hh"
namespace lwt {
namespace generic {
namespace internal {
std::vector<size_t> get_value_indices(
const std::vector<std::string>& order,
const std::vector<lwt::Input>& inputs)
{
std::map<std::string, size_t> order_indices;
for (size_t i = 0; i < order... | 28.481481 | 75 | 0.661899 | [
"vector"
] |
474c6f6a3d5c70be769d87f26ef66252625155e0 | 3,186 | hh | C++ | lang/c++/api/AvroTraits.hh | sunjstack/avro | 5bd7cfe0bf742d0482bf6f54b4541b4d22cc87d9 | [
"Apache-2.0"
] | null | null | null | lang/c++/api/AvroTraits.hh | sunjstack/avro | 5bd7cfe0bf742d0482bf6f54b4541b4d22cc87d9 | [
"Apache-2.0"
] | null | null | null | lang/c++/api/AvroTraits.hh | sunjstack/avro | 5bd7cfe0bf742d0482bf6f54b4541b4d22cc87d9 | [
"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 ... | 26.55 | 78 | 0.721908 | [
"vector"
] |
474dfa3f6fe78144878d25940e76a34701455c82 | 6,767 | cpp | C++ | macOSCoder/NotSoRandom.cpp | lawarner/macOSCoder | 096c49e5b6bc0ea2ffd7f875fa3f390306133669 | [
"Apache-2.0"
] | null | null | null | macOSCoder/NotSoRandom.cpp | lawarner/macOSCoder | 096c49e5b6bc0ea2ffd7f875fa3f390306133669 | [
"Apache-2.0"
] | null | null | null | macOSCoder/NotSoRandom.cpp | lawarner/macOSCoder | 096c49e5b6bc0ea2ffd7f875fa3f390306133669 | [
"Apache-2.0"
] | null | null | null | //
// NotSoRandom.cpp
// macOSCoder
//
// Copyright © 2016 Andy Warner. 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/lic... | 25.062963 | 115 | 0.512339 | [
"vector"
] |
474fdd850d74592431855c36691026d2ab2a1c1d | 2,469 | cpp | C++ | src/Geometry/Structure/Octree.cpp | MyEvolution/Dragon | b14b6a29b65b43003ac89f4df3a3012e1eb2eee0 | [
"MIT"
] | 11 | 2020-12-11T18:58:11.000Z | 2022-02-08T08:13:15.000Z | src/Geometry/Structure/Octree.cpp | MyEvolution/Dragon | b14b6a29b65b43003ac89f4df3a3012e1eb2eee0 | [
"MIT"
] | 1 | 2022-02-08T08:12:48.000Z | 2022-02-08T08:12:48.000Z | src/Geometry/Structure/Octree.cpp | MyEvolution/Dragon | b14b6a29b65b43003ac89f4df3a3012e1eb2eee0 | [
"MIT"
] | 1 | 2021-05-17T14:51:38.000Z | 2021-05-17T14:51:38.000Z | #include "Octree.h"
#include "Geometry/Structure/BoundingBox.h"
namespace dragon
{
namespace geometry
{
void Octree::BuildTree(const geometry::PointCloud &pcd)
{
BoundingBox bb = pcd.GetBoundingBox();
auto &points = pcd.points;
// auto &normals = pcd.normals;
head.width ... | 36.308824 | 98 | 0.556501 | [
"geometry"
] |
47527933b56bf24440e59f248d4c643c6b15b1a5 | 448 | cpp | C++ | codeforces/160a.twins/160a.cpp | KayvanMazaheri/acm | aeb05074bc9b9c92f35b6a741183da09a08af85d | [
"MIT"
] | 3 | 2018-01-19T14:09:23.000Z | 2018-02-01T00:40:55.000Z | codeforces/160a.twins/160a.cpp | KayvanMazaheri/acm | aeb05074bc9b9c92f35b6a741183da09a08af85d | [
"MIT"
] | null | null | null | codeforces/160a.twins/160a.cpp | KayvanMazaheri/acm | aeb05074bc9b9c92f35b6a741183da09a08af85d | [
"MIT"
] | null | null | null | // In the name of God
// :)
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
const int MAXN = 1e2 + 123;
int arr[MAXN];
int main()
{
int n, sum =0, me = 0;
cin >> n;
for(int i=0; i<n; i++)
{
cin >> arr[i];
sum += arr[i];
}
sort(arr, arr+n);
int coins = 0;... | 12.8 | 39 | 0.53125 | [
"vector"
] |
47528f6ccddaeb710238d0473e30e5093709e731 | 21,775 | cpp | C++ | tests/mesh/test-hybrid-solid.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 64 | 2019-08-02T14:31:01.000Z | 2022-03-30T07:46:50.000Z | tests/mesh/test-hybrid-solid.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 395 | 2019-08-02T17:15:10.000Z | 2022-03-31T15:10:27.000Z | tests/mesh/test-hybrid-solid.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 8 | 2019-08-19T21:32:15.000Z | 2022-03-06T18:41:10.000Z | /*
* Copyright (c) 2019 - 2021 Geode-solutions
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | 50.995316 | 80 | 0.683949 | [
"mesh",
"geometry",
"vector",
"solid"
] |
47563b7043d46a4be00bd3bd07a3126abd062ed8 | 2,038 | hpp | C++ | YeOlde/cpp/Aquarians/aqlib/Exception.hpp | aquarians/Public | ac79b1502fe62eee2c84e1e4b8d32e6c303bdfd4 | [
"MIT"
] | null | null | null | YeOlde/cpp/Aquarians/aqlib/Exception.hpp | aquarians/Public | ac79b1502fe62eee2c84e1e4b8d32e6c303bdfd4 | [
"MIT"
] | null | null | null | YeOlde/cpp/Aquarians/aqlib/Exception.hpp | aquarians/Public | ac79b1502fe62eee2c84e1e4b8d32e6c303bdfd4 | [
"MIT"
] | null | null | null | #ifndef __EXCEPTION_HPP
#define __EXCEPTION_HPP
#include <exception>
#include <string>
#include <vector>
#include <log4cxx/logger.h>
namespace aqlib
{
// Offers the functionality to print the stack trace at runtime.
// As there's no C/C++ standard or at least established library for this,
// had to implement it fro... | 27.173333 | 103 | 0.67419 | [
"vector"
] |
e6de55f2b0944a3d6131cd5a3d1f99cba5420238 | 6,630 | cpp | C++ | src/passes/analysis/smtmodule.cpp | rdaly525/coreir | 2088144fa9ba89e701845da598332886f2869467 | [
"BSD-3-Clause"
] | 104 | 2017-04-05T23:23:32.000Z | 2022-03-18T03:47:05.000Z | src/passes/analysis/smtmodule.cpp | rdaly525/coreir | 2088144fa9ba89e701845da598332886f2869467 | [
"BSD-3-Clause"
] | 588 | 2017-04-02T17:11:29.000Z | 2021-12-22T01:37:47.000Z | src/passes/analysis/smtmodule.cpp | rdaly525/coreir | 2088144fa9ba89e701845da598332886f2869467 | [
"BSD-3-Clause"
] | 27 | 2017-03-15T17:05:13.000Z | 2022-03-30T20:23:08.000Z | #include "coreir/passes/analysis/smtmodule.hpp"
#include "coreir.h"
#include "coreir/passes/analysis/smtoperators.hpp"
#include <iostream>
using namespace CoreIR;
using namespace Passes;
typedef void (*voidFunctionType)(void);
string SMTModule::toString() {
ostringstream o;
for (auto s : stmts) o << s << endl;
... | 24.831461 | 80 | 0.613725 | [
"vector"
] |
e6e0d2a9564a4d7f520455cab486f81d9b76752f | 6,101 | cpp | C++ | test/module/irohad/consensus/yac/yac_simple_cold_case_test.cpp | coderintherye/iroha | 68509282851130c9818f21acef1ef28e53622315 | [
"Apache-2.0"
] | null | null | null | test/module/irohad/consensus/yac/yac_simple_cold_case_test.cpp | coderintherye/iroha | 68509282851130c9818f21acef1ef28e53622315 | [
"Apache-2.0"
] | null | null | null | test/module/irohad/consensus/yac/yac_simple_cold_case_test.cpp | coderintherye/iroha | 68509282851130c9818f21acef1ef28e53622315 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "consensus/yac/storage/yac_proposal_storage.hpp"
#include "framew... | 30.20297 | 76 | 0.683167 | [
"vector"
] |
e6eaad7b2bf4f37fb88e95d60c0af4f0c8d4c15b | 11,216 | cc | C++ | arcane/src/arcane/ios/VtuMeshWriter.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/ios/VtuMeshWriter.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/ios/VtuMeshWriter.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 33.580838 | 109 | 0.562411 | [
"mesh"
] |
e6f0bc9547127de1a896a62fbfc8f03d9a68e803 | 10,547 | cpp | C++ | src/Engine/Collisions/BoundingBox.cpp | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | 2 | 2021-04-18T06:40:19.000Z | 2021-06-29T23:35:31.000Z | src/Engine/Collisions/BoundingBox.cpp | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | null | null | null | src/Engine/Collisions/BoundingBox.cpp | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | null | null | null | #include "Engine/Collisions/BoundingBox.h"
#include "Engine/Collisions/Collidable.h"
#include "Engine/Collisions/Ray.h"
#include <limits>
#include "glm/gtx/matrix_decompose.hpp"
#include "glm/gtx/quaternion.hpp"
#include <glm/gtx/transform.hpp>
#include "Engine/Utils/Buffers.h"
#include <iostream>
#include "Engine/Coll... | 25.72439 | 386 | 0.622357 | [
"mesh",
"vector",
"transform"
] |
e6f9a1a82364a811b0046760b8f6ca83f812d856 | 4,473 | cc | C++ | tensorflow_data_validation/anomalies/image_domain_util.cc | rtg0795/data-validation | 16e57d7d5f1aeb4b7b9b897c5021abf006261bbd | [
"Apache-2.0"
] | 621 | 2018-09-10T19:27:18.000Z | 2022-03-31T06:43:24.000Z | tensorflow_data_validation/anomalies/image_domain_util.cc | rtg0795/data-validation | 16e57d7d5f1aeb4b7b9b897c5021abf006261bbd | [
"Apache-2.0"
] | 157 | 2018-09-10T08:53:18.000Z | 2022-03-31T14:07:51.000Z | tensorflow_data_validation/anomalies/image_domain_util.cc | rtg0795/data-validation | 16e57d7d5f1aeb4b7b9b897c5021abf006261bbd | [
"Apache-2.0"
] | 141 | 2018-09-10T06:38:13.000Z | 2022-03-31T07:27:16.000Z | /* Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 39.9375 | 80 | 0.68254 | [
"vector"
] |
fc0cdcf478d54cebbe76e3ed0f05b9e000c75deb | 125 | cc | C++ | chapter-11/11.19.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | 1 | 2017-04-01T06:57:30.000Z | 2017-04-01T06:57:30.000Z | chapter-11/11.19.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | chapter-11/11.19.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | vector<int> vi;
vector<int>::reverse_iterator ri = vi.rbegin();
while (ri != vi.rend()) {
cout << *ri << endl;
++ri;
}
| 15.625 | 47 | 0.568 | [
"vector"
] |
fc10d902993010d874a499209b5293191b80b281 | 4,744 | cpp | C++ | miniSQL/Catalog.cpp | watermelooon/MiniSQL | b051afda0b77977c267c15ec77b3519bc42c11cb | [
"MIT"
] | null | null | null | miniSQL/Catalog.cpp | watermelooon/MiniSQL | b051afda0b77977c267c15ec77b3519bc42c11cb | [
"MIT"
] | null | null | null | miniSQL/Catalog.cpp | watermelooon/MiniSQL | b051afda0b77977c267c15ec77b3519bc42c11cb | [
"MIT"
] | null | null | null | #include"catalog.h"
using namespace std;
class XML
{
private:
TiXmlDocument doc;
public:
TiXmlElement* load_root(string database_name)
{
string database_path = database_name + ".xml";
if (!doc.LoadFile(database_path.c_str()))
{
cerr << doc.ErrorDesc() << endl;
return NULL;
}
TiXmlElement* root = do... | 22.807692 | 128 | 0.672428 | [
"vector"
] |
fc120a6f88e90536161016b2723afc0add601da6 | 93,773 | hpp | C++ | include/universal/number/cfloat/cfloat_impl.hpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | include/universal/number/cfloat/cfloat_impl.hpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | include/universal/number/cfloat/cfloat_impl.hpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | #pragma once
// cfloat.hpp: 'classic' float: definition of an arbitrary configuration linear floating-point representation
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
// compiler specific con... | 37.735614 | 246 | 0.638339 | [
"object",
"transform"
] |
fc176e1863c7bea2c419e46dcca3140d07889264 | 5,122 | hpp | C++ | src/perception/filters/ray_ground_classifier/include/ray_ground_classifier/ray_aggregator.hpp | jimaldon/AutowareAuto | 2b639aa06f67e41222c89f3885c0472483ac6b38 | [
"Apache-2.0"
] | null | null | null | src/perception/filters/ray_ground_classifier/include/ray_ground_classifier/ray_aggregator.hpp | jimaldon/AutowareAuto | 2b639aa06f67e41222c89f3885c0472483ac6b38 | [
"Apache-2.0"
] | null | null | null | src/perception/filters/ray_ground_classifier/include/ray_ground_classifier/ray_aggregator.hpp | jimaldon/AutowareAuto | 2b639aa06f67e41222c89f3885c0472483ac6b38 | [
"Apache-2.0"
] | 1 | 2020-11-21T04:17:33.000Z | 2020-11-21T04:17:33.000Z | // Copyright 2017-2019 Apex.AI, Inc.
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.
//
// 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.... | 33.92053 | 90 | 0.713588 | [
"object",
"vector"
] |
fc1da5369837684b5e6900e106a9031209e977ef | 7,178 | hpp | C++ | imgui_entt_entity_editor.hpp | flingengine/imgui_entt_entity_editor | f09af05c66dafa28c50f1c8e8a2c6524c495eaed | [
"MIT"
] | 1 | 2020-12-14T21:30:37.000Z | 2020-12-14T21:30:37.000Z | imgui_entt_entity_editor.hpp | flingengine/imgui_entt_entity_editor | f09af05c66dafa28c50f1c8e8a2c6524c495eaed | [
"MIT"
] | null | null | null | imgui_entt_entity_editor.hpp | flingengine/imgui_entt_entity_editor | f09af05c66dafa28c50f1c8e8a2c6524c495eaed | [
"MIT"
] | 1 | 2021-05-28T22:57:44.000Z | 2021-05-28T22:57:44.000Z | // for the license, see the end of the file
#pragma once
#include <set>
#include <map>
#include <entt/entt.hpp>
#include <imgui.h>
// if you have font awesome or something comparable you can set this to a wastebin
#ifndef ESS_IMGUI_ENTT_E_E_DELETE_COMP_STR
#define ESS_IMGUI_ENTT_E_E_DELETE_COMP_STR "-"
#endif
name... | 32.044643 | 108 | 0.648231 | [
"vector"
] |
fc2ecd0bfc5a23562bcb6010f4a3d0029283bfa4 | 40,899 | hpp | C++ | examples/amr-merge-tree/include/fab-tmt-block.hpp | skn123/reeber | 7fe16b6addef2c7b2289a40afa0064d9299fcc5e | [
"BSD-3-Clause-LBNL"
] | 4 | 2020-07-08T03:39:37.000Z | 2021-04-30T18:20:39.000Z | examples/amr-merge-tree/include/fab-tmt-block.hpp | skn123/reeber | 7fe16b6addef2c7b2289a40afa0064d9299fcc5e | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-08-28T16:51:53.000Z | 2020-09-01T02:12:34.000Z | examples/amr-merge-tree/include/fab-tmt-block.hpp | skn123/reeber | 7fe16b6addef2c7b2289a40afa0064d9299fcc5e | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-07-22T23:24:11.000Z | 2020-08-28T16:27:39.000Z | template<class Real, unsigned D>
bool FabTmtBlock<Real, D>::cmp(Real a, Real b) const
{
if (negate_)
return a > b;
else
return a < b;
}
template<class Real, unsigned D>
void FabTmtBlock<Real, D>::set_mask(const diy::Point<int, D>& v_mask,
diy::AMRLink* l,
const Real& rho,
... | 36.58229 | 202 | 0.600015 | [
"vector",
"transform"
] |
fc32b2de04d0fae64e6307be69687332751f4fed | 6,626 | cpp | C++ | robotarm_grasping/src/VisionManager.cpp | rishabh1b/SimpleRobotArmGrasping | 00c9f29b970c0399d535cdb39f4b3f1b327c344c | [
"BSD-3-Clause"
] | 17 | 2017-12-21T14:24:29.000Z | 2022-03-31T02:09:06.000Z | robotarm_grasping/src/VisionManager.cpp | rishabh1b/SimpleRobotArmGrasping | 00c9f29b970c0399d535cdb39f4b3f1b327c344c | [
"BSD-3-Clause"
] | null | null | null | robotarm_grasping/src/VisionManager.cpp | rishabh1b/SimpleRobotArmGrasping | 00c9f29b970c0399d535cdb39f4b3f1b327c344c | [
"BSD-3-Clause"
] | 6 | 2019-04-04T02:08:44.000Z | 2021-08-24T03:19:10.000Z | // BSD 3-Clause License
// Copyright (c) 2017, Rishabh Biyani
// 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
/... | 32.80198 | 128 | 0.694537 | [
"object",
"vector"
] |
fc3d8ac6aeed1ebb08364035aa13463b42974177 | 7,605 | cpp | C++ | lkRay/Renderer/Renderer.cpp | lookeypl/lkRay | c12d87add95f5958d77a8a8a683fc954837b6c60 | [
"WTFPL"
] | null | null | null | lkRay/Renderer/Renderer.cpp | lookeypl/lkRay | c12d87add95f5958d77a8a8a683fc954837b6c60 | [
"WTFPL"
] | null | null | null | lkRay/Renderer/Renderer.cpp | lookeypl/lkRay | c12d87add95f5958d77a8a8a683fc954837b6c60 | [
"WTFPL"
] | null | null | null | #include "PCH.hpp"
#include "Renderer.hpp"
#include "Geometry/Primitive.hpp"
#include "Distribution/Function.hpp"
#include "Material/Material.hpp"
#include <lkCommon/Utils/Logger.hpp>
#include <lkCommon/Utils/Pixel.hpp>
#include <lkCommon/Math/Utilities.hpp>
#include <lkCommon/Math/Random.hpp>
#include "SurfaceDistr... | 34.726027 | 195 | 0.646548 | [
"geometry"
] |
fc3e485334410a5fe4daf3f9ffe2b34706fc4038 | 22,508 | cc | C++ | src/google_cloud_debugger/google_cloud_debugger_lib/stack_frame_collection.cc | emzeq/google-cloud-dotnet-debugger | 8eafe29b40582ebf735186b574af4d544158033e | [
"Apache-2.0"
] | 12 | 2018-06-05T04:06:26.000Z | 2021-10-09T14:14:18.000Z | src/google_cloud_debugger/google_cloud_debugger_lib/stack_frame_collection.cc | emzeq/google-cloud-dotnet-debugger | 8eafe29b40582ebf735186b574af4d544158033e | [
"Apache-2.0"
] | 47 | 2018-06-01T20:26:22.000Z | 2021-03-20T14:26:21.000Z | src/google_cloud_debugger/google_cloud_debugger_lib/stack_frame_collection.cc | emzeq/google-cloud-dotnet-debugger | 8eafe29b40582ebf735186b574af4d544158033e | [
"Apache-2.0"
] | 14 | 2018-06-04T17:12:25.000Z | 2021-10-09T14:14:04.000Z | // Copyright 2017 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... | 33.295858 | 80 | 0.676737 | [
"object",
"vector"
] |
fc3f251d50b78a781fcb94114a3b105207c79e5f | 4,743 | cpp | C++ | tree/106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | tree/106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | tree/106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal.cpp | zephyr-fun/LeetCodeSolution | adab165bcd269daf3e611a26187977ccd458d02a | [
"MIT"
] | null | null | null | /***
* Author: zephyr
* Date: 2020-12-12 14:56:36
* LastEditors: zephyr
* LastEditTime: 2021-01-09 11:30:18
* FilePath: \tree\106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal.cpp
*/
#include <iostream>
#include <vector>
#include <stack>
#include <unordered_map>
using namespace std;
/**
* Definitio... | 33.638298 | 146 | 0.618807 | [
"vector"
] |
fc4cd89e5aa296c1a16583da69ec929100de1690 | 1,789 | cpp | C++ | samples/client/petstore-security-test/qt5cpp/client/SWGReturn.cpp | wwadge/swagger-codegen | 777619d4d106b7b387f8ee8469f4ec43f3cdfdc7 | [
"Apache-2.0"
] | 3 | 2017-05-24T11:22:36.000Z | 2021-02-09T15:26:41.000Z | samples/client/petstore-security-test/qt5cpp/client/SWGReturn.cpp | wwadge/swagger-codegen | 777619d4d106b7b387f8ee8469f4ec43f3cdfdc7 | [
"Apache-2.0"
] | 5 | 2019-03-06T07:41:25.000Z | 2020-01-20T12:21:53.000Z | samples/client/petstore-security-test/qt5cpp/client/SWGReturn.cpp | wwadge/swagger-codegen | 777619d4d106b7b387f8ee8469f4ec43f3cdfdc7 | [
"Apache-2.0"
] | 11 | 2017-07-07T18:07:15.000Z | 2021-11-10T02:12:04.000Z | /**
* Swagger Petstore *_/ ' \" =end -- \\r\\n \\n \\r
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ *_/ ' \" =end --
*
* OpenAPI spec version: 1.0.0 *_/ ' \" =end -- \\r\\n \\n \\r
* Contact: a... | 19.236559 | 184 | 0.64673 | [
"object"
] |
fc53d8dcefacb74c8f074fd581dac914502c2168 | 39,370 | cpp | C++ | TuneDinia/tunedinia/opencl/dwt2d/main.cpp | benvanwerkhoven/TuneDinia | 2817f4d0932b062c9849f163ec280ddee01d82ba | [
"BSD-3-Clause"
] | 1 | 2021-10-04T08:37:42.000Z | 2021-10-04T08:37:42.000Z | TuneDinia/tunedinia/opencl/dwt2d/main.cpp | benvanwerkhoven/TuneDinia | 2817f4d0932b062c9849f163ec280ddee01d82ba | [
"BSD-3-Clause"
] | null | null | null | TuneDinia/tunedinia/opencl/dwt2d/main.cpp | benvanwerkhoven/TuneDinia | 2817f4d0932b062c9849f163ec280ddee01d82ba | [
"BSD-3-Clause"
] | 1 | 2021-07-22T07:45:05.000Z | 2021-07-22T07:45:05.000Z | #include <unistd.h>
#include <error.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <sys/time.h>
#include <getopt.h>
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <vector>
#include "com... | 33.364407 | 181 | 0.623419 | [
"vector",
"transform"
] |
fc5f924772dea586b16da20deef37d54d4d9d02d | 2,886 | cc | C++ | chrome/browser/sync/glue/synced_session.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome/browser/sync/glue/synced_session.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome/browser/sync/glue/synced_session.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.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 "chrome/browser/sync/glue/synced_session.h"
#include "base/stl_util.h"
#include "chrome/common/url_constants.h"
#include "content/public/bro... | 31.369565 | 76 | 0.651074 | [
"vector"
] |
fc616bb0bd27c299a7f7abfaf80f93405581f68d | 2,474 | cpp | C++ | VFCLibrary/SKYPatch.cpp | idiap/CitySim-Solver | fec9007a67660186e7bc3b090651bf80e08d4d0d | [
"BSD-3-Clause"
] | 2 | 2020-11-26T09:31:10.000Z | 2020-12-09T17:13:28.000Z | VFCLibrary/SKYPatch.cpp | kaemco/CitySim-Solver | 4274f442f57ab9e59869ec6652c370cc5bd400ee | [
"BSD-3-Clause"
] | 1 | 2022-02-03T09:40:17.000Z | 2022-02-03T09:40:17.000Z | VFCLibrary/SKYPatch.cpp | idiap/CitySim-Solver | fec9007a67660186e7bc3b090651bf80e08d4d0d | [
"BSD-3-Clause"
] | 3 | 2020-10-30T20:48:15.000Z | 2021-09-03T08:51:39.000Z | #include "./SKYPatch.h"
#ifdef _MSC_VER
#if defined(DEBUG_MEM)
#define CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#define new new(_NORMAL_BLOCK,__FILE__, __LINE__)
#endif
#endif // _MSC_VER
SKYPatch::SKYPatch(const GENPoint &patchDir) :
m_patchDir(patchDir)
{
}
SKYPatch::~SKYPatch(vo... | 23.339623 | 79 | 0.556993 | [
"vector",
"solid"
] |
fc653f538c7d1ad401ca8eca54ecb8c39c1cbf07 | 14,853 | cpp | C++ | dev/Tools/Wwise/SDK/samples/SoundFrame/SFTest/SFTestEnvironmentDlg.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 2 | 2020-08-20T03:40:24.000Z | 2021-02-07T20:31:43.000Z | dev/Tools/Wwise/SDK/samples/SoundFrame/SFTest/SFTestEnvironmentDlg.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | null | null | null | dev/Tools/Wwise/SDK/samples/SoundFrame/SFTest/SFTestEnvironmentDlg.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | 31.401691 | 146 | 0.745708 | [
"object",
"vector"
] |
fc65e761e29e9e18f463a61ad9b937a6bb38f628 | 924 | cpp | C++ | tests/test_hough_circle.cpp | hyu754/CV | b60a99ca1df9ae102baaa80a046b898ec0230b32 | [
"MIT"
] | null | null | null | tests/test_hough_circle.cpp | hyu754/CV | b60a99ca1df9ae102baaa80a046b898ec0230b32 | [
"MIT"
] | null | null | null | tests/test_hough_circle.cpp | hyu754/CV | b60a99ca1df9ae102baaa80a046b898ec0230b32 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <ctime>
#include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/cudafeatures2d.hpp"
#include "opencv2/xfeatures2d/cuda.hpp"
#include <opencv2/cudastereo.hpp>
#include <opencv2/cudaimgproc.hpp>
... | 16.5 | 134 | 0.721861 | [
"vector"
] |
fc6f9855af8843056ca699d979351c36779a4a3a | 9,512 | cc | C++ | tests/ut/cpp/dataset/c_api_vision_r_to_z_test.cc | chncwang/mindspore | 6dac92aedf0aa1541d181e6aedab29aaadc2dafb | [
"Apache-2.0"
] | null | null | null | tests/ut/cpp/dataset/c_api_vision_r_to_z_test.cc | chncwang/mindspore | 6dac92aedf0aa1541d181e6aedab29aaadc2dafb | [
"Apache-2.0"
] | null | null | null | tests/ut/cpp/dataset/c_api_vision_r_to_z_test.cc | chncwang/mindspore | 6dac92aedf0aa1541d181e6aedab29aaadc2dafb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020-2021 Huawei Technologies Co., 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 applicabl... | 37.15625 | 124 | 0.728553 | [
"object",
"shape"
] |
fc7550e7bb13064e05997c573c1993f1bc1ec64b | 6,643 | cpp | C++ | src/SingleLayerOptics/src/BSDFIntegrator.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/SingleLayerOptics/src/BSDFIntegrator.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/SingleLayerOptics/src/BSDFIntegrator.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "BSDFIntegrator.hpp"
#include "BSDFDirections.hpp"
#include "BSDFPatch.hpp"
#include "WCECommon.hpp"
using namespace FenestrationCommon;
namespace SingleLayerOptics
{
CBSDFIntegrator::CBSDFIntegrator(const std::shared_ptr<const CBSDFIntegrator> & t_Integrator) :
m_Directions(t_Integrator->m_Direc... | 34.242268 | 100 | 0.576396 | [
"vector"
] |
fc764866a256ea169654ebbd96d23dc905105cd0 | 20,465 | cpp | C++ | SDK/src/NDK/Lua/LuaBinding_Graphics.cpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | SDK/src/NDK/Lua/LuaBinding_Graphics.cpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | SDK/src/NDK/Lua/LuaBinding_Graphics.cpp | AntoineJT/NazaraEngine | e0b05a7e7a2779e20a593b4083b4a881cc57ce14 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | // This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequisites.hpp
#include <NDK/Lua/LuaBinding_Graphics.hpp>
#include <NDK/LuaAPI.hpp>
namespace Ndk
{
std::unique_ptr<LuaBinding_Base> LuaBinding_Base::BindGraphics(LuaBinding& binding)
{
retur... | 41.012024 | 140 | 0.684877 | [
"model"
] |
fc80bb16242adab3d62973c7bc0c609a656f2082 | 28,535 | cpp | C++ | AgentWorlds/GameDesign/GameSimulationOptionDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | 1 | 2021-10-04T09:40:26.000Z | 2021-10-04T09:40:26.000Z | AgentWorlds/GameDesign/GameSimulationOptionDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | null | null | null | AgentWorlds/GameDesign/GameSimulationOptionDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | 6 | 2019-05-05T22:29:55.000Z | 2022-01-03T14:18:54.000Z | #include "GameSimulationOptionDlg.h"
#include "../../tinyxml/tinyxml.h"
#include "../../OSEnvironment/OSEnvironment.h"
#include "../../ScriptEngine/ScriptManager.h"
#include "../../Widgets/GUIManager.h"
GameSimulationOptionDlg::GameSimulationOptionDlg(const std::string& rootId, CEGUI::Window* parentWindow)
: CIWidget(... | 35.62422 | 168 | 0.757 | [
"vector",
"model"
] |
fc863a13ac3cf08384ce02f363e7f84095407aaa | 28,640 | cc | C++ | packages/apib-parser/test/snowcrash/test-snowcrash.cc | synaptiko/drafter | 66c85964deb4a77c49460e318912ebda579ee645 | [
"BSL-1.0",
"MIT"
] | 317 | 2015-03-21T15:05:38.000Z | 2022-02-15T19:27:38.000Z | packages/apib-parser/test/snowcrash/test-snowcrash.cc | synaptiko/drafter | 66c85964deb4a77c49460e318912ebda579ee645 | [
"BSL-1.0",
"MIT"
] | 489 | 2015-02-13T15:36:09.000Z | 2022-01-14T03:25:19.000Z | packages/apib-parser/test/snowcrash/test-snowcrash.cc | synaptiko/drafter | 66c85964deb4a77c49460e318912ebda579ee645 | [
"BSL-1.0",
"MIT"
] | 81 | 2015-02-10T09:52:49.000Z | 2022-03-17T08:58:42.000Z | //
// test-snowcrash.cc
// snowcrash
//
// Created by Zdenek Nemec on 4/2/13.
// Copyright (c) 2013 Apiary Inc. All rights reserved.
//
#include "snowcrashtest.h"
#include "snowcrash.h"
using namespace snowcrash;
using namespace snowcrashtest;
TEST_CASE("Parse empty blueprint", "[parser]")
{
mdp::ByteBuffer ... | 37.486911 | 120 | 0.6397 | [
"model"
] |
475d0051e0c96c23ccf16246c82372abccf58f6d | 1,862 | cpp | C++ | ACM Training/2018-08-25/dfs.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 22 | 2018-08-07T06:55:10.000Z | 2021-06-12T02:12:19.000Z | ACM Training/2018-08-25/dfs.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 28 | 2020-03-04T23:47:22.000Z | 2022-02-26T18:50:00.000Z | ACM Training/2018-08-25/dfs.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 4 | 2019-11-09T15:41:26.000Z | 2021-10-10T08:56:57.000Z | #include <bits/stdc++.h>
using namespace std;
const int N = 210;
int n, s[N][N];vector<pair<int, int> > v;
int check()
{
int ans = 0;
for (int a = 0; a < n; ++a)
{
for (int b = 0; b < n; ++b)
{
if (b == a)
continue;
for (int c = 0; c < n; ++c)
... | 22.707317 | 87 | 0.303974 | [
"vector"
] |
476079644f710fc0b38a3410c7549bd43e6a38b2 | 18,675 | cpp | C++ | src/nimbro/tools/trajectory_editor/src/mainwindow.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 45 | 2015-11-04T01:29:12.000Z | 2022-02-11T05:37:42.000Z | src/nimbro/tools/trajectory_editor/src/mainwindow.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T04:00:32.000Z | 2016-08-10T12:59:36.000Z | src/nimbro/tools/trajectory_editor/src/mainwindow.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 20 | 2016-03-05T14:28:45.000Z | 2021-01-30T00:50:47.000Z | // Trajectory editor main window
// Authors: Max Schwarz <max.schwarz@uni-bonn.de>, Dmytro Pavlichenko <dm.mark999@gmail.com>
#include <trajectory_editor/mainwindow.h>
#include <trajectory_editor/rvizwidget.h>
#include <trajectory_editor/headerview.h>
#include "ui_mainwindow_2.h"
#include "ui_controls.h"
#include "ui... | 32.198276 | 137 | 0.748541 | [
"vector",
"model"
] |
4760ccd473dccd6dbe5abded5c5feb848f77fc3a | 2,016 | cpp | C++ | src/States/PauseState.cpp | baiyqukq/Gems | 3ae5889ec1e7a6c06a3c4cfc6a587ee5922e1e61 | [
"MIT"
] | null | null | null | src/States/PauseState.cpp | baiyqukq/Gems | 3ae5889ec1e7a6c06a3c4cfc6a587ee5922e1e61 | [
"MIT"
] | null | null | null | src/States/PauseState.cpp | baiyqukq/Gems | 3ae5889ec1e7a6c06a3c4cfc6a587ee5922e1e61 | [
"MIT"
] | null | null | null | #include "PauseState.h"
#include "GameStateMachine.h"
#include "MainMenuState.h"
#include "StateParser.h"
#include "Objects/MenuButton.h"
#include "TextureManager.h"
#include "InputHandler.h"
#include "Engine.h"
#include "LoaderParams.h"
using namespace std;
const std::string PauseState::s_stateID = "PauseState";
... | 21.446809 | 104 | 0.660218 | [
"render",
"vector"
] |
476590cd65baf581eca651c1190302d6cb9b43f5 | 810,573 | cpp | C++ | Library/Il2cppBuildCache/Lumin/il2cppOutput/UnresolvedVirtualCallStubs.cpp | coderrick/xrrx-snake | acc1212ff0cf5aba3ad101f7cabb4adab935fb62 | [
"MIT"
] | null | null | null | Library/Il2cppBuildCache/Lumin/il2cppOutput/UnresolvedVirtualCallStubs.cpp | coderrick/xrrx-snake | acc1212ff0cf5aba3ad101f7cabb4adab935fb62 | [
"MIT"
] | null | null | null | Library/Il2cppBuildCache/Lumin/il2cppOutput/UnresolvedVirtualCallStubs.cpp | coderrick/xrrx-snake | acc1212ff0cf5aba3ad101f7cabb4adab935fb62 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// System.Action`1<System.Object>
struct Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC;
// System.Collections.Generic.Dictionary`2<System.UInt32,System.Func`2<System.IntPtr,Sy... | 47.518642 | 384 | 0.849346 | [
"mesh",
"object",
"transform"
] |
476aaea30a97da287f04943434c5c110ee14a1af | 2,795 | cc | C++ | pmlc/util/strides.cc | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | null | null | null | pmlc/util/strides.cc | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | 65 | 2020-08-24T07:41:09.000Z | 2021-07-19T09:13:49.000Z | pmlc/util/strides.cc | Flex-plaidml-team/plaidml | 1070411a87b3eb3d94674d4d041ed904be3e7d87 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Intel Corporation
#include "pmlc/util/strides.h"
#include <vector>
#include "mlir/Analysis/AffineStructures.h"
#include "pmlc/util/logging.h"
namespace pmlc::util {
StrideArray::StrideArray(unsigned numDims, int64_t offset)
: offset(offset), strides(numDims) {}
StrideArray &StrideArray::oper... | 28.520408 | 80 | 0.642576 | [
"vector"
] |
476f96e6ef8fe4395e0a28a1ffc9fde3c01cdc67 | 3,804 | hpp | C++ | src/Application.hpp | tomas-krupa/ansi_iso_accuracy_test | a87600c1ff8997cd689539432e5badaa1bf8a776 | [
"Apache-2.0"
] | null | null | null | src/Application.hpp | tomas-krupa/ansi_iso_accuracy_test | a87600c1ff8997cd689539432e5badaa1bf8a776 | [
"Apache-2.0"
] | null | null | null | src/Application.hpp | tomas-krupa/ansi_iso_accuracy_test | a87600c1ff8997cd689539432e5badaa1bf8a776 | [
"Apache-2.0"
] | null | null | null | /**
* @file Application.hpp
*
* @copyright Copyright (c) 2020 Innovatrics s.r.o. All rights reserved.
*
* @maintainer Tomas Krupa <tomas.krupa@innovatrics.com>
* @created 10.08.2020
*
*/
#pragma once
#include <AnsiIso/AnsiIso.hpp>
#include <Configuration/ProgramConfiguration.hpp>
#include <Filesystem/BoostDir... | 30.190476 | 99 | 0.727655 | [
"vector"
] |
47801c175ae441392865d81c8bfaba51e82656ef | 67,869 | cxx | C++ | osprey/kg++fe/tree_symtab.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/kg++fe/tree_symtab.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/kg++fe/tree_symtab.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved.
*/
/*
* Copyright (C) 2006. QLogic Corporation. All Rights Reserved.
*/
/*
Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
File modified October 9, 2003 by PathScale, Inc. to update Open64 C/C++
front-ends t... | 32.318571 | 118 | 0.628269 | [
"object",
"vector",
"model"
] |
478ae1ee2a836b0b803e442d61bf0b83d97b32b7 | 1,715 | cpp | C++ | devdc187.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | 1 | 2020-02-24T18:28:48.000Z | 2020-02-24T18:28:48.000Z | devdc187.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | null | null | null | devdc187.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
You work in the best consumer electronics company around.
Your boss asked you to find out which products generate the most revenue.
You'll be given lists of products, amounts, and prices. Given these three
lists of same length, return the product name(s) with the highe... | 35 | 115 | 0.68105 | [
"vector"
] |
478dc52d7d796a96ad8bd7cecc19802e2e216a7e | 1,556 | cc | C++ | src/inputs/geometries/square/square.cc | marissachanlatte/EmbeddedBoundary | 949bf8680317277950077874a5e5924af0003b00 | [
"MIT"
] | 1 | 2021-06-14T13:39:14.000Z | 2021-06-14T13:39:14.000Z | src/inputs/geometries/square/square.cc | marissachanlatte/EmbeddedBoundary | 949bf8680317277950077874a5e5924af0003b00 | [
"MIT"
] | null | null | null | src/inputs/geometries/square/square.cc | marissachanlatte/EmbeddedBoundary | 949bf8680317277950077874a5e5924af0003b00 | [
"MIT"
] | 3 | 2019-10-03T12:30:29.000Z | 2020-10-29T18:44:37.000Z | #include "inputs/geometries/square/square.h"
#include "helpers/geometry_objects.h"
#include <vector>
namespace boundary {
namespace inputs {
std::vector<double> SquareGeometry::BoundaryFunction(double x_value){
std::vector<double> y_values;
y_values.push_back(0.0);
return y_values;
};
double SquareGeometry... | 18.746988 | 78 | 0.596401 | [
"vector"
] |
478e1f10a5a33e123d46b67cdf23e425b436f4fd | 2,147 | hh | C++ | tests/netcode/common.hh | ahamez/netcode | aee7eeca8081831574dfb82edf3450ee03be36a1 | [
"BSD-2-Clause"
] | 7 | 2016-10-11T12:12:42.000Z | 2022-02-16T09:54:05.000Z | tests/netcode/common.hh | ahamez/netcode | aee7eeca8081831574dfb82edf3450ee03be36a1 | [
"BSD-2-Clause"
] | 1 | 2021-01-13T17:31:11.000Z | 2021-01-13T17:32:16.000Z | tests/netcode/common.hh | ahamez/netcode | aee7eeca8081831574dfb82edf3450ee03be36a1 | [
"BSD-2-Clause"
] | 4 | 2016-04-25T21:26:18.000Z | 2020-11-20T21:31:38.000Z | #pragma once
#include "netcode/detail/repair.hh"
#include "netcode/detail/source_list.hh"
#include "netcode/packet.hh"
namespace /* unnamed */ {
/*------------------------------------------------------------------------------------------------*/
using namespace ntc;
/*----------------------------------------------... | 18.833333 | 100 | 0.463437 | [
"vector"
] |
47a8e96cba8a030cab63ea7ecfabaa599c37a8d9 | 13,967 | cpp | C++ | DataSpec/SpecMP2.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | DataSpec/SpecMP2.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | DataSpec/SpecMP2.cpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | #include <utility>
#include "SpecBase.hpp"
#include "DNAMP2/DNAMP2.hpp"
#include "DNAMP2/MLVL.hpp"
#include "DNAMP2/STRG.hpp"
#include "DNAMP2/AGSC.hpp"
#include "DNAMP2/MAPA.hpp"
#include "DNAMP1/CSNG.hpp"
#include "DNACommon/MAPU.hpp"
#include "hecl/ClientProcess.hpp"
#include "hecl/Blender/Connection.hpp"
#includ... | 39.013966 | 120 | 0.641655 | [
"vector",
"transform"
] |
47a9bfb41dc9abf4e0293e9f1b610e2a2bebb2b0 | 12,221 | cpp | C++ | src/core/macro_impl.cpp | DorianRudolph/cLaTeXMath | 04631b758228521819a47e6c7b53bf2ef75143dc | [
"Unlicense",
"MIT"
] | 178 | 2016-06-27T08:21:01.000Z | 2022-03-10T09:18:10.000Z | src/core/macro_impl.cpp | DorianRudolph/cLaTeXMath | 04631b758228521819a47e6c7b53bf2ef75143dc | [
"Unlicense",
"MIT"
] | 69 | 2018-08-07T09:07:53.000Z | 2022-03-07T16:53:05.000Z | src/core/macro_impl.cpp | DorianRudolph/cLaTeXMath | 04631b758228521819a47e6c7b53bf2ef75143dc | [
"Unlicense",
"MIT"
] | 39 | 2016-06-27T08:28:42.000Z | 2022-03-09T01:27:51.000Z | #include "core/macro_impl.h"
#include <memory>
#include "graphic/graphic.h"
using namespace tex;
using namespace std;
namespace tex {
macro(kern) {
auto[unit, value] = tp.getLength();
return sptrOf<SpaceAtom>(unit, value, 0.f, 0.f);
}
macro(hvspace) {
auto[unit, value] = SpaceAtom::getLength(args[1]);
ret... | 26.169165 | 93 | 0.597987 | [
"model"
] |
47aa6089f92e088054103d52d75ee9ab2951ddd5 | 1,980 | cpp | C++ | examples/example1.cpp | HongqiangWei/octree | 095e88b417c22fcfc3ba46706c85122460b1d636 | [
"MIT"
] | 216 | 2015-05-15T16:40:13.000Z | 2022-03-22T23:53:42.000Z | examples/example1.cpp | HongqiangWei/octree | 095e88b417c22fcfc3ba46706c85122460b1d636 | [
"MIT"
] | 13 | 2015-09-15T03:07:56.000Z | 2020-03-12T06:36:33.000Z | examples/example1.cpp | HongqiangWei/octree | 095e88b417c22fcfc3ba46706c85122460b1d636 | [
"MIT"
] | 68 | 2015-10-28T07:03:40.000Z | 2022-03-04T08:37:22.000Z | #include <iostream>
#include <cstdlib>
#include <time.h>
#include "../Octree.hpp"
#include "utils.h"
/** Example 1: Searching radius neighbors with default access by public x,y,z variables.
*
* \author behley
*/
class Point3f
{
public:
Point3f(float x, float y, float z) : x(x), y(y), z(z)
{
}
float x, y... | 26.4 | 118 | 0.591919 | [
"vector"
] |
47ae75350d7ccb2508485516afaef0e8623e8197 | 6,360 | cpp | C++ | src/company/Company.cpp | Dewyer/nahfstocks | 3e095e7737de510d0268a94b0296d88b28d242ec | [
"MIT"
] | null | null | null | src/company/Company.cpp | Dewyer/nahfstocks | 3e095e7737de510d0268a94b0296d88b28d242ec | [
"MIT"
] | null | null | null | src/company/Company.cpp | Dewyer/nahfstocks | 3e095e7737de510d0268a94b0296d88b28d242ec | [
"MIT"
] | null | null | null | #include "../../lib/prelude.h"
#include "Company.h"
#include "../../lib/string/String.h"
#include "../../lib/types.h"
#include "../utils/format_money.h"
#include "../cli/CliQuestioner.h"
using nhflib::Vector;
using nhflib::String;
using exchange::Order;
const String &company::Company::get_name() const noexcept {
ret... | 26.949153 | 114 | 0.676887 | [
"vector"
] |
47bd3e6707f006f93caa54686fc382f1421be25b | 4,348 | cc | C++ | ecs/src/model/DescribeManagedInstancesRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | ecs/src/model/DescribeManagedInstancesRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | ecs/src/model/DescribeManagedInstancesRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 32.207407 | 105 | 0.767249 | [
"vector",
"model"
] |
47c1f3b7930144c142d26c3010276ea81508836a | 2,188 | hpp | C++ | src/io/iter_mem_buffer-inl.hpp | zhenglab/cxxnet | fef5cb06338a832d817ebd7ea636db708b49d35c | [
"Apache-2.0"
] | 1 | 2018-12-19T09:11:48.000Z | 2018-12-19T09:11:48.000Z | src/io/iter_mem_buffer-inl.hpp | toooocode/cxxnet | fef5cb06338a832d817ebd7ea636db708b49d35c | [
"Apache-2.0"
] | null | null | null | src/io/iter_mem_buffer-inl.hpp | toooocode/cxxnet | fef5cb06338a832d817ebd7ea636db708b49d35c | [
"Apache-2.0"
] | null | null | null | #ifndef CXXNET_ITER_MEM_BUFFER_INL_HPP_
#define CXXNET_ITER_MEM_BUFFER_INL_HPP_
/*!
* \file iter_mem_buffer-inl.hpp
* \brief iterator that gets limited number of batch into memory,
* and only return these data
* \author Tianqi Chen
*/
#include <mshadow/tensor.h>
#include "./data.h"
#include "../utils/utils.... | 28.051282 | 82 | 0.643053 | [
"vector"
] |
47cbbb01a4820b0ee6c72a0c597c7a49f2294265 | 19,310 | cpp | C++ | node.cpp | orkzking/openxfem | 66889ea05ec108332ab8566b510124ee1a3f334d | [
"FTL"
] | null | null | null | node.cpp | orkzking/openxfem | 66889ea05ec108332ab8566b510124ee1a3f334d | [
"FTL"
] | null | null | null | node.cpp | orkzking/openxfem | 66889ea05ec108332ab8566b510124ee1a3f334d | [
"FTL"
] | null | null | null | // file NODE.CPP
#include "node.h"
#include "dof.h"
#include "nodload.h"
#include "timestep.h"
#include "linsyst.h"
#include "flotarry.h"
#include "intarray.h"
#include "enrichmentitem.h"
#include "element.h"
#include "tri_u.h"
#include "geometryentity.h"
#include "geometry_2D.h"
#include "functors.h... | 28.735119 | 127 | 0.598654 | [
"mesh",
"vector"
] |
47d104469de3c861e393da7a0964a19f015bde01 | 1,817 | cpp | C++ | ModSource/breakingpoint_server/config.cpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 70 | 2017-06-23T21:25:05.000Z | 2022-03-27T02:39:33.000Z | ModSource/breakingpoint_server/config.cpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 84 | 2017-08-26T22:06:28.000Z | 2021-09-09T15:32:56.000Z | ModSource/breakingpoint_server/config.cpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 71 | 2017-06-24T01:10:42.000Z | 2022-03-18T23:02:00.000Z | /*
Breaking Point Mod for Arma 3
Released under Arma Public Share Like Licence (APL-SA)
https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Alderon Games Pty Ltd
*/
#define VSoft 0
#define VArmor 1
#define VAir 2
#define private 0
#define protected 1
#define public 2
#define ReadA... | 21.127907 | 111 | 0.694551 | [
"object"
] |
47d436928b16ee0090af3896ba221423a3246d3a | 1,584 | hpp | C++ | modules/core/settings/include/nt2/core/settings/forward/storage_scheme.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | 2 | 2016-09-14T00:23:53.000Z | 2018-01-14T12:51:18.000Z | modules/core/settings/include/nt2/core/settings/forward/storage_scheme.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/settings/include/nt2/core/settings/forward/storage_scheme.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 36.837209 | 80 | 0.400253 | [
"shape"
] |
47d74e8da746dfcb6c24e0b9d4ba0dc641471b33 | 705,629 | cpp | C++ | cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_25.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_25.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_25.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_NX_OS_device_25.hpp"
#include "Cisco_NX_OS_device_26.hpp"
using namespace ydk;
namespace cisco_nx_os {
namespace Cisco_NX_OS_device {
System::AclItems::Ipv4Items::P... | 33.284387 | 1,219 | 0.689136 | [
"vector"
] |
c5162c56bcafa884e37bdb95e1798f4a1c402bed | 4,979 | cpp | C++ | JoJoEngine/ImporterMesh.cpp | joeyGumer/JoJoEngine | 15289b1f87e5c79a51ff04a703977abf9dd84886 | [
"MIT"
] | null | null | null | JoJoEngine/ImporterMesh.cpp | joeyGumer/JoJoEngine | 15289b1f87e5c79a51ff04a703977abf9dd84886 | [
"MIT"
] | null | null | null | JoJoEngine/ImporterMesh.cpp | joeyGumer/JoJoEngine | 15289b1f87e5c79a51ff04a703977abf9dd84886 | [
"MIT"
] | null | null | null | #include "ImporterMesh.h"
#include "Application.h"
#include "ModuleFileSystem.h"
#include "ComponentMesh.h"
#include "Assimp/include/cimport.h"
#include "Assimp/include/scene.h"
#include "Assimp/include/postprocess.h"
#include "Assimp/include/cfileio.h"
bool ImporterMesh::Import(aiMesh* ai_mesh ,std::string& outp... | 25.274112 | 117 | 0.686684 | [
"mesh",
"geometry"
] |
c51805dd8387ffc99cc8cea1cd0e227a395d3b78 | 8,909 | hpp | C++ | src/catkin_ws/src/modrob_simulation/modrob_simulation/src/gripper_integration.hpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/modrob_simulation/modrob_simulation/src/gripper_integration.hpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/modrob_simulation/modrob_simulation/src/gripper_integration.hpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | //#include "GripperIntegration.h"
#include <string>
using namespace std;
std::string gripper_links(int last_joint, int robot_num)
{
std::string gripperLinkDes;
gripperLinkDes += "\n\t<link name=\"hand\">\n";
gripperLinkDes += "\t\t<inertial>\n";
gripperLinkDes += "\t\t\t<origin rpy=\"0.000000 0.000000 0.000000\... | 57.477419 | 159 | 0.647884 | [
"mesh",
"geometry"
] |
c5246042ae9680fb9a9d6dcfda5f0612bcf18325 | 7,189 | cpp | C++ | Engine Round 2/MeshImporter.cpp | dafral/Round2_Engine | 23c0b3a5661fa4902acdd7e953f8f168a7f87922 | [
"MIT"
] | 1 | 2019-04-28T12:08:54.000Z | 2019-04-28T12:08:54.000Z | Engine Round 2/MeshImporter.cpp | dafral/Round2_Engine | 23c0b3a5661fa4902acdd7e953f8f168a7f87922 | [
"MIT"
] | null | null | null | Engine Round 2/MeshImporter.cpp | dafral/Round2_Engine | 23c0b3a5661fa4902acdd7e953f8f168a7f87922 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ModuleRenderer3D.h"
#include "MeshImporter.h"
#include "Component_Material.h"
#include "Component_Transform.h"
#include "glew/include/glew.h"
#include "SDL/include/SDL_opengl.h"
#include "Assimp/include/cimport.h"
#include "Assimp/include/scene.h"
#include "Assimp/include/postproces... | 27.231061 | 108 | 0.671582 | [
"mesh",
"object",
"transform"
] |
c5257d6e0f66ed0baa56a9d2279876ae38670580 | 1,669 | hpp | C++ | include/cex/basicauth.hpp | patrickjane/libcex | 3136fa693353bd6a1298370fed620a47eede81fe | [
"MIT"
] | 13 | 2019-03-11T11:18:36.000Z | 2021-11-15T15:03:13.000Z | include/cex/basicauth.hpp | patrickjane/libcex | 3136fa693353bd6a1298370fed620a47eede81fe | [
"MIT"
] | 2 | 2021-02-26T21:30:24.000Z | 2022-03-21T12:16:41.000Z | include/cex/basicauth.hpp | patrickjane/libcex | 3136fa693353bd6a1298370fed620a47eede81fe | [
"MIT"
] | 5 | 2019-07-19T10:51:53.000Z | 2022-01-05T10:43:34.000Z | //*************************************************************************
// File basicauth.hpp
// Date 10.09.2018 - #1
// Copyright (c) 2018-2018 by Patrick Fial
//-------------------------------------------------------------------------
// HTTP basic auth functions
// Middleware that sets username/password from HTT... | 34.061224 | 114 | 0.443379 | [
"object"
] |
c5329afaf837f710615e920237d1eef34e66dd53 | 5,647 | cpp | C++ | backend/src/device.cpp | JanConGitHub/wakeit | a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0 | [
"MIT"
] | 1 | 2015-05-15T11:01:31.000Z | 2015-05-15T11:01:31.000Z | backend/src/device.cpp | JanConGitHub/wakeit | a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0 | [
"MIT"
] | 6 | 2015-05-11T17:12:27.000Z | 2016-11-30T18:34:36.000Z | backend/src/device.cpp | JanConGitHub/wakeit | a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0 | [
"MIT"
] | 3 | 2015-07-24T18:05:08.000Z | 2019-06-21T01:28:33.000Z | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Nathan Osman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use... | 27.019139 | 92 | 0.624402 | [
"object"
] |
c537f772a41fcceb2026197d7a4c3acc058dde8c | 34,238 | cpp | C++ | src/chrono_vehicle/wheeled_vehicle/test_rig/ChSuspensionTestRig.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/test_rig/ChSuspensionTestRig.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/test_rig/ChSuspensionTestRig.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 42.165025 | 118 | 0.621882 | [
"object",
"vector"
] |
c53ae1882a53a4d30592ae4ba511854a0b300052 | 9,518 | cpp | C++ | src/org/apache/poi/sl/draw/DrawShape.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/draw/DrawShape.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/draw/DrawShape.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/sl/draw/DrawShape.java
#include <org/apache/poi/sl/draw/DrawShape.hpp>
#include <java/awt/BasicStroke.hpp>
#include <java/awt/Graphics2D.hpp>
#include <java/awt/Shape.hpp>
#include <java/awt/geom/AffineTransform.hpp>
#include <java/awt/geom/Rectangle2D.hpp>
#include <java/lan... | 36.749035 | 152 | 0.563144 | [
"object",
"shape",
"transform",
"solid"
] |
c54eb9f9810d2a6963a44a95c06bcb7b10b71bf5 | 10,231 | hpp | C++ | include/caffe/util/math_functions.hpp | abhiTronix/caffe-opencl-windows-amd | 1de97750d3c97756f39899d3b158120971a8a5da | [
"BSD-2-Clause"
] | 8 | 2019-06-29T14:51:28.000Z | 2021-07-25T04:10:38.000Z | include/caffe/util/math_functions.hpp | KorJeongHyeonLee/Caffe-CL-Origin | 430344adbb3a05b4611b1b821a68c82d6480ba26 | [
"Intel",
"BSD-2-Clause"
] | 1 | 2018-12-12T11:57:27.000Z | 2019-06-30T03:31:09.000Z | include/caffe/util/math_functions.hpp | KorJeongHyeonLee/Caffe-CL-Origin | 430344adbb3a05b4611b1b821a68c82d6480ba26 | [
"Intel",
"BSD-2-Clause"
] | 2 | 2018-08-31T20:13:22.000Z | 2019-06-29T14:51:33.000Z | #ifndef CAFFE_UTIL_MATH_FUNCTIONS_H_
#define CAFFE_UTIL_MATH_FUNCTIONS_H_
#include <stdint.h>
#include <cmath> // for std::fabs and std::signbit
// This code is taken from https://github.com/sh1r0/caffe-android-lib
#include <cstring> // for memset
#include "glog/logging.h"
#include "caffe/common.hpp"
#include "ca... | 35.27931 | 97 | 0.720066 | [
"vector"
] |
c5548c16f7c136391f605061fd26bfef38b44743 | 4,920 | cc | C++ | third_party/blink/renderer/core/intersection_observer/intersection_observation.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/intersection_observer/intersection_observation.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/intersection_observer/intersection_observation.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "third_party/blink/renderer/core/intersection_observer/intersection_observation.h"
#include "third_party/blink/renderer/core/dom/element_rare_da... | 38.139535 | 91 | 0.707317 | [
"geometry",
"vector"
] |
c557095663fa9fe25543c54dd7b54369fcb3183b | 18,529 | hpp | C++ | include/ODBCLSLB/STMT.hpp | aliakseis/odbcpp | 7dc71f3019502674a15cac52dd90aa46e1183594 | [
"MIT"
] | null | null | null | include/ODBCLSLB/STMT.hpp | aliakseis/odbcpp | 7dc71f3019502674a15cac52dd90aa46e1183594 | [
"MIT"
] | null | null | null | include/ODBCLSLB/STMT.hpp | aliakseis/odbcpp | 7dc71f3019502674a15cac52dd90aa46e1183594 | [
"MIT"
] | null | null | null | #pragma once
///////////////////////////////////////////////////////////
//////////////////////// statements
///////////////////////////////////////////////////////////
class odbcEXPORTED odbcSTMT : public odbcBASE {
protected:
/***************************************************
pConn
Pointer ... | 27.010204 | 71 | 0.377948 | [
"object"
] |
c56037391d32ad2c345720e3c77e1194bcaa1855 | 3,590 | cpp | C++ | leetcode/weekly/191.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | 1 | 2020-05-05T13:06:51.000Z | 2020-05-05T13:06:51.000Z | leetcode/weekly/191.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | leetcode/weekly/191.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | /****************************************************
Date: May 31th, 2020
Successful submissions : 1
Time expiration : 1
Not Solved : 1
Wrong Answer/ Partial result : 1
link: https://leetcode.com/contest/weekly-contest-191
****************************************************/
#include <iostream>
#include <vector>
#i... | 20.397727 | 101 | 0.507799 | [
"vector"
] |
c567e3f311867fd95ab90898e75e4f3fa26c6036 | 19,471 | cpp | C++ | source/Core/Castor3D/Render/Ssao/SsaoBlurPass.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | source/Core/Castor3D/Render/Ssao/SsaoBlurPass.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | source/Core/Castor3D/Render/Ssao/SsaoBlurPass.cpp | DragonJoker/Castor3D | ee0b02eeda70cd235a224be306539850e32195f6 | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | #include "Castor3D/Render/Ssao/SsaoBlurPass.hpp"
#include "Castor3D/Engine.hpp"
#include "Castor3D/Buffer/UniformBufferPools.hpp"
#include "Castor3D/Buffer/UniformBuffer.hpp"
#include "Castor3D/Material/Texture/Sampler.hpp"
#include "Castor3D/Material/Texture/TextureLayout.hpp"
#include "Castor3D/Material/Texture/Text... | 32.72437 | 128 | 0.647219 | [
"render"
] |
c569244a9117ab831534ce1e2ab74c10939cdb96 | 14,715 | cpp | C++ | src/bootd/event/DynamicEventDB.cpp | Tofee/bootd | e5cc02571c464aef785749f840e77ebcdb77cf58 | [
"Apache-2.0"
] | null | null | null | src/bootd/event/DynamicEventDB.cpp | Tofee/bootd | e5cc02571c464aef785749f840e77ebcdb77cf58 | [
"Apache-2.0"
] | null | null | null | src/bootd/event/DynamicEventDB.cpp | Tofee/bootd | e5cc02571c464aef785749f840e77ebcdb77cf58 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2013-2018 LG Electronics, Inc.
//
// 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... | 33.75 | 123 | 0.655386 | [
"object",
"vector"
] |
c56dbb7d2b5b55e54fb3d9aa423927cd8df72b7a | 4,460 | cpp | C++ | Samples/System/AdvancedExceptionHandling/SharedMemory/SharedMemory.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | 1 | 2021-12-30T09:49:18.000Z | 2021-12-30T09:49:18.000Z | Samples/System/AdvancedExceptionHandling/SharedMemory/SharedMemory.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | null | null | null | Samples/System/AdvancedExceptionHandling/SharedMemory/SharedMemory.cpp | acidburn0zzz/Xbox-GDK-Samples | 0a998ca467f923aa04bd124a5e5ca40fe16c386c | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------------------
// SharedMemory.cpp
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#include "pch.h... | 44.6 | 184 | 0.646637 | [
"object"
] |
c578ff6791d1e40954e56712cad45a8b9793654f | 1,526 | cpp | C++ | android-31/android/view/OrientationListener.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/view/OrientationListener.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/view/OrientationListener.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JFloatArray.hpp"
#include "../content/Context.hpp"
#include "./OrientationListener.hpp"
namespace android::view
{
// Fields
jint OrientationListener::ORIENTATION_UNKNOWN()
{
return getStaticField<jint>(
"android.view.OrientationListener",
"ORIENTATION_UNKNOWN"
);
}
// QJniObject forwar... | 19.818182 | 84 | 0.684797 | [
"object"
] |
c5811c5f91306f8b75514dd472e3ab68ddd23e08 | 13,661 | cc | C++ | DQM/GEM/src/GEMDQMEfficiencyClientBase.cc | menglu21/cmssw | c3d6cb102c0aaddf652805743370c28044d53da6 | [
"Apache-2.0"
] | null | null | null | DQM/GEM/src/GEMDQMEfficiencyClientBase.cc | menglu21/cmssw | c3d6cb102c0aaddf652805743370c28044d53da6 | [
"Apache-2.0"
] | null | null | null | DQM/GEM/src/GEMDQMEfficiencyClientBase.cc | menglu21/cmssw | c3d6cb102c0aaddf652805743370c28044d53da6 | [
"Apache-2.0"
] | null | null | null | #include "DQM/GEM/interface/GEMDQMEfficiencyClientBase.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/isFinite.h"
#include "TEfficiency.h"
#include "TPRegexp.h"
#include <regex>
GEMDQMEfficiencyClientBase::GEMDQMEfficiencyClientBase(const edm::ParameterSet& ps)
... | 32.838942 | 118 | 0.637655 | [
"vector"
] |
c58b5b00410e05972f2bf7875e7d9d7bfdec4925 | 2,024 | cpp | C++ | lib/Target/Sophon/BM188x/Lowers/SumLower.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 450 | 2018-08-03T08:17:03.000Z | 2022-03-17T17:21:06.000Z | lib/Target/Sophon/BM188x/Lowers/SumLower.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | 104 | 2018-08-13T07:31:50.000Z | 2021-08-24T11:24:40.000Z | lib/Target/Sophon/BM188x/Lowers/SumLower.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | 100 | 2018-08-12T04:27:39.000Z | 2022-03-11T04:17:42.000Z | //===- SumLower.cpp -------------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "SumLower.h"
#include "../Compute/Sum.h"
#include <onnc/IR/I... | 25.620253 | 80 | 0.537549 | [
"vector"
] |
c59207da0d72fe1dc9d6c931f782bccb69645d02 | 5,164 | hpp | C++ | src/resembla_ensemble.hpp | atlimited/resembla | 82293cecfccfca6e2a95688b21f0659ba75e8cae | [
"Apache-2.0"
] | null | null | null | src/resembla_ensemble.hpp | atlimited/resembla | 82293cecfccfca6e2a95688b21f0659ba75e8cae | [
"Apache-2.0"
] | null | null | null | src/resembla_ensemble.hpp | atlimited/resembla | 82293cecfccfca6e2a95688b21f0659ba75e8cae | [
"Apache-2.0"
] | 1 | 2019-12-03T07:06:41.000Z | 2019-12-03T07:06:41.000Z | /*
Resembla
https://github.com/tuem/resembla
Copyright 2017 Takashi Uemura
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | 33.102564 | 116 | 0.650658 | [
"vector"
] |
c59ecafee628c403e44d9bdc944ff3150c2a1b3f | 8,724 | cpp | C++ | active16/src/libalf/libalf_interfaces/jalf/src/jni_learning_algorithm.cpp | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | 2 | 2021-09-22T13:02:55.000Z | 2021-11-08T19:16:55.000Z | active16/src/libalf/libalf_interfaces/jalf/src/jni_learning_algorithm.cpp | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | null | null | null | active16/src/libalf/libalf_interfaces/jalf/src/jni_learning_algorithm.cpp | adiojha629/JIRP_LRM | a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3 | [
"MIT"
] | null | null | null | /* $Id: jni_learning_algorithm.cpp 1435 2011-01-24 19:03:01Z neider $
* vim: fdm=marker
*
* This file is part of libalf.
*
* libalf 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 ... | 34.482213 | 158 | 0.775791 | [
"object"
] |
c59f3d8b9b6390775439ef88833da6ccb2115191 | 2,757 | cpp | C++ | kratos/mpi/tests/sources/test_mpi_coloring_utilities.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 2 | 2019-10-25T09:28:10.000Z | 2019-11-21T12:51:46.000Z | kratos/mpi/tests/sources/test_mpi_coloring_utilities.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 13 | 2019-10-07T12:06:51.000Z | 2020-02-18T08:48:33.000Z | kratos/mpi/tests/sources/test_mpi_coloring_utilities.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Riccardo Rossi
//
//
#include "mpi.h"
#include "... | 30.296703 | 116 | 0.619514 | [
"vector"
] |
c5a0c091ccd232cc0732f22fe4de643e5584c7f2 | 775 | cpp | C++ | minimize-the-absolute-difference.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 16 | 2018-12-04T16:23:07.000Z | 2021-09-21T06:32:04.000Z | minimize-the-absolute-difference.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 1 | 2019-08-21T16:20:03.000Z | 2019-08-21T16:21:41.000Z | minimize-the-absolute-difference.cpp | babu-thomas/interviewbit-solutions | 21125bf30b2d94b6f03310a4917679f216f55af3 | [
"MIT"
] | 23 | 2019-06-21T12:09:57.000Z | 2021-09-22T18:03:28.000Z | // Time - O(N), Space - O(1)
int Solution::solve(vector<int> &A, vector<int> &B, vector<int> &C) {
int p = A.size();
int q = B.size();
int r = C.size();
int i = 0, j = 0, k = 0;
int min_val, max_val, diff, min_diff = numeric_limits<int>::max();
while(i < p && j < q && k < r) {
min_val = ... | 22.794118 | 70 | 0.384516 | [
"vector"
] |
c5a1aa63c55c91c2bc93b27b042a75d07b805417 | 28,857 | cpp | C++ | tests/unit/LinearAlgebra/MiddleSizeMatrixUnitTest.cpp | hpgem/hpgem | b2f7ac6bdef3262af0c3e8559cb991357a96457f | [
"BSD-3-Clause-Clear"
] | 5 | 2020-04-01T15:35:26.000Z | 2022-02-22T02:48:12.000Z | tests/unit/LinearAlgebra/MiddleSizeMatrixUnitTest.cpp | hpgem/hpgem | b2f7ac6bdef3262af0c3e8559cb991357a96457f | [
"BSD-3-Clause-Clear"
] | 139 | 2020-01-06T12:42:24.000Z | 2022-03-10T20:58:14.000Z | tests/unit/LinearAlgebra/MiddleSizeMatrixUnitTest.cpp | hpgem/hpgem | b2f7ac6bdef3262af0c3e8559cb991357a96457f | [
"BSD-3-Clause-Clear"
] | 4 | 2020-04-10T09:19:33.000Z | 2021-08-21T07:20:42.000Z | /*
This file forms part of hpGEM. This package has been developed over a number of
years by various people at the University of Twente and a full list of
contributors can be found at http://hpgem.org/about-the-code/team
This code is distributed using BSD 3-Clause License. A copy of which can found
below.
Copyr... | 38.52737 | 80 | 0.560211 | [
"vector",
"3d"
] |
c5a68c4ee6b86b1f5e041e80503564ecd2bd9d36 | 794 | cc | C++ | packager/app/gflags_hex_bytes.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,288 | 2016-05-25T01:20:31.000Z | 2022-03-02T23:56:56.000Z | packager/app/gflags_hex_bytes.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 894 | 2016-05-17T00:39:30.000Z | 2022-03-02T18:46:21.000Z | packager/app/gflags_hex_bytes.cc | koln67/shaka-packager | 5b9fd409a5de502e8af2e46ee12840bd2226874d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 400 | 2016-05-25T01:20:35.000Z | 2022-03-03T02:12:00.000Z | // Copyright 2017 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/gflags_hex_bytes.h"
#include "packager/base/strings/string_number_conversi... | 30.538462 | 76 | 0.688917 | [
"vector"
] |
c5a7e8093c1406bdfccf566edf4078fb85e7269e | 14,987 | hpp | C++ | src/input/fd_imageManager.hpp | Fluxanoia/Fluxdrive | 5671bbb0690b2d55eb4a0d9b614b36e4b72a3378 | [
"Zlib"
] | null | null | null | src/input/fd_imageManager.hpp | Fluxanoia/Fluxdrive | 5671bbb0690b2d55eb4a0d9b614b36e4b72a3378 | [
"Zlib"
] | null | null | null | src/input/fd_imageManager.hpp | Fluxanoia/Fluxdrive | 5671bbb0690b2d55eb4a0d9b614b36e4b72a3378 | [
"Zlib"
] | null | null | null | #ifndef FD_IMAGE_MANAGER_H_
#define FD_IMAGE_MANAGER_H_
#include <memory>
#include <vector>
#include <string>
#include <SDL_ttf.h>
#include <SDL_image.h>
#include "fd_paths.hpp"
#include "fd_registry.hpp"
#include "../maths/fd_maths.hpp"
#include "../display/fd_resizable.hpp"
/*!
@file
@brief The file containing ... | 26.858423 | 108 | 0.705812 | [
"render",
"vector"
] |
c5a896f9b051d59394317385a1cdf0301daea76a | 11,206 | cpp | C++ | csgo_internal/RageBot.cpp | XGOD4/REDHOOK | ee8d4addf2051c07defa6df494ce00cdddefd709 | [
"MIT"
] | 1 | 2018-04-19T00:50:58.000Z | 2018-04-19T00:50:58.000Z | csgo_internal/RageBot.cpp | XGOD4/REDHOOK | ee8d4addf2051c07defa6df494ce00cdddefd709 | [
"MIT"
] | 1 | 2018-04-14T06:34:14.000Z | 2018-04-14T06:34:14.000Z | csgo_internal/RageBot.cpp | XGOD4/REDHOOK | ee8d4addf2051c07defa6df494ce00cdddefd709 | [
"MIT"
] | null | null | null | #include "Cheat.h"
// lazy
float m_bestfov = 360.0f;
float m_bestdist = 8192.f;
float m_bestthreat = 0.f;
Vector m_besthitbox = Vector( 0, 0, 0 );
CBaseEntity* m_bestent = nullptr;
bool m_target = false;
void CRageBot::Run()
{
DropTarget();
// AA fixmove
CFixMove fixMove;
fixMove.Start();
if( Vars.Ragebot.Anti... | 22.822811 | 171 | 0.644744 | [
"vector"
] |
c5aba6d34dffb6391e1bed1736ae0bc082e710e4 | 4,000 | cc | C++ | third_party/blink/renderer/core/inspector/console_message.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/inspector/console_message.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/inspector/console_message.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/public/web/web_console_message.h"
#include "third_part... | 30.769231 | 79 | 0.72675 | [
"vector"
] |
c5ad9d9ed8e1e66d21cdf21d1eee0e5be4449130 | 13,017 | cpp | C++ | WebKit/Source/JavaScriptCore/dfg/DFGGraph.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/JavaScriptCore/dfg/DFGGraph.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/JavaScriptCore/dfg/DFGGraph.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 36.875354 | 243 | 0.606054 | [
"object",
"vector"
] |
c5b2508b352696340f9c1e522cdf7758b17d1a9a | 902 | cpp | C++ | lowest_common_ancestor.cpp | rakibulhossain/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | 1 | 2021-11-18T13:07:39.000Z | 2021-11-18T13:07:39.000Z | lowest_common_ancestor.cpp | Sajjadhossaintalukder/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | null | null | null | lowest_common_ancestor.cpp | Sajjadhossaintalukder/competetive-programming-library | 1a1d8e18e411c6094001d56a7aca45cc106e0f09 | [
"MIT"
] | 2 | 2021-08-07T05:09:52.000Z | 2021-08-23T19:41:07.000Z | #include<bits/stdc++.h>
using namespace std;
const int siz=1e5+7;
// t = 1st parent; l = level , par = ancestors
int n,t[siz],l[siz],par[siz][20];
vector<int>v[siz];
void dfs(int x,int from,int level=0)
{
l[x]=level;
t[x]=from;
for(int i=0;i<v[x].size();i++) if(v[x][i]!=from) dfs(v[x][i],x,level+1);
}
void ... | 21.47619 | 76 | 0.48337 | [
"vector"
] |
c5bccdcc9025499a4de19c273cdbd165287a92c2 | 3,044 | cpp | C++ | src/ast/structure-definition-statement.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | null | null | null | src/ast/structure-definition-statement.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | 6 | 2019-03-04T01:37:27.000Z | 2019-09-07T20:12:36.000Z | src/ast/structure-definition-statement.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | null | null | null | #include "../../include/altacore/ast/structure-definition-statement.hpp"
#include "../../include/altacore/util.hpp"
#include <sstream>
#include <crossguid/guid.hpp>
const AltaCore::AST::NodeType AltaCore::AST::StructureDefinitionStatement::nodeType() {
return NodeType::StructureDefinitionStatement;
};
AltaCore::AST... | 36.238095 | 125 | 0.688568 | [
"vector"
] |
c5c618d87575f2aecc22f2303584aaf97f5c5f25 | 1,235 | cpp | C++ | graphs/assignments/codingninja.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | graphs/assignments/codingninja.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | graphs/assignments/codingninja.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | int validPoint(int x, int y, int n, int m){
return (x >=0 && x < n && y >= 0 && y < m);
}
bool dfs(vector<vector<char>> &board,
vector<vector<bool>> &used,
string &word, int x, int y, int wordIndex, int n, int m){
if(wordIndex == 11){
return true;
}
used[x][y] = true;
bool found = false;... | 27.444444 | 102 | 0.483401 | [
"vector"
] |
c5cf809078b7dc58108df7924dce2dfb4ff7dbe5 | 6,377 | cpp | C++ | Src/NCEEHelper/main.cpp | dtcxzyw/NCEEHelper | c7db44c087cdd58e179aec9dd6cf726fa2c0ee10 | [
"Unlicense"
] | 1 | 2021-12-28T14:31:23.000Z | 2021-12-28T14:31:23.000Z | Src/NCEEHelper/main.cpp | dtcxzyw/NCEEHelper | c7db44c087cdd58e179aec9dd6cf726fa2c0ee10 | [
"Unlicense"
] | null | null | null | Src/NCEEHelper/main.cpp | dtcxzyw/NCEEHelper | c7db44c087cdd58e179aec9dd6cf726fa2c0ee10 | [
"Unlicense"
] | 1 | 2022-02-17T08:04:37.000Z | 2022-02-17T08:04:37.000Z | #include "../Shared/Command.hpp"
#pragma warning(push, 0)
#define GUID_DEFINED
#include "../ThirdParty/Bus/BusSystem.hpp"
#include <rang.hpp>
#pragma warning(pop)
#include <sstream>
BUS_MODULE_NAME("NCEEHelper.Main");
static int mainImpl(int argc, char** argv, Bus::ModuleSystem& sys) {
BUS_TRACE_BEG() {
i... | 38.185629 | 80 | 0.495217 | [
"vector"
] |
c5d0e5392d3c208006df50e9e6707a17b745febd | 1,142 | cpp | C++ | radix/main.cpp | benacq/Data-Structures-and-Algorithms-prep | d4e2da9b34776901f8796bfb54fa1a2161c99485 | [
"MIT"
] | 6 | 2021-04-13T14:07:02.000Z | 2021-12-08T02:23:31.000Z | radix/main.cpp | benacq/Data-Structures-and-Algorithms-prep | d4e2da9b34776901f8796bfb54fa1a2161c99485 | [
"MIT"
] | null | null | null | radix/main.cpp | benacq/Data-Structures-and-Algorithms-prep | d4e2da9b34776901f8796bfb54fa1a2161c99485 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
void countingSort(vector<int> &numbers, int number_place) {
vector<queue<int>> buckets(10);
vector<int> sorted;
sorted.reserve(numbers.size());
for (int number: numbers) {
buckets[(number / number... | 21.961538 | 99 | 0.574431 | [
"vector"
] |
c5d822297cbf441c62f68087a4a37e88602cca35 | 1,076 | cc | C++ | util/Test/tVariate.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | 1 | 2018-11-01T05:15:31.000Z | 2018-11-01T05:15:31.000Z | util/Test/tVariate.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | null | null | null | util/Test/tVariate.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | 2 | 2017-05-02T19:35:55.000Z | 2018-03-07T00:54:51.000Z | #include <iostream>
#include <iomanip>
#include <cmath>
#include "gcp/program/Program.h"
#include "gcp/util/UniformVariate.h"
#include "gcp/util/Exception.h"
#include "gcp/util/Sampler.h"
#include "gcp/pgutil/PgUtil.h"
#include <vector>
using namespace std;
using namespace gcp::util;
using namespace gcp::program;... | 17.639344 | 51 | 0.58829 | [
"vector"
] |
c5e1b5ee84695d10660ab3ed31bce0351458889f | 6,789 | hpp | C++ | src/Forces/RotationalDivisionForce.hpp | clairemiller/2018_MaintainingStemCellNiche | 2999a37169ac0db78ebf9ac57b36153a0a149eb3 | [
"BSD-4-Clause-UC"
] | null | null | null | src/Forces/RotationalDivisionForce.hpp | clairemiller/2018_MaintainingStemCellNiche | 2999a37169ac0db78ebf9ac57b36153a0a149eb3 | [
"BSD-4-Clause-UC"
] | null | null | null | src/Forces/RotationalDivisionForce.hpp | clairemiller/2018_MaintainingStemCellNiche | 2999a37169ac0db78ebf9ac57b36153a0a149eb3 | [
"BSD-4-Clause-UC"
] | null | null | null | /*
Copyright (c) 2005-2016, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 33.117073 | 120 | 0.707615 | [
"object",
"vector"
] |
c5e7e2f584b776f96a3b1a53ecc8777e8ca0f973 | 1,511 | cpp | C++ | trainingregional2018/contest1/P5.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/contest1/P5.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/contest1/P5.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, a, b) for (int i = a; i < b; i++)
#define clr(t, val) memset(t, val, sizeof(t))
#define all(v) v.begin(), v.end()
#define SZ(v) ((int)(v).size())
#define TEST(x) cerr << "test " << #x << " " << x << endl;
using namespace std;
clock... | 23.246154 | 77 | 0.446062 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.