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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c8d013750ae77f2bd1af7c7b584d0ed0d986dd16 | 29,472 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/NetworkStats.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/NetworkStats.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/NetworkStats.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 30.732013 | 114 | 0.606915 | jingcao80 |
c8d14feb6268f98a7fb72de26fd839f876530618 | 680 | hpp | C++ | vm/test/test_symbol.hpp | DCarper/rubinius | 6d1f079d0e792fda5606de65c81c8d622366a822 | [
"BSD-3-Clause"
] | 1 | 2015-11-05T01:23:05.000Z | 2015-11-05T01:23:05.000Z | vm/test/test_symbol.hpp | slawosz/rubinius | 6cb4a19a33e942110ae14a1721cf4b48036fcc06 | [
"BSD-3-Clause"
] | null | null | null | vm/test/test_symbol.hpp | slawosz/rubinius | 6cb4a19a33e942110ae14a1721cf4b48036fcc06 | [
"BSD-3-Clause"
] | 1 | 2021-09-18T04:55:38.000Z | 2021-09-18T04:55:38.000Z | #include "vm/test/test.hpp"
#include "builtin/symbol.hpp"
class TestSymbol : public CxxTest::TestSuite, public VMTest {
public:
void setUp() {
create();
}
void tearDown() {
destroy();
}
void test_index() {
Symbol* sym = state->symbol("blah");
TS_ASSERT_EQUALS(sym->index(state)->to_native... | 19.428571 | 67 | 0.626471 | DCarper |
c8d305d68c443d62d78608b25690c8b9f9fe6e42 | 229 | cpp | C++ | ChiModules/ThermoAlpha/chi_thermoalpha_00_constrdestr.cpp | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 7 | 2019-09-10T12:16:08.000Z | 2021-05-06T16:01:59.000Z | ChiModules/ThermoAlpha/chi_thermoalpha_00_constrdestr.cpp | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 72 | 2019-09-04T15:00:25.000Z | 2021-12-02T20:47:29.000Z | ChiModules/ThermoAlpha/chi_thermoalpha_00_constrdestr.cpp | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 41 | 2019-09-02T15:33:31.000Z | 2022-02-10T13:26:49.000Z | #include "chi_thermoalpha.h"
//######################################################### Default constructor
/** Default constructor for a thermo system
\author Jan*/
ThermoAlpha::ThermoAlpha()
{
fluidOption = TA_FLUID_WATER;
} | 25.444444 | 79 | 0.572052 | Jrgriss2 |
c8d364dc2ff97005be0bde0643dec9b6c96d0a42 | 1,225 | cpp | C++ | Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp | cnm06/Competitive-Programming | 94242ae458570d503b8218f37624b88cc5020d23 | [
"MIT"
] | 2 | 2020-03-18T13:49:27.000Z | 2020-03-19T08:22:47.000Z | Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | null | null | null | Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 1 | 2020-03-19T08:22:50.000Z | 2020-03-19T08:22:50.000Z | #include <bits/stdc++.h>
using namespace std;
int main() {
freopen("A-large-practice.in", "r", stdin);
freopen("output.txt", "w", stdout);
long long int n, i , j, ans, c;
string s;
cin>>n;
for(i=0;i<n;i++){
cin>>s;
ans = 1;
if(s.length()==1){
ans = 1;
}
... | 25 | 72 | 0.298776 | cnm06 |
c8d3844d0c9618a19133836c06aabac831f42e35 | 3,257 | cpp | C++ | lib/Support/Mutex.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | lib/Support/Mutex.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 2,214 | 2019-05-06T22:22:53.000Z | 2022-03-31T19:38:50.000Z | lib/Support/Mutex.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | //===- Mutex.cpp - Mutual Exclusion Lock ------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 26.479675 | 80 | 0.644151 | clayne |
c8d38568f791d7267b0f44ac3f71ed53a9044217 | 62 | cpp | C++ | inetsrv/iis/svcs/cmp/aspcmp/controt/mystring.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/cmp/aspcmp/controt/mystring.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/cmp/aspcmp/controt/mystring.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "stdafx.h"
#include "..\shared\src\mystring.cpp"
| 15.5 | 38 | 0.66129 | npocmaka |
c8d68ac8e2e21a2afb0b60e1e7cf5e2e2e79d240 | 14,534 | cc | C++ | content/browser/geolocation/wifi_data_provider_linux.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/geolocation/wifi_data_provider_linux.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/geolocation/wifi_data_provider_linux.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:25:45.000Z | 2020-11-04T07:25:45.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Provides wifi scan API binding for suitable for typical linux distributions.
// Currently, only the NetworkManager API is used, accessed via D-Bus ... | 38.04712 | 80 | 0.684258 | codenote |
c8d6b64af2d57a988993ccd4c2e739b14d5d9f99 | 19,697 | hpp | C++ | libraries/app/include/graphene/app/api.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | 1 | 2018-12-12T08:38:09.000Z | 2018-12-12T08:38:09.000Z | libraries/app/include/graphene/app/api.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | null | null | null | libraries/app/include/graphene/app/api.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | 37.95183 | 143 | 0.611819 | BlockLink |
c8d83b80e986578833fa84ca5c0fbfb51570cf2c | 3,722 | cpp | C++ | Projetos/Aula15/main.cpp | chaua/programacao-avancada | 4f580006d6e7e79e1bb6b32a62702eda3daa5874 | [
"MIT"
] | 15 | 2018-04-05T00:15:01.000Z | 2022-03-26T00:08:32.000Z | Projetos/Aula15/main.cpp | chaua/programacao-avancada | 4f580006d6e7e79e1bb6b32a62702eda3daa5874 | [
"MIT"
] | null | null | null | Projetos/Aula15/main.cpp | chaua/programacao-avancada | 4f580006d6e7e79e1bb6b32a62702eda3daa5874 | [
"MIT"
] | 7 | 2018-03-23T00:11:56.000Z | 2020-05-05T02:55:44.000Z | #include <iostream>
#include <iomanip>
#include <string>
#include <list>
#include <vector>
#include <algorithm>
using namespace std;
class Aluno {
public:
Aluno(string nome, float n1, float n2) : _nome(nome),
_nota1(n1),
_n... | 24.649007 | 90 | 0.551854 | chaua |
c8db3e38576e1a1087d7f289695e786508236492 | 1,869 | hpp | C++ | include/ioh/problem/bbob/griewank_rosenbrock.hpp | tobiasvandriessel/IOHexperimenter | da22d89fe1673ea67962829d12873e01387f6895 | [
"BSD-3-Clause"
] | null | null | null | include/ioh/problem/bbob/griewank_rosenbrock.hpp | tobiasvandriessel/IOHexperimenter | da22d89fe1673ea67962829d12873e01387f6895 | [
"BSD-3-Clause"
] | null | null | null | include/ioh/problem/bbob/griewank_rosenbrock.hpp | tobiasvandriessel/IOHexperimenter | da22d89fe1673ea67962829d12873e01387f6895 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "bbob_problem.hpp"
namespace ioh::problem::bbob
{
class GriewankRosenBrock final : public BBOProblem<GriewankRosenBrock>
{
std::vector<double> x_shift_;
protected:
double evaluate(const std::vector<double> &x) override
{
auto result = 0... | 35.942308 | 96 | 0.486891 | tobiasvandriessel |
c8dc29a7e7d46f29e25a0d3f7c3e489b7ab5e840 | 6,311 | cc | C++ | aten/src/ATen/native/quantized/cpu/qnnpack/src/deconv-run.cc | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | 1 | 2021-10-06T18:29:18.000Z | 2021-10-06T18:29:18.000Z | aten/src/ATen/native/quantized/cpu/qnnpack/src/deconv-run.cc | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | null | null | null | aten/src/ATen/native/quantized/cpu/qnnpack/src/deconv-run.cc | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | 1 | 2019-05-10T15:48:19.000Z | 2019-05-10T15:48:19.000Z | #include <conv_utils.h>
#include <pytorch_qnnpack.h>
#include <qnnpack_func.h>
#include <qnnpack/indirection.h>
#include <qnnpack/log.h>
#include <qnnpack/math.h>
#include <qnnpack/params.h>
#include <cstring>
#include <memory>
namespace qnnpack {
struct q8conv_context {
size_t bs;
size_t ks;
size_t kc;
size_... | 32.364103 | 135 | 0.709713 | sanchitintel |
c8dcf5669b45458b228c5e501295e46956fe014a | 2,047 | cc | C++ | cloudauth/src/model/ElementSmartVerifyResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | cloudauth/src/model/ElementSmartVerifyResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | cloudauth/src/model/ElementSmartVerifyResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 28.830986 | 87 | 0.75916 | iamzken |
c8df57d3fc9aba20ad75c9e8575b2e0cdf9e4143 | 3,820 | cpp | C++ | vcl/display/window/window.cpp | PPonc/inf443-vcl | 4d7bb0130c4bc44e089059464223eca318fdbd00 | [
"MIT"
] | null | null | null | vcl/display/window/window.cpp | PPonc/inf443-vcl | 4d7bb0130c4bc44e089059464223eca318fdbd00 | [
"MIT"
] | null | null | null | vcl/display/window/window.cpp | PPonc/inf443-vcl | 4d7bb0130c4bc44e089059464223eca318fdbd00 | [
"MIT"
] | null | null | null | #include "../opengl/opengl.hpp"
#include "window.hpp"
#include "../../base/base.hpp"
#include <iostream>
#ifndef GLFW_TRUE
#define GLFW_TRUE 1
#define GLFW_FALSE 0
#endif
namespace vcl
{
static std::string glfw_error_string(int error)
{
switch(error)
{
case GLFW_NOT_I... | 37.087379 | 176 | 0.634293 | PPonc |
c8e12cde2ffd0cb3447ae122a36621ec53e34bef | 39,992 | cpp | C++ | src/ThirdParty/yaml/test/integration/node_spec_test.cpp | xiaomingfun/TmingEngine | b81b822a4771c07908e1a72f5118a34552579d9e | [
"Apache-2.0"
] | 27 | 2018-05-21T14:28:10.000Z | 2021-12-31T03:12:35.000Z | src/ThirdParty/yaml/test/integration/node_spec_test.cpp | xiaomingfun/TmingEngine | b81b822a4771c07908e1a72f5118a34552579d9e | [
"Apache-2.0"
] | 1 | 2019-05-28T15:27:52.000Z | 2019-05-28T15:27:52.000Z | src/ThirdParty/yaml/test/integration/node_spec_test.cpp | xiaomingfun/TmingEngine | b81b822a4771c07908e1a72f5118a34552579d9e | [
"Apache-2.0"
] | 13 | 2019-11-08T12:48:44.000Z | 2022-01-04T04:13:33.000Z | #include "specexamples.h"
#include "yaml-cpp/yaml.h" // IWYU pragma: keep
#include "gtest/gtest.h"
#define EXPECT_THROW_PARSER_EXCEPTION(statement, message) \
ASSERT_THROW(statement, ParserException); \
try { \
statement; ... | 35.328622 | 81 | 0.608447 | xiaomingfun |
c8e197cdccf313f97f8e0b1f1c35937deb28d91d | 8,138 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T10:41:38.000Z | 2022-02-18T10:41:38.000Z | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 42.385417 | 280 | 0.746744 | viewdy |
c8e274f3f7831208c480b6d90d2d9b48d94ee1f2 | 8,387 | cpp | C++ | lib/Sema/IDETypeCheckingRequests.cpp | jackgmarch/swift | a53ab388bbbe86db37fd388201781f6a50f414c4 | [
"Apache-2.0"
] | 1 | 2021-06-22T18:53:18.000Z | 2021-06-22T18:53:18.000Z | lib/Sema/IDETypeCheckingRequests.cpp | jackgmarch/swift | a53ab388bbbe86db37fd388201781f6a50f414c4 | [
"Apache-2.0"
] | null | null | null | lib/Sema/IDETypeCheckingRequests.cpp | jackgmarch/swift | a53ab388bbbe86db37fd388201781f6a50f414c4 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 39.191589 | 80 | 0.682604 | jackgmarch |
c8e27d524998826bd8708344a34d876340fa916c | 1,574 | cpp | C++ | Fase 3/src/cone.cpp | pinetreeaxe/CG-TP | d77eb45d998c91e0cb0d9468244b229f8c0325f9 | [
"MIT"
] | 1 | 2021-12-23T15:17:42.000Z | 2021-12-23T15:17:42.000Z | Fase 3/src/cone.cpp | pinetreeaxe/CG-TP | d77eb45d998c91e0cb0d9468244b229f8c0325f9 | [
"MIT"
] | null | null | null | Fase 3/src/cone.cpp | pinetreeaxe/CG-TP | d77eb45d998c91e0cb0d9468244b229f8c0325f9 | [
"MIT"
] | null | null | null | #include "cone.hpp"
#include "point.hpp"
#define _USE_MATH_DEFINES
#include "math.h"
Cone::Cone(int argc, char** argv) {
radius = std::stof(argv[0]);
height = std::stof(argv[1]);
slices = std::stoi(argv[2]);
stacks = std::stoi(argv[2]);
}
std::vector<Point> Cone::draw() {
Point center = Point(0, 0, ... | 23.848485 | 103 | 0.593393 | pinetreeaxe |
c8e2a8c02c1ee5760000ffd3e3b7eaa5c3f3482f | 10,846 | cc | C++ | cc/trees/layer_tree_host_perftest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5 | 2015-04-30T00:13:21.000Z | 2019-07-10T02:17:24.000Z | cc/trees/layer_tree_host_perftest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/trees/layer_tree_host_perftest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/trees/layer_tree_host.h"
#include <sstream>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service... | 31.166667 | 79 | 0.726074 | kjthegod |
c8e491dff19b3ae8ab200f93cc1f2829e2cfc216 | 2,840 | cpp | C++ | Applications/FontEditor/GlyphEditorWidget.cpp | mmatoscom/serenity | b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8 | [
"BSD-2-Clause"
] | 1 | 2019-06-06T21:41:44.000Z | 2019-06-06T21:41:44.000Z | Applications/FontEditor/GlyphEditorWidget.cpp | mmatoscom/serenity | b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8 | [
"BSD-2-Clause"
] | null | null | null | Applications/FontEditor/GlyphEditorWidget.cpp | mmatoscom/serenity | b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8 | [
"BSD-2-Clause"
] | 1 | 2019-11-17T10:42:52.000Z | 2019-11-17T10:42:52.000Z | #include "GlyphEditorWidget.h"
#include <LibGUI/GPainter.h>
GlyphEditorWidget::GlyphEditorWidget(Font& mutable_font, GWidget* parent)
: GFrame(parent)
, m_font(mutable_font)
{
set_frame_thickness(2);
set_frame_shadow(FrameShadow::Sunken);
set_frame_shape(FrameShape::Container);
set_relative_rec... | 28.686869 | 113 | 0.627113 | mmatoscom |
c8e5c649fa9ee8b58679516295e2cd6af70c9b3c | 13,672 | cpp | C++ | LTEscan/src/LTEscan.cpp | anarkiwi/lime-tools | 76c5aa7661c10cec50359f0b5a409676d44a17e3 | [
"Apache-2.0"
] | 27 | 2018-07-26T00:48:46.000Z | 2022-03-21T20:19:02.000Z | LTEscan/src/LTEscan.cpp | anarkiwi/lime-tools | 76c5aa7661c10cec50359f0b5a409676d44a17e3 | [
"Apache-2.0"
] | 10 | 2018-06-09T15:59:23.000Z | 2020-02-15T22:01:02.000Z | LTEscan/src/LTEscan.cpp | anarkiwi/lime-tools | 76c5aa7661c10cec50359f0b5a409676d44a17e3 | [
"Apache-2.0"
] | 15 | 2018-06-26T06:12:14.000Z | 2021-11-10T07:34:09.000Z | /*
Copyright 2019 Lime Microsystems Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 36.169312 | 191 | 0.694705 | anarkiwi |
c8e6304e028215eaf2090cecf1ab37d93ee7a47f | 2,752 | cpp | C++ | platforms/leetcode/0295_maximum_profit_in_job_scheduling.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | 2 | 2020-09-17T09:04:00.000Z | 2020-11-20T19:43:18.000Z | platforms/leetcode/0295_maximum_profit_in_job_scheduling.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0295_maximum_profit_in_job_scheduling.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include "../../template.hpp"
int sol(const vi& start, const vi& stop, const vi& profit) {
const int n = start.size();
vi idxs(n);
iota(idxs.begin(), idxs.end(), 0);
sort(idxs.begin(), idxs.end(), [&stop](const int i, const int j){
return stop[i] < stop[j];
});
vi dp(n);
dp[0] = pro... | 33.975309 | 138 | 0.453125 | idfumg |
c8e6879fc286dfb63fe9bf69f359debfe2a49446 | 3,533 | hpp | C++ | src/D3D12Hook.hpp | MeatSafeMurderer/REFramework | e275d7eccccfcb70311863b3f822428bdd74ce95 | [
"MIT"
] | 1 | 2022-01-25T04:46:24.000Z | 2022-01-25T04:46:24.000Z | src/D3D12Hook.hpp | drowhunter/REFramework | 49ef476d13439110cc0ae565cc323cd615d9b327 | [
"MIT"
] | null | null | null | src/D3D12Hook.hpp | drowhunter/REFramework | 49ef476d13439110cc0ae565cc323cd615d9b327 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <functional>
#pragma comment(lib, "d3d12.lib")
#pragma comment(lib, "dxgi")
#include <d3d12.h>
#include <dxgi1_4.h>
#include "utility/PointerHook.hpp"
class D3D12Hook
{
public:
typedef std::function<void(D3D12Hook&)> OnPresentFn;
typedef std::function<void(D3D12Hook&)> O... | 28.039683 | 255 | 0.714407 | MeatSafeMurderer |
c8e70537dbce0a7a46ad882d9fa3472346715131 | 3,825 | cpp | C++ | src/mongo/util/clock_source.cpp | MartinNeupauer/mongo | 6cc2dfe7edd312b8596355edef454e15988e350e | [
"Apache-2.0"
] | 1 | 2021-06-02T05:13:29.000Z | 2021-06-02T05:13:29.000Z | src/mongo/util/clock_source.cpp | visemet/mongo | 232c772546f26bcb5a5556d859e56002a4135f0b | [
"Apache-2.0"
] | 2 | 2021-03-26T00:01:11.000Z | 2021-03-26T00:02:19.000Z | src/mongo/util/clock_source.cpp | visemet/mongo | 232c772546f26bcb5a5556d859e56002a4135f0b | [
"Apache-2.0"
] | 5 | 2020-12-16T13:31:55.000Z | 2021-01-17T07:39:30.000Z | /**
* Copyright (C) 2017 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 43.465909 | 100 | 0.66902 | MartinNeupauer |
c8e7ce19a78060cd76425b101fd5387e4077a1a7 | 583 | cpp | C++ | Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | #include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
const int sz= 1e5;
int n, q, k, a, b;
cin>>n>>q;
int** seqSet = new int*[(const int)n];
for(int i= 0; i<n; i++){
cin>>k;
int* seq = new int[(const int)k];
... | 15.756757 | 42 | 0.427101 | akash246 |
c8e99f80e24c998f73ef544b875db1c680c52b6c | 13,890 | cpp | C++ | toonz/sources/toonz/levelcommand.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/levelcommand.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/levelcommand.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T17:12:30.000Z | 2019-10-07T17:12:30.000Z |
#include "toonzqt/menubarcommand.h"
#include "menubarcommandids.h"
#include "tapp.h"
#include "toonz/tscenehandle.h"
#include "toonz/txshlevelhandle.h"
#include "toonz/tframehandle.h"
#include "toonz/txsheethandle.h"
#include "filmstripselection.h"
#include "castselection.h"
#include "cellselection.h"
#include "timag... | 29.743041 | 156 | 0.61987 | ss23 |
c8ea11c4cda7e0a6fecbfb38344352a4489fdbd0 | 1,991 | cpp | C++ | Leetcode/Binary_Tree/leaf-similar-trees.cpp | susantabiswas/competitive_coding | 49163ecdc81b68f5c1bd90988cc0dfac34ad5a31 | [
"MIT"
] | 2 | 2021-04-29T14:44:17.000Z | 2021-10-01T17:33:22.000Z | Leetcode/Binary_Tree/leaf-similar-trees.cpp | adibyte95/competitive_coding | a6f084d71644606c21840875bad78d99f678a89d | [
"MIT"
] | null | null | null | Leetcode/Binary_Tree/leaf-similar-trees.cpp | adibyte95/competitive_coding | a6f084d71644606c21840875bad78d99f678a89d | [
"MIT"
] | 1 | 2021-10-01T17:33:29.000Z | 2021-10-01T17:33:29.000Z | /*
https://leetcode.com/problems/leaf-similar-trees/submissions/
Idea is to find the order of leaf nodes of 1st tree and then do a
preorder traversal of 2nd tree and check if the leaves of 2nd tree
are also in the same order.
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* ... | 32.112903 | 93 | 0.547966 | susantabiswas |
c8ea2b19c5e7fc6f36d88660b44cbb6b8a8ae8f6 | 698 | cpp | C++ | universal-problems/807.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | 1 | 2020-07-19T15:37:01.000Z | 2020-07-19T15:37:01.000Z | universal-problems/807.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | null | null | null | universal-problems/807.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | null | null | null | class Solution {
public:
int maxIncreaseKeepingSkyline(vector<vector<int>>& grid) {
vector <int> rows, cols;
rows.resize(grid.size());
cols.resize(grid[0].size());
for (auto &x : rows) x = 0;
for (auto &x : cols) x = 0;
for (int i = 0; i < grid.size(); ++ i)
... | 33.238095 | 62 | 0.426934 | Galaxies99 |
c8ea2e4565f3c61082f2a1e40db55d92f2e05d9b | 520 | cpp | C++ | third_party/WebKit/Source/platform/geometry/IntRectTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/platform/geometry/IntRectTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/platform/geometry/IntRectTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/geometry/IntRect.h"
#include "platform/wtf/text/WTFString.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
TEST(I... | 24.761905 | 73 | 0.717308 | metux |
c8ea4bd148c4fc23b01d3894a8becdb27cd9acfb | 1,052 | hpp | C++ | 3rd_party/occa/src/occa/internal/modes/metal/kernel.hpp | RonRahaman/nekRS | ffc02bca33ece6ba3330c4ee24565b1c6b5f7242 | [
"BSD-3-Clause"
] | 312 | 2015-07-02T09:02:09.000Z | 2022-03-30T16:13:23.000Z | 3rd_party/occa/src/occa/internal/modes/metal/kernel.hpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | 520 | 2015-07-12T18:32:38.000Z | 2022-03-31T16:15:00.000Z | 3rd_party/occa/src/occa/internal/modes/metal/kernel.hpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | 79 | 2015-07-22T22:10:56.000Z | 2022-03-17T09:07:01.000Z | #ifndef OCCA_INTERNAL_MODES_METAL_KERNEL_HEADER
#define OCCA_INTERNAL_MODES_METAL_KERNEL_HEADER
#include <occa/internal/core/launchedKernel.hpp>
#include <occa/internal/api/metal.hpp>
namespace occa {
namespace metal {
class device;
class kernel : public occa::launchedModeKernel_t {
friend class devi... | 24.465116 | 54 | 0.646388 | RonRahaman |
c8eb3d8af19093c42b63da3a0076bec5878ecbb0 | 4,992 | cpp | C++ | modules/juce_core/threads/juce_TimeSliceThread.cpp | webdeveloper0012/juce-lib | 37b65350a80e2347754cd8634b7272607dcef350 | [
"ISC"
] | 199 | 2015-02-01T03:01:58.000Z | 2022-01-12T18:52:24.000Z | Frameworks/JuceModules/juce_core/threads/juce_TimeSliceThread.cpp | soundigy/protoplug | 6060a3bcb3213ce890a9b781d29f702099127ddd | [
"MIT"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Frameworks/JuceModules/juce_core/threads/juce_TimeSliceThread.cpp | steveschow/protoplug | 3f06f4965d84b66f8f6a51dab6000c3ff8ac43c7 | [
"MIT"
] | 31 | 2015-03-10T08:53:20.000Z | 2022-03-22T22:33:48.000Z | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... | 26.983784 | 113 | 0.537861 | webdeveloper0012 |
c8eb9acb8b6c6aa19affa6a433bf11d1563b20eb | 3,626 | hpp | C++ | Compiler/boost/boost/spirit/home/qi/operator/difference.hpp | davidov541/MiniC | d3b16a1568b97a4d801880b110a8be04fe848adb | [
"Apache-2.0"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | LibsExternes/Includes/boost/spirit/home/qi/operator/difference.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 1 | 2017-04-05T01:56:28.000Z | 2017-04-05T01:56:28.000Z | LibsExternes/Includes/boost/spirit/home/qi/operator/difference.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2001-2010 Joel de Guzman
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)
====================================... | 35.203883 | 81 | 0.530888 | davidov541 |
c8edb6f86ab4374f90cead3d820650dc17fee2b2 | 559 | cpp | C++ | platforms/atcoder/abc184_a.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | 2 | 2020-09-17T09:04:00.000Z | 2020-11-20T19:43:18.000Z | platforms/atcoder/abc184_a.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/atcoder/abc184_a.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | //#include "../../template.hpp"
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define INF static_cast<int32_t>(1e9)
using ll = int64_t;
using vi = vector<int>;
using vll = vector<ll>;
using vvi = vector<vi>;
using vvll = vector<vll>;
using vb = vector<bool>;
using vvb = vector<vb>;
[[maybe_unused... | 22.36 | 150 | 0.613596 | idfumg |
c8ee4909f5212f6e145f82ecae66f5eac2b95071 | 2,667 | cpp | C++ | code/nes/mapper/10.cpp | oldGanon/neszett | 7b42b042fe74e37e18f93718c3549feeea7d85e7 | [
"MIT"
] | null | null | null | code/nes/mapper/10.cpp | oldGanon/neszett | 7b42b042fe74e37e18f93718c3549feeea7d85e7 | [
"MIT"
] | null | null | null | code/nes/mapper/10.cpp | oldGanon/neszett | 7b42b042fe74e37e18f93718c3549feeea7d85e7 | [
"MIT"
] | null | null | null |
static u8
Mapper10_Read(cart *Cart, u16 Address)
{
switch (Address >> 12)
{
case 0:
{
u8 Value = Cart->Chr[Cart->Mapper9.ChrLatch[0]][Address & 0xFFF];
if (0x0FD8 <= Address && Address <= 0x0FDF) Cart->Mapper9.ChrLatch[0] = 0;
if (0x0FE8 <= Address && Address... | 41.030769 | 103 | 0.56393 | oldGanon |
c8eebe1dd45fa081e8d9677abf29fdcb5f3fd600 | 3,215 | cpp | C++ | libs/log/src/unhandled_exception_count.cpp | lilinj2000/boost_1_58_0 | 21edb36c6ad359027f23fb4dd1536ed6e9cf911b | [
"BSL-1.0"
] | 2 | 2015-04-26T22:34:42.000Z | 2015-10-22T17:03:48.000Z | libs/log/src/unhandled_exception_count.cpp | lilinj2000/boost_1_58_0 | 21edb36c6ad359027f23fb4dd1536ed6e9cf911b | [
"BSL-1.0"
] | null | null | null | libs/log/src/unhandled_exception_count.cpp | lilinj2000/boost_1_58_0 | 21edb36c6ad359027f23fb4dd1536ed6e9cf911b | [
"BSL-1.0"
] | 2 | 2021-05-05T04:32:29.000Z | 2021-09-13T15:06:24.000Z | /*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file unhandled_exception_count.cpp
* \author Andrey Semashev
* \date 05.11.2012
... | 36.954023 | 193 | 0.742457 | lilinj2000 |
c8ef69490dd2c3d07215de2a8b497bbc51242366 | 6,672 | cpp | C++ | frameworks/cocos2d-x/cocos/2d/CCAtlasNode.cpp | Ingener74/Rocket | fa8b06b1b6cb550e352ac7dc893fbf749c58c09f | [
"MIT"
] | 10 | 2016-09-19T21:58:37.000Z | 2021-04-01T13:41:44.000Z | frameworks/cocos2d-x/cocos/2d/CCAtlasNode.cpp | bunny1985/literaki | dc6b00da3923f4aac82dc20b422a50ca87045a84 | [
"MIT"
] | 1 | 2016-08-16T05:00:13.000Z | 2016-12-16T07:17:25.000Z | frameworks/cocos2d-x/cocos/2d/CCAtlasNode.cpp | bunny1985/literaki | dc6b00da3923f4aac82dc20b422a50ca87045a84 | [
"MIT"
] | 1 | 2019-12-25T02:10:32.000Z | 2019-12-25T02:10:32.000Z | /****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2011 Zynga Inc.
CopyRight (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to an... | 25.860465 | 158 | 0.713579 | Ingener74 |
c8efb5610ee8d8a16477ee4ffb4526efb2a1d2bb | 772 | cpp | C++ | CodeForces/Complete/600-699/631B-PrintCheck.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/600-699/631B-PrintCheck.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/600-699/631B-PrintCheck.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <iostream>
#include <vector>
int main(){
std::ios_base::sync_with_stdio(false);
long n, m, k; std::cin >> n >> m >> k;
std::vector<long> rowNum(n, 0);
std::vector<long> rowColor(n, 0);
std::vector<long> colNum(m, 0);
std::vector<long> colColor(m, 0);
for(long p = 1; p <= k; p++... | 24.903226 | 94 | 0.501295 | Ashwanigupta9125 |
c8f04660663ed1d5af5023a1a69a25c9d0876523 | 31,918 | cc | C++ | chrome/browser/history/top_sites_impl.cc | MIPS/external-chromium_org | e31b3128a419654fd14003d6117caa8da32697e7 | [
"BSD-3-Clause"
] | 2 | 2017-03-21T23:19:25.000Z | 2019-02-03T05:32:47.000Z | chrome/browser/history/top_sites_impl.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/history/top_sites_impl.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/history/top_sites_impl.h"
#include <algorithm>
#include <set>
#include "base/bind.h"
#include "base/bind_helpers.h"
#includ... | 33.739958 | 80 | 0.695814 | MIPS |
c8f10eca26b6cb3f6bdbcc15af563a8996e89d07 | 20,037 | cc | C++ | src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc | rmaddali991/rdk-cobalt | b2f08a80c136be75295338aeb71895d06bb6d374 | [
"Apache-2.0"
] | 1 | 2022-01-25T21:22:47.000Z | 2022-01-25T21:22:47.000Z | src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc | rmaddali991/rdk-cobalt | b2f08a80c136be75295338aeb71895d06bb6d374 | [
"Apache-2.0"
] | null | null | null | src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc | rmaddali991/rdk-cobalt | b2f08a80c136be75295338aeb71895d06bb6d374 | [
"Apache-2.0"
] | 1 | 2021-09-14T22:35:29.000Z | 2021-09-14T22:35:29.000Z | //
// Copyright 2020 Comcast Cable Communications Management, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 34.134583 | 142 | 0.726456 | rmaddali991 |
c8f2f93832af842df65c9efcc78fe199d4d0797a | 967 | cpp | C++ | searchlib/src/vespa/searchlib/attribute/address_space_components.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,054 | 2017-08-11T07:58:38.000Z | 2022-03-31T22:32:15.000Z | searchlib/src/vespa/searchlib/attribute/address_space_components.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,854 | 2017-08-10T20:19:25.000Z | 2022-03-31T19:04:23.000Z | searchlib/src/vespa/searchlib/attribute/address_space_components.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 541 | 2017-08-10T18:51:18.000Z | 2022-03-11T03:18:56.000Z | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "address_space_components.h"
#include "i_enum_store.h"
namespace search {
using vespalib::AddressSpace;
AddressSpace AddressSpaceComponents::default_enum_store_usage() {
return AddressSpace(0, 0, IE... | 37.192308 | 104 | 0.794209 | Anlon-Burke |
c8f3d8243aca5d8a84ea9b1770949f69a20dbf1c | 3,396 | cpp | C++ | KTL/KTL.Containers.ListNode.cpp | MeeSong/KTL | c556e44c57a402ce049a3f83270b40ccaca1fec6 | [
"MIT"
] | 105 | 2016-09-24T14:47:32.000Z | 2022-03-28T15:15:31.000Z | KTL/KTL.Containers.ListNode.cpp | c3358/KTL | c556e44c57a402ce049a3f83270b40ccaca1fec6 | [
"MIT"
] | 2 | 2019-08-21T22:24:45.000Z | 2021-07-28T11:28:59.000Z | KTL/KTL.Containers.ListNode.cpp | c3358/KTL | c556e44c57a402ce049a3f83270b40ccaca1fec6 | [
"MIT"
] | 46 | 2017-08-30T07:28:28.000Z | 2022-02-04T14:42:57.000Z | #include "KTL.Containers.ListNode.h"
#include "KTL.Type.Uitility.h"
namespace ktl
{
inline namespace containers
{
/// STRUCT _List_node_base
bool _List_node_base::empty() const NOEXCEPT$TYPE
{
return static_cast<bool>((m_next == this));
}
void... | 30.872727 | 83 | 0.463486 | MeeSong |
c8f547d03c11e96b9c775d6c8372039dbbd70771 | 49,878 | cpp | C++ | platform/default/src/mbgl/storage/offline_database.cpp | atierian/maplibre-gl-native | 59fa32e96a8e24d439afc1bcba503e87852a4644 | [
"BSD-2-Clause"
] | 316 | 2021-02-05T10:34:35.000Z | 2022-03-23T21:58:39.000Z | platform/default/src/mbgl/storage/offline_database.cpp | atierian/maplibre-gl-native | 59fa32e96a8e24d439afc1bcba503e87852a4644 | [
"BSD-2-Clause"
] | 187 | 2021-02-11T10:39:30.000Z | 2022-03-31T21:59:47.000Z | platform/default/src/mbgl/storage/offline_database.cpp | atierian/maplibre-gl-native | 59fa32e96a8e24d439afc1bcba503e87852a4644 | [
"BSD-2-Clause"
] | 93 | 2021-02-04T09:39:14.000Z | 2022-03-31T04:03:56.000Z | #include <mbgl/storage/offline_database.hpp>
#include <mbgl/storage/response.hpp>
#include <mbgl/storage/sqlite3.hpp>
#include <mbgl/util/compression.hpp>
#include <mbgl/util/io.hpp>
#include <mbgl/util/string.hpp>
#include <mbgl/util/chrono.hpp>
#include <mbgl/util/logging.hpp>
#include <mbgl/util/tile_server_options.... | 33.497649 | 144 | 0.593328 | atierian |
c8f8f7d67b845678eac7969d423acde39d1e96ef | 35,410 | cpp | C++ | src/llvm/lib/VMCore/DebugInfo.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2015-02-04T20:57:19.000Z | 2015-02-04T20:57:19.000Z | src/llvm/lib/VMCore/DebugInfo.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/llvm/lib/VMCore/DebugInfo.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | //===--- DebugInfo.cpp - Debug Information Helper Classes -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 30.290847 | 82 | 0.65747 | jeltz |
c8f94857af570a7b0aaf2c4ef85bedcbb1321966 | 9,265 | cc | C++ | ecp5/config.cc | ZirconiumX/nextpnr | 3c078f609029d363b1081e727de8a19162867b08 | [
"ISC"
] | 79 | 2019-09-26T12:46:28.000Z | 2021-04-22T16:10:12.000Z | ecp5/config.cc | ZirconiumX/nextpnr | 3c078f609029d363b1081e727de8a19162867b08 | [
"ISC"
] | 15 | 2019-12-24T11:25:28.000Z | 2021-02-07T21:11:58.000Z | ecp5/config.cc | ZirconiumX/nextpnr | 3c078f609029d363b1081e727de8a19162867b08 | [
"ISC"
] | 12 | 2019-12-27T16:22:47.000Z | 2021-04-21T09:19:58.000Z | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* 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 appe... | 26.396011 | 119 | 0.538586 | ZirconiumX |
c8fa382a0dd07bbd6e34d683b502db485518fb7f | 642 | cpp | C++ | test/std/numerics/rand/rand.device/entropy.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/numerics/rand/rand.device/entropy.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/numerics/rand/rand.device/entropy.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 22.928571 | 80 | 0.507788 | K-Wu |
c8fafe4555eef67cad25aaa687a6298e30a5d0d6 | 19,604 | cpp | C++ | oldies/bofiocmdchannel.cpp | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | null | null | null | oldies/bofiocmdchannel.cpp | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | 1 | 2021-03-20T14:46:54.000Z | 2021-03-20T14:47:10.000Z | oldies/bofiocmdchannel.cpp | onbings/bofstd | 366ff7f7d8871d5fa5785d5690d90506a7714ecc | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013-2023, Evs Broadcast Equipment All rights reserved.
*
* Author: Bernard HARMEL: b.harmel@evs.com
* Web: www.evs.com
* Revision: 1.0
*
* Rem: Nothing
*
* History:
*
* V 1.00 Dec 19 2017 BHA : Initial release
*/
#include <bofstd/bofiocmdchannel.h>
#include <bof... | 34.636042 | 197 | 0.721536 | onbings |
c8fb9d106e32da5effdfa87891c19660c076a8a1 | 25,312 | cpp | C++ | llvm/lib/Transforms/Scalar/ADCE.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | llvm/lib/Transforms/Scalar/ADCE.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | llvm/lib/Transforms/Scalar/ADCE.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | //===- ADCE.cpp - Code to perform dead code elimination -------------------===//
//
// 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
//
//===---------------------------... | 33.839572 | 80 | 0.677386 | kubamracek |
c8fc2585802735461cf02c97060dea7c02475086 | 4,843 | cpp | C++ | src/CSVGFontFace.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 5 | 2015-04-11T14:56:03.000Z | 2021-12-14T10:12:36.000Z | src/CSVGFontFace.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 3 | 2015-04-20T19:23:15.000Z | 2021-09-03T20:03:30.000Z | src/CSVGFontFace.cpp | colinw7/CSVG | 049419b4114fc6ff7f5b25163398f02c21a64bf6 | [
"MIT"
] | 3 | 2015-05-21T08:33:12.000Z | 2020-05-13T15:45:11.000Z | #include <CSVGFontFace.h>
#include <CSVG.h>
CSVGFontFace::
CSVGFontFace(CSVG &svg) :
CSVGObject(svg)
{
}
CSVGFontFace::
CSVGFontFace(const CSVGFontFace &face) :
CSVGObject(face),
fontFamily_(face.fontFamily_),
fontStyle_ (face.fontStyle_),
unitsPerEm_(face.unitsPerEm_),
panose_ (face.panose_),
ascent_ (f... | 31.245161 | 83 | 0.688003 | colinw7 |
c8fcc68062ea917c59d83c05200d57317d1e76e6 | 8,857 | cpp | C++ | dep/reactphysics3d/src/memory/PoolAllocator.cpp | harperkdavis/hkedengine | 4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f | [
"MIT"
] | 1 | 2022-02-14T11:54:13.000Z | 2022-02-14T11:54:13.000Z | dep/reactphysics3d/src/memory/PoolAllocator.cpp | harperkdavis/hkedengine | 4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f | [
"MIT"
] | null | null | null | dep/reactphysics3d/src/memory/PoolAllocator.cpp | harperkdavis/hkedengine | 4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f | [
"MIT"
] | null | null | null | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2022 Daniel Chappuis *
**************************************************************************... | 41.976303 | 127 | 0.612736 | harperkdavis |
c8fe55ea617b902e297f768997bb85fabab0b1f5 | 2,562 | cpp | C++ | playground/win32_opengl_context/main.cpp | tobanteAudio/moci | a0a764e8a5270f9344ff57366fea36f72e7e3aa4 | [
"BSD-2-Clause"
] | null | null | null | playground/win32_opengl_context/main.cpp | tobanteAudio/moci | a0a764e8a5270f9344ff57366fea36f72e7e3aa4 | [
"BSD-2-Clause"
] | 16 | 2020-03-19T22:08:47.000Z | 2020-06-18T18:55:00.000Z | playground/win32_opengl_context/main.cpp | tobanteAudio/moci | a0a764e8a5270f9344ff57366fea36f72e7e3aa4 | [
"BSD-2-Clause"
] | null | null | null | #include <windows.h>
#include <GL/GL.h>
#pragma comment(lib, "opengl32.lib")
template <typename Type>
void IgnoreUnused(Type const& /*unused*/)
{
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
int WinMain(__in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in_opt LPSTR... | 31.62963 | 116 | 0.636612 | tobanteAudio |
74027ddd1b2091464bc1bc21541c4b122b58a31d | 582 | cpp | C++ | src/vulkan/vulkan_functions/VulkanFunctions.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | src/vulkan/vulkan_functions/VulkanFunctions.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | src/vulkan/vulkan_functions/VulkanFunctions.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | 1 | 2021-08-24T05:43:01.000Z | 2021-08-24T05:43:01.000Z | #include "../../../include/vulkan/vulkan_functions/VulkanFunctions.hpp"
// exported
#define EXPORTED_VULKAN_FUNCTION( name ) PFN_##name name;
// global
#define GLOBAL_LEVEL_VULKAN_FUNCTION( name ) PFN_##name name;
// instance
#define INSTANCE_LEVEL_VULKAN_FUNCTION( name ) PFN_##name name;
// device
#define DEVICE... | 34.235294 | 171 | 0.61512 | jabronicus |
7403b37150f26fdd72dde0b2077ee3a6d3adbd70 | 664 | cpp | C++ | 1.Arrays/Arrays_Smallest_and_Largest_number.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 1.Arrays/Arrays_Smallest_and_Largest_number.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | 1.Arrays/Arrays_Smallest_and_Largest_number.cpp | suraj0803/DSA | 6ea21e452d7662e2351ee2a7b0415722e1bbf094 | [
"MIT"
] | null | null | null | #include<iostream>
#include<climits> // INT_MAX and INT_MIN for max and min of integer size
using namespace std;
int main()
{
int n;
cin>>n;
int arr[1000];
for(int i=0; i<n; i++){
cin >> arr[i];
}
// Algorithm to find largest and smallest number
int largest = INT_... | 18.971429 | 73 | 0.50753 | suraj0803 |
7403f7c10bfb5d18c2065976f01b86e1b4a978cd | 990 | hpp | C++ | programs/rodeos/streamer_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 13,162 | 2017-05-29T22:08:27.000Z | 2022-03-29T19:25:05.000Z | programs/rodeos/streamer_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 6,450 | 2017-05-30T14:41:50.000Z | 2022-03-30T11:30:04.000Z | programs/rodeos/streamer_plugin.hpp | forfreeday/eos | 11d35f0f934402321853119d36caeb7022813743 | [
"Apache-2.0",
"MIT"
] | 4,491 | 2017-05-29T22:08:32.000Z | 2022-03-29T07:09:52.000Z | // copyright defined in LICENSE.txt
#pragma once
#include <appbase/application.hpp>
#include <eosio/abi.hpp>
#include "cloner_plugin.hpp"
namespace b1 {
struct stream_wrapper_v0 {
eosio::name route;
std::vector<char> data;
};
EOSIO_REFLECT(stream_wrapper_v0, route, data);
using stream_wrapper = std::var... | 25.384615 | 115 | 0.733333 | forfreeday |
740569e40af498ca2093be359da3d8bc331b4410 | 4,198 | cc | C++ | content/common/indexed_db/indexed_db_key.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/common/indexed_db/indexed_db_key.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/common/indexed_db/indexed_db_key.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/indexed_db/indexed_db_key.h"
#include <string>
namespace content {
using blink::WebIDBKeyType;
using blink::kWebIDBKeyType... | 29.152778 | 79 | 0.695569 | zipated |
74058c00cd4bbf25fe6b2ec59620814f9c38cca7 | 1,777 | cpp | C++ | console/src/boost_1_78_0/libs/regex/test/quick_icu.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 1 | 2019-10-27T21:15:52.000Z | 2019-10-27T21:15:52.000Z | console/src/boost_1_78_0/libs/regex/test/quick_icu.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | null | null | null | console/src/boost_1_78_0/libs/regex/test/quick_icu.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 1 | 2021-08-24T08:49:34.000Z | 2021-08-24T08:49:34.000Z |
// Copyright 1998-2002 John Maddock
// Copyright 2017 Peter Dimov
//
// 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
// See library home page at http://www.boost.org/libs/regex
#include <boost/regex/icu.hpp>
... | 31.732143 | 116 | 0.663478 | vany152 |
740714ddb72c6cbd57ef3baf25284d78fb97df3a | 22,543 | cpp | C++ | src/qt/src/gui/widgets/qmenu_wince.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 46 | 2015-01-08T14:32:34.000Z | 2022-02-05T16:48:26.000Z | src/qt/src/gui/widgets/qmenu_wince.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 7 | 2015-01-20T14:28:12.000Z | 2017-01-18T17:21:44.000Z | src/qt/src/gui/widgets/qmenu_wince.cpp | ant0ine/phantomjs | 8114d44a28134b765ab26b7e13ce31594fa81253 | [
"BSD-3-Clause"
] | 14 | 2015-10-27T06:17:48.000Z | 2020-03-03T06:15:50.000Z | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | 33.696562 | 134 | 0.658209 | ant0ine |
7407582567ad68a0eaa36b269fb1a5f0678c4b99 | 3,149 | hpp | C++ | src/math/vector4.hpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | src/math/vector4.hpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | 2 | 2021-05-29T20:34:50.000Z | 2021-05-29T20:39:25.000Z | src/math/vector4.hpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | #pragma once
#include <defines.h>
#include "float.hpp"
#include "color.hpp"
#include "vector2.hpp"
#include "vector3.hpp"
namespace math {
struct vector4 {
union {
struct { f32 x, y, z, w; };
struct { f32 u, v, s, t; };
struct { f32 r, g, b, a; };
struct { f32 _1, _2... | 28.369369 | 108 | 0.527151 | JustSlavic |
740839979277a09192ee7dfa00187e01b3b57147 | 28,811 | cpp | C++ | third_party/aten/src/ATen/cpu/tbb/tbb_remote/src/test/test_parallel_for.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 2 | 2018-02-01T03:48:53.000Z | 2018-09-09T01:53:10.000Z | third_party/aten/src/ATen/cpu/tbb/tbb_remote/src/test/test_parallel_for.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/aten/src/ATen/cpu/tbb/tbb_remote/src/test/test_parallel_for.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | /*
Copyright (c) 2005-2017 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | 37.661438 | 161 | 0.673562 | gautamkmr |
74083a2c1307f41b8bfb95a0d14378d3ede5620c | 743 | hpp | C++ | Support/Modules/QGDrawing/QGBase.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/QGDrawing/QGBase.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/QGDrawing/QGBase.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z | // *****************************************************************************
//
// Export-import declarations and definitions for the QGDrawing module
//
// Module: QGDrawing
// Namespace: TE
// Contact person: DGY
//
// SG compatible
//
// ***********************************************************************... | 22.515152 | 80 | 0.449529 | graphisoft-python |
740988b5bf85be7c4f79c23f2bfc9c3579528833 | 28,552 | cpp | C++ | src/plugins/intel_cpu/src/memory_desc/dnnl_blocked_memory_desc.cpp | shaun95/openvino | a3d5b6501d851e604a0cd363a100f42ec4369469 | [
"Apache-2.0"
] | 1 | 2022-03-09T08:11:10.000Z | 2022-03-09T08:11:10.000Z | src/plugins/intel_cpu/src/memory_desc/dnnl_blocked_memory_desc.cpp | wgzintel/openvino | 334e9e994e1e64d060edc989c77fab35919e378d | [
"Apache-2.0"
] | 1 | 2022-02-13T09:56:15.000Z | 2022-02-13T09:56:15.000Z | src/plugins/intel_cpu/src/memory_desc/dnnl_blocked_memory_desc.cpp | AlexRogalskiy/openvino | ac2e639ff8f9a607c3c682a4c4e165c238eb817f | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "memory_desc/dnnl_blocked_memory_desc.h"
#include <dnnl_types.h>
#include <common/memory_desc_wrapper.hpp>
using namespace MKLDNNPlugin;
using namespace InferenceEngine;
DnnlBlockedMemoryDesc::DnnlBlockedMemoryDesc(Infere... | 42.424963 | 148 | 0.651303 | shaun95 |
7409d06c4f5e0cc9922a60db8e17e474817f1e6c | 314 | cpp | C++ | source/mess/engine/World.cpp | nsubiron/mess-engine | 278580cca2b48ca7700a3c92525d34b5a72a545a | [
"MIT"
] | 1 | 2017-11-03T11:42:29.000Z | 2017-11-03T11:42:29.000Z | source/mess/engine/World.cpp | nsubiron/mess-engine | 278580cca2b48ca7700a3c92525d34b5a72a545a | [
"MIT"
] | null | null | null | source/mess/engine/World.cpp | nsubiron/mess-engine | 278580cca2b48ca7700a3c92525d34b5a72a545a | [
"MIT"
] | null | null | null | #include "mess/engine/World.h"
#include "mess/engine/Actor.h"
namespace mess {
namespace engine {
void World::visit(Actor &actor) {
_actors.push_back(actor.WeakFromThis());
}
void World::visit(Tickable &tickable) {
_tick.RegisterTickable(tickable);
}
} // namespace engine
} // namespace mess
| 17.444444 | 44 | 0.694268 | nsubiron |
7409d466cc0ab9fa0594b61a31865bca122d4097 | 968 | cpp | C++ | test/test_iostream_unix2dos.cpp | blindij/boostkata | 5a0509c0413bddac54af94d2c00f9cb24b172279 | [
"MIT"
] | null | null | null | test/test_iostream_unix2dos.cpp | blindij/boostkata | 5a0509c0413bddac54af94d2c00f9cb24b172279 | [
"MIT"
] | null | null | null | test/test_iostream_unix2dos.cpp | blindij/boostkata | 5a0509c0413bddac54af94d2c00f9cb24b172279 | [
"MIT"
] | null | null | null | // File: test_iostream_unix2dos.cpp
//
// Test the unix2dos output filter. Are we adding a CR?
#include "catch2/catch.hpp"
#include "iostreams/example/container_device.hpp"
#include "iostreams/example/unix2dos_filter.hpp"
#include <boost/iostreams/invert.hpp> //?
#include <boost/iostreams/filtering_strea... | 33.37931 | 74 | 0.715909 | blindij |
740ac443d38129867d52892912dd9cc348d048f0 | 2,196 | cpp | C++ | GameServer/DescManager.cpp | openlastchaos/lastchaos-source-server | 935b770fa857e67b705717d154b11b717741edeb | [
"Apache-2.0"
] | null | null | null | GameServer/DescManager.cpp | openlastchaos/lastchaos-source-server | 935b770fa857e67b705717d154b11b717741edeb | [
"Apache-2.0"
] | null | null | null | GameServer/DescManager.cpp | openlastchaos/lastchaos-source-server | 935b770fa857e67b705717d154b11b717741edeb | [
"Apache-2.0"
] | 1 | 2022-01-17T09:34:39.000Z | 2022-01-17T09:34:39.000Z | #include <boost/lambda/lambda.hpp>
#include "stdhdrs.h"
#include "Server.h"
#include "DescManager.h"
static DescManager local_instance;
DescManager* DescManager::instance()
{
return &local_instance;
}
bool DescManager::insert( CDescriptor* desc )
{
if (this->getDescByUserIndex(desc->m_index))
{
LOG_ERROR("dupli... | 24.674157 | 104 | 0.6949 | openlastchaos |
740af1fee90ebfe3670b3c618d784dc3be93fa2c | 641 | hpp | C++ | entity_component_system/src/Component.hpp | JacobNeal/gl-projects | 4ea40797fde28602b9f787f0ec8005dcd164e054 | [
"MIT"
] | null | null | null | entity_component_system/src/Component.hpp | JacobNeal/gl-projects | 4ea40797fde28602b9f787f0ec8005dcd164e054 | [
"MIT"
] | null | null | null | entity_component_system/src/Component.hpp | JacobNeal/gl-projects | 4ea40797fde28602b9f787f0ec8005dcd164e054 | [
"MIT"
] | null | null | null | #ifndef COMPONENT_HPP
#define COMPONENT_HPP
#include <sstream>
#include "Types.hpp"
class Component
{
public:
Component(const ComponentType & type);
virtual ~Component();
ComponentType getType();
friend std::stringstream & operator >>(std::stringstream & stream, Component & comp... | 20.03125 | 92 | 0.50546 | JacobNeal |
740b29bc9728ce58dd7518e6392c254b80b8b450 | 1,621 | cpp | C++ | QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp | SineStriker/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | 3 | 2021-12-08T05:30:52.000Z | 2021-12-18T10:46:49.000Z | QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | #include "NoneScrollArea.h"
NoneScrollArea::NoneScrollArea(QWidget *parent) : MoreWidget(parent) {
m_widget = nullptr;
}
NoneScrollArea::~NoneScrollArea() {
}
void NoneScrollArea::setWidget(QWidget *widget) {
m_widget = widget;
widget->move(0, 0);
}
QWidget *NoneScrollArea::widget() {
return m_widge... | 23.838235 | 73 | 0.628624 | SineStriker |
740b4c9d2571c4579c3e3d2dd6fd86f5733a0f43 | 773 | cpp | C++ | lib/api/src/rcRuleExecMod.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | null | null | null | lib/api/src/rcRuleExecMod.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | 7 | 2019-12-02T17:55:49.000Z | 2019-12-02T17:55:59.000Z | lib/api/src/rcRuleExecMod.cpp | tempoz/irods | a64c5e9cfb86af725f8f20ae940591adef8e02f0 | [
"BSD-3-Clause"
] | 1 | 2015-02-19T18:30:33.000Z | 2015-02-19T18:30:33.000Z | #include "ruleExecMod.h"
#include "procApiRequest.h"
#include "apiNumber.h"
/**
* \fn rcRuleExecMod( rcComm_t *conn, ruleExecModInp_t *ruleExecModInp )
*
* \brief Modify a queued delayed execution rule on the iCAT.
*
* \user client
*
* \ingroup delayed_execution
*
* \since 1.0
*
*
* \remark none
*
* \not... | 19.820513 | 74 | 0.649418 | tempoz |
740cfc162e84e9a83e8dde940adaccf867a49069 | 3,386 | cpp | C++ | test/UnitTests/Tests/JsonParsingTests.cpp | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | 1 | 2021-11-19T00:33:51.000Z | 2021-11-19T00:33:51.000Z | test/UnitTests/Tests/JsonParsingTests.cpp | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | 7 | 2021-03-27T01:12:25.000Z | 2021-08-13T22:05:59.000Z | test/UnitTests/Tests/JsonParsingTests.cpp | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | 3 | 2021-12-04T20:43:04.000Z | 2022-01-03T21:16:32.000Z | #include "pch.h"
#include "EnumTraits.h"
#include "JsonUtils.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace PlayFab
{
enum class PFEnum
{
Value1,
Value2
};
template<> struct EnumRange<PFEnum> { static constexpr PFEnum maxValue = PFEnum::Value2; };
template<> stru... | 27.306452 | 132 | 0.538098 | jasonsandlin |
740dc15c90f5de0a79342999b0c43395c5c67300 | 57,836 | cpp | C++ | docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp | junpuf/Tool-Solutions | 9879f48fb43028a0fd9fa070b2f8f852697384c8 | [
"Apache-2.0"
] | 1 | 2021-07-03T23:50:31.000Z | 2021-07-03T23:50:31.000Z | docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp | junpuf/Tool-Solutions | 9879f48fb43028a0fd9fa070b2f8f852697384c8 | [
"Apache-2.0"
] | null | null | null | docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp | junpuf/Tool-Solutions | 9879f48fb43028a0fd9fa070b2f8f852697384c8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* www.apache.org/licenses/LICENSE-2.... | 72.47619 | 100 | 0.649146 | junpuf |
740e5657bbf33e84aff0c9c3210cf060de8869cd | 1,562 | hpp | C++ | kernel/src/modelingTools/RelationNamespace.hpp | BuildJet/siconos | 5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0 | [
"Apache-2.0"
] | 137 | 2015-06-16T15:55:28.000Z | 2022-03-26T06:01:59.000Z | kernel/src/modelingTools/RelationNamespace.hpp | BuildJet/siconos | 5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0 | [
"Apache-2.0"
] | 381 | 2015-09-22T15:31:08.000Z | 2022-02-14T09:05:23.000Z | kernel/src/modelingTools/RelationNamespace.hpp | BuildJet/siconos | 5e9c95806f0a01d62ab564ffb1d9d50c2dc32ef0 | [
"Apache-2.0"
] | 30 | 2015-08-06T22:57:51.000Z | 2022-03-02T20:30:20.000Z | /* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2021 INRIA.
*
* 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
*
*... | 24.40625 | 75 | 0.676697 | BuildJet |
740ef1078028676710d8816a963fb73409327552 | 3,559 | cc | C++ | band/interface.cc | jwowillo/band | d5268232f695459914773d5c189de85a5cdfdfc5 | [
"MIT"
] | null | null | null | band/interface.cc | jwowillo/band | d5268232f695459914773d5c189de85a5cdfdfc5 | [
"MIT"
] | null | null | null | band/interface.cc | jwowillo/band | d5268232f695459914773d5c189de85a5cdfdfc5 | [
"MIT"
] | null | null | null | #include "band/interface.h"
#include <cmath>
#include "band/interface/raylib_interface.h"
namespace band {
bool operator==(const Dimension& a, const Dimension& b) {
return a.scalar == b.scalar && a.unit == b.unit;
}
bool operator!=(const Dimension& a, const Dimension& b) {
return !(a == b);
}
bool operator==(c... | 28.023622 | 71 | 0.632481 | jwowillo |
740f45d8b87e808b1b2af5c587fd356d4ad772f0 | 7,903 | cpp | C++ | editor/editor_path.cpp | LinuxUserGD/godot-opengl-4 | 6776f665672b86f0566681460a559f4ec25ccc8b | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 15 | 2020-12-20T19:24:59.000Z | 2022-03-25T19:41:12.000Z | editor/editor_path.cpp | LinuxUserGD/godot-opengl-4 | 6776f665672b86f0566681460a559f4ec25ccc8b | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 2 | 2021-12-10T04:07:19.000Z | 2021-12-27T20:00:03.000Z | editor/editor_path.cpp | LinuxUserGD/godot-opengl-4 | 6776f665672b86f0566681460a559f4ec25ccc8b | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 1 | 2022-01-16T14:18:33.000Z | 2022-01-16T14:18:33.000Z | /*************************************************************************/
/* editor_path.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 33.773504 | 106 | 0.634316 | LinuxUserGD |
7414005dc238c2362159409b564cf8b7d55b50dc | 9,462 | cpp | C++ | src/tests/functional/inference_engine/transformations/convert_convolution_test.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 1 | 2021-02-01T06:35:55.000Z | 2021-02-01T06:35:55.000Z | src/tests/functional/inference_engine/transformations/convert_convolution_test.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 58 | 2020-11-06T12:13:45.000Z | 2022-03-28T13:20:11.000Z | src/tests/functional/inference_engine/transformations/convert_convolution_test.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2 | 2019-09-20T01:33:37.000Z | 2019-09-20T08:42:11.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "common_test_utils/test_common.hpp"
#include <string>
#include <sstream>
#include <fstream>
#include <memory>
#include <queue>
#include <map>
#include <ngraph/function.hpp>
#include <ngraph/opsets... | 50.59893 | 155 | 0.659691 | pazamelin |
74142e65dc972e2accbb2a2e3e156f5ac696a130 | 648 | cpp | C++ | cpp-leetcode/leetcode633-sum-of-square-numbers-solution1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 45 | 2021-07-25T00:45:43.000Z | 2022-03-24T05:10:43.000Z | cpp-leetcode/leetcode633-sum-of-square-numbers-solution1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | null | null | null | cpp-leetcode/leetcode633-sum-of-square-numbers-solution1.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 15 | 2021-07-25T00:40:52.000Z | 2021-12-27T06:25:31.000Z | #include <iostream>
#include <cmath>
using namespace std;
class Solution {
public:
bool judgeSquareSum(int c) {
for (long i = 0; c - 2 * i * i >= 0; i++) /* 边界条件: 当i=2147482647(INT_MAX)时,如果用int,2 * i * i会越界,需改为 long */
{
double diff = c - i*i; /* 做一次循环,用目标和减去循环变量的平方,如果剩下的部分依然是完全平方,开方上取... | 22.344828 | 115 | 0.523148 | yanglr |
7414de68795bdb3bb140493f55051e00808a2b1b | 2,263 | cpp | C++ | tests/chaining.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | tests/chaining.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | 1 | 2021-07-24T16:29:11.000Z | 2021-07-26T20:00:17.000Z | tests/chaining.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | /**
* Copyright 2021 Robert MacGregor
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish,... | 38.355932 | 207 | 0.756518 | Ragora |
7415d6e5762cdf57c9daf6b7476576d47fb058b9 | 1,997 | cpp | C++ | src/kernel/Memory/Paging/PageTableManager.cpp | platinumTypeC/Mapple-os | 9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75 | [
"MIT"
] | 5 | 2022-02-02T05:59:53.000Z | 2022-03-20T06:01:19.000Z | src/kernel/Memory/Paging/PageTableManager.cpp | platinumTypeC/Mapple-os | 9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75 | [
"MIT"
] | 1 | 2022-02-18T17:45:40.000Z | 2022-02-20T09:03:48.000Z | src/kernel/Memory/Paging/PageTableManager.cpp | platinumTypeC/Mapple-os | 9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75 | [
"MIT"
] | null | null | null | #include <mapple/Gui.h>
#include <mapple/Memory.h>
#include <mapple/cstr.h>
PageTableManager::PageTableManager(PageTable* PML4Address){
this->PML4 = PML4Address;
}
void PageTableManager::MapMemory(void* virtualMemory, void* physicalMemory){
PageMapIndexer indexer = PageMapIndexer((uint64_t)virtualM... | 30.257576 | 77 | 0.594392 | platinumTypeC |
7416f0b7db9a21dff4702a7d15e880e20fc6fee9 | 2,560 | hpp | C++ | src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp | Bidski/NUClearNet.js | cbca598a4a930de48e05653a58f69fe1652c8793 | [
"MIT"
] | null | null | null | src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp | Bidski/NUClearNet.js | cbca598a4a930de48e05653a58f69fe1652c8793 | [
"MIT"
] | null | null | null | src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp | Bidski/NUClearNet.js | cbca598a4a930de48e05653a58f69fe1652c8793 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2013 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com>
* 2014-2017 Trent Houliston <trent@houliston.me>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software... | 51.2 | 120 | 0.730078 | Bidski |
74177f6a2e1ceb221424b49344903edbfbe958b5 | 564 | hpp | C++ | include/xvega/grammar/marks/mark_square.hpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 34 | 2020-08-14T14:32:51.000Z | 2022-02-16T23:20:02.000Z | include/xvega/grammar/marks/mark_square.hpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 19 | 2020-08-20T20:04:39.000Z | 2022-02-28T14:34:37.000Z | include/xvega/grammar/marks/mark_square.hpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 7 | 2020-08-14T14:18:17.000Z | 2022-02-01T10:59:24.000Z | // Copyright (c) 2020, QuantStack and XVega Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#ifndef XVEGA_MARK_SQUARE_HPP
#define XVEGA_MARK_SQUARE_HPP
#include "../marks.hpp"
namespace xv
{
struct mark_squ... | 21.692308 | 75 | 0.702128 | domoritz |
7418c5172019f8dbb667a29a3d35632075747146 | 1,498 | hpp | C++ | test/unit/fixtures/base-fixture.hpp | jmarrec/kiva | c4dea41f974d09167eaded71c3a41e66f98de92e | [
"BSD-3-Clause"
] | null | null | null | test/unit/fixtures/base-fixture.hpp | jmarrec/kiva | c4dea41f974d09167eaded71c3a41e66f98de92e | [
"BSD-3-Clause"
] | null | null | null | test/unit/fixtures/base-fixture.hpp | jmarrec/kiva | c4dea41f974d09167eaded71c3a41e66f98de92e | [
"BSD-3-Clause"
] | 1 | 2021-06-20T21:35:31.000Z | 2021-06-20T21:35:31.000Z | /* Copyright (c) 2012-2019 Big Ladder Software LLC. All rights reserved.
* See the LICENSE file for additional terms and conditions. */
#ifndef BASE_FIXTURE_HPP_
#define BASE_FIXTURE_HPP_
#include "Ground.hpp"
#include <gtest/gtest.h>
using namespace Kiva;
class BaseFixture : public testing::Test {
protected:
v... | 29.96 | 90 | 0.671562 | jmarrec |
741a53ce885c52b501afbaf75eeca7d58746da0c | 2,438 | cpp | C++ | src/engine/core/src/graphics/render_target/render_surface.cpp | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | src/engine/core/src/graphics/render_target/render_surface.cpp | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | src/engine/core/src/graphics/render_target/render_surface.cpp | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | #include "graphics/render_target/render_surface.h"
#include "graphics/render_target/render_target_texture.h"
#include "graphics/texture.h"
#include "graphics/texture_descriptor.h"
#include "graphics/material/material.h"
#include "graphics/material/material_definition.h"
#include "api/video_api.h"
#include "graphics/spr... | 31.25641 | 125 | 0.747334 | mjopenglsdl |
741ad11e8c51e6a8065d8247365c4a94e9432777 | 1,143 | hpp | C++ | include/universal/functions/factorial.hpp | hypercubestart/universal | a183ae390b5178299a5cbda7b830b7a6cbf332e2 | [
"MIT"
] | null | null | null | include/universal/functions/factorial.hpp | hypercubestart/universal | a183ae390b5178299a5cbda7b830b7a6cbf332e2 | [
"MIT"
] | null | null | null | include/universal/functions/factorial.hpp | hypercubestart/universal | a183ae390b5178299a5cbda7b830b7a6cbf332e2 | [
"MIT"
] | null | null | null | #pragma once
// factorial.hpp: definition of recursive and iterative factorial functions
//
// Copyright (C) 2017-2020 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
namespace sw {
namespace function {
// these factorials ... | 31.75 | 112 | 0.72091 | hypercubestart |
741cad0a8eb5cd869ed677de5b5fe4db589c7a52 | 2,467 | cpp | C++ | test/unit/api/regular/swizzle/slide_right.cpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | test/unit/api/regular/swizzle/slide_right.cpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | test/unit/api/regular/swizzle/slide_right.cpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 34.746479 | 100 | 0.460884 | clayne |
741e2dabfc8520e68da5e6a563fba1de5b5c38c5 | 5,337 | hpp | C++ | examples/pico_audio/synth.hpp | Idirianuk/pimoroni-pico | c6ebed06a55f08d546a1d2d7f28f449efb703c3d | [
"MIT"
] | 425 | 2021-01-21T10:20:27.000Z | 2022-03-30T13:07:35.000Z | examples/pico_audio/synth.hpp | Idirianuk/pimoroni-pico | c6ebed06a55f08d546a1d2d7f28f449efb703c3d | [
"MIT"
] | 220 | 2021-01-22T11:27:57.000Z | 2022-03-31T23:07:58.000Z | examples/pico_audio/synth.hpp | Idirianuk/pimoroni-pico | c6ebed06a55f08d546a1d2d7f28f449efb703c3d | [
"MIT"
] | 174 | 2021-01-22T22:41:00.000Z | 2022-03-28T13:09:32.000Z | #pragma once
#include <cstdint>
namespace synth {
// The duration a note is played is determined by the amount of attack,
// decay, and release, combined with the length of the note as defined by
// the user.
//
// - Attack: number of milliseconds it takes for a note to hit full volume
// - Decay: num... | 40.12782 | 110 | 0.426082 | Idirianuk |
741ecf7d3611b744b9277094472a902d8c8295fd | 25,461 | cc | C++ | webkit/dom_storage/session_storage_database.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | webkit/dom_storage/session_storage_database.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | webkit/dom_storage/session_storage_database.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "webkit/dom_storage/session_storage_database.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#i... | 37.664201 | 80 | 0.611602 | GnorTech |
741fd13df719175f10895e5d4cb640137c493fee | 3,457 | cc | C++ | TutorialMaterials/P04_PhysicsLists/source/src/Geometry.cc | hmdyt/Geant4Tutorial | cf6dea24a983a80b1994f3ca82fab5e7bb27f03c | [
"MIT"
] | 2 | 2020-07-08T12:54:10.000Z | 2021-07-21T02:37:02.000Z | 2017.11/P04_PhysicsLists/source/src/Geometry.cc | koichi-murakami/g4tutorial | 32ab20ef072c07c14d893f52712cf02a3dcc5e83 | [
"BSD-2-Clause"
] | null | null | null | 2017.11/P04_PhysicsLists/source/src/Geometry.cc | koichi-murakami/g4tutorial | 32ab20ef072c07c14d893f52712cf02a3dcc5e83 | [
"BSD-2-Clause"
] | 1 | 2019-12-27T06:48:15.000Z | 2019-12-27T06:48:15.000Z | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Geometry.cc
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "Geometry.hh"
#include "G4Box.hh"
#include "G4Tubs.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4VPhysical... | 40.670588 | 94 | 0.530518 | hmdyt |
741ff67c6997cc5b5b0f22cdc17a4d1b5257025e | 514 | cpp | C++ | Company.cpp | SanteriHetekivi/CompositeModelAssignment | 6856fef2e105ce889ab09b7e7eefdc476452a771 | [
"Apache-2.0"
] | null | null | null | Company.cpp | SanteriHetekivi/CompositeModelAssignment | 6856fef2e105ce889ab09b7e7eefdc476452a771 | [
"Apache-2.0"
] | null | null | null | Company.cpp | SanteriHetekivi/CompositeModelAssignment | 6856fef2e105ce889ab09b7e7eefdc476452a771 | [
"Apache-2.0"
] | null | null | null | #include "Company.h"
Company::Company(int id, std::string name) : Base(id, name)
{
this->_type = "Company";
this->_childen_json_name = "departments";
}
Company::Company(nlohmann::json base) : Base(base)
{
this->_type = "Company";
this->_childen_json_name = "departments";
this->addChildren(base);
}
void Compa... | 16.0625 | 59 | 0.708171 | SanteriHetekivi |
74240a0ec00217c3d4a7f59edf3abd47eb91065b | 2,781 | cpp | C++ | core/fpdfdoc/cpvt_fontmap.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 7 | 2018-05-17T22:53:33.000Z | 2022-02-05T15:51:41.000Z | core/fpdfdoc/cpvt_fontmap.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | null | null | null | core/fpdfdoc/cpvt_fontmap.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 3 | 2018-05-17T22:53:42.000Z | 2022-01-18T05:53:34.000Z | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfdoc/cpvt_fontmap.h"
#include <utility>
#include "core/fpd... | 29.585106 | 80 | 0.656598 | WarGloom |
742495068bce0587eb8b8525ea66ad704270e149 | 15,373 | cc | C++ | test/extensions/filters/http/wasm/wasm_filter_test.cc | kyessenov/envoy-wasm | 1025deebb9d330501738b882da48a4152e3ab2e0 | [
"Apache-2.0"
] | null | null | null | test/extensions/filters/http/wasm/wasm_filter_test.cc | kyessenov/envoy-wasm | 1025deebb9d330501738b882da48a4152e3ab2e0 | [
"Apache-2.0"
] | null | null | null | test/extensions/filters/http/wasm/wasm_filter_test.cc | kyessenov/envoy-wasm | 1025deebb9d330501738b882da48a4152e3ab2e0 | [
"Apache-2.0"
] | 1 | 2019-10-05T18:14:00.000Z | 2019-10-05T18:14:00.000Z | #include <stdio.h>
#include "common/buffer/buffer_impl.h"
#include "common/http/message_impl.h"
#include "common/stats/isolated_store_impl.h"
#include "common/stream_info/stream_info_impl.h"
#include "extensions/common/wasm/wasm.h"
#include "extensions/filters/http/wasm/wasm_filter.h"
#include "test/mocks/grpc/mocks... | 46.165165 | 98 | 0.70162 | kyessenov |
7424c1e3d027bc287e177274399a1e46e3993e35 | 33,880 | cpp | C++ | opencv110/highgui/src/unsupport/cvcap_dc1394.cpp | hjhsggy/opencv | 9b8cc736623c61667df81a48f93b665fa8a4c88d | [
"BSD-3-Clause"
] | 106 | 2015-01-15T10:13:18.000Z | 2021-11-10T01:39:07.000Z | otherlibs/highgui/cvcap_dc1394.cpp | anoopmenon/opencv-perl | b52785caee9f8967a4f2ead9c7b436056ffa830c | [
"BSD-3-Clause"
] | 5 | 2015-02-05T17:43:12.000Z | 2017-01-04T08:34:39.000Z | otherlibs/highgui/cvcap_dc1394.cpp | anoopmenon/opencv-perl | b52785caee9f8967a4f2ead9c7b436056ffa830c | [
"BSD-3-Clause"
] | 24 | 2015-04-29T01:30:37.000Z | 2020-07-24T15:50:05.000Z | /* This is the contributed code:
Firewire and video4linux camera support for highgui
2003-03-12 Magnus Lundin
lundin@mlu.mine.nu
THIS EXEPERIMENTAL CODE
Tested on 2.4.19 with 1394, video1394, v4l, dc1394 and raw1394 support
This set of files adds support for firevre and usb cameras.
First it tries to install a fire... | 30.223015 | 118 | 0.687279 | hjhsggy |
7425ac5695dbac58fedbbdff11fc626f324b89a1 | 14,273 | cpp | C++ | app/tests/model/Test_Board.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | app/tests/model/Test_Board.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | app/tests/model/Test_Board.cpp | HenrikThoroe/SWC-2021 | 8e7eee25e3a6fda7e863591b05fa161d8a2ebc78 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include "catch.hpp"
#include "Board.hpp"
using namespace Model;
using namespace Util;
TEST_CASE("Test Board", "[model]") {
auto board = Board();
auto piece1 = DeployedPiece(0, Position(0,0), Rotation::ZERO, PieceColor::BLUE);
auto piece2 = DeployedPiece(18, Position(10,12), Rotation::ZERO_FLIPPED, PieceC... | 49.731707 | 97 | 0.623065 | HenrikThoroe |
7426f6c3d700eb572342ff0b0bd8c7237479ff33 | 2,134 | cc | C++ | src/ppl/nn/oputils/onnx/reshape_concat.cc | aboluock/ppl.nn | 47c786bee382cc0d779f1393bfeaa40b6ff73654 | [
"Apache-2.0"
] | 1 | 2021-08-23T04:59:26.000Z | 2021-08-23T04:59:26.000Z | src/ppl/nn/oputils/onnx/reshape_concat.cc | aboluock/ppl.nn | 47c786bee382cc0d779f1393bfeaa40b6ff73654 | [
"Apache-2.0"
] | 1 | 2022-03-07T15:35:35.000Z | 2022-03-07T15:35:35.000Z | src/ppl/nn/oputils/onnx/reshape_concat.cc | aboluock/ppl.nn | 47c786bee382cc0d779f1393bfeaa40b6ff73654 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.518519 | 111 | 0.656045 | aboluock |
742a144c4d3cb4a53069ab3f2154af1b83e59521 | 24,096 | cxx | C++ | PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2020-07-18T17:36:58.000Z | 2020-07-18T17:36:58.000Z | PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2017-03-14T15:11:43.000Z | 2017-03-14T15:53:09.000Z | PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T11:11:09.000Z | 2022-01-24T11:11:09.000Z | //
//#include <Riostream.h>
// #include <TChain.h>
// #include <TVectorT.h>
// #include <TVector3.h>
// #include <TFile.h>
// #include <TH1.h>
// #include <TObjArray.h>
// #include <TObjString.h>
// #include <TFormula.h>
// #include <TString.h>
// #include <TRefArray.h>
// #include <TNtuple.h>
// #include <TArrayF.h... | 38.247619 | 214 | 0.606366 | ilyafokin |
742a161f6c49221e373c78f1144ffb8af480fda3 | 17,903 | cpp | C++ | src/pathops/SkOpAngle.cpp | yinquan529/platform-external-skia | 1adfb847fe565e53d2e26e35b04c8dc112b7513a | [
"BSD-3-Clause"
] | 16 | 2015-09-02T17:47:53.000Z | 2022-03-01T19:12:53.000Z | src/pathops/SkOpAngle.cpp | yinquan529/platform-external-skia | 1adfb847fe565e53d2e26e35b04c8dc112b7513a | [
"BSD-3-Clause"
] | null | null | null | src/pathops/SkOpAngle.cpp | yinquan529/platform-external-skia | 1adfb847fe565e53d2e26e35b04c8dc112b7513a | [
"BSD-3-Clause"
] | 6 | 2015-11-11T13:22:59.000Z | 2022-03-01T19:13:02.000Z | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkIntersections.h"
#include "SkOpAngle.h"
#include "SkOpSegment.h"
#include "SkPathOpsCurve.h"
#include "SkTSort.h"
#if DEBUG_ANGLE
#include "SkString.h"
static con... | 41.061927 | 99 | 0.578786 | yinquan529 |
742e18e3aa0c43c34256769c137ef61c1d0d2523 | 335 | cc | C++ | leetcode/115.cc | zofvbeaf/algorithm-practices | 9772808fdf1b73ac55887291d9fb680e90b60958 | [
"MIT"
] | null | null | null | leetcode/115.cc | zofvbeaf/algorithm-practices | 9772808fdf1b73ac55887291d9fb680e90b60958 | [
"MIT"
] | null | null | null | leetcode/115.cc | zofvbeaf/algorithm-practices | 9772808fdf1b73ac55887291d9fb680e90b60958 | [
"MIT"
] | null | null | null | class Solution {
public:
int numDistinct(string s, string t) {
unsigned int n = s.size(), m = t.size();
if(!m || !n || n < m) return 0;
if(s == t) return 1;
vector<unsigned int> f(m, 0);
for(auto c : s) {
for(int i = m-1; i > 0; --i)
if(c == t[i]) f[i] += f[i-1];
if(c == t[0]) ++f[0];
}
return... | 20.9375 | 42 | 0.480597 | zofvbeaf |
742ece0a31c69a5d1aa13bc8968655f0db93691a | 291 | cpp | C++ | Ejercicios/Ejercicio 43/calculadora.cpp | MarvinMonnar/cpp. | b71b981d711cfc416a74a9abc8b10c70fe544717 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio 43/calculadora.cpp | MarvinMonnar/cpp. | b71b981d711cfc416a74a9abc8b10c70fe544717 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio 43/calculadora.cpp | MarvinMonnar/cpp. | b71b981d711cfc416a74a9abc8b10c70fe544717 | [
"MIT"
] | null | null | null |
int sumar (int a, int b)
{
return a + b ;
}
int restar (int a, int b)
{
return a - b ;
}
int calcular (int a, int b, char operador)
{
if (operador == '+')
{
return sumar (a, b);
}
if (operador == '-')
{
return restar (a, b);
}
throw "Operador no valido";
}
| 8.558824 | 42 | 0.508591 | MarvinMonnar |
742f12c35413c89fecc796910dc045ad4fd1a910 | 19,928 | hpp | C++ | ios/Pods/boost-for-react-native/boost/graph/distributed/delta_stepping_shortest_paths.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 8,805 | 2015-11-03T00:52:29.000Z | 2022-03-29T22:30:03.000Z | ios/Pods/boost-for-react-native/boost/graph/distributed/delta_stepping_shortest_paths.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 14,694 | 2015-02-24T15:13:42.000Z | 2022-03-31T13:16:45.000Z | ios/Pods/boost-for-react-native/boost/graph/distributed/delta_stepping_shortest_paths.hpp | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,329 | 2015-11-03T20:25:51.000Z | 2022-03-31T18:10:38.000Z | // Copyright (C) 2007 The Trustees of Indiana University.
// Use, modification and distribution is subject to 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
/****... | 38.770428 | 102 | 0.619681 | rudylee |
743126f49d936a3a3e2a1c9b7154002fa3a5a325 | 4,352 | cpp | C++ | indexer/indexer_tests/cities_boundaries_serdes_tests.cpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | indexer/indexer_tests/cities_boundaries_serdes_tests.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | indexer/indexer_tests/cities_boundaries_serdes_tests.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #include "testing/testing.hpp"
#include "indexer/cities_boundaries_serdes.hpp"
#include "indexer/city_boundary.hpp"
#include "coding/geometry_coding.hpp"
#include "coding/reader.hpp"
#include "coding/writer.hpp"
#include "geometry/mercator.hpp"
#include "geometry/point2d.hpp"
#include <cstdint>
#include <utility>
#... | 26.699387 | 93 | 0.675322 | kudlav |
74324514c5c0c065815b7efca2924fbce238de33 | 346 | hpp | C++ | HugeCTR/include/graph_wrapper.hpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 130 | 2021-10-11T11:55:28.000Z | 2022-03-31T21:53:07.000Z | HugeCTR/include/graph_wrapper.hpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 72 | 2021-10-09T04:59:09.000Z | 2022-03-31T11:27:54.000Z | HugeCTR/include/graph_wrapper.hpp | xjqbest/HugeCTR | 0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1 | [
"Apache-2.0"
] | 29 | 2021-11-03T22:35:01.000Z | 2022-03-30T13:11:59.000Z | #pragma once
#include <cuda_runtime.h>
#include <functional>
namespace HugeCTR {
struct GraphWrapper {
bool initialized = false;
cudaGraph_t graph;
cudaGraphExec_t graph_exec;
void capture(std::function<void(cudaStream_t)> workload, cudaStream_t stream);
void exec(cudaStream_t stream);
};
... | 19.222222 | 81 | 0.716763 | xjqbest |
74344eb329453f3e091c22abd2e8f7281b76635b | 3,658 | cc | C++ | components/language_usage_metrics/language_usage_metrics_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | components/language_usage_metrics/language_usage_metrics_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/language_usage_metrics/language_usage_metrics_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/language_usage_metrics/language_usage_metrics.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace language_usage_metrics {
... | 33.87037 | 75 | 0.731547 | kjthegod |
2935c41535dec9fcdd0859eb0dbc415eebab1aa2 | 1,783 | cpp | C++ | third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/properties/CSSPropertyAPITextIndent.h"
#include "core/css/CSSValueList.h"
#include "core/css/parser/CSSParserContext.h"
#include "core... | 29.716667 | 73 | 0.673023 | google-ar |
2936a1d047d2f3c0d50519ec416d2ce273c70a2c | 1,717 | cpp | C++ | assignments/a1-hello/particles.cpp | foqiashahid112/animation-toolkit | 17950435e1efbd243877193e7a8966b7abfd8788 | [
"MIT"
] | null | null | null | assignments/a1-hello/particles.cpp | foqiashahid112/animation-toolkit | 17950435e1efbd243877193e7a8966b7abfd8788 | [
"MIT"
] | null | null | null | assignments/a1-hello/particles.cpp | foqiashahid112/animation-toolkit | 17950435e1efbd243877193e7a8966b7abfd8788 | [
"MIT"
] | null | null | null | #include "atkui/framework.h"
#include <random>
#include <cstdlib>
using namespace glm;
class particle{
public:
particle(vec3 currentPosition, vec3 velocity, vec3 RGBcolor){
currentPos =currentPosition;
vel = velocity;
color = RGBcolor;
}
vec3 currentPos;
vec3 vel;
vec3 color;
};
class Particl... | 24.884058 | 89 | 0.607455 | foqiashahid112 |
293780ef181a8e0e8f36b2709ad2012ff8091761 | 15,834 | cc | C++ | main/src/App/vtk_cad.cc | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null | main/src/App/vtk_cad.cc | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null | main/src/App/vtk_cad.cc | marcomanno/ploygon_triangulation | c98b99e3f9598252ffc27eb202939f0183ac872b | [
"Apache-2.0"
] | null | null | null | //
// This simple example shows how to do basic rendering and pipeline
// creation using C++.
//
#include "open_file.hh"
#include "vtkCylinderSource.h"
#include "vtkPolyDataMapper.h"
#include "vtkActor.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
#includ... | 30.626692 | 109 | 0.625363 | marcomanno |