hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | 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 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a8fabf619c6e8dc5fcfb1eddf05e42b2801068f | 2,078 | h | C | ClientDemo/DlgPosFilterEffect.h | xiaocaovc/hkvs | 569c57b03adf5723ccc1df0de6c96858062d23e1 | [
"MIT"
] | 2 | 2017-09-05T07:01:13.000Z | 2019-07-16T17:18:28.000Z | ClientDemo/DlgPosFilterEffect.h | xiaocaovc/hkvs | 569c57b03adf5723ccc1df0de6c96858062d23e1 | [
"MIT"
] | null | null | null | ClientDemo/DlgPosFilterEffect.h | xiaocaovc/hkvs | 569c57b03adf5723ccc1df0de6c96858062d23e1 | [
"MIT"
] | 3 | 2019-08-26T02:28:54.000Z | 2020-11-04T04:29:19.000Z | #if !defined(AFX_DLGPOSFILTEREFFECT_H__6E68E89D_3BFA_4F50_9795_47A321151021__INCLUDED_)
#define AFX_DLGPOSFILTEREFFECT_H__6E68E89D_3BFA_4F50_9795_47A321151021__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgPosFilterEffect.h : header file
//
////////////////////////////////////////////////... | 26.987013 | 97 | 0.771415 |
6a0949b293eeb8ca13df0efd1c8e3a9124b0e821 | 1,176 | h | C | tc/size_linear.h | badearobert/range | ddec92e44df8a8f9f021a03d3f92ec4b091f19de | [
"BSL-1.0"
] | null | null | null | tc/size_linear.h | badearobert/range | ddec92e44df8a8f9f021a03d3f92ec4b091f19de | [
"BSL-1.0"
] | null | null | null | tc/size_linear.h | badearobert/range | ddec92e44df8a8f9f021a03d3f92ec4b091f19de | [
"BSL-1.0"
] | null | null | null |
// think-cell public library
//
// Copyright (C) 2016-2019 think-cell Software GmbH
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
#pragma once
#include "range_defines.h"
#include "size.h"
#include "for_each.h"... | 30.153846 | 134 | 0.731293 |
acb68c69836389832475c474a506a548d2ac9903 | 1,054 | h | C | linux/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h | WUSTL-CSPL/RT-TEE | aafb3e9ff6c6e744c6bce1e42bcb198e1063efcc | [
"MIT"
] | 3 | 2020-11-06T05:17:03.000Z | 2020-11-06T07:32:34.000Z | linux/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h | WUSTL-CSPL/RT-TEE | aafb3e9ff6c6e744c6bce1e42bcb198e1063efcc | [
"MIT"
] | null | null | null | linux/drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h | WUSTL-CSPL/RT-TEE | aafb3e9ff6c6e744c6bce1e42bcb198e1063efcc | [
"MIT"
] | 1 | 2020-11-06T07:32:55.000Z | 2020-11-06T07:32:55.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2017 Etnaviv Project
*/
#ifndef __ETNAVIV_CMDBUF_H__
#define __ETNAVIV_CMDBUF_H__
#include <linux/types.h>
struct etnaviv_gpu;
struct etnaviv_cmdbuf_suballoc;
struct etnaviv_perfmon_request;
struct etnaviv_cmdbuf {
/* suballocator this cmdbuf is allocated... | 26.35 | 79 | 0.802657 |
acc172099ed867c892db093c7cb189a3ca03ca96 | 23,201 | c | C | lib/ipmi_sunoem.c | ystk/debian-ipmitool | 013077feb9a87c44a94301d6da9c3661132d8537 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | null | null | null | lib/ipmi_sunoem.c | ystk/debian-ipmitool | 013077feb9a87c44a94301d6da9c3661132d8537 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | null | null | null | lib/ipmi_sunoem.c | ystk/debian-ipmitool | 013077feb9a87c44a94301d6da9c3661132d8537 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | null | null | null | /*
* Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistribution of source code must retain the above copyright
* notice, this list of c... | 27.295294 | 84 | 0.650274 |
6bb26ac15d9accd4ee940e8b551c4583c8d63677 | 1,135 | c | C | src/murmur_hash.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | src/murmur_hash.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | src/murmur_hash.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | #include "murmur_hash.h"
#define ROT32(x, y) ((x << y) | (x >> (32 - y))) // avoid effort
uint32_t murmur3_32(const char *key, uint32_t len, uint32_t seed) {
static const uint32_t c1 = 0xcc9e2d51;
static const uint32_t c2 = 0x1b873593;
static const uint32_t r1 = 15;
static const uint32_t r2 = 13;
static const ui... | 18.916667 | 67 | 0.591189 |
360f4a39da9613ffc096be7f602f77fcb815c802 | 1,471 | h | C | include/socket.h | WLBF/rift | e4d4503a3e1fab24e3b148768b92d7ea0721fa24 | [
"MIT"
] | null | null | null | include/socket.h | WLBF/rift | e4d4503a3e1fab24e3b148768b92d7ea0721fa24 | [
"MIT"
] | null | null | null | include/socket.h | WLBF/rift | e4d4503a3e1fab24e3b148768b92d7ea0721fa24 | [
"MIT"
] | null | null | null | //
// Created by wlbf on 9/10/21.
//
#ifndef RIFT_SOCKET_H
#define RIFT_SOCKET_H
#include <memory>
namespace rift {
class InetAddress;
///
/// Wrapper of socket file descriptor.
///
/// It closes the sockfd when desctructs.
/// It's thread safe, all operations are delagated to OS.
class ... | 23.349206 | 74 | 0.600952 |
d9e363ab44118c9c84168fb0dd85dd24d39e9ffa | 354 | h | C | common/udp_server.h | Favorsiki/ChatRoom | db368335674cf4b031148be8a45666674f2f641c | [
"MIT"
] | null | null | null | common/udp_server.h | Favorsiki/ChatRoom | db368335674cf4b031148be8a45666674f2f641c | [
"MIT"
] | null | null | null | common/udp_server.h | Favorsiki/ChatRoom | db368335674cf4b031148be8a45666674f2f641c | [
"MIT"
] | 1 | 2020-07-11T07:18:45.000Z | 2020-07-11T07:18:45.000Z | /*************************************************************************
> File Name: udp_server.h
> Author: suyelu
> Mail: suyelu@126.com
> Created Time: Thu 09 Jul 2020 11:15:45 AM CST
************************************************************************/
#ifndef _UDP_SERVER_H
#define _UDP_SERVER_H
int so... | 29.5 | 74 | 0.426554 |
3da699e6c27dbe99f65e968e35bb22dd02f9a991 | 4,462 | h | C | DataFormats/TauReco/src/classes_1.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2020-08-12T08:37:04.000Z | 2020-08-12T08:37:04.000Z | DataFormats/TauReco/src/classes_1.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | DataFormats/TauReco/src/classes_1.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | #include "DataFormats/Common/interface/Wrapper.h"
#include "DataFormats/Common/interface/AssociationVector.h"
#include "DataFormats/TauReco/interface/BaseTauTagInfo.h"
#include "DataFormats/TauReco/interface/CaloTauTagInfo.h"
#include "DataFormats/TauReco/interface/PFTauTagInfo.h"
#include "DataFormats/TauReco/interfac... | 53.759036 | 84 | 0.686688 |
8db6fcb8a9a4e1b0901f1f8bd86b95a618034e67 | 2,104 | h | C | src/tritonsort/core/WorkQueue.h | anku94/themis_tritonsort | 68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d | [
"BSD-3-Clause"
] | 11 | 2015-12-14T05:35:17.000Z | 2021-11-08T22:02:32.000Z | src/tritonsort/core/WorkQueue.h | anku94/themis_tritonsort | 68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d | [
"BSD-3-Clause"
] | null | null | null | src/tritonsort/core/WorkQueue.h | anku94/themis_tritonsort | 68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d | [
"BSD-3-Clause"
] | 8 | 2015-12-22T19:31:16.000Z | 2020-12-15T12:09:00.000Z | #ifndef TRITONSORT_WORK_QUEUE_H
#define TRITONSORT_WORK_QUEUE_H
#include <list>
#include <stdint.h>
class Resource;
/**
Exports a queue abstraction but allows large amounts of work to be moved
between queues in constant time.
\warning All work units are Resource*'s, so the user must dynamic cast to
ensu... | 24.465116 | 79 | 0.689163 |
ce750a99eea96bb968bea7b2f4414dac752a7922 | 704 | h | C | openeuler-kernel/arch/sparc/mm/mm_32.h | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | openeuler-kernel/arch/sparc/mm/mm_32.h | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | openeuler-kernel/arch/sparc/mm/mm_32.h | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/* fault_32.c - visible as they are called from assembler */
asmlinkage int lookup_fault(unsigned long pc, unsigned long ret_pc,
unsigned long address);
asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
... | 30.608696 | 79 | 0.71875 |
c02fdbdedc685e8e7baf68e3dcd028e0bb8eb243 | 1,258 | h | C | runtime/macos/OSXPrivateSDK-master/PrivateSDK10.10.sparse.sdk/usr/local/include/security_cdsa_utils/cuFileIo.h | cz-it/step_in_runtime | 3f7ad51cfb75a801f0ac05e3cb9846115736660a | [
"MIT"
] | 34 | 2015-02-04T18:03:14.000Z | 2020-11-10T06:45:28.000Z | runtime/macos/OSXPrivateSDK-master/PrivateSDK10.10.sparse.sdk/usr/local/include/security_cdsa_utils/cuFileIo.h | cz-it/step_in_runtime | 3f7ad51cfb75a801f0ac05e3cb9846115736660a | [
"MIT"
] | 5 | 2015-06-30T21:17:00.000Z | 2016-06-14T22:31:51.000Z | runtime/macos/OSXPrivateSDK-master/PrivateSDK10.10.sparse.sdk/usr/local/include/security_cdsa_utils/cuFileIo.h | cz-it/step_in_runtime | 3f7ad51cfb75a801f0ac05e3cb9846115736660a | [
"MIT"
] | 15 | 2015-10-29T14:21:58.000Z | 2022-01-19T07:33:14.000Z | /*
* Copyright (c) 2001-2003,2011,2014 Apple Inc. All Rights Reserved.
*
* The contents of this file constitute Original Code as defined in and are
* subject to the Apple Public Source License Version 1.2 (the 'License').
* You may not use this file except in compliance with the License. Please
* obtain a copy ... | 29.952381 | 75 | 0.737679 |
35caf4ab5582c626405fcf9aaf373b3cc7a022aa | 2,341 | h | C | src/SVExportDialog/forms/export_dialog_impl.h | Tyill/SVisual | 7d755e7ecee0a329a992c3a031709123ec4f4b78 | [
"MIT"
] | 27 | 2017-10-08T05:56:11.000Z | 2022-02-22T08:08:47.000Z | src/SVExportDialog/forms/export_dialog_impl.h | Tyill/SVisual | 7d755e7ecee0a329a992c3a031709123ec4f4b78 | [
"MIT"
] | 20 | 2018-06-05T15:46:16.000Z | 2022-01-11T13:45:54.000Z | src/SVExportDialog/forms/export_dialog_impl.h | Tyill/SVisual | 7d755e7ecee0a329a992c3a031709123ec4f4b78 | [
"MIT"
] | 10 | 2018-10-23T18:48:59.000Z | 2021-09-18T08:10:18.000Z | //
// SVisual Project
// Copyright (C) 2018 by Contributors <https://github.com/Tyill/SVisual>
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the S... | 32.068493 | 80 | 0.768475 |
98351fad37ee8006eb7867fe257f9e79df5c9323 | 651 | h | C | Source/PanelInspector.h | WickedNekomata/NekoEngine | 5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd | [
"MIT"
] | 13 | 2018-11-26T12:39:30.000Z | 2022-03-21T21:23:22.000Z | Source/PanelInspector.h | WickedNekomata/NekoEngine | 5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd | [
"MIT"
] | 1 | 2022-03-21T22:05:10.000Z | 2022-03-21T22:05:10.000Z | Source/PanelInspector.h | WickedNekomata/NekoEngine | 5d10b7e4895e463d7a816ea7a6a8eb9dc91174cd | [
"MIT"
] | 10 | 2018-10-27T01:58:26.000Z | 2021-03-26T09:28:02.000Z | #ifndef __PANEL_INSPECTOR_H__
#define __PANEL_INSPECTOR_H__
#include "GameMode.h"
#ifndef GAMEMODE
#include "Panel.h"
class Component;
class PanelInspector : public Panel
{
public:
PanelInspector(char* name);
~PanelInspector();
bool Draw();
private:
void ShowGameObjectInspector() const;
void DragnDropSepa... | 17.594595 | 56 | 0.791091 |
ed82a4a6a6fc400d527c4ff15d029b8b3dc8a755 | 97,384 | h | C | weights_h/722_dscnn_with_20_labels/with_quant.h | Lebhoryi/ML-KWS-for-MCU | 47316dafb1cfbb8ead3e049cc846bdb45f3e7995 | [
"Apache-2.0"
] | 1 | 2021-11-15T20:34:14.000Z | 2021-11-15T20:34:14.000Z | weights_h/722_dscnn_with_20_labels/with_quant.h | Lebhoryi/ML-KWS-for-MCU | 47316dafb1cfbb8ead3e049cc846bdb45f3e7995 | [
"Apache-2.0"
] | null | null | null | weights_h/722_dscnn_with_20_labels/with_quant.h | Lebhoryi/ML-KWS-for-MCU | 47316dafb1cfbb8ead3e049cc846bdb45f3e7995 | [
"Apache-2.0"
] | null | null | null | #define DS-CNN_conv_1_weights_0 {-9, -3, -4, -6, -5, 1, 1, -2, 1, 3, 6, 6, 9, -7, 15, 16, 1, -8, -7, -1, -8, -17, -23, -22, -1, 16, -4, -14, 14, 13, 20, 5, 15, 17, 16, 11, 10, 3, -5, 16, -4, 6, -13, 6, 2, 9, -21, 13, -2, 6, -15, 16, 0, -1, -10, 12, 2, 1, -9, 9, 1, 4, -4, -3, -2, 5, 4, -5, -2, -7, 0, -3, 6, -6, -1, 0, 1... | 4,637.333333 | 17,286 | 0.400281 |
eda68bb14edf1d8807fb67c59f3ba106b2d0d2fa | 200 | h | C | libs/Common-cpp/include/Microsoft/MixedReality/Sharing/Common/windows.h | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 24 | 2019-12-11T18:56:39.000Z | 2021-12-28T02:48:59.000Z | libs/Common-cpp/include/Microsoft/MixedReality/Sharing/Common/windows.h | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 23 | 2019-12-11T20:21:30.000Z | 2020-02-12T12:12:05.000Z | libs/Common-cpp/include/Microsoft/MixedReality/Sharing/Common/windows.h | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 14 | 2019-12-11T18:56:44.000Z | 2021-06-09T18:13:10.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
// FIXME: Inlcude only on Windows platforms
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
| 20 | 43 | 0.77 |
609057e0c9677c9df7fb2f1bb000fcd061b848a4 | 577 | h | C | Project/LooseLeaf/MMRoundedSquareView.h | rogues-gallery/loose-leaf | 97269de375031af29c13f270f121cbe082aa453b | [
"MIT"
] | 592 | 2016-12-29T18:30:08.000Z | 2022-03-23T09:55:33.000Z | Project/LooseLeaf/MMRoundedSquareView.h | rogues-gallery/loose-leaf | 97269de375031af29c13f270f121cbe082aa453b | [
"MIT"
] | 179 | 2016-12-28T21:43:07.000Z | 2020-07-30T12:04:30.000Z | Project/LooseLeaf/MMRoundedSquareView.h | rogues-gallery/loose-leaf | 97269de375031af29c13f270f121cbe082aa453b | [
"MIT"
] | 101 | 2016-12-29T00:22:46.000Z | 2021-08-08T10:16:13.000Z | //
// MMRoundedSquareView.h
// LooseLeaf
//
// Created by Adam Wulf on 3/28/16.
// Copyright © 2016 Milestone Made, LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MMRoundedSquareViewDelegate.h"
@interface MMRoundedSquareView : UIView
@property (nonatomic, readonly) UIView* rotateableSquareView;
@... | 26.227273 | 76 | 0.772964 |
b80f8cc3f6449afa996f6f52c9bd7d4d23b557e2 | 691 | h | C | brickBreak/BallsHandler.h | CorentinGt/brickBreaker | 1a19760ee9ba10bd25d03b56ebc64149b9da0518 | [
"MIT"
] | null | null | null | brickBreak/BallsHandler.h | CorentinGt/brickBreaker | 1a19760ee9ba10bd25d03b56ebc64149b9da0518 | [
"MIT"
] | null | null | null | brickBreak/BallsHandler.h | CorentinGt/brickBreaker | 1a19760ee9ba10bd25d03b56ebc64149b9da0518 | [
"MIT"
] | 1 | 2015-12-12T10:56:29.000Z | 2015-12-12T10:56:29.000Z | #ifndef DEF_BALLSHANDLER
#define DEF_BALLSHANDLER
#include "Ball.h"
#include "Brick.h"
#include "bar.h"
/*Class that handle commons operation related to ball vector*/
class BallsHandler
{
public:
BallsHandler();
void move(sf::Vector2f&, Bar&, std::vector<Brick*>& );
void ballsMove(sf::Vector2f&);
void ballsCollis... | 23.033333 | 62 | 0.722142 |
69641898a1c76f22f52be3eb8cfc7d86cd93f1e3 | 1,013 | c | C | crackme3.c | olaredenish2017/olare1995 | fa84583a925bb39e59f6c6a690b38cd7e6ef8247 | [
"Apache-2.0"
] | null | null | null | crackme3.c | olaredenish2017/olare1995 | fa84583a925bb39e59f6c6a690b38cd7e6ef8247 | [
"Apache-2.0"
] | 1 | 2021-06-01T00:13:07.000Z | 2021-06-01T00:13:07.000Z | crackme3.c | olaredenish2017/olare1995 | fa84583a925bb39e59f6c6a690b38cd7e6ef8247 | [
"Apache-2.0"
] | null | null | null | /*
Sample code to compare password
Author: Olare Denish Odhiambo
Compile with debug symbols
$gcc -m32 -ggdb -mpreferred-stack-boundary=2 -o comparePassword comparePassword.c
Compile without debug symbols
$gcc -m32 -mpreferred-stack-boundary=2 -o comparePassword comparePassword.c
*/
#include <stdio.h>
#include <strin... | 25.325 | 81 | 0.615005 |
5053107f329766aeb253dfdb373681c7f82c6412 | 403 | h | C | chapter_2/libchapter2/src/FilesystemUtils.h | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | 5 | 2017-05-13T20:47:13.000Z | 2020-04-18T18:18:03.000Z | chapter_2/libchapter2/src/FilesystemUtils.h | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | null | null | null | chapter_2/libchapter2/src/FilesystemUtils.h | sergey-shambir/cg_course_examples | 921b6218d71731bcb79ddddcc92c9d04a72c62ab | [
"MIT"
] | 8 | 2016-10-24T16:24:21.000Z | 2021-03-15T11:23:57.000Z | #pragma once
#include "Utils.h"
#include "filesystem_alias.h"
#include <string>
class CFilesystemUtils
{
public:
CFilesystemUtils() = delete;
static fs::path GetResourceAbspath(const fs::path& path);
static std::string LoadFileAsString(const fs::path& path);
static SDLSurfacePtr LoadImageByPath(const fs::path& pa... | 25.1875 | 74 | 0.766749 |
da4e65b7cd72c65e3dff1da08fe65555f55e7ef6 | 676 | h | C | ojgl/examples/FreeCameraController.h | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | null | null | null | ojgl/examples/FreeCameraController.h | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | 5 | 2017-07-24T22:12:47.000Z | 2020-09-21T18:32:32.000Z | ojgl/examples/FreeCameraController.h | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | 1 | 2017-07-24T21:50:21.000Z | 2017-07-24T21:50:21.000Z | #pragma once
#include "render/Window.h"
#include "utility/Matrix.h"
#include "utility/OJstd.h"
#include "utility/Vector.h"
namespace ojgl {
class FreeCameraController {
public:
Vector3f position { 0, 0, 0 };
float heading = 0.f;
float elevation = 0.f;
public:
static FreeCameraController& instance();... | 21.806452 | 80 | 0.718935 |
1351cba40048e577ccfb19b7a7ee072b5690cd6f | 619 | h | C | runtime/musl-lkl/lkl/include/sound/ac97/compat.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 11 | 2022-02-05T12:12:43.000Z | 2022-03-08T08:09:08.000Z | runtime/musl-lkl/lkl/include/sound/ac97/compat.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 3 | 2021-09-06T09:14:42.000Z | 2022-03-27T08:09:54.000Z | runtime/musl-lkl/lkl/include/sound/ac97/compat.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 1 | 2022-03-18T07:17:40.000Z | 2022-03-18T07:17:40.000Z | /*
* Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This file is for backward compatibility with snd_ac97 stru... | 29.47619 | 74 | 0.77706 |
9284bbf32d3ad853cf666adf272118db0498091f | 629 | h | C | src/Calculator/Views/CalculatorSymbolicOperators.xaml.h | OGWeekendWarriors/calculator | 2aab654055a5be05af5e08e1b639a80e557a4bcd | [
"MIT"
] | null | null | null | src/Calculator/Views/CalculatorSymbolicOperators.xaml.h | OGWeekendWarriors/calculator | 2aab654055a5be05af5e08e1b639a80e557a4bcd | [
"MIT"
] | 14 | 2020-03-12T21:58:52.000Z | 2020-05-04T01:57:56.000Z | src/Calculator/Views/CalculatorSymbolicOperators.xaml.h | OGWeekendWarriors/calculator | 2aab654055a5be05af5e08e1b639a80e557a4bcd | [
"MIT"
] | 1 | 2020-04-21T14:33:22.000Z | 2020-04-21T14:33:22.000Z |
//
// CalculatorStandardOperators.xaml.h
// Declaration of the CalculatorStandardOperators class
//
#pragma once
#include "Views/CalculatorSymbolicOperators.g.h"
#include "Views/NumberPad.xaml.h"
namespace CalculatorApp
{
[Windows::Foundation::Metadata::WebHostHidden] public ref class CalculatorSymbolicOperator... | 20.290323 | 102 | 0.688394 |
a18d6aeed6e2e5b59d07ab4bebf75e674c4591c9 | 1,147 | h | C | kern/include/multitasking.h | A1Liu/dumboss | 43881bf0f3bf27c12ec22d53cc27ce2915ebabaf | [
"MIT"
] | null | null | null | kern/include/multitasking.h | A1Liu/dumboss | 43881bf0f3bf27c12ec22d53cc27ce2915ebabaf | [
"MIT"
] | null | null | null | kern/include/multitasking.h | A1Liu/dumboss | 43881bf0f3bf27c12ec22d53cc27ce2915ebabaf | [
"MIT"
] | null | null | null | #pragma once
#include <types.h>
typedef enum { Done, Blocked } TaskProgress;
typedef void (*TaskCode)(void *data, s64 size);
typedef struct {
TaskCode code;
void *data;
s64 data_size;
} TaskData;
#define add_task(...) PASTE(_add_task, NARG(__VA_ARGS__))(__VA_ARGS__)
#define _add_task1(fn) (_Static_assert(CMP_T... | 42.481481 | 100 | 0.556234 |
5982a0c8df0b6e51a33776ec4c28ae8a24fb4aad | 3,269 | h | C | incl/c_device_lkm.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | incl/c_device_lkm.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | incl/c_device_lkm.h | paldier/eip97 | ce4edaca76d0e253c98eb1611a7a6b6f45fadb17 | [
"BSD-2-Clause"
] | null | null | null | /* c_device_lkm.h
*
* Configuration Handling for Driver Framework Device API implementation.
* A build-level configuration file is included and sanity-checked.
* Do not edit this file. Edit cs_hwpal_lkm.h instead.
*/
/*****************************************************************************
* Copyright (c) 20... | 28.426087 | 78 | 0.705414 |
deac8816e34e4faa8c03e67354acad5d6aed8287 | 279 | h | C | test/unit-tests/journal_manager/log/log_buffer_parser_mock.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null | test/unit-tests/journal_manager/log/log_buffer_parser_mock.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null | test/unit-tests/journal_manager/log/log_buffer_parser_mock.h | YongJin-Cho/poseidonos | c07a0240316d4536aa09f22d7977604f3650d752 | [
"BSD-3-Clause"
] | null | null | null | #include <gmock/gmock.h>
#include <list>
#include <string>
#include <vector>
#include "src/journal_manager/log/log_buffer_parser.h"
namespace pos
{
class MockLogBufferParser : public LogBufferParser
{
public:
using LogBufferParser::LogBufferParser;
};
} // namespace pos
| 15.5 | 54 | 0.756272 |
dd0327e8ed2e7ef9fe91cc12c2d9809f8467638e | 389 | h | C | src/ofxWebWidgets/Widgets/Set.h | elliotwoods/ofxWebWidgets | 64dd735e051ce285990f2cd04f24831a5cd488f6 | [
"MIT"
] | 1 | 2017-10-02T08:42:25.000Z | 2017-10-02T08:42:25.000Z | src/ofxWebWidgets/Widgets/Set.h | elliotwoods/ofxWebWidgets | 64dd735e051ce285990f2cd04f24831a5cd488f6 | [
"MIT"
] | 1 | 2019-05-05T16:31:21.000Z | 2019-05-07T05:32:36.000Z | src/ofxWebWidgets/Widgets/Set.h | elliotwoods/ofxWebWidgets | 64dd735e051ce285990f2cd04f24831a5cd488f6 | [
"MIT"
] | null | null | null | #pragma once
#include "Base.h"
#include "../Constants.h"
#include "../RequestHandler.h"
namespace ofxWebWidgets {
namespace Widgets {
class Set : public map<size_t, shared_ptr<Base>>, public RequestHandler {
public:
void add(const shared_ptr<Base> &);
void handleRequest(const Request & request, ... | 24.3125 | 90 | 0.686375 |
6e95743b21dac11c96e2d3b5c57e668cb3126655 | 3,533 | h | C | driver/inc/drv_eeprom.h | cd103/mm_pwm_logo | 633f4869f378c411f9e537fb3a88c02511fa40d5 | [
"Apache-2.0"
] | 1 | 2019-06-06T08:41:07.000Z | 2019-06-06T08:41:07.000Z | driver/inc/drv_eeprom.h | cd103/mm_pwm_logo | 633f4869f378c411f9e537fb3a88c02511fa40d5 | [
"Apache-2.0"
] | null | null | null | driver/inc/drv_eeprom.h | cd103/mm_pwm_logo | 633f4869f378c411f9e537fb3a88c02511fa40d5 | [
"Apache-2.0"
] | 1 | 2019-06-06T08:41:14.000Z | 2019-06-06T08:41:14.000Z | ////////////////////////////////////////////////////////////////////////////////
/// @file DRV_EEPROM.H
/// @author C Yuan
/// @version v2.0.0
/// @date 2019-02-18
/// @brief THIS FILE CONTAINS ALL THE FUNCTIONS PROTOTYPES FOR THE EEPROM
/// DRIVER LAYER.
////////////////////////////////////////... | 30.456897 | 80 | 0.411831 |
f0fc5bdc23c877c411c9564a6d54320d87e4d36b | 1,604 | h | C | AWSCognitoIdentityProvider/Internal/JKBigInteger/AWSJKBigInteger.h | hardikdevios/aws-sdk-ios | 6dfaf175a3b551ea3b1f8764f71bceda8942a2f1 | [
"Apache-2.0"
] | 1,026 | 2015-01-04T14:53:58.000Z | 2018-11-05T15:33:48.000Z | AWSCognitoIdentityProvider/Internal/JKBigInteger/AWSJKBigInteger.h | hardikdevios/aws-sdk-ios | 6dfaf175a3b551ea3b1f8764f71bceda8942a2f1 | [
"Apache-2.0"
] | 1,364 | 2018-11-07T18:32:17.000Z | 2022-03-31T22:03:58.000Z | AWSCognitoIdentityProvider/Internal/JKBigInteger/AWSJKBigInteger.h | hardikdevios/aws-sdk-ios | 6dfaf175a3b551ea3b1f8764f71bceda8942a2f1 | [
"Apache-2.0"
] | 609 | 2015-01-01T16:30:03.000Z | 2018-10-31T01:29:14.000Z | //
// AWSJKBigInteger.h
// AWSJKBigInteger
//
// Created by Jānis Kiršteins on 5/21/13.
// Copyright (c) 2013 Jānis Kiršteins. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "aws_tommath.h"
@interface AWSJKBigInteger : NSObject <NSSecureCoding>
- (id)initWithValue:(aws_mp_int *)value;
- (aws_... | 28.140351 | 70 | 0.740648 |
2145c304fa7fddbacae2f4fe765e40e1152b67b9 | 5,772 | c | C | user-contributed/imsor/sources/asc2hips.c | mikelandy/HIPS | fb5440573848cd22d55771484e3c036b6007f780 | [
"MIT"
] | null | null | null | user-contributed/imsor/sources/asc2hips.c | mikelandy/HIPS | fb5440573848cd22d55771484e3c036b6007f780 | [
"MIT"
] | null | null | null | user-contributed/imsor/sources/asc2hips.c | mikelandy/HIPS | fb5440573848cd22d55771484e3c036b6007f780 | [
"MIT"
] | null | null | null | /* Copyright (c) 1992 Karsten Hartelius, IMSOR.
Disclaimer: No guarantees of performance accompany this software,
nor is any responsibility assumed on the part of the authors. All the
software has been tested extensively and every effort has been made to
insure its reliability.
asc2hips - transforms an... | 20.323944 | 71 | 0.588704 |
3970f6a12e7891de139a769a09d02f688238f64f | 692 | c | C | src/enum.c | jspahrsummers/libextc | 7ab147f762f01957d1991e15380e4d9e25e51d94 | [
"MIT"
] | 33 | 2015-03-30T23:04:04.000Z | 2022-02-21T12:48:57.000Z | src/enum.c | jspahrsummers/libextc | 7ab147f762f01957d1991e15380e4d9e25e51d94 | [
"MIT"
] | null | null | null | src/enum.c | jspahrsummers/libextc | 7ab147f762f01957d1991e15380e4d9e25e51d94 | [
"MIT"
] | 3 | 2016-07-10T11:37:10.000Z | 2021-10-30T07:15:06.000Z | /**
* More versatile enumerations
* ExtendedC
*
* Copyright (C) 2012 Justin Spahr-Summers
* Released under the MIT license
*/
#include <string.h>
#include "enum.h"
int enum_from_string_ (const struct enum_map_item *items, size_t itemCount, const char *name) {
for (size_t i = 0;i < itemCount;++i) {
... | 23.862069 | 101 | 0.609827 |
e8ba8032505555c5c4373383169f1f4e9f5aea8c | 5,164 | h | C | libcapture/include/udpcapture/gvcp.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | libcapture/include/udpcapture/gvcp.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | libcapture/include/udpcapture/gvcp.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | #ifndef _GVCP_H_
#define _GVCP_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
//used only for recv discovery package -- now as magic value
#define GV_INTERFACE_DISCOVERY_BUFFER_SIZE (512 *1024)
#define GV_DEVICE_BUFFER_SIZE (16 * 1024)
//GigE Vision Specification
#def... | 31.876543 | 129 | 0.75426 |
056cb7c6bc74c0d39b1289e83bea2ff2b1cf4012 | 5,468 | c | C | src/matrix/src/matrix.c | vyacheslav-bezborodov/libem | 63da1a21298ade746c2f84d3aeddc66461da86cc | [
"MIT"
] | null | null | null | src/matrix/src/matrix.c | vyacheslav-bezborodov/libem | 63da1a21298ade746c2f84d3aeddc66461da86cc | [
"MIT"
] | null | null | null | src/matrix/src/matrix.c | vyacheslav-bezborodov/libem | 63da1a21298ade746c2f84d3aeddc66461da86cc | [
"MIT"
] | null | null | null | #include <omp.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <matrix/matrix.h>
int mtx_init(struct mtx* const m, size_t rows, size_t columns, mpfr_prec_t prec)
{
m->nrows = rows;
m->ncols = columns;
m->storage = (mpfr_t*) malloc(sizeof(mpfr_t) * m->nrows * m->ncols);
if (NULL == m->stor... | 17.811075 | 131 | 0.565838 |
b23c6ba885a68657ee113284990a7e1d4e873fa6 | 737 | h | C | src/rootheader.h | BenjaminMichaelis/EscapeCOVID | 97c2d7a19e04bbe2d54d4b3f7ff5cdb3fb0637ea | [
"MIT"
] | 5 | 2020-06-09T21:18:36.000Z | 2020-06-11T19:41:34.000Z | src/rootheader.h | BenjaminMichaelis/EscapeCOVID | 97c2d7a19e04bbe2d54d4b3f7ff5cdb3fb0637ea | [
"MIT"
] | 3 | 2020-06-11T07:17:20.000Z | 2021-02-25T06:53:17.000Z | src/rootheader.h | BenjaminMichaelis/EscapeCOVID | 97c2d7a19e04bbe2d54d4b3f7ff5cdb3fb0637ea | [
"MIT"
] | 1 | 2020-06-22T16:06:00.000Z | 2020-06-22T16:06:00.000Z | #ifndef ROOTHEADER_H
#define ROOTHEADER_H
#include <SFML/Graphics.hpp>
#include <iostream>
#include <time.h>
using namespace std;
using namespace sf;
const int PLAYER_W = 15;
const int PLAYER_H = 26;
// base dimension for virus sprite:
const int VIRUS_SIZE = 20;
// base dimension for the effective game-window:
c... | 18.425 | 51 | 0.750339 |
b29968663c6cb0b85db197a90a36701660a5525b | 6,553 | h | C | src/sim/Streamer/StreamerOutputCache.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 23 | 2016-01-14T04:47:13.000Z | 2022-01-13T14:02:08.000Z | src/sim/Streamer/StreamerOutputCache.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 2 | 2018-03-25T14:39:20.000Z | 2022-03-18T05:11:21.000Z | src/sim/Streamer/StreamerOutputCache.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 17 | 2016-02-13T05:35:35.000Z | 2022-03-24T16:05:40.000Z | /**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... | 36.814607 | 152 | 0.662292 |
c9a833ed2d78a870c141d204bbd963bfe080e913 | 876 | h | C | client/defs.h | thouis/tankhunt | f04ba5b594120c9115b66f37746bcd67450b8ea5 | [
"Info-ZIP"
] | 1 | 2019-12-02T13:54:44.000Z | 2019-12-02T13:54:44.000Z | client/defs.h | thouis/tankhunt | f04ba5b594120c9115b66f37746bcd67450b8ea5 | [
"Info-ZIP"
] | null | null | null | client/defs.h | thouis/tankhunt | f04ba5b594120c9115b66f37746bcd67450b8ea5 | [
"Info-ZIP"
] | null | null | null | /* defs.h - #defines for the client */
#ifndef DEFS_H
#define DEFS_H
/* width of the window */
#define WIN_WIDTH 901
#define HALF_WIDTH 450
/* height of the window */
#define WIN_HEIGHT 901
#define HALF_HEIGHT 450
/* how many pixels wide and high is a box */
#define BOX_SIZE 300
/*
* maximum number of players t... | 20.857143 | 70 | 0.728311 |
f97284edd30a3ae58d5a40449fff38cc5231ecde | 1,029 | c | C | util/compiler.c | yorickdewid/Lavril | 4ed8f1138a5fab3c0a7b0f066647aab04861833c | [
"MIT"
] | null | null | null | util/compiler.c | yorickdewid/Lavril | 4ed8f1138a5fab3c0a7b0f066647aab04861833c | [
"MIT"
] | null | null | null | util/compiler.c | yorickdewid/Lavril | 4ed8f1138a5fab3c0a7b0f066647aab04861833c | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#if defined(_MSC_VER) && defined(_DEBUG)
#include <crtdbg.h>
#include <conio.h>
#endif
#include <lavril.h>
#ifdef LVUNICODE
#define scfprintf fwprintf
#define scvprintf vfwprintf
#else
#define scfprintf fprintf
#define scvprintf vfprintf
#... | 18.375 | 66 | 0.709427 |
bf9072754d35eabd68baf82d621241c5a176a579 | 1,462 | h | C | GVRf/Framework/framework/src/main/jni/objects/components/bone.h | sidia-dev-team/GearVRf | d93d62d49e5fc5b55dc00a485db92ec8fe004db1 | [
"Apache-2.0"
] | 474 | 2015-03-27T17:14:43.000Z | 2022-03-30T23:10:38.000Z | GVRf/Framework/framework/src/main/jni/objects/components/bone.h | sidia-dev-team/GearVRf | d93d62d49e5fc5b55dc00a485db92ec8fe004db1 | [
"Apache-2.0"
] | 1,677 | 2015-03-28T02:00:21.000Z | 2019-10-21T13:28:44.000Z | GVRf/Framework/framework/src/main/jni/objects/components/bone.h | sidia-dev-team/GearVRf | d93d62d49e5fc5b55dc00a485db92ec8fe004db1 | [
"Apache-2.0"
] | 260 | 2015-03-27T23:55:12.000Z | 2022-03-18T03:46:41.000Z | /***************************************************************************
* Bone for skeletal animation.
***************************************************************************/
#ifndef BONE_H_
#define BONE_H_
#include <string>
#include <vector>
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"... | 21.188406 | 77 | 0.579343 |
b5ddefb1c7c95fb6cae61a78f25cc74c8b1b3cbb | 1,569 | h | C | Raven.CppClient/SetIndexesLockOperation.h | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-04-24T02:34:53.000Z | 2019-08-01T08:22:26.000Z | Raven.CppClient/SetIndexesLockOperation.h | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 2 | 2019-03-21T09:00:02.000Z | 2021-02-28T23:49:26.000Z | Raven.CppClient/SetIndexesLockOperation.h | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-03-04T11:58:54.000Z | 2021-03-01T00:25:49.000Z | #pragma once
#include "IVoidMaintenanceOperation.h"
#include "IndexLockMode.h"
namespace ravendb::client::documents::operations::indexes
{
namespace set_indexes_lock_op
{
struct Parameters
{
std::vector<std::string> index_names{};
documents::indexes::IndexLockMode mode = documents::indexes::IndexLockMode::... | 28.527273 | 118 | 0.773741 |
84ab8b97e260777d2e7318f49608d13b5d489379 | 3,438 | h | C | include/ardpolyfills/Print.h | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 4 | 2020-06-02T16:01:10.000Z | 2021-10-17T22:23:26.000Z | include/ardpolyfills/Print.h | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 76 | 2020-04-03T09:15:45.000Z | 2020-12-17T16:55:14.000Z | include/ardpolyfills/Print.h | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 1 | 2020-06-02T15:52:31.000Z | 2020-06-02T15:52:31.000Z | /*
* Print.h
* Copyright 2020 ItJustWorksTM
*
* 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 applicab... | 40.928571 | 143 | 0.666085 |
57b212cdd0c8130e2ea7ebf127dbc931de72b85d | 520 | h | C | WXWeibo/AppDelegate.h | jiandanshiyong/ZK_weibo | 20e83c81a0de341006c37d9060148bfabf0e9e69 | [
"MIT"
] | null | null | null | WXWeibo/AppDelegate.h | jiandanshiyong/ZK_weibo | 20e83c81a0de341006c37d9060148bfabf0e9e69 | [
"MIT"
] | null | null | null | WXWeibo/AppDelegate.h | jiandanshiyong/ZK_weibo | 20e83c81a0de341006c37d9060148bfabf0e9e69 | [
"MIT"
] | null | null | null | //
// AppDelegate.h
// WXWeibo
//
// Created by 张凯 on 14/2/13.
// Copyright © 2014年 www.zhangkai2014bj.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DDMenuController.h"
#import "MainViewController.h"
@class SinaWeibo;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong,... | 21.666667 | 66 | 0.761538 |
b9141876e573cd4923abc47e41e7391f629c2084 | 2,718 | h | C | cow/src/components/file_sink.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | cow/src/components/file_sink.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | cow/src/components/file_sink.h | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 Alibaba Group Holding Limited. 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
*
* ... | 25.641509 | 114 | 0.714496 |
571241e2e2a08f011228d20b8ef58bcf928bf5c3 | 4,513 | c | C | src/dbus.c | mswiger/seogi | e5c268ae8265b09a1817b3f28276dad9f38ab190 | [
"MIT"
] | null | null | null | src/dbus.c | mswiger/seogi | e5c268ae8265b09a1817b3f28276dad9f38ab190 | [
"MIT"
] | 2 | 2022-01-06T11:00:24.000Z | 2022-03-21T06:06:17.000Z | src/dbus.c | mswiger/seogi | e5c268ae8265b09a1817b3f28276dad9f38ab190 | [
"MIT"
] | null | null | null | #include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <systemd/sd-bus.h>
#include "dbus.h"
static const char *seogi_service = "dev.swiger.Seogi";
static const char *seogi_seat_manager_path = "/dev/swiger/Seogi/SeatManager";
static const char *seogi_seat_interface = "dev.swiger.Seogi.Seat";
static int fi... | 25.642045 | 110 | 0.692666 |
cb564a3eb9eb0f9123b3b66413415b79064ac01f | 3,561 | h | C | usr/libexec/fud/AUServiceShim.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | usr/libexec/fud/AUServiceShim.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | usr/libexec/fud/AUServiceShim.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "AUDaemonProtocol-Protocol.h"
#import "FudPersonalizationPlugin-Protocol.h"
#import "FudPlugin-Protocol.h"
#impo... | 51.608696 | 137 | 0.768604 |
bedfd3c1f569dc9b86d56b7bd9752015d55ed272 | 50,919 | c | C | GEMTools/src/gt_template_utils.c | MarcosFernandez/gemtools | b17c4b973e57bbceafe72b6f81b2d4395eaa3b4a | [
"CNRI-Python"
] | 14 | 2015-01-06T20:25:01.000Z | 2021-06-17T20:35:34.000Z | GEMTools/src/gt_template_utils.c | MarcosFernandez/gemtools | b17c4b973e57bbceafe72b6f81b2d4395eaa3b4a | [
"CNRI-Python"
] | 20 | 2015-01-23T15:02:35.000Z | 2020-05-17T03:25:35.000Z | GEMTools/src/gt_template_utils.c | MarcosFernandez/gemtools | b17c4b973e57bbceafe72b6f81b2d4395eaa3b4a | [
"CNRI-Python"
] | 7 | 2015-11-09T18:30:14.000Z | 2020-04-08T13:53:30.000Z | /*
* PROJECT: GEM-Tools library
* FILE: gt_template_utils.h
* DATE: 19/07/2012
* AUTHOR(S): Santiago Marco-Sola <santiagomsola@gmail.com>
* DESCRIPTION: // TODO
*/
#include "gt_template_utils.h"
/*
* Template Pair Info Setup
* PE read => template.GT_ATTR_ID_TAG_PAIR = 0, template.end1.GT_ATTR_ID_TAG_PAIR = ... | 47.060074 | 152 | 0.776154 |
7d03f4aec49f2199851353e3fb987bf12f4504be | 599 | h | C | PrivateFrameworks/CalendarUI/RemindMeCheckbox.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/CalendarUI/RemindMeCheckbox.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/CalendarUI/RemindMeCheckbox.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CalendarUI/RemindMeView.h>
@class NSButton, NSLayoutConstraint;
@interface RemindMeCheckbox : RemindMeView
{
NSButton *_checkbox;
NSLayoutConstraint *_bottomPaddi... | 24.958333 | 97 | 0.739566 |
febb4ed95ba0293d5a197537095ad7704597d802 | 428 | c | C | src/shift.c | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | src/shift.c | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | src/shift.c | gtxc/libgt | 7f32659fa0428dcdb225a0ffbf0b6482583330d6 | [
"MIT"
] | null | null | null | /*
* Created by gt on 1/6/22 - 7:00 AM.
* Copyright (c) 2022 GTXC. All rights reserved.
*/
#include <stdio.h>
#include <ctype.h>
void rate(int n, int atten) {
unsigned char adch_tmp = n >> (atten / 2);
adch_tmp = atten % 2 ? adch_tmp : adch_tmp + (adch_tmp >> 1);
printf("atten:%3i, result: %i\n", atten... | 20.380952 | 65 | 0.553738 |
7d549b382d794d3ac6d1f4f28c0665decf14dc94 | 236 | h | C | server_side/thread.h | JulienFerte/Lib-a-Lot | 9603c3e6afa7c4dac9990ee3a5322c88049d531f | [
"CC-BY-4.0"
] | null | null | null | server_side/thread.h | JulienFerte/Lib-a-Lot | 9603c3e6afa7c4dac9990ee3a5322c88049d531f | [
"CC-BY-4.0"
] | null | null | null | server_side/thread.h | JulienFerte/Lib-a-Lot | 9603c3e6afa7c4dac9990ee3a5322c88049d531f | [
"CC-BY-4.0"
] | null | null | null | #ifndef THREAD_H
#define THREAD_H
#include "h_header.h"
#define THREAD_NOT_LAUNCHED 0
#define THREAD_RUNNING 1
#define THREAD_WAITING_JOIN 2
//*** Setting the flag of termination
void tells_finished( void* );
#endif // THREAD_H
| 16.857143 | 37 | 0.758475 |
ccaed87cf181efe9e843197aa7d728c6541d8b21 | 474 | c | C | xinu2019/xinu/device/sdmc/sdmcwrite.c | fengxiaohu/xinu_version_compare | fc4c5ad661917f5feab4eaeada0a8eac83f51de9 | [
"Apache-2.0"
] | null | null | null | xinu2019/xinu/device/sdmc/sdmcwrite.c | fengxiaohu/xinu_version_compare | fc4c5ad661917f5feab4eaeada0a8eac83f51de9 | [
"Apache-2.0"
] | null | null | null | xinu2019/xinu/device/sdmc/sdmcwrite.c | fengxiaohu/xinu_version_compare | fc4c5ad661917f5feab4eaeada0a8eac83f51de9 | [
"Apache-2.0"
] | null | null | null | /* sdmcwrite.c - sdmcwrite */
#include <xinu.h>
#include <sdmc.h>
/*------------------------------------------------------------------------
* sdmcwrite - Write a buffer to an SD memory card
*------------------------------------------------------------------------
*/
devcall sdmcwrite (
struct dentry *devptr,... | 23.7 | 74 | 0.432489 |
b6d20314bdbb870c9e72593f4422f1a8cffe95a1 | 6,411 | c | C | main.c | mattn/ttyrec2gif | 7e96c6420d63cc345a0eb8d79d817bdf31ddaa26 | [
"MIT"
] | 15 | 2017-07-21T17:03:16.000Z | 2021-07-08T18:25:11.000Z | main.c | mattn/ttyrec2gif | 7e96c6420d63cc345a0eb8d79d817bdf31ddaa26 | [
"MIT"
] | null | null | null | main.c | mattn/ttyrec2gif | 7e96c6420d63cc345a0eb8d79d817bdf31ddaa26 | [
"MIT"
] | 2 | 2017-07-21T23:27:49.000Z | 2019-02-24T01:11:29.000Z | #include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <unistd.h>
#include <gd.h>
#include <gdfontl.h>
#include "vterm.h"
#define SWAP_ENDIAN(val) ((unsigned int) ( \
(((unsigned int) (val) & (unsigned int) 0x000000ffU) << 24) | \
(((unsigned int) (val) & (unsigned int) 0x0000ff00U) << 8) | \... | 23.144404 | 72 | 0.545313 |
bf0c4f98544faa8603aed9ee8ae88ac88b2bba76 | 1,775 | h | C | inc/Shape.h | davidsami/RayRay | 921eb36953735911f5c255ceab6121245615462c | [
"MIT"
] | null | null | null | inc/Shape.h | davidsami/RayRay | 921eb36953735911f5c255ceab6121245615462c | [
"MIT"
] | null | null | null | inc/Shape.h | davidsami/RayRay | 921eb36953735911f5c255ceab6121245615462c | [
"MIT"
] | null | null | null | // David Sami 2015
#ifndef SHAPE_H
#define SHAPE_H
#include "BoundingBox.h"
#include "Intersectable.h"
#include "Material.h"
#include "Math.h"
#include "Colour.h"
class Shape: Intersectable {
public:
Shape(Colour aColour, Material aMaterial, Math::Transform aTransform):
mColour(aColour),
mMateri... | 23.986486 | 82 | 0.636056 |
bf93ead79908eafc7351f46dea5ea78203fdd09b | 19,280 | h | C | src/qmf/org/apache/qpid/broker/Broker.h | gcsideal/debian-qpid-cpp | e4d034036f29408f940805f5505ae62ce89650cc | [
"Apache-2.0"
] | null | null | null | src/qmf/org/apache/qpid/broker/Broker.h | gcsideal/debian-qpid-cpp | e4d034036f29408f940805f5505ae62ce89650cc | [
"Apache-2.0"
] | null | null | null | src/qmf/org/apache/qpid/broker/Broker.h | gcsideal/debian-qpid-cpp | e4d034036f29408f940805f5505ae62ce89650cc | [
"Apache-2.0"
] | null | null | null |
#ifndef _MANAGEMENT_ORG_APACHE_QPID_BROKER_BROKER_
#define _MANAGEMENT_ORG_APACHE_QPID_BROKER_BROKER_
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownersh... | 34.676259 | 119 | 0.637085 |
db9810bb410d415d940741f6e58b4e75c3e9673b | 2,140 | c | C | src/parsing/utl/utl_fprutchn.c | Ashmouth/ProjetCA | 2b199eaca5b2ec4cff5083e1fdf095c7cd650b39 | [
"MIT"
] | 2 | 2017-09-11T19:13:06.000Z | 2020-01-20T09:05:40.000Z | src/parsing/utl/utl_fprutchn.c | Ashmouth/ProjetCA | 2b199eaca5b2ec4cff5083e1fdf095c7cd650b39 | [
"MIT"
] | null | null | null | src/parsing/utl/utl_fprutchn.c | Ashmouth/ProjetCA | 2b199eaca5b2ec4cff5083e1fdf095c7cd650b39 | [
"MIT"
] | 3 | 2017-02-08T18:01:56.000Z | 2018-10-04T21:30:08.000Z |
/* ###--------------------------------------------------------------### */
/* file : utl_fprutchn.c */
/* date : Apr 19 2004 */
/* version : v200 */
/* authors : Pirouz Bazagan Sabet */
/* description : Utility function */
/* ###--------------------------------------------------------------###... | 28.533333 | 80 | 0.399065 |
b964f43f3a966effeead709794a9b549095dd86a | 351 | h | C | bit_array.h | 0xc6/drumbot | 1682bd5c81748233dbd8a96e1a86b8f9eb024058 | [
"MIT"
] | null | null | null | bit_array.h | 0xc6/drumbot | 1682bd5c81748233dbd8a96e1a86b8f9eb024058 | [
"MIT"
] | null | null | null | bit_array.h | 0xc6/drumbot | 1682bd5c81748233dbd8a96e1a86b8f9eb024058 | [
"MIT"
] | null | null | null | /*
* bit_array.h
*
* Created on: 19.02.2013
* Author: cgries
*/
#ifndef BIT_ARRAY_H_
#define BIT_ARRAY_H_
extern void bit_arr_clear(uint8_t*, uint8_t);
extern void bit_arr_set(uint8_t*, uint8_t, uint8_t);
extern uint8_t bit_arr_get(const uint8_t*, const uint8_t);
extern void bit_arr_toggle(uint8_t*, uint8_... | 20.647059 | 58 | 0.732194 |
018b9e5f6e4f405e82b68be7661c1b5b4bbe2673 | 32,893 | c | C | Firmware/Inverter_firmware/rtcs/source/ppp/pppfsm.c | gingazov2010/Indemsys-Frequency_Inverter | 58ecce428a9cda0c2694979b16f98862bd3b0c65 | [
"MIT"
] | 30 | 2022-01-04T12:10:33.000Z | 2022-03-30T09:03:48.000Z | Firmware/Inverter_firmware/rtcs/source/ppp/pppfsm.c | nelveroi/Frequency_Inverter | db9ab280ef096efce4c367bf71676b2da668031d | [
"MIT"
] | 1 | 2022-01-05T08:44:01.000Z | 2022-01-05T08:44:01.000Z | Firmware/Inverter_firmware/rtcs/source/ppp/pppfsm.c | nelveroi/Frequency_Inverter | db9ab280ef096efce4c367bf71676b2da668031d | [
"MIT"
] | 9 | 2022-01-04T11:44:25.000Z | 2022-03-15T04:03:05.000Z | /**HEADER********************************************************************
*
* Copyright (c) 2008 Freescale Semiconductor;
* All Rights Reserved
*
* Copyright (c) 2004-2008 Embedded Access Inc.;
* All Rights Reserved
*
* Copyright (c) 1989-2008 ARC International;
* All Rights Reserved
*
****************************... | 26.022943 | 84 | 0.549995 |
a8e1b9f440aa7cd129488c3368d1ef26594fe255 | 9,353 | c | C | lib/external/wolfssl/wolfcrypt/src/port/st/stsafe.c | Koneeee1/ms-tpm-20-ref | d99419bd30a4dad7ae5bfad3c1c0d5962c188913 | [
"BSD-2-Clause"
] | 1 | 2018-10-23T06:30:14.000Z | 2018-10-23T06:30:14.000Z | third_party/wolfssl/wolfcrypt/src/port/st/stsafe.c | lovewitty/miniblink49 | c8cb0b50636915d748235eea95a57e24805dc43e | [
"Apache-2.0"
] | null | null | null | third_party/wolfssl/wolfcrypt/src/port/st/stsafe.c | lovewitty/miniblink49 | c8cb0b50636915d748235eea95a57e24805dc43e | [
"Apache-2.0"
] | null | null | null | /* stsafe.c
*
* Copyright (C) 2006-2018 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option... | 28.428571 | 86 | 0.630065 |
016c5a315745b113f8d70cba19ec51e2a411cd9c | 108 | h | C | usr/src/sys/arch/mvme88k/include/signal.h | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 2 | 2020-04-15T13:39:01.000Z | 2020-08-28T01:27:00.000Z | usr/src/sys/arch/mvme88k/include/signal.h | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | null | null | null | usr/src/sys/arch/mvme88k/include/signal.h | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 1 | 2020-08-28T01:25:41.000Z | 2020-08-28T01:25:41.000Z | /* $OpenBSD: signal.h,v 1.14 2004/04/26 14:31:11 miod Exp $ */
/* public domain */
#include <m88k/signal.h>
| 27 | 62 | 0.638889 |
f3eebae5d2131980af0fee31c7f0128677e3dc48 | 1,083 | h | C | source/EventManager.h | Verch/mirror_sync | 9b85ad9e0d52dea8cad7c720947c866f69d68243 | [
"Apache-2.0"
] | null | null | null | source/EventManager.h | Verch/mirror_sync | 9b85ad9e0d52dea8cad7c720947c866f69d68243 | [
"Apache-2.0"
] | null | null | null | source/EventManager.h | Verch/mirror_sync | 9b85ad9e0d52dea8cad7c720947c866f69d68243 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <vector>
#include <string>
#include "MyUtiles.h"
class c_Vehicle;
class cPed;
enum eTypeGameObject
{
VEHICLE = 1,
PLAYER = 2
};
class c_Event
{
public:
c_Event(int iType, int AttachToID, float x, float y, float z);
public:
int m_iType;
int m_AttachToID;
float m_fPosX;
float m_... | 15.041667 | 73 | 0.609418 |
fac0fd9c846cfc232b15a1f735676b0568235767 | 371 | h | C | src/libPac/semaphore.h | D3fau4/Pac_Utils | ce7ca81d8c22c1df8c0ac5eb7ee5d2b448627460 | [
"MIT"
] | 13 | 2017-10-24T17:59:21.000Z | 2022-03-19T12:47:42.000Z | src/libPac/semaphore.h | D3fau4/Pac_Utils | ce7ca81d8c22c1df8c0ac5eb7ee5d2b448627460 | [
"MIT"
] | null | null | null | src/libPac/semaphore.h | D3fau4/Pac_Utils | ce7ca81d8c22c1df8c0ac5eb7ee5d2b448627460 | [
"MIT"
] | 3 | 2020-06-14T00:25:44.000Z | 2022-03-19T12:47:34.000Z | #pragma once
#include <mutex>
#include <condition_variable>
namespace lib_pac
{
class semaphore
{
std::mutex mutex;
std::condition_variable cond;
uint32_t count;
public:
explicit semaphore(uint32_t max);
void notify();
void wait();
};
class critical_section {
semaphore &sem;
public:
critical_s... | 13.740741 | 35 | 0.703504 |
435f4a39d0e5a64db52fbf984e10032458ba269d | 1,550 | c | C | PartThree/col13/q13_2a.c | sujimodern/Programming-Pearls | 354c6d4e3b7149b1b0fdac442610b7d3776f1131 | [
"MIT"
] | null | null | null | PartThree/col13/q13_2a.c | sujimodern/Programming-Pearls | 354c6d4e3b7149b1b0fdac442610b7d3776f1131 | [
"MIT"
] | null | null | null | PartThree/col13/q13_2a.c | sujimodern/Programming-Pearls | 354c6d4e3b7149b1b0fdac442610b7d3776f1131 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
enum { room_for_sentinel = 1 };
typedef struct intset intset;
struct intset {
int* _set;
size_t maxelements;
size_t maxval;
size_t size;
};
intset* intset_new(size_t maxelements, size_t maxval) {
intset* is = malloc(sizeof *is);
*is = (intset){
._set = malloc((m... | 20.945946 | 68 | 0.6 |
1ac10be89a877a038edeb5362a438ebffa44c4b6 | 798 | h | C | WizardWar/TimerSyncService.h | seanhess/wizardwar | 43cfa4a9fddc29f17838ebd32247c9b21c4bae3d | [
"MIT"
] | 101 | 2015-01-02T07:54:32.000Z | 2021-12-05T15:44:53.000Z | WizardWar/TimerSyncService.h | ycaihua/wizardwar | 43cfa4a9fddc29f17838ebd32247c9b21c4bae3d | [
"MIT"
] | null | null | null | WizardWar/TimerSyncService.h | ycaihua/wizardwar | 43cfa4a9fddc29f17838ebd32247c9b21c4bae3d | [
"MIT"
] | 44 | 2015-01-09T08:41:04.000Z | 2021-01-15T03:08:55.000Z | //
// TimerSyncService.h
// WizardWar
//
// Created by Sean Hess on 5/29/13.
// Copyright (c) 2013 The LAB. All rights reserved.
//
// NOTE: There is no way you should EVER connect to more than one match at a time.
// make this global to error check for you
// you MUST remember to call disconnect!
#import <Founda... | 28.5 | 121 | 0.753133 |
d185e25692d36148dd06f503d3288d27114f74e1 | 6,248 | h | C | Base/PLCore/include/PLCore/Base/ClassReal.h | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Base/PLCore/include/PLCore/Base/ClassReal.h | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Base/PLCore/include/PLCore/Base/ClassReal.h | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: ClassReal.h *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 40.836601 | 142 | 0.544654 |
d0fb3f2f3b04e62c6d48f960ac4371e7c8ffbc5b | 2,566 | c | C | codebefore/2016.7.22.2.c | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | codebefore/2016.7.22.2.c | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | codebefore/2016.7.22.2.c | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<malloc.h>
#include<math.h>
char dictionary[10005][20];
char check_words[55][20];
int lend[10005];
int lenc[55];
int m,n;
void check(int num){
int flag=0;
int i,j;
printf("%s",check_words[num]);
for(i=0;i<m;i++){
if(strcmp(check_wor... | 22.508772 | 58 | 0.344505 |
191d1ddd22ed7b2835c810e3dce5cd4f51ac0450 | 7,763 | h | C | contrib/epee/include/net/http_protocol_handler.h | mihailafix/test | 98921747cf5dde0bebe1eec20bff43bb53ccff83 | [
"BSD-3-Clause"
] | 1 | 2018-08-10T11:58:02.000Z | 2018-08-10T11:58:02.000Z | contrib/epee/include/net/http_protocol_handler.h | mihailafix/test | 98921747cf5dde0bebe1eec20bff43bb53ccff83 | [
"BSD-3-Clause"
] | null | null | null | contrib/epee/include/net/http_protocol_handler.h | mihailafix/test | 98921747cf5dde0bebe1eec20bff43bb53ccff83 | [
"BSD-3-Clause"
] | 5 | 2018-06-26T11:19:29.000Z | 2019-11-24T19:50:38.000Z | // Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net
// 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
// not... | 33.606061 | 128 | 0.69316 |
659fa844504e7f1fa9f7122fd6d7a5e55f3da66e | 186 | h | C | zxdTestCore/test2.h | zxd2997910686/zxdTestLib | f6aed124a4a83c3870350e8b63f10e6b0e19f7fd | [
"MIT"
] | null | null | null | zxdTestCore/test2.h | zxd2997910686/zxdTestLib | f6aed124a4a83c3870350e8b63f10e6b0e19f7fd | [
"MIT"
] | null | null | null | zxdTestCore/test2.h | zxd2997910686/zxdTestLib | f6aed124a4a83c3870350e8b63f10e6b0e19f7fd | [
"MIT"
] | null | null | null | //
// test2.h
// zxdTestLib
//
// Created by zxd on 16/11/12.
// Copyright © 2016年 zxd. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface test2 : NSObject
@end
| 13.285714 | 47 | 0.655914 |
d66ec3dbf395c87f5bcbe77cba04a4fbc7ddb43a | 81,530 | h | C | sstmac/replacements/fixIntrinsics.h | jjwilke/sst-macro | d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9 | [
"BSD-Source-Code"
] | null | null | null | sstmac/replacements/fixIntrinsics.h | jjwilke/sst-macro | d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9 | [
"BSD-Source-Code"
] | null | null | null | sstmac/replacements/fixIntrinsics.h | jjwilke/sst-macro | d5139c0e2e6c0055bd2ef6dc9ac565a6ec1fd4d9 | [
"BSD-Source-Code"
] | null | null | null | #ifndef sstmac_replacements_fix_intrinsics_h
#define sstmac_replacements_fix_intrinsics_h
#define __is_aggregate(x) true
#define __has_unique_object_representations(x) true
/** functions that are static in gcc and not static in clang
change their names temporarily to get clang to not freak out */
#define __rdtsc ... | 39.424565 | 71 | 0.780964 |
c5f094de6d82c8a566a72e31bb39830153158d4b | 3,049 | h | C | src/cpp/flann/mpi/queries.h | jerrycxj/flann | 1d04523268c388dabf1c0865d69e1b638c8c7d9d | [
"BSD-3-Clause"
] | 1,396 | 2015-01-02T20:05:22.000Z | 2021-04-10T20:18:54.000Z | src/cpp/flann/mpi/queries.h | zcmacbeth/flann | 06a49513138009d19a1f4e0ace67fbff13270c69 | [
"BSD-3-Clause"
] | 237 | 2015-02-20T18:50:16.000Z | 2022-01-18T05:21:48.000Z | src/cpp/flann/mpi/queries.h | zcmacbeth/flann | 06a49513138009d19a1f4e0ace67fbff13270c69 | [
"BSD-3-Clause"
] | 495 | 2015-01-02T20:05:28.000Z | 2021-04-12T07:36:41.000Z | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2011 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2011 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* Redistribution and use in source and bi... | 29.317308 | 79 | 0.706789 |
a9d4b23ea78501175f5ce14999ff4818e9e8ac00 | 500 | c | C | workspace/uclibc-ng-master/libc/sysdeps/linux/common/close.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | workspace/uclibc-ng-master/libc/sysdeps/linux/common/close.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | workspace/uclibc-ng-master/libc/sysdeps/linux/common/close.c | maydali28/toolchain-cross-compile | 254cfed3074532ff01c63259b4ea43b1cdf8b968 | [
"MIT"
] | null | null | null | /*
* close() for uClibc
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#include <unistd.h>
#include <cancel.h>
#define __NR___close_nocancel __NR_close
_syscall1(int, __NC(close), int, fd)
#... | 23.809524 | 74 | 0.752 |
e738ec06c7650e4503fa796b0552c049562b7bed | 440 | h | C | Bathchat/Bathchat.h | bathchat/bathchat | f7df7bef8b752caad5dbbabeed4a8e80b205277d | [
"MIT"
] | 1 | 2015-01-06T09:29:47.000Z | 2015-01-06T09:29:47.000Z | Bathchat/Bathchat.h | bathchat/bathchat | f7df7bef8b752caad5dbbabeed4a8e80b205277d | [
"MIT"
] | null | null | null | Bathchat/Bathchat.h | bathchat/bathchat | f7df7bef8b752caad5dbbabeed4a8e80b205277d | [
"MIT"
] | null | null | null | //
// Bathchat.h
// Bathchat
//
// Created by Derek Schultz on 4/26/14.
// Copyright (c) 2014 Bathchat LLC. All rights reserved.
//
#ifndef Bathchat_Bathchat_h
#define Bathchat_Bathchat_h
#import <CoreLocation/CoreLocation.h>
#import <Parse/Parse.h>
#import <UIKit/UIKit.h>
#import "BCDefines.h"
#import "BCViewCo... | 19.130435 | 57 | 0.745455 |
a15c6ac97f89d6e1a17777323ff225dd5053def9 | 3,121 | h | C | hhcards/Classes/PokerStateDeal.h | duhone/HeadstoneHarryCards | 1a08d671835c659e543faca238a5661b4b59262f | [
"MIT"
] | 1 | 2020-02-06T16:11:02.000Z | 2020-02-06T16:11:02.000Z | hhcards/Classes/PokerStateDeal.h | duhone/HeadstoneHarryCards | 1a08d671835c659e543faca238a5661b4b59262f | [
"MIT"
] | null | null | null | hhcards/Classes/PokerStateDeal.h | duhone/HeadstoneHarryCards | 1a08d671835c659e543faca238a5661b4b59262f | [
"MIT"
] | null | null | null | /*
* PokerStateDeal.h
* hhcards
*
* Created by Eric Duhon on 3/8/10.
* Copyright 2010 Apple Inc. All rights reserved.
*
*/
#pragma once
#include "PokerHand.h"
#include "Graphics.h"
#include "PokerState.h"
#include "Timer.h"
#include "Math.h"
namespace CR
{
namespace HHCards
{
template<typename DeckType... | 25.373984 | 144 | 0.658122 |
a2b00a050d6c055f5b22dd93050b63e171f5af17 | 945 | h | C | wmic_visual/Source/Model/Memory.h | leandrocadete/hardware_info | 58ce08799ca5e1c3ab196991739d7cfc4f758f33 | [
"MIT"
] | null | null | null | wmic_visual/Source/Model/Memory.h | leandrocadete/hardware_info | 58ce08799ca5e1c3ab196991739d7cfc4f758f33 | [
"MIT"
] | null | null | null | wmic_visual/Source/Model/Memory.h | leandrocadete/hardware_info | 58ce08799ca5e1c3ab196991739d7cfc4f758f33 | [
"MIT"
] | null | null | null | #ifndef MEMORY_H
#define MEMORY_H
#include <list>
#include "win32.h"
#include "PhysicalMemory.h"
class Memory {
private:
uint64_t maxSize;
uint64_t freeSpace;
uint64_t usage;
list<PhysicalMemory*> memories;
void calculate() {
list<PhysicalMemory*>::iterator iter;
list<PhysicalMemory*>::iterator endIter;
... | 21.976744 | 68 | 0.69418 |
c830fea8c6f24ccfd0b100349c3270959c78af4c | 334 | h | C | source/Core/Debugger/moeDebugger.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | source/Core/Debugger/moeDebugger.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | source/Core/Debugger/moeDebugger.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | #ifndef MOE_DEBUGGER_H_
#define MOE_DEBUGGER_H_
#ifndef MOE_SHIPPING
#include "Monocle_Core_Export.h"
namespace moe
{
bool IsDebuggerPresent();
// DebugBreak returns false only so ASSERT can be used in an if...
bool Monocle_Core_API DebugBreak();
}
#endif // MOE_SHIPPING
#endif // MO... | 17.578947 | 70 | 0.706587 |
c8620c9918fecd8f6a9c2cd1ee19bb17547d37f7 | 129 | h | C | 3rdparties/macos/sdl/include/SDL_test_memory.h | slowbrowser/slowbowser | ee644b46fa9d7266fca75ec77296ed00fce30902 | [
"MIT"
] | null | null | null | 3rdparties/macos/sdl/include/SDL_test_memory.h | slowbrowser/slowbowser | ee644b46fa9d7266fca75ec77296ed00fce30902 | [
"MIT"
] | 15 | 2022-03-14T22:08:18.000Z | 2022-03-18T14:40:06.000Z | 3rdparties/macos/sdl/include/SDL_test_memory.h | slowbrowser/slowbrowser | ee644b46fa9d7266fca75ec77296ed00fce30902 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:58eed9203063f53ce4543450bc0ceab761f3873109beb8342ab7ad8a1249d893
size 1787
| 32.25 | 75 | 0.883721 |
838e70c4afdf58c8e67fc2328bb31101962e730c | 895 | h | C | owGame/DBC/Tables/DBC_CharacterFacialHairStyles.h | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | 30 | 2017-09-02T20:25:47.000Z | 2021-12-31T10:12:07.000Z | owGame/DBC/Tables/DBC_CharacterFacialHairStyles.h | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | null | null | null | owGame/DBC/Tables/DBC_CharacterFacialHairStyles.h | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | 23 | 2018-02-04T17:18:33.000Z | 2022-03-22T09:45:36.000Z | #pragma once
#include "DBC/DBC__File.h"
DBC_DEF_BEGIN(DBC_CharacterFacialHairStyles)
#if WOW_CLIENT_VERSION == WOW_CLASSIC_1_12_1
__DBC_TVALUE(uint32, Race, 1);
__DBC_TVALUE(uint32, Gender, 2);
__DBC_TVALUE(uint32, Variation, 3);
__DBC_TVALUE(uint32, Group_01xx, 4); // BeardGeoset
__DBC_TVALUE(uint32, Group_03xx, 5... | 29.833333 | 55 | 0.778771 |
d3f408699ffa1db37451e1e3b37702eafc73bac2 | 534 | h | C | ionAnimation/CLinearSplineInterpolator.h | iondune/ionEngine | 7ce3394dafbabf0e0bb9f5d07dbfae31161800d4 | [
"MIT"
] | 36 | 2015-06-28T14:53:06.000Z | 2021-10-31T04:26:53.000Z | ionAnimation/CLinearSplineInterpolator.h | iondune/ionEngine | 7ce3394dafbabf0e0bb9f5d07dbfae31161800d4 | [
"MIT"
] | 90 | 2015-05-01T07:21:43.000Z | 2017-08-30T01:16:41.000Z | ionAnimation/CLinearSplineInterpolator.h | iondune/ionEngine | 7ce3394dafbabf0e0bb9f5d07dbfae31161800d4 | [
"MIT"
] | 9 | 2016-04-08T07:48:02.000Z | 2019-07-22T15:13:53.000Z |
#pragma once
#include "ISplineInterpolator.h"
namespace ion
{
namespace Animation
{
template <typename T>
class CLinearSplineInterpolator : public ISplineInterpolator<T>
{
public:
virtual T Interpolate(ISpline<T> const & Path, int const Index, float const Mu);
};
template ... | 17.8 | 104 | 0.653558 |
2334bf8a650a16a35d5849a4b6c309d5f19eb1f1 | 830 | c | C | linsched-linsched-alpha/arch/arm/kernel/pmu.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 47 | 2015-03-10T23:21:52.000Z | 2022-02-17T01:04:14.000Z | linsched-linsched-alpha/arch/arm/kernel/pmu.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 1 | 2017-05-26T04:28:56.000Z | 2017-08-13T12:12:31.000Z | linsched-linsched-alpha/arch/arm/kernel/pmu.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | /*
* linux/arch/arm/kernel/pmu.c
*
* Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
* Copyright (C) 2010 ARM Ltd, Will Deacon
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foun... | 22.432432 | 71 | 0.748193 |
234def531a06041fb63b1a48adbebe43225fbb3e | 637 | c | C | EXAMS/2015-02-25/q2.c | samueleallegranza/polimi-info | 66947c3c5b4a8d14def53194ee7d6b0f6088ffb6 | [
"MIT"
] | null | null | null | EXAMS/2015-02-25/q2.c | samueleallegranza/polimi-info | 66947c3c5b4a8d14def53194ee7d6b0f6088ffb6 | [
"MIT"
] | null | null | null | EXAMS/2015-02-25/q2.c | samueleallegranza/polimi-info | 66947c3c5b4a8d14def53194ee7d6b0f6088ffb6 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(int argc, char * argv[]) {
float real, max, min, avg, sum;
int count;
scanf("%f", &real);
if(real != 0) {
max = real; min = real;
sum = real; count = 1;
scanf("%f", &real);
while(real != 0) {
count++;
su... | 21.965517 | 68 | 0.403454 |
23b16f5e6383a332f31b5e23fc8673dc5a252a11 | 4,722 | h | C | dali-toolkit/internal/visuals/wireframe/wireframe-visual.h | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali-toolkit/internal/visuals/wireframe/wireframe-visual.h | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-19T15:47:43.000Z | 2020-10-19T15:47:43.000Z | dali-toolkit/internal/visuals/wireframe/wireframe-visual.h | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #ifndef DALI_TOOLKIT_INTERNAL_WIREFRAME_VISUAL_H
#define DALI_TOOLKIT_INTERNAL_WIREFRAME_VISUAL_H
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 27.940828 | 131 | 0.726811 |
fcd32cd2c2f2370809a8727377054068778d5f66 | 135 | h | C | src/util/cartesian.h | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | src/util/cartesian.h | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | src/util/cartesian.h | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | #ifndef SP_UTIL_UTIL_CARTESION_H
#define SP_UTIL_UTIL_CARTESION_H
namespace sp {
// TODO in(arr,arr2,[](A1*one,A2*two){});
}
#endif
| 13.5 | 41 | 0.733333 |
b337c2f2707b639908c0499b7ea3c38a32379ae4 | 165 | c | C | C/URI 1006.c | LGUSTM/URI | 553c62270aa7dd3f42ff0241ec5c190ef7eaa5b8 | [
"MIT"
] | null | null | null | C/URI 1006.c | LGUSTM/URI | 553c62270aa7dd3f42ff0241ec5c190ef7eaa5b8 | [
"MIT"
] | null | null | null | C/URI 1006.c | LGUSTM/URI | 553c62270aa7dd3f42ff0241ec5c190ef7eaa5b8 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main() {
float x,y,z;
scanf("%f %f %f", &x, &y, &z);
printf("MEDIA = %.1f\n", (x*2+y*3+z*5)/(2+3+5));
return 0;
}
| 13.75 | 52 | 0.418182 |
e7e05585e33cf4e3bc69c8780fd53c6167da1c69 | 17,614 | c | C | contrib/SDL-1.2.15/src/cdrom/aix/SDL_syscdrom.c | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 33 | 2020-11-20T16:38:43.000Z | 2021-10-17T04:21:44.000Z | contrib/SDL-1.2.15/src/cdrom/aix/SDL_syscdrom.c | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 2 | 2020-11-21T00:32:37.000Z | 2020-11-23T17:38:26.000Z | contrib/SDL-1.2.15/src/cdrom/aix/SDL_syscdrom.c | CronosTs/phobos3d | c0336456d946f3a9e62fb9b7815831ad32820da5 | [
"Zlib"
] | 5 | 2017-09-12T14:41:50.000Z | 2019-11-18T03:04:41.000Z | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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 of the License, or (at your op... | 26.647504 | 103 | 0.585216 |
1b383d43f1f1e094f94e98bfc12227b3a9f52355 | 2,391 | h | C | src/sources/PhotonWindow.h | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | 4 | 2017-06-13T22:51:50.000Z | 2019-04-19T20:02:27.000Z | src/sources/PhotonWindow.h | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | null | null | null | src/sources/PhotonWindow.h | waddlesplash/Photon | a93eeed8c156bde5f3721f74ebe7c21aa7e12459 | [
"BSD-3-Clause"
] | 1 | 2020-10-26T09:00:17.000Z | 2020-10-26T09:00:17.000Z | #ifndef NAT_WINDOW_H
#define NAT_WINDOW_H
#include "PrefWindow.h"
#include "CreateWindow.h"
#include "CurveWindow.h"
#include "LimitLevelsWindow.h"
#include "SaveAsPanel.h"
#include "PhotonView.h"
#include "ProgressWin.h"
#include "share.h"
#include "LoadSavePanels.h"
#include "PaperWindow.h"
#include "BrushWindow.h... | 20.092437 | 88 | 0.737348 |
537ab603110b88550032cf49d8a7c6a354c3f09a | 18,271 | c | C | contrib/gnu/binutils/dist/bfd/plugin.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2021-05-04T17:09:06.000Z | 2021-10-04T07:19:26.000Z | contrib/gnu/binutils/dist/bfd/plugin.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | contrib/gnu/binutils/dist/bfd/plugin.c | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | /* Plugin support for BFD.
Copyright (C) 2009-2020 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Fou... | 26.13877 | 97 | 0.722949 |
9bc27a0717ae6ba537a02f14954f9edea920ac3a | 489 | h | C | src/StripController/stripper/Logger.h | anatoly-kryzhanovsky/Pulsar | 4f7481c2260c200c97a687f72eef6064db009cda | [
"MIT"
] | null | null | null | src/StripController/stripper/Logger.h | anatoly-kryzhanovsky/Pulsar | 4f7481c2260c200c97a687f72eef6064db009cda | [
"MIT"
] | null | null | null | src/StripController/stripper/Logger.h | anatoly-kryzhanovsky/Pulsar | 4f7481c2260c200c97a687f72eef6064db009cda | [
"MIT"
] | null | null | null | #ifndef __LOGGER_H__
#define __LOGGER_H__
class Logger
{
public:
static const int LevelNone = 0;
static const int LevelTrace = 1;
static const int LevelInfo = 2;
static const int LevelWarning = 4;
static const int LevelError = 8;
private:
char* _buffer;
int _level;
public:
Logger(int boundRate);
~Logge... | 16.862069 | 35 | 0.711656 |
4b0d1970e80efa1e95b7f6731d2ed1f0a080a625 | 30,989 | c | C | gpdb/contrib/postgis/topology/sql/populate.sql.in.c | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | gpdb/contrib/postgis/topology/sql/populate.sql.in.c | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gpdb/contrib/postgis/topology/sql/populate.sql.in.c | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--
-- PostGIS - Spatial Types for PostgreSQL
-- http://postgis.refractions.net
--
-- Copyright (C) 2010-2012 Sandro Santilli <strk@keybit.net>
--
-- This is free software; you can redistribute and/or modify it under
-- the terms of the GNU Genera... | 28.274635 | 174 | 0.66117 |
17177e24a33e6544f9dc2e9b5507622541e54cab | 5,245 | h | C | DataStructures/Geometry/Point.h | kit-algo/ULTRA-Transfer-Time | 49b6ed196daf64269f1521052d9dced0447521e2 | [
"MIT"
] | null | null | null | DataStructures/Geometry/Point.h | kit-algo/ULTRA-Transfer-Time | 49b6ed196daf64269f1521052d9dced0447521e2 | [
"MIT"
] | null | null | null | DataStructures/Geometry/Point.h | kit-algo/ULTRA-Transfer-Time | 49b6ed196daf64269f1521052d9dced0447521e2 | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
#include <ostream>
#include <sstream>
#include "../../Helpers/Helpers.h"
#include "../../Helpers/Types.h"
#include "../../Helpers/ConstructorTags.h"
namespace Geometry {
class Point {
public:
// Constructors
Point() : latitude(0.0), longitude(0.0) {}
Point(const Construct:... | 28.198925 | 152 | 0.583794 |
c0acae9e110331bfa563ecb8dfe69e768f045812 | 1,763 | h | C | CZFToolDemo/CZFToolDemo/CZFTool/NSDate+CZFTools.h | MacleChen/CZFTool | 524eae6b1d38b909926a0f7177185a1f6a6db58d | [
"MIT"
] | null | null | null | CZFToolDemo/CZFToolDemo/CZFTool/NSDate+CZFTools.h | MacleChen/CZFTool | 524eae6b1d38b909926a0f7177185a1f6a6db58d | [
"MIT"
] | null | null | null | CZFToolDemo/CZFToolDemo/CZFTool/NSDate+CZFTools.h | MacleChen/CZFTool | 524eae6b1d38b909926a0f7177185a1f6a6db58d | [
"MIT"
] | null | null | null | //
// NSDate+CZFTools.h
// CZFToolDemo
//
// Created by 陈帆 on 2018/2/9.
// Copyright © 2018年 陈帆. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate (CZFTools)
/**
* 根据一个过去的时间与现在时间做对比,获取间隔多少分钟
*
* @param oldDate 过去时间
*
* @return 差值多少秒
*/
+ (long)getMinuteByOldDateBetweenNowDate:... | 19.163043 | 137 | 0.707317 |
a5b9502240888a18654cdd315755fd91e1214e59 | 1,725 | h | C | dataset/source/SARD/SARD-4/114869/CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_81.h | kppw99/enVAS | 99a92411c21241f7030b3c3b697c4161aaaf852b | [
"Apache-2.0"
] | 28 | 2017-01-20T15:25:54.000Z | 2020-03-17T00:28:31.000Z | testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_81.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 1 | 2017-01-20T15:26:27.000Z | 2018-08-20T00:55:37.000Z | testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_81.h | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 2 | 2019-07-15T19:07:04.000Z | 2019-09-07T14:21:04.000Z | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_81.h
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-81.tmpl.h
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routine... | 30.263158 | 168 | 0.795942 |
a5e688fe68ea2f2c45618aac952ab6c484f5ea75 | 526 | c | C | ompi/mca/fs/ime/fs_ime_file_sync.c | itemko-tester/ompi | 3f11c8ef6cb52fab8a2a7ff1776e7de3527d5948 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/mca/fs/ime/fs_ime_file_sync.c | itemko-tester/ompi | 3f11c8ef6cb52fab8a2a7ff1776e7de3527d5948 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/mca/fs/ime/fs_ime_file_sync.c | itemko-tester/ompi | 3f11c8ef6cb52fab8a2a7ff1776e7de3527d5948 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /*
* Copyright (c) 2018 DataDirect Networks. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ime_native.h"
#include "ompi_config.h"
#include "fs_ime.h"
#include "mpi.h"
#include "ompi/constants.h"
#include "ompi/mca/fs/fs.h"
int mca_fs_ime_file_sync (omp... | 15.939394 | 68 | 0.636882 |
9908f256626885a7e93cd059cf746e14409d689c | 5,096 | c | C | linux-2.6.0/drivers/s390/scsi/zfcp_sysfs_driver.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | 1 | 2020-11-10T12:47:02.000Z | 2020-11-10T12:47:02.000Z | linux-2.6.0/drivers/s390/scsi/zfcp_sysfs_driver.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | linux-2.6.0/drivers/s390/scsi/zfcp_sysfs_driver.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | /*
* linux/drivers/s390/scsi/zfcp_sysfs_driver.c
*
* FCP adapter driver for IBM eServer zSeries
*
* sysfs driver related routines
*
* Copyright (C) 2003 IBM Entwicklung GmbH, IBM Corporation
* Authors:
* Martin Peschke <mpeschke@de.ibm.com>
* Heiko Carstens <heiko.carstens@de.ibm.com>
*
* This program ... | 39.8125 | 79 | 0.566523 |
126ff7977afa4a3c603450b6681fb4856e541ac2 | 2,268 | c | C | solutions/1-22-fold.c | pedrohasantiago/c-language-solutions | 950c6e85d46a73fb82ff3d8eb6e20be11bac2fa9 | [
"Unlicense"
] | null | null | null | solutions/1-22-fold.c | pedrohasantiago/c-language-solutions | 950c6e85d46a73fb82ff3d8eb6e20be11bac2fa9 | [
"Unlicense"
] | null | null | null | solutions/1-22-fold.c | pedrohasantiago/c-language-solutions | 950c6e85d46a73fb82ff3d8eb6e20be11bac2fa9 | [
"Unlicense"
] | null | null | null | /** Folds long input lines into two or more shorter lines
* after the last non-blank character that occurs before
* the n-th column of input.
*/
#include <stdio.h>
#define DEBUG 0
#define MAX_LINE_LEN 1000
#define MAX_COLUMN 10
#define TRUE 1
#define FALSE 0
int getLine(char[], int);
void fold(char[], char[], int)... | 29.076923 | 91 | 0.471781 |
8f78227d84553304eecd4d37b16f8364fe41934c | 14,383 | c | C | cgoua_api.c | ByteFlinger/cgoopc | 91c90d61c5ebff0529bf1d68ef75a49b6202fa7b | [
"MIT"
] | 2 | 2018-06-21T14:01:28.000Z | 2020-11-28T03:01:40.000Z | cgoua_api.c | ByteFlinger/cgoopc | 91c90d61c5ebff0529bf1d68ef75a49b6202fa7b | [
"MIT"
] | 1 | 2018-06-14T08:37:48.000Z | 2018-06-21T14:43:20.000Z | cgoua_api.c | FlexLink/cgoopc | 42c0749d9bb57aa6bed9907e4918195b9db4e6d4 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "open62541.h"
#include "cgoua_api.h"
#include "_cgo_export.h"
inline int IsStringEqual(const char *a, const char *b) {
while (*a == *b) {
if (*a == '\0') return 1;
a++;
b++;
}
return 0;
}
size_t strlstchar(const char *str, const char ch) {
char *chpt... | 37.358442 | 151 | 0.600362 |
e94699baa16ac62423417846a422ebb4518810db | 1,819 | h | C | StRoot/StEvent/StSvtBarrelHitCollection.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StEvent/StSvtBarrelHitCollection.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StEvent/StSvtBarrelHitCollection.h | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | /*!
* \class StSvtBarrelHitCollection
* \author Thomas Ullrich, Feb 2000
*/
/***************************************************************************
*
* $Id: StSvtBarrelHitCollection.h,v 2.3 2002/02/22 22:56:50 jeromel Exp $
*
* Author: Thomas Ullrich, Feb 2000
*********************************************... | 31.362069 | 77 | 0.590434 |
6a17b03d6b61a0af76188bdc9feb5adabe92dd9c | 9,156 | h | C | QYHCustomView/Classes/CustomView/QYHAlertView/QYHAlertView.h | qiuyh/CustomView | 6d8d3f5ce6dc59063cdbbc7471f95a0932fd9b41 | [
"MIT"
] | 1 | 2021-03-18T05:38:15.000Z | 2021-03-18T05:38:15.000Z | QYHCustomView/Classes/CustomView/QYHAlertView/QYHAlertView.h | qiuyh/CustomView | 6d8d3f5ce6dc59063cdbbc7471f95a0932fd9b41 | [
"MIT"
] | null | null | null | QYHCustomView/Classes/CustomView/QYHAlertView/QYHAlertView.h | qiuyh/CustomView | 6d8d3f5ce6dc59063cdbbc7471f95a0932fd9b41 | [
"MIT"
] | null | null | null | //
// QYHAlertView.h
// QYHProgressHUD
//
// Created by saj-king on 2020/4/7.
// Copyright © 2020 SAJ. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface QYHAlertView : UIView
/**
可以自由更改以下控件的属性
*/
@property (nonatomic, strong) UIColor *dimBackgroundColor;//背景颜色
@property (nonato... | 41.808219 | 83 | 0.664045 |
3ac31bfd5ca4555a1d0291c40b1fd7e003e7903f | 2,255 | c | C | src/cc1/constant/constant.c | tomtix/bcc | 480bdfc69cbc289da45902689b5c878c0f861776 | [
"Apache-2.0"
] | 3 | 2020-04-06T08:42:18.000Z | 2020-10-27T17:31:39.000Z | src/cc1/constant/constant.c | tomtix/bcc | 480bdfc69cbc289da45902689b5c878c0f861776 | [
"Apache-2.0"
] | null | null | null | src/cc1/constant/constant.c | tomtix/bcc | 480bdfc69cbc289da45902689b5c878c0f861776 | [
"Apache-2.0"
] | null | null | null | #include <string.h>
#include "./constant.h"
#include "./string_literal.h"
#include "../type/type.h"
#include "../util/error.h"
static struct constant *constant_new(enum constant_type type)
{
struct constant *c;
c = calloc(sizeof*c, 1);
c->constant_type = type;
return c;
}
static struct constant *cons... | 22.326733 | 66 | 0.673614 |
5fbce55fb4880a30419d1e8846e6476989532353 | 657 | h | C | src/qt/viewer/viewer.h | UNI-shibuya-taku/depth_clustering | eb4fdf83dc414ecde816554e874c7c1b7f878267 | [
"MIT"
] | 756 | 2018-05-22T08:16:02.000Z | 2022-03-30T08:47:52.000Z | src/qt/viewer/viewer.h | UNI-shibuya-taku/depth_clustering | eb4fdf83dc414ecde816554e874c7c1b7f878267 | [
"MIT"
] | 62 | 2018-07-13T21:19:30.000Z | 2022-02-21T02:23:30.000Z | src/qt/viewer/viewer.h | UNI-shibuya-taku/depth_clustering | eb4fdf83dc414ecde816554e874c7c1b7f878267 | [
"MIT"
] | 274 | 2018-05-31T07:37:09.000Z | 2022-03-30T17:04:00.000Z | // Copyright (C) 2020 I. Bogoslavskyi, C. Stachniss
//
// GNU-GPL licence that follows one of libQGLViewer.
#ifndef SRC_QT_VIEWER_VIEWER_H_
#define SRC_QT_VIEWER_VIEWER_H_
#include <QGLViewer/qglviewer.h>
#include <mutex>
#include <vector>
#include "qt/drawables/drawable.h"
class Viewer : public QGLViewer {
publ... | 20.53125 | 61 | 0.729072 |
38b3c2da1987ee3de900b72a5486a0e621246836 | 487 | h | C | Engine/Graphics/GXM/GXMIndexBuffer.h | guimeixen/Engine | fcea39d2099b613b32b20462586e1c932bbb24fc | [
"MIT"
] | null | null | null | Engine/Graphics/GXM/GXMIndexBuffer.h | guimeixen/Engine | fcea39d2099b613b32b20462586e1c932bbb24fc | [
"MIT"
] | 17 | 2021-03-12T18:19:07.000Z | 2021-08-06T21:25:35.000Z | Engine/Graphics/GXM/GXMIndexBuffer.h | guimeixen/Engine | fcea39d2099b613b32b20462586e1c932bbb24fc | [
"MIT"
] | null | null | null | #pragma once
#include "Graphics/Buffers.h"
#include "psp2/types.h"
namespace Engine
{
class GXMIndexBuffer : public Buffer
{
public:
GXMIndexBuffer(const void *data, unsigned int size, BufferUsage usage);
~GXMIndexBuffer();
void BindTo(unsigned int bindingIndex) override;
void Update(const void *data, uns... | 20.291667 | 73 | 0.73922 |
1696318514e5f92f663deaa6490ca6b7aaff60c5 | 1,658 | h | C | src/utility.h | ATh0m/SimpleHexRiskGame | 9e2f08cab510a7916effe9a0a248b7c1bf928488 | [
"MIT"
] | 1 | 2017-11-11T23:37:58.000Z | 2017-11-11T23:37:58.000Z | src/utility.h | ATh0m/SimpleHexRiskGame | 9e2f08cab510a7916effe9a0a248b7c1bf928488 | [
"MIT"
] | null | null | null | src/utility.h | ATh0m/SimpleHexRiskGame | 9e2f08cab510a7916effe9a0a248b7c1bf928488 | [
"MIT"
] | null | null | null | #ifndef SIMPLEHEXRISKGAME_UTILITY_H
#define SIMPLEHEXRISKGAME_UTILITY_H
#include "defs.h"
enum State {
CREATE,
START,
REINFORCEMENT,
MOVE,
WIN
};
enum Race {
NEUTRAL,
ENEMY,
ALLY
};
typedef struct Color {
Uint8 r, g, b, a;
} Color;
/**
* Tworzenie struktury {Color}
*/
Color cr... | 16.254902 | 80 | 0.677322 |
753e0950a3649e1af0d7f312cc7d0eeb5f7663c3 | 3,648 | c | C | marching_cube/model/cffi/src/occupancy_connectivity.c | YiyiLiao/deep_marching_cubes | afcad99742435eb0d57d32770befed74faaad2ab | [
"Unlicense"
] | 206 | 2018-06-17T19:52:12.000Z | 2022-03-16T02:29:57.000Z | marching_cube/model/cffi/src/occupancy_connectivity.c | ClarenceHoo/deep_marching_cubes | 6fce0b26d110a6c839b6d46ea2ab67b5bdb470b2 | [
"Unlicense"
] | 5 | 2019-04-18T06:27:11.000Z | 2020-11-02T20:06:22.000Z | marching_cube/model/cffi/src/occupancy_connectivity.c | ClarenceHoo/deep_marching_cubes | 6fce0b26d110a6c839b6d46ea2ab67b5bdb470b2 | [
"Unlicense"
] | 32 | 2018-06-18T09:33:34.000Z | 2022-03-01T12:22:43.000Z | #include <TH/TH.h>
#include <stdio.h>
#include <math.h>
/*
* Forward function, regularize the neighboring occupancy status to be close
* params:
* occupancy input, (W+1)x(H+1)x(D+1)
* loss output, connectivity loss
*
*/
int occupancy_connectivity_forward( THFloatTensor *occupancy, THFloatTensor... | 31.721739 | 123 | 0.596217 |
d4d3f4c0728146427b8a2853a0c350e87f583d74 | 593 | h | C | modules/task_2/rachin_i_mult_mat_by_vec/mult_mat_by_vec.h | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | 1 | 2020-10-30T13:49:58.000Z | 2020-10-30T13:49:58.000Z | modules/task_2/rachin_i_mult_mat_by_vec/mult_mat_by_vec.h | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | 1 | 2020-11-01T18:53:35.000Z | 2020-11-01T18:53:35.000Z | modules/task_2/rachin_i_mult_mat_by_vec/mult_mat_by_vec.h | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | 1 | 2021-03-14T18:08:22.000Z | 2021-03-14T18:08:22.000Z | // Copyright 2020 Rachin Igor
#ifndef MODULES_TASK_2_RACHIN_I_MULT_MAT_BY_VEC_MULT_MAT_BY_VEC_H_
#define MODULES_TASK_2_RACHIN_I_MULT_MAT_BY_VEC_MULT_MAT_BY_VEC_H_
#include <vector>
#include <string>
std::vector<int> getRandomMatrix(int rows, int clmns);
std::vector<int> getRandomVector(int vsize);
std::vector<int> g... | 42.357143 | 110 | 0.804384 |
d9dbc46375d182def55271bade972411a57c4e95 | 4,507 | h | C | STEER/ESD/AliESDADfriend.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | STEER/ESD/AliESDADfriend.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | STEER/ESD/AliESDADfriend.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | #ifndef ALIESDADFRIEND_H
#define ALIESDADFRIEND_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
///////////////////////////////////////////////////////////////////////////////
///
/// This is a class for containi... | 41.731481 | 111 | 0.601509 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.