text
stringlengths
84
499k
source
stringclasses
6 values
slice
stringclasses
1 value
est_tokens
int32
24
143k
score
float32
<reponame>dinisAbranches/nwchem #ifndef _PAW_DIRAC_EXCHANGE_H_ #define _PAW_DIRAC_EXCHANGE_H_ /* $Id$ */ extern void paw_init_dirac_exchange(); extern double paw_get_exchange_energy(double **rho); extern void paw_generate_exchange_pot_LDA(double *rho); extern double paw_get_exchange_energy_LDA(double *rho); extern...
code_c
code
105
null
<reponame>hsphcdm/swift-t<filename>c-utils/code/src/list_lp.h<gh_stars>10-100 /* * Copyright 2013 University of Chicago and Argonne National Laboratory * * 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 t...
code_c
code
852
null
/*- * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it u...
code_c
code
1,927
null
#pragma once #include "fold.h" template < typename P, typename S = typename P::ScoreType > class Nussinov : public Fold { public: using ScoreType = S; private: enum TBType { TB_P, TB_L, TB_R, TB_B }; using TB = std::pair<TBType, u_int32_t>; public: Nussinov(std::uniqu...
code_c
code
212
null
<gh_stars>0 /* * 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 writing,...
code_c
code
373
null
<filename>Win32.Carberp/all source/BJWJ/include/xpcom/nsIStreamBufferAccess.h<gh_stars>1-10 /* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/xpcom/io/nsIStreamBufferAccess.idl */ #ifndef __gen_nsIStreamBufferAccess_h__ #define __gen_nsIStreamBufferAccess_h__ #...
code_c
code
3,147
null
<reponame>fuldaros/paperplane_kernel_wileyfox-spark /* * rcar_du_drv.c -- R-Car Display Unit DRM driver * * Copyright (C) 2013-2014 Renesas Electronics Corporation * * Contact: <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
code_c
code
2,546
null
/******************************************************************** * Copyright(c) 2006-2009 Broadcom Corporation. * * Name: bc_dts_types.h * * Description: Data types * * AU * * HISTORY: * ******************************************************************** * This header is free software: you can red...
code_c
code
577
null
/** * @file mega/http.h * @brief Generic host HTTP I/O interfaces * * (c) 2013-2014 by Mega Limited, Auckland, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Term...
code_c
code
3,812
null
<filename>d/laerad/parnelli/asgard/sewer/rooms/dw34d.c #include <std.h> #include "../lizard.h" inherit DEEP2; void create(){ ::create(); set_exits(([ "north":LROOMS+"dw29d", "west":LROOMS+"dw33d", "northwest":LROOMS+"dw28d", "up":LROOMS+"dw34", "down":LROOMS+"dw34dd" ])); }
code_c
code
83
null
<gh_stars>1-10 /********************************************************************** Audacity: A Digital Audio Editor MixerBoard.h <NAME>, January 2007 **********************************************************************/ #ifndef __AUDACITY_MIXER_BOARD__ #define __AUDACITY_MIXER_BOARD__ #include <wx/...
code_c
code
2,258
null
<filename>usr/src/libc/stdio/getgrent.c /* UNIX V7 source code: see /COPYRIGHT or www.tuhs.org for details. */ #include <stdio.h> #include <grp.h> #define CL ':' #define CM ',' #define NL '\n' #define MAXGRP 100 static char GROUP[] = "/etc/group"; static FILE *grf = NULL; static char line[BUFSIZ+1]; static struct gr...
code_c
code
299
null
<gh_stars>10-100 /* lps25hb.c - Driver for LPS25HB pressure and temperature sensor */ /* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <sensor.h> #include <kernel.h> #include <device.h> #include <init.h> #include <misc/byteorder.h> #include <misc/__assert.h> #include ...
code_c
code
1,389
null
#include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "util_log.h" #ifdef UTLOG_LINUX_API_TIME #include <sys/time.h> #endif static utlog_time_t start_time; static FILE *user_log_ostream = NULL; static int time_mode_flag_m = UTLOG_USE_SYS_TIME; static int time_...
code_c
code
1,230
null
/* * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANT...
code_c
code
723
null
#pragma once #include "Message.h" namespace Three { class UnrecognizedVariableMessage : public Message { public: UnrecognizedVariableMessage(const std::string& identifier); std::string name() const; std::string message() const; private: std::string _identifier; }; }
code_c
code
91
null
<reponame>PedroHenrique-git/algoritmos #include<stdio.h> #define MAX 11 int buscaLinearComSentinela(int vet[], int elemento) { vet[MAX] = elemento; int i = 0; while (vet[i] != elemento) { i += 1; } if( i == MAX ) return -1; else return i; } int main(void) { ...
code_c
code
227
null
<reponame>GoddamnIndustries/GoddamnEngine // ========================================================================================== // Copyright (C) Goddamn Industries 2018. All Rights Reserved. // // This software or any its part is distributed under terms of Goddamn Industries End User // License Agreement. By d...
code_c
code
670
null
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 <NAME> http://continuousphysics.com/Bullet/ 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 ...
code_c
code
1,030
null
/**************************************************************/ /* ********************************************************** */ /* * * */ /* * LISTS * */ /* * ...
code_c
code
14,130
null
<filename>Kits/ATGTK/TextConsole.h //-------------------------------------------------------------------------------------- // File: TextConsole.h // // Renders a simple on screen console where you can output text information on a // Direct3D surface // // Note: This is best used with monospace rather than proportional...
code_c
code
2,193
null
#ifndef CMARK_PARSER_H #define CMARK_PARSER_H #include <stdio.h> #include "node.h" #include "buffer.h" #include "memory.h" #ifdef __cplusplus extern "C" { #endif #define MAX_LINK_LABEL_LENGTH 1000 struct cmark_parser { struct cmark_mem *mem; /* A hashtable of urls in the current document for cross-references */...
code_c
code
533
null
<reponame>zhangyifei/mud inherit NPC; inherit F_MASTER; #include <ansi.h> void create() { set_name("归二娘", ({ "<NAME>", "gui" })); set("title", "华山派三十二代高手"); set("long", "一个年迈的老妇,头发半白,但看起来却是精神抖擞,\n" "脾气相当的火暴。他便是神拳无敌归心树的内人----归\n" "二娘。\n"); set("gender", "女性"); set("age", 68); set("attitude", "peaceful"); set("she...
code_c
code
467
null
<gh_stars>1-10 /* LICENSE: Copyright (c) Members of the EGEE Collaboration. 2010. See http://www.eu-egee.org/partners/ for details on the copyright holders. 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...
code_c
code
500
null
<reponame>jadonk/librobotcontrol<gh_stars>1-10 /******************************************************************************* * test_algebra.c * * <NAME> 2016 * This tests some of the more common functions in linear_algebra.c, it is not a * complete test of all available linear algebra functions but should get you * ...
code_c
code
724
null
<reponame>crlupu/upload<gh_stars>10-100 #pragma once #include "tock.h" #ifdef __cplusplus extern "C" { #endif #define DRIVER_NUM_SOUND_PRESSURE 0x60006 // units: sound_pressure in DB. // function to be called when the temperature measurement is finished // // callback - pointer to function to be called // ca...
code_c
code
281
null
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
code_c
code
15,736
null
// // NSString+ZGMD5.h // ZGTextProj // // Created by XuZongGen on 2019/11/6. // Copyright © 2019 XuZonggen. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (ZGMD5) - (NSString *)md5String; @end NS_ASSUME_NONNULL_END
code_c
code
80
null
<gh_stars>100-1000 /* * MODULE: ibase.h * DESCRIPTION: OSRI entrypoints and defines * * The contents of this file are subject to the Interbase Public * License Version 1.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.Inp...
code_c
code
26,968
null
<filename>testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr54103-4.c<gh_stars>100-1000 void f (void) { 0 / 0 && 1 ? : 0; }
code_c
code
38
null
/** ****************************************************************************** * @file stm8s_spi.spi_clearflag.c * @author MCD Application Team * @version V2.2.0 * @date 30-September-2014 * @brief This file contains all the functions for the SPI peripheral. ***************************...
code_c
code
816
null
<gh_stars>0 // // ParrotTrouble.h // codingBatObjectiveC // // Created by <NAME> on 9/25/18. // Copyright © 2018 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface ParrotTrouble : NSObject { } - (BOOL) talking: (BOOL) isTalking hour: (int) hour; @end
code_c
code
80
null
<filename>libraries/libldap/os-ip.c /* os-ip.c -- platform-specific TCP & UDP related code */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2019 The OpenLDAP Foundation. * Portions Copyright 1999 <NAME>. * All rights reserved. * * Redistribution and use ...
code_c
code
6,850
null
<reponame>datalliance88/tencentcloud-sdk-cpp /* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
code_c
code
2,374
null
/***************************************************************************** * type.h: Type definition Header file for NXP LPC17xx Family * Microprocessors * * Copyright(C) 2008, NXP Semiconductor * All rights reserved. * * History * 2008.08.21 ver 1.00 Prelimnary version, first Rele...
code_c
code
276
null
<gh_stars>1000+ // 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 COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_GENERATE_PAGE_BUNDLE_RECONCILE_TASK_H_ #define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_GENER...
code_c
code
438
null
<filename>newton-3.14/sdk/dModel/dModelStdAfx.h<gh_stars>1000+ /* Copyright (c) <2003-2019> <Newton Game Dynamics> * * 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 gr...
code_c
code
488
null
<reponame>Jannled/J3ngine<gh_stars>0 #ifndef HID_H #define HID_H class HID { }; #endif // HID_H
code_c
code
29
null
<gh_stars>10-100 /* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This progr...
code_c
code
4,957
null
<filename>PixelSwapperApp.h #ifndef PIXELSWAPPERAPP_H_ #define PIXELSWAPPERAPP_H_ #include "wx/image.h" #include "PixelSwapperDlg.h" class PixelSwapperApp: public wxApp { DECLARE_CLASS( PixelSwapperApp ) DECLARE_EVENT_TABLE() public: PixelSwapperApp(); virtual bool OnInit(); virtual...
code_c
code
109
null
<filename>drivers/dma/idxd/idxd.h<gh_stars>1-10 /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ #ifndef _IDXD_H_ #define _IDXD_H_ #include <linux/sbitmap.h> #include <linux/dmaengine.h> #include <linux/percpu-rwsem.h> #include <linux/wait.h> #include <linux/cdev.h> #i...
code_c
code
2,826
null
<reponame>clayne/xray-16 //////////////////////////////////////////////////////////////////////////// // Module : alife_spawn_registry_inline.h // Created : 15.01.2003 // Modified : 12.05.2004 // Author : <NAME> // Description : ALife spawn registry inline functions ///////////////////////////////////////////////...
code_c
code
576
null
<gh_stars>0 /*<std-header orig-src='shore' incl-file-exclusion='BASICS_H'> $Id: basics.h,v 1.73 2010/07/26 23:37:06 nhall Exp $ SHORE -- Scalable Heterogeneous Object REpository Copyright (c) 1994-99 Computer Sciences Department, University of Wisconsin -- Madison All Rights Reserved. Permiss...
code_c
code
986
null
/** * \file * \copyright * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #pragma once namespace { //! Optionally ...
code_c
code
325
null
/* * Copyright (C) 2019 Intel Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #include "wa-inc/lvgl/lvgl.h" #include "bh_platform.h" #include "gui_api.h" #define ARGC sizeof(argv)/sizeof(uint32) #define CALL_BTN_NATIVE_FUNC(id) wasm_btn_native_call(id, argv, ARGC) l...
code_c
code
843
null
/* * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (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 * https://www.openssl.org/source/l...
code_c
code
6,185
null
<filename>src/lib/crypt_ops/digestset.c /* Copyright (c) 2018-2018, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file digestset.c * \brief Implementation for a set of digests **/ #include "orconfig.h" #include "lib/container/bloomfilt.h" #include "lib/crypt_ops/crypto_rand.h" #includ...
code_c
code
419
null
<reponame>isn-dev/exoplanet-ml /* Copyright 2018 The Exoplanet ML Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless...
code_c
code
817
null
<reponame>nitingupta910/AC<gh_stars>100-1000 #import <Cocoa/Cocoa.h> /* * A basic console view */ @interface ConsoleView : NSView { @private NSMutableArray *array; NSDictionary *attr; BOOL endScroll; } - (void)scrollToEnd:(BOOL)enable; /* * Append the given line */ - (void)appendLine:(NSString*)line; /* * A...
code_c
code
115
null
// // CharacteristicsView.h // GarmentDrops // // Created by <NAME> on 11/12/18. // Copyright © 2018 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "Garment.h" NS_ASSUME_NONNULL_BEGIN @interface CharacteristicsView : UIView @property (nonatomic) UILabel * garmentNameLabel; @property (nonatomic)...
code_c
code
122
null
#pragma once #define __STR2__(x) #x #define __STR1__(x) __STR2__(x) #define __LOC__ __FILE__ "("__STR1__(__LINE__)") : Info : " //#pragma message(__LOC__"Run the NAnt script to get proper version info") #define FILEVER 2, 1, 0, 5 #define PRODUCTVER 2, 1, 0, 6 #define STRFILEVER "<ip>\0" #define STR...
code_c
code
145
null
/* * Copyright (C) 2013 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
code_c
code
1,124
null
/* An application ordering is mapping between an application-centric ordering (the ordering that is "natural" for the application) and the parallel ordering that PETSc uses. */ #if !defined(__PETSCAO_H) #define __PETSCAO_H #include <petscis.h> /*S AO - Abstract PETSc object that manages mapping between diff...
code_c
code
870
null
// Copyright (c) 2009 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. // This file/namespace contains utility functions for enumerating, ending and // computing statistics of processes. #ifndef BASE_PROCESS_UTIL_H_ #def...
code_c
code
5,103
null
<reponame>eanswer/LearningToFly // @ Copyright 2016 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; either version 2 // of the License, or (at you...
code_c
code
794
null
<filename>chrome/browser/ui/passwords/passwords_model_delegate_mock.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 CHROME_BROWSER_UI_PASSWORDS_PASSWORDS_MODEL_DELEGATE_MOCK_H_ #define CHROME_...
code_c
code
1,305
null
<reponame>garyc618/GitTagBug /*========================================================================= Program: Visualization Toolkit Module: vtkMergeDataObjectFilter.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
code_c
code
936
null
<filename>windows/gettimeofday.h #ifndef GETTIMEOFDAY_H #define GETTIMEOFDAY_H #ifdef _WIN32 #include <winsock2.h> #include <time.h> int gettimeofday(struct timeval * tp, struct timezone * tzp); #endif #endif
code_c
code
61
null
<filename>gtk2/dict/anthy.c /* * $Id:$ * Copyright (c) 2003,2004 <NAME> <<EMAIL>> * 2005-2013 uim Project https://github.com/uim/uim * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
code_c
code
2,063
null
// // Created by <NAME> // http://www.hexedbits.com // // // Documentation // http://cocoadocs.org/docsets/JSMessagesViewController // // // The MIT License // Copyright (c) 2013 <NAME> // http://opensource.org/licenses/MIT // #import "JSMessagesViewController.h" @interface JSDemoViewController : JSMessagesVie...
code_c
code
175
null
<filename>GuiLib/GuiOutLook.h /**************************************************************************** * * * GuiToolKit * * (MFC extension) * * Created by <NAME>. www.beyondata.com <EMAIL> * *--------------------------------------------------------------...
code_c
code
1,136
null
#pragma once #include "unitdata.h" #include "ammo.h" #include "HP.h" #include "Exp.h" #include "Mana.h" #include "Equipment.h" #include "ui/CocosGUI.h" USING_NS_CC; //出生点坐标 class HP; class unit :public Sprite { private: unitdata *data; std::string id; int level, gold, damage, InitDamage, ASPD, moveSpee...
code_c
code
1,825
null
<reponame>taluu895897324/DYSdkDemo // // DYMethodModel.h // DYSDKDemo // // Created by Taluu on 2020/6/27. // Copyright © 2020 Taluu. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface DYMethodModel : NSObject + (void)testMethod; @end NS_ASSUME_NONNULL_END
code_c
code
88
null
#pragma once #include <glbinding/nogl.h> #include <glbinding/gl/extension.h> #include <glbinding/gl31ext/types.h> #include <glbinding/gl31ext/boolean.h> #include <glbinding/gl31ext/values.h> #include <glbinding/gl31ext/bitfield.h> #include <glbinding/gl31ext/enum.h> #include <glbinding/gl31ext/functions.h>
code_c
code
88
null
<gh_stars>0 /* * ***************************************************************************** * * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2018-2021 <NAME> and contributors. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
code_c
code
1,844
null
#ifndef GLUG_LINE3_T_H #define GLUG_LINE3_T_H #include <glug/math/vec3_t.h> struct glug_line3 { struct glug_vec3 v, r0; }; #ifdef GLUG_USE_TYPEDEFS typedef struct glug_line3 line3_t; #endif #endif // GLUG_LINE3_T_H
code_c
code
64
null
<reponame>dhmhd/poly-spl #ifndef RENDERAREA_H #define RENDERAREA_H #include <QWidget> class RenderArea : public QWidget { Q_OBJECT public: RenderArea(QWidget *parent = 0); protected: void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void...
code_c
code
178
null
<filename>libcurv/output_file.h // Copyright 2016-2020 <NAME> // Licensed under the Apache License, version 2.0 // See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0 #ifndef LIBCURV_OUTPUT_FILE_H #define LIBCURV_OUTPUT_FILE_H #include <memory> #include <ostream> #include <libcurv/filesystem....
code_c
code
714
null
<filename>upnp/src/threadutil/LinkedList.h /******************************************************************************* * * Copyright (c) 2000-2003 Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
code_c
code
2,324
null
#include "schpriv.h" #include "schmach.h" #include "schrktio.h" static Scheme_Object *future_p(int argc, Scheme_Object *argv[]) { if (SAME_TYPE(SCHEME_TYPE(argv[0]), scheme_future_type)) return scheme_true; else return scheme_false; } Scheme_Object *scheme_fsemaphore_p(int argc, Scheme_Object *argv[]) { ...
code_c
code
31,659
null
<gh_stars>1-10 #include "conf_usb.h" #include "usb_protocol.h" #include "udd.h" #include "udc_desc.h" #include "udi.h" #include "udc.h" static le16_t udc_device_status; static uint8_t udc_num_configuration = 0; static udc_config_speed_t UDC_DESC_STORAGE *udc_ptr_conf; static usb_iface_desc_t UDC_DESC_...
code_c
code
7,316
null
<gh_stars>1000+ // Copyright 2012 the V8 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. // emulates google3/base/once.h // // This header is intended to be included only by v8's internal code. Users // should not use this di...
code_c
code
987
null
<gh_stars>100-1000 #define BOOL int #define FALSE (0) #define TRUE (!FALSE) #define DWORD int #include <stdio.h>
code_c
code
32
null
<reponame>MBNTHUEE404/vowpal_wabbit /* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD license as described in the file LICENSE. */ #ifndef PARSE_PRIMITIVES_H #define PARSE_PRIMITIVES_H #include<iostream> #include <stdint.h> #incl...
code_c
code
1,691
null
#pragma once #include "CoreMinimal.h" #include "TickableActionBase.h" #include "UObject/NoExportTypes.h" #include "Kismet/KismetMathLibrary.h" #include "MoveComponentToAction.generated.h" class UMoveComponentToAction; class USceneComponent; class UObject; UDELEGATE(BlueprintCallable) DECLARE_DYNAMIC_MULTICAST_DELEGAT...
code_c
code
274
null
<reponame>wx9698/xviz-1 /* * File: definitions.h * Author: <NAME> (<EMAIL>) * File Created: Saturday, 7th December 2019 2:46:43 pm */ #ifndef XVIZ_DEFINES_H_ #define XVIZ_DEFINES_H_ #include "xviz/v2/session.pb.h" #include "xviz/v2/style.pb.h" namespace xviz { using AnnotationType = v2::StreamMetadata::Annotati...
code_c
code
422
null
/* Copyright (C) 2010-2020 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (net_socket.c). * --------------------------------------------------------------------------------------- * * Permi...
code_c
code
2,312
null
namespace CGAL { /// \addtogroup PkgKernelDFunctions /// @{ /*! returns true iff the points in `A = tuple [first,last)` are affinely independent. \pre The objects are of the same dimension. \tparam ForwardIterator has `Point_d<R>` as value type. */ template <class ForwardIterator> bool affinely_independent(Forwar...
code_c
code
1,381
null
<gh_stars>1-10 /**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses m...
code_c
code
763
null
// // RecognitionOperation.h // Tesseract OCR iOS // // // Created by <NAME> on 2018. // Copyright (c) 2018 <NAME> - www.mistergrizzly.com. All rights reserved. // #import <UIKit/UIKit.h> #import "MGTesseract.h" /** * The type of a block function that can be used as a callback for the * recognition operation...
code_c
code
612
null
/* * Copyright (C) 2017 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
2,073
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
code_c
code
2,036
null
#ifndef MINC_BASIC_H #define MINC_BASIC_H /* ----------------------------- MNI Header ----------------------------------- @NAME : minc_basic.h @INPUT : @OUTPUT : @RETURNS : @DESCRIPTION: Constants and macros for private use by MINC routines. @METHOD : @GLOBALS : @CALLS : @CREATED ...
code_c
code
2,185
null
// dnd.h // Some game constants #define MAP_WIDTH 20 #define MAP_HEIGHT 20 #define MAX_NAME_LEN 20 typedef unsigned char byte; typedef struct { byte map[MAP_WIDTH][MAP_HEIGHT]; } tDungeon; typedef struct { char name[MAX_NAME_LEN+1]; byte health; byte intelligence; byte strength; byte magic; byte wealth; c...
code_c
code
214
null
// SPDX-License-Identifier: GPL-2.0 /* * linux/mm/page_io.c * * Copyright (C) 1991, 1992, 1993, 1994 <NAME> * * Swap reorganised 29.12.95, * Asynchronous swapping added 30.12.95. <NAME> * Removed race in async swapping. 14.4.1996. <NAME> * Add swap of shared pages through the page cache. 20.2.1998. <NAM...
code_c
code
2,838
null
<filename>include/inviwo/core/datastructures/volume/volumeramprecision.h<gh_stars>0 /********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2013-2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in...
code_c
code
3,880
null
/* * The MIT License (MIT) * * Copyright (c) 2013-2021 <NAME> <<EMAIL>> github/3F * Copyright (c) regXwild contributors https://github.com/3F/regXwild * * 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 th...
code_c
code
994
null
/* * Copyright (c) 2014-2016 Yubico AB * 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, this list of ...
code_c
code
1,195
null
<filename>Project/Temp/StagingArea/Data/il2cppOutput/Assembly-CSharp-firstpass_ArrayTypes.h #pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif // iTween struct iTween_t488923914; #include "mscorlib_System_Array3829468939.h" #include "AssemblyU2DCSharpU2...
code_c
code
411
null
/* linux/drivers/hwmon/kxte91026.h * * (C) Copyright 2008 * MediaTek <www.mediatek.com> * * KXTE9 driver for MT6516 * * 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 o...
code_c
code
1,694
null
<gh_stars>0 /***************************************************************************//** * @file fmc_user.h * @brief FMC driver header file * @version 2.0.0 * * @copyright SPDX-License-Identifier: Apache-2.0 * @copyright Copyright (C) 2021 Nuvoton Technology Corp. All rights reserved. ***************...
code_c
code
674
null
//===- FIRParser.h - .fir to FIRRTL dialect parser --------------*- C++ -*-===// // // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------------------...
code_c
code
777
null
<gh_stars>1-10 //--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2018 Pivotal, Inc. // // @filename: // CStatistics.h // // @doc: // Statistics implementation over 1D histograms //-----------------------------------------------------------------------...
code_c
code
3,213
null
/* * Copyright (c) 2016 CartoDB. All rights reserved. * Copying and using this code is allowed only according * to license terms, as given in https://cartodb.com/terms/ */ #ifndef _CARTO_BALLOONPOPUPSTYLE_H_ #define _CARTO_BALLOONPOPUPSTYLE_H_ #include "styles/PopupStyle.h" #include <string> namespace carto { ...
code_c
code
3,099
null
/* * twirtee.c * * Created on: 26 janv. 2018 * Author: GPH */ #include "../include/simulator.h" #include "../include/guidance_mgr.h" #include "../include/measurement_randomization.h" #include "../include/parametres.h" #include <math.h> double v = 0.0, w = 0.0; /** @brief Simulating function : Updat...
code_c
code
1,148
null
<filename>ffmpeg/libavfilter/vf_blend.c /* * Copyright (c) 2013 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Lic...
code_c
code
12,181
null
<filename>Durna/Source/Runtime/Render/Renderer.h #pragma once #include "Runtime/Render/RenderCommand.h" #include "Runtime/Render/OrthographicCamera.h" #include "Runtime/Render/Shader.h" namespace Durna { class Renderer { public: static void Init(); static void Shutdown(); static void OnWindowResize(uint32 w...
code_c
code
220
null
/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If any of the files rela...
code_c
code
419
null
<reponame>huanjka/AutoCADPlugin-HeatSource // ////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or downl...
code_c
code
8,950
null
<filename>test-data/011 Подсчёт слов в строке/(tsvetkov)(2011-09-25_17:08:53)(FAILED_TESTS)(NOT_PLAG).c #include <stdio.h> #include <stdlib.h> int wcount(char *s) { int i,nc,nw,konets; nc=0; nw=0; while(nc!=strlen(s)) { ++nc; if (nc==1) if (s[1]=' ') ++nw; if (s[nc...
code_c
code
183
null