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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4ab898c0188f53bfefc9de32f87453d66e6ce322 | 12,588 | c | C | hal/modules/Startrampe-TOSV_v1.0.c | trinamic/TOSV-Firmware | 5a7547d4f7651b12cb6d42ffa7a5a11b241601fc | [
"MIT"
] | 3 | 2020-04-18T01:47:30.000Z | 2021-07-26T15:58:18.000Z | hal/modules/Startrampe-TOSV_v1.0.c | trinamic/TOSV-Firmware | 5a7547d4f7651b12cb6d42ffa7a5a11b241601fc | [
"MIT"
] | null | null | null | hal/modules/Startrampe-TOSV_v1.0.c | trinamic/TOSV-Firmware | 5a7547d4f7651b12cb6d42ffa7a5a11b241601fc | [
"MIT"
] | 1 | 2020-10-05T21:49:02.000Z | 2020-10-05T21:49:02.000Z | /*
* Startrampe-TOSV.c
*
* Created on: 31.03.2020
* Author: ED
*/
#include "BLDC.h"
#include "Startrampe-TOSV_v1.0.h"
#if DEVICE==STARTRAMPE_TOSV_V10
// general module settings
const char *VersionString="0020V101";
uint32_t PLL_M = 8;
uint32_t PLL_N = 120;
// ADC configuration
#define A... | 31.949239 | 157 | 0.75564 |
602202a5bb5ccb31fa07d9045e8a1889ba82119c | 406 | h | C | Example/BSFrameworks/Function/DemoGroup/SuanFa/Calculation/BSFibonacciSequence.h | BlackStarLang/BSFrameWork | b2ba9a2f926df7cb9f8cd86018c44b04a2a86990 | [
"MIT"
] | 17 | 2020-10-20T02:30:36.000Z | 2022-03-16T08:23:58.000Z | Example/BSFrameworks/Function/DemoGroup/SuanFa/Calculation/BSFibonacciSequence.h | BlackStarLang/BSFrameWork | b2ba9a2f926df7cb9f8cd86018c44b04a2a86990 | [
"MIT"
] | 2 | 2021-09-14T08:37:21.000Z | 2021-12-09T08:15:13.000Z | Example/BSFrameworks/Function/DemoGroup/SuanFa/Calculation/BSFibonacciSequence.h | BlackStarLang/BSFrameWork | b2ba9a2f926df7cb9f8cd86018c44b04a2a86990 | [
"MIT"
] | 2 | 2020-09-18T10:12:55.000Z | 2022-02-17T12:13:47.000Z | //
// BSFibonacciSequence.h
// BSFrameworks_Example
//
// Created by 叶一枫 on 2021/3/5.
// Copyright © 2021 blackstar_lang@163.com. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
// 斐波那契 数列
@interface BSFibonacciSequence : NSObject
/// 输出 Fn(n) 斐波那契数组 (n = 0 , array[0] = 1)
+(N... | 17.652174 | 65 | 0.731527 |
6d4bc4fac12bf61f495a8555b14847cbd656ca4e | 501 | c | C | gcc-gcc-7_3_0-release/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do run } */
#include <stdlib.h>
#define THRESHOLD 20
#pragma omp declare target
int fib (int n)
{
if (n <= 0)
return 0;
else if (n == 1)
return 1;
else
return fib (n - 1) + fib (n - 2);
}
#pragma omp end declare target
int fib_wrapper (int n)
{
int x = 0;
#pragma omp target if(n > THR... | 13.540541 | 50 | 0.548902 |
7a6cc6444ab07b34f8afcac1e93680a19f90bbb2 | 5,583 | h | C | Code/Applications/regseg.h | xiaochengcike/RegSeg | e2cff93ef4f195bfd59c518e047cf8f37560b6a8 | [
"MIT"
] | 14 | 2016-05-16T08:47:04.000Z | 2022-01-07T14:57:16.000Z | Code/Applications/regseg.h | xiaochengcike/RegSeg | e2cff93ef4f195bfd59c518e047cf8f37560b6a8 | [
"MIT"
] | 5 | 2016-01-24T02:52:55.000Z | 2017-10-18T02:13:15.000Z | Code/Applications/regseg.h | oesteban/RegSeg | e2cff93ef4f195bfd59c518e047cf8f37560b6a8 | [
"MIT"
] | 8 | 2015-12-24T21:13:43.000Z | 2022-03-25T00:06:35.000Z | // This file is part of RegSeg
//
// Copyright 2014-2017, Oscar Esteban <code@oscaresteban.es>
//
// 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 ... | 41.977444 | 90 | 0.712878 |
7a7a83e286f77843df4cc5a3ecc48d54ca56f653 | 3,624 | c | C | protocol/arms_res_builder.c | seil-smf/libarms | 5cc1c07b729ccf4a39d144b961e723093cc063f2 | [
"BSD-2-Clause"
] | 2 | 2015-10-29T05:43:48.000Z | 2015-10-29T05:43:51.000Z | protocol/arms_res_builder.c | seil-smf/libarms | 5cc1c07b729ccf4a39d144b961e723093cc063f2 | [
"BSD-2-Clause"
] | null | null | null | protocol/arms_res_builder.c | seil-smf/libarms | 5cc1c07b729ccf4a39d144b961e723093cc063f2 | [
"BSD-2-Clause"
] | null | null | null | /* $Id: arms_res_builder.c 20800 2012-01-19 05:13:45Z m-oki $ */
/*
* Copyright (c) 2012, Internet Initiative Japan, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... | 28.992 | 78 | 0.701711 |
9e384740ff5add0ddbc60750707d90accdd9f41e | 6,666 | c | C | sys/src/cmd/pic/main.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | 1 | 2021-03-23T22:40:43.000Z | 2021-03-23T22:40:43.000Z | sys/src/cmd/pic/main.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | sys/src/cmd/pic/main.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | 1 | 2021-12-21T06:19:58.000Z | 2021-12-21T06:19:58.000Z | #include <stdio.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include "pic.h"
#include "y.tab.h"
obj **objlist = 0; /* store the elements here */
int nobjlist = 0; /* size of objlist array */
int nobj = 0;
Attr *attr; /* attributes stored here as collected */
int nattrlist = 0;
int nattr = 0; /* n... | 23.72242 | 86 | 0.573507 |
9e9ec3e30ce02bdc2330b922381beadea74fac39 | 1,094 | h | C | Source/FactoryGame/UndefinedBool.h | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/UndefinedBool.h | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/UndefinedBool.h | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | #pragma once
#include "UObject/Class.h"
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
/** A bool that can be undefined */
UENUM()
enum class EUndefinedBool : uint8
{
UB_Undefined = 0, // MODDING EDIT (= 0)
UB_False = 1, // MODDING EDIT (= 1)
UB_True = 2 // MODDING EDIT (= 2)
};
inline bool oper... | 19.192982 | 63 | 0.657221 |
fa36f1b259773a943a734f45f0f038522bbbcfbb | 195 | h | C | server/server/route.h | moonlight8978/network_programming_20171 | b255f39c776ae48d8aa21e70a1cb0a8dc8fa38cc | [
"MIT"
] | null | null | null | server/server/route.h | moonlight8978/network_programming_20171 | b255f39c776ae48d8aa21e70a1cb0a8dc8fa38cc | [
"MIT"
] | null | null | null | server/server/route.h | moonlight8978/network_programming_20171 | b255f39c776ae48d8aa21e70a1cb0a8dc8fa38cc | [
"MIT"
] | null | null | null | #include "stdafx.h"
void define_routes() {
ROUTES[0].path = "/idols";
ROUTES[0].get = true;
ROUTES[0].post = true;
ROUTES[1].path = "/";
ROUTES[1].get = true;
TOTAL_ROUTES = 2;
}
| 13.928571 | 28 | 0.584615 |
9a89261dcd2a6b71f005a63fff8a67541c34d5d4 | 4,817 | c | C | arch/x86/kernel/x86_init.c | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | null | null | null | arch/x86/kernel/x86_init.c | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | null | null | null | arch/x86/kernel/x86_init.c | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | null | null | null | /*
* Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de>
*
* For licencing details see kernel-base/COPYING
*/
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/export.h>
#include <linux/pci.h>
#include <asm/acpi.h>
#include <asm/bios_ebda.h>
#include <asm/paravirt.h>
#include <asm/pci_x86.h>
#... | 26.179348 | 80 | 0.757318 |
36f7b9d44764673105489faf60c06baee5178d3f | 372 | h | C | prj/src/PrecHeader.h | ujoychou/eco | 4845b42799f62a591fb36ae20fa5b7b06ef12761 | [
"MIT"
] | 8 | 2018-04-08T08:37:36.000Z | 2022-01-31T16:14:34.000Z | prj/src/PrecHeader.h | ujoychou/eco | 4845b42799f62a591fb36ae20fa5b7b06ef12761 | [
"MIT"
] | 1 | 2021-12-22T22:02:35.000Z | 2021-12-22T22:05:20.000Z | prj/src/PrecHeader.h | ujoychou/eco | 4845b42799f62a591fb36ae20fa5b7b06ef12761 | [
"MIT"
] | 2 | 2018-04-08T08:56:34.000Z | 2018-09-03T11:17:44.000Z | #ifndef PREC_HEADER_H
#define PREC_HEADER_H
////////////////////////////////////////////////////////////////////////////////
#include <vector>
#include <iostream>
#include <eco/Type.h>
#include <eco/log/Log.h>
#include <eco/Implement.h>
#include <eco/thread/Thread.h>
//////////////////////////////////////////////////... | 28.615385 | 80 | 0.427419 |
3c12ea7c4f648164efd3ae489288ad452d1b44c6 | 1,225 | c | C | arch/arm/memcpy-neon-register.c | maemo-tools-old/sp-mem-throughput | b95a3d5b52d06be8b168731f239f2f50c631d064 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T06:45:17.000Z | 2021-11-11T06:45:17.000Z | arch/arm/memcpy-neon-register.c | maemo-tools-old/sp-mem-throughput | b95a3d5b52d06be8b168731f239f2f50c631d064 | [
"BSD-3-Clause"
] | null | null | null | arch/arm/memcpy-neon-register.c | maemo-tools-old/sp-mem-throughput | b95a3d5b52d06be8b168731f239f2f50c631d064 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T06:45:23.000Z | 2021-11-11T06:45:23.000Z | /* This file is part of sp-mem-throughput.
*
* Copyright (C) 2010 by Nokia Corporation
*
* Authors: Siarhei Siamashka <siarhei.siamashka@nokia.com>
* Contact: Eero Tamminen <eero.tamminen@nokia.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | 35 | 79 | 0.751837 |
d2133a54f4db518f391dab73327558581d69bca6 | 29 | h | C | busybox-1.28.0/include/config/udhcp/debug.h | HenryLong/Android_busybox | 2feaa19e13f3dc226396627869629ae7672002d1 | [
"Apache-2.0"
] | null | null | null | busybox-1.28.0/include/config/udhcp/debug.h | HenryLong/Android_busybox | 2feaa19e13f3dc226396627869629ae7672002d1 | [
"Apache-2.0"
] | null | null | null | busybox-1.28.0/include/config/udhcp/debug.h | HenryLong/Android_busybox | 2feaa19e13f3dc226396627869629ae7672002d1 | [
"Apache-2.0"
] | null | null | null | #define CONFIG_UDHCP_DEBUG 9
| 14.5 | 28 | 0.862069 |
c55b348ae8561a2c4da804f3eb50eebb73c267da | 1,498 | h | C | Example/Pods/Headers/Private/Vuforia_LatestVersion/VideoBackgroundTextureInfo.h | pzhtpf/Vuforia_LatestVersion | 99f7cb2cde3a42089d4a5362fe3c4d6889484bba | [
"MIT"
] | 1 | 2018-07-16T16:10:58.000Z | 2018-07-16T16:10:58.000Z | Example/Pods/Headers/Private/Vuforia_LatestVersion/VideoBackgroundTextureInfo.h | pzhtpf/Vuforia_LatestVersion | 99f7cb2cde3a42089d4a5362fe3c4d6889484bba | [
"MIT"
] | null | null | null | Example/Pods/Headers/Private/Vuforia_LatestVersion/VideoBackgroundTextureInfo.h | pzhtpf/Vuforia_LatestVersion | 99f7cb2cde3a42089d4a5362fe3c4d6889484bba | [
"MIT"
] | null | null | null | /*===============================================================================
Copyright (c) 2015-2016 PTC Inc. All Rights Reserved.
Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved.
Vuforia is a trademark of PTC Inc., registered in the United States and other
countries.
@file
... | 28.264151 | 81 | 0.649533 |
682aca00906578ce428bd24077d1eaf9c6bf2b80 | 508 | h | C | cudaPrograms/runnercuda.h | CristobalM/FastHOGGPU | d593607dde3124a1dc87f21c0686753380f0da50 | [
"MIT"
] | null | null | null | cudaPrograms/runnercuda.h | CristobalM/FastHOGGPU | d593607dde3124a1dc87f21c0686753380f0da50 | [
"MIT"
] | null | null | null | cudaPrograms/runnercuda.h | CristobalM/FastHOGGPU | d593607dde3124a1dc87f21c0686753380f0da50 | [
"MIT"
] | null | null | null |
#ifndef PROJECT_RUNNER_CUDA_H
#define PROJECT_RUNNER_CUDA_H
#include <cstddef>
#include <memory>
#include <opencv2/core/mat.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "ISVMManagerGPU.h"
#include "IImageManagerGPU.h"
using uchar = unsigned ch... | 22.086957 | 80 | 0.78937 |
d0ab6185d6fc10eb3cbad6b531347e4b44601d25 | 1,315 | h | C | chrome/browser/sync/send_tab_to_self_sync_service_factory.h | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/browser/sync/send_tab_to_self_sync_service_factory.h | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/browser/sync/send_tab_to_self_sync_service_factory.h | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SYNC_SEND_TAB_TO_SELF_SYNC_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SYNC_SEND_TAB_TO_SELF_SYNC_SERVICE_FACTORY_H_
#include "base/... | 30.581395 | 83 | 0.828137 |
fdaaadff95c1170fd9b745783977c03ad171600b | 6,823 | c | C | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56990_b0/bcm56990_b0_lrd_vfi_ing_egr_member_ports_profile_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56990_b0/bcm56990_b0_lrd_vfi_ing_egr_member_ports_profile_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56990_b0/bcm56990_b0_lrd_vfi_ing_egr_member_ports_profile_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from
* INTERNAL/fltg/xgs/vfi/bcm56990_b0/bcm56990_b0_VFI_ING_EGR_MEMBER_PORTS_PROFILE.map.ltl for
* bcm56990_b0
*
* Tool: $SDK/INTERNAL/fltg/bin/fltg
*
* Edi... | 35.536458 | 226 | 0.661879 |
a90fea62e12cedcfb6f1ac51652642ed9d0737fd | 5,463 | h | C | System/Library/PrivateFrameworks/HealthDaemon.framework/HDHealthEntity.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/PrivateFrameworks/HealthDaemon.framework/HDHealthEntity.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/HealthDaemon.framework/HDHealthEntity.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:49:34 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/HealthDaemon.framework/HealthDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 b... | 84.046154 | 347 | 0.787846 |
a9b3644791eda5e620ac60b4041bb67e831aa215 | 21,512 | c | C | src/hg/liftAgp/liftAgp.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 171 | 2015-04-22T15:16:02.000Z | 2022-03-18T20:21:53.000Z | src/hg/liftAgp/liftAgp.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 60 | 2016-10-03T15:15:06.000Z | 2022-03-30T15:21:52.000Z | src/hg/liftAgp/liftAgp.c | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 80 | 2015-04-16T10:39:48.000Z | 2022-03-29T16:36:30.000Z | /* Program to lift tracks that have nearly the same agp, but slightly
different. Initially designed for chr21 and chr22 which are starting
to accumulate ticky tack changes. A fair bit of this code was stolen from
hgLoadBed. */
/* Copyright (C) 2014 The Regents of the University of California
* See kent/LIC... | 28.568393 | 139 | 0.668232 |
8017493e4c4789a21c6ace36e671c7c161cbf4c5 | 5,696 | c | C | vm_primitives.c | tramdas/memstatpoller | 38fbb15efc9b28db508d21ef557c89b4b29fd94e | [
"BSD-3-Clause"
] | null | null | null | vm_primitives.c | tramdas/memstatpoller | 38fbb15efc9b28db508d21ef557c89b4b29fd94e | [
"BSD-3-Clause"
] | null | null | null | vm_primitives.c | tramdas/memstatpoller | 38fbb15efc9b28db508d21ef557c89b4b29fd94e | [
"BSD-3-Clause"
] | null | null | null | #include "vm_primitives.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <mach/mach_host.h>
/*
* This is what the vm_statistics structure looks like in xnu-2422.1.72 :
*/
//struct vm_statistics64 {
// natural_t free_count; /* # of pages free */
// natural_t active_count; /* # of pages active ... | 26.12844 | 113 | 0.721559 |
a2873341899b098d8d70e3c87e197af782b1fa78 | 644 | h | C | FacialAnimationSystem/playBackManager.h | jdg534/FYP_POST_HANDIN | 367e3eed3a7594ffb08b3e1eb8a7104b46af14cc | [
"MIT"
] | null | null | null | FacialAnimationSystem/playBackManager.h | jdg534/FYP_POST_HANDIN | 367e3eed3a7594ffb08b3e1eb8a7104b46af14cc | [
"MIT"
] | null | null | null | FacialAnimationSystem/playBackManager.h | jdg534/FYP_POST_HANDIN | 367e3eed3a7594ffb08b3e1eb8a7104b46af14cc | [
"MIT"
] | null | null | null | #ifndef _PLAYBACK_MANAGER_H_
#define _PLAYBACK_MANAGER_H_
#include <fmod.hpp>
#include <vector>
class PlayBackManager // manages audio playback
{
public:
~PlayBackManager();
bool isInitialised()
{
return m_initialised;
}
bool init();
void shutdown();
FMOD::System * getSoundSystemPtr()
{
return m_so... | 13.702128 | 47 | 0.72205 |
317608a57c6379935e2705febc5d40e8e32422cd | 570 | h | C | src/ucm/util/ucm_config.h | ybwang1cbs/ucx | 1c650ec2f9b0fbee4b8b1ba74942994d62a4436a | [
"BSD-3-Clause"
] | 1 | 2020-04-29T07:43:41.000Z | 2020-04-29T07:43:41.000Z | src/ucm/util/ucm_config.h | ybwang1cbs/ucx | 1c650ec2f9b0fbee4b8b1ba74942994d62a4436a | [
"BSD-3-Clause"
] | 129 | 2020-04-27T15:59:39.000Z | 2022-03-31T18:31:56.000Z | src/ucm/util/ucm_config.h | ybwang1cbs/ucx | 1c650ec2f9b0fbee4b8b1ba74942994d62a4436a | [
"BSD-3-Clause"
] | 2 | 2021-11-30T12:26:06.000Z | 2021-11-30T12:38:19.000Z | /**
* Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#ifndef UCM_UTIL_CONFIG_H_
#define UCM_UTIL_CONFIG_H_
#include <ucs/config/types.h>
#include <ucs/debug/log.h>
#include <stdio.h>
typedef struct ucm_config {
ucs_log_level_t log_level;
int ... | 20.357143 | 76 | 0.670175 |
319899017eeada0cb1d163e63cfbf1ab95dea1d1 | 388 | c | C | projects/MPI/hardway/MPI_name.c | jskyzero/C.Playground | 4a89e688b2e89942a157d3e32babd7a4a35c54ad | [
"MIT"
] | null | null | null | projects/MPI/hardway/MPI_name.c | jskyzero/C.Playground | 4a89e688b2e89942a157d3e32babd7a4a35c54ad | [
"MIT"
] | null | null | null | projects/MPI/hardway/MPI_name.c | jskyzero/C.Playground | 4a89e688b2e89942a157d3e32babd7a4a35c54ad | [
"MIT"
] | null | null | null | #include <mpi.h>
#include <stdio.h>
int main(int argc, char **argv) {
int len;
char name[MPI_MAX_PROCESSOR_NAME];
MPI_Init(&argc, &argv);
// int MPI_Get_processor_name ( char *name, int *resultlen)
// char *name : 实际节点的唯一说明字;
// int *resultlen:在name中返回结果的长度;
MPI_Get_processor_name(name, &len);
printf... | 21.555556 | 61 | 0.667526 |
d94c36c3fb1de50ad53996298079f9c15ed0dbfb | 2,003 | h | C | src/printers/printer.h | cppan/cppan | b4bbdf5e56f9d237f2820301152b7024ca10907b | [
"Apache-2.0"
] | 117 | 2016-03-14T08:26:32.000Z | 2021-12-09T10:17:34.000Z | src/printers/printer.h | fuyanbin/cppan | 77e0f8d6f3e372cd191e9b3af1704403f824c0de | [
"Apache-2.0"
] | 55 | 2016-06-30T10:01:27.000Z | 2019-08-10T19:18:37.000Z | src/printers/printer.h | fuyanbin/cppan | 77e0f8d6f3e372cd191e9b3af1704403f824c0de | [
"Apache-2.0"
] | 25 | 2017-04-21T06:38:17.000Z | 2022-02-02T05:02:25.000Z | /*
* Copyright (C) 2016-2017, Egor Pugin
*
* 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 agree... | 27.067568 | 84 | 0.738392 |
d96072eb3aa860ffa8625a4c233596c25a60d84c | 1,505 | c | C | aed2 codebench/lista4 - recursividade/questao6.c | RodSalg/PROJECTS-IN-C--AEDI-AND-AEDII- | b49b660c85f7d6e1e17bce1c14501e7a4bcefe39 | [
"MIT"
] | 2 | 2021-08-18T15:49:10.000Z | 2021-08-20T14:39:00.000Z | aed2 codebench/lista4 - recursividade/questao6.c | RodSalg/PROJECTS-IN-C--AEDI-AND-AEDII- | b49b660c85f7d6e1e17bce1c14501e7a4bcefe39 | [
"MIT"
] | null | null | null | aed2 codebench/lista4 - recursividade/questao6.c | RodSalg/PROJECTS-IN-C--AEDI-AND-AEDII- | b49b660c85f7d6e1e17bce1c14501e7a4bcefe39 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
void funcao(int a, int b);
void repete(int a, int b);
bool zero(int x){
if(x == 0 ){
return true;
}
return false;
}
int incr(int x){
return x + 1;
}
int decr(int x){
return x - 1;
}
int incrementa_n(int a, int cont){
//... | 14.754902 | 51 | 0.431894 |
c17981d63511e3ef4b1d3e43b03e77944dad1f6b | 36,022 | c | C | src/cli/ofp_cli.c | ybbh/ofp | 1d6f0f92fd6c7e3da2fc9b221766b5717d760d74 | [
"BSD-3-Clause"
] | null | null | null | src/cli/ofp_cli.c | ybbh/ofp | 1d6f0f92fd6c7e3da2fc9b221766b5717d760d74 | [
"BSD-3-Clause"
] | null | null | null | src/cli/ofp_cli.c | ybbh/ofp | 1d6f0f92fd6c7e3da2fc9b221766b5717d760d74 | [
"BSD-3-Clause"
] | null | null | null | /*-
* Copyright (c) 2014 ENEA Software AB
* Copyright (c) 2014 Nokia
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <netinet/in.h>
#incl... | 18.939012 | 89 | 0.596108 |
1eb807b16ff30173d9e1cd971429d72f8e12a989 | 338 | h | C | source/procedural_objects/translate.h | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 12 | 2019-04-16T17:35:53.000Z | 2020-04-12T14:37:27.000Z | source/procedural_objects/translate.h | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 47 | 2019-05-27T15:24:43.000Z | 2020-04-27T17:54:54.000Z | source/procedural_objects/translate.h | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | null | null | null | #pragma once
#include "procedural_operation.h"
namespace pagoda
{
class Translate : public ProceduralOperation
{
public:
static const std::string s_inputGeometry;
static const std::string s_outputGeometry;
Translate(ProceduralObjectSystemPtr objectSystem);
virtual ~Translate();
void DoWork() override;
};
} //... | 17.789474 | 51 | 0.781065 |
145263be1ca22ad9836572f1b1fb6c4bbe0bd98f | 3,394 | h | C | include/corolib/auto_reset_event.h | JohanVanslembrouck/corolib | 0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9 | [
"MIT"
] | 1 | 2021-08-19T13:49:01.000Z | 2021-08-19T13:49:01.000Z | include/corolib/auto_reset_event.h | JohanVanslembrouck/corolib | 0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9 | [
"MIT"
] | null | null | null | include/corolib/auto_reset_event.h | JohanVanslembrouck/corolib | 0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9 | [
"MIT"
] | null | null | null | /**
* @file auto_reset_event.h
* @brief
* Defines an event that can be used to resume a waiting coroutine1 from another coroutine, coroutine2.
* Instead of coroutine1 co_awaiting on the awaitable returned by coroutine2,
* coroutine1 can pass an auto_reset_event as argument to coroutine2.
* coroutine1 then co_awai... | 32.32381 | 127 | 0.564231 |
88bec014bc9bb763bb3903ef2b50d65d27de853f | 36,917 | c | C | Microchip/TCPIP Stack/WiFi/WFConsoleIwconfig.c | wenyizou/RIC-Segway-Project | 16a61fbc60fb409578e29722f57022f254480c03 | [
"BSD-3-Clause"
] | null | null | null | Microchip/TCPIP Stack/WiFi/WFConsoleIwconfig.c | wenyizou/RIC-Segway-Project | 16a61fbc60fb409578e29722f57022f254480c03 | [
"BSD-3-Clause"
] | null | null | null | Microchip/TCPIP Stack/WiFi/WFConsoleIwconfig.c | wenyizou/RIC-Segway-Project | 16a61fbc60fb409578e29722f57022f254480c03 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
MRF24W Driver iwconfig
Module for Microchip TCP/IP Stack
-Provides access to MRF24W WiFi controller
-Reference: MRF24W Data sheet, IEEE 802.11 Standard
*******************************************************************************
... | 29.114353 | 125 | 0.544654 |
1560199c1efb1a0c21bfbe547e2bfec7df4c9470 | 8,685 | c | C | rock/external/xserver/hw/xwin/winrandr.c | NovasomIndustries/Utils-2019.01 | ab6d48edc03363f3ee4f1e9efc5269fdecfe35a8 | [
"MIT"
] | 2 | 2019-04-20T14:21:56.000Z | 2019-06-14T07:17:22.000Z | rock/external/xserver/hw/xwin/winrandr.c | NovasomIndustries/Utils-2019.07 | 4a41062e0f50c1f97cb37df91457672ce386516d | [
"MIT"
] | null | null | null | rock/external/xserver/hw/xwin/winrandr.c | NovasomIndustries/Utils-2019.07 | 4a41062e0f50c1f97cb37df91457672ce386516d | [
"MIT"
] | 1 | 2021-07-11T14:36:00.000Z | 2021-07-11T14:36:00.000Z | /*
*Copyright (C) 2001-2004 Harold L Hunt II All Rights Reserved.
*Copyright (C) 2009-2010 Jon TURNEY
*
*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
*wit... | 30.051903 | 82 | 0.650086 |
4b5e34d3d514d96f3f3ec890fcef194d42e64fcb | 1,234 | h | C | low_level_controller/vehicle_atmega2560_firmware/watchdog.h | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 9 | 2020-06-24T11:22:15.000Z | 2022-01-13T14:14:13.000Z | low_level_controller/vehicle_atmega2560_firmware/watchdog.h | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 1 | 2021-05-10T13:48:04.000Z | 2021-05-10T13:48:04.000Z | low_level_controller/vehicle_atmega2560_firmware/watchdog.h | Durrrr95/cpm_lab | e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67 | [
"MIT"
] | 2 | 2021-11-08T11:59:29.000Z | 2022-03-15T13:50:54.000Z | /**
* \file watchdog.h
*
* \date Created: 6/21/2019 13:35:35
* \author: cfrauzem
*
* \brief The watchdog of the low_level_controller, which can be accessed via this module,
* controls the state of the vehicle. If the watchdog is enabled and the
* low_level_controller didn't get up-to-date informa... | 24.68 | 92 | 0.712318 |
bbb9ed2127680de154e42c5458179989b627fe99 | 689 | h | C | Tutorial/myui/bdui/bdui/views/Input/KFDSTextView.h | Bytedesk/bytedesk-ios | f4ed1bec53ae4841abd27e18d68f0e92fdfabcf4 | [
"MIT"
] | 7 | 2019-05-16T07:40:58.000Z | 2020-12-26T16:16:05.000Z | Tutorial/myui/bdui/bdui/views/Input/KFDSTextView.h | pengjinning/bytedesk-ios | 65f7a949c5d184af467bfc384fc73ca84673cc26 | [
"MIT"
] | 1 | 2019-04-07T06:10:17.000Z | 2019-04-08T02:46:46.000Z | Tutorial/myui/bdui/bdui/views/Input/KFDSTextView.h | pengjinning/bytedesk-ios | 65f7a949c5d184af467bfc384fc73ca84673cc26 | [
"MIT"
] | 3 | 2019-06-09T12:52:54.000Z | 2020-04-10T05:43:28.000Z | //
// CSTextView.h
// feedback
//
// Created by 宁金鹏 on 2017/2/22.
// Copyright © 2017年 宁金鹏. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KFDSTextView : UITextView
/**
* textView最大行数
*/
@property (nonatomic, assign) NSUInteger maxNumberOfLines;
/**
* 文字高度改变block → 文字高度改变会自动调用
* block参数(text)... | 16.404762 | 97 | 0.683599 |
9ddaf355b3cfa93f16a989831c8b8eb618a03bc0 | 12,342 | c | C | mdm-helper/mdm_helper.c | BlissRoms-Devices/device_lge_g4-common | f09460f17786b76981f1c7f5d5a66bbec4a8d511 | [
"FTL"
] | 8 | 2017-11-21T00:59:17.000Z | 2021-01-25T15:26:57.000Z | mdm-helper/mdm_helper.c | LGgFour/android_device_lge_g4-common | 249c05705b0759fe811962475f4bd1d71d248b03 | [
"FTL"
] | 3 | 2017-11-22T07:12:28.000Z | 2021-01-13T10:26:32.000Z | mdm-helper/mdm_helper.c | LGgFour/android_device_lge_g4-common | 249c05705b0759fe811962475f4bd1d71d248b03 | [
"FTL"
] | 20 | 2017-10-03T01:28:21.000Z | 2021-03-21T07:57:02.000Z | /*
*mdm_helper: A module to monitor modem activities on fusion devices
*
*Copyright (C) 2012,2014 Qualcomm Technologies, Inc. All rights reserved.
* Qualcomm Technologies Proprietary/GTDR
*
*All data and information contained in or disclosed by this document is
*confidential and proprietary in... | 26.484979 | 81 | 0.669989 |
8bb43abd3b7e8fe4f7fa8cd509b5939ec88526c9 | 4,407 | h | C | source/blender/blenlib/BLI_ghash.h | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | source/blender/blenlib/BLI_ghash.h | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | source/blender/blenlib/BLI_ghash.h | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | /*
* $Id: BLI_ghash.h 39316 2011-08-12 02:23:06Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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 Foundation; either version 2
* of the Lice... | 27.716981 | 98 | 0.705015 |
eb6e3cd2d62cd4f86fdbbe7c82958aab9036d001 | 1,491 | c | C | source/gtk/init/init_changtype.c | kassisdion/Raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | 1 | 2015-02-17T03:26:16.000Z | 2015-02-17T03:26:16.000Z | source/gtk/init/init_changtype.c | kassisdion/raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | null | null | null | source/gtk/init/init_changtype.c | kassisdion/raytracer | ef18d5dc84c838f45e6d2a938dbdcd6acb549d8a | [
"MIT"
] | null | null | null | /*
** init_changtype.c for init_changtype in /home/caron/git/generaytacer/source/gtk/init
**
** Made by Caron Thomas
** Login <caron_t@epitech.net>
**
** Started on Mon May 20 17:41:04 2013 Caron Thomas
** Last update Tue Jun 4 02:47:59 2013 florian faisant
*/
#include <gtk/gtk.h>
#include "gen.h"
#include "c... | 26.625 | 86 | 0.649229 |
55725d54ad16c56df70a0fc86312909ad19dd376 | 452 | h | C | MISC/APE/include/inttypes.h | aryx/principia-softwarica | 4191ace48c70d7e70ef0002b27324c3a766f7672 | [
"LPL-1.02"
] | null | null | null | MISC/APE/include/inttypes.h | aryx/principia-softwarica | 4191ace48c70d7e70ef0002b27324c3a766f7672 | [
"LPL-1.02"
] | null | null | null | MISC/APE/include/inttypes.h | aryx/principia-softwarica | 4191ace48c70d7e70ef0002b27324c3a766f7672 | [
"LPL-1.02"
] | null | null | null | #ifndef _SUSV2_SOURCE
#error "inttypes.h is SUSV2"
#endif
#ifndef _INTTYPES_H_
#define _INTTYPES_H_ 1
typedef int _intptr_t;
typedef unsigned int _uintptr_t;
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
ty... | 18.833333 | 36 | 0.818584 |
1d18fef7d0a4471a061936cad416203affa12a95 | 833 | c | C | globaltime.c | kwasmich/GLES2Playground | 95ec30a7bcd040ebdc4bfabb5d4c76b1844a3cf5 | [
"MIT"
] | 5 | 2015-01-11T11:44:18.000Z | 2019-02-23T03:35:08.000Z | globaltime.c | kwasmich/GLES2Playground | 95ec30a7bcd040ebdc4bfabb5d4c76b1844a3cf5 | [
"MIT"
] | null | null | null | globaltime.c | kwasmich/GLES2Playground | 95ec30a7bcd040ebdc4bfabb5d4c76b1844a3cf5 | [
"MIT"
] | null | null | null | //
// globaltime.c
// GlobalTime
//
// Created by Michael Kwasnicki on 25.01.15.
// Copyright (c) 2015 Michael Kwasnicki. All rights reserved.
//
#include "globaltime.h"
#include <stddef.h>
#include <sys/time.h>
static struct timeval s_relativeZero;
static float s_time = 0;
static float s_timeDelta = 0;
void... | 15.145455 | 72 | 0.659064 |
b1f14665034057aef80d4e9dfdca555af647c4ee | 2,608 | h | C | ui/message_center/views/notification_header_view.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ui/message_center/views/notification_header_view.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ui/message_center/views/notification_header_view.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_HEADER_VIEW_H_
#define UI_MESSAGE_CENTER_VIEWS_NOTIFICATION_HEADER_VIEW_H_
#include "base/macros.h"
#include... | 32.197531 | 78 | 0.778374 |
df8a2836defc1df42f477a1a7125cfc5115e7c89 | 1,041 | h | C | src/vl53l0x_i2c_platform.h | Vgdn1942/Adafruit_VL53L0X | 1cd7556aeff27eb2af37158196e55b9739cd2f09 | [
"MIT"
] | 114 | 2017-01-11T06:53:43.000Z | 2022-02-23T15:10:37.000Z | src/vl53l0x_i2c_platform.h | Vgdn1942/Adafruit_VL53L0X | 1cd7556aeff27eb2af37158196e55b9739cd2f09 | [
"MIT"
] | 48 | 2016-12-10T10:22:13.000Z | 2022-03-17T14:19:45.000Z | src/vl53l0x_i2c_platform.h | Vgdn1942/Adafruit_VL53L0X | 1cd7556aeff27eb2af37158196e55b9739cd2f09 | [
"MIT"
] | 104 | 2016-12-10T09:34:42.000Z | 2022-03-31T11:04:50.000Z | #include "Arduino.h"
#include "Wire.h"
// initialize I2C
int VL53L0X_i2c_init(TwoWire *i2c);
int VL53L0X_write_multi(uint8_t deviceAddress, uint8_t index, uint8_t *pdata,
uint32_t count, TwoWire *i2c);
int VL53L0X_read_multi(uint8_t deviceAddress, uint8_t index, uint8_t *pdata,
... | 47.318182 | 77 | 0.665706 |
8dae61baea45ba57654bcf4a6331fe60d016bd12 | 835 | h | C | Example/Pods/Headers/Public/ChameleonFramework/ChameleonEnums.h | YuyeQingshan/QSQuickDemoKit | 25f38dcf4d402e57babc2c079f56ff1b961cb290 | [
"MIT"
] | 27 | 2018-11-17T19:19:40.000Z | 2021-12-14T12:47:54.000Z | FoodbLog/Pods/Headers/Private/ChameleonFramework/ChameleonEnums.h | ParkSangGwon/FoodbLog | 1a6518fd62b4f0b6b15293017ca1286a256b24ae | [
"MIT"
] | 2 | 2016-02-15T22:32:19.000Z | 2016-03-01T10:16:08.000Z | FoodbLog/Pods/Headers/Private/ChameleonFramework/ChameleonEnums.h | ParkSangGwon/FoodbLog | 1a6518fd62b4f0b6b15293017ca1286a256b24ae | [
"MIT"
] | 10 | 2016-12-15T10:28:17.000Z | 2021-02-01T13:57:01.000Z | //
// ChameleonEnums.h
// Chameleon
//
// Created by Vicc Alexander on 6/8/15.
// Copyright (c) 2015 Vicc Alexander. All rights reserved.
//
#ifndef Chameleon_ChameleonEnums_h
#define Chameleon_ChameleonEnums_h
/**
* Specifies how text-based UI elements and other content such as switch knobs, should be colored.... | 20.875 | 119 | 0.646707 |
a83c0f5b6e056bcc7a0a541e4aa0cd76658d6ff9 | 649 | c | C | 04-12-2022/exercice3.c | zakariaCHOUKRI/cours-prog | 389e5f1f3ec404535afb11aa8385230460c5c651 | [
"CC0-1.0"
] | null | null | null | 04-12-2022/exercice3.c | zakariaCHOUKRI/cours-prog | 389e5f1f3ec404535afb11aa8385230460c5c651 | [
"CC0-1.0"
] | null | null | null | 04-12-2022/exercice3.c | zakariaCHOUKRI/cours-prog | 389e5f1f3ec404535afb11aa8385230460c5c651 | [
"CC0-1.0"
] | null | null | null | #include <stdio.h>
int main()
{
int i, j, decal, taille, temp;
printf("entrer la taille du tableau: ");
scanf("%i", &taille);
int tab[taille];
int *p;
p = tab;
printf("entrer les elements du tableau:\n");
for (i = 0; i < taille; i++) scanf("%i", p+i);
printf("entrer le decalage:\n");
scanf("%i", &decal);... | 18.542857 | 52 | 0.513097 |
a85074f2768ee5eae057cd4aff6d95e73d4020d1 | 290 | h | C | JCCategoryKit/JCCategoryKit/Other/AppDelegate.h | JackeyChen1015/JCExtensionKit | 0165444bb962f9cef0661f9fc581f6a0b3ef49bf | [
"Apache-2.0"
] | 1 | 2019-05-01T12:54:47.000Z | 2019-05-01T12:54:47.000Z | JCCategoryKit/JCCategoryKit/Other/AppDelegate.h | JackeyChen1015/JCCategoryKit | 0165444bb962f9cef0661f9fc581f6a0b3ef49bf | [
"Apache-2.0"
] | null | null | null | JCCategoryKit/JCCategoryKit/Other/AppDelegate.h | JackeyChen1015/JCCategoryKit | 0165444bb962f9cef0661f9fc581f6a0b3ef49bf | [
"Apache-2.0"
] | null | null | null | //
// AppDelegate.h
// JCCategoryKit
//
// Created by JackeyChen1015 on 2019/5/1.
// Copyright © 2019 JackeyChen1015. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.111111 | 60 | 0.72069 |
6dce38df65142a5b67b4ed3edcbc41b4aa5655c0 | 888 | h | C | src/CANopen/OD/OD.h | DanielMartensson/Easy-CANopen | fccd98dfe59edc61ca87373eb5216374130c6812 | [
"MIT"
] | 7 | 2021-10-16T23:29:52.000Z | 2022-03-11T02:26:09.000Z | src/CANopen/OD/OD.h | DanielMartensson/Easy-CANopen | fccd98dfe59edc61ca87373eb5216374130c6812 | [
"MIT"
] | 1 | 2022-03-15T20:57:31.000Z | 2022-03-15T22:26:29.000Z | src/CANopen/OD/OD.h | DanielMartensson/Easy-CANopen | fccd98dfe59edc61ca87373eb5216374130c6812 | [
"MIT"
] | 8 | 2021-11-03T11:19:25.000Z | 2022-03-31T14:08:32.000Z | /*
* DO.h
*
* Created on: 14 okt. 2021
* Author: Danie Mårtensson
*/
#ifndef CANOPEN_OD_OD_H_
#define CANOPEN_OD_OD_H_
#include "../../Easy_CANopen/Easy_CANopen_Structs.h"
OD_DATA_TYPE CANopen_OD_Get_Data_Type(CANopen *canopen, uint16_t index, uint8_t sub_index);
uint32_t CANopen_OD_Get_Byte_... | 42.285714 | 195 | 0.780405 |
a35cecf73dbce97a548c6745dd39aa6b1458b8c5 | 51,621 | c | C | testsuite/EXP_1/test205.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_1/test205.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_1/test205.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int8_t x2 = INT8_MIN;
uint64_t x3 = 179172782128LLU;
static int8_t x9 = INT8_MIN;
int32_t x14 = INT32_MAX;
sta... | 18.279391 | 54 | 0.581236 |
33eff6194d75b1b13d4f0d0abdf61b8d3b11a26e | 984 | h | C | RiceCube/src/Application.h | wuguyannian/RiceCube | 01abe52d3e59efb8e48f2b3ce9e4243027687bff | [
"MIT"
] | null | null | null | RiceCube/src/Application.h | wuguyannian/RiceCube | 01abe52d3e59efb8e48f2b3ce9e4243027687bff | [
"MIT"
] | null | null | null | RiceCube/src/Application.h | wuguyannian/RiceCube | 01abe52d3e59efb8e48f2b3ce9e4243027687bff | [
"MIT"
] | null | null | null | #pragma once
#include "window.h"
#include "layer_stack.h"
#include "layer/layer_imgui.h"
#include "event/event_application.h"
#include "render/shader.h"
#include "render/buffer.h"
namespace RiceCube
{
class Application
{
public:
Application();
virtual ~Application();
void run();
void onEvent(E... | 20.081633 | 64 | 0.658537 |
b88fad136595275383a71058048536eaff536d59 | 1,248 | c | C | libvirt/pileus-libvirt-1.2.12/src/interface/interface_driver.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/src/interface/interface_driver.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | libvirt/pileus-libvirt-1.2.12/src/interface/interface_driver.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | /*
* interface_driver.c: loads the appropriate backend
*
* Copyright (C) 2014 Red Hat, Inc.
* Copyright (C) 2012 Doug Goldstein <cardoe@cardoe.com>
*
* 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 So... | 31.2 | 77 | 0.707532 |
ef78318a39ade471a3e6222488605df701a448e7 | 2,575 | h | C | ai_scripts/global.h | stephenneuendorffer/vyasa | 8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be | [
"MIT"
] | 7 | 2021-05-04T01:39:19.000Z | 2021-11-16T20:06:47.000Z | ai_scripts/global.h | stephenneuendorffer/vyasa | 8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be | [
"MIT"
] | null | null | null | ai_scripts/global.h | stephenneuendorffer/vyasa | 8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Xilinx Inc. All Rights Reserved.
#ifndef _FILTER_2D_H_
#define _FILTER_2D_H_
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#define PARALLEL_FACTOR_32b 8 // Parallelization factor for 32b operations (8x mults)
#define SRS_SHIFT 10 // SRS shift used can be increased if i... | 117.045455 | 382 | 0.860583 |
8ecaa9505ef9e78a50ad32461e6a4cbfe6b8c763 | 42 | c | C | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/original/tests/test16.c | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 77 | 2018-12-31T22:12:09.000Z | 2021-12-31T22:56:13.000Z | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/original/tests/test16.c | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 4 | 2015-02-09T14:50:21.000Z | 2016-03-25T12:28:37.000Z | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/gnuc/original/tests/test16.c | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 24 | 2019-01-20T15:51:52.000Z | 2021-12-25T18:29:13.000Z | hey() {
int x,y,z;
z= x ? : y;
}
| 7 | 15 | 0.285714 |
3f11869482b3a4c37d64835e593135d91432cba1 | 7,348 | c | C | lab_09/_unit_tests/check_main.c | Pastor/bauman.c.programming.labs | dc7149b853a815da9c4054753b768ecd4a031a67 | [
"MIT"
] | null | null | null | lab_09/_unit_tests/check_main.c | Pastor/bauman.c.programming.labs | dc7149b853a815da9c4054753b768ecd4a031a67 | [
"MIT"
] | null | null | null | lab_09/_unit_tests/check_main.c | Pastor/bauman.c.programming.labs | dc7149b853a815da9c4054753b768ecd4a031a67 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <check.h>
#include <main.h>
#define UNIT_MATRIX_FILENAME "unit_fread_struct.txt"
static void destroy_none(void *element) {
}
int compare_long_fn(void *a, void *b, void *userdata) {
if ((long long) a < (long long) b) return -1;
if ((long long) a > (long long) b) return 1;
ret... | 36.557214 | 102 | 0.626837 |
8baa214136f28b41a1fd8a2118bf2e0f62f085a9 | 2,072 | h | C | QMC5883/QMC5883.h | MartinD-CZ/HAL-drivers | 1e07e52624665e8a96ec1e6a01661af8152b0297 | [
"MIT"
] | 1 | 2022-03-26T14:57:34.000Z | 2022-03-26T14:57:34.000Z | QMC5883/QMC5883.h | MartinD-CZ/HAL-drivers | 1e07e52624665e8a96ec1e6a01661af8152b0297 | [
"MIT"
] | null | null | null | QMC5883/QMC5883.h | MartinD-CZ/HAL-drivers | 1e07e52624665e8a96ec1e6a01661af8152b0297 | [
"MIT"
] | null | null | null | #ifndef QMC5883_H_
#define QMC5883_H_
#include "hal_include.h"
#ifdef CONFIG_FILE
#include "config.h"
#endif
#ifndef QMC_I2C_TIMEOUT
#define QMC_I2C_TIMEOUT 100 //timeout for SPI in polling mode; in ms
#endif
#ifndef QMC5883_I2C_ADDR
#define QMC5883_I2C_ADDR (0x0D << 1)
#endif
#define QMC5883_CHIPID 0xFF... | 19.923077 | 118 | 0.742278 |
2724adc4b114a6927ba89e925008dbd86aea9050 | 2,372 | h | C | Qlink/Vender/QLC/QLCFramework.framework/Headers/QLCWalletManage.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 8 | 2018-07-11T12:31:20.000Z | 2019-08-14T03:38:45.000Z | Qlink/Vender/QLC/QLCFramework.framework/Headers/QLCWalletManage.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 65 | 2020-03-29T08:17:07.000Z | 2021-01-14T22:41:10.000Z | Qlink/Vender/QLC/QLCFramework.framework/Headers/QLCWalletManage.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 9 | 2018-07-11T10:37:19.000Z | 2019-08-03T10:33:14.000Z | //
// QLCWalletManage.h
// Qlink
//
// Created by Jelly Foo on 2019/5/23.
// Copyright © 2019 pan. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
extern NSString * _Nonnull const QLC_AccountPending_Done_Noti;
@interface QLCWalletManage : NSObject
@property (nonatomic, strong)... | 52.711111 | 537 | 0.783727 |
2743d80dc7d388299ac6fec93d43e254ab1b0a2b | 727 | h | C | ProjectArchitecture/Tools/ZMMJRefreshTools/NSObject+ZMAddMJRefresh.h | lucking/ProjectArchitecture | 49765919a0a4eb9092ff64a82d437ba7f4a36fd1 | [
"Apache-2.0"
] | 10 | 2017-08-08T15:24:18.000Z | 2019-05-05T01:51:04.000Z | ProjectArchitecture/Tools/ZMMJRefreshTools/NSObject+ZMAddMJRefresh.h | lucking/ProjectArchitecture | 49765919a0a4eb9092ff64a82d437ba7f4a36fd1 | [
"Apache-2.0"
] | null | null | null | ProjectArchitecture/Tools/ZMMJRefreshTools/NSObject+ZMAddMJRefresh.h | lucking/ProjectArchitecture | 49765919a0a4eb9092ff64a82d437ba7f4a36fd1 | [
"Apache-2.0"
] | null | null | null | //
// NSObject+ZMAddMJRefresh.h
// ProjectArchitecture
//
// Created by ZM on 2017/5/8.
// Copyright © 2017年 ZM. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (ZMAddMJRefresh)
/**
结束刷新:UIScrollView
@param scrollView 结束刷新的视图
@param isHeader 是否是头部:下拉刷新
*/
- (void)endRefreshScrol... | 20.771429 | 92 | 0.753783 |
6a1a1b3c082759bfee9fca707fcf885d324464b6 | 473 | h | C | tools/perf/arch/x86/include/arch-tests.h | Sunrisepeak/Linux2.6-Reading | c25102a494a37f9f30a27ca2cd4a1a412bffc80f | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | tools/perf/arch/x86/include/arch-tests.h | Sunrisepeak/Linux2.6-Reading | c25102a494a37f9f30a27ca2cd4a1a412bffc80f | [
"MIT"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | tools/perf/arch/x86/include/arch-tests.h | Sunrisepeak/Linux2.6-Reading | c25102a494a37f9f30a27ca2cd4a1a412bffc80f | [
"MIT"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef ARCH_TESTS_H
#define ARCH_TESTS_H
struct test_suite;
/* Tests */
int test__rdpmc(struct test_suite *test, int subtest);
int test__insn_x86(struct test_suite *test, int subtest);
int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest);
int test__bp_modify(str... | 27.823529 | 69 | 0.792812 |
3a49d240b173d02c5e087e9a172bed7cf0f0861b | 3,478 | h | C | sun_ray/feature/intersection_state.h | fuersten/sun_ray | b882d67cd9747f61b50def4c1414e7552ba917c0 | [
"BSD-3-Clause"
] | 2 | 2021-03-28T21:36:36.000Z | 2021-08-10T14:44:04.000Z | sun_ray/feature/intersection_state.h | fuersten/sun_ray | b882d67cd9747f61b50def4c1414e7552ba917c0 | [
"BSD-3-Clause"
] | null | null | null | sun_ray/feature/intersection_state.h | fuersten/sun_ray | b882d67cd9747f61b50def4c1414e7552ba917c0 | [
"BSD-3-Clause"
] | null | null | null | //
// intersection_state.h
// sun_ray
//
// Created by Lars-Christian Fürstenberg on 18.01.20.
// Copyright © 2020 Lars-Christian Fürstenberg. All rights reserved.
//
#pragma once
#include <sun_ray/feature/object.h>
namespace sunray
{
class IntersectionState
{
public:
IntersectionState(Intersection in... | 22.152866 | 100 | 0.579643 |
5c8017e7af15c3ba491845ef1cfcd068afa1aa78 | 1,740 | h | C | macOS/10.13/AppKit.framework/NSTouchBarCustomizationPreviewDeletionLabel.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | macOS/10.13/AppKit.framework/NSTouchBarCustomizationPreviewDeletionLabel.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | macOS/10.13/AppKit.framework/NSTouchBarCustomizationPreviewDeletionLabel.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
*/
@interface NSTouchBarCustomizationPreviewDeletionLabel : NSView <NSCollectionViewElement> {
NSTextField * _labelField;
struct CGAffineTransform {
double a;
double b;
double c;
... | 38.666667 | 153 | 0.731609 |
364c099aa4855e12ede1957cafdf8432d973ba1c | 221 | h | C | Examples/Controllers/Posts/View/PostTextLabel.h | geolives/XLDataLoader | 3798c76d541fa9c04b27b2f6cb2f5c065742a31d | [
"MIT"
] | null | null | null | Examples/Controllers/Posts/View/PostTextLabel.h | geolives/XLDataLoader | 3798c76d541fa9c04b27b2f6cb2f5c065742a31d | [
"MIT"
] | null | null | null | Examples/Controllers/Posts/View/PostTextLabel.h | geolives/XLDataLoader | 3798c76d541fa9c04b27b2f6cb2f5c065742a31d | [
"MIT"
] | 1 | 2020-01-09T12:09:21.000Z | 2020-01-09T12:09:21.000Z | //
// PostTextLabel.h
// XLTableViewControllerTest
//
// Created by Gaston Borba on 4/16/14.
// Copyright (c) 2014 XmartLabs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface PostTextLabel : UILabel
@end
| 15.785714 | 54 | 0.701357 |
0e7bfbc2b2df414fa16d486d0e819b483c5367ae | 3,145 | h | C | contrib/gitian-builder/inputs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArchiver.h | Phikzel2/haroldcoin-main-MacOS | 15c949c8f722d424fd9603fab3c49ec4b2b720eb | [
"MIT"
] | null | null | null | contrib/gitian-builder/inputs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArchiver.h | Phikzel2/haroldcoin-main-MacOS | 15c949c8f722d424fd9603fab3c49ec4b2b720eb | [
"MIT"
] | null | null | null | contrib/gitian-builder/inputs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArchiver.h | Phikzel2/haroldcoin-main-MacOS | 15c949c8f722d424fd9603fab3c49ec4b2b720eb | [
"MIT"
] | 1 | 2021-08-13T21:12:07.000Z | 2021-08-13T21:12:07.000Z | /* NSArchiver.h
Copyright (c) 1994-2018, Apple Inc. All rights reserved.
*/
#import <Foundation/NSCoder.h>
#import <Foundation/NSException.h>
@class NSString, NSData, NSMutableData, NSMutableDictionary, NSMutableArray;
NS_ASSUME_NONNULL_BEGIN
/************ Archiving: Writing ****************/
API_DEPRECATED("Use... | 30.240385 | 197 | 0.722734 |
3d8c5c922f98cc44f417134cdc044c12309253dd | 1,628 | c | C | src/util/qsort.c | mortzdk/heavy-hitters | 61d90af9b281d903107064fac5dd993563d6f98c | [
"MIT"
] | 12 | 2016-11-03T09:31:55.000Z | 2022-01-11T05:40:00.000Z | src/util/qsort.c | mortzdk/heavy-hitters | 61d90af9b281d903107064fac5dd993563d6f98c | [
"MIT"
] | null | null | null | src/util/qsort.c | mortzdk/heavy-hitters | 61d90af9b281d903107064fac5dd993563d6f98c | [
"MIT"
] | 5 | 2016-06-30T01:31:46.000Z | 2020-07-20T22:14:57.000Z | // Borrowed from: http://www.cs.princeton.edu/~rs/Algs3.c1-4/code.txt
#include <stdint.h>
#include "qsort.h"
void quicksort_map(uint32_t *a, int64_t l, int64_t r, uint32_t *map) {
int64_t i, j, k, p, q;
uint32_t v;
if (r <= l) {
return;
}
v = a[r];
i = l-1;
j = r;
p = l-1;
q = r;
while (1) {
while ... | 13.344262 | 71 | 0.437346 |
cdf6635f5dbb8c34d03f49a79ce527d8de151d5a | 4,525 | h | C | platform/mcu/xr872/drivers/include/cedarx/libcore/playback/include/soundControl.h | HelloAllen8893/AliOS-Things | f3a2904860c3bf87b64d634e6900d980931fac88 | [
"Apache-2.0"
] | 2 | 2018-08-20T08:33:55.000Z | 2018-11-28T03:19:22.000Z | platform/mcu/xr872/drivers/include/cedarx/libcore/playback/include/soundControl.h | HelloAllen8893/AliOS-Things | f3a2904860c3bf87b64d634e6900d980931fac88 | [
"Apache-2.0"
] | null | null | null | platform/mcu/xr872/drivers/include/cedarx/libcore/playback/include/soundControl.h | HelloAllen8893/AliOS-Things | f3a2904860c3bf87b64d634e6900d980931fac88 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2008-2016 Allwinner Technology Co. Ltd.
* All rights reserved.
*
* File : soundControl.h
* Description : soundControl
* History :
*
*/
#ifndef SOUND_CONTROL_H
#define SOUND_CONTROL_H
#include "cdx_log.h"
#include "adecoder.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum XAudioTimest... | 22.073171 | 89 | 0.695912 |
e0648fbbc94176e326cf8e798e36a959cc4b345d | 3,331 | c | C | gempak/source/programs/gd/gdgrib2/gdsetsect5.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 42 | 2015-06-03T15:26:21.000Z | 2022-02-28T22:36:03.000Z | gempak/source/programs/gd/gdgrib2/gdsetsect5.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 60 | 2015-05-11T21:36:08.000Z | 2022-03-29T16:22:42.000Z | gempak/source/programs/gd/gdgrib2/gdsetsect5.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 27 | 2016-06-06T21:55:14.000Z | 2022-03-18T18:23:28.000Z | #include "gdgrib2.h"
#define MAXTMPL 200
void gdsetsect5 ( GDG2_input *input, int *idrtnum, int *idrtmpl, int *iret )
/************************************************************************
* gdsetsect5 *
* ... | 39.654762 | 76 | 0.332933 |
6dc9b5c59dcdbbda161617c526f56d18d54c1e58 | 2,485 | h | C | include/jjwu_debug_config.h | goodwater/jjwu_debug | ce3ca2ba777940cb98e97ceaf212e3f99053042a | [
"MIT"
] | 2 | 2016-06-29T15:32:27.000Z | 2016-06-29T15:32:28.000Z | include/jjwu_debug_config.h | goodwater/jjwu_debug | ce3ca2ba777940cb98e97ceaf212e3f99053042a | [
"MIT"
] | null | null | null | include/jjwu_debug_config.h | goodwater/jjwu_debug | ce3ca2ba777940cb98e97ceaf212e3f99053042a | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016 WU, JHENG-JHONG <goodwater.wu@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to use,... | 32.697368 | 117 | 0.796781 |
6df31757421f9ad5a7b2b6c4c1f6a019b491210a | 5,461 | c | C | src/dda_bc.c | evanlev/bart | 68f8bbc6fd1335fb9d200f998e25051dcce1091b | [
"BSD-3-Clause"
] | null | null | null | src/dda_bc.c | evanlev/bart | 68f8bbc6fd1335fb9d200f998e25051dcce1091b | [
"BSD-3-Clause"
] | null | null | null | src/dda_bc.c | evanlev/bart | 68f8bbc6fd1335fb9d200f998e25051dcce1091b | [
"BSD-3-Clause"
] | null | null | null | #include <getopt.h>
#include <stdio.h>
#include <complex.h>
#include <stdlib.h>
#include <stdbool.h>
#include <assert.h>
#include <math.h>
#include "num/multind.h"
#include "num/flpmath.h"
#include "misc/misc.h"
#include "misc/mri.h"
#include "misc/debug.h"
#include "misc/mmio.h"
#include "misc/opts.h"
#include "dd... | 31.028409 | 139 | 0.575719 |
a33d5aeb76157169b8fedfccfb82d7ee2563d65b | 3,196 | h | C | src/World/World.h | olesgedz/Cube | 12f0b48cc89a8fbb381e3e47e482bb6f3fcf04d6 | [
"Apache-2.0"
] | null | null | null | src/World/World.h | olesgedz/Cube | 12f0b48cc89a8fbb381e3e47e482bb6f3fcf04d6 | [
"Apache-2.0"
] | null | null | null | src/World/World.h | olesgedz/Cube | 12f0b48cc89a8fbb381e3e47e482bb6f3fcf04d6 | [
"Apache-2.0"
] | null | null | null | //
// Created by Jeromy Black on 1/7/21.
//
#ifndef FT_VOX_WORLD_H
#define FT_VOX_WORLD_H
#include <unordered_map>
#include <memory>
#define GLM_ENABLE_EXPERIMENTAL
#include "glm/glm.hpp"
#include "glm/gtx/hash.hpp"
#include "Chunk.h"
#include "camera.h"
class World
{
public:
int radius = 7;
int octaves = 0;
... | 28.535714 | 128 | 0.649562 |
a349edc4314eac9cd622af3c481cab24585344e2 | 34,574 | h | C | scripts/dp88_customAI.h | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:34:33.000Z | 2021-10-04T02:34:33.000Z | scripts/dp88_customAI.h | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 9 | 2019-07-03T19:19:59.000Z | 2020-03-02T22:00:21.000Z | scripts/dp88_customAI.h | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 2 | 2019-08-14T08:37:36.000Z | 2020-09-29T06:44:26.000Z | /* Renegade Scripts.dll
Copyright 2013 Tiberian Technologies
This file is part of the Renegade scripts.dll
The Renegade scripts.dll 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, or (at yo... | 43.325815 | 164 | 0.741106 |
8981a609c7612b0501e7cd1583b490a64eb55215 | 114 | h | C | Spec/Support/ArgumentReleaser.h | sgravrock/cedar | 176a091e663ccbe4b7a3139e188b55b0a2d329d0 | [
"MIT"
] | 357 | 2015-01-02T01:16:19.000Z | 2017-10-26T13:30:36.000Z | Spec/Support/ArgumentReleaser.h | sgravrock/cedar | 176a091e663ccbe4b7a3139e188b55b0a2d329d0 | [
"MIT"
] | 93 | 2015-01-16T15:11:04.000Z | 2017-02-22T22:29:02.000Z | Spec/Support/ArgumentReleaser.h | sgravrock/cedar | 176a091e663ccbe4b7a3139e188b55b0a2d329d0 | [
"MIT"
] | 54 | 2015-01-17T16:54:34.000Z | 2017-09-30T16:21:32.000Z | #import <Foundation/Foundation.h>
@interface ArgumentReleaser : NSObject
- (void)releaseArgument:(id)arg;
@end
| 14.25 | 38 | 0.763158 |
edd80663f8d44831e1b045d0290dcaedf55abbd5 | 694 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/HiChatService-Protocol.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/HiChatService-Protocol.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/HiChatService-Protocol.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "DTService-Protocol.h"
@class APLinkCardItem, NSString;
@protocol HiChatService <DTService>
- (void)cleanCachedData;
- (void)... | 38.555556 | 190 | 0.739193 |
070b0f59cd7eddee10ce8e9910de10ef97b9a91a | 415 | h | C | Src/Main.h | TobiasBriones/example.math.numerical.cpp.differential-equations | 5415dfed6369a3664091edfc1bbd34207b03f031 | [
"MIT"
] | null | null | null | Src/Main.h | TobiasBriones/example.math.numerical.cpp.differential-equations | 5415dfed6369a3664091edfc1bbd34207b03f031 | [
"MIT"
] | null | null | null | Src/Main.h | TobiasBriones/example.math.numerical.cpp.differential-equations | 5415dfed6369a3664091edfc1bbd34207b03f031 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Tobias Briones. All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of Example Project: Numerical Differential Equations.
*
* This source code is licensed under the MIT License found in the
* LICENSE file in the root directory of this source tree or at
* https://... | 23.055556 | 74 | 0.715663 |
882a3b0e830e40144af44d196e84c66ca895ebbf | 396 | c | C | examples/google-code-jam/tatuyan/D_Fractile_small.c | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | examples/google-code-jam/tatuyan/D_Fractile_small.c | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | examples/google-code-jam/tatuyan/D_Fractile_small.c | rbenic-fer/progauthfp | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | [
"MIT"
] | null | null | null | #include<stdio.h>
void solve(void);
int main(void){
int t,i;
scanf("%d",&t);
for(i=0;i<t;i++){
printf("Case #%d: ",i+1);
solve();
}
return 0;
}
void solve(void){
int i,j;
int K,C,S;
scanf("%d%d%d",&K,&C,&S);
if(C==1){
for(i=0;i<S;i++) printf("%d%c",i+1,i==S-1?'\n':' ');
}else{
fo... | 14.142857 | 56 | 0.431818 |
885453f34f1308dcc3e1d972ebf66c3c628a569f | 313 | h | C | Ankit/ali_core.h | Grinnell-CSC282/api-2017 | 140e64a05f3cd85f04b73b1f0e8e248da877f496 | [
"MIT"
] | null | null | null | Ankit/ali_core.h | Grinnell-CSC282/api-2017 | 140e64a05f3cd85f04b73b1f0e8e248da877f496 | [
"MIT"
] | null | null | null | Ankit/ali_core.h | Grinnell-CSC282/api-2017 | 140e64a05f3cd85f04b73b1f0e8e248da877f496 | [
"MIT"
] | null | null | null | #ifndef __ALI_H__
#define __ALI_H__
#include <stdint.h>
#include <stddef.h>
typedef uint8_t data_t;
typedef struct
{
data_t *data;
size_t size;
uint8_t sign;
} alint;
void alint_free (alint * integer);
alint* alint_init (size_t starting_size);
void alint_resize (alint* integer, size_t new_size);
#endif
| 16.473684 | 52 | 0.747604 |
fc9d60ab68b0e819c7b4d205496ef24d07bb05ab | 1,047 | h | C | GedlekPawel-lab10/zad1/cluster.h | Codetype/Operating-Systems | 3946a5406de90fbb7281ed2d33320bc79ad7b602 | [
"MIT"
] | null | null | null | GedlekPawel-lab10/zad1/cluster.h | Codetype/Operating-Systems | 3946a5406de90fbb7281ed2d33320bc79ad7b602 | [
"MIT"
] | null | null | null | GedlekPawel-lab10/zad1/cluster.h | Codetype/Operating-Systems | 3946a5406de90fbb7281ed2d33320bc79ad7b602 | [
"MIT"
] | null | null | null | #ifndef _CLUSTER_SERVER
#define _CLUSTER_SERVER
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <pthread.h>
#include <sys/un.h>
#include <sys/epoll.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <signal.h>
#in... | 19.388889 | 31 | 0.687679 |
50c0a012fe2c934737eaad413168f0c47c0f6982 | 3,736 | h | C | src/plugins/wireguard/wireguard_peer.h | hanqianxun/vpp | a8ebb518445a3ee82e7d18858ea6d2f24c780abc | [
"Apache-2.0"
] | 1 | 2019-12-05T03:21:21.000Z | 2019-12-05T03:21:21.000Z | src/plugins/wireguard/wireguard_peer.h | hanqianxun/vpp | a8ebb518445a3ee82e7d18858ea6d2f24c780abc | [
"Apache-2.0"
] | null | null | null | src/plugins/wireguard/wireguard_peer.h | hanqianxun/vpp | a8ebb518445a3ee82e7d18858ea6d2f24c780abc | [
"Apache-2.0"
] | 1 | 2019-09-07T13:08:01.000Z | 2019-09-07T13:08:01.000Z | /*
* Copyright (c) 2020 Doc.ai and/or its affiliates.
* Copyright (c) 2020 Cisco and/or its affiliates.
* 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/lic... | 23.948718 | 77 | 0.755621 |
0a38d497735a4ecb8d030560b58116fbdef9a4b4 | 1,946 | h | C | Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matlab_filewrite.h | jcfr/ITK | 6632b7f968c3827e8a3bcc9812e05b4e2064676e | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matlab_filewrite.h | jcfr/ITK | 6632b7f968c3827e8a3bcc9812e05b4e2064676e | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matlab_filewrite.h | jcfr/ITK | 6632b7f968c3827e8a3bcc9812e05b4e2064676e | [
"Apache-2.0"
] | null | null | null | // This is core/vnl/vnl_matlab_filewrite.h
#ifndef vnl_matlab_filewrite_h_
#define vnl_matlab_filewrite_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \author David Capel, Oxford RRG
// \date 17 August 1998
//
// \verbatim
// Modifications
// LSB (Manchester) 23/3/01 Tidied document... | 33.551724 | 99 | 0.751285 |
1c00c016f0f574b990e6f69b54ec875a5c9696a4 | 724 | h | C | challenge/leet.gcc/q1130/q1130.h | odys-z/hello | 39ca67cae34eb4bc4cbd848a06b3c0d65a995954 | [
"MIT"
] | null | null | null | challenge/leet.gcc/q1130/q1130.h | odys-z/hello | 39ca67cae34eb4bc4cbd848a06b3c0d65a995954 | [
"MIT"
] | 3 | 2021-04-17T18:36:24.000Z | 2022-03-04T20:30:09.000Z | challenge/leet.gcc/q1130/q1130.h | odys-z/hello | 39ca67cae34eb4bc4cbd848a06b3c0d65a995954 | [
"MIT"
] | null | null | null | #ifndef Q1130_H
#define Q1130_H
#include <vector>
#include <limits.h>
using namespace std;
class Solution {
public:
int mctFromLeafValues(vector<int>& arr) {
int res = 0;
while (arr.size() >= 2) {
int min = INT_MAX;
int mnx = -1;
int replace = 0;
f... | 21.294118 | 52 | 0.411602 |
5ae8e9f8c9564d52f4d0bf861ee46a87f2447ada | 1,426 | c | C | test/test_encode_regex.c | postmodern/libBERT | 970eec51bb7b41be21ffbea758290b6e20483e3e | [
"MIT"
] | 9 | 2015-05-23T20:02:25.000Z | 2019-12-14T23:42:29.000Z | test/test_encode_regex.c | postmodern/libBERT | 970eec51bb7b41be21ffbea758290b6e20483e3e | [
"MIT"
] | 4 | 2016-12-15T12:49:34.000Z | 2021-03-17T06:50:05.000Z | test/test_encode_regex.c | postmodern/libBERT | 970eec51bb7b41be21ffbea758290b6e20483e3e | [
"MIT"
] | 5 | 2016-07-09T19:09:59.000Z | 2019-06-23T14:58:32.000Z | #include <bert/encoder.h>
#include <bert/magic.h>
#include <bert/errno.h>
#include "test.h"
#include <string.h>
#define EXPECTED_LENGTH 13
#define EXPECTED "hello\\s*world"
#define OUTPUT_SIZE (1 + TEST_COMPLEX_HEADER_SIZE + 5 + 1 + 4 + EXPECTED_LENGTH + 1 + 4)
unsigned char output[OUTPUT_SIZE];
void test_output()
... | 22.28125 | 117 | 0.720196 |
e35d22558aafb63c15a183dbb33a9fd0f3c8cb28 | 415 | h | C | LRZLocalCache/Model/ViewModel.h | alertross/LRZCache | 8ddf6804ecb1031352c059c03f994204c2ea16ce | [
"MIT"
] | 2 | 2018-05-31T10:35:10.000Z | 2018-05-31T10:42:21.000Z | LRZLocalCache/Model/ViewModel.h | alertross/LRZCache | 8ddf6804ecb1031352c059c03f994204c2ea16ce | [
"MIT"
] | null | null | null | LRZLocalCache/Model/ViewModel.h | alertross/LRZCache | 8ddf6804ecb1031352c059c03f994204c2ea16ce | [
"MIT"
] | null | null | null | //
// ViewModel.h
// LRZLocalCache
//
// Created by 刘强 on 2018/5/31.
// Copyright © 2018年 LightReason. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NSObject+LRZCoding.h"
@interface ViewModel : NSObject
@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *location;... | 20.75 | 55 | 0.73012 |
7c6ea770fd714fdf71e161f008265330a2502ec3 | 129 | h | C | Challenges/C_CPP/0009_power_mod/func.h | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | 5 | 2021-03-26T08:19:43.000Z | 2021-12-18T18:04:04.000Z | Challenges/C_CPP/0009_power_mod/func.h | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | null | null | null | Challenges/C_CPP/0009_power_mod/func.h | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | null | null | null | #ifndef FUNC_H
#define FUNC_H
#include <stdint.h>
int32_t get_power_mod(int32_t a, int32_t p, int32_t n);
#endif /* FUNC_H */
| 14.333333 | 55 | 0.72093 |
f6fbc5d26a951baff99b6c1894aa00ae0d6f6a71 | 5,963 | h | C | sys/src/cmd/tex/mp/site.h | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | sys/src/cmd/tex/mp/site.h | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | sys/src/cmd/tex/mp/site.h | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | /* Master configuration file for WEB to C. Almost all the definitions
are wrapped with #ifndef's, so that you can override them from the
command line, if you want to. */
#ifndef __WEB2C_SITE_H
#define __WEB2C_SITE_H
/* Define if you're running under 4.2 or 4.3 BSD. */
#ifndef BSD
#undef BSD
#endif
/* Defin... | 36.808642 | 73 | 0.705182 |
91a346bbf41125ee65eecf921d0e5e060d624076 | 343 | c | C | src/c-lib/music.c | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | null | null | null | src/c-lib/music.c | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | null | null | null | src/c-lib/music.c | oprochazka/spiderAgonyRpg | 8c4f7ed9255ea381d6b802f090b56f642d176dd2 | [
"Apache-2.0"
] | 1 | 2021-06-21T23:08:30.000Z | 2021-06-21T23:08:30.000Z | #include<stdio.h>
#include<stdlib.h>
#include<lua5.2/lua.h>
#include<lua5.2/lauxlib.h>
#include<lua5.2/lualib.h>
#include<SDL2/SDL.h>
#include<SDL2/SDL_image.h>
#include<SDL2/SDL2_gfxPrimitives.h>
#include<SDL2/SDL_mixer.h>
#include"main.h"
#include"basic_shapes.h"
#include"lua_func.h"
#include"list.h"
#include"window.... | 19.055556 | 35 | 0.746356 |
91bda28886122d1e557f20c7c5a3fb0317d5cecf | 558 | h | C | System/Library/PrivateFrameworks/VideosUI.framework/VideosUI.CollectionHeaderViewLayout.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 2 | 2020-07-26T20:30:54.000Z | 2020-08-10T04:26:23.000Z | System/Library/PrivateFrameworks/VideosUI.framework/VideosUI.CollectionHeaderViewLayout.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 1 | 2020-07-26T20:45:31.000Z | 2020-08-09T09:30:46.000Z | System/Library/PrivateFrameworks/VideosUI.framework/VideosUI.CollectionHeaderViewLayout.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:46:23 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/VideosUI.framework/VideosUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim... | 27.9 | 81 | 0.77957 |
ea02c378eec371f0d44e7edf79980ca66e861ebc | 976 | h | C | src/yars/configuration/data/DataRecording.h | kzahedi/YARS | 48d9fe4178d699fba38114d3b299a228da41293d | [
"MIT"
] | 4 | 2017-08-05T03:33:21.000Z | 2021-11-08T09:15:42.000Z | src/yars/configuration/data/DataRecording.h | kzahedi/YARS | 48d9fe4178d699fba38114d3b299a228da41293d | [
"MIT"
] | null | null | null | src/yars/configuration/data/DataRecording.h | kzahedi/YARS | 48d9fe4178d699fba38114d3b299a228da41293d | [
"MIT"
] | 1 | 2019-03-24T08:35:25.000Z | 2019-03-24T08:35:25.000Z | #ifndef __DATA_RECORDING_H__
#define __DATA_RECORDING_H__
# define YARS_STRING_RECORDING (char*)"recording"
# define YARS_STRING_RECORDING_DEFINITION (char*)"recording_definition"
#include <yars/configuration/data/DataNode.h>
#include <yars/configuration/data/DataParameter.h>
#include <yars/configuration/d... | 25.684211 | 76 | 0.755123 |
87dc7df25a904ffff26b754d169d644833b5845c | 2,469 | h | C | Subspace/subspace/SubspaceChat.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | Subspace/subspace/SubspaceChat.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | Subspace/subspace/SubspaceChat.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _SUBSPACECHAT_H_
#define _SUBSPACECHAT_H_
#include <list>
#include <map>
#include <string>
using std::list;
using std::map;
using std::string;
#include "DataTypes.h"
#include "TextureFont.h"
//#include "CommandGenerator.h"
#include "ChatMessage.h"
class SubspacePlayer;
//#include "SubspaceChatCommandRecei... | 26.836957 | 118 | 0.762657 |
564f9db93dda0ada25b8c8605503bc5f65a521ad | 1,271 | h | C | src/MIT_alice/AUISlotPool.h | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 10 | 2019-02-21T13:07:06.000Z | 2019-09-21T02:56:37.000Z | src/AliceUI/AUISlotPool.h | DevHwan/aliceui | 9ee7d9424c06d4e063e55b486e9a78dfcebf8f86 | [
"MIT"
] | 5 | 2019-02-28T03:11:50.000Z | 2019-03-08T00:16:17.000Z | src/AliceUI/AUISlotPool.h | DevHwan/aliceui | 9ee7d9424c06d4e063e55b486e9a78dfcebf8f86 | [
"MIT"
] | 5 | 2019-02-25T00:53:08.000Z | 2019-07-05T01:50:34.000Z | #pragma once
#include "AUISlot.h"
#include <vector>
class ALICEUI_API AUISlotPool
{
public:
AUISlotPool();
virtual ~AUISlotPool();
//////////////////////////////////////////////////////////////////////////
// Copy / Move
public:
AUISlotPool(const AUISlotPool& cp);
AUISlotPool& operator=(const... | 25.938776 | 78 | 0.488592 |
568835e8634fe9968a0b44c24bfb8dc248874397 | 2,801 | h | C | third_party/rpg_common/include/rpg_common/eigen_type.h | debugCVML/rpg_information_field | 56f9ffba83aaee796502116e1cf651c5bc405bf6 | [
"MIT"
] | 149 | 2020-06-23T12:08:47.000Z | 2022-03-31T08:18:52.000Z | third_party/rpg_common/include/rpg_common/eigen_type.h | debugCVML/rpg_information_field | 56f9ffba83aaee796502116e1cf651c5bc405bf6 | [
"MIT"
] | 4 | 2020-08-28T07:51:15.000Z | 2021-04-09T13:18:49.000Z | third_party/rpg_common/include/rpg_common/eigen_type.h | debugCVML/rpg_information_field | 56f9ffba83aaee796502116e1cf651c5bc405bf6 | [
"MIT"
] | 34 | 2020-06-26T14:50:34.000Z | 2022-03-04T06:45:55.000Z | // handy typedefs of Eigen matrices and vectors, adapted from
// https://github.com/zurich-eye/ze_oss/blob/master/ze_common/include/ze/common/types.hpp
// You can now use
// rpg::Matrix66 for a 6x6 matrix
// rpg::Matrix72 for a 7x2 matrix
// Valid for arbitrary combinations from 1-9.
#pragma once
#include <Eigen/Cor... | 44.460317 | 89 | 0.65191 |
730dca4316a9d5fc949fd3ca8d76178858e050e1 | 36,883 | c | C | calcEnergy.c | yixiangLuo/Liquid_Crystal | 165d41aff4e23837539b928a4181ac3b3e4ce471 | [
"MIT"
] | 1 | 2018-03-22T23:20:32.000Z | 2018-03-22T23:20:32.000Z | calcEnergy.c | yixiangLuo/Liquid_Crystal | 165d41aff4e23837539b928a4181ac3b3e4ce471 | [
"MIT"
] | null | null | null | calcEnergy.c | yixiangLuo/Liquid_Crystal | 165d41aff4e23837539b928a4181ac3b3e4ce471 | [
"MIT"
] | null | null | null | #include "calcEnergy.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include "header.h"
#include "bingham.h"
#include "initEnergySpace.h"
extern energySpace* energyDataPointer;
extern binghamDataSpace* binghamDataPointer;
extern mpi_comm_data* mpi_comm_space;
extern clock_t comm_start, ... | 38.54023 | 547 | 0.70805 |
4cffb7af37cb8a7148234f64929680aab57aa756 | 29 | h | C | common/config/custom.h | lk565434471/legend | 046731a0ae4e28d4a57689f203c4936cb6e8877a | [
"MIT"
] | null | null | null | common/config/custom.h | lk565434471/legend | 046731a0ae4e28d4a57689f203c4936cb6e8877a | [
"MIT"
] | null | null | null | common/config/custom.h | lk565434471/legend | 046731a0ae4e28d4a57689f203c4936cb6e8877a | [
"MIT"
] | null | null | null |
// #define LEGEND_NAMESPACE | 9.666667 | 27 | 0.758621 |
21a30330ccd2db87714a44a0f2360ae09fd38326 | 1,654 | c | C | Exercise-2/d.XOR_value_of_Two_Varaibles.c | itsMadesh/C-programs | fab74dda093d86b46331d38414d39b924f134b63 | [
"MIT"
] | 1 | 2022-01-19T09:39:24.000Z | 2022-01-19T09:39:24.000Z | Exercise-2/d.XOR_value_of_Two_Varaibles.c | itsMadesh/C-programs | fab74dda093d86b46331d38414d39b924f134b63 | [
"MIT"
] | null | null | null | Exercise-2/d.XOR_value_of_Two_Varaibles.c | itsMadesh/C-programs | fab74dda093d86b46331d38414d39b924f134b63 | [
"MIT"
] | null | null | null | #include <stdio.h>
int bin(int c, int d)
{
int s, r, temp = 1, value = 0;
while (c != 0 || d != 0)
{
r = c % 2;
s = d % 2;
if (r != s)
{
value = value + temp;
}
temp = temp * 2;
c = c / 2;
d = d / 2;
}
return value;
}
... | 17.229167 | 60 | 0.379686 |
51bc594636e4e0186597ff32832c4a8299a2c63c | 608 | h | C | interface/ttbarReco.h | cms-ttbarAC/cheetah | 76457d3cb3936dac5c78957b66b3b8aa213ca2b7 | [
"MIT"
] | null | null | null | interface/ttbarReco.h | cms-ttbarAC/cheetah | 76457d3cb3936dac5c78957b66b3b8aa213ca2b7 | [
"MIT"
] | 1 | 2018-08-29T19:28:24.000Z | 2018-10-04T18:21:35.000Z | interface/ttbarReco.h | cms-ttbarAC/cheetah | 76457d3cb3936dac5c78957b66b3b8aa213ca2b7 | [
"MIT"
] | null | null | null | #ifndef TTBARRECO_H
#define TTBARRECO_H
#include <string>
#include <map>
#include <vector>
#include "Analysis/cheetah/interface/physicsObjects.h"
#include "Analysis/cheetah/interface/tools.h"
#include "Analysis/cheetah/interface/configuration.h"
class ttbarReco {
public:
ttbarReco( configuration& cmaConfig );
... | 19.612903 | 124 | 0.717105 |
99ac170b8165299b5f10c5ec9aea16b41434bac9 | 29,026 | h | C | include/envs/classic_control/rendering.h | dougkiely/cppgym | 03663e40ec1207d0e048a443f8479f71bbc95fa0 | [
"MIT"
] | 1 | 2022-01-24T23:59:52.000Z | 2022-01-24T23:59:52.000Z | include/envs/classic_control/rendering.h | dougkiely/cppgym | 03663e40ec1207d0e048a443f8479f71bbc95fa0 | [
"MIT"
] | null | null | null | include/envs/classic_control/rendering.h | dougkiely/cppgym | 03663e40ec1207d0e048a443f8479f71bbc95fa0 | [
"MIT"
] | 1 | 2022-01-25T03:32:19.000Z | 2022-01-25T03:32:19.000Z | #pragma once
#include <algorithm>
#include <cmath>
#include <concepts>
#include <functional>
#include <iostream> // debug
#include <memory>
#include <numbers>
#include <vector>
#include <GL/gl.h>
#include <GL/freeglut.h>
namespace gym::envs::classic_control {
// TODO: check for GL errors by calling glGetError() aft... | 34.188457 | 262 | 0.585889 |
06759016670675358a506c03f3d70cfc23f12582 | 604 | h | C | exe/src/control/game/moveuprightcmd.h | jonpetri/CollectGame | 251beb560f8246468479f04461bfc0b1298a7e70 | [
"MIT"
] | null | null | null | exe/src/control/game/moveuprightcmd.h | jonpetri/CollectGame | 251beb560f8246468479f04461bfc0b1298a7e70 | [
"MIT"
] | null | null | null | exe/src/control/game/moveuprightcmd.h | jonpetri/CollectGame | 251beb560f8246468479f04461bfc0b1298a7e70 | [
"MIT"
] | null | null | null | /*----------------------------------------------------------------*/
/* PROJECT: Collect Game */
/*----------------------------------------------------------------*/
/**
* CLASS: MoveUpRightCmd
* Command class: Move the player UpRight
*/
#ifndef MOVEUPRIGHTCMD_H
#define MOVE... | 21.571429 | 68 | 0.504967 |
069fa5836725a21049098137f8494daadcf71f7f | 449 | h | C | DynamicTableGenerator/DynamicTableView.h | TheoBrown/DynamicTableGenerator-iOS | 54571ad73656dc783625c410556a3a71039a49d7 | [
"MIT"
] | 16 | 2015-02-17T21:34:27.000Z | 2020-01-09T17:12:36.000Z | DynamicTableGenerator/DynamicTableView.h | TheoBrown/DynamicTableGenerator-iOS | 54571ad73656dc783625c410556a3a71039a49d7 | [
"MIT"
] | 1 | 2015-03-18T04:43:40.000Z | 2015-03-18T04:43:40.000Z | DynamicTableGenerator/DynamicTableView.h | TheoBrown/DynamicTableGenerator-iOS | 54571ad73656dc783625c410556a3a71039a49d7 | [
"MIT"
] | 3 | 2015-02-23T18:34:58.000Z | 2020-01-09T17:12:12.000Z | //
// DynamicTableView.h
// DynamicTableGenerator
//
// Created by tpb on 12/18/14.
// Copyright (c) 2014 Theodore Brown. All rights reserved.
//
#ifndef DynamicTableGenerator_DynamicTableView_h
#define DynamicTableGenerator_DynamicTableView_h
#endif
#import "DynamicTableViewCellManager.h"
#import "DynamicTableV... | 24.944444 | 59 | 0.804009 |
b2f216682b4c7bd615c2c51417c61be300126542 | 556 | h | C | include/il2cpp/AkAmbientLargeModePositioner.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/AkAmbientLargeModePositioner.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/AkAmbientLargeModePositioner.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
UnityEngine_Vector3_o AkAmbientLargeModePositioner__get_Position (AkAmbientLargeModePositioner_o* __this, const MethodInfo* method_info);
UnityEngine_Vector3_o AkAmbientLargeModePositioner__get_Forward (AkAmbientLargeModePositioner_o* __this, const MethodInfo* method_info);
UnityEngin... | 61.777778 | 137 | 0.886691 |
b2fd53996f84e91a1a3d8ce7853fbb3bc60728f6 | 1,128 | h | C | PS_Fgen_FW/Spi/spi.h | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | null | null | null | PS_Fgen_FW/Spi/spi.h | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | 24 | 2020-11-10T13:03:05.000Z | 2021-05-12T16:26:02.000Z | PS_Fgen_FW/Spi/spi.h | M1S2/PowerSupplySigGen | f2d352d9c24db985327d0286db58c6938da2507e | [
"MIT"
] | 1 | 2021-06-25T12:26:36.000Z | 2021-06-25T12:26:36.000Z | /**
* @file spi.h
* @date 14.08.2020 19:24:17
* @author Markus Scheich
* @brief Containing defines and functions for basic SPI initialization and handling.
* @see https://github.com/0xD34D/ATmega/blob/master/include/spi.h
*/
#ifndef SPI_H_
#define SPI_H_
#include "../Pins/Pins.h"
#define spi_wait() while (!(... | 25.636364 | 114 | 0.693262 |
9faa907e19d54a7063d599c6213ae5defec11cf1 | 1,222 | h | C | src/models/classifier.h | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 829 | 2017-06-05T12:14:34.000Z | 2022-03-29T17:24:03.000Z | src/models/classifier.h | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 732 | 2017-07-21T15:32:27.000Z | 2022-03-22T10:26:09.000Z | src/models/classifier.h | hieuhoang/marian-dev | f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2 | [
"MIT"
] | 192 | 2017-06-27T10:17:26.000Z | 2022-03-28T05:33:11.000Z | #pragma once
#include "marian.h"
#include "models/states.h"
#include "layers/constructors.h"
#include "layers/factory.h"
namespace marian {
/**
* Simple base class for Classifiers to be used in EncoderClassifier framework
* Currently only implementations are in bert.h
*/
class ClassifierBase :public LayerBase {
... | 29.095238 | 126 | 0.711129 |
c399d91229da4afa7bc4e40535f1070e5830659c | 2,296 | h | C | src/chrono_sensor/filters/ChFilterPCfromDepth.h | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono_sensor/filters/ChFilterPCfromDepth.h | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono_sensor/filters/ChFilterPCfromDepth.h | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 37.032258 | 107 | 0.581882 |
240f486bc8d4fb1d6a51338506ee620eee08732b | 146 | h | C | 12_SofaBed/Sofabed.h | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | 1 | 2021-06-17T11:37:42.000Z | 2021-06-17T11:37:42.000Z | 12_SofaBed/Sofabed.h | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | null | null | null | 12_SofaBed/Sofabed.h | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | null | null | null | #pragma once
#include "Sofa.h"
#include "Bed.h"
class Sofabed :
public Sofa, public Bed
{
public:
Sofabed(float l, float w, float h);
};
| 13.272727 | 39 | 0.650685 |
ba040004b1e202ba6fd22f7ec06098bae8049f54 | 467 | h | C | InstrumentSampler/InstrumentSingleSampler.h | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | 1 | 2020-03-26T15:48:49.000Z | 2020-03-26T15:48:49.000Z | InstrumentSampler/InstrumentSingleSampler.h | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | null | null | null | InstrumentSampler/InstrumentSingleSampler.h | LovelyA72/ScoreDraft | dd344a49a5eec2670110cc43d672936cd1c27844 | [
"MIT"
] | null | null | null | #ifndef _InstrumentSingleSampler_h
#define _InstrumentSingleSampler_h
#include "PyScoreDraft.h"
class InstrumentSample;
class InstrumentSingleSampler : public Instrument
{
public:
InstrumentSingleSampler();
~InstrumentSingleSampler();
void SetSample(InstrumentSample* sample)
{
m_sample = sample;
}
protected... | 16.103448 | 91 | 0.796574 |
7071baa135f75f5c6e5901234593233e4d50f1c0 | 2,582 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/BeeKeyboardTracker.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/BeeKeyboardTracker.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/BeeKeyboardTracker.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
#import "UIScrollViewDelegate-Protocol.h"
#import "UITextViewDelegate-Protocol.h"
@class NSString, UILabel, ... | 39.723077 | 115 | 0.780015 |
3bbebcf60f112b6ba6f7b95fce481af97e0ae564 | 4,371 | c | C | tests/vb20_rsa_padding_tests.c | DennissimOS/platform_external_vboot_reference | 3007a4c680f6122ee2f0e361778007dc19221589 | [
"BSD-3-Clause"
] | 14 | 2016-05-01T23:54:57.000Z | 2021-11-19T16:17:52.000Z | tests/vb20_rsa_padding_tests.c | DennissimOS/platform_external_vboot_reference | 3007a4c680f6122ee2f0e361778007dc19221589 | [
"BSD-3-Clause"
] | null | null | null | tests/vb20_rsa_padding_tests.c | DennissimOS/platform_external_vboot_reference | 3007a4c680f6122ee2f0e361778007dc19221589 | [
"BSD-3-Clause"
] | 7 | 2017-01-03T17:05:39.000Z | 2019-12-12T00:18:39.000Z | /* Copyright (c) 2011 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.
*/
#include <stdint.h>
#include <stdio.h>
#include "cryptolib.h"
#include "file_keys.h"
#include "rsa_padding_test.h"
#include "test_common.h"
#... | 27.490566 | 76 | 0.719286 |
830a23446b503b98f99429035bd11004d10aac6e | 1,515 | h | C | gvrsample/src/main/cpp/engine/Engine.h | nb7123/OpenGLSample | 7ac778d7877cb5f71e225ee3952eedae090549e5 | [
"Apache-2.0"
] | null | null | null | gvrsample/src/main/cpp/engine/Engine.h | nb7123/OpenGLSample | 7ac778d7877cb5f71e225ee3952eedae090549e5 | [
"Apache-2.0"
] | null | null | null | gvrsample/src/main/cpp/engine/Engine.h | nb7123/OpenGLSample | 7ac778d7877cb5f71e225ee3952eedae090549e5 | [
"Apache-2.0"
] | null | null | null | //
// Created by michael on 17-11-28.
//
#ifndef OPENGLSAMPLE_ENGINE_H
#define OPENGLSAMPLE_ENGINE_H
#include <EGL/egl.h>
#include <android/sensor.h>
#include <vr/gvr/capi/include/gvr.h>
#include <vr/gvr/capi/include/gvr_types.h>
#include "../util/Log.h"
#include "../objects/shape/triangle/Triangle.h"
#include "..... | 16.833333 | 71 | 0.609901 |
7d8f19e04d632497072c2cccef1fa40ca21fd73a | 78 | c | C | testdata/step_14/foo_x_y.c | gky360/mycc | 3fe20c40e9be473578d1a6a5ba14bc460af2cf2a | [
"MIT"
] | 2 | 2019-05-27T23:45:12.000Z | 2019-06-20T14:02:11.000Z | testdata/step_14/foo_x_y.c | gky360/mycc | 3fe20c40e9be473578d1a6a5ba14bc460af2cf2a | [
"MIT"
] | 1 | 2019-06-07T17:23:31.000Z | 2019-06-07T17:23:31.000Z | testdata/step_14/foo_x_y.c | gky360/mycc | 3fe20c40e9be473578d1a6a5ba14bc460af2cf2a | [
"MIT"
] | null | null | null | #include<stdio.h>
int foo(int x, int y) {
printf("OK: %d, %d\n", x, y);
} | 15.6 | 33 | 0.512821 |
fe79424ddf00d9f6c3171c8cddfa1d8c3bfa59e1 | 467 | h | C | Classes/GTOdbObject.h | ohdarling/objective-git | 9bdd08648fdf0ff05fe5bfd15146422da3fa4e50 | [
"MIT"
] | 1 | 2015-01-04T19:39:07.000Z | 2015-01-04T19:39:07.000Z | Classes/GTOdbObject.h | ohdarling/objective-git | 9bdd08648fdf0ff05fe5bfd15146422da3fa4e50 | [
"MIT"
] | null | null | null | Classes/GTOdbObject.h | ohdarling/objective-git | 9bdd08648fdf0ff05fe5bfd15146422da3fa4e50 | [
"MIT"
] | null | null | null | //
// GTOdbObject.h
// ObjectiveGitFramework
//
// Created by Timothy Clem on 3/23/11.
// Copyright 2011 GitHub, Inc. All rights reserved.
//
#import "GTObject.h"
@interface GTOdbObject : NSObject {}
@property (nonatomic, assign, readonly) git_odb_object *git_odb_object;
- (id)initWithOdbObj:(git_odb_object *... | 17.961538 | 71 | 0.708779 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.