text
stringlengths
84
499k
source
stringclasses
6 values
slice
stringclasses
1 value
est_tokens
int32
24
143k
score
float32
<reponame>zhiming-shen/Xen-Blanket-NG /* * vpif-display - VPIF display driver * Display driver for TI DaVinci VPIF * * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Lic...
code_c
code
14,569
null
<filename>searchcore/src/vespa/searchcore/proton/server/maintenance_controller_explorer.h // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "maintenancejobrunner.h" #include <vespa/vespalib/net/state_explorer.h> namespace prot...
code_c
code
212
null
<reponame>s3lsensor/CEE155_SensorDeployLab_b /* * This file defines the driver for ADXL-335 * * --------------------------------------------------------- * * Author: <NAME> */ #ifndef ADXL_335_H #define ADXL_335_H #include "dev/adc.h" typedef struct { /* data */ adc_data_union x; adc_data_union y; adc_data...
code_c
code
154
null
// DOM-IGNORE-BEGIN /******************************************************************************* * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your ...
code_c
code
1,230
null
<reponame>atsushieno/serd /* Copyright 2011-2020 <NAME> <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PRO...
code_c
code
836
null
<reponame>afeng11/tomato-arm /* * Definitions for measuring cputime on ia64 machines. * * Based on <asm-powerpc/cputime.h>. * * Copyright (C) 2007 FUJITSU LIMITED * Copyright (C) 2007 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gener...
code_c
code
953
null
<gh_stars>1-10 /* Copyright (c) 2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
code_c
code
5,426
null
/******************************************************************************** ** Form generated from reading UI file 'coincontroldialog.ui' ** ** Created by: Qt User Interface Compiler version 5.5.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *********************************...
code_c
code
5,367
null
/* * Copyright 2018 The StateChart Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
code_c
code
605
null
#include <stdio.h> #include <stdlib.h> #include "buffer.h" int buffer; void init_buffer() { buffer = 0; } int buffer_empty() { return (buffer==0); } int buffer_full() { return (buffer==1); } void produce_to_buffer() { if (buffer==1) { printf("ERROR: Buffer overflow\n"); exit(1); } else buffer++; } void consu...
code_c
code
122
null
// Lean compiler output // Module: Lean.Data.Occurrences // Imports: Init #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG__) #pragma GCC diagnostic ignored "-Wunused-paramete...
code_c
code
2,239
null
/** * @file xmc_prng.c * @date 2015-06-20 * * @cond ********************************************************************************************************************* * XMClib v2.1.20 - XMC Peripheral Driver Library * * Copyright (c) 2015-2018, Infineon Technologies AG * All rights reserved. ...
code_c
code
1,295
null
<reponame>chillfig/osal /************************************************************************ * NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” * * Copyright (c) 2020 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration....
code_c
code
4,643
null
/**************************************************************************** * examples/modbus/main.c * * Copyright (C) 2012 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
code_c
code
5,500
null
<gh_stars>10-100 /* tcx.c: TCX frame buffer driver * * Copyright (C) 2003, 2006 <NAME> (<EMAIL>) * Copyright (C) 1996,1998 <NAME> (<EMAIL>) * Copyright (C) 1996 <NAME> (<EMAIL>) * Copyright (C) 1996 <NAME> (<EMAIL>) * * Driver layout based loosely on tgafb.c, see that file for credits. */ #include <linux/modul...
code_c
code
3,488
null
<filename>src/drivers/device/vdev.h /**************************************************************************** * * Copyright (c) 2012-2014 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
code_c
code
4,287
null
<reponame>IXDdev/IXD_engine #pragma once #include <vector> #include <random> #include <ctime> #include <iostream> #include <iomanip> #include <cgv/math/svd.h> #include "point_cloud.h" #include "normal_estimator.h" #include "lib_begin.h" namespace cgv { namespace pointcloud { // Sparse ICP using Alternate Direc...
code_c
code
465
null
<filename>deps/webrtc/include/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h /* * Copyright (C) 2014 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * ...
code_c
code
2,618
null
<reponame>xuanhuangyiqi/BackupPan /* * Copyright (c) 2002-2010 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You m...
code_c
code
1,326
null
<filename>XilinxProcessorIPLib/drivers/v_sdirxss/examples/kcu116_xuhdsdi_example/fzetta_fmc/fzetta_fmc_ctlr.h<gh_stars>1-10 /****************************************************************************** * * Copyright (C) 2018 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to a...
code_c
code
1,710
null
<filename>app-3rd-party/ultragrid-1.1-rc4/quad/Examples/ASI/calcstuff.c<gh_stars>0 /* calcstuff.c * * Calculate DVB ASI stuffing parameters * for a given bitrate and packet size. * * Copyright (C) 2000-2004 Linear Systems Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or w...
code_c
code
3,618
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy ...
code_c
code
2,586
null
#include <quark.h> #include <ser.h> enum { Oid = 0x00, Ovs = 0x01, Orteb = 0x10, #define IDX 0xFEC00000 #define WDW 0xFEC00010 Rtecnt = 0x24 }; #define R8(a) (*(volatile u8 *)(a)) #define R32(a) (*(volatile u32 *)(a)) #define ORTEL(i) (Orteb + (i) * 2) #define ORTEH(i) (ORTEL(i) + 1) int main() { int i; u32 v3...
code_c
code
196
null
<filename>include/sx/math-vec.h<gh_stars>100-1000 // // Copyright 2018 <NAME> (<EMAIL>). All rights reserved. // License: https://github.com/septag/sx#license-bsd-2-clause // // see math.h for full info // #pragma once #include "math-scalar.h" SX_FORCE_INLINE float sx_vec2_dot(sx_vec2 _a, sx_vec2 _b); SX...
code_c
code
12,031
null
<reponame>clkbit123/TheOpenHarmony // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2009 <NAME> <<EMAIL>> * Copyright (c) 2019 Linux Test Project */ /* * Here's a little test program that checks whether software counters * (specifically, the task clock counter) work correctly when they're in * a gr...
code_c
code
2,898
null
<filename>tiledb/type/range/range.h /** * @file tiledb/type/range/range.h * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2017-2022 TileDB, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
code_c
code
2,930
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ #define CHROME_BROWSER_PREFS_TRACKED_MOCK_VALIDATION_DELEGATE_H_ #include <string> #incl...
code_c
code
854
null
#ifndef MYRENDERER_H #define MYRENDERER_H #include <EGL/egl.h> struct texture; /* * The renderer interface assumes that an EGL context is already set up, and * provides functions to create textures and render them there. * * NOTE: a future Vulkan implementation of the renderer would require a * modification of ...
code_c
code
321
null
// license:BSD-3-Clause // copyright-holders:<NAME> #ifndef MAME_VIDEO_NAMCOS21_DSP_C67_H #define MAME_VIDEO_NAMCOS21_DSP_C67_H #pragma once #include "machine/namco_c67.h" #include "video/namcos21_3d.h" #include <algorithm> #define ENABLE_LOGGING 0 class namcos21_dsp_c67_device : public device_t { public: s...
code_c
code
1,284
null
<reponame>Ajaybabu009/Workajay<filename>MobileCenterAnalytics/MobileCenterAnalytics/Internals/MSAnalyticsPrivate.h #import "MSAnalytics.h" #import "MSServiceInternal.h" #import "MSSessionTracker.h" #import "MSSessionTrackerDelegate.h" #import "MSAnalyticsDelegate.h" @interface MSAnalytics () <MSSessionTrackerDelegate>...
code_c
code
318
null
// Copyright (c) 2014 <NAME>. See License.txt regarding use. // Wrapper for the gzip RFC1952 library. //http://tools.ietf.org/html/rfc1952 #pragma once #include <oBase/compression.h> namespace ouro { size_t gzip_compress(void* oRESTRICT dst, size_t dst_size , const void* oRESTRICT src, size_t src_size);...
code_c
code
125
null
<reponame>chewaiwai/huaweicloud-sdk-c-obs<gh_stars>10-100 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __gnu_java_nio_charset_EncodingHelper__ #define __gnu_java_nio_charset_EncodingHelper__ #pragma interface #include <java/lang/Object.h> extern "Java" { namespace gnu { namespace j...
code_c
code
332
null
<filename>src/ucm/mmap/mmap.h /** * Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #ifndef UCM_MMAP_H_ #define UCM_MMAP_H_ #include <ucm/api/ucm.h> #include <ucs/sys/checker.h> #define UCM_MMAP_HOOK_RELOC_STR "reloc" #define UCM_MMAP_HOOK_BISTRO_STR ...
code_c
code
450
null
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
code_c
code
730
null
/* $NetBSD: lvrename.c,v <ip> 2009/12/02 00:25:52 haad Exp $ */ /* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. * * This copyrighted material is made available to anyone wishing to use, * modify,...
code_c
code
1,011
null
#pragma once #include "RestApiClient.h" #include "gmock/gmock.h" class FakeRestApiClient : public RestApiClient { public: MOCK_METHOD1(HttpGet, std::string(std::string&)); };
code_c
code
50
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
code_c
code
960
null
<gh_stars>10-100 /* * Core driver for the pin config portions of the pin control subsystem * * Copyright (C) 2011 ST-Ericsson SA * Written on behalf of Linaro for ST-Ericsson * * Author: <NAME> <<EMAIL>> * * License terms: GNU General Public License (GPL) version 2 */ #define pr_fmt(fmt) "pinconfig core: " fmt...
code_c
code
4,622
null
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
code_c
code
676
null
<reponame>abrahamneben/orbcomm_beam_mapping /* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 Massachusetts Institute of Technology * * 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; eith...
code_c
code
2,516
null
<gh_stars>10-100 #pragma once #include "AbstractEditor.h" #include <Utils/ClassDefaults.h> #include <json.h> namespace TristeonEditor { class AbstractJsonEditor : public AbstractEditor { public: AbstractJsonEditor(const nlohmann::json& pValue, const std::function<void(nlohmann::json)>& pCallback) : _value(pVa...
code_c
code
194
null
<filename>common.h /*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribu...
code_c
code
5,828
null
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file hw_conf.h * @author MCD Application Team * @brief Configuration of hardware interface ****************************************************************************** * @attention * * <...
code_c
code
4,036
null
/* Cubesat Space Protocol - A small network-layer protocol designed for Cubesats Copyright (C) 2012 GomSpace ApS (http://www.gomspace.com) Copyright (C) 2012 AAUSAT3 Project (http://aausat3.space.aau.dk) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
code_c
code
474
null
<gh_stars>0 #include <string.h> #include <sentry.h> #include <jni.h> struct transport_options { jclass cls; JNIEnv *env; char outbox_path[4096]; int debug; }; struct transport_options g_transport_options; JNIEXPORT void JNICALL Java_io_sentry_android_ndk_NativeScope_nativeSetTag(JNIEnv *env, jclass c...
code_c
code
2,352
null
<reponame>DuncanCragg/OnexKernel #ifndef __ASSERT_H__ #define __ASSERT_H__ #ifdef ARDUINO_ARCH_AVR #include <avr/pgmspace.h> #endif #include <stdbool.h> #include <stdint.h> /* Some stuff for tests. */ bool onex_assert( bool condition, const char* fail_message); bool onex_assert_equal(char* actual...
code_c
code
138
null
#include <avr/io.h> #include <avr/wdt.h> #include <util/delay.h> #include "ub_app_wrapper.h" #include "rpc.h" /********************************* App section ********************************/ void software_reset() { asm ("jmp 0x00"); } void hardware_reset() { wdt_enable(WDTO_15MS); MCUSR = ~8; while(1){} } uint...
code_c
code
271
null
#include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "am_mcu_apollo.h" //***************************************************************************** // // Global Variables // //***************************************************************************** volatile unsigned long...
code_c
code
603
null
<reponame>qiuzijie/CSNotificationView<gh_stars>10-100 // // CSNotificationView_Private.h // CSNotificationViewDemo // // Created by <NAME> on 23.08.14. // Copyright (c) 2014 <NAME>. Check LICENSE.md. // #import "CSNotificationView.h" static NSInteger const kCSNotificationViewEmptySymbolViewTag = 666; static NSSt...
code_c
code
504
null
<gh_stars>10-100 /*!@file * @copyright This code is licensed under the 3-clause BSD license. * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. * See LICENSE.txt for details. * @brief Provides sequential pair generation from a single container */ #ifndef INCLUDE_MOLASSEMBLER_TEMPLE_SEQUEN...
code_c
code
929
null
<filename>targets/TARGET_NUVOTON/TARGET_NANO100/device/StdDriver/nano100_pwm.c /**************************************************************************//** * @file PWM.c * @version V1.00 * $Revision: 14 $ * $Date: 14/09/04 11:58a $ * @brief NANO100 series PWM driver source file * * @note * Copyright ...
code_c
code
5,795
null
<gh_stars>1-10 /*========================================================================= Program: Visualization Toolkit Module: $RCSfile$ Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed...
code_c
code
1,336
null
/* mm7vidextractor v1.1 - (C)2007 <NAME> <<EMAIL>> THIS SOFTWARE IS DONATED TO THE PUBLIC DOMAIN AND FREELY REDISTRIBUTABLE Purpose: Extract the BIK and SMK animations from the game(s) Might and Magic 6: The Mandate of Heaven Might and Magic 7: For Blood and Honor. Might and Magic 8: Day of the Des...
code_c
code
1,114
null
<reponame>dmgerman/zephyrd3 DECL|CMP_EnablePassThroughMode|function|static inline void CMP_EnablePassThroughMode(CMP_Type *base, bool enable) DECL|CMP_EnableWindowMode|function|static inline void CMP_EnableWindowMode(CMP_Type *base, bool enable) DECL|CMP_Enable|function|static inline void CMP_Enable(CMP_Type *base, boo...
code_c
code
1,103
null
<reponame>synthetic-sky/Synth /* * Create a new chained list * */ ListChain list_chain_new () { ListChain chain = synth_alloc (sizeof (struct synth_list_t)); chain->lists = list_new (); return chain; } /* * Push an element to the end of a chained list * */ void list_chain_push (ListChain chai...
code_c
code
347
null
/* * lib/ts_kmp.c Knuth-Morris-Pratt text search implementation * * 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 License, or (at your option) any later vers...
code_c
code
1,127
null
<reponame>madanagopaltcomcast/pxCore /* * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at ...
code_c
code
4,245
null
<reponame>easion/qt_for_gix /**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtOpenGL module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commerc...
code_c
code
11,070
null
<reponame>lbleier-GSFC/PSP<filename>fsw/pc-rtems/inc/cfe_psp_config.h<gh_stars>0 /* ** GSC-18128-1, "Core Flight Executive Version 6.7" ** ** Copyright (c) 2006-2019 United States Government as represented by ** the Administrator of the National Aeronautics and Space Administration. ** All Rights Reserved. ** ** L...
code_c
code
530
null
<reponame>bloodycoder/sjtushare<filename>Desktop/c++/linuxcodeBook/chap7/bounce2.c<gh_stars>1-10 #include <curses.h> #include <signal.h> #include "bounce2.h" #include <sys/time.h> struct ppball the_ball; void set_up(); void wrap_up(); int set_ticker(int); int bounce_or_lose(struct ppball *); int main(){ int c; ...
code_c
code
757
null
<filename>src/list.c<gh_stars>0 #include "list.h" node* nnew(void *val) { node *node = malloc(sizeof *node); node->value = val; node->next = NULL; return node; } void nfree(node *node, int freevalue) { if(node->value && freevalue) free(node->value); if(node) free(node); //:D } list* lnew(void) { l...
code_c
code
488
null
<reponame>crazyinsanejames/CloverBootloader /** @file Provides the definition of Usb Hc Protocol and OHCI controller private data structure. Copyright(c) 2013 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that t...
code_c
code
9,150
null
<filename>ios-rongimdemo/framework/RongIMKit.framework/Headers/RCMessageBaseCell.h // // RCMessageBaseCell.h // RongIMKit // // Created by xugang on 15/1/28. // Copyright (c) 2015年 RongCloud. All rights reserved. // #ifndef __RCMessageBaseCell #define __RCMessageBaseCell #import <UIKit/UIKit.h> #import <RongIMLib...
code_c
code
402
null
<filename>recipes-core/gnokii/files/gnokii/gnokii/gnokii-monitor.c<gh_stars>0 /* G N O K I I A Linux/Unix toolset and driver for the mobile phones. This file is part of gnokii. Copyright (C) 1999-2000 <NAME> & <NAME>. Copyright (C) 1999-2000 <NAME>, <NAME> Copyright (C) 1999-2006 <NAME> Copyright (...
code_c
code
4,287
null
<gh_stars>10-100 #pragma once enum XeKey { XEKEY_MANUFACTURING_MODE = 0x0, XEKEY_ALTERNATE_KEY_VAULT = 0x1, XEKEY_RESTRICTED_PRIVILEGES_FLAGS = 0x2, XEKEY_RESERVED_BYTE3 = 0x3, XEKEY_ODD_FEATURES = 0x4, XEKEY_ODD_AUTHTYPE = 0x5, XEKEY_RESTRICTED_HVEXT_LOADER = 0x6, XEKEY_POLICY_FLASH_SIZE = 0x7, XEKEY_POLICY_...
code_c
code
1,340
null
// 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 REMOTING_BASE_REMOTING_BOT_H_ #define REMOTING_BASE_REMOTING_BOT_H_ #include <string> namespace remoting { // The JID of the remoting bot. cons...
code_c
code
188
null
/* 03_main.c */ #include <stdio.h> #include <smear/smear.h> #include "03_pinball.h" #include "03_pinball_ext.h" void incScore(const pinball_target_t *unused) { static int score = 0; score++; printf("ding ding, new score: %d\n", score); } int main(void) { SRT_init(); SRT_run(); pinball_coin(NU...
code_c
code
131
null
/* * This file is part of the oggbox project. * * Copyright <NAME> 2012 <<EMAIL>> * * This firmware is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
code_c
code
1,529
null
<filename>lib/mbed-os/mbed_config.h /* * mbed SDK * Copyright (c) 2017 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
code_c
code
1,454
null
<filename>torch_disc/torch_disc/csrc/include/torch/csrc/lazy/ts_backend/ops/cast.h // Copyright 2022 The BladeDISC Authors. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License ...
code_c
code
371
null
/* * extensions to ioctl_meteor.h for the bt848 cards * * $FreeBSD: src/sys/ia64/include/ioctl_bt848.h,v 1.1 2000/09/29 13:46:05 dfr Exp $ */ #ifndef _MACHINE_IOCTL_BT848_H_ #define _MACHINE_IOCTL_BT848_H_ /* * frequency sets */ #define CHNLSET_NABCST 1 #define CHNLSET_CABLEIRC 2 #define CHNLSET_CABLEHRC 3 #...
code_c
code
2,695
null
/* * Copyright (c) 2000,2005 Silicon Graphics, Inc. * All Rights Reserved. * * 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. * * This program is distributed in the hope that it would be ...
code_c
code
1,046
null
/* This file is part of SAIL (https://github.com/smoked-herring/sail) Copyright (c) 2020 <NAME> The MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restr...
code_c
code
610
null
<reponame>morningtec/StellaSDK<filename>arm-google-android2s/usr/include/unicode/idna.h /* ******************************************************************************* * Copyright (C) 2010-2012, International Business Machines * Corporation and others. All Rights Reserved. **************************************...
code_c
code
3,734
null
<gh_stars>1-10 // Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // // This is a DV specific pwrmgr usbdev smoketest that fakes usb activity. // Using the phy drive function of usbdev, we present the usbdev is in suspend...
code_c
code
887
null
/* 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 x5 = -1; volatile int32_t x6 = 3; uint32_t x7 = UINT32_MAX; int16_t x16 = -1; volatile int32_t t3 = -87...
code_c
code
15,146
null
/* Copyright (c) 2013-2018, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file * * ODP alignments */ #ifndef ODP_API_SPEC_ALIGN_H_ #define ODP_API_SPEC_ALIGN_H_ #include <odp/visibility_begin.h> #ifdef __cplusplus extern "C" { #endif /** @addtogroup odp_compiler_...
code_c
code
330
null
<reponame>tlemo/bounce_softbody /* * Copyright (c) 2016-2019 <NAME> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpo...
code_c
code
1,670
null
// // Copyright (c) 2017 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // DrawCallPerfParams.h: // Parametrization for performance tests for ANGLE draw call overhead. // #ifndef TESTS_PERF_TESTS_DRAW_CALL_PER...
code_c
code
400
null
<reponame>perfectrecall/aws-sdk-cpp /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/fsx/FSx_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace FSx { namespace Model { enum class Stora...
code_c
code
228
null
<filename>Assignment/LibOVR/Src/CAPI/Shaders/DistortionChroma_vs_refl.h #ifndef DistortionChroma_vs_refl const OVR::CAPI::D3D_NS::ShaderBase::Uniform DistortionChroma_vs_refl[] = { { "EyeToSourceUVScale", OVR::CAPI::D3D_NS::ShaderBase::VARTYPE_FLOAT, 0, 8 }, { "EyeToSourceUVOffset", OVR::CAPI::D3D_NS::ShaderB...
code_c
code
103
null
/** \file \brief The definitions of the body customizer interface for increasing binary compatibility \author <NAME> */ #ifndef CNOID_BODY_CUSTOMIZER_INTERFACE_H_INCLUDED #define CNOID_BODY_CUSTOMIZER_INTERFACE_H_INCLUDED #include <string> #include <cnoid/EigenTypes> #include <cnoid/Config> #include "exportd...
code_c
code
896
null
<filename>Libraries/RobsJuceModules/jura_processors/custom_widgets/jura_CustomComboBoxes.h #ifndef jura_CustomComboBoxes_h #define jura_CustomComboBoxes_h /** This file contains custom comboboxes for special purposes. */ class FourPoleFilterModeComboBox : public RComboBox { public: FourPoleFilterModeComboBox(const...
code_c
code
187
null
<gh_stars>1-10 /* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/gfx/src/nsIScriptableRegion.idl */ #ifndef __gen_nsIScriptableRegion_h__ #define __gen_nsIScriptableRegion_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif #include "jspubtd.h" /* For ID...
code_c
code
3,910
null
/* * File : clock.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team * * 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 ...
code_c
code
962
null
/*------------------------------------------------------------------------------ * * Copyright (c) 2011-2021, EURid vzw. All rights reserved. * The YADIFA TM software product is provided under the BSD 3-clause license: * * Redistribution and use in source and binary forms, with or without * modification, are perm...
code_c
code
6,180
null
<reponame>githuberto/crawl #pragma once // If there are several keys assigned to the same command, the last one // will be the one displayed on the command help screen. Keys assigned // via keybindings will take precedence. (jpeg) #ifdef USE_TILE {'-', CMD_EDIT_PLAYER_TILE}, #endif // movement keys {'s', CMD_WAIT}, {C...
code_c
code
3,453
null
<gh_stars>1-10 //===--- Utils.h - Misc utilities -------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
code_c
code
5,895
null
<filename>src/devices/bin/driver_manager/resume_task.h // Copyright 2019 The Fuchsia 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 SRC_DEVICES_BIN_DRIVER_MANAGER_RESUME_TASK_H_ #define SRC_DEVICES_BIN_DRIVER_MANAGER_RESUME_...
code_c
code
326
null
<filename>components/ntp_snippets/pref_names.h // Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ namespace ntp_...
code_c
code
1,154
null
<reponame>cazure/rt-thread /** * \file * * \brief Component description for DAC * * Copyright (c) 2018 Microchip Technology Inc. * * \asf_license_start * * \page License * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file ...
code_c
code
5,468
null
#ifndef WS_H #define WS_H #include <stdint.h> #include "handle.h" #define CONN_TIME_OUT_S 3 #define BITV(v, i) ((v & (1 << i)) >> i) #define WS_TEXT 0x1 #define WS_BIN 0x2 #define WS_CLOSE 0x8 #define WS_PING 0x9 #define WS_PONG 0xA #define ws_t(c, d) (ws_send_text(c, d, 0)) #define ws_b(c, d, z) (ws_send_binary(c, ...
code_c
code
543
null
#pragma once #include <SDL_mixer.h> #include <unordered_map> #include <string> class SoundEffects { public: SoundEffects(); virtual ~SoundEffects(); void Initialize(); void ParseLine( std::string &line ); void Uninitialize(); void Play(int id); protected: private: void LoadEffect( std::string name, in...
code_c
code
109
null
/** * Copyright 2021 Huawei Technologies 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 the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
code_c
code
794
null
// // RegionAnnotationModel.h // CoreLocationLearn20170531 // // Created by 寰宇 on 2017/6/2. // Copyright © 2017年 devhy. All rights reserved. // #import <Foundation/Foundation.h> #import <MapKit/MapKit.h> @interface RegionAnnotationModel : NSObject <MKAnnotation> @property (nonatomic, strong, readonly) CLCircularR...
code_c
code
114
null
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
code_c
code
1,855
null
// // // Project Name: Kratos // Last Modified by: $Author: pooyan $ // Date: $Date: 2006-11-27 16:07:33 $ // Revision: $Revision: <ip> $ // // #if !defined(KRATOS_TETRAHEDRA_RECONNECT_H_INCLUDED ) #define KRATOS_TETRAHEDRA_RECONNECT_H_INCLUDED // System in...
code_c
code
7,997
null
<filename>components/arduino/cores/esp32/esp32-hal-tinyusb.c #include "sdkconfig.h" #if CONFIG_USB_ENABLED #include <stdlib.h> #include "esp_log.h" #include "soc/soc.h" #include "soc/efuse_reg.h" #include "soc/rtc_cntl_reg.h" #include "soc/usb_struct.h" #include "soc/usb_reg.h" #include "soc/usb_wrap_reg.h" #include...
code_c
code
6,801
null
#ifndef AR_H #define AR_H #include "lndsr.h" #include "bool.h" #include "lut.h" #include "sixs_runs.h" typedef struct { bool first; int ar_min; int ar_max; long nfill; } Ar_stats_t; bool Ar(int il_ar,Lut_t *lut, Img_coord_int_t *size_in, int16 ***line_in, char **ddv_line, int **line_ar, Ar_stats_t *a...
code_c
code
153
null
#pragma once #include "Core.h" #include "spdlog/spdlog.h" #include "spdlog/fmt/ostr.h" namespace Oszi { class OSZI_API Log { public: static void Init(); inline static std::shared_ptr<spdlog::logger>& GetLogger() { return s_Logger; } private: static std::shared_ptr<spdlog::logger> s_Logger; }; } //Con...
code_c
code
171
null