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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
434949765f504bc41f0cee7a156176707bd2c700 | 213 | cpp | C++ | atcoder/abc125/a.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | atcoder/abc125/a.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | atcoder/abc125/a.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int a;
int b;
int t;
cin >> a >> b >> t;
int generated_times = t / a;
int result = generated_times * b;
cout << result << endl;
}
| 15.214286 | 37 | 0.544601 | yuik46 |
43496fe37432c55a2934311ae541ba44be883d20 | 20,725 | cpp | C++ | src/index/CompressedRelation.cpp | ad-freiburg/QLever | d9e30cb3e0b430562ffe35c1703ff40d2e7edb09 | [
"Apache-2.0"
] | 55 | 2018-03-21T22:26:11.000Z | 2021-09-06T18:19:54.000Z | src/index/CompressedRelation.cpp | hannahbast/qlever | 2bf013b8395f36e6e920d692904ec021f005f763 | [
"Apache-2.0"
] | 261 | 2018-03-13T11:27:44.000Z | 2021-09-13T15:27:01.000Z | src/index/CompressedRelation.cpp | hannahbast/qlever | 2bf013b8395f36e6e920d692904ec021f005f763 | [
"Apache-2.0"
] | 17 | 2018-03-30T13:47:32.000Z | 2021-08-13T16:14:39.000Z | // Copyright 2021, University of Freiburg,
// Chair of Algorithms and Data Structures.
// Author: Johannes Kalmbach (kalmbacj@informatik.uni-freiburg.de)
#include "CompressedRelation.h"
#include "../engine/IdTable.h"
#include "../util/Cache.h"
#include "../util/CompressionUsingZstd/ZstdWrapper.h"
#include "../util/Co... | 42.03854 | 80 | 0.693848 | ad-freiburg |
434c01cc9e2933f000c0a3bcf21da7e487733953 | 521 | hpp | C++ | tools/material_munge/src/terrain_assemble_textures.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 13 | 2019-03-25T09:40:12.000Z | 2022-03-13T16:12:39.000Z | tools/material_munge/src/terrain_assemble_textures.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 110 | 2018-10-16T09:05:43.000Z | 2022-03-16T23:32:28.000Z | tools/material_munge/src/terrain_assemble_textures.hpp | SleepKiller/swbfii-shaderpatch | b49ce3349d4dd09b19237ff4766652166ba1ffd4 | [
"MIT"
] | 1 | 2020-02-06T20:32:50.000Z | 2020-02-06T20:32:50.000Z | #pragma once
#include <filesystem>
#include <string>
#include <string_view>
#include <vector>
#include "terrain_materials_config.hpp"
namespace sp {
void terrain_assemble_textures(const Terrain_materials_config& config,
const std::string_view texture_suffix,
... | 27.421053 | 77 | 0.602687 | SleepKiller |
434d8114ef41d4d07d02d867b2f293201ea6b40c | 3,319 | cc | C++ | src/pastar.cc | jinnaiyuu/pbnf | d197723e7499a91e2c15042de243ccab2cb0f9d5 | [
"MIT"
] | 4 | 2019-03-19T17:31:33.000Z | 2022-01-08T12:27:33.000Z | src/pastar.cc | jinnaiyuu/pbnf | d197723e7499a91e2c15042de243ccab2cb0f9d5 | [
"MIT"
] | null | null | null | src/pastar.cc | jinnaiyuu/pbnf | d197723e7499a91e2c15042de243ccab2cb0f9d5 | [
"MIT"
] | 1 | 2019-04-26T08:17:22.000Z | 2019-04-26T08:17:22.000Z | // © 2014 the PBNF Authors under the MIT license. See AUTHORS for the list of authors.
/**
* \file pastar.cc
*
*
*
* \author Sofia Lemons
* \date 2008-11-02
*/
#include "util/thread.h"
#include "state.h"
#include "pastar.h"
class PAStarThread : public Thread {
public:
PAStarThread() {}
PAStarThread(PAStar *... | 20.237805 | 97 | 0.580295 | jinnaiyuu |
434e1e2ab444ce0402dd219a7cfb6da497909e20 | 5,839 | cc | C++ | src/swganh/object/installation/installation.cc | JohnShandy/swganh | d20d22a8dca2e9220a35af0f45f7935ca2eda531 | [
"MIT"
] | 1 | 2015-03-25T16:02:17.000Z | 2015-03-25T16:02:17.000Z | src/swganh/object/installation/installation.cc | JohnShandy/swganh | d20d22a8dca2e9220a35af0f45f7935ca2eda531 | [
"MIT"
] | null | null | null | src/swganh/object/installation/installation.cc | JohnShandy/swganh | d20d22a8dca2e9220a35af0f45f7935ca2eda531 | [
"MIT"
] | null | null | null | // This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#include "swganh/object/installation/installation.h"
using namespace std;
using namespace swganh::object::installation;
uint32_t Installation::GetType() const
{
return Installation::typ... | 19.996575 | 103 | 0.680939 | JohnShandy |
435073b33f3d45016bec31315aa31e44ffde89a7 | 9,122 | cpp | C++ | activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionControlMarshaller.cpp | novomatic-tech/activemq-cpp | d6f76ede90d21b7ee2f0b5d4648e440e66d63003 | [
"Apache-2.0"
] | 87 | 2015-03-02T17:58:20.000Z | 2022-02-11T02:52:52.000Z | activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionControlMarshaller.cpp | korena/activemq-cpp | e4c56ee4fec75c3284b9167a7215e2d80a9a4dc4 | [
"Apache-2.0"
] | 3 | 2017-05-10T13:16:08.000Z | 2019-01-23T20:21:53.000Z | activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/ConnectionControlMarshaller.cpp | korena/activemq-cpp | e4c56ee4fec75c3284b9167a7215e2d80a9a4dc4 | [
"Apache-2.0"
] | 71 | 2015-04-28T06:04:04.000Z | 2022-03-15T13:34:06.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 38.652542 | 153 | 0.618614 | novomatic-tech |
4352ca4eb1b4c528acbf3c368387dfb587cc2603 | 2,428 | cpp | C++ | testsuite/core/thread/TestCase_Core_Thread_Tls.cpp | lailongwei/llbc | ec7e69bfa1f0afece8bb19dfa9a0a4578508a077 | [
"MIT"
] | 83 | 2015-11-10T09:52:56.000Z | 2022-01-12T11:53:01.000Z | testsuite/core/thread/TestCase_Core_Thread_Tls.cpp | lailongwei/llbc | ec7e69bfa1f0afece8bb19dfa9a0a4578508a077 | [
"MIT"
] | 30 | 2017-09-30T07:43:20.000Z | 2022-01-23T13:18:48.000Z | testsuite/core/thread/TestCase_Core_Thread_Tls.cpp | lailongwei/llbc | ec7e69bfa1f0afece8bb19dfa9a0a4578508a077 | [
"MIT"
] | 34 | 2015-11-14T12:37:44.000Z | 2021-12-16T02:38:36.000Z | // The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.com>
//
// 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 r... | 30.734177 | 89 | 0.7014 | lailongwei |
4354ef0f969361e3b587ee9234aaada412f35a5c | 9,499 | cpp | C++ | src/modules/packetio/drivers/dpdk/port/checksum_calculator.cpp | smprogsoft/openperf | 2eabdf86a14be2f56773e370708e27f94971c6f4 | [
"Apache-2.0"
] | 20 | 2019-12-04T01:28:52.000Z | 2022-03-17T14:09:34.000Z | src/modules/packetio/drivers/dpdk/port/checksum_calculator.cpp | smprogsoft/openperf | 2eabdf86a14be2f56773e370708e27f94971c6f4 | [
"Apache-2.0"
] | 115 | 2020-02-04T21:29:54.000Z | 2022-02-17T13:33:51.000Z | src/modules/packetio/drivers/dpdk/port/checksum_calculator.cpp | smprogsoft/openperf | 2eabdf86a14be2f56773e370708e27f94971c6f4 | [
"Apache-2.0"
] | 16 | 2019-12-03T16:41:18.000Z | 2021-11-06T04:44:11.000Z | #include <array>
#include "lib/packet/protocol/protocols.hpp"
#include "packetio/drivers/dpdk/dpdk.h"
#include "packetio/drivers/dpdk/port/checksum_calculator.hpp"
#include "packetio/drivers/dpdk/port/signature_utils.hpp"
#include "packetio/drivers/dpdk/port_info.hpp"
#include "spirent_pga/api.h"
namespace openperf::... | 38.302419 | 80 | 0.472155 | smprogsoft |
43561b53cca7812ed59f6c2f68182a6cbff30543 | 749 | cpp | C++ | src/usdTri/moduleDeps.cpp | colevfx/USDPluginExamples | ccc5b2c69fa8757a169b8095675565f9cea2c1a0 | [
"Apache-2.0"
] | 68 | 2020-11-25T22:08:55.000Z | 2022-03-25T23:09:47.000Z | src/usdTri/moduleDeps.cpp | colevfx/USDPluginExamples | ccc5b2c69fa8757a169b8095675565f9cea2c1a0 | [
"Apache-2.0"
] | 16 | 2020-11-27T04:49:18.000Z | 2021-08-31T08:05:11.000Z | src/usdTri/moduleDeps.cpp | colevfx/USDPluginExamples | ccc5b2c69fa8757a169b8095675565f9cea2c1a0 | [
"Apache-2.0"
] | 9 | 2020-12-11T00:27:22.000Z | 2021-12-01T21:21:31.000Z | //
// Copyright © 2021 Weta Digital Limited
//
// SPDX-License-Identifier: Apache-2.0
//
#include <pxr/base/tf/registryManager.h>
#include <pxr/base/tf/scriptModuleLoader.h>
#include <pxr/base/tf/token.h>
#include <pxr/pxr.h>
#include <vector>
PXR_NAMESPACE_OPEN_SCOPE
TF_REGISTRY_FUNCTION(TfScriptModuleLoader)
{
... | 26.75 | 70 | 0.688919 | colevfx |
4357f5d9c8db63e246ed0a2d3cad82cbcfaf94ca | 95,595 | cpp | C++ | Sources/GDBRemote/Session.cpp | cclauss/ds2 | 3d7c41e7b22c4184db6fe1328d1d28c9dc956fad | [
"NCSA"
] | 225 | 2015-01-08T00:50:45.000Z | 2020-01-15T04:49:42.000Z | Sources/GDBRemote/Session.cpp | cclauss/ds2 | 3d7c41e7b22c4184db6fe1328d1d28c9dc956fad | [
"NCSA"
] | 510 | 2015-02-02T11:13:29.000Z | 2019-07-17T19:07:41.000Z | Sources/GDBRemote/Session.cpp | cclauss/ds2 | 3d7c41e7b22c4184db6fe1328d1d28c9dc956fad | [
"NCSA"
] | 66 | 2015-02-27T19:50:15.000Z | 2019-12-20T07:35:16.000Z | //
// Copyright (c) 2014-present, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the University of Illinois/NCSA Open
// Source License found in the LICENSE file in the root directory of this
// source tree. An additional grant of patent rights can be found in the
// PATENTS file in the... | 28.215762 | 187 | 0.63201 | cclauss |
435865f4cc04fbadfbe32a18a52a83db3f81546f | 401 | cpp | C++ | BEGINNER/1116.cpp | fysabelah/URI | 742455a21b5f6c2fa984b423a38d991450ea51be | [
"MIT"
] | null | null | null | BEGINNER/1116.cpp | fysabelah/URI | 742455a21b5f6c2fa984b423a38d991450ea51be | [
"MIT"
] | null | null | null | BEGINNER/1116.cpp | fysabelah/URI | 742455a21b5f6c2fa984b423a38d991450ea51be | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int max;
float num1, num2;
cin >> max;
while(max){
cin >> num1 >> num2;
if(num2 == 0) cout << "divisao impossivel" << endl;
else{
cout << fixed;
cout.precision(1);
cout <<... | 16.04 | 59 | 0.418953 | fysabelah |
43599005d346f05a5d9a2bd6064adb5c1e0b8a16 | 483 | cpp | C++ | SSegment.cpp | AhoyDev/Rubens-Engine | 269354486db52ed65e1528e4e34c2349d7b29d02 | [
"MIT"
] | null | null | null | SSegment.cpp | AhoyDev/Rubens-Engine | 269354486db52ed65e1528e4e34c2349d7b29d02 | [
"MIT"
] | null | null | null | SSegment.cpp | AhoyDev/Rubens-Engine | 269354486db52ed65e1528e4e34c2349d7b29d02 | [
"MIT"
] | null | null | null | #include "SSegment.h"
#include "SLine.h"
#include "SRay.h"
#include "SPlane.h"
#include "STriangle.h"
#include "SCircle.h"
#include "SPolygon.h"
#include "SFrustum.h"
#include "SSphere.h"
#include "SCapsule.h"
#include "SPolyhedron.h"
SSegment::SSegment() : SPrimitive(SEGMENT)
{
vec end = float3(0.f, 1.f, 0.f);
sha... | 21 | 81 | 0.6853 | AhoyDev |
435a3aec902fbb91a546f8e4947ea81427b2e7b4 | 4,539 | cpp | C++ | modules/ti.UI/ui_module.cpp | mital/titanium | 5e02a4406686d627f6828fd5cc18dc1a75d0714f | [
"Apache-2.0"
] | 4 | 2016-01-02T17:14:06.000Z | 2016-05-09T08:57:33.000Z | modules/ti.UI/ui_module.cpp | mital/titanium | 5e02a4406686d627f6828fd5cc18dc1a75d0714f | [
"Apache-2.0"
] | null | null | null | modules/ti.UI/ui_module.cpp | mital/titanium | 5e02a4406686d627f6828fd5cc18dc1a75d0714f | [
"Apache-2.0"
] | null | null | null | /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#include "ui_module.h"
#include <Poco/URI.h>
namespace ti
{
KROLL_MODULE(UIModule, STRING(MODULE_NAME), STRING(MODU... | 25.5 | 83 | 0.686935 | mital |
435b3adb433dccfcef4ff5749979089819024a2b | 1,153 | cpp | C++ | benchmarks/reduce_rand.cpp | wrathematics/spar | 11d75700fdffea904237357070b690ed945ab460 | [
"BSL-1.0"
] | 1 | 2019-11-07T04:29:59.000Z | 2019-11-07T04:29:59.000Z | benchmarks/reduce_rand.cpp | wrathematics/spvec | 11d75700fdffea904237357070b690ed945ab460 | [
"BSL-1.0"
] | null | null | null | benchmarks/reduce_rand.cpp | wrathematics/spvec | 11d75700fdffea904237357070b690ed945ab460 | [
"BSL-1.0"
] | null | null | null | #include "args.hpp"
#include "common.hpp"
#include "printing.hpp"
#include "timer.hpp"
#define BENCHMARK "reduce_rand"
int main(int argc, char **argv)
{
opts_t<INDEX> opts;
timer t;
// setup
spar::mpi::init();
int rank = spar::mpi::get_rank();
int size = spar::mpi::get_size();
spar::mpi::err::check_... | 20.589286 | 90 | 0.618387 | wrathematics |
435c141a630919fa012d07e7ae0ac7b816e493b7 | 1,660 | cpp | C++ | Shortest Unique prefix for every word - GFG/shortest-unique-prefix-for-every-word.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | 1 | 2022-01-02T10:29:32.000Z | 2022-01-02T10:29:32.000Z | Shortest Unique prefix for every word - GFG/shortest-unique-prefix-for-every-word.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | null | null | null | Shortest Unique prefix for every word - GFG/shortest-unique-prefix-for-every-word.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | 1 | 2022-03-04T12:44:14.000Z | 2022-03-04T12:44:14.000Z | // { Driver Code Starts
//Initial Template for C++
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function Template for C++
class Solution
{
public:
struct Node
{
int cnt{0};
Node * children[26] = {0};
};
void insert(Node * root, string& word)
{
... | 18.863636 | 53 | 0.41747 | Jatin-Shihora |
435c2c2b2dec5dd0c3f10b370e49dd0216795b2e | 2,922 | hpp | C++ | source/modules/distribution/distribution.hpp | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 43 | 2018-07-26T07:20:42.000Z | 2022-03-02T10:23:12.000Z | source/modules/distribution/distribution.hpp | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 212 | 2018-09-21T10:44:07.000Z | 2022-03-22T14:33:05.000Z | source/modules/distribution/distribution.hpp | JonathanLehner/korali | 90f97d8e2fed2311f988f39cfe014f23ba7dd6cf | [
"MIT"
] | 16 | 2018-07-25T15:00:36.000Z | 2022-03-22T14:19:46.000Z | /** \namespace korali
* @brief Namespace declaration for modules of type: korali.
*/
/** \file
* @brief Header file for module: Distribution.
*/
/** \dir distribution
* @brief Contains code, documentation, and scripts for module: Distribution.
*/
#pragma once
#include "modules/module.hpp"
#include <gsl/gsl_rng.h>
#... | 27.055556 | 119 | 0.706023 | JonathanLehner |
435fa40be18cfa69e944b0d540539b43e4ad1cb2 | 1,419 | hpp | C++ | ArIRadial/LoadFunction1D.hpp | kcdodd/masters | e96fc2feaa6edffb99f90278e14a8fcdd138db75 | [
"MIT"
] | null | null | null | ArIRadial/LoadFunction1D.hpp | kcdodd/masters | e96fc2feaa6edffb99f90278e14a8fcdd138db75 | [
"MIT"
] | null | null | null | ArIRadial/LoadFunction1D.hpp | kcdodd/masters | e96fc2feaa6edffb99f90278e14a8fcdd138db75 | [
"MIT"
] | null | null | null | #ifndef LOADFUNCTION1D_HPP_INCLUDED
#define LOADFUNCTION1D_HPP_INCLUDED
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
template<class T>
class LoadFunction1D
{
private:
string mFilename;
public:
LoadFunction1D(const string& filename)
:
mFilename(filename)
{
... | 17.096386 | 79 | 0.450317 | kcdodd |
cb1a2916c50048fd35455208875c438c6832a197 | 505 | hpp | C++ | my_vulkan/helpers/io.hpp | pixelwise/my_vulkan | f1c139ed8f95380186905d77cb8e81008f48bc95 | [
"CC0-1.0"
] | null | null | null | my_vulkan/helpers/io.hpp | pixelwise/my_vulkan | f1c139ed8f95380186905d77cb8e81008f48bc95 | [
"CC0-1.0"
] | 3 | 2019-02-25T10:13:57.000Z | 2020-11-11T14:46:14.000Z | my_vulkan/helpers/io.hpp | pixelwise/my_vulkan | f1c139ed8f95380186905d77cb8e81008f48bc95 | [
"CC0-1.0"
] | null | null | null | #pragma once
#include <vulkan/vulkan.h>
template<typename ostream_t>
ostream_t& operator<<(ostream_t& os, VkOffset2D offset)
{
os << "(" << offset.x << "," << offset.y << ")";
return os;
}
template<typename ostream_t>
ostream_t& operator<<(ostream_t& os, VkExtent2D extent)
{
os << extent.width << "x" << ... | 20.2 | 55 | 0.635644 | pixelwise |
cb1ae9b2dacee9e123ea846704eea82e2badcbf0 | 4,736 | cpp | C++ | WorldMapModule/WorldMapWidget.cpp | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | null | null | null | WorldMapModule/WorldMapWidget.cpp | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | null | null | null | WorldMapModule/WorldMapWidget.cpp | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | 1 | 2021-09-04T12:37:34.000Z | 2021-09-04T12:37:34.000Z | // For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "WorldMapWidget.h"
#include "ImageItem.h"
#include <QGraphicsScene>
#include "MemoryLeakCheck.h"
namespace WorldMap
{
WorldMapWidget::WorldMapWidget() :
updat... | 27.534884 | 120 | 0.533995 | zemo |
cb1c167fef84d5efb4380d331db0fe4ba2710461 | 1,309 | cpp | C++ | src/prod/src/Management/BackupRestoreService/BackupRestoreServiceAgentFactory.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Management/BackupRestoreService/BackupRestoreServiceAgentFactory.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Management/BackupRestoreService/BackupRestoreServiceAgentFactory.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 37.4 | 121 | 0.729565 | gridgentoo |
cb1de260065da984a654d17b4642774391cb27d8 | 7,267 | hpp | C++ | standard/17/variant/variant.hpp | jrdbb/cpp | 99a7f8ac8e280324aaa72f611558b7ccd74adfaa | [
"MIT"
] | null | null | null | standard/17/variant/variant.hpp | jrdbb/cpp | 99a7f8ac8e280324aaa72f611558b7ccd74adfaa | [
"MIT"
] | 9 | 2021-06-01T02:43:51.000Z | 2021-09-12T05:26:35.000Z | standard/17/variant/variant.hpp | jrdbb/cpp | 99a7f8ac8e280324aaa72f611558b7ccd74adfaa | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
namespace {
template <typename T, typename... Ts>
struct variant_traits {
public:
template <typename Tx>
static constexpr bool contains = (std::is_same_v<Tx, T> ||
(std::is_same_v<Tx, Ts> || ...));
inline static void destroy(std::... | 30.792373 | 80 | 0.581671 | jrdbb |
cb1e4c7d2986f4edd14f53512b9d9e215dc28781 | 12,523 | cc | C++ | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/firmware.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/firmware.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/firmware.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019 The Fuchsia Authors
//
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without
// fee is hereby granted, provided that the above copyright notice and this permission notice
// appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI... | 38.179878 | 100 | 0.680987 | opensource-assist |
cb201a74b106dfa53dd747cafc429d402fff515a | 1,773 | hpp | C++ | Phoenix3D/PX2Unity/PX2FontManager.hpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 36 | 2016-04-24T01:40:38.000Z | 2022-01-18T07:32:26.000Z | Phoenix3D/PX2Unity/PX2FontManager.hpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | null | null | null | Phoenix3D/PX2Unity/PX2FontManager.hpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 16 | 2016-06-13T08:43:51.000Z | 2020-09-15T13:25:58.000Z | // PX2FontManager.hpp
#ifndef PX2FONTMANAGER_HPP
#define PX2FONTMANAGER_HPP
#include "PX2UnityPre.hpp"
#include "PX2FontDefine.hpp"
#include "PX2Font.hpp"
#include "PX2Singleton.hpp"
#include "PX2UnityPre.hpp"
namespace PX2
{
class PX2_UNITY_ITEM FontManager : public Singleton<FontManager>
{
public:
FontManage... | 27.703125 | 88 | 0.743937 | PheonixFoundation |
cb21d206ec186d0c3d5384f95b276adcb2eb78e0 | 688 | cpp | C++ | FLOW017.cpp | SiddhantManze/My-Codechef-submission | 34214b578f2fe18b81d43e21dfca8d9f6d2fb264 | [
"MIT"
] | 1 | 2021-10-10T20:02:33.000Z | 2021-10-10T20:02:33.000Z | Codechef solutions/(CODECHEF)FLOW017.cpp | kothariji/Competitive-Programming | c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c | [
"MIT"
] | 1 | 2021-08-23T14:40:00.000Z | 2021-10-06T10:51:43.000Z | FLOW017.cpp | SiddhantManze/My-Codechef-submission | 34214b578f2fe18b81d43e21dfca8d9f6d2fb264 | [
"MIT"
] | null | null | null | /*
PROBLEM : FLOW017 (Second Largest)
*/
#include<iostream>
#define ll long long
using namespace std;
int main()
{
ll t;
cin>>t;
while(t--)
{
ll a,b,c;
cin>>a>>b>>c;
if(a>b && a>c && b>c)
{
cout<<b<<endl;
}
if(a>b && a>c && c>b)
{... | 15.636364 | 38 | 0.3125 | SiddhantManze |
cb29de5b2f864ec2e21820e64cfa009d6785fed6 | 10,406 | cxx | C++ | main/svx/source/tbxctrls/lboxctrl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/source/tbxctrls/lboxctrl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/source/tbxctrls/lboxctrl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* 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 y... | 29.902299 | 133 | 0.667403 | Grosskopf |
cb2a464e2543ebaac67e90f6fccc91686d92c6c8 | 518 | cc | C++ | src/texture.cc | ScottTodd/GraphicsPractice | 31691d5fd0b674627e41362772737168c57ec698 | [
"MIT"
] | 2 | 2016-05-08T00:25:47.000Z | 2017-04-05T02:36:31.000Z | src/texture.cc | ScottTodd/GraphicsPractice | 31691d5fd0b674627e41362772737168c57ec698 | [
"MIT"
] | 10 | 2015-08-09T21:10:55.000Z | 2015-08-10T02:50:07.000Z | src/texture.cc | ScottTodd/GraphicsPractice | 31691d5fd0b674627e41362772737168c57ec698 | [
"MIT"
] | null | null | null | #include "texture.h"
#include <iostream>
#include <lodepng.h>
Texture::Texture() {
}
void Texture::Load(const std::string& filename) {
unsigned error = lodepng::decode(image, width, height, filename);
if(error) {
std::cout << "decoder error " << error << ": "
<< lodepng_error_tex... | 22.521739 | 69 | 0.521236 | ScottTodd |
cb2b204589e090f4a129915c08cf56bf9ec483ba | 3,546 | cpp | C++ | code/engine/xrCore/xrCore.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/engine/xrCore/xrCore.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/engine/xrCore/xrCore.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | // xrCore.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include <mmsystem.h>
#include <objbase.h>
#include "xrCore.h"
#ifdef DEBUG
#include <malloc.h>
#endif // DEBUG
XRCORE_API xrCore Core;
XRCORE_API u32 build_id;
XRCORE_API LPCSTR build_date;
namespace CPU {
extern void Detect();... | 26.462687 | 85 | 0.618161 | InNoHurryToCode |
cb2fa8ae45ffc0962cd377cbfd5bb689dfe27136 | 6,872 | hpp | C++ | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/operator_relational.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/operator_relational.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/operator_relational.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | // Copyright (C) 2009-2012 NICTA (www.nicta.com.au)
// Copyright (C) 2009-2012 Conrad Sanderson
//
// This file is part of the Armadillo C++ library.
// It is provided without any warranty of fitness
// for any purpose. You can redistribute this file
// and/or modify it under the terms of the GNU
// Lesser General Pub... | 19.195531 | 167 | 0.685099 | HerrFroehlich |
cb2fcb5e3c5fe6f287efd60ab31199a71efe32d1 | 2,002 | cpp | C++ | symbian/ZXingBarcodeReader/group/zxing/oned/UPCAReader.cpp | smartshowltd/zxing | 5760e3f45a24f2b1f10d47079c44f53c804b8e9a | [
"Apache-2.0"
] | 5 | 2015-09-26T08:53:40.000Z | 2021-09-13T14:06:11.000Z | symbian/ZXingBarcodeReader/group/zxing/oned/UPCAReader.cpp | smartshowltd/zxing | 5760e3f45a24f2b1f10d47079c44f53c804b8e9a | [
"Apache-2.0"
] | null | null | null | symbian/ZXingBarcodeReader/group/zxing/oned/UPCAReader.cpp | smartshowltd/zxing | 5760e3f45a24f2b1f10d47079c44f53c804b8e9a | [
"Apache-2.0"
] | 6 | 2015-09-26T08:53:42.000Z | 2020-11-30T03:59:07.000Z | /*
* UPCAReader.cpp
* ZXing
*
* Created by Lukasz Warchol on 10-01-25.
* Copyright 2010 ZXing 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
*
* ... | 33.366667 | 117 | 0.722278 | smartshowltd |
cb303217ea901213d3d03929d49443087514d2ba | 1,457 | cpp | C++ | clang/test/SemaTemplate/ext_ms_template_spec.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | clang/test/SemaTemplate/ext_ms_template_spec.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/SemaTemplate/ext_ms_template_spec.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 -fsyntax-only -fms-extensions -std=c++11 -verify %s
namespace A {
template <class T>
class ClassTemplate; // expected-note {{explicitly specialized declaration is here}}
template <class T1, class T2>
class ClassTemplatePartial; // expected-note {{explicitly specialized declaration is here}}
templ... | 42.852941 | 256 | 0.75429 | medismailben |
cb32b5d67e286f75c45bace5a1d886a2765c6575 | 5,117 | cpp | C++ | otc/ws/nexson/nexson.cpp | OpenTreeOfLife/otcetera | 2b5ff724094f768df9bc37b9f0ffb319abd03a20 | [
"BSD-2-Clause",
"MIT"
] | 4 | 2015-04-29T09:23:12.000Z | 2020-11-30T07:43:07.000Z | otc/ws/nexson/nexson.cpp | OpenTreeOfLife/otcetera | 2b5ff724094f768df9bc37b9f0ffb319abd03a20 | [
"BSD-2-Clause",
"MIT"
] | 70 | 2015-03-19T08:19:40.000Z | 2022-03-21T19:06:18.000Z | otc/ws/nexson/nexson.cpp | OpenTreeOfLife/otcetera | 2b5ff724094f768df9bc37b9f0ffb319abd03a20 | [
"BSD-2-Clause",
"MIT"
] | 3 | 2015-07-03T19:21:20.000Z | 2015-12-02T13:24:53.000Z | #include <memory>
#include <restbed>
#include "otc/ws/nexson/nexson.h"
#include "otc/error.h"
#include "otc/ws/tolwsadaptors.h"
using std::string;
using std::pair;
using nlohmann::json;
using std::make_unique;
using std::make_shared;
using namespace restbed;
namespace otc {
// https://github.com/OpenTreeOfLife/refer... | 37.350365 | 112 | 0.605042 | OpenTreeOfLife |
cb35e0b1b7981cd1a0c28b179782ba942760bf3b | 9,617 | cpp | C++ | master/core/third/stlport/src/ios.cpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 30 | 2017-02-08T02:53:36.000Z | 2022-03-24T14:26:17.000Z | master/core/third/stlport/src/ios.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-05-25T00:39:02.000Z | 2018-04-27T10:38:47.000Z | master/core/third/stlport/src/ios.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 8 | 2017-10-31T11:12:35.000Z | 2020-06-15T04:12:51.000Z | /*
* Copyright (c) 1999
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* wi... | 30.147335 | 110 | 0.706353 | importlib |
cb3690ebe5483db5b3697e5073cd330b91454b8c | 19,465 | hpp | C++ | cell_based/test/population/TestCaUpdateRules.hpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | cell_based/test/population/TestCaUpdateRules.hpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | cell_based/test/population/TestCaUpdateRules.hpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2005-2015, 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... | 52.045455 | 181 | 0.748369 | ktunya |
cb370095a6b4e8b18d585f0df5772a6ad543bb04 | 45,446 | cpp | C++ | deps/NVIDIATextureTools/src/nvimage/DirectDrawSurface.cpp | akumetsuv/flood | e0d6647df9b7fac72443a0f65c0003b0ead7ed3a | [
"BSD-2-Clause"
] | null | null | null | deps/NVIDIATextureTools/src/nvimage/DirectDrawSurface.cpp | akumetsuv/flood | e0d6647df9b7fac72443a0f65c0003b0ead7ed3a | [
"BSD-2-Clause"
] | null | null | null | deps/NVIDIATextureTools/src/nvimage/DirectDrawSurface.cpp | akumetsuv/flood | e0d6647df9b7fac72443a0f65c0003b0ead7ed3a | [
"BSD-2-Clause"
] | 1 | 2021-05-23T16:33:11.000Z | 2021-05-23T16:33:11.000Z | // Copyright NVIDIA Corporation 2007 -- Ignacio Castano <icastano@nvidia.com>
//
// 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 r... | 28.386009 | 168 | 0.591449 | akumetsuv |
cb387c1d93f91282a5b44321d15569487062c3c6 | 7,925 | cc | C++ | chrome/browser/safe_browsing/download_protection/download_reporter.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/safe_browsing/download_protection/download_reporter.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/safe_browsing/download_protection/download_reporter.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 2019 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/safe_browsing/download_protection/download_reporter.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/brow... | 40.850515 | 107 | 0.769211 | Ron423c |
cb3989387b7fdf6648f356f2ebb79015f036fb00 | 4,017 | cpp | C++ | searchlib/src/tests/query/stackdumpquerycreator_test.cpp | gsmcwhirter/vespa | afe876252b56b5a30735865047d7392958835f6a | [
"Apache-2.0"
] | 1 | 2021-01-11T18:37:46.000Z | 2021-01-11T18:37:46.000Z | searchlib/src/tests/query/stackdumpquerycreator_test.cpp | gsmcwhirter/vespa | afe876252b56b5a30735865047d7392958835f6a | [
"Apache-2.0"
] | null | null | null | searchlib/src/tests/query/stackdumpquerycreator_test.cpp | gsmcwhirter/vespa | afe876252b56b5a30735865047d7392958835f6a | [
"Apache-2.0"
] | 1 | 2020-12-08T19:56:35.000Z | 2020-12-08T19:56:35.000Z | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// Unit tests for stackdumpquerycreator.
#include <vespa/log/log.h>
LOG_SETUP("stackdumpquerycreator_test");
#include <vespa/searchlib/parsequery/parse.h>
#include <vespa/searchlib/parsequery/stackdu... | 34.62931 | 118 | 0.709236 | gsmcwhirter |
cb399ed88da378fcf620ed5fe3a18891fa1d4856 | 69,009 | cpp | C++ | arangod/Cluster/v8-cluster.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | arangod/Cluster/v8-cluster.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | arangod/Cluster/v8-cluster.cpp | morsdatum/ArangoDB | 9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// @brief V8-cluster 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... | 34.782762 | 137 | 0.557652 | morsdatum |
cb3a5839c72970f0ae673fc5132628081defae05 | 3,016 | cpp | C++ | Practice/2018/2018.6.5/ZOJ2676.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.6.5/ZOJ2676.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.6.5/ZOJ2676.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define ld long double
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
#define NAME "network"
const int maxN=101;
const int maxM=410*2;
const ld eps=1e-6;
const int inf=2147483647;
class... | 16.128342 | 77 | 0.532162 | SYCstudio |
cb3a5b11985ed7ef1edc060d07c0094c318463f4 | 1,969 | hpp | C++ | src/base/parameter/ParameterDatabase.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | 1 | 2020-05-16T16:58:21.000Z | 2020-05-16T16:58:21.000Z | src/base/parameter/ParameterDatabase.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | src/base/parameter/ParameterDatabase.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | //$Id: ParameterDatabase.hpp 9513 2011-04-30 21:23:06Z djcinsb $
//------------------------------------------------------------------------------
// ParameterDatabase
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//... | 30.292308 | 80 | 0.638903 | ddj116 |
cb3ab3908d09dae6cb2dde6d173e2dfa83244d1e | 9,441 | cpp | C++ | src/mbgl/renderer/sources/render_image_source.cpp | faizol/maplibre-gl-native | 32ed70c95d734590b3e68cd4595a2806fd13c389 | [
"BSD-2-Clause"
] | null | null | null | src/mbgl/renderer/sources/render_image_source.cpp | faizol/maplibre-gl-native | 32ed70c95d734590b3e68cd4595a2806fd13c389 | [
"BSD-2-Clause"
] | null | null | null | src/mbgl/renderer/sources/render_image_source.cpp | faizol/maplibre-gl-native | 32ed70c95d734590b3e68cd4595a2806fd13c389 | [
"BSD-2-Clause"
] | null | null | null | #include <mbgl/map/transform_state.hpp>
#include <mbgl/math/log2.hpp>
#include <mbgl/renderer/buckets/raster_bucket.hpp>
#include <mbgl/renderer/paint_parameters.hpp>
#include <mbgl/renderer/render_tile.hpp>
#include <mbgl/renderer/sources/render_image_source.hpp>
#include <mbgl/renderer/tile_parameters.hpp>
#include <... | 40.004237 | 112 | 0.617519 | faizol |
cb3b714a82b4034426a41e4846a04269db30ead2 | 39,773 | cc | C++ | L1Trigger/CSCTriggerPrimitives/src/CSCUpgradeMotherboardLUT.cc | scodella/cmssw | 974479b50b19bd795cb5f91eac872857fd6290f6 | [
"Apache-2.0"
] | 1 | 2021-04-13T13:26:16.000Z | 2021-04-13T13:26:16.000Z | L1Trigger/CSCTriggerPrimitives/src/CSCUpgradeMotherboardLUT.cc | scodella/cmssw | 974479b50b19bd795cb5f91eac872857fd6290f6 | [
"Apache-2.0"
] | 2 | 2020-11-03T19:02:02.000Z | 2020-11-10T16:44:22.000Z | L1Trigger/CSCTriggerPrimitives/src/CSCUpgradeMotherboardLUT.cc | scodella/cmssw | 974479b50b19bd795cb5f91eac872857fd6290f6 | [
"Apache-2.0"
] | 1 | 2020-04-01T15:30:45.000Z | 2020-04-01T15:30:45.000Z | #include "L1Trigger/CSCTriggerPrimitives/interface/CSCUpgradeMotherboardLUT.h"
CSCMotherboardLUTME11::CSCMotherboardLUTME11() {
// Keep in mind that ME1A is considered an extension of ME1B
// This means that ME1A half-strips start at 128 and end at 223
lut_wg_vs_hs_me1a = {{128, 223}, {128, 223}, {128, 223}, {12... | 73.790353 | 120 | 0.415533 | scodella |
cb3c810d5ab741626c9778b8d940740865c00cc3 | 183 | cpp | C++ | Runic/Src/Runic/Renderer/RenderCommand.cpp | Swarmley/Runic-Engine | 80a471728ae10e77e5370414ec45341a75df2469 | [
"Apache-2.0"
] | null | null | null | Runic/Src/Runic/Renderer/RenderCommand.cpp | Swarmley/Runic-Engine | 80a471728ae10e77e5370414ec45341a75df2469 | [
"Apache-2.0"
] | null | null | null | Runic/Src/Runic/Renderer/RenderCommand.cpp | Swarmley/Runic-Engine | 80a471728ae10e77e5370414ec45341a75df2469 | [
"Apache-2.0"
] | null | null | null | #include "runicpch.h"
#include "RenderCommand.h"
#include "Platform/OpenGL/OpenGLRenderAPI.h"
namespace Runic {
Scope<RenderAPI> RenderCommand::s_RenderAPI = RenderAPI::Create();
} | 26.142857 | 68 | 0.770492 | Swarmley |
cb3f287fdd66edfe64c7631d58fb918322359a89 | 11,920 | cc | C++ | src/feat/wave-reader.cc | zhanglongqi/kaldi | 87a831a73092b1594ef8fd6b45561216508b0923 | [
"Apache-2.0"
] | 1 | 2017-07-31T15:26:32.000Z | 2017-07-31T15:26:32.000Z | src/feat/wave-reader.cc | zhanglongqi/kaldi | 87a831a73092b1594ef8fd6b45561216508b0923 | [
"Apache-2.0"
] | null | null | null | src/feat/wave-reader.cc | zhanglongqi/kaldi | 87a831a73092b1594ef8fd6b45561216508b0923 | [
"Apache-2.0"
] | null | null | null | // feat/wave-reader.cc
// Copyright 2009-2011 Karel Vesely; Petr Motlicek
// 2013 Florent Masson
// 2013 Johns Hopkins University (author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "Licens... | 32.043011 | 93 | 0.63557 | zhanglongqi |
cb41803b99fa66ee55797b8945674199ba12b123 | 8,638 | cpp | C++ | src/Models/rls/src/MFR_V2_Cycle_emxutil.cpp | Keleas/Missile-system | 3e34f19aa105658cffc1d81d5f5ba2a029e00d83 | [
"MIT"
] | null | null | null | src/Models/rls/src/MFR_V2_Cycle_emxutil.cpp | Keleas/Missile-system | 3e34f19aa105658cffc1d81d5f5ba2a029e00d83 | [
"MIT"
] | null | null | null | src/Models/rls/src/MFR_V2_Cycle_emxutil.cpp | Keleas/Missile-system | 3e34f19aa105658cffc1d81d5f5ba2a029e00d83 | [
"MIT"
] | null | null | null | //
// File: MFR_V2_Cycle_emxutil.cpp
//
// MATLAB Coder version : 4.3
// C/C++ source code generated on : 22-May-2021 19:13:59
//
// Include Files
#include "MFR_V2_Cycle_emxutil.h"
#include "MFR_V2_Cycle.h"
#include "MFR_V2_GenerateMFRType.h"
#include "MFR_V2_GenerateTrajectoryType.h"
#include "rt_nonfinit... | 23.345946 | 81 | 0.637532 | Keleas |
cb4332282a59d523bf09de190063f97e251f9ce2 | 4,926 | cc | C++ | src/devices/board/drivers/sherlock/sherlock-emmc.cc | dahlia-os/fuchsia-pine64-pinephone | 57aace6f0b0bd75306426c98ab9eb3ff4524a61d | [
"BSD-3-Clause"
] | 10 | 2020-12-28T17:04:44.000Z | 2022-03-12T03:20:43.000Z | src/devices/board/drivers/sherlock/sherlock-emmc.cc | dahlia-os/fuchsia-pine64-pinephone | 57aace6f0b0bd75306426c98ab9eb3ff4524a61d | [
"BSD-3-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | src/devices/board/drivers/sherlock/sherlock-emmc.cc | dahliaOS/fuchsia-pine64-pinephone | 57aace6f0b0bd75306426c98ab9eb3ff4524a61d | [
"BSD-3-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/mmio/mmio.h>
#include <lib/zx/handle.h>
#include <ddk/binding.h>
#include <ddk/debug.h>
#include <ddk/device.h>
#include <ddk/metadata.h>
#i... | 29.147929 | 102 | 0.715388 | dahlia-os |
cb44bb2dbe6aa4db4986df699b9645d7bf9212f6 | 2,342 | cpp | C++ | lib/Target/LLVMIR/Dialect/RVV/RVVToLLVMIRTranslation.cpp | taiqzheng/buddy-mlir | dde20faa02bc0c8a7195747b1c13f564732bbe7a | [
"Apache-2.0"
] | null | null | null | lib/Target/LLVMIR/Dialect/RVV/RVVToLLVMIRTranslation.cpp | taiqzheng/buddy-mlir | dde20faa02bc0c8a7195747b1c13f564732bbe7a | [
"Apache-2.0"
] | null | null | null | lib/Target/LLVMIR/Dialect/RVV/RVVToLLVMIRTranslation.cpp | taiqzheng/buddy-mlir | dde20faa02bc0c8a7195747b1c13f564732bbe7a | [
"Apache-2.0"
] | null | null | null | //======- RVVToLLVMIRTranslation.cpp - Translate RVV to LLVM IR ----------====//
//
// 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
//
//... | 34.955224 | 80 | 0.701964 | taiqzheng |
cb4559e082ae4df89f90e3ec30ba294fea218148 | 1,284 | cpp | C++ | boboleetcode/Play-Leetcode-master/0028-Implement-strStr/cpp-0028/main5.cpp | yaominzh/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 2 | 2021-03-25T05:26:55.000Z | 2021-04-20T03:33:24.000Z | boboleetcode/Play-Leetcode-master/0028-Implement-strStr/cpp-0028/main5.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 6 | 2019-12-04T06:08:32.000Z | 2021-05-10T20:22:47.000Z | boboleetcode/Play-Leetcode-master/0028-Implement-strStr/cpp-0028/main5.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | null | null | null | /// Source : https://leetcode.com/problems/implement-strstr/
/// Author : liuyubobobo
/// Time : 2019-03-12
#include <iostream>
#include <vector>
using namespace std;
/// KMP based on DFA
///
/// Time Complexity: O(m * all_characters + n)
/// Sapce Complexity: O(m * all_characters)
class Solution {
public:
in... | 23.345455 | 67 | 0.507009 | yaominzh |
cb45a96b5193176846511b0dfe6a29417d98379c | 10,279 | hpp | C++ | src/uml/src_gen/uml/InformationFlow.hpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/uml/src_gen/uml/InformationFlow.hpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/uml/src_gen/uml/InformationFlow.hpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | //********************************************************************
//*
//* Warning: This file was generated by ecore4CPP Generator
//*
//********************************************************************
#ifndef UML_INFORMATIONFLOW_HPP
#define UML_INFORMATIONFLOW_HPP
#include <map>
#include <list>
#include ... | 29.2849 | 790 | 0.669618 | MDE4CPP |
cb49898a12f9bf4528452f4caf95e37e5fe74f28 | 2,257 | cpp | C++ | stage0/src/library/time_task.cpp | tballmsft/lean4 | fb57b73e1f07828fa9aad91c2112bf072b3e79f2 | [
"Apache-2.0"
] | 1,538 | 2019-04-25T11:00:03.000Z | 2022-03-30T02:35:48.000Z | stage0/src/library/time_task.cpp | tballmsft/lean4 | fb57b73e1f07828fa9aad91c2112bf072b3e79f2 | [
"Apache-2.0"
] | 812 | 2019-05-20T09:15:21.000Z | 2022-03-31T16:36:04.000Z | stage0/src/library/time_task.cpp | tballmsft/lean4 | fb57b73e1f07828fa9aad91c2112bf072b3e79f2 | [
"Apache-2.0"
] | 168 | 2019-04-25T12:49:34.000Z | 2022-03-29T05:07:14.000Z | /*
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Sebastian Ullrich
*/
#include <string>
#include <map>
#include "library/time_task.h"
#include "library/trace.h"
namespace lean {
static std::map<std::string, second_duration> ... | 31.347222 | 107 | 0.663713 | tballmsft |
cb4aa26b8ef622dfd74c0ba3d86600a191836f0c | 2,634 | cpp | C++ | CSS_430/program1/processes.cpp | eocrawford/UW-CS-materials | 7c439b33d2c940520151501e3b82011803886e50 | [
"Unlicense"
] | null | null | null | CSS_430/program1/processes.cpp | eocrawford/UW-CS-materials | 7c439b33d2c940520151501e3b82011803886e50 | [
"Unlicense"
] | null | null | null | CSS_430/program1/processes.cpp | eocrawford/UW-CS-materials | 7c439b33d2c940520151501e3b82011803886e50 | [
"Unlicense"
] | 1 | 2020-04-29T06:50:48.000Z | 2020-04-29T06:50:48.000Z | //---------------------------------------------------------------------------
// processes.cpp
// Demonstration of Linix system commands for working with processes
// Author(s): Ethan Crawford
// Date: September 29, 2008
//---------------------------------------------------------------------------
// Implements process... | 21.95 | 77 | 0.548975 | eocrawford |
cb4c83d8a63dd662cdfb8b0a2871037beaac49dc | 401 | cpp | C++ | uva/problemSetVolumes/volume4/484.cpp | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | uva/problemSetVolumes/volume4/484.cpp | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | uva/problemSetVolumes/volume4/484.cpp | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | #include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
int main() {
int n;
vector<int> v;
unordered_map<int, int> m;
while(cin >> n) {
if(m.find(n) != m.end())
m[n]++;
else {
m[n] = 1;
v.push_back(n);
}
}
... | 17.434783 | 47 | 0.436409 | ferhatelmas |
cb4cd4618dfc18e1368cd84d9e1ea241f5b8a267 | 23,102 | cc | C++ | src/file_sorter.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | 1 | 2019-01-21T03:38:34.000Z | 2019-01-21T03:38:34.000Z | src/file_sorter.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | null | null | null | src/file_sorter.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/**
* @copyright 2013 Couchbase, Inc.
*
* @author Filipe Manana <filipe@couchbase.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 obta... | 28.002424 | 99 | 0.544412 | wurikiji |
cb4e7d36ce64f7ad1a57f03ce403fbec7c55c444 | 3,688 | cpp | C++ | rxN64AddOn-master/jni/gles2n64/src/RSP.cpp | Kbdalocc/KBADDON | f852b0d22518c8771913fbabbbcda0778f18bbd5 | [
"BSD-3-Clause"
] | null | null | null | rxN64AddOn-master/jni/gles2n64/src/RSP.cpp | Kbdalocc/KBADDON | f852b0d22518c8771913fbabbbcda0778f18bbd5 | [
"BSD-3-Clause"
] | null | null | null | rxN64AddOn-master/jni/gles2n64/src/RSP.cpp | Kbdalocc/KBADDON | f852b0d22518c8771913fbabbbcda0778f18bbd5 | [
"BSD-3-Clause"
] | null | null | null | #include <math.h>
#include "Common.h"
#include "gles2N64.h"
#include "OpenGL.h"
#include "Debug.h"
#include "RSP.h"
#include "RDP.h"
#include "N64.h"
#include "F3D.h"
#include "3DMath.h"
#include "VI.h"
#include "ShaderCombiner.h"
#include "DepthBuffer.h"
#include "GBI.h"
#include "gSP.h"
#include "Textures.h"
//#defi... | 24.423841 | 147 | 0.616323 | Kbdalocc |
cb4ec5774633bf9c88ee3dde240a206ed97c7111 | 58,998 | cpp | C++ | FlightComputerV2/lib/SPIMemory/SPIMemory.cpp | jowallace1/FlightComputerV2 | b8ea60bd370243ef05611267cba214bf72c34f9b | [
"MIT"
] | null | null | null | FlightComputerV2/lib/SPIMemory/SPIMemory.cpp | jowallace1/FlightComputerV2 | b8ea60bd370243ef05611267cba214bf72c34f9b | [
"MIT"
] | null | null | null | FlightComputerV2/lib/SPIMemory/SPIMemory.cpp | jowallace1/FlightComputerV2 | b8ea60bd370243ef05611267cba214bf72c34f9b | [
"MIT"
] | null | null | null | /* Arduino SPIFlash Library v.2.6.0
* Copyright (C) 2017 by Prajwal Bhattaram
* Created by Prajwal Bhattaram - 19/05/2015
* Modified by @boseji <salearj@hotmail.com> - 02/03/2017
* Modified by Prajwal Bhattaram - 14/04/2017
*
* This file is part of the Arduino SPIFlash Library. This library is for
* Winbond NOR ... | 28.584302 | 169 | 0.628547 | jowallace1 |
cb51d8d46f665db798c6e191cee2e488173712be | 9,172 | cpp | C++ | gui_source/guimainwindow.cpp | horsicq/DIE-engine | cefb338649ef99ca03d78cbdb2b2de1b1a750e1b | [
"MIT"
] | 1,136 | 2015-02-03T21:10:11.000Z | 2022-03-31T23:30:11.000Z | gui_source/guimainwindow.cpp | horsicq/DIE-engine | cefb338649ef99ca03d78cbdb2b2de1b1a750e1b | [
"MIT"
] | 55 | 2015-03-24T06:46:00.000Z | 2022-03-17T13:37:16.000Z | gui_source/guimainwindow.cpp | horsicq/DIE-engine | cefb338649ef99ca03d78cbdb2b2de1b1a750e1b | [
"MIT"
] | 230 | 2015-01-04T13:53:52.000Z | 2022-02-28T08:45:31.000Z | // Copyright (c) 2020-2021 hors<horsicq@gmail.com>
//
// 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... | 26.356322 | 132 | 0.656345 | horsicq |
cb5268a626a5272cf1654d2a63bc0b314bc0186a | 13,774 | cpp | C++ | testing/testing_cgesvd.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 21 | 2017-10-06T05:05:05.000Z | 2022-03-13T15:39:20.000Z | testing/testing_cgesvd.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T00:27:24.000Z | 2017-03-23T00:27:24.000Z | testing/testing_cgesvd.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 4 | 2018-01-09T15:49:58.000Z | 2022-03-13T15:39:27.000Z | /*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@generated from testing_zgesvd.cpp normal z -> c, Fri Jan 30 19:00:26 2015
@author Mark Gates
*/
// includes, system
#include <stdlib.h... | 43.588608 | 132 | 0.389575 | shengren |
cb527ed6f06d280e174b56713dc7decf9c1e69a7 | 1,679 | cpp | C++ | kattis/pick_up_sticks/PickUpSticks.cpp | FredrikWallstrom/Kattis | aee103c8d97d2aba61dae59146a015ccb5a7a634 | [
"MIT"
] | 1 | 2020-11-11T12:12:19.000Z | 2020-11-11T12:12:19.000Z | kattis/pick_up_sticks/PickUpSticks.cpp | FredrikWallstrom/Kattis | aee103c8d97d2aba61dae59146a015ccb5a7a634 | [
"MIT"
] | null | null | null | kattis/pick_up_sticks/PickUpSticks.cpp | FredrikWallstrom/Kattis | aee103c8d97d2aba61dae59146a015ccb5a7a634 | [
"MIT"
] | null | null | null | /* -*- Mode: C++ -*- */
/**
* Author: Fredrik Wallström
* Date:
*
* Comments: 22/2 - 18
*
* Lessons Learned:
*/
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <sstream>
#include <map>
#includ... | 22.689189 | 85 | 0.562239 | FredrikWallstrom |
cb5356dd952d8f0b228483b5d04803b9d35f485b | 1,176 | hpp | C++ | NWNXLib/API/Mac/API/CNWSExpressionList.hpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | 1 | 2019-06-04T04:30:24.000Z | 2019-06-04T04:30:24.000Z | NWNXLib/API/Mac/API/CNWSExpressionList.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/CNWSExpressionList.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | 1 | 2019-10-20T07:54:45.000Z | 2019-10-20T07:54:45.000Z | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CNWSExpressionNode;
struct CNWSExpressionList
{
CNWSExpressionNode* m_pHead;
CNWSExpressionNode* m_pAfter;
CNWSExpressionNode* m_pTail;
// The below are auto genera... | 29.4 | 91 | 0.806973 | acaos |
cb536634efb9391df7634b12a71f16194d248a9b | 2,915 | hpp | C++ | libs/boost_1_72_0/boost/spirit/home/support/iterators/istream_iterator.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/iterators/istream_iterator.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/iterators/istream_iterator.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2001-2011 Hartmut Kaiser
//
// 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)
#if !defined(BOOST_SPIRIT_ISTREAM_ITERATOR_JAN_03_2010_0522PM)
#define BOOST_SPIRIT_ISTREAM_ITERATOR_JAN_03_2010_0522P... | 35.987654 | 80 | 0.650772 | henrywarhurst |
cb5550eb21419795c12efa71aec4704879d987d0 | 255 | cpp | C++ | leetcode/53. Maximum Subarray/s2.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | 1 | 2021-02-09T11:38:51.000Z | 2021-02-09T11:38:51.000Z | leetcode/53. Maximum Subarray/s2.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | leetcode/53. Maximum Subarray/s2.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | class Solution {
public:
int maxSubArray(vector<int>& nums) {
int ans = INT_MIN, sum = 0;
for (int n : nums) {
sum += n;
ans = max(sum, ans);
sum = max(sum, 0);
}
return ans;
}
}; | 21.25 | 40 | 0.427451 | contacttoakhil |
cb5632477d6051765cedac440c474ade49aeb6ae | 86 | cpp | C++ | gc.cpp | long-long-float/lisp-cpp | 436c3f5be8e02a43c153cb0a304a08bed2503d0c | [
"MIT"
] | 3 | 2018-08-18T18:48:42.000Z | 2019-06-23T20:24:05.000Z | gc.cpp | long-long-float/lisp-cpp | 436c3f5be8e02a43c153cb0a304a08bed2503d0c | [
"MIT"
] | 8 | 2015-05-21T13:49:57.000Z | 2015-07-19T12:22:49.000Z | gc.cpp | long-long-float/lllisp | f8ebc893692f57ee27352ab2b8dab653fa4f2e7b | [
"MIT"
] | null | null | null | #include "gc.h"
namespace Lisp {
class GCObject;
std::list<GCObject*> objects;
}
| 12.285714 | 31 | 0.674419 | long-long-float |
cb56dd16357006ce2a6a343c3c66b7efa30bbcbf | 1,287 | cpp | C++ | third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.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 "core/css/LocalFontFaceSource.h"
#include "platform/Histogram.h"
#include "platform/fonts/FontCache.h"
#include "platform/fonts/FontDescription.... | 34.783784 | 116 | 0.775447 | Wzzzx |
cb595922ceffae3078edc74771054e32f8cc700d | 5,378 | cpp | C++ | libcassandra/src/Cassandra.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | libcassandra/src/Cassandra.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | libcassandra/src/Cassandra.cpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata Cassandra Plugin
* Cassandra.cpp
*
* Copyright (c) 2009, Daniel Reiter Horn
* 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 r... | 32.993865 | 75 | 0.68334 | pathorn |
cb5a40e22ee37b6784e0c594e33f65f6df496c95 | 1,604 | cpp | C++ | tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/CWE675_Duplicate_Operations_on_Resource__open_62b.cpp | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 28 | 2017-01-20T15:25:54.000Z | 2020-03-17T00:28:31.000Z | testcases/CWE675_Duplicate_Operations_on_Resource/CWE675_Duplicate_Operations_on_Resource__open_62b.cpp | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 1 | 2017-01-20T15:26:27.000Z | 2018-08-20T00:55:37.000Z | testcases/CWE675_Duplicate_Operations_on_Resource/CWE675_Duplicate_Operations_on_Resource__open_62b.cpp | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 2 | 2019-07-15T19:07:04.000Z | 2019-09-07T14:21:04.000Z | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE675_Duplicate_Operations_on_Resource__open_62b.cpp
Label Definition File: CWE675_Duplicate_Operations_on_Resource__open.label.xml
Template File: sources-sinks-62b.tmpl.cpp
*/
/*
* @description
* CWE: 675 Duplicate Operations on Resource
* BadSource: Open and ... | 25.460317 | 119 | 0.695761 | RanerL |
cb5ace70003d0cdcaa8d7584185caa333d6587d6 | 17,978 | cc | C++ | tensorflow/lite/experimental/micro/kernels/quantization_util_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 56 | 2018-06-21T13:47:23.000Z | 2020-05-13T09:31:47.000Z | tensorflow/lite/experimental/micro/kernels/quantization_util_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 6 | 2022-01-15T07:17:47.000Z | 2022-02-14T15:28:22.000Z | tensorflow/lite/experimental/micro/kernels/quantization_util_test.cc | abhaikollara/tensorflow | 4f96df3659696990cb34d0ad07dc67843c4225a9 | [
"Apache-2.0"
] | 15 | 2018-09-06T14:18:32.000Z | 2020-05-14T06:35:30.000Z | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 41.51963 | 80 | 0.679108 | abhaikollara |
cb5e7bcd8d08d772436e4a67bf012d201f8eb371 | 238 | cc | C++ | test/unused_static.cc | aytchell/cppclean | 29ba7547a085f742585a74798cc5ad083bd0836f | [
"Apache-2.0"
] | 607 | 2015-01-02T12:37:18.000Z | 2022-03-20T13:37:01.000Z | test/unused_static.cc | aytchell/cppclean | 29ba7547a085f742585a74798cc5ad083bd0836f | [
"Apache-2.0"
] | 88 | 2015-01-02T12:55:04.000Z | 2021-06-28T16:32:21.000Z | test/unused_static.cc | aytchell/cppclean | 29ba7547a085f742585a74798cc5ad083bd0836f | [
"Apache-2.0"
] | 70 | 2015-01-26T03:05:32.000Z | 2022-02-17T13:48:45.000Z | static int x = 1;
static int y = 1;
static const int z = 1;
static const int a, b;
bool plugged[42];
int array[2][1];
int i[1<2];
int j[1>2];
class Foo
{
void fct()
{
x = 2;
}
};
int main()
{
y = 3;
a = 0;
}
| 10.347826 | 23 | 0.491597 | aytchell |
cb5ff6ee02a8b9b748d1f8bc78e3e37713852953 | 904 | cpp | C++ | src/plot_functions.cpp | grgomrton/kalman-filter | 5d47aab153d3d5ea8a6b12e35a9b3ee3ee25c1b7 | [
"MIT"
] | null | null | null | src/plot_functions.cpp | grgomrton/kalman-filter | 5d47aab153d3d5ea8a6b12e35a9b3ee3ee25c1b7 | [
"MIT"
] | 1 | 2018-03-08T23:02:04.000Z | 2018-10-08T04:49:02.000Z | src/plot_functions.cpp | grgomrton/kalman-filter | 5d47aab153d3d5ea8a6b12e35a9b3ee3ee25c1b7 | [
"MIT"
] | null | null | null | #include <plot_functions.h>
#include <cmath>
std::vector<double>
plot_functions::create_uniform_scale(double start, double end, unsigned int reference_point_count) { // todo exceptions
std::vector<double> scale(reference_point_count);
double step = (end - start) / (double) (reference_point_count - 1);
for ... | 39.304348 | 119 | 0.640487 | grgomrton |
cb60c0ad3bb0631eeb28d50189f99dc8eadebffa | 1,776 | cpp | C++ | server/Socket/Socket.cpp | blAs1N/Serv_Work | 3928779386d83f0e2f41001e0c0c1bb7af7e312c | [
"MIT"
] | 1 | 2020-08-07T00:51:49.000Z | 2020-08-07T00:51:49.000Z | server/Socket/Socket.cpp | blAs1N/TCP_Server_Library | 3928779386d83f0e2f41001e0c0c1bb7af7e312c | [
"MIT"
] | 11 | 2020-01-02T07:43:06.000Z | 2020-08-14T02:30:55.000Z | server/Socket/Socket.cpp | blAs1N/Serv_Work | 3928779386d83f0e2f41001e0c0c1bb7af7e312c | [
"MIT"
] | 1 | 2020-08-07T00:51:51.000Z | 2020-08-07T00:51:51.000Z | #include "Socket.h"
#include <chrono>
#include <mutex>
#include <thread>
#include "Config.h"
namespace ServWork
{
Socket::Socket()
: s(INVALID_SOCKET) {}
Socket::Socket(Socket&& other) noexcept
: s(std::exchange(other.s, INVALID_SOCKET)) {}
Socket& Socket::operator=(Socket&& other) noexcept
{
s = std::exch... | 20.413793 | 81 | 0.65259 | blAs1N |
cb60d470c0d43e443d680598fd60ff06a16df8b5 | 8,949 | cc | C++ | DQM/EcalPreshowerMonitorModule/src/ESTrendTask.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQM/EcalPreshowerMonitorModule/src/ESTrendTask.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQM/EcalPreshowerMonitorModule/src/ESTrendTask.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <math.h>
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Ma... | 33.516854 | 110 | 0.675271 | pasmuss |
cb619e51e7ac58936dc0c18eaefd423f8863a1f6 | 6,422 | cpp | C++ | ListaVentas.cpp | psicobloc/dataStructuresII | 01f494ed3091e54f9b2a587a66f255be2f079339 | [
"MIT"
] | null | null | null | ListaVentas.cpp | psicobloc/dataStructuresII | 01f494ed3091e54f9b2a587a66f255be2f079339 | [
"MIT"
] | null | null | null | ListaVentas.cpp | psicobloc/dataStructuresII | 01f494ed3091e54f9b2a587a66f255be2f079339 | [
"MIT"
] | null | null | null |
#include "ListaVentas.h"
using namespace std;
ListaVentas::ListaVentas()
{
if((header = new NodoVenta) == nullptr) //creando header
{
cout << "exception, constructor ListaFacturas" << endl;
}
header->setPrev(header);
header->setNext(header);
}
ListaVentas::ListaVentas(ListaVentas &lst)
{... | 22.068729 | 115 | 0.590626 | psicobloc |
cb6277d4b5de4305dcaaba1f229c5a397d7a8ad5 | 38,807 | cpp | C++ | src/HybridBot.cpp | jtebert/kilosim-gridbots-decisions | ba8c00ca823e000bff4bcdc9e3bb7ba90f424501 | [
"MIT"
] | null | null | null | src/HybridBot.cpp | jtebert/kilosim-gridbots-decisions | ba8c00ca823e000bff4bcdc9e3bb7ba90f424501 | [
"MIT"
] | null | null | null | src/HybridBot.cpp | jtebert/kilosim-gridbots-decisions | ba8c00ca823e000bff4bcdc9e3bb7ba90f424501 | [
"MIT"
] | null | null | null | /*
* Gridbots doing target localization (min/max)
*
* Hybrid algorithm is PSO + gradient descent + Boids
*
* Created 2020-07 by Julia Ebert
*/
#include "Gridbot.h"
#include "BaseBot.hpp"
#include <cmath>
namespace Kilosim
{
typedef struct pos_vel
{
// A pair of position and velocity
Po... | 44.350857 | 196 | 0.477053 | jtebert |
cb62d64a3994ca048cad325d2f8506049447bf0b | 6,409 | hpp | C++ | Pods/Headers/Private/GeoFeatures/boost/geometry/geometries/segment.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/boost/geometry/geometries/segment.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Private/GeoFeatures/boost/geometry/geometries/segment.hpp | xarvey/Yuuuuuge | 9f4ec32f81cf813ea630ba2c44eb03970c56dad3 | [
"Apache-2.0"
] | null | null | null | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (ge... | 28.484444 | 116 | 0.734904 | xarvey |
cb63dbbb63b473f3313b0958ccad47cb5bde1024 | 5,327 | cpp | C++ | theatre-maintenance/theatre-maintenance.cpp | APf0x/not-payed-job | 5124d73b7e0370a9445d62573ae4d42070bf3765 | [
"MIT"
] | null | null | null | theatre-maintenance/theatre-maintenance.cpp | APf0x/not-payed-job | 5124d73b7e0370a9445d62573ae4d42070bf3765 | [
"MIT"
] | null | null | null | theatre-maintenance/theatre-maintenance.cpp | APf0x/not-payed-job | 5124d73b7e0370a9445d62573ae4d42070bf3765 | [
"MIT"
] | null | null | null | #include <iostream>
#include <time.h>
#include <cstdlib>
#include <string>
using namespace std;
int main(){
const int platea = 40;
const int galleria = 30;
int posti_platea_rimasti, prezzotot, posti_galleria_rimasti, opzioni, posti, da_pagare, giorni, da_reimborsare, posti_galleria_totali, posti_platea_tota... | 49.324074 | 159 | 0.46987 | APf0x |
cb65966298787fd15f405cce415078d52823c07a | 217 | hpp | C++ | include/Game/Statics/boostatk.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | include/Game/Statics/boostatk.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | include/Game/Statics/boostatk.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | #ifndef BOOSTATK_H
#define BOOSTATK_H
#include <Game/Statics/neteffect.hpp>
class BoostAtk : public NetEffect {
public:
const int atkBoost;
BoostAtk(Effect* effect);
int getAtkNet();
int getDefNet();
};
#endif
| 14.466667 | 37 | 0.741935 | Lucrecious |
cb6661b306786d729c95110b4f45fdcfba124237 | 4,218 | cpp | C++ | IMS/Predator.cpp | PrasekMatej/IMS-CellularAutomata | 0ca11dab7c33eec3aa9695e4bffe535a1abf1258 | [
"MIT"
] | null | null | null | IMS/Predator.cpp | PrasekMatej/IMS-CellularAutomata | 0ca11dab7c33eec3aa9695e4bffe535a1abf1258 | [
"MIT"
] | null | null | null | IMS/Predator.cpp | PrasekMatej/IMS-CellularAutomata | 0ca11dab7c33eec3aa9695e4bffe535a1abf1258 | [
"MIT"
] | null | null | null | #include "Predator.h"
#include "Vole.h"
#include <algorithm>
Predator::Predator(int height, int width, int successChance)
{
fedUntilGeneration = 0;
nextGenerationHeight = height;
nextGenerationWidth = width;
sucessChance = successChance;
}
void Predator::NextGeneration(std::vector<std::vector<std::unique_ptr<Cell... | 27.933775 | 136 | 0.655524 | PrasekMatej |
cb69d971adacb7dc682695c8b9eb5e815bca21cc | 2,529 | cpp | C++ | Part 4/src/C_NeuralNetwork.cpp | thatgamesguy/ai_experiments_1-ufos | 3256ac397996c3e677bcdfe9cbb55360bb9b2cad | [
"MIT"
] | 1 | 2019-12-03T13:12:33.000Z | 2019-12-03T13:12:33.000Z | Part 4/src/C_NeuralNetwork.cpp | thatgamesguy/ai_experiments-evolution | 3256ac397996c3e677bcdfe9cbb55360bb9b2cad | [
"MIT"
] | null | null | null | Part 4/src/C_NeuralNetwork.cpp | thatgamesguy/ai_experiments-evolution | 3256ac397996c3e677bcdfe9cbb55360bb9b2cad | [
"MIT"
] | null | null | null | #include "C_NeuralNetwork.hpp"
C_NeuralNetwork::C_NeuralNetwork(Object* owner) : Component(owner), maxMoveForce(1400.f), neuralNetwork(neuralNumOfInput, neuralNumOfHiddenLayers, neuralNumOfNeuronsInHiddenLayer, neuralNumOfOutput), windowSize(1920, 1080)
{
}
void C_NeuralNetwork::Awake()
{
velocity = owner->G... | 30.841463 | 222 | 0.648478 | thatgamesguy |
cb6d7661cae988e2fef8001b8921a7d981d09d4c | 1,954 | cpp | C++ | src/common/dataType/tableItem/TableItem.cpp | liupengzhouyi/MyNotion | 6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85 | [
"Apache-2.0"
] | null | null | null | src/common/dataType/tableItem/TableItem.cpp | liupengzhouyi/MyNotion | 6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85 | [
"Apache-2.0"
] | null | null | null | src/common/dataType/tableItem/TableItem.cpp | liupengzhouyi/MyNotion | 6ddc96e0e6e061adac78aa68c2d2b9b53bd4ad85 | [
"Apache-2.0"
] | null | null | null | #include "TableItem.h"
Common::DataType::TableItem::TableItem()
{
this->data = new Common::DataType::TableData();
this->nextColumnItem = nullptr;
this->nextRowItem = nullptr;
this->previousColumnItem = nullptr;
this->previousRowItem = nullptr;
}
Common::DataType::TableItem::~TableItem()
{
if... | 21.472527 | 92 | 0.674002 | liupengzhouyi |
cb6db6b672c848db3dd71bfe66f95149bdc11a08 | 2,089 | cpp | C++ | src/networkMorph.cpp | openworm/bionet | 56cb0fd92292b90609476fec089902d3752d4d62 | [
"BSD-2-Clause"
] | 19 | 2015-01-03T06:46:30.000Z | 2021-03-06T16:40:58.000Z | src/networkMorph.cpp | openworm/bionet | 56cb0fd92292b90609476fec089902d3752d4d62 | [
"BSD-2-Clause"
] | null | null | null | src/networkMorph.cpp | openworm/bionet | 56cb0fd92292b90609476fec089902d3752d4d62 | [
"BSD-2-Clause"
] | 14 | 2015-03-20T00:25:54.000Z | 2022-02-10T20:36:39.000Z | // Network morph implementation.
#include "networkMorph.hpp"
// Maximum tolerated motor output error.
const float NetworkMorph::MAX_ERROR_TOLERANCE = 0.05f;
// Constructor.
NetworkMorph::NetworkMorph()
{
network = NULL;
tag = 0;
error = 0.0f;
behaves = false;
offsprin... | 24.290698 | 96 | 0.521781 | openworm |
cb6e5591edd9091deb27f24537beb8c64b90c738 | 1,723 | hh | C++ | CalorimeterGeom/inc/SquareMapper.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | CalorimeterGeom/inc/SquareMapper.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 125 | 2020-04-03T13:44:30.000Z | 2021-10-15T21:29:57.000Z | CalorimeterGeom/inc/SquareMapper.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef CalorimeterGeom_SqaureMapper_hh
#define CalorimeterGeom_SqaureMapper_hh
#include "CalorimeterGeom/inc/CrystalMapper.hh"
#include "CLHEP/Vector/TwoVector.h"
#include "CLHEP/Vector/ThreeVector.h"
#include <vector>
namespace mu2e {
class SquLK {
public:
SquLK() ... | 26.507692 | 117 | 0.542658 | bonventre |
cb70656c962b2f5bf848f95dfbd16f8d1d458f11 | 11,203 | hpp | C++ | src/model/buffer.hpp | Haimrich/timeloop | 06dde86d999b4685c7c97b4432351f4fe7b8a9ed | [
"BSD-3-Clause"
] | 2 | 2021-07-28T09:05:38.000Z | 2022-01-22T19:33:18.000Z | src/model/buffer.hpp | Haimrich/timeloop | 06dde86d999b4685c7c97b4432351f4fe7b8a9ed | [
"BSD-3-Clause"
] | null | null | null | src/model/buffer.hpp | Haimrich/timeloop | 06dde86d999b4685c7c97b4432351f4fe7b8a9ed | [
"BSD-3-Clause"
] | 1 | 2022-01-22T19:33:19.000Z | 2022-01-22T19:33:19.000Z | /* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 36.611111 | 118 | 0.712934 | Haimrich |
cb727420521be1b0f18c8ce0be2d31a5884d420e | 30,824 | cpp | C++ | src/alxr_engine/graphicsplugin_d3d12.cpp | korejan/ALVR-OpenXR-Engine | 9bdd6f73d881e46835dfc9af892e9a4184242764 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"Unlicense"
] | null | null | null | src/alxr_engine/graphicsplugin_d3d12.cpp | korejan/ALVR-OpenXR-Engine | 9bdd6f73d881e46835dfc9af892e9a4184242764 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"Unlicense"
] | 1 | 2022-02-20T16:14:51.000Z | 2022-02-20T16:14:51.000Z | src/alxr_engine/graphicsplugin_d3d12.cpp | korejan/ALVR-OpenXR-Engine | 9bdd6f73d881e46835dfc9af892e9a4184242764 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"Unlicense"
] | null | null | null | // Copyright (c) 2017-2022, The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0
#include "pch.h"
#include "common.h"
#include "geometry.h"
#include "graphicsplugin.h"
#if defined(XR_USE_GRAPHICS_API_D3D12) && !defined(MISSING_DIRECTX_COLORS)
#include <common/xr_linear.h>
#include <DirectXColors.h>
#incl... | 50.78089 | 134 | 0.690793 | korejan |
cb73a7a562513f2c8baede2d6eb758f43db1bd5b | 280 | cpp | C++ | search array element.cpp | 0ishita-jana/-dev-info-day1 | e6053be728856b3a92d3137bdfd30e16700f7d06 | [
"MIT"
] | null | null | null | search array element.cpp | 0ishita-jana/-dev-info-day1 | e6053be728856b3a92d3137bdfd30e16700f7d06 | [
"MIT"
] | null | null | null | search array element.cpp | 0ishita-jana/-dev-info-day1 | e6053be728856b3a92d3137bdfd30e16700f7d06 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<conio.h>
int main()
{
int n,i,s;
int a[]={2,3,5,9,6};
s=sizeof(a);
printf("enter the search element");
scanf("%d",&n);
for(i=0;i<s;i++)
{
if(a[i]==n)
{
printf("found%d",n);
return 0;
}
}
printf("not found");
return 0;
}
| 10 | 36 | 0.514286 | 0ishita-jana |
cb7514f992a62ea09daa07c18e751d75d71fb733 | 28,937 | cxx | C++ | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmPixmapWriter.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmPixmapWriter.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmPixmapWriter.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | 34.204492 | 112 | 0.62211 | arobert01 |
cb75217540a8625de58d257728eb649eb26dcbc7 | 6,618 | hpp | C++ | include/sprout/iterator/value_iterator.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | 4 | 2021-12-29T22:17:40.000Z | 2022-03-23T11:53:44.000Z | dsp/lib/sprout/sprout/iterator/value_iterator.hpp | TheSlowGrowth/TapeLooper | ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264 | [
"MIT"
] | 16 | 2021-10-31T21:41:09.000Z | 2022-01-22T10:51:34.000Z | include/sprout/iterator/value_iterator.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)
==... | 30.925234 | 104 | 0.722575 | thinkoid |
cb75ed7f1b589d5bd137461f963281c535bbbea8 | 4,038 | cpp | C++ | bitbots_localization/src/RobotState.cpp | bit-bots/bitbots_navigation | 59da34b0ca995604f143e66b6338fb86badb00b2 | [
"MIT"
] | 5 | 2019-10-30T06:32:37.000Z | 2022-03-11T08:48:43.000Z | bitbots_localization/src/RobotState.cpp | bit-bots/bitbots_navigation | 59da34b0ca995604f143e66b6338fb86badb00b2 | [
"MIT"
] | 83 | 2019-03-07T16:34:47.000Z | 2022-03-23T17:02:06.000Z | bitbots_localization/src/RobotState.cpp | bit-bots/bitbots_navigation | 59da34b0ca995604f143e66b6338fb86badb00b2 | [
"MIT"
] | 4 | 2019-07-28T11:24:02.000Z | 2021-09-10T16:20:20.000Z | //
// Created by judith on 09.03.19.
//
#include "../include/bitbots_localization/RobotState.h"
RobotState::RobotState() :
is_explorer_(false),
m_XPos(0.0),
m_YPos(0.0),
m_SinTheta(0.0),
m_CosTheta(1.0) {
}
RobotState::RobotState(double x, double y, double T) :
is_explorer_(false),
m_XPo... | 25.396226 | 118 | 0.623328 | bit-bots |
cb7aec8edb60b4aca1e7191ccab6468e080f9c33 | 6,336 | cxx | C++ | Modules/Registration/Common/test/itkCenteredVersorTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 2 | 2019-09-15T10:17:06.000Z | 2019-09-15T10:19:06.000Z | Modules/Registration/Common/test/itkCenteredVersorTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | null | null | null | Modules/Registration/Common/test/itkCenteredVersorTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 1 | 2021-09-23T08:33:37.000Z | 2021-09-23T08:33:37.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 26.734177 | 99 | 0.650568 | lassoan |
cb7d2f46c6dafe7ac4acec95c520cd9c3d9d1c8b | 4,884 | cpp | C++ | lumino/LuminoEngine/src/Tilemap/TilemapComponent.cpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 113 | 2020-03-05T01:27:59.000Z | 2022-03-28T13:20:51.000Z | lumino/LuminoEngine/src/Tilemap/TilemapComponent.cpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 13 | 2020-03-23T20:36:44.000Z | 2022-02-28T11:07:32.000Z | lumino/LuminoEngine/src/Tilemap/TilemapComponent.cpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 12 | 2020-12-21T12:03:59.000Z | 2021-12-15T02:07:49.000Z |
#include "Internal.hpp"
#include <LuminoEngine/Scene/World.hpp>
#include <LuminoEngine/Scene/Level.hpp>
#include <LuminoEngine/Tilemap/TilemapModel.hpp>
#include <LuminoEngine/Tilemap/TilemapComponent.hpp>
#include "TilemapPhysicsObject.hpp"
#include <LuminoEngine/Scene/WorldObject.hpp> // for WorldObjectTransform... | 27.284916 | 154 | 0.63104 | GameDevery |
cb7d41571139512a13346dff1cf9039e74b46226 | 4,058 | cpp | C++ | Image To Video SDK/C++/Slideshow-VS2010/SimpleSlideshow.cpp | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 24 | 2017-01-13T13:43:21.000Z | 2021-12-23T07:57:19.000Z | Image To Video SDK/C++/Slideshow-VS2010/SimpleSlideshow.cpp | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 1 | 2017-03-29T08:22:18.000Z | 2017-05-13T12:27:02.000Z | Image To Video SDK/C++/Slideshow-VS2010/SimpleSlideshow.cpp | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 35 | 2016-08-03T19:15:44.000Z | 2022-03-27T16:38:58.000Z | //*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... | 30.059259 | 95 | 0.503943 | atkins126 |
cb849e6f3a27ac496297e16e26b9956278b78b4b | 12,636 | cpp | C++ | PopcornTime_Desktop-src/Import/QtAV/src/utils/internal.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/Import/QtAV/src/utils/internal.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/Import/QtAV/src/utils/internal.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | /******************************************************************************
QtAV: Multimedia framework based on Qt and FFmpeg
Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com>
* This file is part of QtAV (from 2015)
This library is free software; you can redistribute it and/or
modify it unde... | 36.310345 | 136 | 0.598607 | officialrafsan |
cb874bf5cc1827599310b925044154217cdc079e | 4,354 | cc | C++ | examples/memcached/server/MemcacheServer.cc | Itsposs/muduo | 90920bbad80e544da9a8a94b16ad8ab4bb66e652 | [
"BSD-3-Clause"
] | 10,948 | 2015-01-01T04:48:50.000Z | 2022-03-31T16:58:54.000Z | examples/memcached/server/MemcacheServer.cc | Itsposs/muduo | 90920bbad80e544da9a8a94b16ad8ab4bb66e652 | [
"BSD-3-Clause"
] | 351 | 2015-01-03T10:48:01.000Z | 2022-03-17T07:01:15.000Z | examples/memcached/server/MemcacheServer.cc | Itsposs/muduo | 90920bbad80e544da9a8a94b16ad8ab4bb66e652 | [
"BSD-3-Clause"
] | 4,994 | 2015-01-01T07:17:50.000Z | 2022-03-31T15:58:01.000Z | #include "examples/memcached/server/MemcacheServer.h"
#include "muduo/base/Atomic.h"
#include "muduo/base/Logging.h"
#include "muduo/net/EventLoop.h"
using namespace muduo;
using namespace muduo::net;
muduo::AtomicInt64 g_cas;
MemcacheServer::Options::Options()
{
memZero(this, sizeof(*this));
}
struct MemcacheSe... | 24.88 | 98 | 0.585668 | Itsposs |
cb8aee10b64f1b163e8d9abb175479f512993ef4 | 131,755 | cc | C++ | components/omnibox/browser/omnibox_pedal_implementations_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/omnibox/browser/omnibox_pedal_implementations_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/omnibox/browser/omnibox_pedal_implementations_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/omnibox/browser/omnibox_pedal_implementations.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environme... | 39.236152 | 79 | 0.579606 | Ron423c |
cb8c3efa27c12ddaea369eaf8b115a508b1bc685 | 4,163 | cpp | C++ | src/gputracker/utils/rendering/BaseBuffer2.cpp | kamarain/rgbd_dense_slam-code | 0ace518f9e9640ac2d61df868e4a6a73cdd89cf8 | [
"MIT"
] | 1 | 2020-12-19T01:36:23.000Z | 2020-12-19T01:36:23.000Z | src/gputracker/utils/rendering/BaseBuffer2.cpp | kamarain/rgbd_dense_slam-code | 0ace518f9e9640ac2d61df868e4a6a73cdd89cf8 | [
"MIT"
] | null | null | null | src/gputracker/utils/rendering/BaseBuffer2.cpp | kamarain/rgbd_dense_slam-code | 0ace518f9e9640ac2d61df868e4a6a73cdd89cf8 | [
"MIT"
] | null | null | null | /*
rgbd-tracker
Copyright (c) 2014, Tommi Tykkälä, All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later ... | 31.067164 | 77 | 0.604132 | kamarain |
cb8e5b827e566e7bf7f8fa105d6acb29b718a756 | 1,049 | cpp | C++ | src/volume/volume.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | 61 | 2015-01-01T10:58:21.000Z | 2022-01-05T14:22:15.000Z | src/volume/volume.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | null | null | null | src/volume/volume.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | 3 | 2016-04-11T19:07:47.000Z | 2018-05-31T12:40:50.000Z | #include "volume/volume.h"
float phase_rayleigh(const Vector &w_i, const Vector &w_o){
float cos_t = w_i.dot(w_o);
return 3.f / (16 * PI) * (1 + cos_t * cos_t);
}
float phase_mie_hazy(const Vector &w_i, const Vector &w_o){
float cos_t = w_i.dot(w_o);
return (0.5 + 4.5 * std::pow(0.5 * (1.f + cos_t), 8.f)) / (4 * P... | 34.966667 | 81 | 0.612011 | Twinklebear |
cb8e5c327cd825eee61da3415d443d59b8f81cf1 | 11,308 | cpp | C++ | test/test-200-types/sources/tools/types/common/degradate/test-degradate-new.cpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | null | null | null | test/test-200-types/sources/tools/types/common/degradate/test-degradate-new.cpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | 49 | 2021-02-20T12:08:15.000Z | 2021-05-07T19:59:08.000Z | test/test-200-types/sources/tools/types/common/degradate/test-degradate-new.cpp | Kartonagnick/tools-types | 4b3a697e579050eade081b82f9b96309fea8f5e7 | [
"MIT"
] | null | null | null | // [2021y-02m-20d][18:40:18] Idrisov Denis R.
// [2021y-03m-17d][20:49:29] Idrisov Denis R.
#include <mygtest/modern.hpp>
#ifdef TEST_TOOLS_DEGRADATE
#include <tools/features.hpp>
#ifdef dHAS_USING_ALIAS
// #pragma message("build for msvc2013 (or newer) or other compiler")
#define dTEST_COMPONENT tools, types, commo... | 51.87156 | 88 | 0.380881 | Kartonagnick |
cb8e7b7b4c4fa36969fa6f859c1b810605ebbc74 | 657 | hpp | C++ | rlTut/Actor.hpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | rlTut/Actor.hpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | rlTut/Actor.hpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | class Actor {
public :
int x,y; // position on map
int ch; // ascii code
TCODColor col; // color
const char *name; // the actor's name
bool blocks; // can we walk on this actor?
Attacker *attacker; // something that deals damages
Destructible *destructible; // something that can be damaged
Ai ... | 32.85 | 70 | 0.668189 | vrum |
cb9031533cf8369be3567f261e7fdccf1e073063 | 2,781 | cc | C++ | src/main/cpp/blaze_util_mingw.cc | cloudpanda/bazel | 981b7bc1ce793a484f9a39178d57f9e24bfc487a | [
"Apache-2.0"
] | 2 | 2016-02-06T16:36:44.000Z | 2019-03-30T07:56:11.000Z | src/main/cpp/blaze_util_mingw.cc | shwenzhang/bazel | 03bad4619075aa77876698c55827aa54e7426ea9 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/blaze_util_mingw.cc | shwenzhang/bazel | 03bad4619075aa77876698c55827aa54e7426ea9 | [
"Apache-2.0"
] | 2 | 2016-02-06T16:36:46.000Z | 2018-12-06T07:41:36.000Z | // Copyright 2014 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 ... | 25.990654 | 75 | 0.695433 | cloudpanda |
cb90d75dd73aa285ff525cfb4dba1ef5b10c6f34 | 213 | cpp | C++ | jp.atcoder/abc156/abc156_a/11412312.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc156/abc156_a/11412312.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc156/abc156_a/11412312.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n, r;
cin >> n >> r;
r += 100 * max(10 - n, 0);
cout << r << endl;
return 0;
}
| 14.2 | 31 | 0.502347 | kagemeka |
cb913f6fd1c175781b955306bd9d09543311fbed | 2,871 | hpp | C++ | native-library/src/util_classes/native_utils.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | 4 | 2021-03-03T11:27:57.000Z | 2022-03-29T03:42:47.000Z | native-library/src/util_classes/native_utils.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | null | null | null | native-library/src/util_classes/native_utils.hpp | AVSystem/Anjay-java | c8f8c5e0ac5a086db4ca183155eed07374fc6585 | [
"Apache-2.0"
] | 3 | 2020-11-04T13:13:24.000Z | 2021-12-06T08:03:48.000Z | /*
* Copyright 2020-2021 AVSystem <avsystem@avsystem.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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 35.012195 | 79 | 0.576106 | AVSystem |
cb92ea79c4568560ad6eb4a898c2d1f11f53aafd | 2,108 | cpp | C++ | llvm/unittests/Analysis/InlineCostTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | llvm/unittests/Analysis/InlineCostTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | llvm/unittests/Analysis/InlineCostTest.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===- InlineCostTest.cpp - test for InlineCost ---------------------------===//
//
// 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
//
//===---------------------------... | 27.025641 | 80 | 0.651803 | mkinsner |
cb93749db348ab19811caf722e6a09b57538e9ee | 7,929 | cpp | C++ | src/rmath.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | 6 | 2019-07-16T05:39:18.000Z | 2022-02-17T10:10:18.000Z | src/rmath.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | src/rmath.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "rmath.h"
#include "camera.h"
namespace Raekor {
namespace Math {
Ray::Ray(Viewport& viewport, glm::vec2 coords) {
glm::vec3 rayNDC = {
(2.0f * coords.x) / viewport.size.x - 1.0f,
1.0f - (2.0f * coords.y) / viewport.size.y,
1.0f
};
glm::vec4 rayClip = { r... | 31.094118 | 113 | 0.472695 | nicovanbentum |