text stringlengths 9 948k |
|---|
#ifndef MXNET_OPERATOR_DEFORMABLE_UPSAMPLING_H_
#define MXNET_OPERATOR_DEFORMABLE_UPSAMPLING_H_
#include <map>
#include <vector>
#include <mxnet/base.h>
#include <mxnet/operator.h>
#include <cstring>
#include <vector>
#include "mxnet_op.h"
#include <sstream>
namespace mxnet {
namespace op {
template<class T>
... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "./support/ngap-r15.2.0/Information-Element-Definitions.asn1"
* `asn1c -D ./common -gen-PER -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-example`
*/
#include "NGAP_DRBStatusUL12.h"
#incl... |
/* Copyright (c) 2013-2014, 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, this ... |
#pragma once
#include "environment/EnvironmentObjectInterface.h"
namespace Ainan {
class SpotLight : public EnvironmentObjectInterface
{
public:
SpotLight();
void DisplayGuiControls() override;
int32_t GetAllowedGizmoOperation(ImGuizmo::OPERATION operation) override;
glm::vec4 Color = glm::vec4(1.0f, 1.... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/NanoTimeKitCompanion.framework/NanoTimeKitCompanion
*/
@interface NTKWellnessTimelineModel : NSObject {
HKUnit * _countUnit;
NSDate * _currentDate;
HKHealthStore * _healthStore;
HKUnit * _kcalUnit;
HKUnit * _minuteUnit;
... |
/***********************license start***************
* Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
* reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistrib... |
/**
* @file
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
* SPDX-License-Identifier: Apache-2.0
*
* All rights reserved. This program and the acco... |
// [The "BSD licence"]
// Copyright (c) 2006-2007 Kay Roepke 2010 Alan Condit
// 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. Redistributions of source code must retain the above copy... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <RHI/ShaderResourceGroup.h>
#include <AzCore/std/parallel/shared_mutex.h>
nam... |
/*
* Copyright (C) 2014 Apple 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. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
#pragma once
#include <llvm/ADT/Hashing.h>
#include <llvm/ADT/StringRef.h>
#include <functional>
namespace std
{
template<>
struct hash<llvm::StringRef>
{
size_t operator()(const llvm::StringRef& str) const
{
return llvm::hash_value(str);
}
};
} // namespace std |
/*
* This file is part of the CN24 semantic segmentation software,
* copyright (C) 2015 Clemens-Alexander Brust (ikosa dot de at gmail dot com).
*
* For licensing information, see the LICENSE file included with this project.
*/
/**
* @file CSVStatSink.h
* @brief Gets data from StatAggregator and processes it i... |
/*
* Copyright 2019-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... |
#pragma once
#include "tag-version.h"
enum duration_type
{
DUR_INVIS,
DUR_CONF,
DUR_PARALYSIS,
DUR_SLOW,
DUR_MESMERISED,
DUR_HASTE,
DUR_MIGHT,
DUR_BRILLIANCE,
DUR_AGILITY,
DUR_FLIGHT,
DUR_BERSERK,
DUR_POISONING,
DUR_CONFUSING_TOUCH,
#if TAG_MAJOR_VERSION == 34
... |
///////////////////////////////////////////////////////////////////////
// File: network.h
// Description: Base class for neural network implementations.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... |
//
// ViewController.h
// CHMWebImage
//
// Created by chenhanmao on 2016/10/22.
// Copyright © 2016年 chenhanmao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
/** @file
Traffic Server SDK API header file
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
... |
/*
* This file and its contents are licensed under the Apache License 2.0.
* Please see the included NOTICE for copyright information and
* LICENSE-APACHE for a copy of the license.
*/
#ifndef BGW_JOB_H
#define BGW_JOB_H
#include <postgres.h>
#include <storage/lock.h>
#include <postmaster/bgworker.h>
#include "ex... |
/*
* 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 License, or (at your option) any later version.
*
* FFmpeg is distributed... |
/******************************************************************************
*
* Copyright (C) 2009 - 2016 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Soft... |
//
// UIActivityIndicatorView+ColorAndFont.h
// UIKitter
//
// Created by Cyfuer on 2019/7/16.
// Copyright © 2019 Cyfuer. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIActivityIndicatorView (ColorAndFont)
@property (nullable, strong, nona... |
#include <numa.h>
#include <numaif.h>
#include <stdio.h>
int main(void)
{
int nd;
char *man = numa_alloc(1000);
*man = 1;
if (get_mempolicy(&nd, NULL, 0, man, MPOL_F_NODE|MPOL_F_ADDR) < 0)
perror("get_mempolicy");
else
printf("my node %d\n", nd);
return 0;
} |
//
// Measurement+CoreDataProperties.h
// Grocery Dude
//
// Created by Gerry on 7/18/16.
// Copyright © 2016 Tim Roadley. All rights reserved.
//
// Choose "Create NSManagedObject Subclass…" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model.
//
#import "Mea... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: addressbook.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_addressbook_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_addressbook_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3014000
#error This fil... |
/*
* Copyright (c) 2011 Dag-Erling Smorgrav
*
* Permission to use, copy, modify, and 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.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class NSString;
@interface ACCMediaLibraryUpdatePlaylistContentItem : NSObject
{
NSString *_mediaLibraryUID; // 8 ... |
// SPDX-License-Identifier: GPL-2.0
#include <stdarg.h>
#include <stdio.h>
#include <perf/threadmap.h>
#include <internal/tests.h>
#include "tests.h"
static int libperf_print(enum libperf_print_level level,
const char *fmt, va_list ap)
{
return vfprintf(stderr, fmt, ap);
}
static int test_threadmap_array(int nr,... |
/*
* ex: set tabstop=4 ai expandtab softtabstop=4 shiftwidth=4:
* -*- mode: c-basic-indent: 4; tab-width: 4; indent-tabls-mode: nil -*-
* $Id$
*/
/*
* File: bwlib.h
*
* Author: Jeff W. Boote
*
* Date: Tue Sep 9 15:44:43 MDT 2003
*
* Description:
* This header f... |
/*****************************************************************************
fnc.h
Author: Laurent de Soras, 2015
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of ... |
#ifndef TARANTOOL_SIO_H_INCLUDED
#define TARANTOOL_SIO_H_INCLUDED
/*
* Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of ... |
/*
Copyright (c) 2016 Cromulence LLC
Authors: Bryce Kerley <bk@cromulence.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... |
#pragma once
#ifdef WIN32
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif |
#pragma once
#if defined(bcm2835)
#include <stdio.h>
#include <stdint.h>
#include <bcm2835.h>
#define MSBFIRST BCM2835_SPI_BIT_ORDER_MSBFIRST
#define SPI_MODE0 BCM2835_SPI_MODE0
#define SPI_MODE1 BCM2835_SPI_MODE1
#define SPI_MODE2 BCM2835_SPI_MODE2
#define SPI_MODE3 BCM2835_SPI_MODE3
struct SPISettings;
class SPI... |
/**
* Author: Bjorn Martinsson
* Date: 2020-06-03
* License: CC0
* Source: own work
* Description: Returns the smallest $x > 0$ s.t. $a^x = b \pmod m$, or
* $-1$ if no such $x$ exists. modLog(a,1,m) can be used to
* calculate the order of $a$.
* Time: $O(\sqrt m)$
* Status: tested for all 0 <= a,x < 500 and 0 ... |
#pragma once
//
// FILE: PCF8574.H
// AUTHOR: Rob Tillaart
// DATE: 02-febr-2013
// VERSION: 0.3.1
// PURPOSE: Arduino library for PCF8574 - 8 channel I2C IO expander
// URL: https://github.com/RobTillaart/PCF8574
// http://forum.arduino.cc/index.php?topic=184800
//
// HISTORY:
// see PCF8574.cpp fi... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sexp.h>
#include <string.h>
#include <inttypes.h>
int main (void)
{
SEXP_t *cmp_l1, *cmp_l2, *cmp_l3, *cmp_l4;
setbuf (stdout, NULL);
#define LIST1(dst, a, b, c, d, e, f, g, h, i, j, k) do { \
SEXP_t *l2, *l3, *v1, *v2, *v3, *v4, *v5; \
SEXP_t *v6, *v7... |
/*
* Copyright (c) Meta Platforms, Inc. and 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/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* Copyright (C) 2013 Glyptodon LLC
*
* 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, copy, modify, merge, publi... |
#pragma once
////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2019 Nicholas Frechette & Animation Compression Library contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and asso... |
/*=========================================================================
Program: ParaView
Module: pqTPPluginManager.h
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the Par... |
#ifndef TENSORFLOW_LIB_HASH_CRC32C_H_
#define TENSORFLOW_LIB_HASH_CRC32C_H_
#include <stddef.h>
#include "tensorflow/core/platform/port.h"
namespace tensorflow {
namespace crc32c {
// Return the crc32c of concat(A, data[0,n-1]) where init_crc is the
// crc32c of some string A. Extend() is often used to maintain the... |
#include <ansi.h>
inherit ITEM;
void create()
{
set_name(HIY "元神五行丹" NOR, ({"yuanshenwuxingdan"}));
set_weight(1);
if (clonep())
set_default_object(__FILE__);
else {
set("long", HIY "使用(changewx 五行)元神五行丹後可指定更換元神五行屬性一次。\n" + HIC
"擁有者:mmmooo\n" NOR);
... |
#ifndef POSTCHAIN_CLIENT_GTV_UTF8_STRING_VALUE_H_
#define POSTCHAIN_CLIENT_GTV_UTF8_STRING_VALUE_H_
#include <string>
#include "abstract_value.h"
#include "tag.h"
namespace chromia {
namespace postchain {
namespace gtv {
class UTF8StringValue : public AbstractValue {
public:
explicit UTF8StringValue(std::strin... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
/* Written an... |
#ifndef BIBLIOTECA_H_INCLUDED
#define BIBLIOTECA_H_INCLUDED
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <time.h>
#include <string.h>
#endif // BIBLIOTECA_H_INCLUDED |
/*******************************************************************************
* Copyright (c) 2009, 2020 IBM Corp. and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 which... |
/* B W . C
* BRL-CAD
*
* Copyright (c) 2013-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as publ... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: ... |
/*
* BackupAgent.actor.h
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project 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 ... |
/*
* File: pysimulator.h
* Author: K M Masum Habib <masum.habib@gmail.com>
*
* Created on May 31, 2015, 09:03 AM
*/
#ifndef TMFSC_PYLIB_PYSIMULATOR_H
#define TMFSC_PYLIB_PYSIMULATOR_H
#include "boostpython.hpp"
#include "pyutils.hpp"
#include "simulator.h"
#include "pydevice.h"
#include <vector>
namespace qm... |
// 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 WebPushClient_h
#define WebPushClient_h
#include "public/platform/WebCallbacks.h"
#include "public/platform/WebPushError.h"
namespace blink {
c... |
/*
* Simple interactive shell program.
*
* This is free and unencumbered software released into the public domain.
* http://unlicense.org/
*/
#ifndef FIZ_DISABLE_INCLUDE_FILES
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <time.h>
#include "fiz.h"
Fiz *F;
int sigint_called = 0;
void handle_... |
/*
* Copyright (c) 2011 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
//
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class NSString;
@interface FavoriteButtonMailboxProperties : NSObject
{
BOOL _isContainer; // 8 = 0x8
BOOL _isPreferredSelection; // 9 = 0... |
/** @file
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/PcdLib.h>
#include <Library/IoLib.h>
#include <Library/PciLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/Memory... |
/*
* Copyright (c) 2016, Vanderbilt University
*
* 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 la... |
/*
Copyright (c) 2018, Ford Motor Company
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 conditions and the fo... |
//
// BottomBarPlayerControlView.h
// WJPlayerKit-example
//
// Created by ada on 2018/10/21.
// Copyright © 2018年 PN. All rights reserved.
//
#import "BasePlayerControlView.h"
typedef void (^BottomBarPlayerControlViewActionBlock)(BOOL transform);
/**
带底部bar控制视图,可用在沉浸式/PGC落地页
*/
@interface BottomBarPlayerContr... |
/*
* (C) Copyright 2014
* Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __ASM_ARM_ARCH_PERIPH_H
#define __ASM_ARM_ARCH_PERIPH_H
/*
* Peripherals required for pinmux configuration. List will
* grow with support for more devices getting added.
* Number... |
/**
* @file
* @author dePaul Miller
*/
#include <atomic>
#include <future>
#include <mutex>
#include <thread>
#include <type_traits>
#include "LSlab.h"
#include "stdrequestHandler.cuh"
#pragma once
namespace lslab {
#define DEFAULT_SHOULD_USE_HOST true
LSLAB_HOST int getBlocks() noexcept {
cudaDeviceProp pr... |
// vim: set ft=c:
#ifndef ZTERP_BLORB_H
#define ZTERP_BLORB_H
#include <stdint.h>
#include "io.h"
#define BLORB_PICT 0x50696374UL
#define BLORB_SND 0x536e6420UL
#define BLORB_EXEC 0x45786563UL
typedef struct zterp_blorb zterp_blorb;
typedef struct
{
uint32_t usage;
uint32_t number;
uint32_t type;
char nam... |
/* This file is part of GDBM test suite.
Copyright (C) 2011, 2017 Free Software Foundation, Inc.
GDBM 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 your option)
any later... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2017 CERN
//
// Author: Przemyslaw Karpinski
//
// 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 lim... |
union union_t {
char c;
short s;
int i;
long int l;
};
void test(union union_t arg) { } |
/*
* Copyright (c) 2020 Huawei Device 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 ... |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3e, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014 The Regents of the University of California.
All rights reserved.
Redistribution and use i... |
/*
* Window definitions
*
* Copyright 1993 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ... |
// -*- C++ -*-
//===--------------------- support/win32/locale_win32.h -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... |
//
// GSMenu.h
// GSMenu project
// https://github.com/kolyvan/GSMenu/
//
// Created by Kolyvan on 17.05.13.
//
/*
Copyright (c) 2013 Konstantin Bukreev. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions a... |
/* Tetrinet for Linux, by Andrew Church <achurch@achurch.org>
* This program is public domain.
*
* Tetrinet server code
*/
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <sys/types.h>
#include <netinet/in.h>
/* Due to glibc brokenness, ... |
/* Hash Tables Implementation.
*
* This file implements in memory hash tables with insert/del/replace/find/
* get-random-element operations. Hash tables will auto resize if needed
* tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :)
*
* C... |
/**
*@file sprites.h
*Manages the base image linked list and the sprite linked list, provides function to create new sprites
*and add them to sprite list as well as removing sprites from the list
*/
// /**
// *@defgroup spritesh sprites.h
// *Manages the base image linked list and the sprite linked... |
#include<math.h>
#include<stdio.h>
main()
{
double x,s;
printf("input number:\n");
scanf("%lf",&x);
s=sin(x);
printf("sine of %lf is %lf\n",x,s);
} |
/*****************************************************************************
Copyright (c) 2011, Intel Corp.
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 cod... |
// Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// 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 Fre... |
/*
Copyright (C) 2013 Baptiste COVOLATO <b.covolato@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 u... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* FreeRDP Proxy Server
*
* Copyright 2019 Mati Shabtay <matishabtay@gmail.com>
* Copyright 2019 Kobi Mizrachi <kmizrachi18@gmail.com>
* Copyright 2019 Idan Freiberg <speidy@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... |
/**
* @file
*
* IPv6 fragmentation and reassembly.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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. Redistributions of source c... |
0.7484503580144934 0.25033075568482166 0.23093641982985974
0.25033075568482166 0.8131982087231668 0.2373969439437543
0.23093641982985974 0.2373969439437543 0.7915716284169578 |
/**
* Copyright (c) 2016 Xavier R. Guerin
*
* 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, copy, modify, merge, p... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__char_alloca_ncpy_14.c
Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml
Template File: sources-sink-14.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memory buffer
*... |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NET_EVENT_H
#define _NET_EVENT_H
/*
* Generic netevent notifiers
*
* Authors:
* Tom Tucker <tom@opengridcomputing.com>
* Steve Wise <swise@opengridcomputing.com>
*
* Changes:
*/
struct dst_entry;
struct neighbour;
struct net... |
int main()
{
struct x
{
int a;
int b;
} y;
struct x z;
return 0;
} |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_SOCKET_H_INCLUDED_
#define _NGX_SOCKET_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
#define NGX_WRITE_SHUTDOWN SD_SEND
typedef SOCKET ngx_socket_t;
typedef int socklen_t;
#define ngx_socket(af, type, proto) ... |
// ---------------------------------------------------------------------
//
// Copyright (c) 2014 - 2020 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE377_Insecure_Temporary_File__char_w32GetTempFileName_15.c
Label Definition File: CWE377_Insecure_Temporary_File.label.xml
Template File: point-flaw-15.tmpl.c
*/
/*
* @description
* CWE: 377 Insecure Temporary File
* Sinks: w32GetTempFileName
* GoodSink: Create and... |
/*
* Copyright (c) 2013-2018 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "oshmem_config.h"
#include "oshmem/constants.h"
#include "oshmem/include/shmem.h"
#include "oshmem/include/shmemx.h"
#include "osh... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
... |
//
// DEMONotesRouter.h
// fluidArchitecture
//
// Created by Moritz Ellerbrock on 13/01/17.
// Copyright © 2017 fluidmobile GmbH. All rights reserved.
//
#import "HEROBaseRouter.h"
#import "DEMONotesContracts.h"
@interface DEMONotesRouter : HEROBaseRouter <DEMONotesRouterInput>
@end |
/*
* Copyright (c) 2013-2020, The University of Oxford
* 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. Redistributions of source code must retain the above copyright notice,
* this ... |
/* Copyright (C) 2011 Omnibond, LLC
Client test - IO functions */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef WIN32
#include <process.h>
#include <direct.h>
#else
#include <pthread.h>
#endif
#include <errno.h>
#include "test-support.h"
#include "test-io.h"
#include "timer.h"
#include "thread.... |
/**
* @brief Program purpose
* @author Michael Burmeister
* @date Month Day, Year
* @version 1.0
*
*/
#include <stdio.h>
#include <propeller.h>
#include "servos.h"
#define SERVO1 16
int main()
{
Servo_Enable(SERVO1, 1500, 20000);
while (1)
{
_waitms(1000);
Servo_Set(SERVO... |
/** \file winnergraphicsitem.h
* \brief Contains a class for the winner item.
*/
#ifndef WINNERGRAPHICSITEM_H
#define WINNERGRAPHICSITEM_H
#include <QGraphicsItem>
#include <QGraphicsSimpleTextItem>
namespace DJ {
namespace View {
/** A winner graphics item.
*/
class WinnerGraphicsItem : public QObject, public... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32h7xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2016 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#if defined(USE_TI_UIIOSTABLEVIEWCELLSELECTIONSTYLE) || defined (USE_TI_UIIOSLISTV... |
#include "test_factorial.h"
int main(void)
{
test_main();
return 0;
} |
/*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#pragma once
#ifndef GWEN_CONTROLS_SCROLLBARBOTTON_H
#define GWEN_CONTROLS_SCROLLBARBOTTON_H
#include "Gwen/Controls/Button.h"
namespace Gwen
{
namespace ControlsInternal
{
class GWEN_EXPORT ScrollBarButton : public Controls::Button
{
... |
// UTFT Memory Saver
// -----------------
//
// Since most people have only one or possibly two different display modules a lot
// of memory has been wasted to keep support for many unneeded controller chips.
// You now have the option to remove this unneeded code from the library with
// this file.
// By disabling the... |
/*******************************************************************************
* File Name: Switch_Pin.h
* Version 2.20
*
* Description:
* This file contains Pin function prototypes and register defines
*
********************************************************************************
* Copyright 2008-2015, Cypres... |
/***********************************************************************
* YUNO_EMAILSENDER.C
* yuno.
*
* Copyright (c) 2016 Niyamaka.
* All Rights Reserved.
***********************************************************************/
#include <string.h>
#include "c_emailsender.h"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.