hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f29e42c78694697601b6b4a5aaa8bfee24587a4a | 1,153 | cpp | C++ | LeetCode/Solutions/LC0304.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | LeetCode/Solutions/LC0304.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | LeetCode/Solutions/LC0304.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | /*
Problem Statement: https://leetcode.com/problems/range-sum-query-2d-immutable/
Space: O(m • n)
Author: Mohammed Shoaib, github.com/Mohammed-Shoaib
|-----------------------------------|----------|-------|
| Operations | Time | Space |
|-----------------------------------|----------|-------... | 28.121951 | 78 | 0.469211 | [
"vector"
] |
f2a0bf622523f8eff70ecbbadf5c6ccfe723eeb5 | 13,334 | cpp | C++ | source/LibFgBase/src/FgGeometryTest.cpp | MikhailGorobets/FaceGenBaseLibrary | 3ea688f9e3811943adb18e23e7bb2addc5f688a5 | [
"MIT"
] | null | null | null | source/LibFgBase/src/FgGeometryTest.cpp | MikhailGorobets/FaceGenBaseLibrary | 3ea688f9e3811943adb18e23e7bb2addc5f688a5 | [
"MIT"
] | null | null | null | source/LibFgBase/src/FgGeometryTest.cpp | MikhailGorobets/FaceGenBaseLibrary | 3ea688f9e3811943adb18e23e7bb2addc5f688a5 | [
"MIT"
] | 1 | 2020-05-27T17:23:50.000Z | 2020-05-27T17:23:50.000Z | //
// Coypright (c) 2020 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
#include "stdafx.h"
#include "FgGeometry.hpp"
#include "FgRandom.hpp"
#include "FgSimilarity.hp... | 35.182058 | 103 | 0.502025 | [
"vector",
"3d"
] |
f2a9bb91f868b666eee3abcb6d9e3d3b3a88dc55 | 2,462 | cpp | C++ | modules/ui/src/systems/update_transform_hierarchy.cpp | LaudateCorpus1/lagrange | 2a49d3ee93c1f1e712c93c5c87ea25b9a83c8f40 | [
"Apache-2.0"
] | 156 | 2021-01-08T19:53:06.000Z | 2022-03-25T18:32:52.000Z | modules/ui/src/systems/update_transform_hierarchy.cpp | LaudateCorpus1/lagrange | 2a49d3ee93c1f1e712c93c5c87ea25b9a83c8f40 | [
"Apache-2.0"
] | 2 | 2021-01-11T20:18:07.000Z | 2021-08-04T15:53:57.000Z | modules/ui/src/systems/update_transform_hierarchy.cpp | LaudateCorpus1/lagrange | 2a49d3ee93c1f1e712c93c5c87ea25b9a83c8f40 | [
"Apache-2.0"
] | 10 | 2021-01-11T21:03:54.000Z | 2022-01-24T06:27:44.000Z | /*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you 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 appli... | 34.194444 | 96 | 0.674655 | [
"transform"
] |
f2b090b6ac283658386908cbb3657a27ff120541 | 1,365 | cpp | C++ | devdc48.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | 1 | 2020-02-24T18:28:48.000Z | 2020-02-24T18:28:48.000Z | devdc48.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | null | null | null | devdc48.cpp | vidit1999/coding_problems | b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Create a like system from Facebook; a text which displays the names of people who liked an item.
For example:
likes [] must be "no one likes this"
likes ["Peter"] must be "Peter likes this"
likes ["Jacob", "Alex"] must be "Jacob and Alex like this"
likes ["Max", "John... | 33.292683 | 112 | 0.574359 | [
"vector"
] |
f2b0a0732f13adf4f6f2b8be681c51c974dd6d21 | 2,311 | hpp | C++ | pwiz/analysis/peptideid/PeptideID_pepXML.hpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | pwiz/analysis/peptideid/PeptideID_pepXML.hpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | pwiz/analysis/peptideid/PeptideID_pepXML.hpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 4 | 2016-02-03T09:41:16.000Z | 2021-08-01T18:42:36.000Z | //
// $Id: PeptideID_pepXML.hpp 3095 2011-11-01 21:12:23Z broter $
//
//
// Original author: Robert Burke <robert.burke@cshs.org>
//
// Copyright 2007 Spielberg Family Center for Applied Proteomics
// Cedars-Sinai Medical Center, Los Angeles, California 90048
//
// Licensed under the Apache License, Version 2.0 (the... | 29.628205 | 88 | 0.729122 | [
"object"
] |
f2b2244adc0442742f69f8f479a2be5afa7c8277 | 4,484 | cpp | C++ | test/distance_calculator_test.cpp | nanprogramer/ghostz-gpu | 89f51c54ec8f6141801287dadc35174f9d7c70e0 | [
"BSD-2-Clause"
] | null | null | null | test/distance_calculator_test.cpp | nanprogramer/ghostz-gpu | 89f51c54ec8f6141801287dadc35174f9d7c70e0 | [
"BSD-2-Clause"
] | 1 | 2021-01-21T14:09:32.000Z | 2021-01-21T14:09:32.000Z | test/distance_calculator_test.cpp | Surfndez/ghostz-gpu | 89f51c54ec8f6141801287dadc35174f9d7c70e0 | [
"BSD-2-Clause"
] | null | null | null | #include <gtest/gtest.h>
#include <algorithm>
#include <string>
#include <sstream>
#include <stdint.h>
#include <fstream>
#include <vector>
#include "../src/protein_type.h"
#include "../src/alphabet_coder.h"
#include "../src/score_matrix_reader.h"
#include "../src/score_matrix.h"
#include "../src/reduced_alphabet_file_... | 37.366667 | 128 | 0.783452 | [
"vector"
] |
f2bc42a0b76d51e654493012b6f46fd96f334f62 | 13,411 | hpp | C++ | approxik/approxik.hpp | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | 1 | 2020-03-27T01:53:57.000Z | 2020-03-27T01:53:57.000Z | approxik/approxik.hpp | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | null | null | null | approxik/approxik.hpp | rock-learning/approxik | 877d50d4d045457593a2fafefd267339a11de20f | [
"BSD-3-Clause"
] | 1 | 2020-12-18T02:09:21.000Z | 2020-12-18T02:09:21.000Z | #include <string>
#include <iostream>
#include <fstream>
#include <ios>
#include <stdexcept>
#include <limits>
#include <urdf_model/model.h>
#include <urdf_parser/urdf_parser.h>
#include <kdl_parser/kdl_parser.hpp>
#include <kdl/frames_io.hpp>
#include <kdl/chain.hpp>
#include <kdl/chainfksolverpos_recursive.hpp>
#incl... | 28.717345 | 92 | 0.636567 | [
"vector",
"model"
] |
f2bf685e34fcae25550d0124ce09cafa93937915 | 31,535 | cpp | C++ | test/callback_tests.cpp | mkm85/cpr | cc0b80c3c9ccf5613c092e0bc51929f04c0ca041 | [
"MIT"
] | 59 | 2020-01-10T06:27:12.000Z | 2021-12-16T06:37:36.000Z | test/callback_tests.cpp | luntan365/cpr | 07d784ccfe6760fc6da47c24f7326e64d8e11460 | [
"MIT"
] | 21 | 2020-01-04T09:04:27.000Z | 2020-02-01T04:38:25.000Z | test/callback_tests.cpp | luntan365/cpr | 07d784ccfe6760fc6da47c24f7326e64d8e11460 | [
"MIT"
] | 21 | 2019-03-22T09:06:00.000Z | 2022-01-12T01:29:30.000Z | #include <gtest/gtest.h>
#include <string>
#include <vector>
#include <cpr/cpr.h>
#include "server.h"
using namespace cpr;
static Server* server = new Server();
auto base = server->GetBaseUrl();
auto sleep_time = std::chrono::milliseconds(50);
auto zero = std::chrono::seconds(0);
int status_callback(int& status_c... | 43.139535 | 98 | 0.610274 | [
"vector"
] |
f2c4a9b2c1b2c29dcc4197c5311639766658dad6 | 9,794 | cpp | C++ | projects/app/src/mvc/itemstoragemodel.cpp | junebug12851/pokered-save-editor-2 | af883fd4c12097d408e1756c7181709cf2b797d8 | [
"Apache-2.0"
] | null | null | null | projects/app/src/mvc/itemstoragemodel.cpp | junebug12851/pokered-save-editor-2 | af883fd4c12097d408e1756c7181709cf2b797d8 | [
"Apache-2.0"
] | null | null | null | projects/app/src/mvc/itemstoragemodel.cpp | junebug12851/pokered-save-editor-2 | af883fd4c12097d408e1756c7181709cf2b797d8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 June Hanabi
*
* 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 l... | 26.980716 | 104 | 0.664488 | [
"model"
] |
f2c771777cc6e65b5b8865adbcda2fe2f18703f7 | 6,184 | cpp | C++ | admin/wmi/wbem/providers/win32provider/common/secureshare.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/wmi/wbem/providers/win32provider/common/secureshare.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/wmi/wbem/providers/win32provider/common/secureshare.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
* SecurityDescriptor.cpp - implementation file for CSecureShare class.
*
* Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
*
*
* Created: 12-14-1997 by Sanjeev Surati
* (based on classes from Windows NT Security by Nik Okuntseff)
*/
#include "precomp.h"
#include "Acces... | 21.472222 | 101 | 0.556436 | [
"object"
] |
f2c87a28d149785a32ad1d322b06bf53077829c9 | 39,495 | cpp | C++ | libpdraw-backend/src/pdraw_backend_wrapper.cpp | Parrot-Developers/pdraw | 7d0983e88291d9224ec79be2bcf3ad045bb09044 | [
"BSD-3-Clause"
] | 15 | 2019-05-06T17:01:52.000Z | 2021-09-18T08:59:42.000Z | libpdraw-backend/src/pdraw_backend_wrapper.cpp | Parrot-Developers/pdraw | 7d0983e88291d9224ec79be2bcf3ad045bb09044 | [
"BSD-3-Clause"
] | 1 | 2021-03-18T14:32:48.000Z | 2021-03-18T14:32:48.000Z | libpdraw-backend/src/pdraw_backend_wrapper.cpp | Parrot-Developers/pdraw | 7d0983e88291d9224ec79be2bcf3ad045bb09044 | [
"BSD-3-Clause"
] | 10 | 2019-07-18T19:35:59.000Z | 2021-09-14T13:41:33.000Z | /**
* Parrot Drones Awesome Video Viewer
* PDrAW back-end library
*
* Copyright (c) 2018 Parrot Drones SAS
* Copyright (c) 2016 Aurelien Barre
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributio... | 24.36459 | 80 | 0.72356 | [
"render",
"vector"
] |
f2c883ae3f78188a2ba8ec400e407a98a596765f | 7,450 | cpp | C++ | src/main/CodestreamSequence.cpp | sandflow/jid | ba6e866164ab29ad26b94f2a3894d76b50f7baf4 | [
"BSD-2-Clause"
] | 8 | 2020-03-10T15:34:14.000Z | 2022-01-14T17:04:51.000Z | src/main/CodestreamSequence.cpp | sandflow/jid | ba6e866164ab29ad26b94f2a3894d76b50f7baf4 | [
"BSD-2-Clause"
] | 23 | 2020-03-28T00:53:50.000Z | 2022-02-02T05:27:24.000Z | src/main/CodestreamSequence.cpp | sandflow/jid | ba6e866164ab29ad26b94f2a3894d76b50f7baf4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c), Pierre-Anthony Lemieux (pal@palemieux.com)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, t... | 30.284553 | 106 | 0.66 | [
"vector"
] |
f2d43d4c0273eff4f184b680d61dd487e672963d | 24,202 | cpp | C++ | zerobuf/examples/schema2.cpp | adrians/rumprun-packages | 643187aad4c10bb4d1466cabd1ec26611395fd5d | [
"CC0-1.0"
] | 217 | 2015-07-04T22:11:11.000Z | 2022-03-08T07:52:41.000Z | zerobuf/examples/schema2.cpp | adrians/rumprun-packages | 643187aad4c10bb4d1466cabd1ec26611395fd5d | [
"CC0-1.0"
] | 122 | 2015-07-07T09:39:46.000Z | 2019-12-20T02:52:45.000Z | zerobuf/examples/schema2.cpp | adrians/rumprun-packages | 643187aad4c10bb4d1466cabd1ec26611395fd5d | [
"CC0-1.0"
] | 90 | 2015-07-03T05:21:45.000Z | 2021-08-24T02:59:45.000Z | // Generated by zerobufCxx.py
#include "schema2.h"
#include <zerobuf/NonMovingAllocator.h>
#include <zerobuf/NonMovingSubAllocator.h>
#include <zerobuf/StaticSubAllocator.h>
#include <zerobuf/json.h>
double* DoubleTable::getDoublearray()
{
return getAllocator().template getItemPtr< double >( 4 );
}
const doubl... | 62.862338 | 112 | 0.6059 | [
"object",
"vector"
] |
f2d5d880b3969916f565fcbdce17f756c754c95e | 3,040 | cpp | C++ | 217CR -Project-Ivan Alexandru/Rigidbody2D.cpp | Pixanu/Physics-Project | 75462d84b2c37dee19cb4a6bdca72a34c7e1faa3 | [
"MIT"
] | null | null | null | 217CR -Project-Ivan Alexandru/Rigidbody2D.cpp | Pixanu/Physics-Project | 75462d84b2c37dee19cb4a6bdca72a34c7e1faa3 | [
"MIT"
] | null | null | null | 217CR -Project-Ivan Alexandru/Rigidbody2D.cpp | Pixanu/Physics-Project | 75462d84b2c37dee19cb4a6bdca72a34c7e1faa3 | [
"MIT"
] | null | null | null | #include "Rigidbody2D.h"
#include <iostream>
#include <glm/gtx/string_cast.hpp>
void Rigidbody2D::Draw()
{
glPushMatrix(); //dont affect other objects, only this one so take a copy of the matrix and put it on the stack
glTranslatef(position.x, position.y, position.z); //then this happens
glRotatef(glm::degrees(... | 22.686567 | 135 | 0.670066 | [
"object"
] |
f2db63383e480e1555b1292857abeb2b0da3af3d | 3,217 | cpp | C++ | src/scheduler/processor.cpp | Jacques-Florence/SchedSim | cd5f356ec1d177963d401b69996a19a68646d7af | [
"BSD-3-Clause"
] | 1 | 2019-12-24T19:07:19.000Z | 2019-12-24T19:07:19.000Z | src/scheduler/processor.cpp | Jacques-Florence/SchedSim | cd5f356ec1d177963d401b69996a19a68646d7af | [
"BSD-3-Clause"
] | null | null | null | src/scheduler/processor.cpp | Jacques-Florence/SchedSim | cd5f356ec1d177963d401b69996a19a68646d7af | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright 2017 Jacques Florence
* All rights reserved.
* See License.txt file
*
*/
#include "processor.h"
#include <iomanip>
#include <iostream>
#include <fstream>
#include <utils/log.h>
#include "time.h"
#include "process.h"
#include "temperatureModel/temperatureModel.h"
using namespace Scheduler;
/... | 16.668394 | 156 | 0.735779 | [
"model"
] |
f2dd66e7afc34e6ed1b14149e13358fcd986dbff | 36,910 | hpp | C++ | include/Firebase/Auth/FirebaseAuth.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/Firebase/Auth/FirebaseAuth.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/Firebase/Auth/FirebaseAuth.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.IDisposable
#include "System... | 62.033613 | 324 | 0.748361 | [
"object",
"vector"
] |
f2e22cee1b237bc307d8513895be91417001414d | 6,976 | cpp | C++ | src/hdNuke/environmentLightAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | 3 | 2022-03-03T17:40:54.000Z | 2022-03-21T22:14:43.000Z | src/hdNuke/environmentLightAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | null | null | null | src/hdNuke/environmentLightAdapter.cpp | TheFoundryVisionmongers/NukeHydraPlugins | 3ffaf6fae9ad3b988edcdb3198dd3109fbcda12a | [
"Apache-2.0"
] | 3 | 2021-12-06T06:48:54.000Z | 2022-02-08T23:58:30.000Z | #include "environmentLightAdapter.h"
#include "sceneDelegate.h"
#include "adapterManager.h"
#include "utils.h"
#include "adapterFactory.h"
#include "nukeTexturePlugin.h"
#include <DDImage/Iop.h>
#include <DDImage/LightOp.h>
#include <pxr/imaging/hd/light.h>
#include <pxr/imaging/hd/renderIndex.h>
#include <pxr/base... | 33.864078 | 126 | 0.707856 | [
"transform"
] |
f2e5b03a23572e07417ae66f3935d946d8b12e03 | 5,375 | cpp | C++ | command/src/CommandPool.cpp | fuchstraumer/VulpesRender | 44ea76d68ae90c7eab754690a60e8361165698cd | [
"MIT"
] | 35 | 2017-10-18T19:01:49.000Z | 2022-03-07T00:11:01.000Z | command/src/CommandPool.cpp | fuchstraumer/VulpesRender | 44ea76d68ae90c7eab754690a60e8361165698cd | [
"MIT"
] | 13 | 2018-01-09T20:05:00.000Z | 2019-09-23T22:55:30.000Z | command/src/CommandPool.cpp | fuchstraumer/VulpesRender | 44ea76d68ae90c7eab754690a60e8361165698cd | [
"MIT"
] | 3 | 2018-01-14T00:35:45.000Z | 2019-08-24T01:30:36.000Z | #include "vpr_stdafx.h"
#include "CommandPool.hpp"
#include "vkAssert.hpp"
#include "CreateInfoBase.hpp"
#include "easylogging++.h"
#if !defined(VPR_BUILD_STATIC)
INITIALIZE_EASYLOGGINGPP
#endif
#include <vector>
namespace vpr
{
void SetLoggingRepository_VprCommand(void* repo) {
el::Helpers::setStorage(*(e... | 31.804734 | 189 | 0.672 | [
"vector"
] |
f2ed406a36f704dcd61a0ce3778334f33e1812dd | 39,167 | cc | C++ | Controllers/Flatground/utils/funcs/kin/mex/J_LeftToeBottomFront_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 61 | 2019-02-21T09:32:55.000Z | 2022-03-29T02:30:18.000Z | Controllers/Flatground/utils/funcs/kin/mex/J_LeftToeBottomFront_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 3 | 2019-02-22T08:01:40.000Z | 2022-01-20T09:16:40.000Z | Controllers/Flatground/utils/funcs/kin/mex/J_LeftToeBottomFront_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 28 | 2019-02-04T19:47:35.000Z | 2022-02-23T08:28:23.000Z | /*
* Automatically Generated from Mathematica.
* Mon 25 Jun 2018 14:53:40 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(double x, double y) {... | 24.510013 | 359 | 0.654148 | [
"vector"
] |
f2edd2ecff8c0a9bb84455954d189dc1e7d1d575 | 1,694 | cc | C++ | src/tests/source/Test8.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 13 | 2022-01-17T16:14:26.000Z | 2022-03-30T02:06:04.000Z | src/tests/source/Test8.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:17:14.000Z | 2022-01-28T23:17:14.000Z | src/tests/source/Test8.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 3 | 2022-01-18T02:13:53.000Z | 2022-03-06T19:28:19.000Z |
#include <cstddef>
#include <sstream>
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <cstring>
#include <ctime>
#include <chrono>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string>
#include "InterfaceFuncti... | 26.888889 | 100 | 0.609799 | [
"vector"
] |
f2f4f074cfe57b417ef1f7dab4acbcc9e1432e5b | 3,426 | cpp | C++ | src/Featurizers/Components/UnitTests/MinMaxEstimator_UnitTest.cpp | Bhaskers-Blu-Org2/FeaturizersLibrary | 229ae38ea233bfb02a6ff92ec3a67c1751c58005 | [
"MIT"
] | 15 | 2019-12-14T07:54:18.000Z | 2021-03-14T14:53:28.000Z | src/Featurizers/Components/UnitTests/MinMaxEstimator_UnitTest.cpp | Lisiczka27/FeaturizersLibrary | dc7b42abd39589af0668c896666affb4abe8a622 | [
"MIT"
] | 30 | 2019-12-03T20:58:56.000Z | 2020-04-21T23:34:39.000Z | src/Featurizers/Components/UnitTests/MinMaxEstimator_UnitTest.cpp | Lisiczka27/FeaturizersLibrary | dc7b42abd39589af0668c896666affb4abe8a622 | [
"MIT"
] | 13 | 2020-01-23T00:18:47.000Z | 2021-10-04T17:46:45.000Z | // ----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// ----------------------------------------------------------------------
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "../../../3rd... | 47.583333 | 135 | 0.425861 | [
"vector"
] |
f2f9727d7fe8499b7405effa7b8bd479c884ef0d | 16,337 | cpp | C++ | src/ngraph/runtime/cpu/pass/cpu_mat_fusion.cpp | srinivasputta/ngraph | 7506133fff4a8e5c25914a8370a567c4da5b53be | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/cpu/pass/cpu_mat_fusion.cpp | srinivasputta/ngraph | 7506133fff4a8e5c25914a8370a567c4da5b53be | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/cpu/pass/cpu_mat_fusion.cpp | srinivasputta/ngraph | 7506133fff4a8e5c25914a8370a567c4da5b53be | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2018 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://w... | 37.993023 | 133 | 0.58646 | [
"shape"
] |
84087a0c2e5626c9adc649fc2476303804a4e6bc | 5,187 | cpp | C++ | src/rviz_sim/MAV.cpp | elikos/elikos_sim | a139d321c7ae239b445b4ff09ae2ca9833a9f6ee | [
"MIT"
] | 1 | 2019-02-24T08:29:06.000Z | 2019-02-24T08:29:06.000Z | src/rviz_sim/MAV.cpp | elikos/elikos_sim | a139d321c7ae239b445b4ff09ae2ca9833a9f6ee | [
"MIT"
] | null | null | null | src/rviz_sim/MAV.cpp | elikos/elikos_sim | a139d321c7ae239b445b4ff09ae2ca9833a9f6ee | [
"MIT"
] | 1 | 2019-02-12T23:06:13.000Z | 2019-02-12T23:06:13.000Z | #include <ros/ros.h>
#include <tf/tf.h>
#include "MAV.h"
namespace elikos_sim {
MAV::MAV(double simulationSpeed, ros::Duration cycleTime):
simSpeed(simulationSpeed), Name("MAV"), cycleTime(cycleTime) {
x = 0;
y = 0;
z = 5;
yaw = 0;
vel_x_pid = new Pid<double>(0.0, 0.0, 0.0, // PID
... | 29.471591 | 84 | 0.59919 | [
"transform"
] |
8408f9c402190b817c24a98b0c3121acd4bc27ca | 31,359 | cpp | C++ | src/MathExpression.cpp | comacros/Math-Expression-Parser | 0aaa58ff3433aa9cf3055073ddf54b607626304c | [
"MIT"
] | null | null | null | src/MathExpression.cpp | comacros/Math-Expression-Parser | 0aaa58ff3433aa9cf3055073ddf54b607626304c | [
"MIT"
] | null | null | null | src/MathExpression.cpp | comacros/Math-Expression-Parser | 0aaa58ff3433aa9cf3055073ddf54b607626304c | [
"MIT"
] | null | null | null | #define _USE_MATH_DEFINES
#include <cmath>
#ifdef _MSC_VER
#include <omp.h>
#endif
#include <vector>
#include <string>
#include <set>
#include <map>
#include <limits>
//#include <algorithm>
//#include <functional>
#include <cstdarg>
//#define NDEBUG
#include <cassert>
#include "MathExpression.h"
using namespace st... | 35.554422 | 215 | 0.52642 | [
"vector"
] |
840a971874674dfc39ba5486e9d5ab8da93f71a8 | 11,464 | cpp | C++ | SDK/Examples/FilamentViewer/FilamentViewer/Quesa Utilities/SynthesizeTriMeshUVs.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa Utilities/SynthesizeTriMeshUVs.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa Utilities/SynthesizeTriMeshUVs.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | //
// SynthesizeTriMeshUVs.cpp
// FilamentViewer
//
// Created by James Walker on 6/3/21.
//
/* ___________________________________________________________________________
COPYRIGHT:
Copyright (c) 2021, Quesa Developers. All rights reserved.
For the current release of Quesa, please see:
... | 29.776623 | 90 | 0.675506 | [
"mesh",
"vector"
] |
840f011825767c0c3cbfe66df3ae5c1c8dae5ff0 | 7,140 | cpp | C++ | Ejercicios/Tarea2-biblioteca/biblioteca.cpp | olvin24/cpp | 2336bb668f0838d996009d647719e70aa3a4cfdb | [
"MIT"
] | null | null | null | Ejercicios/Tarea2-biblioteca/biblioteca.cpp | olvin24/cpp | 2336bb668f0838d996009d647719e70aa3a4cfdb | [
"MIT"
] | null | null | null | Ejercicios/Tarea2-biblioteca/biblioteca.cpp | olvin24/cpp | 2336bb668f0838d996009d647719e70aa3a4cfdb | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <time.h>
using namespace std;
string libros[39][3];
void cargarLibros() {
// Arreglo con categoria, descripcion y autor.
libros[0][0] = "Algoritmos"; libros[0][1] = "Algoritmos y Programacion (Guia para docentes)"; libros[2][0] = "Gines Garcia Mateo";
libro... | 60 | 180 | 0.607843 | [
"transform"
] |
8418389722f35c1a23f65ef8ac7305fadadf4e75 | 2,847 | cxx | C++ | test/TestProbeCatalogue.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 5 | 2015-06-02T22:10:36.000Z | 2022-01-02T09:26:47.000Z | test/TestProbeCatalogue.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 2 | 2015-06-04T14:52:09.000Z | 2015-06-04T18:58:50.000Z | test/TestProbeCatalogue.cxx | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 3 | 2015-06-04T15:02:25.000Z | 2021-02-02T01:47:56.000Z | #include "UnitTest++.h"
#include "TestData.h"
#include "cbProbeCatalogue.h"
#include "cbProbeSpecification.h"
#include <iostream>
#include <string>
SUITE (TestProbeCatalogue) {
struct CatalogueFixture {
CatalogueFixture() : directory_path_(APPLICATION_DATA_PATH), catalogue_(directory_path_) {};
~CatalogueF... | 37.460526 | 96 | 0.699333 | [
"vector"
] |
84211316c356e79504bf6c453c11fe159d6b2bc1 | 7,068 | cpp | C++ | src/modules/processes/Geometry/DynamicCropPreferencesDialog.cpp | GeorgViehoever/PCL | c4a4390185db3ccb04471f845d92917cc1bc1113 | [
"JasPer-2.0"
] | null | null | null | src/modules/processes/Geometry/DynamicCropPreferencesDialog.cpp | GeorgViehoever/PCL | c4a4390185db3ccb04471f845d92917cc1bc1113 | [
"JasPer-2.0"
] | null | null | null | src/modules/processes/Geometry/DynamicCropPreferencesDialog.cpp | GeorgViehoever/PCL | c4a4390185db3ccb04471f845d92917cc1bc1113 | [
"JasPer-2.0"
] | null | null | null | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 02.01.01.0784
// ----------------------------------------------------------------------------
// Standard Geometry Process Module Version 01.01.00.0314
// -----------... | 38.835165 | 121 | 0.673316 | [
"geometry"
] |
8425471c9b1cdd382732ad0f64847e500375eb30 | 1,119 | cpp | C++ | SPOJ/DistractedJudges2.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | 1 | 2019-09-29T03:58:35.000Z | 2019-09-29T03:58:35.000Z | SPOJ/DistractedJudges2.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | SPOJ/DistractedJudges2.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
#define EPS 1e-11
#define EL cerr << endl;
#define DB(x) cerr << "#" << (#x) << ": " << (x) << " ";
#define DBL(x) cerr << "#" << (#x) << ": " << (x) << endl;
#define PR(x) cout << (x) << endl
#define X first
#define Y second
#define PB push_back
#define SQ(x) ((x)*(x))
#define GB(m, x) ((m)... | 26.642857 | 62 | 0.536193 | [
"vector"
] |
842eca30aba1c59a036cfdf8022a0ab38454a34f | 8,193 | cc | C++ | 0403_Frog_Jump/0403.cc | LuciusKyle/LeetCode | 66c9090e5244b10eca0be50398764da2b4b48a6c | [
"Apache-2.0"
] | null | null | null | 0403_Frog_Jump/0403.cc | LuciusKyle/LeetCode | 66c9090e5244b10eca0be50398764da2b4b48a6c | [
"Apache-2.0"
] | null | null | null | 0403_Frog_Jump/0403.cc | LuciusKyle/LeetCode | 66c9090e5244b10eca0be50398764da2b4b48a6c | [
"Apache-2.0"
] | null | null | null |
#include <assert.h>
#include <algorithm>
#include <array>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using std::array;
using std::map;
using std::unordered_map;
using std::unordered_set;
using std::vector;
class Solution_V3 {
public:
bool canCross(const vector<int>& stones)... | 57.697183 | 179 | 0.546442 | [
"vector"
] |
843515f308e55047d0c34c2130e226a491919a57 | 1,599 | cpp | C++ | Vector2D.cpp | Shashank9830/SDL-Game-Project | 4e7418f54df917ee831be7710091f4dfb76b5fdd | [
"MIT"
] | 23 | 2017-09-16T06:25:52.000Z | 2022-02-21T10:15:16.000Z | Vector2D.cpp | Shashank9830/SDL-Game-Project | 4e7418f54df917ee831be7710091f4dfb76b5fdd | [
"MIT"
] | 1 | 2019-06-05T14:27:49.000Z | 2019-06-05T14:36:19.000Z | Vector2D.cpp | Shashank9830/SDL-Game-Project | 4e7418f54df917ee831be7710091f4dfb76b5fdd | [
"MIT"
] | 11 | 2018-01-23T11:44:25.000Z | 2021-07-30T04:47:30.000Z | #include "Vector2D.h"
#include <math.h>
//function to calculate the length of a vector
float Vector2D::length()
{
return (float)sqrt((m_x * m_x) + (m_y * m_y));
}
//addition of two vectors using + operator
Vector2D Vector2D::operator + (const Vector2D& v2) const
{
return Vector2D(m_x + v2.m_x, m_y + v2.m_y);
}
//a... | 20.5 | 67 | 0.682301 | [
"vector"
] |
843ae93d832a4374b85575d72cf25e5a726a7e4d | 530 | hpp | C++ | wjson/specialization/property.hpp | mambaru/wjson | 48de30f1247564ab16c93fc824a14b182145ff90 | [
"MIT"
] | 21 | 2016-09-29T10:25:12.000Z | 2020-07-07T23:19:51.000Z | wjson/specialization/property.hpp | mambaru/wjson | 48de30f1247564ab16c93fc824a14b182145ff90 | [
"MIT"
] | 10 | 2016-11-17T09:09:35.000Z | 2021-10-03T11:47:18.000Z | wjson/specialization/property.hpp | mambaru/wjson | 48de30f1247564ab16c93fc824a14b182145ff90 | [
"MIT"
] | 6 | 2016-09-29T12:05:06.000Z | 2022-02-17T13:05:18.000Z | //
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2008-2016
//
// Copyright: See COPYING file that comes with this distribution
//
#pragma once
#include <wjson/predef.hpp>
#include <wjson/serializer/object.hpp>
#include <wjson/serializer/member_value.hpp>
#include <fas/type_list/normalize.hpp>
namespace wjso... | 17.096774 | 64 | 0.673585 | [
"object"
] |
8449d866335fe9ce6db844021936ecf3cc1e82b2 | 41,101 | cc | C++ | src/nodes/backgroundCell/BackgroundCellChannelModel.cc | aferaudo/Simu5G | 301888f86d97a291f6dc8386590c8f7ba817a42d | [
"Intel"
] | null | null | null | src/nodes/backgroundCell/BackgroundCellChannelModel.cc | aferaudo/Simu5G | 301888f86d97a291f6dc8386590c8f7ba817a42d | [
"Intel"
] | null | null | null | src/nodes/backgroundCell/BackgroundCellChannelModel.cc | aferaudo/Simu5G | 301888f86d97a291f6dc8386590c8f7ba817a42d | [
"Intel"
] | 1 | 2021-12-15T14:50:34.000Z | 2021-12-15T14:50:34.000Z | //
// Simu5G
//
// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are par... | 34.052196 | 202 | 0.592857 | [
"object",
"vector",
"model"
] |
844c1d7c9b40162cddba9fcefc501f258270b278 | 18,298 | cpp | C++ | Code/Tools/Animation/GraphEditor/AnimationGraphEditor_VariationEditor.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Tools/Animation/GraphEditor/AnimationGraphEditor_VariationEditor.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Tools/Animation/GraphEditor/AnimationGraphEditor_VariationEditor.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "AnimationGraphEditor_VariationEditor.h"
#include "EditorGraph/Animation_EditorGraph_Variations.h"
#include "EditorGraph/Animation_EditorGraph_Definition.h"
#include "Tools/Core/Resource/ResourceFilePicker.h"
#include "Engine/Animation/Graph/Animation_RuntimeGraph_Resources.h"
#include "System/Render/Imgu... | 42.454756 | 191 | 0.50541 | [
"render"
] |
4608eb2a206c4f88593d93826b3c3fac6e77c2a9 | 1,496 | hh | C++ | src/util/SphericalDistributions.hh | JonathanIlk/Tropical-Island-Laser-Battle | 1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed | [
"MIT"
] | 1 | 2022-03-25T11:18:41.000Z | 2022-03-25T11:18:41.000Z | src/util/SphericalDistributions.hh | JonathanIlk/Tropical-Island-Laser-Battle | 1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed | [
"MIT"
] | null | null | null | src/util/SphericalDistributions.hh | JonathanIlk/Tropical-Island-Laser-Battle | 1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
#pragma once
#include <random>
#include <typed-geometry/tg-lean.hh>
#include <typed-geometry/functions/basic/scalar_math.hh>
namespace Util {
template<typename ScalarT>
const ScalarT afterOne = std::nextafter(ScalarT(1), std::numeric_limits<ScalarT>::max());
}
template<typename Scalar... | 28.226415 | 89 | 0.677807 | [
"geometry"
] |
460dc424e74adfc0f72940ba04523f6773b372c2 | 5,306 | cpp | C++ | Blackjack/src/Player.cpp | sabihoshi/Blackjack | c43f4fb63fe7ccb7fc5eaf1dccab0f0d4a98b194 | [
"MIT"
] | null | null | null | Blackjack/src/Player.cpp | sabihoshi/Blackjack | c43f4fb63fe7ccb7fc5eaf1dccab0f0d4a98b194 | [
"MIT"
] | null | null | null | Blackjack/src/Player.cpp | sabihoshi/Blackjack | c43f4fb63fe7ccb7fc5eaf1dccab0f0d4a98b194 | [
"MIT"
] | null | null | null | #include "Player.h"
#include <conio.h>
#include <iostream>
#include <utility>
#include "Table.h"
/**
* \brief Gets the current active collection useful for when the hand is split.
* \return The hand that should be used.
*/
Hand& Player::GetCurrentCollection()
{
if (!Split) return FirstHand;
return IsFirstHand ?... | 20.889764 | 111 | 0.660573 | [
"object"
] |
4615f7465c750e8f232b05129934bad7c9ed8418 | 22,220 | cpp | C++ | src/libQtl/QtlFile.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 8 | 2016-08-09T14:05:58.000Z | 2020-09-05T14:43:36.000Z | src/libQtl/QtlFile.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 15 | 2016-08-09T14:11:21.000Z | 2022-01-15T23:39:07.000Z | src/libQtl/QtlFile.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 1 | 2017-08-26T22:08:58.000Z | 2017-08-26T22:08:58.000Z | //----------------------------------------------------------------------------
//
// Copyright (c) 2013-2017, Thierry Lelegard
// 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. Redistri... | 33.768997 | 109 | 0.538794 | [
"object"
] |
461eea8a849a61c8fe83235ceace28aff9304f92 | 7,160 | cpp | C++ | Pathfinding SFML/World.cpp | phoenixv5/Pathfinding-SFML | 8c88fe88e6e4907d5d01761331af8d875edb0a86 | [
"Apache-2.0"
] | 1 | 2019-05-17T09:05:30.000Z | 2019-05-17T09:05:30.000Z | Pathfinding SFML/World.cpp | phoenixv5/Pathfinding-SFML | 8c88fe88e6e4907d5d01761331af8d875edb0a86 | [
"Apache-2.0"
] | null | null | null | Pathfinding SFML/World.cpp | phoenixv5/Pathfinding-SFML | 8c88fe88e6e4907d5d01761331af8d875edb0a86 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "SFML_System.h"
#include "AStarMain.h"
#include "Tile.h"
#include "FallenStar.h"
#include "StarChaser.h"
#include "Spaceship.h"
#include "TradingPost.h"
#include "StartButton.h"
#include "World.h"
#include <iostream>
World::World()
{
core = new SFML_System();
for (int i = 0;i < Config::... | 24.43686 | 164 | 0.64567 | [
"vector"
] |
46234eb1b5dfe875170f4a6dd9cee4459bb7cc98 | 3,729 | cxx | C++ | src/larcv3/app/NextImageMod/ReSample.cxx | zhulcher/larcv3 | 26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b | [
"MIT"
] | 14 | 2017-10-19T15:08:29.000Z | 2021-03-31T21:21:07.000Z | src/larcv3/app/NextImageMod/ReSample.cxx | zhulcher/larcv3 | 26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b | [
"MIT"
] | 34 | 2019-05-15T13:33:10.000Z | 2022-03-22T17:54:49.000Z | src/larcv3/app/NextImageMod/ReSample.cxx | zhulcher/larcv3 | 26d1ad33f0c27ddf6bb2c56bc0238aeaddcb772b | [
"MIT"
] | 16 | 2017-12-07T12:04:40.000Z | 2021-11-15T00:53:31.000Z | #ifndef __RESAMPLE_CXX__
#define __RESAMPLE_CXX__
#include "ReSample.h"
#include "larcv/core/DataFormat/EventVoxel3D.h"
namespace larcv {
static ReSampleProcessFactory __global_ReSampleProcessFactory__;
ReSample::ReSample(const std::string name)
: ProcessBase(name)
{}
void ReSample::configure(const... | 29.132813 | 130 | 0.61491 | [
"object",
"vector"
] |
462b49a3ae7174329a34f8c5e7a99bcdec27b3f1 | 1,090 | cpp | C++ | leetcode/1 - twosum/two_sum.cpp | robinsonvs/community-coding-challenges | 62b20f15b3a8c2e3bedc33a296d93832bebf3abc | [
"MIT"
] | 91 | 2021-08-06T10:26:43.000Z | 2022-03-18T11:18:59.000Z | leetcode/1 - twosum/two_sum.cpp | robinsonvs/community-coding-challenges | 62b20f15b3a8c2e3bedc33a296d93832bebf3abc | [
"MIT"
] | 6 | 2021-08-06T15:46:39.000Z | 2021-09-13T21:10:52.000Z | leetcode/1 - twosum/two_sum.cpp | robinsonvs/community-coding-challenges | 62b20f15b3a8c2e3bedc33a296d93832bebf3abc | [
"MIT"
] | 32 | 2021-08-06T06:13:34.000Z | 2021-11-14T03:01:04.000Z | // Time complexity: O(N) - linear (tamanho do vetor)
// A estrutura de dados map pode ser implementada de duas formas, utilizando o conceito de árvore rubro-negra
// ou Hash table. cada estrutura possui vatangens/desvantagens. No exercício em questão a implementação baseada
// em Hash table faz muito mais sentido, vis... | 45.416667 | 111 | 0.666055 | [
"vector"
] |
462df82e16b224a2a4b7fede20ddcfeeb22c4ba2 | 3,387 | cpp | C++ | src/Analysis.cpp | aishkrish3/Scalar-Transport-Equation-Solver | f61d7a3fb2b674504c717ca94e165a89610fdcb5 | [
"MIT"
] | null | null | null | src/Analysis.cpp | aishkrish3/Scalar-Transport-Equation-Solver | f61d7a3fb2b674504c717ca94e165a89610fdcb5 | [
"MIT"
] | null | null | null | src/Analysis.cpp | aishkrish3/Scalar-Transport-Equation-Solver | f61d7a3fb2b674504c717ca94e165a89610fdcb5 | [
"MIT"
] | null | null | null | #include <Analysis.h>
std::vector<std::vector<Point3D> > Analysis::Analyze(double CFL)
{
std::vector<std::vector<Point3D> > final_result;
const int nx = get_nx(), ny = get_ny();
double dxi = mesh.get_dxi(); /*inverse of dx*/
double dyi = mesh.get_dyi(); /*inverse of dy*/
double dxi_2 = mesh.get_dxi_2(); /*invers... | 23.040816 | 65 | 0.517567 | [
"mesh",
"vector"
] |
462ecf58c2ade22baeaaa51b7f57dd8e845e4b2c | 2,803 | hpp | C++ | include/codegen/include/GlobalNamespace/ComboUIController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/ComboUIController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/ComboUIController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBeh... | 33.771084 | 85 | 0.704602 | [
"object"
] |
46361c962e9c226834031abd8707f061f8633db4 | 499 | cpp | C++ | promethee/functions/umbu/promethee_umbu_fun.cpp | FMota0/PrometheeOptimization | 6f6cd936e61d9d25e9bc0bb57d002506445a62cf | [
"MIT"
] | 9 | 2018-09-17T03:09:38.000Z | 2021-11-12T12:25:28.000Z | promethee/functions/umbu/promethee_umbu_fun.cpp | FMota0/PrometheeOptimization | 6f6cd936e61d9d25e9bc0bb57d002506445a62cf | [
"MIT"
] | 20 | 2018-08-16T11:53:12.000Z | 2020-04-09T21:08:06.000Z | promethee/functions/umbu/promethee_umbu_fun.cpp | FMota0/PrometheeOptimization | 6f6cd936e61d9d25e9bc0bb57d002506445a62cf | [
"MIT"
] | 3 | 2018-08-06T19:53:31.000Z | 2018-08-10T12:32:43.000Z | #include "promethee_umbu_fun.h"
PrometheeUmbuFunction::PrometheeUmbuFunction(vector<ldouble> params){
this->params = params;
}
ldouble PrometheeUmbuFunction::getPositiveDelta(vector<ldouble> &values, ldouble queryValue, vector<ldouble> &cummulative, ldouble weight, vector<unsigned int> &cnt){
return 0;
}
ldo... | 38.384615 | 166 | 0.783567 | [
"vector"
] |
46392fdbe8108fb952749dcd5d5d210a7f5e8d9e | 1,012,811 | hpp | C++ | Lattices/10_3_d_6x6x6_periodic_10flux_Jz_0.3333333333333333.hpp | timeschmann/Kitaev_QMC_KPM | 6dbeceadf93c6319a746fa69e6e780f7570f72d3 | [
"MIT"
] | null | null | null | Lattices/10_3_d_6x6x6_periodic_10flux_Jz_0.3333333333333333.hpp | timeschmann/Kitaev_QMC_KPM | 6dbeceadf93c6319a746fa69e6e780f7570f72d3 | [
"MIT"
] | null | null | null | Lattices/10_3_d_6x6x6_periodic_10flux_Jz_0.3333333333333333.hpp | timeschmann/Kitaev_QMC_KPM | 6dbeceadf93c6319a746fa69e6e780f7570f72d3 | [
"MIT"
] | null | null | null | #include <armadillo>
#include <complex>
using namespace arma;
sp_cx_mat def_matrix()
{
sp_cx_mat A(1728,1728);
A(0, 1) = std::complex<double>(0.0, 2.0*-0.3333333333333333);
A(1, 0) = -std::complex<double>(0.0, 2.0*-0.3333333333333333);
A(0, 5) = std::complex<double>(0.0, 2.0*-0.3333333333333333);
A(5, ... | 36.599248 | 71 | 0.57421 | [
"vector"
] |
463a1991c289c67373b3d47fdc11be25cbcb0343 | 9,255 | cpp | C++ | Lib-Engine/src/sfz/renderer/HighLevelCmdList.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | 2 | 2020-09-04T16:52:47.000Z | 2021-04-21T18:30:25.000Z | Lib-Engine/src/sfz/renderer/HighLevelCmdList.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | null | null | null | Lib-Engine/src/sfz/renderer/HighLevelCmdList.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | null | null | null | // Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se)
// For other contributors see Contributors.txt
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//... | 31.161616 | 114 | 0.742626 | [
"render"
] |
463a7b0194df986b546e95634c21928ec7f4f0a1 | 11,506 | cpp | C++ | plugins/builtin/source/content/lang_builtin_functions.cpp | Laxer3a/psdebugtool | 41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb | [
"MIT"
] | 4 | 2021-05-09T23:33:54.000Z | 2022-03-06T10:16:31.000Z | plugins/builtin/source/content/lang_builtin_functions.cpp | Laxer3a/psdebugtool | 41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb | [
"MIT"
] | null | null | null | plugins/builtin/source/content/lang_builtin_functions.cpp | Laxer3a/psdebugtool | 41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb | [
"MIT"
] | 6 | 2021-05-09T21:41:48.000Z | 2021-09-08T10:54:28.000Z | #include <hex/plugin.hpp>
#include <hex/lang/ast_node.hpp>
#include <hex/lang/log_console.hpp>
#include <hex/lang/evaluator.hpp>
#include <hex/helpers/utils.hpp>
#include <vector>
namespace hex::plugin::builtin {
#define LITERAL_COMPARE(literal, cond) std::visit([&](auto &&literal) { return (cond) != 0; }, lit... | 56.126829 | 166 | 0.595689 | [
"vector"
] |
463f296a60c418eee2f13cbfe87f3d481d426450 | 491 | cpp | C++ | src/Layer.cpp | Delpod/Asimo-s-Escape | 4d2a599fcb17f4c76cfda45cb2c310bd01f66faa | [
"Zlib",
"Apache-2.0"
] | 1 | 2021-01-19T21:20:35.000Z | 2021-01-19T21:20:35.000Z | src/Layer.cpp | Delpod/Asimo-s-Escape | 4d2a599fcb17f4c76cfda45cb2c310bd01f66faa | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/Layer.cpp | Delpod/Asimo-s-Escape | 4d2a599fcb17f4c76cfda45cb2c310bd01f66faa | [
"Zlib",
"Apache-2.0"
] | null | null | null | #include "Layer.h"
Layer::~Layer() {
for(std::vector<GameObject*>::iterator it = m_gameObjects.begin(); it != m_gameObjects.end(); ++it) {
delete (*it);
}
m_gameObjects.clear();
}
void Layer::update(sf::Time &pauseTime) {
for(unsigned int i = 0; i < m_gameObjects.size(); ++i) {
m_gameObjects[i]->update(pauseT... | 24.55 | 102 | 0.643585 | [
"vector"
] |
4641867902a792422e8ec75d963b15049d725748 | 4,559 | cpp | C++ | src/ShopMyCloset/clothesmodel.cpp | EiriniMits/ShopMyCloset | 63c07b3458fa1bf28f411015491c5c75942132ea | [
"Apache-2.0"
] | 7 | 2018-03-02T02:56:11.000Z | 2021-12-16T13:07:55.000Z | src/ShopMyCloset/clothesmodel.cpp | EiriniMits/ShopMyCloset | 63c07b3458fa1bf28f411015491c5c75942132ea | [
"Apache-2.0"
] | null | null | null | src/ShopMyCloset/clothesmodel.cpp | EiriniMits/ShopMyCloset | 63c07b3458fa1bf28f411015491c5c75942132ea | [
"Apache-2.0"
] | 4 | 2018-03-02T02:55:59.000Z | 2020-06-11T12:35:04.000Z | #include "clothesmodel.h"
// insert an item into a database
void ClothesModel::insertItem (QString id, QString name,QString brand, QString imgPath,QString description,QString size,std::vector<QString> colors, std::vector<std::pair<QString,double>> components,QString price)
{
beginResetModel();
Clothes *c;
... | 32.333333 | 213 | 0.575345 | [
"object",
"vector"
] |
4646b0cda36602f478bbbb808693a25f64a5814e | 4,764 | cpp | C++ | Arrangement_on_surface_2/examples/Arrangement_on_surface_2/spherical_degenerate_sweep.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Arrangement_on_surface_2/examples/Arrangement_on_surface_2/spherical_degenerate_sweep.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Arrangement_on_surface_2/examples/Arrangement_on_surface_2/spherical_degenerate_sweep.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | //! \file examples/Arrangement_on_surface_2/spherical_degenerate_sweep.cpp
// Using the global aggregated insertion function.
// #define CGAL_SL_VERBOSE 0
// #define CGAL_ARRANGEMENT_ON_SURFACE_INSERT_VERBOSE 1
// #define CGAL_ARR_CONSTRUCTION_SL_VISITOR_VERBOSE 1
#include <vector>
#include <CGAL/Exact_predicates_ex... | 34.273381 | 80 | 0.629513 | [
"vector"
] |
464ba5584b5fa58779c06e70d3d52c5c0f20a267 | 669 | cpp | C++ | cpp-leetcode/leetcode1894-find-the-student-that-will-replace-the-chalk_mod_tip.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 45 | 2021-07-25T00:45:43.000Z | 2022-03-24T05:10:43.000Z | cpp-leetcode/leetcode1894-find-the-student-that-will-replace-the-chalk_mod_tip.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | null | null | null | cpp-leetcode/leetcode1894-find-the-student-that-will-replace-the-chalk_mod_tip.cpp | yanglr/LeetCodeOJ | 27dd1e4a2442b707deae7921e0118752248bef5e | [
"MIT"
] | 15 | 2021-07-25T00:40:52.000Z | 2021-12-27T06:25:31.000Z | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
class Solution {
public:
int chalkReplacer(vector<int>& chalk, int k) {
long long sum = 0;
for (auto num : chalk)
sum += num; // 求和
k = k % sum; // 小技巧: mod, 减小目标值 k 的规模
int len = chalk.size(... | 20.272727 | 50 | 0.490284 | [
"vector"
] |
46521f231af8be920f12d071469f84270b265ee2 | 28,674 | cxx | C++ | resip/stack/test/limpc.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | resip/stack/test/limpc.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | resip/stack/test/limpc.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <cstring>
#include <cassert>
#include <stdio.h>
#include <signal.h>
//#define USE_CURSES
#ifdef USE_CURSES
#include <ncurses.h>
#else
#include <iostream>
#include <cstdio>
#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
typedef void WINDOW... | 25.670546 | 108 | 0.524203 | [
"object"
] |
465238d298ae89a6d638a0a4d0d2f5fb312f056e | 35,448 | cpp | C++ | src/ascent/runtimes/expressions/ascent_derived_jit.cpp | goodbadwolf/ascent | 70662ebc6fd550d2d13349cb750022d9ce3b29a6 | [
"BSD-3-Clause"
] | 97 | 2017-10-23T23:59:46.000Z | 2022-03-02T22:21:00.000Z | src/ascent/runtimes/expressions/ascent_derived_jit.cpp | goodbadwolf/ascent | 70662ebc6fd550d2d13349cb750022d9ce3b29a6 | [
"BSD-3-Clause"
] | 475 | 2017-09-12T22:46:37.000Z | 2022-03-18T19:19:04.000Z | src/ascent/runtimes/expressions/ascent_derived_jit.cpp | goodbadwolf/ascent | 70662ebc6fd550d2d13349cb750022d9ce3b29a6 | [
"BSD-3-Clause"
] | 39 | 2017-09-12T20:18:29.000Z | 2022-01-20T00:22:55.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-716457
//
// All rights reserved.
//
// This file is part of Ascent.
//
// For details, see:... | 31.791928 | 82 | 0.575858 | [
"mesh",
"object",
"shape",
"vector"
] |
46566ae55533b9565de9c783302e3190310feaf7 | 3,093 | cpp | C++ | src/game/src/states/editor/EditorMenuStateTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 6 | 2021-04-20T10:32:29.000Z | 2021-06-05T11:48:56.000Z | src/game/src/states/editor/EditorMenuStateTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 1 | 2021-05-18T21:00:12.000Z | 2021-06-02T07:59:03.000Z | src/game/src/states/editor/EditorMenuStateTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 3 | 2020-09-12T08:54:04.000Z | 2021-04-17T11:16:36.000Z | #include "EditorMenuState.h"
#include <memory>
#include "gtest/gtest.h"
#include "FileAccessMock.h"
#include "InputMock.h"
#include "RendererPoolMock.h"
#include "StatesMock.h"
#include "TileMapMock.h"
#include "UIManagerMock.h"
#include "WindowMock.h"
using namespace game;
using namespace components::ui;
using nam... | 30.93 | 99 | 0.743938 | [
"render"
] |
465b394035374577169c9ef01b8d636aee218020 | 25,685 | cpp | C++ | Runtime/MP1/World/CMagdolite.cpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 1 | 2020-06-09T07:49:34.000Z | 2020-06-09T07:49:34.000Z | Runtime/MP1/World/CMagdolite.cpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 6 | 2020-06-09T07:49:45.000Z | 2021-04-06T22:19:57.000Z | Runtime/MP1/World/CMagdolite.cpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | null | null | null | #include "Runtime/MP1/World/CMagdolite.hpp"
#include "Runtime/Collision/CCollisionActor.hpp"
#include "Runtime/Collision/CCollisionActorManager.hpp"
#include "Runtime/Collision/CJointCollisionDescription.hpp"
#include "Runtime/Graphics/CSkinnedModel.hpp"
#include "Runtime/Weapon/CFlameThrower.hpp"
#include "Runtime/Wo... | 37.772059 | 120 | 0.680125 | [
"vector",
"solid"
] |
4665b84430b55fc9400bcf0331856223c78513c5 | 4,636 | hpp | C++ | third_party/omr/compiler/infra/CriticalSection.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/compiler/infra/CriticalSection.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/compiler/infra/CriticalSection.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... | 34.857143 | 135 | 0.677739 | [
"object"
] |
4667b368890de582fe8afb57cd64d09668434ac0 | 43,840 | cpp | C++ | spine/Reactor.cpp | fmidev/smartmet-library-spine | f770171149fdaa78c5b7c7ba463218a9fd63bd68 | [
"MIT"
] | 1 | 2017-03-13T03:34:32.000Z | 2017-03-13T03:34:32.000Z | spine/Reactor.cpp | fmidev/smartmet-library-spine | f770171149fdaa78c5b7c7ba463218a9fd63bd68 | [
"MIT"
] | 3 | 2017-11-02T16:30:29.000Z | 2020-05-27T13:46:14.000Z | spine/Reactor.cpp | fmidev/smartmet-library-spine | f770171149fdaa78c5b7c7ba463218a9fd63bd68 | [
"MIT"
] | 1 | 2017-05-15T09:04:13.000Z | 2017-05-15T09:04:13.000Z | // ======================================================================
/*!
* \brief Implementation of class Reactor
*/
// ======================================================================
#include "Reactor.h"
#include "ConfigTools.h"
#include "Convenience.h"
#include "DynamicPlugin.h"
#include "FmiApiKey.h"
... | 29.521886 | 100 | 0.549749 | [
"vector"
] |
46688c009f947cf7788fef0ca1e37b97f78d2f92 | 9,765 | hpp | C++ | include/notima/sparse_array.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | include/notima/sparse_array.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | include/notima/sparse_array.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | #ifndef NOTIMA_SPARSE_ARRAY_HPP
#define NOTIMA_SPARSE_ARRAY_HPP
#include <cmath>
#include <memory>
#include <notima/integer_array.hpp>
#include <notima/poppy.hpp>
#include <notima/internal/stats.hpp>
namespace notima
{
namespace detail
{
}
// namespace detail
template <size_t B, size_t N>
str... | 27.584746 | 118 | 0.483052 | [
"vector"
] |
466b2240864af9386f5cbd80b67d8c80f02a2e0d | 18,360 | cpp | C++ | src/likelihood.cpp | mrc-ide/malariaModelFit | 2a1e3e53cb38d786f0f163d9f4a2a546d28a526e | [
"MIT"
] | 4 | 2019-12-03T14:07:51.000Z | 2020-05-07T21:25:29.000Z | src/likelihood.cpp | mrc-ide/malariaModelFit | 2a1e3e53cb38d786f0f163d9f4a2a546d28a526e | [
"MIT"
] | 12 | 2019-12-09T13:00:05.000Z | 2020-01-28T08:39:29.000Z | src/likelihood.cpp | mrc-ide/malariaModelFit | 2a1e3e53cb38d786f0f163d9f4a2a546d28a526e | [
"MIT"
] | null | null | null | #include <Rcpp.h>
// [[Rcpp::export]]
SEXP loglikelihood(std::vector<double> params, std::vector<double> x){
// Unpack data ///////////////////////////////////////////////////////////////
// Data input vector format:
// Output type
// Number of studies
// Number of sites
// Vector of si... | 32.727273 | 120 | 0.466449 | [
"vector"
] |
466f552274431025e0633cec48925396ffde76ae | 9,895 | cpp | C++ | Firmware/Marlin/src/module/delta.cpp | PavelTajdus/Anet-A8-PLUS-Dual-Color-Rebuild | 76ce07b6c8f52962c1251d40beb6de26301409ef | [
"MIT"
] | 1 | 2019-10-22T11:04:05.000Z | 2019-10-22T11:04:05.000Z | Firmware/Marlin/src/module/delta.cpp | PavelTajdus/Anet-A8-PLUS-Dual-Color-Rebuild | 76ce07b6c8f52962c1251d40beb6de26301409ef | [
"MIT"
] | null | null | null | Firmware/Marlin/src/module/delta.cpp | PavelTajdus/Anet-A8-PLUS-Dual-Color-Rebuild | 76ce07b6c8f52962c1251d40beb6de26301409ef | [
"MIT"
] | 2 | 2019-07-22T20:31:15.000Z | 2021-08-01T00:15:38.000Z | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 36.378676 | 153 | 0.697726 | [
"vector",
"3d"
] |
4673975f64815362873c0a8566558734fcc214ed | 4,349 | hpp | C++ | blast/include/algo/blast/api/deltablast_options.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | blast/include/algo/blast/api/deltablast_options.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | blast/include/algo/blast/api/deltablast_options.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #ifndef ALGO_BLAST_API___DELTABLAST_OPTIONS__HPP
#define ALGO_BLAST_API___DELTABLAST_OPTIONS__HPP
/* $Id: deltablast_options.hpp 349728 2012-01-12 18:51:12Z boratyng $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* ... | 35.647541 | 81 | 0.696022 | [
"object"
] |
468234bb68c83b3bf96a109d48642d323e335359 | 624 | cpp | C++ | 202011/12/_922_SortArrayByParity2.cpp | uaniheng/leetcode-cpp | d7b4c9ef43cca8ecb703da5a910d79af61eb3394 | [
"Apache-2.0"
] | null | null | null | 202011/12/_922_SortArrayByParity2.cpp | uaniheng/leetcode-cpp | d7b4c9ef43cca8ecb703da5a910d79af61eb3394 | [
"Apache-2.0"
] | null | null | null | 202011/12/_922_SortArrayByParity2.cpp | uaniheng/leetcode-cpp | d7b4c9ef43cca8ecb703da5a910d79af61eb3394 | [
"Apache-2.0"
] | null | null | null | //
// Created by gyc on 2020/11/12.
//
#include "../../common.h"
class Solution {
public:
vector<int> sortArrayByParityII(vector<int> &A) {
// [4,2,5,7]
for(int i = 0, j = 1; i < A.size(); i += 2) {
if (A[i] % 2) {
while (A[j] % 2) {
j += 2;
... | 18.352941 | 53 | 0.371795 | [
"vector"
] |
468e7cb492e661d074825c44d55bdecbcd3ec2c2 | 2,170 | cc | C++ | quickbi-public/src/model/QueryEmbeddedInfoResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | quickbi-public/src/model/QueryEmbeddedInfoResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | quickbi-public/src/model/QueryEmbeddedInfoResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 31.449275 | 99 | 0.74977 | [
"model"
] |
46aa856ca6ad9601c4cc1d7fa5f0e7cd005afa53 | 1,845 | hpp | C++ | inc/dcs/testbed/base_system_manager.hpp | sguazt/dcsxx-testbed | e7210f0c7f54256d5bf0c90297e0c4f9eaf82da0 | [
"Apache-2.0"
] | null | null | null | inc/dcs/testbed/base_system_manager.hpp | sguazt/dcsxx-testbed | e7210f0c7f54256d5bf0c90297e0c4f9eaf82da0 | [
"Apache-2.0"
] | null | null | null | inc/dcs/testbed/base_system_manager.hpp | sguazt/dcsxx-testbed | e7210f0c7f54256d5bf0c90297e0c4f9eaf82da0 | [
"Apache-2.0"
] | null | null | null | /**
* \file dcs/testbed/base_system_manager.hpp
*
* \brief Base class for system managers.
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*
* <hr/>
*
* Copyright 2012 Marco Guazzone (marco.guazzone@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this f... | 24.276316 | 75 | 0.736043 | [
"vector"
] |
9e4de2ad8c37f7d3726a2ab50bfaa374845d686e | 565,705 | cpp | C++ | GCG_Source.build/module.django.utils.regex_helper.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.django.utils.regex_helper.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.django.utils.regex_helper.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | /* Generated code for Python source for module 'django.utils.regex_helper'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | 31.951709 | 434 | 0.696183 | [
"object"
] |
9e536db55e9b55e439eb903840b11dd81f16ff3a | 1,746 | cpp | C++ | boboleetcode/Play-Leetcode-master/1080-Insufficient-Nodes-in-Root-to-Leaf-Paths/cpp-1080/main.cpp | yaominzh/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 2 | 2021-03-25T05:26:55.000Z | 2021-04-20T03:33:24.000Z | boboleetcode/Play-Leetcode-master/1080-Insufficient-Nodes-in-Root-to-Leaf-Paths/cpp-1080/main.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 6 | 2019-12-04T06:08:32.000Z | 2021-05-10T20:22:47.000Z | boboleetcode/Play-Leetcode-master/1080-Insufficient-Nodes-in-Root-to-Leaf-Paths/cpp-1080/main.cpp | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | null | null | null | /// Source : https://leetcode.com/problems/insufficient-nodes-in-root-to-leaf-paths/
/// Author : liuyubobobo
/// Time : 2019-06-08
#include <iostream>
#include <unordered_map>
#include <vector>
#include <cassert>
using namespace std;
/// DFS
/// Time Complexity: O(n)
/// Space Complexity: O(h)
/// Definition fo... | 23.28 | 84 | 0.562428 | [
"vector"
] |
9e64a996e74dc41f12be4934b52da338ece3a188 | 548 | hpp | C++ | parser/parser.hpp | XenotriX1337/TRPL-Interpreter | 976962090b2c2d0ade9d02567b83bd643e4ab9d2 | [
"MIT"
] | null | null | null | parser/parser.hpp | XenotriX1337/TRPL-Interpreter | 976962090b2c2d0ade9d02567b83bd643e4ab9d2 | [
"MIT"
] | null | null | null | parser/parser.hpp | XenotriX1337/TRPL-Interpreter | 976962090b2c2d0ade9d02567b83bd643e4ab9d2 | [
"MIT"
] | null | null | null | #pragma once
#include "parser.hxx"
#include <functional>
class Parser
{
public:
std::vector<ast::Statement*> parse(const std::string&) const;
std::vector<ast::Statement*> parse(std::istream* in) const;
void addEventListener(std::function<void (int)>);
private:
void requestMore(int) const;
std::vector<std::f... | 23.826087 | 63 | 0.70073 | [
"vector"
] |
9e658f7cb145a538f3f7151e3e70c5901577c841 | 12,841 | cpp | C++ | Modules/rossub/rgbdprocess.cpp | SJ-YI/HSRDEV | 8fa42bc41e337f0777e6980b37907dbd3c1067da | [
"Info-ZIP"
] | null | null | null | Modules/rossub/rgbdprocess.cpp | SJ-YI/HSRDEV | 8fa42bc41e337f0777e6980b37907dbd3c1067da | [
"Info-ZIP"
] | 1 | 2020-05-04T09:42:17.000Z | 2020-05-04T09:42:17.000Z | Modules/rossub2/rgbdprocess.cpp | SJ-YI/HSRDEV | 8fa42bc41e337f0777e6980b37907dbd3c1067da | [
"Info-ZIP"
] | null | null | null | #include "lua.hpp"
#include <thread>
#include <iostream>
#include <mutex>
#include <vector>
#include "ros/ros.h"
#include "ros/callback_queue.h"
#include "ros/subscribe_options.h"
#include "sensor_msgs/PointCloud2.h"
#include "geometry_msgs/PoseStamped.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Pose... | 28.409292 | 102 | 0.611868 | [
"object",
"vector",
"transform",
"3d"
] |
9e65d96ac93e3f21d9d886cae3d3dbb060ccb04e | 1,776 | cpp | C++ | aoc-2019/day10/src/CMonitoringStation.cpp | KlonicOne/adventofcode-2019 | 63884458720c8b0b83613272750453f51708439f | [
"MIT"
] | null | null | null | aoc-2019/day10/src/CMonitoringStation.cpp | KlonicOne/adventofcode-2019 | 63884458720c8b0b83613272750453f51708439f | [
"MIT"
] | null | null | null | aoc-2019/day10/src/CMonitoringStation.cpp | KlonicOne/adventofcode-2019 | 63884458720c8b0b83613272750453f51708439f | [
"MIT"
] | null | null | null | /*
* monitoringstation.cpp
*
* Created on: 6 Jan 2020
* Author: nico
*/
#include <numeric>
#include <iostream>
#include <string>
#include <math.h>
#include <fstream>
#include "CMonitoringStation.h"
CMonitoringStation::CMonitoringStation()
{
this->mSizeX = 0;
this->mSizeY = 0;
}
CMonitoringStation::~CM... | 20.413793 | 75 | 0.615991 | [
"vector"
] |
9e686ae1cf04e00307af1332a1218a45afb124b5 | 1,347 | cpp | C++ | GDIPlusRenderer.cpp | gcardi/AreaPrj | 831b23f0f7f444dca5f1395c2a4a0aff1e6d2f75 | [
"MIT"
] | null | null | null | GDIPlusRenderer.cpp | gcardi/AreaPrj | 831b23f0f7f444dca5f1395c2a4a0aff1e6d2f75 | [
"MIT"
] | null | null | null | GDIPlusRenderer.cpp | gcardi/AreaPrj | 831b23f0f7f444dca5f1395c2a4a0aff1e6d2f75 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
#pragma hdrstop
#include <algorithm>
#include <Vcl.Graphics.hpp>
#include "IModel.h"
#include "GDIPlusRenderer.h"
#include "Utils.h"
using std::transform;
//---------------------------------------------------------------------------
#p... | 28.659574 | 77 | 0.507795 | [
"model",
"transform"
] |
9e68ed0f429e589b96fefed15903e75711b61d91 | 70,242 | cpp | C++ | src/third_party/mozjs/extract/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/extract/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/extract/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: set ts=8 sts=2 et sw=2 tw=80:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 33.949734 | 80 | 0.621252 | [
"vector"
] |
9e6900382a8ab005f245a856ae9c96afbce5acdb | 4,570 | cc | C++ | src/M4Cut.cc | ZAKI1905/HEP-Phen | bc06fecb2aa6bf108b59f76794e63c29eb37a35a | [
"MIT"
] | 1 | 2019-10-21T08:25:46.000Z | 2019-10-21T08:25:46.000Z | src/M4Cut.cc | ZAKI1905/HEP-Phen | bc06fecb2aa6bf108b59f76794e63c29eb37a35a | [
"MIT"
] | null | null | null | src/M4Cut.cc | ZAKI1905/HEP-Phen | bc06fecb2aa6bf108b59f76794e63c29eb37a35a | [
"MIT"
] | null | null | null | /*
M4Cut class
Last Updated by Zaki on July 6, 2019
*/
#include "../include/M4Cut.h"
//==============================================================
//--------------------------------------------------------------
// Default Constructor
PHENO::CUTS::M4Cut::M4Cut()
{
// logger.SetUnit("M4Cut");
SetName("M4... | 27.865854 | 89 | 0.496499 | [
"vector"
] |
9e69ef0dd35fb10bffb145c796c9102bb0c983a4 | 396 | cpp | C++ | C++/081. Search in Rotated Sorted Array II.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | 3 | 2018-07-28T15:36:18.000Z | 2020-03-17T01:26:22.000Z | C++/081. Search in Rotated Sorted Array II.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | C++/081. Search in Rotated Sorted Array II.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | //
// Created by 王阳 on 2018/7/31.
//
#include "header.h"
class Solution {
public:
bool search(vector<int> &nums, int target) {
sort(nums.begin(), nums.end());
int n = int(nums.size());
for (int i = 0; i < n; ++i) {
if (target == nums[i]) {
return true;
... | 16.5 | 48 | 0.45202 | [
"vector"
] |
9e81197abbd923148ce38071d4d662f18dda901d | 1,619 | cpp | C++ | 1009.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | 1 | 2020-08-29T03:49:57.000Z | 2020-08-29T03:49:57.000Z | 1009.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | null | null | null | 1009.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <string>
#include <queue>
#include <stack>
#include <algorithm>
#include <vector>
using namespace std;
struct node{
string name;
int height;
}stu[10010];
bool cmp(node a, node b){
if(a.height != b.height){
return a.height > b.height;
}
else{
return a.name < b.na... | 15.419048 | 38 | 0.440395 | [
"vector"
] |
9e81c0bd0988ff5fee7a6df52150eae703b040eb | 2,321 | cpp | C++ | tests/chunked_output_stream.test.cpp | deeplex/deeppack | 0a94f61ee441eba7f0b280d2493505860c5b89cd | [
"BSL-1.0"
] | null | null | null | tests/chunked_output_stream.test.cpp | deeplex/deeppack | 0a94f61ee441eba7f0b280d2493505860c5b89cd | [
"BSL-1.0"
] | null | null | null | tests/chunked_output_stream.test.cpp | deeplex/deeppack | 0a94f61ee441eba7f0b280d2493505860c5b89cd | [
"BSL-1.0"
] | null | null | null |
// Copyright Henrik Steffen Gaßmann 2020
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <dplx/dp/streams/chunked_output_stream.hpp>
#include <cstddef>
#include <array>
#include <vector... | 26.988372 | 77 | 0.70573 | [
"vector"
] |
9e84043dd38e652914c7d47f1c8829825115c63f | 9,579 | cpp | C++ | src/saiga/vision/camera/EuRoCDataset.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vision/camera/EuRoCDataset.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vision/camera/EuRoCDataset.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "EuRoCDataset.h"
#include "saiga/core/util/ProgressBar.h"
#include "saiga/core/util/file.h"
#include "saiga/core/util/fileChecker.h"
#include "saiga/core/util/tostring.h"
#include "saiga/... | 32.917526 | 116 | 0.567074 | [
"vector",
"model"
] |
9e8ccedd4ddaabb6333189fecae9468ee951565a | 35,876 | cpp | C++ | native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2016 Chukong Technologies Inc.
Copyright (c) 2017-2022 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engin... | 31.142361 | 169 | 0.620638 | [
"object",
"vector"
] |
9e8da2c5a6d49d13329859bf9a0bbe88296c9730 | 104,710 | cpp | C++ | src/main.cpp | lucsmelo/TF-FCG | 2075103a7050b86bc16572e9c395bf9d4d48c9cc | [
"MIT"
] | null | null | null | src/main.cpp | lucsmelo/TF-FCG | 2075103a7050b86bc16572e9c395bf9d4d48c9cc | [
"MIT"
] | null | null | null | src/main.cpp | lucsmelo/TF-FCG | 2075103a7050b86bc16572e9c395bf9d4d48c9cc | [
"MIT"
] | null | null | null | // Universidade Federal do Rio Grande do Sul
// Instituto de Informática
// Departamento de Informática Aplicada
//
// INF01047 Fundamentos de Computação Gráfica
// Prof. Eduardo Gastal
//
// LABORATÓRIO 5
//
// Arquivos "headers" padrões de C podem ser incluído... | 41.683917 | 187 | 0.638172 | [
"mesh",
"shape",
"vector",
"model"
] |
9e98bdbf3392cc4eb956afa1c7720cd6a013634e | 3,774 | cpp | C++ | sandbox/tqli.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | 1 | 2018-05-17T09:01:12.000Z | 2018-05-17T09:01:12.000Z | sandbox/tqli.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | null | null | null | sandbox/tqli.cpp | f-fathurrahman/ffr-pspw-dft-c | 5e673e33385eb467d99fcd992b350614c2709740 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define SQR(x) ((x)*(x))
#define SIGN(a,b) ((b) >= 0.0 ? fabs(a) : -fabs(a))
#define IDX2F(i,j,DIM1) (((j)-1)*(DIM1) + ((i)-1))
double pythag(double a, double b)
// Computes (a**2 + b**2)**(1/2) without destructive underflow or overflow.
{
double absa,absb;
... | 31.983051 | 96 | 0.518018 | [
"vector"
] |
9e9c50b797123485b25a3b31dd7a7645b065f602 | 2,107 | hpp | C++ | include/OrbitConversions/CartState.hpp | bbercovici/OrbitConversions | c4cdc4604d91e90d89cfa6aa7739bef8cdb18739 | [
"MIT"
] | null | null | null | include/OrbitConversions/CartState.hpp | bbercovici/OrbitConversions | c4cdc4604d91e90d89cfa6aa7739bef8cdb18739 | [
"MIT"
] | null | null | null | include/OrbitConversions/CartState.hpp | bbercovici/OrbitConversions | c4cdc4604d91e90d89cfa6aa7739bef8cdb18739 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2018 Benjamin Bercovici
// 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, modi... | 31.447761 | 81 | 0.753204 | [
"vector"
] |
9e9e9a898e7efba602df4f71aab0187918455b09 | 3,310 | cpp | C++ | net.cpp | redouane-dev/feedforward-neural-network | 12e398658ea58506640039196a4ee52c0999f445 | [
"MIT"
] | 1 | 2020-05-01T16:57:47.000Z | 2020-05-01T16:57:47.000Z | net.cpp | redouane-dev/feedforward-neural-network | 12e398658ea58506640039196a4ee52c0999f445 | [
"MIT"
] | null | null | null | net.cpp | redouane-dev/feedforward-neural-network | 12e398658ea58506640039196a4ee52c0999f445 | [
"MIT"
] | null | null | null |
#include <cstdlib>
#include <vector>
#include <cmath>
#include <cassert>
#include "net.hpp"
#include "neuron.hpp"
/* NET IMPLEMENTATION ****************************************************************************/
double Net::m_recentAverageSmoothingFactor = 1.0;
Net::Net(std::vector<unsigned>& topology){
u... | 28.782609 | 110 | 0.668882 | [
"vector"
] |
9e9f841121c4ebb64bd23e8db1e7f032ef67e894 | 465 | hpp | C++ | source/sdl_core/sdl_core.hpp | Spirrwell/AMEngine | 9edc38af84bdb2f37ba0d988f5a9cb6d6250d0b7 | [
"MIT"
] | 2 | 2020-10-15T07:32:02.000Z | 2020-12-01T22:42:55.000Z | source/sdl_core/sdl_core.hpp | Spirrwell/AMEngine | 9edc38af84bdb2f37ba0d988f5a9cb6d6250d0b7 | [
"MIT"
] | null | null | null | source/sdl_core/sdl_core.hpp | Spirrwell/AMEngine | 9edc38af84bdb2f37ba0d988f5a9cb6d6250d0b7 | [
"MIT"
] | null | null | null | #ifndef SDL_CORE_HPP
#define SDL_CORE_HPP
#include "isdl_core.hpp"
#include "SDL.h"
#include "sdleventlistener.hpp"
#include <vector>
class SDL_Core : public ISDL_Core
{
public:
void ProcessEvents() override;
void AddSDLEventListener( SDLEventListener *pListener ) override;
void RemoveSDLEventListener( SDLEvent... | 19.375 | 69 | 0.782796 | [
"vector"
] |
9eac0e60ccae239a6e2d439c40f2f096bed25621 | 145,546 | cpp | C++ | src/csalt/src/executive/Phase.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/csalt/src/executive/Phase.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/csalt/src/executive/Phase.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// Phase
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as represented by the
//... | 36.061943 | 126 | 0.491563 | [
"mesh",
"object",
"vector"
] |
9eaf56dc20a36c7fb3dbf0a7ce722c47926a963a | 7,328 | cpp | C++ | sample/09.Globalillumination/model.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 113 | 2015-06-25T06:24:59.000Z | 2021-09-26T02:46:02.000Z | sample/09.Globalillumination/model.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 2 | 2015-05-03T07:22:49.000Z | 2017-12-11T09:17:20.000Z | sample/09.Globalillumination/model.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 17 | 2015-11-10T15:07:15.000Z | 2021-01-19T15:28:16.000Z | // +----------------------------------------------------------------------
// | Project : ray.
// | All rights reserved.
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2015.
// +----------------------------------------------------------------------
// | * Redistributi... | 42.358382 | 88 | 0.704694 | [
"model"
] |
9eb2e0117e333e4590ee0a3335ecf78cebe06558 | 2,086 | cpp | C++ | Engine/Application.cpp | Grimkin/SoftShadows | 579b711ceb976679e13bb3442ed9f0bf740d3244 | [
"BSD-2-Clause"
] | 1 | 2017-06-13T14:33:57.000Z | 2017-06-13T14:33:57.000Z | Engine/Application.cpp | Grimkin/SoftShadows | 579b711ceb976679e13bb3442ed9f0bf740d3244 | [
"BSD-2-Clause"
] | null | null | null | Engine/Application.cpp | Grimkin/SoftShadows | 579b711ceb976679e13bb3442ed9f0bf740d3244 | [
"BSD-2-Clause"
] | null | null | null | #include "Application.h"
#include "Window.h"
#include "Logger.h"
#include "Makros.h"
#include "D3DRenderBackend.h"
#include "InputManager.h"
#include "Time.h"
#include "GameObjectManager.h"
#include "Game.h"
#include "Renderer.h"
#include "Material.h"
#include "Texture.h"
#include "GUI.h"
#include "FontManager.h"
#inc... | 26.74359 | 74 | 0.727229 | [
"geometry",
"render"
] |
9eb6dac8987c5d6483805def4ae3908b9c910706 | 698 | cpp | C++ | src/boost_python_exception/auto_translation/import.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 1 | 2015-03-28T08:28:56.000Z | 2015-03-28T08:28:56.000Z | src/boost_python_exception/auto_translation/import.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 3 | 2015-01-08T08:10:55.000Z | 2015-01-08T10:20:42.000Z | src/boost_python_exception/auto_translation/import.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 2 | 2018-11-13T07:42:31.000Z | 2020-03-10T22:43:31.000Z | #include <boost_python_exception/auto_translation/import.hpp>
#include <boost/python/import.hpp>
#include <boost_python_exception/get_exception_info.hpp>
#include <boost_python_exception/clear_exception.hpp>
#include <boost_python_exception/auto_translation/exception_translator.hpp>
namespace bp = boost::python;
na... | 27.92 | 75 | 0.752149 | [
"object"
] |
9ec3280dd3be55197acd999d1fab65539616a905 | 31,674 | cpp | C++ | tests/netlist/net.cpp | e7p/hal | 2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8 | [
"MIT"
] | null | null | null | tests/netlist/net.cpp | e7p/hal | 2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8 | [
"MIT"
] | null | null | null | tests/netlist/net.cpp | e7p/hal | 2a88a8abefe5e2f79a74ec646e5fb3d8e6eb7cc8 | [
"MIT"
] | null | null | null | #include "netlist_test_utils.h"
#include "hal_core/netlist/event_system/net_event_handler.h"
namespace hal {
using test_utils::MIN_GATE_ID;
using test_utils::MIN_NET_ID;
using test_utils::MIN_MODULE_ID;
using test_utils::MIN_NETLIST_ID;
class NetTest : public ::testing::Test {
protected:
... | 45.904348 | 132 | 0.564375 | [
"vector"
] |
9ec7a2fd71dc88a100d5aa2e707b1b74b3b128c8 | 16,710 | cpp | C++ | opt/nomad/src/Eval/Evaluator.cpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 31 | 2019-02-05T16:39:18.000Z | 2022-03-11T23:14:11.000Z | opt/nomad/src/Eval/Evaluator.cpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 20 | 2020-04-13T09:22:53.000Z | 2021-08-16T16:14:13.000Z | opt/nomad/src/Eval/Evaluator.cpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 6 | 2020-04-21T17:43:47.000Z | 2021-03-10T04:12:34.000Z | /*---------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */
/* */
/* NOMAD - Version 4 has been created by ... | 38.951049 | 129 | 0.524237 | [
"mesh",
"vector"
] |
9ecababb8517318d6ccd8bf33b333eba9f3d499b | 2,983 | hpp | C++ | src/ParallelAlgorithms/Interpolation/Events/Interpolate.hpp | Shabibti/spectre | 0fa0353e209ef2bc53100f7101bd05f12e812f5e | [
"MIT"
] | null | null | null | src/ParallelAlgorithms/Interpolation/Events/Interpolate.hpp | Shabibti/spectre | 0fa0353e209ef2bc53100f7101bd05f12e812f5e | [
"MIT"
] | null | null | null | src/ParallelAlgorithms/Interpolation/Events/Interpolate.hpp | Shabibti/spectre | 0fa0353e209ef2bc53100f7101bd05f12e812f5e | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <pup.h>
#include <string>
#include "Options/Options.hpp"
#include "Parallel/CharmPupable.hpp"
#include "ParallelAlgorithms/EventsAndTriggers/Event.hpp"
#include "ParallelAlgorithms/Interpolation/Interpolate... | 32.075269 | 80 | 0.720416 | [
"mesh"
] |
9ecbbd2d367f41d4c025968612608597c12b5781 | 8,885 | cpp | C++ | sdk/identity/azure-identity/src/client_certificate_credential.cpp | JinmingHu-MSFT/azure-sdk-for-cpp | 933486385a54a5a09a7444dbd823425f145ad75a | [
"MIT"
] | 1 | 2022-01-19T22:54:41.000Z | 2022-01-19T22:54:41.000Z | sdk/identity/azure-identity/src/client_certificate_credential.cpp | LarryOsterman/azure-sdk-for-cpp | d96216f50909a2bd39b555c9088f685bf0f7d6e6 | [
"MIT"
] | null | null | null | sdk/identity/azure-identity/src/client_certificate_credential.cpp | LarryOsterman/azure-sdk-for-cpp | d96216f50909a2bd39b555c9088f685bf0f7d6e6 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/identity/client_certificate_credential.hpp"
#include "private/token_credential_impl.hpp"
#include <azure/core/base64.hpp>
#include <azure/core/datetime.hpp>
#include <azure/core/uuid.hpp>
#include <chrono>
#... | 30.016892 | 102 | 0.598312 | [
"vector"
] |
19b084c57ad0ba1bf43f584993544260c6427b13 | 5,308 | cpp | C++ | src/ofxGFNet.cpp | mikiec84/ofxGFTensorflow | e5951f7a4b7668bfbb8da2fde190ad253dc293d4 | [
"Apache-2.0"
] | 25 | 2018-10-17T16:13:48.000Z | 2021-12-16T11:09:16.000Z | src/ofxGFNet.cpp | mikiec84/ofxGFTensorflow | e5951f7a4b7668bfbb8da2fde190ad253dc293d4 | [
"Apache-2.0"
] | null | null | null | src/ofxGFNet.cpp | mikiec84/ofxGFTensorflow | e5951f7a4b7668bfbb8da2fde190ad253dc293d4 | [
"Apache-2.0"
] | 5 | 2019-10-02T21:54:58.000Z | 2021-09-07T09:42:40.000Z | //
// Created by G.F. Duivesteijn on 08/10/2018.
//
#include "ofxGFNet.h"
gf::dnn::Net::Net() {
}
gf::dnn::Net::~Net() {
if (session != nullptr) {
session->Close();
}
delete session;
}
void gf::dnn::Net::readNet(const std::string &graph_file_name) {
tensorflow::GraphDef graph_def;
t... | 36.108844 | 140 | 0.638093 | [
"shape",
"vector"
] |
19b886103ef0a693c66a0135fe1b53f16dde088e | 3,142 | cpp | C++ | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Tree_Verticalorder_Traversal/Tree_Verticalorder_Traversal.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Tree_Verticalorder_Traversal/Tree_Verticalorder_Traversal.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | Algo_Ds_Notes-master/Algo_Ds_Notes-master/Tree_Verticalorder_Traversal/Tree_Verticalorder_Traversal.cpp | rajatenzyme/Coding-Journey- | 65a0570153b7e3393d78352e78fb2111223049f3 | [
"MIT"
] | null | null | null | /* Vertical Order Traversal of Binary Tree is a traversal in which all nodes that fall in the same vertical line are visited together, starting from the leftmost vertical line and ending at the rightmost vertical line. The horizontal distance is measured with root serving as reference, then we measure the left and righ... | 27.561404 | 353 | 0.560789 | [
"vector"
] |
19b9520687ceb637f29434dd4639a26ed6f4c00b | 11,385 | cpp | C++ | Ethereal/Private/Characters/Enemy/Boss/FrostCaptain.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 216 | 2016-08-28T18:22:06.000Z | 2022-03-22T09:08:15.000Z | Ethereal/Private/Characters/Enemy/Boss/FrostCaptain.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 1 | 2017-08-10T06:14:32.000Z | 2017-08-12T00:16:27.000Z | Ethereal/Private/Characters/Enemy/Boss/FrostCaptain.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 49 | 2016-08-28T18:22:31.000Z | 2022-02-23T16:22:37.000Z | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by... | 34.086826 | 202 | 0.726834 | [
"mesh",
"object"
] |
19bd0638b2ff7e2c41856194eda959578363083a | 6,014 | cpp | C++ | src/RESTAPI/RESTAPI_entity_handler.cpp | Telecominfraproject/wlan-cloud-owprov | 6d29c8e5ce6af7b4f4f4e4ad2a5332d78dc520aa | [
"BSD-3-Clause"
] | null | null | null | src/RESTAPI/RESTAPI_entity_handler.cpp | Telecominfraproject/wlan-cloud-owprov | 6d29c8e5ce6af7b4f4f4e4ad2a5332d78dc520aa | [
"BSD-3-Clause"
] | null | null | null | src/RESTAPI/RESTAPI_entity_handler.cpp | Telecominfraproject/wlan-cloud-owprov | 6d29c8e5ce6af7b4f4f4e4ad2a5332d78dc520aa | [
"BSD-3-Clause"
] | null | null | null | //
// License type: BSD 3-Clause License
// License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE
//
// Created by Stephane Bourque on 2021-03-04.
// Arilia Wireless Inc.
//
#include "RESTAPI_entity_handler.h"
#include "RESTObjects/RESTAPI_ProvObjects.h"
#include "RESTObjects... | 36.228916 | 155 | 0.622547 | [
"object"
] |
19c7590fbb57e3b38b89a559e9615efc3d334afd | 11,700 | cc | C++ | src/vnsw/agent/uve/agent_stats.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | 1 | 2015-11-08T07:28:10.000Z | 2015-11-08T07:28:10.000Z | src/vnsw/agent/uve/agent_stats.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/uve/agent_stats.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <net/if.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/genetlink.h>
#include <linux/if_tun.h>
#include <db/db.h>
#include <cmn/agent_cmn.h>
#include <oper/interface.h>
#include <oper/mirror_table.h>
#includ... | 34.411765 | 94 | 0.652821 | [
"object"
] |
19c904fd7c1367c2369bab553ceaa44e15ba10ef | 904 | cpp | C++ | Google/Problem1.cpp | sachanakshat/Competitive_Practice | 63170d87398bf5bd163febecdcfef8db21c632c7 | [
"MIT"
] | null | null | null | Google/Problem1.cpp | sachanakshat/Competitive_Practice | 63170d87398bf5bd163febecdcfef8db21c632c7 | [
"MIT"
] | null | null | null | Google/Problem1.cpp | sachanakshat/Competitive_Practice | 63170d87398bf5bd163febecdcfef8db21c632c7 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include <chrono>
using namespace std;
using namespace std::chrono;
void print(vector<int> vect)
{
cout<<"\n-------------------------------"<<endl;
for(int i=0; i<vect.size(); i++)
{
cout<<vect[i]<<" ";
}
c... | 22.6 | 74 | 0.493363 | [
"vector"
] |
19cef014e29f72adbab00aa2caf5ceb60cb543bd | 2,236 | cpp | C++ | STL/lambda/lambda_1.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 5 | 2019-09-17T09:12:15.000Z | 2021-05-29T10:54:39.000Z | STL/lambda/lambda_1.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | null | null | null | STL/lambda/lambda_1.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 2 | 2021-07-26T06:36:12.000Z | 2022-01-23T15:20:30.000Z | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
auto basiclambda = []{ cout << "hello from lambda" << endl; };
// 普通函数调用语法调用lambda 表达式
basiclambda();
// 接受参数的 lambda 表达式,如果不接受参数,可以使用空圆括号或忽略括号
auto parameters =
[](int value) { cout << "The value... | 26.619048 | 73 | 0.572451 | [
"vector"
] |
19d0e7839564da8b6d88f5880d9faf52b47a948e | 2,005 | hpp | C++ | src/day9.hpp | theShmoo/aoc2020 | b507c33b5ca47e0c73bd5c6b4ec9d2f087598028 | [
"Unlicense"
] | null | null | null | src/day9.hpp | theShmoo/aoc2020 | b507c33b5ca47e0c73bd5c6b4ec9d2f087598028 | [
"Unlicense"
] | null | null | null | src/day9.hpp | theShmoo/aoc2020 | b507c33b5ca47e0c73bd5c6b4ec9d2f087598028 | [
"Unlicense"
] | null | null | null | #pragma once
#include <deque>
#include "input_utils.hpp"
#include <range/v3/all.hpp>
template<size_t PreambleSize> struct preamble_finder
{
using preamble = std::array<int, PreambleSize>;
static auto find_pair(preamble &p, size_t ¤t_pos, const int num) -> bool
{
auto sorted{ p };
ranges::sort(sor... | 26.733333 | 80 | 0.595511 | [
"vector"
] |
19d338611969d34313aadae6c19f81052e9ebd29 | 29,887 | cpp | C++ | drivers/wdm/bda/samples/bdacapture/capture.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | drivers/wdm/bda/samples/bdacapture/capture.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | drivers/wdm/bda/samples/bdacapture/capture.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**************************************************************************
AVStream Simulated Hardware Sample
Copyright (c) 2001, Microsoft Corporation.
File:
capture.cpp
Abstract:
This file contains source for the video capture pin on the capture
filter. The... | 29.272282 | 92 | 0.508448 | [
"object"
] |
19d44b46472e6b48a8b5d2b116284fd0014c4fec | 3,578 | cpp | C++ | src/abstractops.cpp | KKimj/mlir-tv | 585b2cdfa76312e74eac875e09a38769e616e36d | [
"Apache-2.0"
] | null | null | null | src/abstractops.cpp | KKimj/mlir-tv | 585b2cdfa76312e74eac875e09a38769e616e36d | [
"Apache-2.0"
] | null | null | null | src/abstractops.cpp | KKimj/mlir-tv | 585b2cdfa76312e74eac875e09a38769e616e36d | [
"Apache-2.0"
] | null | null | null | #include "abstractops.h"
#include "smt.h"
#include "value.h"
#include <map>
using namespace smt;
using namespace std;
namespace {
// Abstract representation of fp constants.
map<double, Expr> fpconst_absrepr;
unsigned fpconst_absrepr_num;
// TODO: this must be properly set
// What we need to do is to statically find... | 26.503704 | 78 | 0.643656 | [
"vector"
] |
19d7e94a303cd40306b89e69ca5b72816c52bf5e | 70,579 | cpp | C++ | c++/tools/zenbu_upload.cpp | jessica-severin/ZENBU_2.11.1 | 694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7 | [
"Unlicense"
] | null | null | null | c++/tools/zenbu_upload.cpp | jessica-severin/ZENBU_2.11.1 | 694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7 | [
"Unlicense"
] | null | null | null | c++/tools/zenbu_upload.cpp | jessica-severin/ZENBU_2.11.1 | 694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7 | [
"Unlicense"
] | null | null | null | /* $Id: zenbu_upload.cpp,v 1.20 2017/01/05 08:51:27 severin Exp $ */
/****
NAME
zdxtools - DESCRIPTION of Object
DESCRIPTION
zdxtools is a ZENBU system command line tool to access and process data both
remotely on ZENBU federation servers and locally with ZDX file databases.
The API is designed to both e... | 37.44244 | 254 | 0.624208 | [
"object",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.