hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 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 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 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 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5ee0864a8846ace8c888e631d657d4724898e78 | 775 | cpp | C++ | Lab04/A.cpp | mental2008/Data_Structure | a8ee0e30d9f5184954d32e455e75aff68fe90355 | [
"MIT"
] | null | null | null | Lab04/A.cpp | mental2008/Data_Structure | a8ee0e30d9f5184954d32e455e75aff68fe90355 | [
"MIT"
] | null | null | null | Lab04/A.cpp | mental2008/Data_Structure | a8ee0e30d9f5184954d32e455e75aff68fe90355 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
const int maxn = 20005;
struct Node {
int bright;
int pos;
bool operator < (const Node& e) const {
return bright > e.bright;
}
} node[maxn];
int query[maxn];
int main() {
ios::sync_with_stdio(false);
int caseCnt;
cin >> ca... | 21.527778 | 43 | 0.454194 | mental2008 |
f5f1ffeb030613fd3ecc74b907d7c963775b3244 | 11,700 | cpp | C++ | thirdparty/ULib/src/ulib/internal/common.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/src/ulib/internal/common.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/src/ulib/internal/common.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | // ============================================================================
//
// = LIBRARY
// ULib - c++ library
//
// = FILENAME
// common.cpp
//
// = AUTHOR
// Stefano Casazza
//
// ============================================================================
/*
* _oo0oo_
* ... | 37.620579 | 164 | 0.643333 | liftchampion |
f5f3da30f6701fa41545d5a87b6fa0c97c38daee | 2,980 | cpp | C++ | Eudora71/DirectoryServices/Ph/src/component.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Eudora71/DirectoryServices/Ph/src/component.cpp | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Eudora71/DirectoryServices/Ph/src/component.cpp | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File: component.cpp
Description: Implementation of components in PH directory services DLL
Date: 7/22/97
Version: 1.0
Module: PH.DLL (PH protocol directory service object)
Notice: Copyright 1997 Qualcomm Inc. All Ri... | 42.571429 | 129 | 0.687919 | dusong7 |
f5f42f01e49ec16b542694355642a44bc717fdd0 | 7,663 | cc | C++ | vector/mmap_raw_vector.cc | matadorhong/gamma | 90bd56485278171a7a528bc0485df87f26a3e442 | [
"Apache-2.0"
] | null | null | null | vector/mmap_raw_vector.cc | matadorhong/gamma | 90bd56485278171a7a528bc0485df87f26a3e442 | [
"Apache-2.0"
] | null | null | null | vector/mmap_raw_vector.cc | matadorhong/gamma | 90bd56485278171a7a528bc0485df87f26a3e442 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 The Gamma Authors.
*
* This source code is licensed under the Apache License, Version 2.0 license
* found in the LICENSE file in the root directory of this source tree.
*/
#include "mmap_raw_vector.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include... | 31.929167 | 80 | 0.648441 | matadorhong |
f5f654e92476abaa0b29cefca8e95a101aa7528e | 1,402 | cpp | C++ | pagerank/src/node.cpp | fpeterek/parallel-algorithms | 9557c73bd66d58283c3b03a03a4ea024ccdcbd3a | [
"MIT"
] | null | null | null | pagerank/src/node.cpp | fpeterek/parallel-algorithms | 9557c73bd66d58283c3b03a03a4ea024ccdcbd3a | [
"MIT"
] | null | null | null | pagerank/src/node.cpp | fpeterek/parallel-algorithms | 9557c73bd66d58283c3b03a03a4ea024ccdcbd3a | [
"MIT"
] | null | null | null | //
// Created by fpeterek on 28.11.21.
//
#include "node.hpp"
Node::Node(const std::uint64_t id, std::vector<std::uint64_t> links) : _id(id), _links(std::move(links)) { }
std::uint64_t Node::id() const {
return _id;
}
const std::vector<std::uint64_t> & Node::links() const {
return _links;
}
double Node::pa... | 21.90625 | 108 | 0.583452 | fpeterek |
f5f6d706715400e1ef3dfc66cfcb73fa92686897 | 3,697 | hpp | C++ | src/ozw/aeotecss6.hpp | ebe-forks/upm | 106b6c706268522ab0168a4ddb19e89ce832e084 | [
"MIT"
] | null | null | null | src/ozw/aeotecss6.hpp | ebe-forks/upm | 106b6c706268522ab0168a4ddb19e89ce832e084 | [
"MIT"
] | null | null | null | src/ozw/aeotecss6.hpp | ebe-forks/upm | 106b6c706268522ab0168a4ddb19e89ce832e084 | [
"MIT"
] | null | null | null | /*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2016 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitatio... | 26.789855 | 73 | 0.632134 | ebe-forks |
f5fa36a906fb85aa475cab193237dc66a955f346 | 27,293 | cpp | C++ | src/transport/PASESession.cpp | hakieyin/connectedhomeip | 0b19aa2330fb5ca7ccfb6d2a53a6f49accf131bd | [
"Apache-2.0"
] | 1 | 2021-07-12T18:41:08.000Z | 2021-07-12T18:41:08.000Z | src/transport/PASESession.cpp | hakieyin/connectedhomeip | 0b19aa2330fb5ca7ccfb6d2a53a6f49accf131bd | [
"Apache-2.0"
] | 2 | 2022-03-25T10:07:16.000Z | 2022-03-28T07:17:39.000Z | src/transport/PASESession.cpp | hakieyin/connectedhomeip | 0b19aa2330fb5ca7ccfb6d2a53a6f49accf131bd | [
"Apache-2.0"
] | 2 | 2022-03-18T10:37:29.000Z | 2022-03-24T10:35:16.000Z | /*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LI... | 32.686228 | 130 | 0.702378 | hakieyin |
f5fdc9d6ec97f3243f5b022549554d457900938e | 3,117 | cpp | C++ | UVa/UVA - 11476/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | UVa/UVA - 11476/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | UVa/UVA - 11476/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 2019-02-24 20:08:23
* solution_verdict: Accepted language: C++
* run... | 25.760331 | 111 | 0.495348 | kzvd4729 |
f5fe96605b731addec9885c1b67e5ac0abe19f80 | 4,269 | cpp | C++ | C++/IO/MmapPerformanceLarge.cpp | sck/oobench | dc4c8df5cb82481c765cb3ee70cc94b6638a02cb | [
"BSD-3-Clause"
] | null | null | null | C++/IO/MmapPerformanceLarge.cpp | sck/oobench | dc4c8df5cb82481c765cb3ee70cc94b6638a02cb | [
"BSD-3-Clause"
] | null | null | null | C++/IO/MmapPerformanceLarge.cpp | sck/oobench | dc4c8df5cb82481c765cb3ee70cc94b6638a02cb | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include "IOBenchmark.cpp"
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <sys/mman.h>
namespace oobench {
class MmapPerformanceLarge : public IOBenchmark {
public:
MmapPerformanceLarge(int argc, const char** argv)... | 31.160584 | 75 | 0.395877 | sck |
f5feb4c8e15c8c3884e4819ae463a4580b8abeea | 1,502 | cpp | C++ | samples/cpp/sync_time_stamp.cpp | huskyroboticsteam/urg-lidar | 6f5cb4f27579a3ef07cbd63d25736905c7b35956 | [
"BSD-2-Clause"
] | null | null | null | samples/cpp/sync_time_stamp.cpp | huskyroboticsteam/urg-lidar | 6f5cb4f27579a3ef07cbd63d25736905c7b35956 | [
"BSD-2-Clause"
] | null | null | null | samples/cpp/sync_time_stamp.cpp | huskyroboticsteam/urg-lidar | 6f5cb4f27579a3ef07cbd63d25736905c7b35956 | [
"BSD-2-Clause"
] | null | null | null | /*!
\example sync_time_stamp.cpp Timestamp synchronization between PC and sensor
\author Satofumi KAMIMURA
$Id$
*/
#include "Urg_driver.h"
#include "Connection_information.h"
#include "ticks.h"
#include <iostream>
using namespace qrk;
using namespace std;
namespace
{
void print_timestamp(Urg_driver& urg)... | 23.84127 | 78 | 0.63249 | huskyroboticsteam |
f5fefafad7290f3a0fe23fe9993c93a80602b7bf | 355 | cc | C++ | codes/raulcr-p3084-Accepted-s1230827.cc | raulcr98/coj-solutions | b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca | [
"MIT"
] | 1 | 2020-03-17T01:44:21.000Z | 2020-03-17T01:44:21.000Z | codes/raulcr-p3084-Accepted-s1230827.cc | raulcr98/coj-solutions | b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca | [
"MIT"
] | null | null | null | codes/raulcr-p3084-Accepted-s1230827.cc | raulcr98/coj-solutions | b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int sol;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
while(n--){
string a;
cin >> a;
string b = "";
for(int i = a.size() - 1 ; i >= 0 ; i--)
b+=a[i];
cout <<... | 14.2 | 45 | 0.419718 | raulcr98 |
f5ff77f6b94550f451f282bbb72ac88141aa5a8c | 6,249 | cpp | C++ | src/OrbitSshQt/Task.cpp | guruantree/orbit | c59eea66e4dc8313fecef9524850bf58c8ba8c30 | [
"BSD-2-Clause"
] | 2 | 2020-07-31T08:18:58.000Z | 2021-12-26T06:43:07.000Z | src/OrbitSshQt/Task.cpp | guruantree/orbit | c59eea66e4dc8313fecef9524850bf58c8ba8c30 | [
"BSD-2-Clause"
] | null | null | null | src/OrbitSshQt/Task.cpp | guruantree/orbit | c59eea66e4dc8313fecef9524850bf58c8ba8c30 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2020 The Orbit 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 "OrbitSshQt/Task.h"
#include <absl/base/macros.h>
#include <type_traits>
#include <utility>
#include "OrbitBase/Logging.h"
#include "OrbitSsh... | 26.591489 | 99 | 0.666667 | guruantree |
eb00ba2e0e8ade66ad4294590669d5ebeb8faf9b | 2,810 | cc | C++ | src/ui-flat-label.cc | emptyland/utaha | d625da3290d7a193c8f18c4575d30178c8b764c1 | [
"MIT"
] | null | null | null | src/ui-flat-label.cc | emptyland/utaha | d625da3290d7a193c8f18c4575d30178c8b764c1 | [
"MIT"
] | null | null | null | src/ui-flat-label.cc | emptyland/utaha | d625da3290d7a193c8f18c4575d30178c8b764c1 | [
"MIT"
] | null | null | null | #include "ui-flat-label.h"
#include "glog/logging.h"
#include SDL_TTF_H
namespace utaha {
UIFlatLabel::UIFlatLabel(TTF_Font *font)
: font_(DCHECK_NOTNULL(font)) {
}
/*virtual*/ UIFlatLabel::~UIFlatLabel() {
if (texture_) {
SDL_DestroyTexture(texture_);
}
}
/*virtual*/ int UIFlatLabel::OnEvent(SD... | 28.383838 | 75 | 0.545907 | emptyland |
eb010aa06ef1e8c9d2c2c33a29647b612e55715e | 431 | cpp | C++ | main.cpp | Algorithms-and-Data-Structures-2021/semester-work-segment-tree-004 | 27b99c860dacb2118d2e6925d45e9a6da5d2bab6 | [
"MIT"
] | null | null | null | main.cpp | Algorithms-and-Data-Structures-2021/semester-work-segment-tree-004 | 27b99c860dacb2118d2e6925d45e9a6da5d2bab6 | [
"MIT"
] | 2 | 2021-05-02T12:53:57.000Z | 2021-05-02T13:09:12.000Z | main.cpp | Algorithms-and-Data-Structures-2021/semester-work-segment-tree-004 | 27b99c860dacb2118d2e6925d45e9a6da5d2bab6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <segment_tree_min.hpp>
#include "segment_tree_sum.hpp"
using namespace itis;
using namespace std;
int main () {
int size;
cin>>size;
int *firstArray = new int[size];
for (int i = 0; i < size; ++i) {
cin>>firstArray[i];
}
SegmentTreeMin *s1 = new SegmentTreeMin (firstArray, size)... | 17.958333 | 60 | 0.651972 | Algorithms-and-Data-Structures-2021 |
eb01478efae467a4db4420913438cce77e0fa061 | 6,744 | cpp | C++ | lib/hx_sbus_decoder_encoder/hx_sbus_decoder.cpp | nkruzan/hx_espnow_rc | 448f8c42bff36f8182665a865fcfe391560b01f0 | [
"MIT"
] | 10 | 2021-07-11T22:24:11.000Z | 2022-02-05T06:13:17.000Z | lib/hx_sbus_decoder_encoder/hx_sbus_decoder.cpp | nkruzan/hx_espnow_rc | 448f8c42bff36f8182665a865fcfe391560b01f0 | [
"MIT"
] | 1 | 2021-11-22T23:09:58.000Z | 2021-11-22T23:35:39.000Z | lib/hx_sbus_decoder_encoder/hx_sbus_decoder.cpp | nkruzan/hx_espnow_rc | 448f8c42bff36f8182665a865fcfe391560b01f0 | [
"MIT"
] | 1 | 2021-11-16T02:41:25.000Z | 2021-11-16T02:41:25.000Z | #include "hx_sbus_decoder.h"
#define SYNC_COUNT 5
//=====================================================================
//=====================================================================
HXSBUSDecoder::HXSBUSDecoder()
{
}
//=====================================================================
//==============... | 27.193548 | 110 | 0.375148 | nkruzan |
eb01b4b1c83e425ef6c274f8713aef325d360bed | 1,297 | cc | C++ | lib/src/util/file.cc | ploubser/cfacter | 269717adb4472a66f9763a228498f47771d41343 | [
"Apache-2.0"
] | null | null | null | lib/src/util/file.cc | ploubser/cfacter | 269717adb4472a66f9763a228498f47771d41343 | [
"Apache-2.0"
] | null | null | null | lib/src/util/file.cc | ploubser/cfacter | 269717adb4472a66f9763a228498f47771d41343 | [
"Apache-2.0"
] | null | null | null | #include <facter/util/file.hpp>
#include <sstream>
#include <fstream>
using namespace std;
namespace facter { namespace util { namespace file {
bool each_line(string const& path, function<bool(string&)> callback)
{
ifstream in(path);
if (!in) {
return false;
}
str... | 20.919355 | 72 | 0.515035 | ploubser |
eb0a9905df545b43a044eeb9db8b9a86e48fff0d | 2,179 | cpp | C++ | actividades/sesion4/Maria/actividad1/actividad 4 vectores.cpp | GonzaCDZ/Programacion-I | 860a39de6b6f337829358881bec5111f9ae25bad | [
"MIT"
] | 1 | 2019-01-12T18:13:54.000Z | 2019-01-12T18:13:54.000Z | actividades/sesion4/Maria/actividad1/actividad 4 vectores.cpp | GonzaCDZ/Programacion-I | 860a39de6b6f337829358881bec5111f9ae25bad | [
"MIT"
] | 1 | 2018-10-14T18:12:28.000Z | 2018-10-14T18:12:28.000Z | actividades/sesion4/Maria/actividad1/actividad 4 vectores.cpp | GonzaCDZ/Programacion-I | 860a39de6b6f337829358881bec5111f9ae25bad | [
"MIT"
] | null | null | null |
#include <iostream>
#include <math.h>
using namespace std;
class Vector3d{
public:
Vector3d(float _x, float _y, float _z){
x = _x;
y = _y;
z = _z;
}
void getCoordenadas(float & a, float & b, float & c){
a = x;
b = y;
... | 21.362745 | 94 | 0.494263 | GonzaCDZ |
eb0b9f9cb01a144acd8db837893d86b5536a9e54 | 926 | cpp | C++ | pico-cnn/io/read_means.cpp | ekut-es/pico-cnn | 18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c | [
"BSD-3-Clause"
] | 43 | 2019-06-18T13:53:24.000Z | 2021-12-24T17:37:56.000Z | pico-cnn/io/read_means.cpp | ekut-es/pico-cnn | 18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c | [
"BSD-3-Clause"
] | 12 | 2020-06-01T00:54:37.000Z | 2022-02-10T01:40:23.000Z | pico-cnn/io/read_means.cpp | ekut-es/pico-cnn | 18ef2ae0afd7ac9c0e18c293f2f2478a5f78c66c | [
"BSD-3-Clause"
] | 6 | 2020-11-02T19:58:55.000Z | 2021-12-24T17:38:02.000Z | #include "read_means.h"
int32_t read_means(const char* path_to_means_file, fp_t* means) {
FILE *means_file;
means_file = fopen(path_to_means_file, "r");
if(means_file != 0) {
char buffer[100];
// read magic number
if(fgets(buffer, 100, means_file) == nullptr){
PRINT_... | 21.045455 | 65 | 0.521598 | ekut-es |
eb0cac94eebae5baa79a3a46bd2617ee43873bdd | 1,439 | hpp | C++ | bark/world/map/road.hpp | GAIL-4-BARK/bark | 1cfda9ba6e9ec5318fbf01af6b67c242081b516e | [
"MIT"
] | null | null | null | bark/world/map/road.hpp | GAIL-4-BARK/bark | 1cfda9ba6e9ec5318fbf01af6b67c242081b516e | [
"MIT"
] | null | null | null | bark/world/map/road.hpp | GAIL-4-BARK/bark | 1cfda9ba6e9ec5318fbf01af6b67c242081b516e | [
"MIT"
] | null | null | null | // Copyright (c) 2020 Julian Bernhard, Klemens Esterle, Patrick Hart and
// Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef BARK_WORLD_MAP_ROAD_HPP_
#define BARK_WORLD_MAP_ROAD_HPP_
#include <memory>
#include <map>
#inc... | 21.477612 | 72 | 0.701876 | GAIL-4-BARK |
eb0defa60f96aa232a12c7d08e30137b552fcf4a | 13,671 | cpp | C++ | SerialPrograms/Source/CommonFramework/AudioPipeline/AudioInfo.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/AudioPipeline/AudioInfo.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/AudioPipeline/AudioInfo.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | /* Audio Input Device Info
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <map>
#include <QtGlobal>
#include "Common/Cpp/Pimpl.tpp"
#include "Common/Cpp/Exceptions.h"
#include "AudioInfo.h"
#include <iostream>
using std::cout;
using std::endl;
#if QT_VERSION_MAJOR == 5
#include <Q... | 31.941589 | 129 | 0.650501 | BlizzardHero |
eb0f619b1a4a387a3b34b870a290f621986d0ca0 | 1,234 | hpp | C++ | project-template/lib/events/EventQueue.hpp | nerudaj/dgm-sdk | 3d0366487a2f4377ba52ab577f990fd8a4bd3e91 | [
"Apache-2.0"
] | null | null | null | project-template/lib/events/EventQueue.hpp | nerudaj/dgm-sdk | 3d0366487a2f4377ba52ab577f990fd8a4bd3e91 | [
"Apache-2.0"
] | null | null | null | project-template/lib/events/EventQueue.hpp | nerudaj/dgm-sdk | 3d0366487a2f4377ba52ab577f990fd8a4bd3e91 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "events/Events.hpp"
#include <vector>
#include <concepts>
#include <memory>
/**
* This is a storage object for object generated each frame
*
* It is a singleton so you can easily add new events from anywhere
* and it contains two methods - add for adding new events like:
* EventQueue::... | 25.183673 | 68 | 0.689627 | nerudaj |
eb1061670828bc6ded85057f0d0af05f2b2d27ca | 178 | cpp | C++ | 面试题01.02.判定是否互为字符重排/CheckPermutation.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | 1 | 2019-10-21T14:40:39.000Z | 2019-10-21T14:40:39.000Z | 面试题01.02.判定是否互为字符重排/CheckPermutation.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | null | null | null | 面试题01.02.判定是否互为字符重排/CheckPermutation.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | 1 | 2020-11-04T07:33:34.000Z | 2020-11-04T07:33:34.000Z | class Solution {
public:
bool CheckPermutation(string s1, string s2) {
sort(s1.begin(),s1.end());
sort(s2.begin(),s2.end());
return s1==s2;
}
}; | 17.8 | 49 | 0.544944 | YichengZhong |
eb17ebde879028df29cd6ecd1b150deb05cd1352 | 17,898 | cxx | C++ | Source/VTKExtensions/Meshing/vtkCMBSceneGenPolygon.cxx | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | Source/VTKExtensions/Meshing/vtkCMBSceneGenPolygon.cxx | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | Source/VTKExtensions/Meshing/vtkCMBSceneGenPolygon.cxx | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 30.182125 | 99 | 0.655269 | developkits |
eb183496feb5de20ee2a47cf8774696473a97c60 | 3,396 | cpp | C++ | MeshTools/FESurfaceData.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | MeshTools/FESurfaceData.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | MeshTools/FESurfaceData.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any pers... | 26.740157 | 101 | 0.736455 | EMinsight |
a3e2986d7f7858f7cf76fe977c4ddbb7f7c7b338 | 472 | hpp | C++ | src/robolisp/val/float_num.hpp | szsy-robotics/robolisp | 22a9cda2fe43b859a4c5ab559bb7c55756ee0951 | [
"BSD-3-Clause-Clear"
] | 3 | 2020-03-04T16:53:26.000Z | 2020-06-05T08:33:37.000Z | src/robolisp/val/float_num.hpp | szsy-robotics/robolisp | 22a9cda2fe43b859a4c5ab559bb7c55756ee0951 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/robolisp/val/float_num.hpp | szsy-robotics/robolisp | 22a9cda2fe43b859a4c5ab559bb7c55756ee0951 | [
"BSD-3-Clause-Clear"
] | 2 | 2020-03-26T04:14:36.000Z | 2020-06-05T08:33:25.000Z | #pragma once
#include "../val.hpp"
#include <string>
namespace robolisp::impl
{
namespace val
{
class FloatNum : public Val
{
public :
explicit FloatNum(float val);
ValPtr copy() const override;
std::string to_str() const override;
void accept_vis(ValVis *val_vis) override;
con... | 12.756757 | 46 | 0.644068 | szsy-robotics |
a3e32b03a0f0a3445b632cdc121a12da04ed9924 | 892 | cpp | C++ | SourceCode/Prototypes/LSystems/LSystems/Vec2.cpp | JosephBarber96/FinalProject | 60400efa64c36b7cdbc975e0df7b937cbaae1d0b | [
"MIT"
] | 2 | 2019-05-18T21:37:17.000Z | 2021-07-16T04:08:23.000Z | SourceCode/Prototypes/LSystems/LSystems/Vec2.cpp | JosephBarber96/FinalProject | 60400efa64c36b7cdbc975e0df7b937cbaae1d0b | [
"MIT"
] | 1 | 2020-04-29T05:37:48.000Z | 2020-04-29T11:14:57.000Z | SourceCode/Prototypes/LSystems/LSystems/Vec2.cpp | JosephBarber96/FinalProject | 60400efa64c36b7cdbc975e0df7b937cbaae1d0b | [
"MIT"
] | 1 | 2021-07-16T04:08:31.000Z | 2021-07-16T04:08:31.000Z | #include <math.h>
#include "Vec2.h"
#include "Utility.h"
Vec2::Vec2(float newAngle)
{
Vec2* temp = Vec2::AngleToVector(newAngle);
x = temp->x;
y = temp->y;
}
Vec2::Vec2(float newX, float newY)
:
x(newX),
y(newY)
{}
Vec2::~Vec2() {}
float Vec2::Length()
{
return sqrt(x * x + y * y);
}
Vec2* Vec2::AngleToVec... | 16.218182 | 93 | 0.646861 | JosephBarber96 |
a3e510e171ab9dccb23aa620db50518271206edc | 12,670 | cpp | C++ | src/mongo/s/collection_manager.cpp | wentingwang/morphus | af40299a5f07fd3157946112738f602a566a9908 | [
"Apache-2.0"
] | 5 | 2015-02-03T18:12:03.000Z | 2016-07-09T09:52:00.000Z | src/mongo/s/collection_manager.cpp | stennie/mongo | 9ff44ae9ad16a70e49517a78279260a37d31ac7c | [
"Apache-2.0"
] | null | null | null | src/mongo/s/collection_manager.cpp | stennie/mongo | 9ff44ae9ad16a70e49517a78279260a37d31ac7c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... | 37.485207 | 100 | 0.52423 | wentingwang |
a3e5302c19685f78354612745e71cf65f3d05d4f | 39,125 | hpp | C++ | pybind/extern.hpp | cnheider/MinkowskiEngine | ae6db31203ba012df2f695576e2d3819d49bf2d7 | [
"MIT"
] | null | null | null | pybind/extern.hpp | cnheider/MinkowskiEngine | ae6db31203ba012df2f695576e2d3819d49bf2d7 | [
"MIT"
] | null | null | null | pybind/extern.hpp | cnheider/MinkowskiEngine | ae6db31203ba012df2f695576e2d3819d49bf2d7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 NVIDIA Corporation.
* Copyright (c) 2018-2020 Chris Choy (chrischoy@ai.stanford.edu).
*
* 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, incl... | 46.688544 | 80 | 0.627093 | cnheider |
a3e53f89064ea6e089637f6d1b748a3ee617efc3 | 742 | cpp | C++ | src/layers/medCore/process/single_filter/medAbstractAddFilterProcess.cpp | dmargery/medInria-public | c232dbdf9353e14ec6e5184349ef1e523def0b76 | [
"BSD-4-Clause"
] | 61 | 2015-04-14T13:00:50.000Z | 2022-03-09T22:22:18.000Z | src/layers/medCore/process/single_filter/medAbstractAddFilterProcess.cpp | dmargery/medInria-public | c232dbdf9353e14ec6e5184349ef1e523def0b76 | [
"BSD-4-Clause"
] | 510 | 2016-02-03T13:28:18.000Z | 2022-03-23T10:23:44.000Z | src/layers/medCore/process/single_filter/medAbstractAddFilterProcess.cpp | mathildemerle/medInria-public | e8c517ef6263c1d98a62b79ca7aad30a21b61094 | [
"BSD-4-Clause",
"BSD-1-Clause"
] | 36 | 2015-03-03T22:58:19.000Z | 2021-12-28T18:19:23.000Z | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2018. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.... | 32.26087 | 75 | 0.625337 | dmargery |
a3e55ddaad9a62008b7485944364a6d0cb7dbf80 | 15,358 | cpp | C++ | src-qt5/desktop-utils/lumina-calculator/mainUI.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | src-qt5/desktop-utils/lumina-calculator/mainUI.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | src-qt5/desktop-utils/lumina-calculator/mainUI.cpp | orangecms/lumina-desktop | 603e57e5d0a473ea7f51bf4cf274bebe512ac159 | [
"BSD-3-Clause"
] | null | null | null | //===========================================
// Lumina Desktop source code
// Copyright (c) 2016, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "mainUI.h"
#include "ui_mainUI.h"
#include <QDebug>
#include <QCli... | 43.88 | 139 | 0.625212 | orangecms |
a3e6650f0b687e06262a76e25947d10fd5a304dc | 1,563 | hpp | C++ | include/sprout/type_traits/aligned_union.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | 4 | 2021-12-29T22:17:40.000Z | 2022-03-23T11:53:44.000Z | dsp/lib/sprout/sprout/type_traits/aligned_union.hpp | TheSlowGrowth/TapeLooper | ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264 | [
"MIT"
] | 16 | 2021-10-31T21:41:09.000Z | 2022-01-22T10:51:34.000Z | include/sprout/type_traits/aligned_union.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==... | 37.214286 | 88 | 0.680742 | thinkoid |
a3e9459382c2fb6053e878a609b0ec781215d233 | 2,680 | cpp | C++ | SCTK/src/asclite/core/levenshtein.cpp | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 113 | 2018-11-20T06:00:39.000Z | 2022-03-29T06:01:55.000Z | SCTK/src/asclite/core/levenshtein.cpp | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 28 | 2017-09-11T16:20:26.000Z | 2022-02-13T14:16:33.000Z | SCTK/src/asclite/core/levenshtein.cpp | IIP-Sogang/Audio-Visual-Speech-Recognition | bd03be91135acbc6162b83092d462b7fe71dd007 | [
"MIT"
] | 47 | 2015-01-27T06:22:57.000Z | 2021-11-11T20:59:04.000Z | /*
* ASCLITE
* Author: Jerome Ajot, Jon Fiscus, Nicolas Radde, Chris Laprun
*
* This software was developed at the National Institute of Standards and Technology by
* employees of the Federal Government in the course of their official duties. Pursuant
* to title 17 Section 105 of the United States Code this soft... | 31.529412 | 121 | 0.690672 | IIP-Sogang |
a3e9cb3d794905ce6e673dbd21ac3453585740a5 | 25,743 | cpp | C++ | src/gpu/GrBitmapTextContext.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | 11 | 2015-01-19T22:09:14.000Z | 2019-10-03T21:45:31.000Z | src/gpu/GrBitmapTextContext.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | null | null | null | src/gpu/GrBitmapTextContext.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | 9 | 2015-02-23T12:59:43.000Z | 2022-01-27T10:30:45.000Z | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrBitmapTextContext.h"
#include "GrAtlas.h"
#include "GrDrawTarget.h"
#include "GrFontScaler.h"
#include "GrIndexBuffer.h"
#include "GrTextStrike.h"
#include "GrText... | 37.362845 | 101 | 0.565629 | Acidburn0zzz |
a3eb5ffc026bd6d9b2496f7c2e1c4b69b184af02 | 30,814 | cpp | C++ | products/PurePhone/services/appmgr/ApplicationManager.cpp | mudita/MuditaOS | fc05d5e6188630518f4456b25968ee8ccd618ba7 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | products/PurePhone/services/appmgr/ApplicationManager.cpp | mudita/MuditaOS | fc05d5e6188630518f4456b25968ee8ccd618ba7 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | products/PurePhone/services/appmgr/ApplicationManager.cpp | mudita/MuditaOS | fc05d5e6188630518f4456b25968ee8ccd618ba7 | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include <appmgr/ApplicationManager.hpp>
#include <apps-common/popups/data/BluetoothModeParams.hpp>
#include <application-desktop/ApplicationDesktop.hpp>
#include <application-onboard... | 49.460674 | 120 | 0.638963 | mudita |
a3eca9628473835be0256a192c1930ec2786a6e9 | 2,357 | cc | C++ | third_party/libaddressinput/chromium/cpp/src/ruleset.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | third_party/libaddressinput/chromium/cpp/src/ruleset.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | third_party/libaddressinput/chromium/cpp/src/ruleset.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (C) 2014 Google 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 agreed to in ... | 31.013158 | 76 | 0.704709 | iplo |
a3ed862cb12ff3413555029788917084ec13f39b | 280 | hpp | C++ | stat.hpp | syuu1228/procfile_logger | 94a23f18d554603ac1a1a96dd84698a07ebee8ba | [
"Apache-2.0"
] | 1 | 2015-10-26T21:49:33.000Z | 2015-10-26T21:49:33.000Z | stat.hpp | syuu1228/procfile_logger | 94a23f18d554603ac1a1a96dd84698a07ebee8ba | [
"Apache-2.0"
] | null | null | null | stat.hpp | syuu1228/procfile_logger | 94a23f18d554603ac1a1a96dd84698a07ebee8ba | [
"Apache-2.0"
] | null | null | null | #ifndef STAT_HPP
#define STAT_HPP
#include <memory>
#include <vector>
#include <boost/program_options.hpp>
#include "global_stats_logger.hpp"
void init_stat_logger(boost::program_options::variables_map& vm,
std::vector<std::shared_ptr<global_stats_logger> >& loggers);
#endif
| 21.538462 | 64 | 0.789286 | syuu1228 |
a3eef7011e4f6c506bdd0114438e4fa63321e5c3 | 98 | cpp | C++ | NKZX_NOI_OJ/P1500.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | 1 | 2021-04-05T16:26:00.000Z | 2021-04-05T16:26:00.000Z | NKZX_NOI_OJ/P1500.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | NKZX_NOI_OJ/P1500.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | #include<cstdio>
int main(){
double a;scanf("%lf",&a);printf("%.2f %.2f",4*a,a*a);return 0;
}
| 19.6 | 66 | 0.571429 | Rose2073 |
a3ef66fc48305a6016986e26d7cb4bcc2e05004f | 893 | cpp | C++ | chapter_4/lesson_21/BodyRotationSystem.cpp | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | 5 | 2017-05-13T20:47:13.000Z | 2020-04-18T18:18:03.000Z | chapter_4/lesson_21/BodyRotationSystem.cpp | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | null | null | null | chapter_4/lesson_21/BodyRotationSystem.cpp | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | 8 | 2016-10-24T16:24:21.000Z | 2021-03-15T11:23:57.000Z | #include "stdafx.h"
#include "BodyRotationSystem.h"
#include "TimeController.h"
#include "Scale.h"
CBodyRotationSystem::CBodyRotationSystem(ITimeController &controller)
: m_timeContoller(controller)
{
}
void CBodyRotationSystem::Update()
{
const double time = m_timeContoller.GetSpaceTime();
for (const aut... | 30.793103 | 81 | 0.702128 | sergey-shambir |
a3ef7442c8e5301bac9f09a3a34298615ffbf904 | 7,306 | cpp | C++ | ThirdParty/BCGControlBar/BCGControlBar/BCGUserToolsManager.cpp | BlackYoup/gamecq | 85d7ca2a84125e48a439c185a249e06c7bd3e3e9 | [
"MIT"
] | 12 | 2016-05-22T22:37:36.000Z | 2021-02-02T16:47:42.000Z | ThirdParty/BCGControlBar/BCGControlBar/BCGUserToolsManager.cpp | BlackYoup/gamecq | 85d7ca2a84125e48a439c185a249e06c7bd3e3e9 | [
"MIT"
] | 2 | 2017-06-16T13:30:34.000Z | 2018-01-28T21:04:24.000Z | ThirdParty/BCGControlBar/BCGControlBar/BCGUserToolsManager.cpp | BlackYoup/gamecq | 85d7ca2a84125e48a439c185a249e06c7bd3e3e9 | [
"MIT"
] | 11 | 2016-05-28T04:43:55.000Z | 2020-09-26T03:48:13.000Z | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2006 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and condi... | 24.766102 | 97 | 0.564878 | BlackYoup |
a3f14e3ae70372d3b1fb9d18687e64675722c418 | 1,301 | cc | C++ | tensorflow/lite/experimental/ruy/allocator.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/lite/experimental/ruy/allocator.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/lite/experimental/ruy/allocator.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | 25.019231 | 81 | 0.681015 | uve |
a3f2fcc335f559aca9ae932e6891e1467ba83575 | 19,914 | hpp | C++ | src/xalanc/XMLSupport/XalanXMLSerializerBase.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | null | null | null | src/xalanc/XMLSupport/XalanXMLSerializerBase.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | 1 | 2021-08-18T12:32:31.000Z | 2021-08-18T12:32:31.000Z | src/xalanc/XMLSupport/XalanXMLSerializerBase.hpp | AaronNGray/xalan | 6741bbdcb64a9d33df8bd7e21b558d66bb4292ec | [
"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 m... | 24.67658 | 117 | 0.578287 | kidaa |
a3f56b999e17175db1fa738fcad386d85b9f250c | 5,405 | cc | C++ | chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 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 "chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h"
#include "chrome/browser/extensions/api/context_menus/context_menus_api.... | 34.870968 | 82 | 0.742646 | google-ar |
a3f7a265a08d118d3b281b9618934fa37773923c | 1,073 | cpp | C++ | PrimerTest/PrimerTest/ch10/ex10_24.cpp | silence0201/C-Plus-Study | ad013f093f275620dee892033e5152083b10f2fc | [
"MIT"
] | 3,366 | 2015-03-27T10:10:24.000Z | 2022-03-31T15:46:34.000Z | PrimerTest/PrimerTest/ch10/ex10_24.cpp | silence0201/C-Plus-Study | ad013f093f275620dee892033e5152083b10f2fc | [
"MIT"
] | 129 | 2015-03-26T15:12:27.000Z | 2021-12-07T10:11:13.000Z | PrimerTest/PrimerTest/ch10/ex10_24.cpp | silence0201/C-Plus-Study | ad013f093f275620dee892033e5152083b10f2fc | [
"MIT"
] | 1,809 | 2015-03-26T08:36:59.000Z | 2022-03-30T02:17:28.000Z | //!
//! @author @Yue Wang @shbling
//!
//! Exercise 10.24:
//! Use bind and check_size to find the first element in a vector of ints that
//! has a value greater
//! than the length of a specified string value.
//!
// Discussion over this exercise on StackOverflow
// http://stackoverflow.com/questions/20539406/what-t... | 21.897959 | 84 | 0.627213 | silence0201 |
a3f8d363c31affcc1f7a2b3f841ccb4215cc2150 | 2,182 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/drawable/shapes/RectShape.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/drawable/shapes/RectShape.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/drawable/shapes/RectShape.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 29.093333 | 108 | 0.629239 | jingcao80 |
a3f99fbbfecbc11de1fc01de48c10525cac03635 | 3,694 | cpp | C++ | Scheduling/FCFS/fcfs.cpp | gggrafff/Algorithms | 06d0ee3433efb5bc1d4dc2aedcb0c2bbc2cd0f55 | [
"MIT"
] | 715 | 2018-10-01T21:30:10.000Z | 2022-03-23T09:14:10.000Z | Scheduling/FCFS/fcfs.cpp | gggrafff/Algorithms | 06d0ee3433efb5bc1d4dc2aedcb0c2bbc2cd0f55 | [
"MIT"
] | 157 | 2018-10-01T20:53:11.000Z | 2021-08-03T07:00:58.000Z | Scheduling/FCFS/fcfs.cpp | gggrafff/Algorithms | 06d0ee3433efb5bc1d4dc2aedcb0c2bbc2cd0f55 | [
"MIT"
] | 1,225 | 2018-10-01T20:56:22.000Z | 2022-02-22T04:00:27.000Z | <<<<<<< HEAD
//First Comes First Serve(FCFS)
#include<bits/stdc++.h>
using namespace std;
void Sort_by_arrival_time(int arrival_time[], int burst_time[], int n){
vector< pair <int, int> > v;
for (int i = 0; i < n; ++i){
v.push_back({arrival_time[i], burst_time[i]});
}
sort(v.begin(), v.end());
for (int i ... | 22.52439 | 82 | 0.570655 | gggrafff |
a3fafd03601cc8a8f03dd3d89ee93d3efdaf0a8b | 11,528 | cxx | C++ | alg/teca_unpack_data.cxx | LBL-EESA/TECA | 63923b8a12914f3758dc9525239bc48cd8864b39 | [
"BSD-3-Clause-LBNL"
] | 34 | 2017-03-28T14:22:25.000Z | 2022-01-23T05:02:25.000Z | alg/teca_unpack_data.cxx | LBL-EESA/TECA | 63923b8a12914f3758dc9525239bc48cd8864b39 | [
"BSD-3-Clause-LBNL"
] | 476 | 2016-11-28T18:06:06.000Z | 2022-01-25T05:31:42.000Z | alg/teca_unpack_data.cxx | LBL-EESA/TECA | 63923b8a12914f3758dc9525239bc48cd8864b39 | [
"BSD-3-Clause-LBNL"
] | 19 | 2017-04-25T18:15:04.000Z | 2020-11-28T18:16:05.000Z | #include "teca_unpack_data.h"
#include "teca_cartesian_mesh.h"
#include "teca_array_collection.h"
#include "teca_variant_array.h"
#include "teca_metadata.h"
#include "teca_array_attributes.h"
#include <algorithm>
#include <iostream>
#include <string>
#include <set>
#include <cmath>
#if defined(TECA_HAS_BOOST)
#inclu... | 31.67033 | 95 | 0.585184 | LBL-EESA |
a3fc2a174476f2c36ae82f3a0eb8634353eaaf27 | 11,531 | cpp | C++ | arduino/libraries/Button2/src/Button2.cpp | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/Button2/src/Button2.cpp | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | arduino/libraries/Button2/src/Button2.cpp | Mchaney3/AXSResearch | 6843b833a95010014bb3113ca59dda3b5e1c3663 | [
"Unlicense"
] | null | null | null | /////////////////////////////////////////////////////////////////
/*
Button2.cpp - Arduino Library to simplify working with buttons.
Created by Lennart Hennigs.
*/
/////////////////////////////////////////////////////////////////
#include "Button2.h"
///////////////////////////////////////////////////////////////... | 27.586124 | 144 | 0.471338 | Mchaney3 |
a3fd079822a73e939db263eb6c3b4c4428d617d6 | 3,579 | cc | C++ | rom.cc | galibert/vsim | 47ef7e2f6d91a066648ce340e0c3765e754fd212 | [
"BSD-3-Clause"
] | 8 | 2019-07-06T00:05:31.000Z | 2021-10-02T12:19:56.000Z | rom.cc | galibert/vsim | 47ef7e2f6d91a066648ce340e0c3765e754fd212 | [
"BSD-3-Clause"
] | null | null | null | rom.cc | galibert/vsim | 47ef7e2f6d91a066648ce340e0c3765e754fd212 | [
"BSD-3-Clause"
] | 1 | 2018-11-19T01:59:05.000Z | 2018-11-19T01:59:05.000Z | #include "blocks.h"
static const unsigned int rom[64][2] = {
{ 0x361, 0x74688127 },
{ 0x161, 0xd4688127 },
{ 0x9a1, 0xc4688127 },
{ 0x0e0, 0xf0a050a4 },
{ 0x0fb, 0x610316e8 },
{ 0x161, 0x64c9c1a6 },
{ 0x7a1, 0x34c9c1a6 },
{ 0x463, 0xf3cb546c },
{ 0x161, 0xc4e940a3 },
{ 0xb61, 0x806191a6 },
{ 0xa6... | 25.934783 | 73 | 0.52808 | galibert |
a3fe22bcc7bd3e97ac9ebd251dd01e3352542e89 | 5,362 | cpp | C++ | unittests/LoadTest.cpp | penguin-wwy/DragonLoader | 29cc813a3aad515996449ec742a43766e7bc3b0e | [
"Apache-2.0"
] | null | null | null | unittests/LoadTest.cpp | penguin-wwy/DragonLoader | 29cc813a3aad515996449ec742a43766e7bc3b0e | [
"Apache-2.0"
] | null | null | null | unittests/LoadTest.cpp | penguin-wwy/DragonLoader | 29cc813a3aad515996449ec742a43766e7bc3b0e | [
"Apache-2.0"
] | null | null | null | //
// Created by penguin on 20-1-15.
//
#include <iostream>
#include <fstream>
#include "llvm/Support/SourceMgr.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/ExecutionEngine/MCJIT.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "... | 33.72327 | 611 | 0.690601 | penguin-wwy |
a3fe874a4d7150056180b581459429533fed4e75 | 15,430 | cc | C++ | src/Circle.cc | DottorZini/Clothoids | 5dc563ae56044edb3efee1f3ca37501afa184328 | [
"BSD-2-Clause"
] | null | null | null | src/Circle.cc | DottorZini/Clothoids | 5dc563ae56044edb3efee1f3ca37501afa184328 | [
"BSD-2-Clause"
] | null | null | null | src/Circle.cc | DottorZini/Clothoids | 5dc563ae56044edb3efee1f3ca37501afa184328 | [
"BSD-2-Clause"
] | null | null | null | /*--------------------------------------------------------------------------*\
| |
| Copyright (C) 2017 |
| |
| ... | 28.311927 | 83 | 0.358652 | DottorZini |
a3feb5ac74dcb3f04003fceb6fbfead6c66660b5 | 458 | cpp | C++ | src/file.cpp | jw-develop/bit-chess | ffb80dd65f798b60feb180f552dae90fb776c55e | [
"MIT"
] | null | null | null | src/file.cpp | jw-develop/bit-chess | ffb80dd65f798b60feb180f552dae90fb776c55e | [
"MIT"
] | null | null | null | src/file.cpp | jw-develop/bit-chess | ffb80dd65f798b60feb180f552dae90fb776c55e | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2013-2016 Phokham Nonava
*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
#include "file.h"
namespace pulse {
const std::array<int, File::VALUES_SIZE> File::values = {
a, b, c, d, e, f, g, h
};
bool File::isValid(int file) {
switch (fi... | 13.878788 | 69 | 0.611354 | jw-develop |
a3ffbfea1a157cabad920737510cfcac3de715b7 | 1,987 | cpp | C++ | MaLiang/enhancementsconvolutionsetting.cpp | InspAlgo/MaLiang | 3bcbb9c54308113272a11dbe718d2b6bfe900a6f | [
"MIT"
] | 1 | 2018-10-01T07:08:14.000Z | 2018-10-01T07:08:14.000Z | MaLiang/enhancementsconvolutionsetting.cpp | InspAlgo/MaLiang | 3bcbb9c54308113272a11dbe718d2b6bfe900a6f | [
"MIT"
] | null | null | null | MaLiang/enhancementsconvolutionsetting.cpp | InspAlgo/MaLiang | 3bcbb9c54308113272a11dbe718d2b6bfe900a6f | [
"MIT"
] | null | null | null | #include "enhancementsconvolutionsetting.h"
#include "ui_enhancementsconvolutionsetting.h"
#include <QMessageBox>
EnhancementsConvolutionSetting::EnhancementsConvolutionSetting(QWidget *parent) :
QDialog(parent),
ui(new Ui::EnhancementsConvolutionSetting)
{
ui->setupUi(this);
this->setWindowTitle(tr(... | 21.365591 | 95 | 0.584298 | InspAlgo |
4300bac2cdb4f680c06c071e34f44c2fa4b19485 | 10,479 | cpp | C++ | Gui/mafGUISettingsTimeBar.cpp | FusionBox2/MAF2 | b576955f4f6b954467021f12baedfebcaf79a382 | [
"Apache-2.0"
] | 1 | 2018-01-23T09:13:40.000Z | 2018-01-23T09:13:40.000Z | Gui/mafGUISettingsTimeBar.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | Gui/mafGUISettingsTimeBar.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | 3 | 2020-09-24T16:04:53.000Z | 2020-09-24T16:50:30.000Z | /*=========================================================================
Program: MAF2
Module: mafGUISettingsTimeBar
Authors: Paolo Quadrani
Copyright (c) B3C
All rights reserved. See Copyright.txt or
http://www.scsitaly.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; wit... | 32.64486 | 136 | 0.496231 | FusionBox2 |
430130c297d0e143a7ac637e729e58e765cd04ea | 3,377 | cpp | C++ | Atcoder/AGC038/F.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | Atcoder/AGC038/F.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | Atcoder/AGC038/F.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | /*
the vast starry sky,
bright for those who chase the light.
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
#define mk make_pair
const int inf=(int)1e9;
const ll INF=(ll)5e18;
const int MOD=998244353;
int _abs(int x){return x<0 ? -x : x;}
int add(int x,int y){x+=y; ret... | 29.622807 | 98 | 0.491857 | jinzhengyu1212 |
4305dfad6c9432e9fcaef8022c5aa95a1c4a86e5 | 1,364 | hpp | C++ | include/eepp/version.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | include/eepp/version.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | include/eepp/version.hpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #ifndef EE_VERSION_HPP
#define EE_VERSION_HPP
#include <eepp/config.hpp>
#include <string>
#define EEPP_MAJOR_VERSION 2
#define EEPP_MINOR_VERSION 3
#define EEPP_PATCH_LEVEL 0
#define EEPP_CODENAME "Anāgāmin"
/** The compiled version of the library */
#define EEPP_VERSION( x ) \
{ ... | 25.259259 | 94 | 0.670821 | jayrulez |
4309874580704c982792a26c235bb31eef07ceac | 2,002 | hpp | C++ | vm/test/capi/test_handles.hpp | jmhodges/rubinius | dbedc65ca7fc9c8a93c913ea470a9b40382fa55e | [
"BSD-3-Clause"
] | 2 | 2016-08-07T17:14:57.000Z | 2020-03-03T08:51:37.000Z | vm/test/capi/test_handles.hpp | rkh/rubinius | c4bcccbfba7656af4debc843953d7e29e3529ce7 | [
"BSD-3-Clause"
] | null | null | null | vm/test/capi/test_handles.hpp | rkh/rubinius | c4bcccbfba7656af4debc843953d7e29e3529ce7 | [
"BSD-3-Clause"
] | null | null | null | #include "vm/test/test.hpp"
#include "vm.hpp"
#include "objectmemory.hpp"
#include "builtin/nativemethod.hpp"
#include "capi/capi.hpp"
#include "capi/include/ruby.h"
#include "capi_reset.h"
using namespace rubinius;
using namespace capi;
class TestCApiHandles : public CxxTest::TestSuite, public VMTest {
public:
... | 22.75 | 66 | 0.715285 | jmhodges |
430a71651bfa4dde6a17764265012068c5b4af6f | 2,301 | cc | C++ | gin/isolate_holder.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | gin/isolate_holder.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | gin/isolate_holder.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright 2013 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 "gin/public/isolate_holder.h"
#include <stdlib.h>
#include <string.h>
#include "base/logging.h"
#include "base/rand_util.h"
#include "base/sys_... | 26.755814 | 74 | 0.722729 | iplo |
430b7c175fe7c8aedaf37cb798607b4a0f3c7fac | 1,293 | cpp | C++ | UVa 10263 railway/sample/10263 - Railway.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 10263 railway/sample/10263 - Railway.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 10263 railway/sample/10263 - Railway.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <math.h>
double dist(double a, double b, double c, double d) {
return (a-c)*(a-c)+(b-d)*(b-d);
}
int in(double a, double b, double c) {
return (a >= b && a <= c) || (a <= b && a >= c);
}
int main() {
double xm, ym;
int n;
while(scanf("%lf %lf", &xm, &ym) == 2) {
... | 30.785714 | 77 | 0.379737 | tadvi |
430d5c6dc6cee51f1fce3bc6ecabafe7d6c03d14 | 10,065 | cxx | C++ | RAW/RAWDatarec/AliRawReaderChain.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | RAW/RAWDatarec/AliRawReaderChain.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | RAW/RAWDatarec/AliRawReaderChain.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 28.114525 | 110 | 0.641232 | AllaMaevskaya |
430d7e39c530e6e043f7f754b4095f7c2a87f275 | 11,953 | cpp | C++ | src/modules/osgAnimation/generated_code/UpdateBone.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 3 | 2017-04-20T09:11:47.000Z | 2021-04-29T19:24:03.000Z | src/modules/osgAnimation/generated_code/UpdateBone.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | src/modules/osgAnimation/generated_code/UpdateBone.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "wrap_osgAnimation.h"
#include "wrap_referenced.h"
#include "UpdateBone.pypp.hpp"
namespace bp = boost::python;
struct UpdateBone_wrapper : osgAnimation::UpdateBone, bp::wrapper< osgAnimation::UpdateBone > {
UpdateBone_wrapper(::std::... | 40.518644 | 176 | 0.596252 | cmbruns |
430dfce395d8d768640c6c5a8edb0a1241d638f6 | 92 | cpp | C++ | Include em C/Include.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | Include em C/Include.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | Include em C/Include.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include "./incluindo/main.cpp";
| 18.4 | 32 | 0.695652 | Suricat0Br |
430e73b3d7bd1f597a6e88a06e52f7ce9b50653b | 2,612 | hpp | C++ | include/libtorrent/bandwidth_queue_entry.hpp | luluandleilei/libtorrent | 8648de3706efe0d9ab2504793bd0dd8a9566a1d6 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | include/libtorrent/bandwidth_queue_entry.hpp | luluandleilei/libtorrent | 8648de3706efe0d9ab2504793bd0dd8a9566a1d6 | [
"BSL-1.0",
"BSD-3-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | include/libtorrent/bandwidth_queue_entry.hpp | luluandleilei/libtorrent | 8648de3706efe0d9ab2504793bd0dd8a9566a1d6 | [
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
Copyright (c) 2007-2016, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | 35.297297 | 78 | 0.785988 | luluandleilei |
430eb6d7507eae1b9c274b976848ed8efe00d842 | 9,117 | cpp | C++ | src/audio/oni-audio-manager.cpp | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | 2 | 2019-08-01T09:18:49.000Z | 2020-03-26T05:59:52.000Z | src/audio/oni-audio-manager.cpp | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | null | null | null | src/audio/oni-audio-manager.cpp | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | 1 | 2020-03-26T05:59:53.000Z | 2020-03-26T05:59:53.000Z | #include <oni-core/audio/oni-audio-manager.h>
#include <assert.h>
#include <fmod.hpp>
#include <oni-core/component/oni-component-geometry.h>
#include <oni-core/entities/oni-entities-manager.h>
#include <oni-core/game/oni-game-event.h>
#define ERRCHECK(_result) assert((_result) == FMOD_OK)
namespace oni {
Audi... | 29.990132 | 114 | 0.576834 | sina- |
430f0d60423784bdaa7331746bab5791c9aeac4f | 277 | hpp | C++ | Client/client/Global.hpp | pinkmouse/SlayersWorld | 53cdde28f3464ee9ada9b655f8c4df63f0e9389e | [
"MIT"
] | 14 | 2019-03-05T10:03:59.000Z | 2021-12-21T03:00:18.000Z | Client/client/Global.hpp | pinkmouse/SlayersWorld | 53cdde28f3464ee9ada9b655f8c4df63f0e9389e | [
"MIT"
] | 1 | 2019-10-24T21:37:59.000Z | 2019-10-24T21:37:59.000Z | Client/client/Global.hpp | pinkmouse/SlayersWorld | 53cdde28f3464ee9ada9b655f8c4df63f0e9389e | [
"MIT"
] | 1 | 2020-12-06T21:07:52.000Z | 2020-12-06T21:07:52.000Z | #pragma once
#include "Entities/Player.hpp"
#include "Socket/Socket.hpp"
#include <SFML/Graphics/Font.hpp>
#include "World/ConfigHandler.hpp"
extern ConfigHandler* g_Config;
extern Player* g_Player;
extern Socket* g_Socket;
extern sf::Font* g_Font; | 25.181818 | 34 | 0.703971 | pinkmouse |
430f44e2fb83aa6d267000ba687eaa6e6177c9cb | 3,444 | hpp | C++ | cpp/src/jit/common_headers.hpp | jperez999/cudf | e63eb311089837eaa24fa871e1106ec3ce5df318 | [
"Apache-2.0"
] | null | null | null | cpp/src/jit/common_headers.hpp | jperez999/cudf | e63eb311089837eaa24fa871e1106ec3ce5df318 | [
"Apache-2.0"
] | null | null | null | cpp/src/jit/common_headers.hpp | jperez999/cudf | e63eb311089837eaa24fa871e1106ec3ce5df318 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019-2020, NVIDIA CORPORATION.
*
* Copyright 2018-2019 BlazingDB, Inc.
* Copyright 2018 Christian Noboa Mardini <christian@blazingdb.com>
*
* 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... | 37.434783 | 98 | 0.738676 | jperez999 |
430f6df5724b6b5e07ad83c5d52c126d7790d55a | 3,964 | cpp | C++ | Nistal Engine/ModuleSceneIntro.cpp | AlbertCayuela/NistalEngine | d5a082c49326dcd47557fdb856a5a86deac40616 | [
"MIT"
] | null | null | null | Nistal Engine/ModuleSceneIntro.cpp | AlbertCayuela/NistalEngine | d5a082c49326dcd47557fdb856a5a86deac40616 | [
"MIT"
] | null | null | null | Nistal Engine/ModuleSceneIntro.cpp | AlbertCayuela/NistalEngine | d5a082c49326dcd47557fdb856a5a86deac40616 | [
"MIT"
] | 1 | 2020-09-28T13:25:32.000Z | 2020-09-28T13:25:32.000Z | #include "Globals.h"
#include "Application.h"
#include "ModuleSceneIntro.h"
#include "ModuleUI.h"
#include "GOMesh.h"
#include "GOMaterial.h"
#include "GOTransform.h"
#include "GOCamera.h"
#include "GameObject.h"
#include "GOAudioSource.h"
#include "ModuleSerialization.h"
#include "SDL/include/SDL_opengl.h"
#include <... | 24.469136 | 101 | 0.639001 | AlbertCayuela |
431425020a741c006bde96a5257d0038906ad258 | 2,995 | cpp | C++ | node_modules/gl/angle/src/compiler/translator/OutputGLSL.cpp | aaverty/editly | 71bccaf91f8d68609c80ba59425b79e3f94579ad | [
"MIT"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | Source/ANGLE/compiler/translator/OutputGLSL.cpp | wpbest/XPF | cb54ad82a8c6f675f2d5bc840a78f66f03de65e2 | [
"MIT"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | Source/ANGLE/compiler/translator/OutputGLSL.cpp | wpbest/XPF | cb54ad82a8c6f675f2d5bc840a78f66f03de65e2 | [
"MIT"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | //
// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "compiler/translator/OutputGLSL.h"
TOutputGLSL::TOutputGLSL(TInfoSinkBase& objSink,
ShArrayIndexCla... | 29.07767 | 77 | 0.583306 | aaverty |
4314e8076b874312a448e0e8cdcfa013e820c93a | 4,574 | cpp | C++ | PatchNotes/src/Views/Deleting/DeleteElementView.cpp | LazyPanda07/PatchNotes | e752967536a43199db03cf724d44e89d6eb67881 | [
"MIT"
] | null | null | null | PatchNotes/src/Views/Deleting/DeleteElementView.cpp | LazyPanda07/PatchNotes | e752967536a43199db03cf724d44e89d6eb67881 | [
"MIT"
] | 26 | 2021-07-27T09:18:09.000Z | 2022-03-03T22:47:11.000Z | PatchNotes/src/Views/Deleting/DeleteElementView.cpp | LazyPanda07/PatchNotes | e752967536a43199db03cf724d44e89d6eb67881 | [
"MIT"
] | null | null | null | #include "DeleteElementView.h"
#include "Composites/DialogBox.h"
#include "Controllers/Deleting/DeleteElementController.h"
#include "PatchNotesUtility.h"
#include "PatchNotesConstants.h"
#include "Initializer.h"
using namespace std;
CREATE_DEFAULT_WINDOW_FUNCTION(deleteElement)
namespace views
{
gui_framework::Ba... | 39.094017 | 212 | 0.763008 | LazyPanda07 |
4319eb2ebfeb91efc38c94d3afea14d48c128566 | 244 | cpp | C++ | Ch 03/3.02.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 03/3.02.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 03/3.02.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::getline;
int main()
{
string s1;
//getline(cin, s1); // 一次读入一整行
cin >> s1; // 一次读入一个单词
cout << s1 << endl;
return 0;
} | 13.555556 | 32 | 0.639344 | Felon03 |
431a9bf1bd9b514575bfdb0528f1de75497d2776 | 9,745 | cpp | C++ | src/mongo/platform/backtrace.cpp | amplidata/mongo | e33a6c57607871f1b204bd5e1d8ea4a14ad06452 | [
"Apache-2.0"
] | 1 | 2015-07-17T04:37:51.000Z | 2015-07-17T04:37:51.000Z | src/mongo/platform/backtrace.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | src/mongo/platform/backtrace.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2013 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | 42.741228 | 99 | 0.626065 | amplidata |
431b906438b54e8b301619151d0bc7a94cfc1cad | 1,256 | cpp | C++ | src/graphics/impl/frame/text.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | 5 | 2018-03-28T09:14:55.000Z | 2018-04-02T11:54:33.000Z | src/graphics/impl/frame/text.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | src/graphics/impl/frame/text.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | #include "graphics/impl/frame/text.h"
#include "core/base/bean_factory.h"
#include "core/util/documents.h"
#include "graphics/base/layer_context.h"
#include "graphics/base/render_layer.h"
#include "graphics/base/size.h"
#include "renderer/base/characters.h"
namespace ark {
Text::Text(const sp<Characters>& characte... | 26.166667 | 151 | 0.722134 | nomadsinteractive |
431bd116494c49be1da696ca679c57f49be6ddee | 924 | hpp | C++ | lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/three_dimensional/Lmotion3D.hpp | GalaxyHunters/Vivid | f724e5671b650433d0c26319c86231bd3b246e4e | [
"BSD-3-Clause"
] | null | null | null | lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/three_dimensional/Lmotion3D.hpp | GalaxyHunters/Vivid | f724e5671b650433d0c26319c86231bd3b246e4e | [
"BSD-3-Clause"
] | 222 | 2018-07-25T18:13:57.000Z | 2021-10-10T14:54:04.000Z | lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/newtonian/three_dimensional/Lmotion3D.hpp | GalaxyHunters/Vivid | f724e5671b650433d0c26319c86231bd3b246e4e | [
"BSD-3-Clause"
] | 2 | 2018-07-29T09:39:40.000Z | 2018-08-25T19:17:49.000Z | #ifndef LMOTION3D_HPP
#define LMOTION3D_HPP 1
#include "point_motion_3d.hpp"
#include "LinearGauss3D.hpp"
class LMotion3D : public PointMotion3D
{
private:
LinearGauss3D const& interp_;
EquationOfState const& eos_;
const double round_speed_,max_v_correction_;
public:
/*!
\param max_v_correction The maximum fracti... | 36.96 | 121 | 0.80303 | GalaxyHunters |
431c36c72b912fac29e4cb809f4bd0971c1ab7da | 5,620 | cpp | C++ | clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp | tiwaria1/llvm | 616a396db0610ae0c1992361af005a869ef81897 | [
"Apache-2.0"
] | null | null | null | clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp | tiwaria1/llvm | 616a396db0610ae0c1992361af005a869ef81897 | [
"Apache-2.0"
] | null | null | null | clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp | tiwaria1/llvm | 616a396db0610ae0c1992361af005a869ef81897 | [
"Apache-2.0"
] | null | null | null | //===-- ClangdLSPServerTests.cpp ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.485549 | 80 | 0.617972 | tiwaria1 |
431c524ee2242c27274b0b763622a874a9133faa | 116 | hpp | C++ | src/window_macos.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/window_macos.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | src/window_macos.hpp | jlangvand/jucipp | 0a3102f13e62d78a329d488fb1eb8812181e448e | [
"MIT"
] | null | null | null | #pragma once
extern "C" {
/// Based on https://stackoverflow.com/a/47497879
void macos_force_foreground_level();
}
| 16.571429 | 49 | 0.741379 | jlangvand |
4321495925c527791d6812903e8a79c6042b2c66 | 49,228 | cpp | C++ | iRODS/server/re/src/typing.cpp | iychoi/cyverse-irods | 0070b8677a82e763f1d940ae6537b1c8839a628a | [
"BSD-3-Clause"
] | null | null | null | iRODS/server/re/src/typing.cpp | iychoi/cyverse-irods | 0070b8677a82e763f1d940ae6537b1c8839a628a | [
"BSD-3-Clause"
] | 7 | 2019-12-02T17:55:49.000Z | 2019-12-02T17:55:59.000Z | iRODS/server/re/src/typing.cpp | benlazarine/cyverse-irods | 2bf9cfae4c3a1062ffe2af92b1f086ddc5fce025 | [
"BSD-3-Clause"
] | 1 | 2015-02-19T18:30:33.000Z | 2015-02-19T18:30:33.000Z | /* For copyright information please refer to files in the COPYRIGHT directory
*/
#include "typing.hpp"
#include "functions.hpp"
#include "rcMisc.h"
#define RE_ERROR(x); if(x) {goto error;}
#define RE_ERROR2(x,y); if(x) {localErrorMsg=(y);goto error;}
#define N_BASE_TYPES 7
NodeType baseTypes[N_BASE_TYPES] = {
T_I... | 40.955075 | 207 | 0.561246 | iychoi |
4321d560251027da5c5b1db405e88352333a19cc | 3,943 | cc | C++ | components/search_engines/template_url_service_util_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/search_engines/template_url_service_util_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/search_engines/template_url_service_util_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 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 <stddef.h>
#include "base/memory/ptr_util.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "co... | 43.32967 | 80 | 0.759574 | google-ar |
4321d62be7725cfc1920bd58023f5b94494c46aa | 5,379 | hpp | C++ | src/Evolution/Systems/GeneralizedHarmonic/Equations.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Evolution/Systems/GeneralizedHarmonic/Equations.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Evolution/Systems/GeneralizedHarmonic/Equations.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines class template GeneralizedHarmonicEquations.
#pragma once
#include <cstddef>
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Evolution/Systems/GeneralizedHarmonic/TagsDeclarations.hpp" // IWYU pragma: keep
#inclu... | 40.75 | 91 | 0.669641 | marissawalker |
4323d3af4e177f68e8f65d24930b1ae326d2cd84 | 2,911 | cc | C++ | tpm_manager/server/local_data_store_impl.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | tpm_manager/server/local_data_store_impl.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | tpm_manager/server/local_data_store_impl.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2015 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "tpm_manager/server/local_data_store_impl.h"
#include <fcntl.h>
#include <string>
#include <base/files/file_path.h>
#include <base/files/fi... | 30.322917 | 76 | 0.688767 | strassek |
4324317089a25b20113fc40180491616fda2cf7a | 644 | cpp | C++ | Spoonity/src/Platform/OpenGL/OpenGLUniformBuffer.cpp | Revelation2106/Spoonity | 7e1a5600ce12a741c39cfd73e5491bda5f804a41 | [
"Apache-2.0"
] | null | null | null | Spoonity/src/Platform/OpenGL/OpenGLUniformBuffer.cpp | Revelation2106/Spoonity | 7e1a5600ce12a741c39cfd73e5491bda5f804a41 | [
"Apache-2.0"
] | null | null | null | Spoonity/src/Platform/OpenGL/OpenGLUniformBuffer.cpp | Revelation2106/Spoonity | 7e1a5600ce12a741c39cfd73e5491bda5f804a41 | [
"Apache-2.0"
] | null | null | null | #include "SpoonityPCH.h"
#include "Platform//OpenGL/OpenGLUniformBuffer.h"
#include <glad/glad.h>
namespace Spoonity {
OpenGLUniformBuffer::OpenGLUniformBuffer(uint32_t size, uint32_t binding)
{
glCreateBuffers(1, &m_RendererID);
glNamedBufferData(m_RendererID, size, nullptr, GL_DYNAMIC_DRAW); // TODO: investi... | 23.851852 | 98 | 0.773292 | Revelation2106 |
4325554a7c9e2d9c6a674488fae98ac6966243e6 | 929 | cpp | C++ | project_euler/023/23.cpp | jason24585/practice | 6f3f961f766d80c73e1855e4b6f4cb167625a22a | [
"MIT"
] | null | null | null | project_euler/023/23.cpp | jason24585/practice | 6f3f961f766d80c73e1855e4b6f4cb167625a22a | [
"MIT"
] | null | null | null | project_euler/023/23.cpp | jason24585/practice | 6f3f961f766d80c73e1855e4b6f4cb167625a22a | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#define LIMIT 28123
/* Check if number is abundant */
bool isAbundant(int x){
int sum = 0;
for(int i = 1; i <= sqrt(x); i++){
if(x % i == 0){
sum += i;
if((x/i) != i && x/i != x){
sum +=... | 20.195652 | 65 | 0.430571 | jason24585 |
43265c0729d6236f6b36f400e96f35da53c60d65 | 12,265 | cxx | C++ | osprey/common/targ_info/generate/isa_hazards_gen.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/targ_info/generate/isa_hazards_gen.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/targ_info/generate/isa_hazards_gen.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2003, 2004 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Softwar... | 28.858824 | 96 | 0.57179 | sharugupta |
4329bc284a6104c93faa311abd7a0ccd4e8a3da1 | 1,422 | cpp | C++ | TC/399-DIV2-1000.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | TC/399-DIV2-1000.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | TC/399-DIV2-1000.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <memory>
#include <iomanip>
#include <functional>
#include <new>
#include <algorithm>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <st... | 19.479452 | 54 | 0.554149 | aajjbb |
432a20539f926e33bd6e6229a137874ea1ca76bb | 9,233 | cpp | C++ | Source/Urho3D/Engine/DebugHud.cpp | sabotage3d/Urho3D | 3dfb4a4c0bfa8a7da82b934de0ce7161fec7965c | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2016-09-19T16:08:51.000Z | 2016-09-19T16:08:51.000Z | Source/Urho3D/Engine/DebugHud.cpp | fireword/Urho3D | 180936cebdf6bdcbb6eb74a0959f5616e208ca5d | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | Source/Urho3D/Engine/DebugHud.cpp | fireword/Urho3D | 180936cebdf6bdcbb6eb74a0959f5616e208ca5d | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// 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, mod... | 29.783871 | 119 | 0.643453 | sabotage3d |
432d05a6efae6eb985107888b6bb9f10335d8ac0 | 5,015 | cc | C++ | src/rewriter/correction_rewriter_test.cc | soleilpqd/mozc | 4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e | [
"BSD-3-Clause"
] | 1 | 2017-09-01T20:55:40.000Z | 2017-09-01T20:55:40.000Z | src/rewriter/correction_rewriter_test.cc | soleilpqd/mozc | 4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e | [
"BSD-3-Clause"
] | null | null | null | src/rewriter/correction_rewriter_test.cc | soleilpqd/mozc | 4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e | [
"BSD-3-Clause"
] | 2 | 2020-02-12T15:24:27.000Z | 2020-02-22T13:36:21.000Z | // Copyright 2010-2016, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 36.079137 | 79 | 0.736191 | soleilpqd |
432d23cf684395cc1ee658aa712a1bdc887b40f5 | 5,843 | cpp | C++ | implementations/ugene/src/plugins/GUITestBase/src/runnables/ugene/corelibs/U2Gui/EditSequenceDialogFiller.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/plugins/GUITestBase/src/runnables/ugene/corelibs/U2Gui/EditSequenceDialogFiller.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/plugins/GUITestBase/src/runnables/ugene/corelibs/U2Gui/EditSequenceDialogFiller.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | 40.576389 | 335 | 0.71299 | r-barnes |
432d3cdb6cb53cabeeaa82f26861c99b128575f4 | 2,139 | cpp | C++ | tests/dll_tests/raw_api_test.cpp | tshino/softcam | be472efd889900dcd7e147b4f9fed866dd738a8c | [
"MIT"
] | 8 | 2020-11-21T18:33:52.000Z | 2022-03-29T14:42:03.000Z | tests/dll_tests/raw_api_test.cpp | tshino/softcam | be472efd889900dcd7e147b4f9fed866dd738a8c | [
"MIT"
] | 4 | 2021-01-11T08:37:08.000Z | 2021-12-19T15:02:56.000Z | tests/dll_tests/raw_api_test.cpp | tshino/softcam | be472efd889900dcd7e147b4f9fed866dd738a8c | [
"MIT"
] | 2 | 2021-01-22T04:52:19.000Z | 2022-03-29T14:42:05.000Z | #include <softcam/softcam.h>
#include <gtest/gtest.h>
namespace {
TEST(scCreateCamera, Basic) {
{
void* cam = scCreateCamera(320, 240, 60);
EXPECT_NE(cam, nullptr);
EXPECT_NO_THROW({ scDeleteCamera(cam); });
}{
void* cam = scCreateCamera(1920, 1080, 30);
EXPECT_NE(cam,... | 22.051546 | 59 | 0.657317 | tshino |
432d4b862f254ea750cbd8e8506df12d63aafec5 | 5,509 | hh | C++ | src/modules/Common/mf_api.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 31 | 2015-12-15T19:14:10.000Z | 2021-12-31T17:40:21.000Z | src/modules/Common/mf_api.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 5 | 2015-12-04T08:06:47.000Z | 2020-08-09T21:49:46.000Z | src/modules/Common/mf_api.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 21 | 2015-11-05T08:25:45.000Z | 2021-06-19T02:24:50.000Z |
/*
Copyright (C) 1999-2008 by Mark D. Hill and David A. Wood for the
Wisconsin Multifacet Project. Contact: gems@cs.wisc.edu
http://www.cs.wisc.edu/gems/
--------------------------------------------------------------------
This file is part of the Ruby Multiprocessor Memory System Simulator,
... | 30.436464 | 79 | 0.662552 | cdsc-github |
4331ea95d827476ace493f114ed50046ae12c72b | 2,269 | cpp | C++ | test/function/scalar/bitwise_notand.cpp | TobiasLudwig/boost.simd | c04d0cc56747188ddb9a128ccb5715dd3608dbc1 | [
"BSL-1.0"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | test/function/scalar/bitwise_notand.cpp | remymuller/boost.simd | 3caefb7ee707e5f68dae94f8f31f72f34b7bb5de | [
"BSL-1.0"
] | null | null | null | test/function/scalar/bitwise_notand.cpp | remymuller/boost.simd | 3caefb7ee707e5f68dae94f8f31f72f34b7bb5de | [
"BSL-1.0"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//====================================... | 37.816667 | 100 | 0.62803 | TobiasLudwig |
43335d56174574930b7c0d99525ad0733a9b6723 | 19,106 | cc | C++ | content/common/gpu/gpu_channel.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | 2 | 2020-06-10T07:15:26.000Z | 2020-12-13T19:44:12.000Z | content/common/gpu/gpu_channel.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | null | null | null | content/common/gpu/gpu_channel.cc | quisquous/chromium | b25660e05cddc9d0c3053b3514f07037acc69a10 | [
"BSD-3-Clause"
] | null | null | null | // 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.
#if defined(OS_WIN)
#include <windows.h>
#endif
#include "content/common/gpu/gpu_channel.h"
#include "base/bind.h"
#include "base/command_line.h"
#i... | 33.402098 | 80 | 0.706009 | quisquous |
433508c1419475af0ed0a7c7636fe5efec6895e7 | 847 | hpp | C++ | src/cpp/ee/firebase_performance/IFirebasePerformanceTrace.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | src/cpp/ee/firebase_performance/IFirebasePerformanceTrace.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | src/cpp/ee/firebase_performance/IFirebasePerformanceTrace.hpp | enrevol/ee-x | 60a66ad3dc6e14802a7c5d8d585a8499be13f5b8 | [
"MIT"
] | null | null | null | #ifndef EE_X_I_FIREBASE_PERFORMANCE_TRACE_HPP
#define EE_X_I_FIREBASE_PERFORMANCE_TRACE_HPP
#ifdef __cplusplus
#include <cstdint>
#include <string>
#include "ee/firebase_performance/FirebasePerformanceFwd.hpp"
namespace ee {
namespace firebase {
namespace performance {
class ITrace {
public:
virtual ~ITrace() =... | 25.666667 | 74 | 0.701299 | enrevol |
43351add8a3b33b262242f77849f75924461e857 | 5,284 | cc | C++ | chrome/browser/ui/omnibox/omnibox_view_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-02-03T05:19:48.000Z | 2021-11-15T15:07:21.000Z | chrome/browser/ui/omnibox/omnibox_view_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/omnibox/omnibox_view_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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/ui/omnibox/omnibox_view.h"
#include "base/message_loop.h"
#include "base/string16.h"
#include "base/string_util.h"
#include "... | 37.211268 | 79 | 0.663323 | devasia1000 |
4335b6a5b7a2c1d48a95aa209da16a158fe90e27 | 2,312 | cc | C++ | src/fail.cc | hamish-milne/windowjs | 4e50ac3bd5c418966f3fac91698563908f156303 | [
"MIT"
] | 1 | 2022-01-12T09:49:54.000Z | 2022-01-12T09:49:54.000Z | src/fail.cc | hamish-milne/windowjs | 4e50ac3bd5c418966f3fac91698563908f156303 | [
"MIT"
] | 1 | 2022-01-13T04:54:24.000Z | 2022-01-13T04:54:24.000Z | src/fail.cc | hamish-milne/windowjs | 4e50ac3bd5c418966f3fac91698563908f156303 | [
"MIT"
] | null | null | null | #include "fail.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <v8/src/base/debug/stack_trace.h>
#include "platform.h"
#include "version.h"
#if defined(WINDOWJS_WIN)
#include <windows.h>
#else
#include <signal.h>
#endif
static const char intro[] =
"The program has crashed.\n\nPlease file... | 22.230769 | 77 | 0.682958 | hamish-milne |
4336b8bb63ce61557dfb8a21ba2414de611e143b | 3,797 | cpp | C++ | arf_demo/src/demo.cpp | JeroenDM/arf | 4c251ef9c0614e6a8cb8ee4a218ad6da3fa9742b | [
"Apache-2.0"
] | 1 | 2021-12-03T17:22:45.000Z | 2021-12-03T17:22:45.000Z | arf_demo/src/demo.cpp | JeroenDM/arf | 4c251ef9c0614e6a8cb8ee4a218ad6da3fa9742b | [
"Apache-2.0"
] | null | null | null | arf_demo/src/demo.cpp | JeroenDM/arf | 4c251ef9c0614e6a8cb8ee4a218ad6da3fa9742b | [
"Apache-2.0"
] | null | null | null | #include <ros/ros.h>
#include <vector>
#include <Eigen/Dense>
#include <moveit_visual_tools/moveit_visual_tools.h>
#include <simple_moveit_wrapper/industrial_robot.h>
#include "arf_trajectory/trajectory.h"
#include "arf_graph/graph.h"
#include "arf_graph/util.h"
namespace rvt = rviz_visual_tools;
namespace smw = sim... | 24.339744 | 112 | 0.667106 | JeroenDM |
433ad1b831eabce279aa1eeab88a046dbed7a731 | 8,287 | cpp | C++ | saber/funcs/impl/arm/neon/saber_conv_direct.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 533 | 2018-05-18T06:14:04.000Z | 2022-03-23T11:46:30.000Z | saber/funcs/impl/arm/neon/saber_conv_direct.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 100 | 2018-05-26T08:32:48.000Z | 2022-03-17T03:26:25.000Z | saber/funcs/impl/arm/neon/saber_conv_direct.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 167 | 2018-05-18T06:14:35.000Z | 2022-02-14T01:44:20.000Z | #include "saber/funcs/impl/arm/saber_conv_direct.h"
#include "saber/funcs/impl/arm/neon/impl/conv_arm_impl.h"
#include "saber/funcs/impl/arm/neon/impl/conv_block_utils.h"
namespace anakin{
namespace saber {
/****************************************** Direct Conv Precision Is Float *************************************... | 39.841346 | 118 | 0.592374 | baajur |
433b69c1f107beaf8636f80fe7774f9622696650 | 13,890 | hpp | C++ | include/utility/container/map.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | 2 | 2017-12-10T10:59:48.000Z | 2017-12-13T04:11:14.000Z | include/utility/container/map.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null | include/utility/container/map.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null |
#ifndef __UTILITY_CONTAINER_MAP__
#define __UTILITY_CONTAINER_MAP__
/**
* \file map.hpp
* \author Inochi Amaoto
*
*
*/
#include<utility/config/utility_config.hpp>
#include<utility/container/container_helper.hpp>
#include<utility/algorithm/move.hpp>
#include<utility/algorithm/swap.hpp>
#include<utility/algorith... | 30.327511 | 79 | 0.588049 | SakuraLife |
433d710b86998eaf44bccbd3d4bf0830e577393d | 15,387 | cc | C++ | components/autofill/android/provider/autofill_provider_android.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | components/autofill/android/provider/autofill_provider_android.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/autofill/android/provider/autofill_provider_android.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/android/provider/autofill_provider_android.h"
#include <memory>
#include "base/android/jni_android.h"
#include "base/andro... | 34.345982 | 82 | 0.705076 | iridium-browser |
433e66ff7a4fc235ddc6a26a7bb94e53ec1d18ac | 7,914 | cpp | C++ | audio/common/Semantic/jhcBindings.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | audio/common/Semantic/jhcBindings.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | audio/common/Semantic/jhcBindings.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | // jhcBindings.cpp : list of substitutions of one node for another
//
// Written by Jonathan H. Connell, jconnell@alum.mit.edu
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 2017-2018 IBM Corporation
// Copyright 2020-2021 Etaoin Systems
//
// Licensed under the Apache Li... | 25.203822 | 88 | 0.55345 | jconnell11 |
434269e60792eb80cc9103143b0388b11fb8058f | 184 | cpp | C++ | inheritance/inherit.cpp | m0baxter/prep | d0e462ac5b09dd201c7c21b956908de52630f228 | [
"MIT"
] | null | null | null | inheritance/inherit.cpp | m0baxter/prep | d0e462ac5b09dd201c7c21b956908de52630f228 | [
"MIT"
] | null | null | null | inheritance/inherit.cpp | m0baxter/prep | d0e462ac5b09dd201c7c21b956908de52630f228 | [
"MIT"
] | null | null | null |
#include <iostream>
#include "inherit.hpp"
int main() {
BaseClass b(1,2,3);
FirstChildPublic pub;
FirstChildProtected priv;
FirstChildPrivate prot;
return 0;
}
| 11.5 | 28 | 0.663043 | m0baxter |
43430b411179bd618c82372d0f8835e11012edb4 | 2,008 | cc | C++ | leetcode/22-generate-parentheses.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | 6 | 2019-03-11T10:38:02.000Z | 2022-01-07T08:55:58.000Z | leetcode/22-generate-parentheses.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | null | null | null | leetcode/22-generate-parentheses.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | 1 | 2021-03-05T02:03:11.000Z | 2021-03-05T02:03:11.000Z | // 22. Generate Parentheses
// https://leetcode.com/problems/generate-parentheses/
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include "leetcode_util.h"
using namespace std;
class Solution {
inline bool isBalanced(const pair<int, int> & paren_count) {
return paren_count.fir... | 34.033898 | 81 | 0.479084 | Stone-Zeng |
4344b6ffd0bc0929c676e7c0c315910ddb896471 | 105 | hpp | C++ | falcon/preprocessor/nil.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/preprocessor/nil.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/preprocessor/nil.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_PREPROCESSOR_NIL_HPP
#define FALCON_PREPROCESSOR_NIL_HPP
#define FALCON_PP_NIL()
#endif
| 15 | 35 | 0.857143 | jonathanpoelen |