hexsha stringlengths 40 40 | size int64 22 2.4M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 260 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 78 | 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 260 | max_issues_repo_name stringlengths 5 109 | 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 260 | max_forks_repo_name stringlengths 5 109 | 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 22 2.4M | avg_line_length float64 5 169k | max_line_length int64 5 786k | alphanum_fraction float64 0.06 0.95 | matches listlengths 1 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5200a7b94d4fd2a7be8bf4be0fff62c8d97a8d36 | 1,230 | h | C | Classes/Base/SceneBase.h | 9chu/cocos2dx-sokoban | 92d8123453f7b285855ba7de24b44736996ae933 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 6 | 2015-10-24T15:08:50.000Z | 2019-02-08T02:14:35.000Z | Classes/Base/SceneBase.h | 9chu/cocos2dx-sokoban | 92d8123453f7b285855ba7de24b44736996ae933 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Classes/Base/SceneBase.h | 9chu/cocos2dx-sokoban | 92d8123453f7b285855ba7de24b44736996ae933 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*
* \file SceneBase.h
* \author chu
* \date 2015/10/11
*/
#pragma once
#include "../Common.h"
namespace sokoban
{
/// \brief 场景基类
/// \note 增加一些实用函数
class SceneBase :
public AutoInvokeInit<cocos2d::Scene>
{
private:
using TouchPair = std::pair<cocos2d::RefPtr<cocos2d::Touch>, ... | 27.954545 | 102 | 0.613821 | [
"vector"
] |
d599de59736c8d5e172bb1a5e51c754eb9fc3d0f | 4,737 | h | C | smb2/libsmb2-dcerpc.h | Serizao/libsmb2-go | 2c58843d7b3bbf22d67886a701c637d924bdf61d | [
"Apache-2.0"
] | null | null | null | smb2/libsmb2-dcerpc.h | Serizao/libsmb2-go | 2c58843d7b3bbf22d67886a701c637d924bdf61d | [
"Apache-2.0"
] | null | null | null | smb2/libsmb2-dcerpc.h | Serizao/libsmb2-go | 2c58843d7b3bbf22d67886a701c637d924bdf61d | [
"Apache-2.0"
] | null | null | null | /* -*- mode:c; tab-width:8; c-basic-offset:8; indent-tabs-mode:nil; -*- */
/*
Copyright (C) 2018 by Ronnie Sahlberg <ronniesahlberg@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software... | 38.201613 | 79 | 0.668355 | [
"object"
] |
d5a6eaeb6743ebecfb3021d8c1d29ab5eaedf875 | 647 | h | C | observer/model.h | yijiem/design-pattern-cpp | ec1e114f69af2a3cf28323a070f018744040226d | [
"MIT"
] | null | null | null | observer/model.h | yijiem/design-pattern-cpp | ec1e114f69af2a3cf28323a070f018744040226d | [
"MIT"
] | null | null | null | observer/model.h | yijiem/design-pattern-cpp | ec1e114f69af2a3cf28323a070f018744040226d | [
"MIT"
] | null | null | null | //
// Created by Yijie Ma on 1/29/17.
//
#ifndef DESIGN_PATTERN_CPP_MODEL_H
#define DESIGN_PATTERN_CPP_MODEL_H
#include <string>
#include "subject_interface.h"
//
// Model plugins SubjectInterface which implements pub/sub functions,
// it just need to define the message type and call notify at the right time
//
// ... | 20.21875 | 76 | 0.712519 | [
"model"
] |
d5b385ba277fa9fc5be87de0747f6c8361dc2166 | 545 | h | C | src/webserver.h | Tolmeros/ESPPlane | b87d818aaeb2395d65703fffbf706d76573af2bb | [
"MIT"
] | 4 | 2020-08-28T23:00:26.000Z | 2022-01-26T16:44:21.000Z | src/webserver.h | Tolmeros/ESPPlane | b87d818aaeb2395d65703fffbf706d76573af2bb | [
"MIT"
] | 1 | 2022-01-30T09:13:56.000Z | 2022-02-10T00:21:58.000Z | src/webserver.h | Tolmeros/ESPPlane | b87d818aaeb2395d65703fffbf706d76573af2bb | [
"MIT"
] | 3 | 2021-02-08T03:09:39.000Z | 2022-01-29T14:06:22.000Z | #include <ESP8266WebServer.h>
ESP8266WebServer server(80); // Create a webserver object that listens for HTTP request on port 80
void handleRoot() {
server.send(200, "text/plain", "Hola mundo!");
}
void handleNotFound() { // if the requested file or page doesn't exist, return a 404 not found error
serv... | 32.058824 | 104 | 0.647706 | [
"object"
] |
d5cb31a0e875b487602e268c0edb62ac36ecb6ce | 1,629 | h | C | src/game/src/states/editor/EditorState.h | walter-strazak/chimarrao-platformer | b7878b84324b8347c6ca8c20c5a6128b349fdc41 | [
"MIT"
] | 6 | 2021-04-20T10:32:29.000Z | 2021-06-05T11:48:56.000Z | src/game/src/states/editor/EditorState.h | walter-strazak/chimarrao-platformer | b7878b84324b8347c6ca8c20c5a6128b349fdc41 | [
"MIT"
] | 1 | 2021-05-18T21:00:12.000Z | 2021-06-02T07:59:03.000Z | src/game/src/states/editor/EditorState.h | walter-strazak/chimarrao-platformer | b7878b84324b8347c6ca8c20c5a6128b349fdc41 | [
"MIT"
] | 3 | 2020-09-12T08:54:04.000Z | 2021-04-17T11:16:36.000Z | #pragma once
#include <vector>
#include "ComponentOwnersManager.h"
#include "LayoutTile.h"
#include "State.h"
#include "TileMap.h"
#include "Timer.h"
#include "UIConfig.h"
#include "UIManager.h"
namespace game
{
class EditorStateUIConfigBuilder;
class EditorState : public State
{
public:
friend class EditorStat... | 32.58 | 104 | 0.726826 | [
"render",
"vector"
] |
d5f664f8714f3427a4db10980227ea8fec29275d | 3,981 | h | C | cc_code/src/hmm/hmm/generic-hmm.h | erisyon/whatprot | 176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c | [
"MIT"
] | null | null | null | cc_code/src/hmm/hmm/generic-hmm.h | erisyon/whatprot | 176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c | [
"MIT"
] | 1 | 2021-06-12T00:50:08.000Z | 2021-06-15T17:59:12.000Z | cc_code/src/hmm/hmm/generic-hmm.h | erisyon/whatprot | 176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c | [
"MIT"
] | 1 | 2021-06-11T19:34:43.000Z | 2021-06-11T19:34:43.000Z | /******************************************************************************\
* Author: Matthew Beauregard Smith *
* Affiliation: The University of Texas at Austin *
* Department: Oden Institute and Institute for Cellular and Molecular Biology... | 40.622449 | 80 | 0.563929 | [
"vector",
"model"
] |
4147cac2a22145e0d1f375dbe11ed3fde9b5359b | 3,319 | h | C | libshaderc_util/include/libshaderc_util/mutex.h | hbirchtree/shaderc | d7f7261c2273bd690275e5f6db3f08072ea03a0f | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | libshaderc_util/include/libshaderc_util/mutex.h | hbirchtree/shaderc | d7f7261c2273bd690275e5f6db3f08072ea03a0f | [
"Apache-2.0"
] | 907 | 2015-08-07T16:01:29.000Z | 2022-03-14T18:02:39.000Z | libshaderc_util/include/libshaderc_util/mutex.h | hbirchtree/shaderc | d7f7261c2273bd690275e5f6db3f08072ea03a0f | [
"Apache-2.0"
] | 344 | 2015-08-07T14:17:44.000Z | 2022-03-30T02:25:08.000Z | // Copyright 2015 The Shaderc Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 30.731481 | 80 | 0.736065 | [
"object"
] |
4152d152779b2ffa94682d5dc1517488e7f450c0 | 2,736 | h | C | chrome/browser/media/router/discovery/dial/device_description_fetcher.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/dial/device_description_fetcher.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/dial/device_description_fetcher.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DEVICE_DESCRIPTION_FETCHER_H_
#define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_DEVICE_DESCRIPTION... | 36 | 83 | 0.741594 | [
"object"
] |
41672e7a015ee6f9fb3bb8f5ee82b4d5b1822852 | 8,499 | h | C | src/esp/assets/managers/SceneAttributesManager.h | wkentaro/habitat-sim | f0e4a770196a2ea11557230977c4840b68b2e5cf | [
"MIT"
] | 1 | 2020-07-23T03:39:27.000Z | 2020-07-23T03:39:27.000Z | src/esp/assets/managers/SceneAttributesManager.h | Jthon/habitat-sim | 27b920f19c53c15818f6d3b320b50b8adcda4e11 | [
"MIT"
] | null | null | null | src/esp/assets/managers/SceneAttributesManager.h | Jthon/habitat-sim | 27b920f19c53c15818f6d3b320b50b8adcda4e11 | [
"MIT"
] | 1 | 2021-07-06T05:32:03.000Z | 2021-07-06T05:32:03.000Z | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#ifndef ESP_ASSETS_MANAGERS_SCENEATTRIBUTEMANAGER_H_
#define ESP_ASSETS_MANAGERS_SCENEATTRIBUTEMANAGER_H_
#include "AttributesManagerBase.h"... | 41.661765 | 80 | 0.743499 | [
"mesh",
"render",
"object"
] |
41693afbc264428fda38ab1140a1d032332c84a6 | 3,082 | h | C | src/Synet/Layers/HardSigmoidLayer.h | ermig1979/Synet | a6c8fc1b8931947f070bcbc0f597c6889501e168 | [
"MIT"
] | 111 | 2018-01-12T09:08:08.000Z | 2022-01-22T17:44:42.000Z | src/Synet/Layers/HardSigmoidLayer.h | ermig1979/Synet | a6c8fc1b8931947f070bcbc0f597c6889501e168 | [
"MIT"
] | 18 | 2018-04-08T09:38:16.000Z | 2022-02-16T10:14:11.000Z | src/Synet/Layers/HardSigmoidLayer.h | ermig1979/Synet | a6c8fc1b8931947f070bcbc0f597c6889501e168 | [
"MIT"
] | 26 | 2018-01-30T15:31:43.000Z | 2021-03-29T07:14:05.000Z | /*
* Synet Framework (http://github.com/ermig1979/Synet).
*
* Copyright (c) 2018-2021 Yermalayeu Ihar.
*
* 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 ... | 36.690476 | 136 | 0.640818 | [
"shape"
] |
416da5745b75be2cfbce467347f625c9963d5b31 | 4,164 | h | C | Userland/Libraries/LibTLS/Certificate.h | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | 2 | 2022-02-16T02:12:38.000Z | 2022-02-20T18:40:41.000Z | Userland/Libraries/LibTLS/Certificate.h | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibTLS/Certificate.h | densogiaichned/serenity | 99c0b895fed02949b528437d6b450d85befde7a5 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/ByteBuffer.h>
#include <AK/Forward.h>
#include <AK/Optional.h>
#include <AK/Singleton.h>
#include <AK/Types.h>
#include <LibCore/DateTime.h>
#include <LibCrypto/BigInt/UnsignedBigInteger.h>
#... | 28.520548 | 89 | 0.62536 | [
"vector"
] |
417197a999965734d8fbb2a79bbdd4c7077ec296 | 4,113 | h | C | tests/traversal.h | data-man/glob-cpp | 1aca32f9c4b4b3072a00defd400eaf9f77606bc2 | [
"Apache-2.0"
] | 7 | 2019-05-10T20:17:49.000Z | 2021-08-03T04:15:25.000Z | tests/traversal.h | data-man/glob-cpp | 1aca32f9c4b4b3072a00defd400eaf9f77606bc2 | [
"Apache-2.0"
] | 2 | 2021-08-03T04:13:36.000Z | 2022-02-05T20:16:30.000Z | tests/traversal.h | data-man/glob-cpp | 1aca32f9c4b4b3072a00defd400eaf9f77606bc2 | [
"Apache-2.0"
] | 2 | 2021-01-06T15:21:47.000Z | 2021-10-15T06:22:28.000Z | #ifndef GLOB_CPP_TRAVERSAL_H
#define GLOB_CPP_TRAVERSAL_H
#include<iostream>
#include "glob-cpp/glob.h"
namespace glob {
template<class charT>
class PrintTraversal: public AstVisitor<charT> {
public:
void Visit(AstNode<charT> *node) {
level_ = 0;
after_simple_ = false;
node->Accept(this);
}
void ... | 20.878173 | 68 | 0.571116 | [
"vector"
] |
417ab75810750cd2f3a9e79f6635a4887a27cae0 | 4,496 | h | C | include/SafeDynMemAlloc.h | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | 5 | 2015-07-23T09:47:12.000Z | 2019-11-28T01:34:01.000Z | include/SafeDynMemAlloc.h | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | null | null | null | include/SafeDynMemAlloc.h | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | 3 | 2015-10-28T18:21:02.000Z | 2019-05-06T18:35:41.000Z | //===- SafeDynMemAlloc.h - CZero passes -----------------*- C++ -*---------=//
//
// The SAFECode Compiler
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===-------------... | 32.817518 | 114 | 0.661922 | [
"vector"
] |
41806c6a323059326cc767aa29adc36cac0fc0ba | 1,135 | h | C | include/Astar.h | zzjkf2009/Acme-Robotics-Project | 3864a3428f87e3d5245d08eeeca35aedcc63ab04 | [
"MIT"
] | null | null | null | include/Astar.h | zzjkf2009/Acme-Robotics-Project | 3864a3428f87e3d5245d08eeeca35aedcc63ab04 | [
"MIT"
] | null | null | null | include/Astar.h | zzjkf2009/Acme-Robotics-Project | 3864a3428f87e3d5245d08eeeca35aedcc63ab04 | [
"MIT"
] | null | null | null | /**
*@file WeightedAstar.h
*@Copyright (C) 2017 Zejiang Zeng - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the MIT license, please visit :
https://github.com/zzjkf2009/Acme-Robotics-Project/blob/master/LICENSE
*@brief This header define the <Astar> calss, which is an algorit... | 27.02381 | 77 | 0.719824 | [
"vector"
] |
4195bc0ffec3be370a72bfa65b48686d1a6146bc | 3,227 | h | C | rcgen/cpp/model_constants.h | kmarkus/ublx-ur5_sim | 51efa12446a7ef9ab5e3e783ce2a6409a3db390f | [
"BSD-3-Clause"
] | 1 | 2020-11-07T11:39:31.000Z | 2020-11-07T11:39:31.000Z | rcgen/cpp/model_constants.h | kmarkus/ublx-ur5_sim | 51efa12446a7ef9ab5e3e783ce2a6409a3db390f | [
"BSD-3-Clause"
] | 1 | 2020-11-10T16:03:37.000Z | 2020-11-10T16:03:37.000Z | rcgen/cpp/model_constants.h | kmarkus/ublx-ur5_sim | 51efa12446a7ef9ab5e3e783ce2a6409a3db390f | [
"BSD-3-Clause"
] | 1 | 2020-11-07T10:57:43.000Z | 2020-11-07T10:57:43.000Z | #ifndef RCG_UR5_MODEL_CONSTANTS_H_
#define RCG_UR5_MODEL_CONSTANTS_H_
#include "rbd_types.h"
/**
* \file
* This file contains the definitions of all the non-zero numerical
* constants of the robot model (i.e. the numbers appearing in the
* .kindsl file).
*
* Varying these values (and recompiling) is a quick & d... | 38.879518 | 67 | 0.809111 | [
"model"
] |
419c651093e87466905ddc58b197ad7eaf8ecc6d | 2,318 | c | C | kungfu/skill/shenghuo-shengong.c | zhangyifei/mud | b2090bbd2a8d3d82b86148d794a7ca59cd2429f3 | [
"MIT"
] | 69 | 2018-03-08T18:24:44.000Z | 2022-02-24T13:43:53.000Z | kungfu/skill/shenghuo-shengong.c | zhangyifei/mud | b2090bbd2a8d3d82b86148d794a7ca59cd2429f3 | [
"MIT"
] | 3 | 2019-04-24T12:21:19.000Z | 2021-03-28T23:34:58.000Z | kungfu/skill/shenghuo-shengong.c | zhangyifei/mud | b2090bbd2a8d3d82b86148d794a7ca59cd2429f3 | [
"MIT"
] | 33 | 2017-12-23T05:06:58.000Z | 2021-08-16T02:42:59.000Z |
inherit FORCE;
#include <ansi.h>
int valid_enable(string usage)
{
return usage == "force";
}
int query_neili_improve(object me)
{
int lvl;
lvl = (int)me->query_skill("shenghuo-shengong", 1);
return lvl * lvl * 15 * 16 / 100 / 200;
}
int valid_force(string force)
{
return (force == "shenghuo-xin... | 24.924731 | 68 | 0.580242 | [
"object"
] |
41a6d5373812949da21d98b052f45fa339476e28 | 4,396 | c | C | libvirt/pileus-libvirt-1.2.12/tools/virsh-edit.c | SIIS-cloud/pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | 3 | 2017-09-22T15:10:01.000Z | 2018-03-30T02:11:54.000Z | libvirt/pileus-libvirt-1.2.12/tools/virsh-edit.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | libvirt/pileus-libvirt-1.2.12/tools/virsh-edit.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | /*
* virsh-edit.c: Implementation of generic virsh *-edit intelligence
*
* Copyright (C) 2012 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 ... | 28.36129 | 84 | 0.634213 | [
"object"
] |
84b18a526c79aaf7fae1082aef86cf854a2ad86b | 64,838 | c | C | gempak/source/programs/gui/nmap2/nmap_dsp.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 42 | 2015-06-03T15:26:21.000Z | 2022-02-28T22:36:03.000Z | gempak/source/programs/gui/nmap2/nmap_dsp.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 60 | 2015-05-11T21:36:08.000Z | 2022-03-29T16:22:42.000Z | gempak/source/programs/gui/nmap2/nmap_dsp.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 27 | 2016-06-06T21:55:14.000Z | 2022-03-18T18:23:28.000Z | #include "geminc.h"
#include "gemprm.h"
#include "nmapprm.h"
#include "nmap_data.h"
#include "nmap_mainw.h"
#include "Nxm.h"
#define LOGO_SMALL_OFFSET ( 0.10F )
#define LOGO_LARGE_OFFSET ( 0.15F )
static char _transferInterrupt = 0;
static int _ifnt = 1;
static int _ihwsw = 2;
static int _ibrdr = 11... | 33.097499 | 79 | 0.437799 | [
"model"
] |
84c1d00ff8c61e92bceff7cab626cd426afa0964 | 1,455 | h | C | include/orchid/common/stack_array.h | funrunskypalace/greatwall_memory_trading_libs | d01931e3a85a352f644a9cef5f7f5f569fd7aed7 | [
"Apache-2.0"
] | null | null | null | include/orchid/common/stack_array.h | funrunskypalace/greatwall_memory_trading_libs | d01931e3a85a352f644a9cef5f7f5f569fd7aed7 | [
"Apache-2.0"
] | null | null | null | include/orchid/common/stack_array.h | funrunskypalace/greatwall_memory_trading_libs | d01931e3a85a352f644a9cef5f7f5f569fd7aed7 | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifdef WIN32
#include <malloc.h>
#else
#include <alloca.h>
#endif
#include <cstddef>
#include "orchid/common/assert.h"
namespace orchid
{
// This macro is intended to be used as a replacement for variable-length
// arrays. Note that the StackArray wrapper object will be destructed and each
// element... | 22.734375 | 80 | 0.612371 | [
"object"
] |
84c99842e1f13bad4a1a594993d4716b650f420a | 1,547 | h | C | src/types/extra/iter.h | fy0/python_lite | f59850b6093ec8260d96302af25c2bc3bdababc9 | [
"Zlib"
] | 91 | 2016-05-12T21:10:13.000Z | 2022-03-29T14:20:36.000Z | src/types/extra/iter.h | fy0/python_lite | f59850b6093ec8260d96302af25c2bc3bdababc9 | [
"Zlib"
] | 1 | 2017-01-11T23:17:43.000Z | 2021-11-17T05:30:23.000Z | src/types/extra/iter.h | fy0/python_lite | f59850b6093ec8260d96302af25c2bc3bdababc9 | [
"Zlib"
] | 5 | 2017-01-02T12:23:34.000Z | 2022-03-29T14:20:41.000Z |
#ifndef PYLITE_TYPES_ITER_H
#define PYLITE_TYPES_ITER_H
#include "../object.h"
// Common Iterator
typedef struct PyLiteIterObject {
PyLiteObject_HEAD;
PyLiteObject *base;
PyLiteIterFunc iter_func;
union {
struct {
pl_int_t count;
pl_int_t index;
} array;
... | 36.833333 | 89 | 0.777634 | [
"object"
] |
84cd834eb2ddeb97ec5d7e5215d640fc96b1a600 | 1,649 | h | C | Areas/NewbieIsle/Mansion/o/def.h | yodakingdoms/kingdoms | 831b74ba4a086de69cce213ad2398f646c3efb39 | [
"MIT"
] | null | null | null | Areas/NewbieIsle/Mansion/o/def.h | yodakingdoms/kingdoms | 831b74ba4a086de69cce213ad2398f646c3efb39 | [
"MIT"
] | null | null | null | Areas/NewbieIsle/Mansion/o/def.h | yodakingdoms/kingdoms | 831b74ba4a086de69cce213ad2398f646c3efb39 | [
"MIT"
] | null | null | null | //========================================================
// Definitions for Mansion domain.
//========================================================
// Standard mudlib includes
//--------------------------------------------------------
#include <macros.h>
#include <mudlib.h>
#include <sysdefs.h>
#include <levels.h>... | 38.348837 | 66 | 0.46513 | [
"object"
] |
170b6d8b5e90723dd59436ce8553f28e23824db6 | 588 | h | C | src/ListenerComponent.h | NoVariableGlobal/global-engine | b682dccbae6c5a4794e94960dfeb220addfe7773 | [
"MIT"
] | null | null | null | src/ListenerComponent.h | NoVariableGlobal/global-engine | b682dccbae6c5a4794e94960dfeb220addfe7773 | [
"MIT"
] | 3 | 2020-03-09T21:34:04.000Z | 2021-03-28T17:30:31.000Z | src/ListenerComponent.h | NoVariableGlobal/one-thousand-years | b682dccbae6c5a4794e94960dfeb220addfe7773 | [
"MIT"
] | 3 | 2020-08-15T06:33:32.000Z | 2021-03-28T14:23:31.000Z | #pragma once
#include "Component.h"
namespace Ogre {
struct FrameEvent;
}
// Abstract subcomponent from which every input component should inherit
class ListenerComponent : public Component {
public:
// Destroys the ListenerComponent, setting itself as inactive and
// removing itself from the scene.
... | 28 | 80 | 0.731293 | [
"render"
] |
41c793fe1d1a339f4ed7b984c40c33c970b85fcf | 4,136 | h | C | Core/MAGESLAM/Source/Device/CameraCalibration.h | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 70 | 2020-05-07T03:09:09.000Z | 2022-02-11T01:04:54.000Z | Core/MAGESLAM/Source/Device/CameraCalibration.h | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 3 | 2020-06-01T00:34:01.000Z | 2020-10-08T07:43:32.000Z | Core/MAGESLAM/Source/Device/CameraCalibration.h | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 16 | 2020-05-07T03:09:13.000Z | 2022-03-31T15:36:49.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Data\Data.h"
#include "arcana\utils\serialization\serializable.h"
#include "arcana\type_traits.h"
#include "Serialization\cv_serialization.h"
#include <opencv2\core\types.hpp>
#include <array>
namespace mage
{
cla... | 45.450549 | 213 | 0.681093 | [
"vector"
] |
41c9005c5c4571337381e4950dac0ccaede1584e | 283 | c | C | mud/bin/fish.c | shentino/simud | 644b7d4f56bf8d4695442b8efcfd56e0a561fe21 | [
"Apache-2.0"
] | 3 | 2015-07-18T00:19:51.000Z | 2016-02-20T17:25:37.000Z | mud/bin/fish.c | shentino/simud | 644b7d4f56bf8d4695442b8efcfd56e0a561fe21 | [
"Apache-2.0"
] | 2 | 2021-03-04T19:24:03.000Z | 2021-03-08T10:17:34.000Z | mud/bin/fish.c | shentino/simud | 644b7d4f56bf8d4695442b8efcfd56e0a561fe21 | [
"Apache-2.0"
] | 2 | 2015-12-22T06:16:53.000Z | 2016-11-18T16:32:50.000Z | int main() {
object ob;
foreach( ob : all_inventory(environment(this_player())) ) {
if( ob->query_is_ocean() ) {
clone_object("/world/game/fishing")->move(this_player());
return 1;
}
}
notify_fail("You can't fish here.\n");
return 0;
}
| 20.214286 | 66 | 0.568905 | [
"object"
] |
41cb9346e9cfc7b9951cedb6dbd5c05522a0f480 | 8,496 | c | C | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshtls/tls_kt_RClientHello.c | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:01.000Z | 2022-03-19T06:38:01.000Z | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshtls/tls_kt_RClientHello.c | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | null | null | null | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshtls/tls_kt_RClientHello.c | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:03.000Z | 2022-03-19T06:38:03.000Z | /*
tls_kt_RClientHello.c
Copyright:
Copyright 2002-2007, SafeNet Inc. All rights reserved.
All rights reserved.
*/
#include "sshtlskextrans.h"
SshTlsTransStatus ssh_tls_trans_read_client_hello(
SshTlsProtocolState s, SshTlsHandshakeType type,
unsigned char *data, int data_len)
{
int sessid_len;... | 30.782609 | 78 | 0.581215 | [
"vector"
] |
41d7407f5eb8eef5d74f3e796920c70b0ff5aacc | 1,208 | h | C | src/region_utils.h | Zomega/transverse | 058b5dfc28a5ef1dab880f6112a27f2664725dff | [
"MIT"
] | null | null | null | src/region_utils.h | Zomega/transverse | 058b5dfc28a5ef1dab880f6112a27f2664725dff | [
"MIT"
] | null | null | null | src/region_utils.h | Zomega/transverse | 058b5dfc28a5ef1dab880f6112a27f2664725dff | [
"MIT"
] | null | null | null | // Copyright 2015 Will Oursler
#ifndef REGION_UTILS_H_
#define REGION_UTILS_H_
#include <iostream>
#include <vector>
#include "edge.h"
#include "region_graph.h"
#include "shape.h"
#include "predicate.h"
class RegionPrimativeMatchPredicate : public Predicate<Region> {
private:
RegionPrimative label;
public:
bo... | 28.093023 | 93 | 0.770695 | [
"shape",
"vector"
] |
41df4fc23ad5a7c8e43fa6bc0ade0fd3addb6f0f | 17,327 | h | C | core/src/postprocessing/parallel_fiber_estimation/parallel_fiber_estimation.h | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 17 | 2018-11-25T19:29:34.000Z | 2021-09-20T04:46:22.000Z | core/src/postprocessing/parallel_fiber_estimation/parallel_fiber_estimation.h | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 1 | 2020-11-12T15:15:58.000Z | 2020-12-29T15:29:24.000Z | core/src/postprocessing/parallel_fiber_estimation/parallel_fiber_estimation.h | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 4 | 2018-10-17T12:18:10.000Z | 2021-05-28T13:24:20.000Z | #pragma once
#include <Python.h> // has to be the first included header
#include <vector>
#include "function_space/function_space.h"
#include "postprocessing/streamline_tracer_base.h"
#include "interfaces/discretizable_in_time.h"
#include "interfaces/runnable.h"
#include "data_management/parallel_fiber_estimation.h"... | 71.896266 | 283 | 0.760028 | [
"mesh",
"object",
"vector",
"3d"
] |
41f2d6d8c61c6898495de0927d1a1e843342220e | 1,651 | h | C | YYOCFramework/Classes/CYUITVDSD_base.h | yanyanforest/YYOCFramework | 43279ecf2f1fe024e8c3a944e7f16308253ea31f | [
"MIT"
] | 1 | 2017-08-05T01:25:07.000Z | 2017-08-05T01:25:07.000Z | YYOCFramework/Classes/CYUITVDSD_base.h | yanyanforest/YYOCFramework | 43279ecf2f1fe024e8c3a944e7f16308253ea31f | [
"MIT"
] | null | null | null | YYOCFramework/Classes/CYUITVDSD_base.h | yanyanforest/YYOCFramework | 43279ecf2f1fe024e8c3a944e7f16308253ea31f | [
"MIT"
] | null | null | null | //
// CYUITVDSD_base.h
// KHMall
//
// Created by 198 on 16/5/21.
// Copyright © 2016年 198. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CYBlock.h"
#define kTableCellDataSourceId @"content"
#define kTableSectionDataSourceId @"header"
#define kTableSectionSystemTitleDataSourceId @"headerTitle"... | 43.447368 | 84 | 0.84676 | [
"object"
] |
51020d6397e8e48337fc72602c52753d99635b95 | 3,326 | c | C | lib/makeup_demo/examples/c/example.c | elixir-makeup/makeup_demo | dcb524d8b6b44885ac51486daffa62db3f7b413f | [
"Apache-2.0"
] | null | null | null | lib/makeup_demo/examples/c/example.c | elixir-makeup/makeup_demo | dcb524d8b6b44885ac51486daffa62db3f7b413f | [
"Apache-2.0"
] | null | null | null | lib/makeup_demo/examples/c/example.c | elixir-makeup/makeup_demo | dcb524d8b6b44885ac51486daffa62db3f7b413f | [
"Apache-2.0"
] | null | null | null | #include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "codegen.h"
#include "symboltable.h"
#include "stringbuffer.h"
extern void yyerror(char* msg);
static stringBuffer* staticVariableBuffer;
static stringBuffer* classInitBuffer;
static stringBuffer* currentMethodBuffer;
static stringBuffer* finishedMet... | 39.595238 | 108 | 0.718581 | [
"object"
] |
5103a6b7c6003c57e8d1097867a8598dc8706aae | 6,649 | c | C | examples/freertos/cifar10/src/model_runner/cifar10_task.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/freertos/cifar10/src/model_runner/cifar10_task.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/freertos/cifar10/src/model_runner/cifar10_task.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | // Copyright 2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <platform.h>
#include <xs1.h>
#include "FreeRTOS.h"
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fs_support.h"
#include "app_conf.h... | 29.95045 | 80 | 0.677846 | [
"model"
] |
510bfadb7e4e4e972feb93e911bc6d6f709313dd | 539 | h | C | Graph.h | Eason-Sun/Breadth-First-Search | 36164d87af48eacacece6f34cf1f6b9d9d2eab9b | [
"OLDAP-2.6"
] | null | null | null | Graph.h | Eason-Sun/Breadth-First-Search | 36164d87af48eacacece6f34cf1f6b9d9d2eab9b | [
"OLDAP-2.6"
] | null | null | null | Graph.h | Eason-Sun/Breadth-First-Search | 36164d87af48eacacece6f34cf1f6b9d9d2eab9b | [
"OLDAP-2.6"
] | null | null | null | #ifndef GRAPG_H
#define GRAPG_H
#include "Vertex.h"
#include <map>
#include <vector>
using namespace std;
class Graph {
private:
map<int, vector<int> > m;
vector<Vertex*> vertexVect;
int maxId;
public:
Graph(int);
void graphPrinter();
void setM(vector<int>);
void configVertexVect();
v... | 17.387097 | 37 | 0.690167 | [
"vector"
] |
5de8873a380e9f7ca0d25a062a0f1219666fccae | 202 | h | C | src/samples/game/ship.h | opala-studios/ck | dff23ff3912de114ef0c7ca57da6506f0a9bee51 | [
"Zlib"
] | 23 | 2020-02-23T23:20:22.000Z | 2021-12-30T16:09:23.000Z | src/samples/game/ship.h | opala-studios/ck | dff23ff3912de114ef0c7ca57da6506f0a9bee51 | [
"Zlib"
] | 3 | 2020-03-17T05:50:40.000Z | 2020-10-12T18:18:44.000Z | src/samples/game/ship.h | opala-studios/ck | dff23ff3912de114ef0c7ca57da6506f0a9bee51 | [
"Zlib"
] | 10 | 2020-03-02T15:07:32.000Z | 2022-01-29T03:34:55.000Z | #pragma once
#include "transform.h"
class Ship
{
public:
Ship();
void setTransform(const Vector3& position, float rotationAngle);
void draw();
private:
Transform m_transform;
};
| 10.1 | 68 | 0.668317 | [
"transform"
] |
5deb4c37a1d602b1c12089c8122df5c3cd990e90 | 23,779 | c | C | examples/common/common.c | iyocode/BHY2-Sensor-API | 5b26dc4802f500f75e1086c2a156e3ecf800560c | [
"BSD-3-Clause"
] | 10 | 2020-05-04T11:08:36.000Z | 2022-01-24T09:07:08.000Z | examples/common/common.c | iyocode/BHY2-Sensor-API | 5b26dc4802f500f75e1086c2a156e3ecf800560c | [
"BSD-3-Clause"
] | 2 | 2022-01-24T09:05:28.000Z | 2022-03-14T14:56:40.000Z | examples/common/common.c | iyocode/BHY2-Sensor-API | 5b26dc4802f500f75e1086c2a156e3ecf800560c | [
"BSD-3-Clause"
] | 3 | 2021-11-11T00:21:29.000Z | 2021-11-25T03:46:12.000Z | /**
* Copyright (c) 2020 Bosch Sensortec GmbH. All rights reserved.
*
* BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
... | 33.210894 | 117 | 0.548257 | [
"vector"
] |
5df1cd691282d4089f836e7f881b6406fe474d99 | 8,756 | c | C | MultiSource/Benchmarks/MallocBench/gs/gsmatrix.c | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 70 | 2019-01-15T03:03:55.000Z | 2022-03-28T02:16:13.000Z | MultiSource/Benchmarks/MallocBench/gs/gsmatrix.c | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 519 | 2020-09-15T07:40:51.000Z | 2022-03-31T20:51:15.000Z | MultiSource/Benchmarks/MallocBench/gs/gsmatrix.c | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 117 | 2020-06-24T13:11:04.000Z | 2022-03-23T15:44:23.000Z | /* Copyright (C) 1989, 1990 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.
This file is part of Ghostscript.
Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the conseque... | 29.782313 | 100 | 0.63328 | [
"transform"
] |
5df21e0880de4b8d323294f027d937ab324e3984 | 3,136 | h | C | lib/OTExtensionEncrypto/extern/ENCRYPTO_utils/src/ENCRYPTO_utils/parse_options.h | cryptobiu/libscapi | 49eee7aee9eb3544a7facb199d0a6e98097b058a | [
"MIT"
] | 160 | 2016-05-11T09:45:56.000Z | 2022-03-06T09:32:19.000Z | ABY/extern/OTExtension/extern/ENCRYPTO_utils/src/ENCRYPTO_utils/parse_options.h | encryptogroup/VASA | 828a6a7e07e5089b9185b677d6c5ae7fb97c7ec2 | [
"MIT"
] | 57 | 2016-12-26T07:02:12.000Z | 2022-03-06T16:34:31.000Z | ABY/extern/OTExtension/extern/ENCRYPTO_utils/src/ENCRYPTO_utils/parse_options.h | encryptogroup/VASA | 828a6a7e07e5089b9185b677d6c5ae7fb97c7ec2 | [
"MIT"
] | 67 | 2016-10-10T17:56:22.000Z | 2022-03-15T22:56:39.000Z | /**
\file parse_options.h
\author michael.zohner@ec-spride.de
\copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
Copyright (C) 2019 ENCRYPTO Group, TU Darmstadt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU ... | 40.727273 | 131 | 0.735969 | [
"vector"
] |
b9006690a995f1e9e18f2de3ba72faa8221d2836 | 2,358 | h | C | src/planner/planners/MatchVertexIndexSeekPlanner.h | critical27/nebula-graph | 04d00e779e860ed3ddb226c416c335a22acc1147 | [
"Apache-2.0"
] | null | null | null | src/planner/planners/MatchVertexIndexSeekPlanner.h | critical27/nebula-graph | 04d00e779e860ed3ddb226c416c335a22acc1147 | [
"Apache-2.0"
] | null | null | null | src/planner/planners/MatchVertexIndexSeekPlanner.h | critical27/nebula-graph | 04d00e779e860ed3ddb226c416c335a22acc1147 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef PLANNER_PLANNERS_MATCHVERTEXINDEXSEEKPLANNER_H_
#define PLANNER_PLANNERS_MATCHVERTEXINDEXSEEKPLANNER_H_
#includ... | 32.30137 | 95 | 0.588634 | [
"transform"
] |
b903f264b8f92e6b839004c460975b748f222e74 | 44,983 | c | C | netbsdsrc/sys/arch/pmax/pmax/machdep.c | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | netbsdsrc/sys/arch/pmax/pmax/machdep.c | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | netbsdsrc/sys/arch/pmax/pmax/machdep.c | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | /* $NetBSD: machdep.c,v 1.99 1997/10/18 19:48:02 mhitch Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* the Systems Programming Group of the Uni... | 24.797685 | 80 | 0.677634 | [
"object",
"vector",
"model"
] |
b93206fa965123de18a184b23965b56e0e56e6e6 | 1,226 | h | C | sources/main.h | sfztools/sfzfoo | 8344c7fd94a4a8b681014aa66cdd0f02d79b8731 | [
"BSD-2-Clause"
] | 3 | 2019-12-31T10:53:03.000Z | 2021-12-16T22:31:42.000Z | sources/main.h | sfztools/sfzfoo | 8344c7fd94a4a8b681014aa66cdd0f02d79b8731 | [
"BSD-2-Clause"
] | 1 | 2020-01-04T01:11:24.000Z | 2020-01-04T08:40:50.000Z | sources/main.h | sfztools/sfz-opcode-checker | 8344c7fd94a4a8b681014aa66cdd0f02d79b8731 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#ifndef _WIN32
#include <curl/curl.h>
#else
#include <windows.h>
#include <wininet.h>
#endif
#include <ghc/filesystem.hpp>
#include <vector>
#include <memory>
#include <unordered_set>
typedef std::vector<std::string> OpcodeNameList;
typedef std::unordered_set<std::string> OpcodeNameSet;
void displayHelp(... | 33.135135 | 100 | 0.76509 | [
"vector"
] |
b93365098237c379c41f172a8867516984b24bf4 | 4,443 | h | C | driver/chain.h | ipa-tys/canopen_old | 1d1a04d300b5ce7b69649e9e659a88a20dd5d131 | [
"MIT"
] | null | null | null | driver/chain.h | ipa-tys/canopen_old | 1d1a04d300b5ce7b69649e9e659a88a20dd5d131 | [
"MIT"
] | null | null | null | driver/chain.h | ipa-tys/canopen_old | 1d1a04d300b5ce7b69649e9e659a88a20dd5d131 | [
"MIT"
] | 1 | 2019-12-26T08:46:14.000Z | 2019-12-26T08:46:14.000Z | // Copyright (c) 2012 Fraunhofer Institute
// for Manufacturing Engineering and Automation (IPA)
// See the file license.txt for copying permission.
#ifndef CHAIN_H
#define CHAIN_H
#include <iostream>
#include <string>
#include <libpcan.h>
#include <cmath>
#include <map>
#include <queue>
#include <cassert>
#include <... | 27.596273 | 84 | 0.649786 | [
"vector"
] |
b935d41cc9ced255830f1ee2bd7998c6950f03c6 | 5,253 | h | C | trunk/projects/desktop/angsys/test/test.h | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | trunk/projects/desktop/angsys/test/test.h | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | trunk/projects/desktop/angsys/test/test.h | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | #pragma once
namespace ang
{
ang_declare_object(test);
ang_declare_object(camera);
ang_declare_object(object3D);
ang_declare_object(library);
namespace graphics
{
ang_declare_object(gl_context);
ang_declare_object(gl_resource);
ang_declare_object(gl_shaders);
ang_declare_object(gl_mesh);
ang_declare_o... | 27.941489 | 128 | 0.758614 | [
"mesh",
"vector",
"model"
] |
b93c820a79eebb20fe52cab17bcccce5d9aeb5e2 | 3,530 | h | C | examples/volcano/swapchain.h | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | 2 | 2019-08-16T13:33:28.000Z | 2020-08-12T21:48:24.000Z | examples/volcano/swapchain.h | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | null | null | null | examples/volcano/swapchain.h | djohansson/slang | 69227ad7d46b8741274c93a42a891d70458f2d45 | [
"MIT"
] | null | null | null | #pragma once
#include "device.h"
#include "frame.h"
#include "rendertarget.h"
#include "types.h"
#include "queue.h"
#include <memory>
template <GraphicsBackend B>
struct SwapchainConfiguration
{
Extent2d<B> extent = {};
SurfaceFormat<B> surfaceFormat = {};
PresentMode<B> presentMode = {};
uint8_t imageCount = 0;... | 33.301887 | 123 | 0.749292 | [
"vector"
] |
b9474a5344c690bc98515bd7be4e4e07b1ab479b | 8,999 | c | C | test/perftest/perftest.c | mwahlroos/libcoll-c | 801d1883f0a561c77b9bee6805266e4c313e6680 | [
"MIT"
] | 1 | 2021-02-13T14:35:12.000Z | 2021-02-13T14:35:12.000Z | test/perftest/perftest.c | mwahlroos/libcoll-c | 801d1883f0a561c77b9bee6805266e4c313e6680 | [
"MIT"
] | null | null | null | test/perftest/perftest.c | mwahlroos/libcoll-c | 801d1883f0a561c77b9bee6805266e4c313e6680 | [
"MIT"
] | null | null | null | /*
* Basic performance test code for libcoll.
*
* The purpose of these tests is mainly to have some basic facilities for
* evaluating whether e.g. optimizations or other changes made to the library
* code have an impact on the performance of basic operations on collections.
*
* They are not inteded as a full-fle... | 31.246528 | 106 | 0.610179 | [
"vector"
] |
b94ac613c032187b8a8a710a3b55a7eb35b11c3d | 17,287 | h | C | VecGeom/volumes/kernel/EllipticalConeImplementation.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-06-27T18:43:36.000Z | 2020-06-27T18:43:36.000Z | VecGeom/volumes/kernel/EllipticalConeImplementation.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | VecGeom/volumes/kernel/EllipticalConeImplementation.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // This file is part of VecGeom and is distributed under the
// conditions in the file LICENSE.txt in the top directory.
// For the full list of authors see CONTRIBUTORS.txt and `git log`.
/// This file implements the algorithms for EllipticalCone
/// @file volumes/kernel/EllipticalConeImplementation.h
/// @author Ram... | 44.439589 | 120 | 0.660323 | [
"vector",
"transform",
"solid"
] |
b94dd4ef8930457c441efad392b0491e9c080ffe | 1,763 | h | C | src/Regex.h | guluchen/Trau | ed474504041b3890833b2273361108c578f9d34d | [
"MIT"
] | 5 | 2017-07-06T16:11:56.000Z | 2018-08-06T06:02:20.000Z | src/Regex.h | guluchen/Trau | ed474504041b3890833b2273361108c578f9d34d | [
"MIT"
] | 4 | 2019-06-27T18:47:51.000Z | 2019-07-15T18:34:17.000Z | src/Regex.h | guluchen/Trau | ed474504041b3890833b2273361108c578f9d34d | [
"MIT"
] | 2 | 2018-09-12T03:36:41.000Z | 2019-03-27T02:30:29.000Z | /*
* regex.h
*
* Created on: Jan 31, 2017
* Author: diepbp
*/
#ifndef REGEX_H_
#define REGEX_H_
#include "Automaton.h"
#include "RegexState.h"
class RegEx {
public:
RegEx();
~RegEx();
bool Compile(std::string strRegEx);
bool Match(std::string strText);
bool MatchAll(std::string strText);
typedef st... | 23.506667 | 78 | 0.693137 | [
"vector"
] |
b95106347f03e19746b57495f626e7ff31b7ad5f | 2,654 | h | C | planning/mission_planning/mission_planner/include/mission_planner/mission_planner_base.h | betsyweilin/Pilot.Auto | 41946ba1f5b521d347581cb7bdaffe1e39a7ba33 | [
"Apache-2.0"
] | null | null | null | planning/mission_planning/mission_planner/include/mission_planner/mission_planner_base.h | betsyweilin/Pilot.Auto | 41946ba1f5b521d347581cb7bdaffe1e39a7ba33 | [
"Apache-2.0"
] | null | null | null | planning/mission_planning/mission_planner/include/mission_planner/mission_planner_base.h | betsyweilin/Pilot.Auto | 41946ba1f5b521d347581cb7bdaffe1e39a7ba33 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Autoware Foundation. 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 b... | 36.356164 | 102 | 0.788244 | [
"vector"
] |
b95635f1bdc64cbb2c821dd39070a937247e7fa7 | 4,093 | h | C | WinDBG/Exts/CodeAnalyzer/gdbplus/gdb-7.7/gdb/decode.h | QuincyWork/DebugExt | 95fbd81aad609ed41853b5d25129d2385f5593b2 | [
"MIT"
] | 1 | 2019-01-15T14:36:41.000Z | 2019-01-15T14:36:41.000Z | WinDBG/Exts/CodeAnalyzer/gdbplus/gdb-7.7/gdb/decode.h | QuincyWork/DebugExt | 95fbd81aad609ed41853b5d25129d2385f5593b2 | [
"MIT"
] | null | null | null | WinDBG/Exts/CodeAnalyzer/gdbplus/gdb-7.7/gdb/decode.h | QuincyWork/DebugExt | 95fbd81aad609ed41853b5d25129d2385f5593b2 | [
"MIT"
] | 1 | 2019-01-15T14:36:42.000Z | 2019-01-15T14:36:42.000Z | /*
* decode.h
*
* Created on: Aug 22, 2014
* Author: myan
*/
#ifndef DECODE_H_
#define DECODE_H_
#include "x_dep.h"
#include "x_type.h"
#include "opcode/i386.h"
/*
* types for decode function
*/
// Register index
#define RAX 0
#define RCX 1
#define RDX 2
#define RBX 3
#define RSP 4
#define RBP 5
#defin... | 22.005376 | 91 | 0.739311 | [
"vector"
] |
b95f29ab41cb8b2fa385dca65782ce93cdf28e0e | 3,532 | c | C | d/shadow/room/deep_echos/enter.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/shadow/room/deep_echos/enter.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/shadow/room/deep_echos/enter.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | //ce1
#include <std.h>
#include <rooms.h>
#include <daemons.h>
#include "deep_echo.h"
inherit ROOM;
void create(){
::create();
set_property("light",-1);
set_terrain(NAT_CAVE);
set_travel(RUTTED_TRACK);
set_name("On the ledge of a cliff.");
set_short("A very unstable ledge.");
set_long((:TO,"ldesc":))... | 34.970297 | 83 | 0.6141 | [
"object"
] |
b966520f7b4da7e2b5f8639f3fac68121d7d97e3 | 5,470 | c | C | student/student.c | weslse/SystemProgramming_HansungUni_2018 | 60d033af496f27759594600acde60c0d40737ae2 | [
"MIT"
] | null | null | null | student/student.c | weslse/SystemProgramming_HansungUni_2018 | 60d033af496f27759594600acde60c0d40737ae2 | [
"MIT"
] | null | null | null | student/student.c | weslse/SystemProgramming_HansungUni_2018 | 60d033af496f27759594600acde60c0d40737ae2 | [
"MIT"
] | null | null | null | #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct student
{
int rollno;
char name[50];
int p_marks, c_marks;
double per;
char grade;
}st;
int fd;
void write_student()
{
fd = open("student.dat", O_RDWR|O_CREAT, 0... | 22.887029 | 77 | 0.56691 | [
"3d"
] |
570aa1407e586f5b683cb88c949fe84a9793dd11 | 61,706 | c | C | ps4000a/ps4000aCon/ps4000aCon.c | stefanos1316/picosdk-c-examples | 56b174f7ad31f1a7195809dd576853e73dcc61c8 | [
"ISC"
] | 34 | 2018-01-27T03:29:31.000Z | 2022-03-22T00:13:58.000Z | ps4000a/ps4000aCon/ps4000aCon.c | stefanos1316/picosdk-c-examples | 56b174f7ad31f1a7195809dd576853e73dcc61c8 | [
"ISC"
] | 6 | 2017-12-14T13:56:31.000Z | 2019-04-17T11:00:15.000Z | ps4000a/ps4000aCon/ps4000aCon.c | stefanos1316/picosdk-c-examples | 56b174f7ad31f1a7195809dd576853e73dcc61c8 | [
"ISC"
] | 38 | 2017-05-16T08:47:10.000Z | 2021-06-07T18:53:34.000Z | /*******************************************************************************
*
* Filename: ps4000aCon.c
*
* Description:
* This is a console mode program that demonstrates how to use the
* PicoScope 4000 Series (ps4000a) driver API functions.
*
* Supported PicoScope models:
*
* PicoScope 4225 & 4425
... | 26.191002 | 182 | 0.620896 | [
"model"
] |
5719e23893361ff91d964aed74fb836b5d8d62f9 | 973 | h | C | dependencies/panda/Panda3D-1.10.0-x64/include/eggToObj.h | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | pandatool/src/objprogs/eggToObj.h | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | pandatool/src/objprogs/eggToObj.h | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | // Filename: eggToObj.h
// Created by: drose (25Feb12)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should hav... | 24.325 | 70 | 0.513875 | [
"3d"
] |
57249b1eb27a4a20de0b8d55d60c07eb023d32a1 | 12,297 | c | C | lib/pbio/platform/motors/settings.c | ysard/pybricks-micropython | 28c453a95230c4c36280fc6cd9674108b90c6f4c | [
"MIT"
] | null | null | null | lib/pbio/platform/motors/settings.c | ysard/pybricks-micropython | 28c453a95230c4c36280fc6cd9674108b90c6f4c | [
"MIT"
] | null | null | null | lib/pbio/platform/motors/settings.c | ysard/pybricks-micropython | 28c453a95230c4c36280fc6cd9674108b90c6f4c | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2018-2020 The Pybricks Authors
#include <pbio/control.h>
#include <pbio/observer.h>
#include <pbio/iodev.h>
#if PBDRV_CONFIG_NUM_MOTOR_CONTROLLER != 0
#if PBIO_CONFIG_CONTROL_MINIMAL
#define SCALE(value, scalar) ((int32_t)((val... | 37.836923 | 136 | 0.719769 | [
"model"
] |
5726834f1e3564c84b24b552f6b634346474e682 | 4,194 | h | C | src/m3/chains/dynamatics.h | ahoarau/m3meka | 237739f0266ce60aaa3013b0d2b22fc07b6374c4 | [
"MIT"
] | 1 | 2015-06-19T12:14:18.000Z | 2015-06-19T12:14:18.000Z | src/m3/chains/dynamatics.h | semeyerz/m3meka | 6e5d6b73ad3ebdd8429497923e601eae65d8b2fe | [
"MIT"
] | null | null | null | src/m3/chains/dynamatics.h | semeyerz/m3meka | 6e5d6b73ad3ebdd8429497923e601eae65d8b2fe | [
"MIT"
] | 2 | 2015-11-27T09:25:54.000Z | 2021-08-16T16:29:22.000Z | /*
M3 -- Meka Robotics Robot Components
Copyright (c) 2010 Meka Robotics
Author: edsinger@mekabot.com (Aaron Edsinger)
M3 is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, o... | 29.125 | 129 | 0.725083 | [
"vector"
] |
5728457ac13d9e22c37c2d89d0d5ef162092ff44 | 708 | h | C | fontObject.h | odiminox/PuzzleQuestPlanet | 18ebd14e85ecd8ecb7662075dc97b5ea4c8cbac9 | [
"Apache-2.0"
] | null | null | null | fontObject.h | odiminox/PuzzleQuestPlanet | 18ebd14e85ecd8ecb7662075dc97b5ea4c8cbac9 | [
"Apache-2.0"
] | null | null | null | fontObject.h | odiminox/PuzzleQuestPlanet | 18ebd14e85ecd8ecb7662075dc97b5ea4c8cbac9 | [
"Apache-2.0"
] | null | null | null | //
// fontObject.h
// oglApp
//
// Created by Simon Jordan on 10/02/2013.
// Copyright (c) 2013 Simon Jordan. All rights reserved.
//
#ifndef __oglApp__fontObject__
#define __oglApp__fontObject__
#include "GLKit/GLKit.h"
#include "OBJECT.h"
class fontObject : public OBJECT{
public:
private:
CGImageRef m... | 19.135135 | 57 | 0.707627 | [
"object"
] |
573472b82e0903f55a45307458fd3a507383dda6 | 56,477 | h | C | src/ExprLib/exprman.h | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | 6 | 2018-05-30T23:02:14.000Z | 2022-01-19T07:30:46.000Z | src/ExprLib/exprman.h | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | null | null | null | src/ExprLib/exprman.h | asminer/smart | 269747c4578b670e5c3973f93a1e6ec71d95be78 | [
"Apache-2.0"
] | 2 | 2018-07-13T18:53:27.000Z | 2021-04-12T17:54:02.000Z |
/**
This is a first step towards the ultimate goal of
a completely general, extensible expression library.
In such a library we will:
- Register every type
- Register every operation
- Register solution engine types
- Register solution engines
*/
#ifndef EXPRMAN_H
#define EXPRMAN_H
#include ".... | 35.83566 | 85 | 0.553765 | [
"shape",
"model"
] |
57524311b64e54b53c9135fbdc743fe68e75de0b | 10,095 | h | C | include/xspf/XspfProps.h | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | include/xspf/XspfProps.h | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | include/xspf/XspfProps.h | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | /*
* libxspf - XSPF playlist handling library
*
* Copyright (C) 2006-2008, Sebastian Pipping / Xiph.Org Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistrib... | 26.777188 | 107 | 0.68737 | [
"object"
] |
5765ba2c8262f051bd46daa4f77e6e46e79079e1 | 2,082 | h | C | src/common/system/udp_socket.h | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 1,821 | 2020-04-08T00:45:27.000Z | 2021-09-01T14:56:25.000Z | src/common/system/udp_socket.h | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 142 | 2020-04-09T06:23:46.000Z | 2021-08-24T06:02:12.000Z | src/common/system/udp_socket.h | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 105 | 2021-09-08T10:26:50.000Z | 2022-03-29T09:13:36.000Z | /*
* Copyright 2018- The Pixie Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 29.323944 | 95 | 0.713737 | [
"vector"
] |
57668052c66c893606aad1d977b1f683c2c77c52 | 1,317 | h | C | includes/CrossNetSystem/System/Net/Various.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | 2 | 2019-10-23T09:14:29.000Z | 2021-02-02T15:01:35.000Z | includes/CrossNetSystem/System/Net/Various.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | null | null | null | includes/CrossNetSystem/System/Net/Various.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | null | null | null | /*
* CrossNetSystem
* .NET API Copyrighted by Microsoft
*/
#ifndef __SYSTEM_NET_VARIOUS_H__
#define __SYSTEM_NET_VARIOUS_H__
#ifndef CN_NO_SYSTEM_NET_VARIOUS
#include "CrossNetRuntime/System/Object.h"
namespace System
{
namespace Net
{
/*
class EndPoint
{
public:
int g... | 21.241935 | 101 | 0.520121 | [
"object"
] |
576d1da3d7c94e1b99f8046614bdc38ea9562ed1 | 1,895 | h | C | Includes/Core/Emitter/ParticleEmitterSet3.h | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | 3 | 2020-04-15T13:41:16.000Z | 2020-12-29T11:23:59.000Z | Includes/Core/Emitter/ParticleEmitterSet3.h | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | null | null | null | Includes/Core/Emitter/ParticleEmitterSet3.h | utilForever/CubbyFlow-v1 | d85c136d8eaa91ecce456c3356c7e578dda5d5bd | [
"MIT"
] | null | null | null | /*************************************************************************
> File Name: ParticleEmitterSet3.h
> Project Name: CubbyFlow
> Author: Chan-Ho Chris Ohk
> Purpose: 3-D particle-based emitter set.
> Created Time: 2017/05/10
> Copyright (c) 2018, Chan-Ho Chris Ohk
**********************************************... | 27.071429 | 83 | 0.702375 | [
"vector"
] |
576fab266d0672dcd18977968430171ab76ebe90 | 3,929 | h | C | src/ring_buf.h | dimhoff/rf_pkt_drv | b3c8e2ebd9340e9a527dc8682671e6ebf146a93d | [
"BSD-3-Clause"
] | 1 | 2019-09-29T21:16:50.000Z | 2019-09-29T21:16:50.000Z | src/ring_buf.h | dimhoff/rf_pkt_drv | b3c8e2ebd9340e9a527dc8682671e6ebf146a93d | [
"BSD-3-Clause"
] | null | null | null | src/ring_buf.h | dimhoff/rf_pkt_drv | b3c8e2ebd9340e9a527dc8682671e6ebf146a93d | [
"BSD-3-Clause"
] | null | null | null | /**
* ring_buf.h - Byte based ring buffer
*
* Copyright (c) 2018, David Imhoff <dimhoff.devel@gmail.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 c... | 31.432 | 79 | 0.739119 | [
"object"
] |
57727e9f9f8e0521543341f4d08d6142a9ca231b | 417 | c | C | src/gdb/gdb-8.3/gdb/testsuite/gdb.base/huge.c | aps337/unum-sdk | 2de3ae625e474c5064f6a88b720ec2ffdcdefad9 | [
"Apache-2.0"
] | 31 | 2018-08-01T21:25:24.000Z | 2022-02-14T07:52:34.000Z | gdb/testsuite/gdb.base/huge.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | 40 | 2018-12-03T19:48:52.000Z | 2021-03-10T06:34:26.000Z | gdb/testsuite/gdb.base/huge.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | 20 | 2018-11-16T21:19:22.000Z | 2021-10-18T23:08:24.000Z | /*
* Test GDB's ability to read a very large data object from target memory.
*/
#include <string.h>
/* A value that will produce a target data object large enough to
crash GDB. 0x200000 is big enough on GNU/Linux, other systems may
need a larger number. */
#ifndef CRASH_GDB
#define CRASH_GDB 0x200000
#endif... | 19.857143 | 74 | 0.70024 | [
"object"
] |
577b0a27cd38c2997aefc755c21c36ef5472f120 | 712 | h | C | src/Pipeline.h | ryuichiueda/GlueLang | 7ad3e5b1d631d8482bb49c397abc6b2b3f38e249 | [
"MIT"
] | 40 | 2015-01-13T15:05:47.000Z | 2021-11-17T11:05:55.000Z | src/Pipeline.h | ryuichiueda/GlueLang | 7ad3e5b1d631d8482bb49c397abc6b2b3f38e249 | [
"MIT"
] | 13 | 2015-01-02T13:19:50.000Z | 2021-04-20T12:23:00.000Z | src/Pipeline.h | ryuichiueda/GlueLang | 7ad3e5b1d631d8482bb49c397abc6b2b3f38e249 | [
"MIT"
] | 3 | 2015-02-04T23:11:46.000Z | 2019-04-28T06:38:58.000Z | // Copyright 2014 Ryuichi Ueda
// Released under the MIT License.
#ifndef __PIPELINE_H_
#define __PIPELINE_H_
#include "Element.h"
#include <iostream>
#include <vector>
using namespace std;
class Element;
class Feeder;
class Environment;
class Arg;
class Executable;
class DefFile;
class DefStr;
class Where;
class Pi... | 17.8 | 60 | 0.748596 | [
"vector"
] |
577cea896e47db39b15a5a4a3ee5e05ef2bfaa34 | 867 | c | C | cmds/feats/b/_bladesong.c | guille-valencia/shadowgate | a5c63b535e50020b58435d6fbb5b4f60d8f25639 | [
"MIT"
] | 1 | 2021-06-10T00:35:51.000Z | 2021-06-10T00:35:51.000Z | cmds/feats/b/_bladesong.c | guille-valencia/shadowgate | a5c63b535e50020b58435d6fbb5b4f60d8f25639 | [
"MIT"
] | null | null | null | cmds/feats/b/_bladesong.c | guille-valencia/shadowgate | a5c63b535e50020b58435d6fbb5b4f60d8f25639 | [
"MIT"
] | null | null | null | #include <std.h>
#include <daemons.h>
#include <dirs.h>
inherit FEAT;
int MAX;
void create()
{
::create();
feat_type("permanent");
feat_category("Duelist");
feat_name("bladesong");
feat_desc("With this feat one learns how to use just one hand to channel their spells. The caster can use their spel... | 18.847826 | 242 | 0.642445 | [
"object"
] |
5798da3dd2c1ab26585f9a4751619f9f4ec11d86 | 1,916 | h | C | plugins/goose/src/pub/GooseMessageVisitor.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 1 | 2021-08-20T12:14:11.000Z | 2021-08-20T12:14:11.000Z | plugins/goose/src/pub/GooseMessageVisitor.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | 3 | 2021-06-16T19:25:23.000Z | 2021-09-02T14:39:10.000Z | plugins/goose/src/pub/GooseMessageVisitor.h | openenergysolutions/openfmb.adapters | 3c95b1c460a8967190bdd9ae16677a4e2a5d9861 | [
"Apache-2.0"
] | null | null | null | // SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc
//
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENFMB_ADAPTER_GOOSE_PUB_GOOSEMESSAGEVISITOR_H
#define OPENFMB_ADAPTER_GOOSE_PUB_GOOSEMESSAGEVISITOR_H
#include "goose-cpp/messages/IDatasetVisitor.h"
#include "pub/Mappings.h"
#include <functional>
namespace... | 37.568627 | 86 | 0.728601 | [
"vector"
] |
708a57dbd6859c864f8c77341eefe4ea75d3d8ac | 3,519 | h | C | libs/sge_core/src/sge_core/application/application.h | Alekssasho/sge_source | 2db4ae08f7b3434d32dd9767fe1136234cb70b83 | [
"MIT"
] | null | null | null | libs/sge_core/src/sge_core/application/application.h | Alekssasho/sge_source | 2db4ae08f7b3434d32dd9767fe1136234cb70b83 | [
"MIT"
] | null | null | null | libs/sge_core/src/sge_core/application/application.h | Alekssasho/sge_source | 2db4ae08f7b3434d32dd9767fe1136234cb70b83 | [
"MIT"
] | null | null | null | #pragma once
#include "input.h"
#include "sge_core/sgecore_api.h"
#include "sge_utils/sge_utils.h"
#include <map>
#include <string>
#include <vector>
namespace sge {
//-----------------------------------------------
// Events and Event data.
//-----------------------------------------------
/// An enum window messag... | 28.152 | 124 | 0.724638 | [
"vector"
] |
70970a853386fb3ed467a3bdf3ba51a443e992fa | 1,552 | h | C | RecoVertex/VertexTools/interface/DeterministicAnnealing.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/VertexTools/interface/DeterministicAnnealing.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/VertexTools/interface/DeterministicAnnealing.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef DeterministicAnnealing_H
#define DeterministicAnnealing_H
#include "RecoVertex/VertexTools/interface/AnnealingSchedule.h"
#include <vector>
class DeterministicAnnealing : public AnnealingSchedule {
public:
/**
* \class DeterministicAnnealing.
* A very simple class that returns the association probab... | 26.758621 | 95 | 0.676546 | [
"vector"
] |
709ee7f1f9f9918674d71bc67aa066f6c4a0b2e3 | 14,215 | h | C | src/utils/CLHEP/Vector/Vector/Rotation.h | lukaszgaza/winhacplusplus | 6f3c71a507ced4e3e8fff05d239478c823cdbbc6 | [
"MIT"
] | null | null | null | src/utils/CLHEP/Vector/Vector/Rotation.h | lukaszgaza/winhacplusplus | 6f3c71a507ced4e3e8fff05d239478c823cdbbc6 | [
"MIT"
] | null | null | null | src/utils/CLHEP/Vector/Vector/Rotation.h | lukaszgaza/winhacplusplus | 6f3c71a507ced4e3e8fff05d239478c823cdbbc6 | [
"MIT"
] | null | null | null | // -*- C++ -*-
// CLASSDOC OFF
// $Id: Rotation.h,v 1.3 2003/10/23 21:29:52 garren Exp $
// ---------------------------------------------------------------------------
// CLASSDOC ON
//
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
//
// This is the definition of the HepRotation class f... | 33.525943 | 80 | 0.667605 | [
"object",
"vector",
"transform"
] |
70a73ab50db108cdfd72b7a206bfb9dd4d9bf208 | 2,929 | h | C | reactions/src/MonteCarlo.h | PedroCarrilho/ReACT | 507866e9462ecf10c298fcd3e2c81249f32e7d50 | [
"MIT"
] | 3 | 2020-07-07T11:34:02.000Z | 2021-07-15T12:48:05.000Z | reactions/src/MonteCarlo.h | PedroCarrilho/ReACT | 507866e9462ecf10c298fcd3e2c81249f32e7d50 | [
"MIT"
] | 11 | 2020-05-29T16:26:06.000Z | 2022-02-07T08:59:52.000Z | reactions/src/MonteCarlo.h | PedroCarrilho/ReACT | 507866e9462ecf10c298fcd3e2c81249f32e7d50 | [
"MIT"
] | 1 | 2021-08-31T15:35:28.000Z | 2021-08-31T15:35:28.000Z | #ifndef MONTE_CARLO_H
#define MONTE_CARLO_H
#include <vector>
#define NBINS 128
#define DEFAULT_MAXEVAL 100000
#define DEFAULT_BATCHSIZE 1000
#define DEFAULT_EPSREL 1e-3
#define DEFAULT_EPSABS 1e-12
#define DEFAULT_NSTART 1000
#define DEFAULT_NINCREASE 1000
/* MonteCarloIntegral
*
* n-dimensional Monte-Carlo inte... | 29.585859 | 136 | 0.630932 | [
"vector"
] |
70aefc27d7a608e27022ea94cbacacda20af3ec9 | 9,638 | h | C | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/FixedVec3.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/FixedVec3.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/FixedVec3.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 35.304029 | 171 | 0.58591 | [
"vector"
] |
70affa5fe15e6e79507e15b1450ca3331a26f96a | 8,968 | c | C | src/debug.c | BenStigsen/blade | 119fd687b1e4969b657a9158c0d1d9715f3a104e | [
"MIT"
] | 46 | 2021-07-16T07:49:07.000Z | 2022-03-22T21:15:58.000Z | src/debug.c | BenStigsen/blade | 119fd687b1e4969b657a9158c0d1d9715f3a104e | [
"MIT"
] | 32 | 2021-08-30T12:24:36.000Z | 2022-03-07T18:08:57.000Z | src/debug.c | BenStigsen/blade | 119fd687b1e4969b657a9158c0d1d9715f3a104e | [
"MIT"
] | 13 | 2021-08-30T14:29:08.000Z | 2022-03-31T14:20:04.000Z | #include "debug.h"
#include "object.h"
#include "value.h"
#include <stdio.h>
void disassemble_blob(b_blob *blob, const char *name) {
printf("== %s ==\n", name);
for (int offset = 0; offset < blob->count;) {
offset = disassemble_instruction(blob, offset);
}
}
int simple_instruction(const char *name, int of... | 32.970588 | 77 | 0.657003 | [
"object"
] |
70b33a44e429eb85e98445c0ea5110c1a0fdfc45 | 626 | h | C | example/DetectPortsUDP/detectports.h | jef42/pcapwrapper | 6e5356fabfe2e49f96fdbd8bfbb0f8555e497969 | [
"MIT"
] | 6 | 2017-08-07T09:22:34.000Z | 2019-05-11T09:11:45.000Z | example/DetectPortsUDP/detectports.h | jef42/pcapwrapper | 6e5356fabfe2e49f96fdbd8bfbb0f8555e497969 | [
"MIT"
] | null | null | null | example/DetectPortsUDP/detectports.h | jef42/pcapwrapper | 6e5356fabfe2e49f96fdbd8bfbb0f8555e497969 | [
"MIT"
] | 2 | 2018-05-15T23:28:43.000Z | 2021-11-13T09:53:40.000Z | #ifndef DETECTPORTS_H
#define DETECTPORTS_H
#include <string>
#include <vector>
#include <pcapwrapper/listeners/packagelistener.h>
#include <pcapwrapper/network/addresses/ipaddress.h>
#include <pcapwrapper/network/packages/icmppackage.h>
static const int MAX_PORT = 65000;
class DetectPorts : public PCAP::PackageLis... | 21.586207 | 69 | 0.752396 | [
"vector"
] |
70b63a435ab3b6effff6101d8cef0d385e04bef2 | 2,355 | h | C | src/ProceduralTexturesLibrary/include/babylon/proceduraltextureslibrary/starfield/starfield_procedural_texture_fragment_fx.h | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 277 | 2017-05-18T08:27:10.000Z | 2022-03-26T01:31:37.000Z | src/ProceduralTexturesLibrary/include/babylon/proceduraltextureslibrary/starfield/starfield_procedural_texture_fragment_fx.h | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 77 | 2017-09-03T15:35:02.000Z | 2022-03-28T18:47:20.000Z | src/ProceduralTexturesLibrary/include/babylon/proceduraltextureslibrary/starfield/starfield_procedural_texture_fragment_fx.h | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 37 | 2017-03-30T03:36:24.000Z | 2022-01-28T08:28:36.000Z | #ifndef BABYLON_PROCEDURAL_TEXTURES_LIBRARY_STARFIELD_STARFIELD_PROCEDURAL_TEXTURE_FRAGMENT_FX_H
#define BABYLON_PROCEDURAL_TEXTURES_LIBRARY_STARFIELD_STARFIELD_PROCEDURAL_TEXTURE_FRAGMENT_FX_H
namespace BABYLON {
extern const char* starfieldProceduralTexturePixelShader;
const char* starfieldProceduralTexturePixelS... | 29.4375 | 105 | 0.639915 | [
"render"
] |
70b653301b022a52a70fa82699ef61ab5a4f249f | 1,019 | h | C | assignment-client/src/audio/AudioMixerClientData.h | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | assignment-client/src/audio/AudioMixerClientData.h | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | assignment-client/src/audio/AudioMixerClientData.h | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | //
// AudioMixerClientData.h
// assignment-client/src/audio
//
// Created by Stephen Birarda on 10/18/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_AudioMix... | 26.815789 | 91 | 0.764475 | [
"vector"
] |
70b918eaafd0e520724a3efd7b650f9522755703 | 871 | h | C | Engine/Graphics/World/ShadowMapping.h | i0r/huisclos | 930c641ab64f1deff4c15a6e1617fc596cf8118f | [
"X11"
] | null | null | null | Engine/Graphics/World/ShadowMapping.h | i0r/huisclos | 930c641ab64f1deff4c15a6e1617fc596cf8118f | [
"X11"
] | null | null | null | Engine/Graphics/World/ShadowMapping.h | i0r/huisclos | 930c641ab64f1deff4c15a6e1617fc596cf8118f | [
"X11"
] | null | null | null | #pragma once
struct texture_t;
struct renderContext_t;
class TextureManager;
#include <Engine/Graphics/LightManager.h>
#include <Engine/Graphics/Mesh.h>
#include <Engine/Graphics/CBuffer.h>
class ShadowMapping
{
public:
ShadowMapping();
ShadowMapping( ShadowMapping& ) = delete;
~ShadowMapping() = default;
vo... | 22.921053 | 115 | 0.750861 | [
"mesh"
] |
70cd26b8fc1f8d480374ec642a4f7c6751d7bd3e | 4,827 | h | C | examples/ConstraintIB/falling_sphere/ForceProjector.h | akashdhruv/IBAMR | a2b47946d795fb5a40c181b43e44a6ec387585a9 | [
"BSD-3-Clause"
] | 264 | 2015-01-04T12:11:02.000Z | 2022-03-31T13:10:37.000Z | examples/ConstraintIB/falling_sphere/ForceProjector.h | syam-s/IBAMR | b6502f2f818835961d103fd2a2827d9336e68640 | [
"BSD-3-Clause"
] | 1,057 | 2015-04-27T04:27:57.000Z | 2022-03-31T13:14:59.000Z | examples/ConstraintIB/falling_sphere/ForceProjector.h | drwells/IBAMR | 0ceda3873405a35da4888c99e7d2b24d132f9071 | [
"BSD-3-Clause"
] | 126 | 2015-02-13T15:36:02.000Z | 2022-03-27T21:59:50.000Z | // ---------------------------------------------------------------------
//
// Copyright (c) 2016 - 2019 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... | 27.117978 | 117 | 0.635384 | [
"mesh",
"object",
"vector"
] |
70d3c6882901649527d07ddb383ae3d0952281d9 | 968 | h | C | Absorption.h | NadjaLessing/OscProb | 78c0576fe942167d63dab1e4c0a386c5424ab62a | [
"MIT"
] | 11 | 2017-06-13T15:51:29.000Z | 2021-05-21T13:10:08.000Z | Absorption.h | NadjaLessing/OscProb | 78c0576fe942167d63dab1e4c0a386c5424ab62a | [
"MIT"
] | 5 | 2017-09-29T05:03:22.000Z | 2022-02-25T12:03:57.000Z | Absorption.h | NadjaLessing/OscProb | 78c0576fe942167d63dab1e4c0a386c5424ab62a | [
"MIT"
] | 13 | 2017-12-20T14:36:52.000Z | 2022-03-16T13:56:53.000Z | //#ifndef Absorption
//#define Absorption
#include "NuPath.h"
#include <vector>
#include <numeric>
#include <iterator>
#include <iostream>
namespace OscProb {
class Absorption{
public:
Absorption();
virtual ~Absorption();
//virtual double Trans(int flvi, double E);
virtual double Trans(double ... | 27.657143 | 89 | 0.640496 | [
"vector"
] |
70d8b5da20f8f17670608f5b38f2b0da8d47378a | 266,516 | c | C | eurasia/tools/intern/usc2/groupinst.c | shaqfu786/GFX_Linux_DDK | f184ac914561fa100a5c92a488df777de8785f93 | [
"FSFAP"
] | 3 | 2020-03-13T23:37:00.000Z | 2021-09-03T06:34:04.000Z | eurasia/tools/intern/usc2/groupinst.c | zzpianoman/GFX_Linux_DDK | f184ac914561fa100a5c92a488df777de8785f93 | [
"FSFAP"
] | null | null | null | eurasia/tools/intern/usc2/groupinst.c | zzpianoman/GFX_Linux_DDK | f184ac914561fa100a5c92a488df777de8785f93 | [
"FSFAP"
] | 6 | 2015-02-05T03:01:01.000Z | 2021-07-24T01:07:18.000Z | /******************************************************************************
* Name : groupinst.c
* Title : Instruction grouping and other MOE setup
* Created : May 2005
*
* Copyright : 2002-2007 by Imagination Technologies Limited.
* : All rights reserved. No part of this s... | 27.698607 | 140 | 0.66064 | [
"vector",
"model"
] |
70e1a024eab1b93bf51f1a2eda088f64da70af46 | 1,622 | c | C | obj_process_face_get_type.c | tac4ttack/simpleOBJ | 7aaaa2424ca04d5cf8502cb849392fb7ddff2659 | [
"Unlicense"
] | null | null | null | obj_process_face_get_type.c | tac4ttack/simpleOBJ | 7aaaa2424ca04d5cf8502cb849392fb7ddff2659 | [
"Unlicense"
] | 1 | 2019-11-01T09:10:33.000Z | 2019-11-01T09:10:33.000Z | obj_process_face_get_type.c | tac4ttack/simpleOBJ | 7aaaa2424ca04d5cf8502cb849392fb7ddff2659 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* obj_process_face_get_type.c :+: :+: :+: ... | 30.037037 | 80 | 0.339088 | [
"mesh"
] |
70e53df6de7b31b42e84b4daf0c1ef5d4726549a | 18,388 | c | C | hw/mcu/nxp/mcux-sdk/components/slcd_engine/GDH-1247WP/GDH-1247WP.c | bm16ton/portenta-tinyusb | 472ccb5bd6da5c3cf55210c28df72667c825152a | [
"MIT"
] | 175 | 2021-01-19T17:11:01.000Z | 2022-03-31T06:04:43.000Z | components/slcd_engine/GDH-1247WP/GDH-1247WP.c | tannewt/mcux-sdk | 1f15787b0abb7886f24434297cd293cf16ad04ab | [
"Apache-2.0"
] | 69 | 2021-01-27T08:18:51.000Z | 2022-03-29T12:16:57.000Z | components/slcd_engine/GDH-1247WP/GDH-1247WP.c | tannewt/mcux-sdk | 1f15787b0abb7886f24434297cd293cf16ad04ab | [
"Apache-2.0"
] | 72 | 2021-01-19T14:34:20.000Z | 2022-03-21T09:02:18.000Z | /*
* Copyright 2019-2020 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
printed number only for pin map
id01: xx 14D 14E 14C 14G 14F 14B 14A
id02: xx 13D 13E 13C 13G 13F 13B 13A
id03: xx 12D 12E 12C 12G 12F 12B 12A
id04: xx 11D 11E 11C 11G 11F 11B 11A
id05: xx 10D 10E 10C 10G 10F 10B 10A
id06: 15D 15E... | 18.744139 | 103 | 0.657548 | [
"3d"
] |
cb0e49a4104c64216aa6b3337d9293b5de1e2698 | 9,215 | h | C | amd_tressfx_sample/prebuilt/include/ObjectManager/include/SuObjectManager.h | kostenickj/TressFX | 9a9a1008fbcc9cc71a6b08331a75bed81c2119ac | [
"MIT"
] | 1 | 2020-07-20T19:07:05.000Z | 2020-07-20T19:07:05.000Z | amd_tressfx_sample/prebuilt/include/ObjectManager/include/SuObjectManager.h | kostenickj/TressFX | 9a9a1008fbcc9cc71a6b08331a75bed81c2119ac | [
"MIT"
] | null | null | null | amd_tressfx_sample/prebuilt/include/ObjectManager/include/SuObjectManager.h | kostenickj/TressFX | 9a9a1008fbcc9cc71a6b08331a75bed81c2119ac | [
"MIT"
] | null | null | null | //
// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 rig... | 40.955556 | 141 | 0.720998 | [
"object",
"model"
] |
cb10fa45d30b02c53e97e25bd446b38685336266 | 1,191 | h | C | Homeworks/2_ImageWarping/project/src/App/ImageWidget.h | Chengyu-Cui/USTC_CG | 7320243d0826b7fee16d91ee26bbb1b371652b16 | [
"MIT"
] | null | null | null | Homeworks/2_ImageWarping/project/src/App/ImageWidget.h | Chengyu-Cui/USTC_CG | 7320243d0826b7fee16d91ee26bbb1b371652b16 | [
"MIT"
] | null | null | null | Homeworks/2_ImageWarping/project/src/App/ImageWidget.h | Chengyu-Cui/USTC_CG | 7320243d0826b7fee16d91ee26bbb1b371652b16 | [
"MIT"
] | null | null | null | #pragma once
#include <QWidget>
#include<vector>
#include"IDW.h"
#include"RBF.h"
QT_BEGIN_NAMESPACE
class QImage;
class QPainter;
QT_END_NAMESPACE
class ImageWidget :
public QWidget
{
Q_OBJECT
public:
ImageWidget(void);
~ImageWidget(void);
protected:
void paintEvent(QPaintEvent *paintevent);
public slots:
//... | 23.82 | 100 | 0.702771 | [
"vector"
] |
cb2d29e22f74c925907bd11417209f7644077f2b | 2,605 | h | C | xdl/test/data_io/op/feature_op/op_test_tool.h | Ru-Xiang/x-deeplearning | 04cc0497150920c64b06bb8c314ef89977a3427a | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | xdl/test/data_io/op/feature_op/op_test_tool.h | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | xdl/test/data_io/op/feature_op/op_test_tool.h | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /* Copyright (C) 2016-2018 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | 31.011905 | 83 | 0.618426 | [
"vector"
] |
cb2fd7ef78b3d9f5f27eaaff964bd9b39eef3c98 | 33,965 | h | C | ObitSystem/Obit/include/ObitSDMDataTypeDef.h | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | 5 | 2019-08-26T06:53:08.000Z | 2020-10-20T01:08:59.000Z | ObitSystem/Obit/include/ObitSDMDataTypeDef.h | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | null | null | null | ObitSystem/Obit/include/ObitSDMDataTypeDef.h | sarrvesh/Obit | e4ce6029e9beb2a8c0316ee81ea710b66b2b7986 | [
"Linux-OpenIB"
] | 8 | 2017-08-29T15:12:32.000Z | 2022-03-31T12:16:08.000Z | /* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2010-2019 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; This program is free software; you can redistribute it and/or */
/*; modify it un... | 26.106841 | 82 | 0.651995 | [
"model"
] |
cb369109ad9cc21d55dbe29f5433fce579916858 | 805 | h | C | Cala/src/Core/Utility/IterableVector.h | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | Cala/src/Core/Utility/IterableVector.h | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | Cala/src/Core/Utility/IterableVector.h | dominikcondric/Cala | 1393d5266b2d7e709a3a7aa0abcc7c0d86a4a810 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <vector>
#include <cassert>
namespace Cala {
template<typename T>
class IterableVector {
public:
using Iterator = typename std::vector<T>::iterator;
using ConstIterator = typename std::vector<T>::const_iterator;
public:
IterableVector(std::vector<T>& _vector) : vector(_vector) {}
~Ite... | 16.1 | 64 | 0.652174 | [
"vector"
] |
cb4b2d8d125a7e2bd91e5433a2cc61775f20df0e | 1,335 | h | C | sourcecode/Runtime/Manifest.h | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | 2 | 2021-11-16T20:58:02.000Z | 2021-12-05T18:15:41.000Z | sourcecode/Runtime/Manifest.h | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | sourcecode/Runtime/Manifest.h | fabianmuehlboeck/monnom | 609b307d9fa9e6641443f34dbcc0b035b34d3044 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | #pragma once
#include "VersionNumber.h"
#include <string>
#include <vector>
#include "LibraryDependency.h"
namespace Nom
{
namespace Runtime
{
struct ClassEntry
{
const std::string Name;
const std::string FileName;
ClassEntry(std::string&& name, std::string&& fileName) : Name(name), FileName(fileName)
... | 23.421053 | 151 | 0.706367 | [
"vector"
] |
cb4ea2a2d4f22dd2740fde1ba642c169d4d392cc | 5,571 | h | C | 3fd/rpc/rpc_impl_util.h | faburaya/3fd | 2fa0b57b9702902178c878fe3d317d55ec4cdc95 | [
"MS-PL"
] | 23 | 2017-04-23T08:32:55.000Z | 2022-02-21T00:13:29.000Z | 3fd/rpc/rpc_impl_util.h | faburaya/3fd | 2fa0b57b9702902178c878fe3d317d55ec4cdc95 | [
"MS-PL"
] | 3 | 2018-10-16T23:02:50.000Z | 2021-11-17T19:43:21.000Z | 3fd/rpc/rpc_impl_util.h | faburaya/3fd | 2fa0b57b9702902178c878fe3d317d55ec4cdc95 | [
"MS-PL"
] | 4 | 2018-08-01T13:24:41.000Z | 2021-06-11T20:59:52.000Z | #ifndef RPC_IMPL_UTIL_H // header guard
#define RPC_IMPL_UTIL_H
#include "rpc_helpers.h"
#include <memory>
#include <string>
#include <NtDsAPI.h>
#include <schannel.h>
#include <wincrypt.h>
namespace _3fd
{
using std::string;
namespace rpc
{
void ThrowIfError(RPC_STATUS status, const char *message);
void T... | 23.2125 | 94 | 0.588584 | [
"vector"
] |
cb5678591a826ad0ec6220aa0f95ae09b8285d44 | 566 | h | C | Clowns' F8/Polarbear.h | cherry-glasses/Project-2-Game | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 1 | 2021-02-04T13:37:00.000Z | 2021-02-04T13:37:00.000Z | Clowns' F8/Polarbear.h | cherry-glasses/Project-2-Game | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 23 | 2019-04-03T08:49:08.000Z | 2019-05-25T14:04:44.000Z | Clowns' F8/Polarbear.h | cherry-glasses/Clowns-F8 | 9fcd27c4a0b56718be5fe6bc365299286cbf947b | [
"MIT"
] | 1 | 2019-02-25T22:49:46.000Z | 2019-02-25T22:49:46.000Z | #ifndef _Polarbear_H__
#define _Polarbear_H__
#include "Enemy.h"
#include "Animation.h"
class Polarbear : public Enemy
{
public:
Polarbear(ENTITY_TYPE _type, pugi::xml_node _config, int _copy);
// Destructor
~Polarbear();
//Move and Attack
void SearchWalk();
void Walk(const std::vector<std::pair<int, int>> *_... | 18.258065 | 65 | 0.717314 | [
"vector"
] |
cb58a59add24ea15aceff2066b8d2a9e96d2e353 | 3,042 | h | C | include/Red/Threading/Thread.h | OutOfTheVoid/ProjectRed | 801327283f5a302be130c90d593b39957c84cce5 | [
"MIT"
] | 1 | 2020-06-14T06:14:50.000Z | 2020-06-14T06:14:50.000Z | include/Red/Threading/Thread.h | OutOfTheVoid/ProjectRed | 801327283f5a302be130c90d593b39957c84cce5 | [
"MIT"
] | null | null | null | include/Red/Threading/Thread.h | OutOfTheVoid/ProjectRed | 801327283f5a302be130c90d593b39957c84cce5 | [
"MIT"
] | null | null | null | #ifndef RED_THREADING_THREAD_H
#define RED_THREADING_THREAD_H
#include <Red/Threading/Threading.h>
#include <Red/Threading/ThreadEvent.h>
#include <Red/Util/Function.h>
#include <Red/Events/IEventDispatcher.h>
#include <Red/Events/EventDispatcher.h>
#include <Red/Events/IEvent.h>
#include <thread>
#include <mutex>
... | 33.428571 | 349 | 0.694609 | [
"object"
] |
cb5bacafee44ae35af04b57f9267dc637468ad8a | 2,893 | h | C | lorgnette/sane_client_fake.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | lorgnette/sane_client_fake.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | lorgnette/sane_client_fake.h | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LORGNETTE_SANE_CLIENT_FAKE_H_
#define LORGNETTE_SANE_CLIENT_FAKE_H_
#include <cstdint>
#include <map>
#include <memory>
#include <string>
#inc... | 32.144444 | 77 | 0.712064 | [
"vector",
"model"
] |
cb5e3833a81f3b51cdd3797ad7f458c0e0e71f1f | 5,930 | c | C | mex/include/sisl-4.5.0/src/s1011.c | sangyoonHan/extern | a3c874538a7262b895b60d3c4d493e5b34cf81f8 | [
"BSD-2-Clause"
] | null | null | null | mex/include/sisl-4.5.0/src/s1011.c | sangyoonHan/extern | a3c874538a7262b895b60d3c4d493e5b34cf81f8 | [
"BSD-2-Clause"
] | null | null | null | mex/include/sisl-4.5.0/src/s1011.c | sangyoonHan/extern | a3c874538a7262b895b60d3c4d493e5b34cf81f8 | [
"BSD-2-Clause"
] | null | null | null | //===========================================================================
// SISL - SINTEF Spline Library, version 4.5.0.
// Definition and interrogation of NURBS curves and surfaces.
//
// Copyright (C) 2000-2005, 2010 SINTEF ICT, Applied Mathematics, Norway.
//
// This program is free software; you can redistrib... | 33.693182 | 79 | 0.48398 | [
"shape",
"vector"
] |
3b0c2387f0159daf102667cae67ab2900c068d54 | 347 | h | C | Cron/Source/Store.h | matthin/gemtracker | f1a5a06d58acae0979aab34fca935eee1a67a2ed | [
"MIT"
] | null | null | null | Cron/Source/Store.h | matthin/gemtracker | f1a5a06d58acae0979aab34fca935eee1a67a2ed | [
"MIT"
] | null | null | null | Cron/Source/Store.h | matthin/gemtracker | f1a5a06d58acae0979aab34fca935eee1a67a2ed | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <string>
#include <SQLiteCpp/Database.h>
#include "Client.h"
namespace GemTracker {
class Store {
public:
Store(const std::vector<std::string> gems);
private:
const std::vector<std::string> gems;
Client client;
SQLite::Database db;
void saveDailies();
};
... | 15.086957 | 47 | 0.685879 | [
"vector"
] |
3b10caf3d4a346b166ecac83aa0729748d7e2534 | 9,858 | h | C | src/third_party/mozjs/extract/js/src/vm/SharedArrayObject.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/extract/js/src/vm/SharedArrayObject.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/mozjs/extract/js/src/vm/SharedArrayObject.h | 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/. */
... | 35.978102 | 80 | 0.709475 | [
"object"
] |
3b29c5242c210ba72b30ade1b4dabfdc3fd16221 | 4,449 | c | C | src/pdf_parser.c | Masaiki/melon | 8ee7132d0decd0ae1596f4ed8eaebe51a1d4b3b3 | [
"Apache-2.0"
] | null | null | null | src/pdf_parser.c | Masaiki/melon | 8ee7132d0decd0ae1596f4ed8eaebe51a1d4b3b3 | [
"Apache-2.0"
] | null | null | null | src/pdf_parser.c | Masaiki/melon | 8ee7132d0decd0ae1596f4ed8eaebe51a1d4b3b3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifdef __linux__
#define _GNU_SOURCE
#endif /* __linux__ */
#include <stdlib.h>
#include <string.h>
#include "pdf.h"
static void *
_memmem_whitespace(const void *p0, size_t s0, const void *p1, size_t s1)
{
const ch... | 19.950673 | 84 | 0.552708 | [
"object"
] |
3b2d9532786cedbb794b1a515fce19115e4280da | 34,127 | h | C | LavaSDK.framework/Headers/LavaSDK-Swift.h | sharathshenoy/testLava | 4082ea9cebe8a719811bcd8b181ef6f6cd45f6e4 | [
"MIT"
] | null | null | null | LavaSDK.framework/Headers/LavaSDK-Swift.h | sharathshenoy/testLava | 4082ea9cebe8a719811bcd8b181ef6f6cd45f6e4 | [
"MIT"
] | null | null | null | LavaSDK.framework/Headers/LavaSDK-Swift.h | sharathshenoy/testLava | 4082ea9cebe8a719811bcd8b181ef6f6cd45f6e4 | [
"MIT"
] | null | null | null | // Generated by Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
#pragma clang diagnostic push
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#include <objc/NSObject.h>
#include <stdint.h>
#inc... | 40.339243 | 255 | 0.769391 | [
"object",
"model"
] |
3b345051d00775752158057b52868b410faed57f | 3,356 | h | C | RecoTracker/DebugTools/interface/GetTrackTrajInfo.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | RecoTracker/DebugTools/interface/GetTrackTrajInfo.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | RecoTracker/DebugTools/interface/GetTrackTrajInfo.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #ifndef RecoTracker_DebugTools_GetTrackTrajInfo_H
#define RecoTracker_DebugTools_GetTrackTrajInfo_H
/*
* Determine the track trajectory and detLayer at each layer that the track produces a hit in.
* This info can then be used to get the coordinates and momentum vector of the track at each of these
* layers etc.
*... | 40.926829 | 107 | 0.75298 | [
"vector"
] |
3b38b51d1134e34770e260aa1e001992854d3cbb | 3,974 | h | C | datapool/PIDReader.h | bl4ckic3/fsfw | c76fc8c703e19d917c45a25710b4642e5923c68a | [
"Apache-2.0"
] | null | null | null | datapool/PIDReader.h | bl4ckic3/fsfw | c76fc8c703e19d917c45a25710b4642e5923c68a | [
"Apache-2.0"
] | null | null | null | datapool/PIDReader.h | bl4ckic3/fsfw | c76fc8c703e19d917c45a25710b4642e5923c68a | [
"Apache-2.0"
] | null | null | null | #ifndef PIDREADER_H_
#define PIDREADER_H_
#include "DataPool.h"
#include "DataSetIF.h"
#include "PoolEntry.h"
#include "PoolVariableIF.h"
#include "../serialize/SerializeAdapter.h"
#include "../serviceinterface/ServiceInterfaceStream.h"
template<typename U, uint8_t n_var> class PIDReaderList;
template<typename T>
cla... | 26.851351 | 92 | 0.704076 | [
"vector"
] |
3b3acc9e15739ba1ca0f87972ef08df167f2ba6a | 2,934 | c | C | Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.AIModule_CodeGen.c | OgiJr/SunBed | ea42007d57affe1421517cff6634e6412943f89f | [
"MIT"
] | null | null | null | Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.AIModule_CodeGen.c | OgiJr/SunBed | ea42007d57affe1421517cff6634e6412943f89f | [
"MIT"
] | null | null | null | Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.AIModule_CodeGen.c | OgiJr/SunBed | ea42007d57affe1421517cff6634e6412943f89f | [
"MIT"
] | null | null | null | #include "pch-c.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
// 0x00000001 System.Boolean UnityEngine.AI.NavMeshAgent::SetDestination(UnityEngine.Vector3)
extern void NavMeshAgent_SetDestina... | 37.139241 | 124 | 0.870825 | [
"object"
] |
3b4b8f8311e5488c737dd71087f3fb47c6447a38 | 6,590 | h | C | v01/dispatcher.h | mtsp/ferret | 1ca08b25e2cfab33fe6a9f210ae8b69c79766254 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T13:27:55.000Z | 2017-04-27T13:27:55.000Z | v01/dispatcher.h | mtsp/ferret | 1ca08b25e2cfab33fe6a9f210ae8b69c79766254 | [
"BSD-3-Clause"
] | null | null | null | v01/dispatcher.h | mtsp/ferret | 1ca08b25e2cfab33fe6a9f210ae8b69c79766254 | [
"BSD-3-Clause"
] | null | null | null | /**
* Dispatcher.h
* Description: API responsible for dispatching a graph to the MTSP runtime
* - Execute the graph structure by dispatching it to the runtime
* - Displays an error message if the graph was incorrectly dispatched
* */
#include "common.h"
#include <kmp.h>
#include <unistd.h>
#include <iostream>
... | 31.380952 | 88 | 0.550228 | [
"vector"
] |
3b60d91f7ecf13fa5765c9e11ca6665eb4e70a36 | 4,818 | c | C | d/antioch/jarmila/mobs/paladin.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 9 | 2021-07-05T15:24:54.000Z | 2022-02-25T19:44:15.000Z | d/antioch/jarmila/mobs/paladin.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/antioch/jarmila/mobs/paladin.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 10 | 2021-03-13T00:18:03.000Z | 2022-03-29T15:02:42.000Z | #include <std.h>
#include <security.h>
#include "../jarmila.h"
inherit MONSTER;
void do_greeting();
object bork_control;
int talked;
void create()
{
int mylevel = 65;
::create();
talked=0;
set_name("Rosalind de Montbard");
set_id(({ "paladin", "guard", "paladin guard", "pguard", "Paladin",
"avatar"... | 24.835052 | 162 | 0.594022 | [
"object"
] |
3b693b0ae37f19e8f03abb7946f1906ef05c1678 | 794 | h | C | PhotoRotate/Utilities.h | LoyalMoral/PhotoCropRotate | 92d21409972f95214ccf9a5a05998e70792ba495 | [
"MIT"
] | null | null | null | PhotoRotate/Utilities.h | LoyalMoral/PhotoCropRotate | 92d21409972f95214ccf9a5a05998e70792ba495 | [
"MIT"
] | 1 | 2017-04-12T03:11:53.000Z | 2017-11-10T03:10:00.000Z | PhotoRotate/Utilities.h | LoyalMoral/PhotoCropRotate | 92d21409972f95214ccf9a5a05998e70792ba495 | [
"MIT"
] | null | null | null | //
// Utilities.h
// PhotoRotate
//
// Created by Luan on 11/7/16.
// Copyright © 2016 Shutta. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIKit.h>
@interface Utilities : NSObject
+ (UIImage *)newTransformedImage:(CGAffineTransform)transform
... | 29.407407 | 123 | 0.667506 | [
"transform"
] |
3b822d086f37c9bdb93c17f69f7367fdfc9f7a26 | 733 | h | C | src/Canvas.h | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Canvas.h | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Canvas.h | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | /*
Part of BridgeData.
Copyright (C) 2016-17 by Soren Hein.
See LICENSE and README.
*/
#ifndef BRIDGE_CANVAS_H
#define BRIDGE_CANVAS_H
#include <string>
#include <vector>
using namespace std;
class Canvas
{
private:
vector<string> canvas;
unsigned height;
unsigned width;
public:
... | 13.574074 | 49 | 0.635744 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.