code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
// Copyright (c) 2011 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.
package org.chromium.sdk.tests.system.runner;
import java.io.File;
import java.util.List;
/**
* Gets a fresh Chromium build from build site in inte... | ParinVachhani/chromedevtools | utils/org.chromium.sdk.tests.system.runner/src/org/chromium/sdk/tests/system/runner/BuildLoader.java | Java | bsd-3-clause | 2,786 |
<!DOCTYPE html>
<script src="../../../resources/js-test.js"></script>
<div id="host1"></div>
<div id="host2"></div>
<div id="host3" class="c3"></div>
<div id="host4"></div>
<script>
description("Check that targeted class invalidation works with the :host pseudo class.");
// Create shadow trees
var host1 = document.ge... | vadimtk/chrome4sdp | third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html | HTML | bsd-3-clause | 2,504 |
// Generated source.
// Generator: org.chromium.sdk.internal.wip.tools.protocolgenerator.Generator
// Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@142888
package org.chromium.sdk.internal.wip.protocol.output.page;
/**
Tells if backend supports continuous painting
*/
p... | ParinVachhani/chromedevtools | plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/page/CanContinuouslyPaintParams.java | Java | bsd-3-clause | 1,196 |
//
// TKDecimalInputWithNextKeyView.h
// Created by Devin Ross on 3/21/14.
//
/*
tapku || http://github.com/devinross/tapkulibrary
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
... | flyingfan76/DiabeteHealth | tapkulibrary-master/src/TapkuLibrary/TKDecimalInputWithNextKeyView.h | C | mit | 1,533 |
//------------------------------------------------------------------------------
// <copyright file="ILinqToSql.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.We... | sekcheong/referencesource | System.Web.Extensions/ui/WebControls/ILinqToSql.cs | C# | mit | 756 |
var searchData=
[
['data',['data',['../classv8_1_1_string_1_1_external_string_resource.html#a987309199b848511adb708e221e0fb0a',1,'v8::String::ExternalStringResource::data()'],['../classv8_1_1_string_1_1_external_one_byte_string_resource.html#aaeca31240d3dbf990d1b974e3c64593e',1,'v8::String::ExternalOneByteStringResou... | v8-dox/v8-dox.github.io | fe4434b/html/search/functions_3.js | JavaScript | mit | 1,743 |
/*******************************************************************************
* Copyright (c) 2000, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | gazarenkov/che-sketch | plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jdt-ui/src/main/java/org/eclipse/jdt/internal/ui/text/correction/QuickFixProcessor.java | Java | epl-1.0 | 37,207 |
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_feed
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Filter\OutputFilter;
use Joomla\CMS\HTML\HT... | brianteeman/joomla-cms | administrator/modules/mod_feed/tmpl/default.php | PHP | gpl-2.0 | 3,512 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 Advanced Micro Devices, Inc.
* Copyright (C) 2011 Mark Norman <mpnorman@gmail.com>
*
* 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 th... | jpl888/coreboot | src/mainboard/aaeon/pfm-540i_revb/irq_tables.c | C | gpl-2.0 | 3,043 |
<?php
/**
* File containing the ezcDocumentWikiBlockquoteNode struct
*
* @package Document
* @version //autogen//
* @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Struct for Wiki document abstract syntax tree blockquote n... | crevillo/ezc | lib/ezc/Document/src/document/wiki/nodes/blockquote.php | PHP | gpl-2.0 | 1,290 |
#ifndef _ANTARES_DOCK_H
#define _ANTARES_DOCK_H
struct dock_platform_data {
unsigned int irq; /* interrupt number */
unsigned int gpio_num;
};
#endif
| pio-masaki/android-kernel-at1s0 | include/linux/antares_dock.h | C | gpl-2.0 | 159 |
/*
* pNFS client data structures.
*
* Copyright (c) 2002
* The Regents of the University of Michigan
* All Rights Reserved
*
* Dean Hildebrand <dhildebz@umich.edu>
*
* Permission is granted to use, copy, create derivative works, and
* redistribute this software and such derivative works for any purpose... | c0d3z3r0/linux-rockchip | fs/nfs/pnfs.h | C | gpl-2.0 | 25,607 |
<?php
/**
* Checkout terms and conditions checkbox
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 3.1.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$terms_page_id = wc_get_page_id( 'terms' );
if ( $terms_page_id > 0 && apply_filters( 'woocommerce_checkout_show_terms', true ) ) :
$term... | JordanPak/RenaRomano | wp-content/plugins/woocommerce/templates/checkout/terms.php | PHP | gpl-2.0 | 1,543 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | Eristoff47/P2 | src/public/lib/Zend/Gdata/Extension/FeedLink.php | PHP | gpl-2.0 | 4,703 |
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 Softwa... | FauxFaux/jdk9-jdk | test/sun/net/www/protocol/http/NTLMTest.java | Java | gpl-2.0 | 5,862 |
package com.engc.smartedu.support.utils;
import com.engc.smartedu.R;
public enum StatusMode {
offline(R.string.status_offline, -1), // 离线状态,没有图标
dnd(R.string.status_dnd, R.drawable.status_shield), // 请勿打扰
xa(R.string.status_xa, R.drawable.status_invisible), // 隐身
away(R.string.status_away, R.drawable.status_lea... | giserh/smartedu | src/com/engc/smartedu/support/utils/StatusMode.java | Java | gpl-3.0 | 909 |
-----------------------------------
-- Area: Dynamis
-- NPC: Somnial Threshold
-------------------------------------
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,npc)
player:startEvent(101, 0, 0, 5);
end;
---------------------------------... | thedraked/darkstar | scripts/zones/Dynamis-Buburimu/npcs/Somnial_Threshold.lua | Lua | gpl-3.0 | 848 |
/*
* Copyright (C) 1997-2005, International Business Machines Corporation and others. All Rights Reserved.
*******************************************************************************
*
* File PARSEPOS.H
*
* Modification History:
*
* Date Name Description
* 07/09/97 helena Converte... | NeCarbon/ivmultiplayer | Client/Core/EA/EAWebKit/internal/icu/include/common/unicode/parsepos.h | C | gpl-3.0 | 5,698 |
namespace MissionPlanner.Controls.BackstageView
{
partial class BackstageView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | jason406/MissionPlanner | ExtLibs/Controls/BackstageView/BackstageView.Designer.cs | C# | gpl-3.0 | 2,815 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | mudrd8mz/moodle | cache/locks/file/version.php | PHP | gpl-3.0 | 1,181 |
/**
* jQuery EasyUI 1.5
*
* Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
function _1(_2){
var _3=$.data(_2,"datetimeb... | zyzydream/zhihu | zhihu/src/main/webapp/easyui/plugins/jquery.datetimebox.js | JavaScript | gpl-3.0 | 5,402 |
/* ------------------------------------------------------------------------------
*
* # Dashboard configuration
*
* Demo dashboard configuration. Contains charts and plugin inits
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- *... | mo-norant/FinHeartBel | website/src/assets/js/pages/dashboard.js | JavaScript | gpl-3.0 | 117,495 |
/*
* Copyright (C) ROCKCHIP, Inc.
* Author:yzq<yzq@rock-chips.com>
*
* based on exynos_drm_hdmi.c
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* Thi... | s20121035/rk3288_android5.1_repo | kernel/drivers/gpu/drm/rockchip/rockchip_drm_hdmi.c | C | gpl-3.0 | 11,811 |
/**
* Macedonia translation
* By PetarD petar.dimitrijevic@vorteksed.com.mk (utf8 encoding)
* 23 April 2007
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.monthNames = ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"];
... | applifireAlgo/ZenClubApp | zenws/src/main/webapp/ext/packages/ext-locale/build/ext-locale-mk-debug.js | JavaScript | gpl-3.0 | 5,568 |
<!DOCTYPE html>
<meta charset=utf-8>
<title>KeyframeEffectReadOnly constructor tests</title>
<link rel="help" href="https://w3c.github.io/web-animations/#processing-a-keyframes-argument">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../testcom... | Glorf/servo | tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument.html | HTML | mpl-2.0 | 2,732 |
define(['sinon', 'underscore', 'URI'], function(sinon, _, URI) {
'use strict';
var fakeServer, fakeRequests, expectRequest, expectJsonRequest, expectPostRequest, expectRequestURL,
respondWithJson, respondWithError, respondWithTextError, respondWithNoContent;
/* These utility methods are used by Ja... | rismalrv/edx-platform | common/static/common/js/spec_helpers/ajax_helpers.js | JavaScript | agpl-3.0 | 6,142 |
/**
* @license AngularJS v1.3.0-rc.4
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngCookies
* @description
*
* # ngCookies
*
* The `ngCookies` module provides a convenient wrapper for reading and writing ... | imnes/eatrightapp | web/lib/angular-1.3.0-rc.4/angular-cookies.js | JavaScript | agpl-3.0 | 5,828 |
/*****************************************************************************
*
* XVID MPEG-4 VIDEO CODEC
* - GMC interpolation module -
*
* Copyright(C) 2002-2003 Pascal Massimino <skal@planet-d.net>
*
* This program is free software ; you can redistribute it and/or modify
* it under the terms of the GNU... | Bevara/Access-open | modules/xvid_dec/xvid_wce/gmc.cpp | C++ | lgpl-2.1 | 11,051 |
/* Globally enable events.
Copyright (C) 1999, 2001, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Genera... | wbx-github/uclibc-ng | libpthread/linuxthreads_db/td_ta_set_event.c | C | lgpl-2.1 | 1,712 |
//===-- llvm/CodeGen/MachineInstr.h - MachineInstr class --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | perovic/root | interpreter/llvm/src/include/llvm/CodeGen/MachineInstr.h | C | lgpl-2.1 | 52,039 |
/*
* Copyright (C) 2011 Cyril Mottier (http://www.cyrilmottier.com)
*
* 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 req... | paristote/mobile-android-studio | greenDroid/src/main/java/greendroid/widget/PagedView.java | Java | lgpl-3.0 | 19,957 |
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2012, The University of Melbourne, Australia
*/
package org.cloudbus.cloudsim.core;
import jav... | hewolf/VirtualMachinePlacement | src/org/cloudbus/cloudsim/core/CloudSim.java | Java | lgpl-3.0 | 26,689 |
// +build !ignore_autogenerated
/*
Copyright The Kubernetes 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 l... | sallyom/origin | vendor/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go | GO | apache-2.0 | 7,499 |
// bslmf_islvaluereference.cpp -*-C++-*-
#include <bslmf_islvaluereference.h>
#include <bsls_ident.h>
BSLS_IDENT("$Id$ $CSID$")
// ----------------------------------------------------------------------------
// Copyright 2013 Bloomberg Finance L.P.
//
// Licensed under the Apach... | bowlofstew/bde | groups/bsl/bslmf/bslmf_islvaluereference.cpp | C++ | apache-2.0 | 928 |
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ====
//
//=============================================================================
#ifndef AI_TACTICALSERVICES_H
#define AI_TACTICALSERVICES_H
#include "ai_component.h"
#if defined( _WIN32 )
#pragma once
#endif
class CAI_Network;
class ... | ppittle/AlienSwarmDirectorMod | trunk/src/game/server/ai_tacticalservices.h | C | apache-2.0 | 3,393 |
/*
* 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
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | nishantmonu51/druid | processing/src/main/java/org/apache/druid/query/topn/TopNAlgorithmSelector.java | Java | apache-2.0 | 2,113 |
/* Copyright 2016 The TensorFlow 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 required by applicable law or a... | jostep/tensorflow | tensorflow/core/kernels/immutable_constant_op_test.cc | C++ | apache-2.0 | 7,333 |
# Copyright 2017 The TensorFlow 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 required by applica... | Mistobaan/tensorflow | tensorflow/contrib/distributions/python/ops/half_normal.py | Python | apache-2.0 | 5,678 |
// Copyright 2011 Google Inc. 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 required by applicable... | fighterlyt/bite-project | extension/src/project/test/background.js | JavaScript | apache-2.0 | 1,765 |
/*
* 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
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | jinglining/flink | flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobConfigHeaders.java | Java | apache-2.0 | 2,151 |
/* 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, software
* distributed... | subhrajyotim/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/jobexecutor/NotifyAcquisitionRejectedJobsHandler.java | Java | apache-2.0 | 1,382 |
/* Copyright 2020 The TensorFlow 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 required by applicable law or a... | sarvex/tensorflow | tensorflow/core/tpu/graph_rewrite/incomplete_nodedef_builder.h | C | apache-2.0 | 2,316 |
#
# 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
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | redhat-developer-demos/openshift-next-demo | msa/bonjour/node_modules/zipkin/node_modules/thrift/build/cmake/DefineOptions.cmake | CMake | apache-2.0 | 6,527 |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
namespace Sce.Atf.Adaptation
{
/// <summary>
/// This class wraps an IList of one type to implement IList of another type</summary>
/// <typeparam name="T">Underlying list type</typ... | jethac/ATF | Framework/Atf.Core/Adaptation/AdaptableList.cs | C# | apache-2.0 | 1,886 |
/*
* 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 to You under the Apache License, Version 2.0
* (the "License"); you may ... | tknandu/CommonsMath_Modifed | math (trunk)/src/test/java/org/apache/commons/math3/stat/descriptive/summary/SumSqTest.java | Java | apache-2.0 | 2,507 |
defineSuite([
'Widgets/Animation/Animation',
'Core/defined',
'Specs/pollToPromise',
'Widgets/Animation/AnimationViewModel',
'Widgets/ClockViewModel'
], function(
Animation,
defined,
pollToPromise,
AnimationViewModel,
ClockViewModel) {
... | ian-donaldson/world.exposed | Specs/Widgets/Animation/AnimationSpec.js | JavaScript | apache-2.0 | 1,967 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
<title>Creative Commons Legal Code... | rogers0/namebench | third_party/get_auth_ns/LICENSE.html | HTML | apache-2.0 | 28,073 |
package org.apache.lucene.search;
/*
* 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 to You under the Apache License, Versi... | smartan/lucene | src/main/java/org/apache/lucene/search/TermRangeQuery.java | Java | apache-2.0 | 6,271 |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0622 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__... | fluffyfreak/bgfx | 3rdparty/dxsdk/include/dxgi1_3.h | C | bsd-2-clause | 71,234 |
#ifndef SHA_H
#define SHA_H
/* NIST Secure Hash Algorithm */
/* heavily modified from Peter C. Gutmann's implementation */
/* Useful defines & typedefs */
typedef unsigned char BYTE;
typedef unsigned long LONG;
#define SHA_BLOCKSIZE 64
#define SHA_DIGESTSIZE 20
typedef struct {
LONG digest[5]; /* message di... | JianpingZeng/xcc | xcc/test/mediabench4/sha/sha.h | C | bsd-3-clause | 618 |
// RUN: %clang_cc1 %s -verify -fsyntax-only
void good() {
int dont_initialize_me __attribute((uninitialized));
}
void bad() {
int im_bad __attribute((uninitialized("zero"))); // expected-error {{'uninitialized' attribute takes no arguments}}
static int im_baaad __attribute((uninitialized)); // expected-warning... | endlessm/chromium-browser | third_party/llvm/clang/test/Sema/attr-uninitialized.c | C | bsd-3-clause | 1,452 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | danakj/chromium | third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc | C++ | bsd-3-clause | 18,364 |
/*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | aferr/LatticeMemCtl | src/cpu/ozone/checker_builder.cc | C++ | bsd-3-clause | 3,555 |
/* Test diagnostics for old-style definition not matching prior
prototype are present and give correct location for that prototype
(bug 15698). Unprototyped built-in function with user prototype at
inner scope. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/testsuite/gcc.dg/pr15698-5.c | C | bsd-3-clause | 516 |
using System;
using System.Threading.Tasks;
namespace PrivacyPrompts
{
public interface IPrivacyManager
{
Task RequestAccess();
string CheckAccess();
}
}
| nervevau2/monotouch-samples | PrivacyPrompts/PrivacyPrompts/PrivacyManager/IPrivacyManager.cs | C# | mit | 166 |
<?php
namespace Test;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* Test\Bureau
*
* This is a long comment for the bureaus table. It will appear in the doctrine
* class and long lines will be wrapped.
*
* Multiple lines can be entered as well.
*
* @ORM\Entity()
* @... | manzolo/formazione | src/Wb/SchemaExporterBundle/example/diff/Model/Bureau.php | PHP | mit | 2,567 |
/*************************************************************
*
* MathJax/localization/cdo/TeX.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* 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 cop... | MarkUsProject/Markus | vendor/assets/javascripts/MathJax_lib/localization/cdo/TeX.js | JavaScript | mit | 928 |
<!-- Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. -->
<div class="ms-MessageBanner">
<div class="ms-MessageBanner-content">
<div class="ms-MessageBanner-text">
<div class="ms-MessageBanner-clipper">
You've rea... | zkoehne/Office-UI-Fabric | src/components/MessageBanner/MessageBanner.html | HTML | mit | 816 |
#ifndef _MOTOROLA_PGTABLE_H
#define _MOTOROLA_PGTABLE_H
/*
* Definitions for MMU descriptors
*/
#define _PAGE_PRESENT 0x001
#define _PAGE_SHORT 0x002
#define _PAGE_RONLY 0x004
#define _PAGE_ACCESSED 0x008
#define _PAGE_DIRTY 0x010
#define _PAGE_SUPER 0x080 /* 68040 supervisor only */
#define _PAGE_GLOBAL040 0x400 /... | impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/include/asm-m68k/motorola_pgtable.h | C | mit | 10,118 |
using System;
using UIKit;
using Foundation;
using ListerKit;
namespace ListerToday
{
[Register("CheckBoxCell")]
public class CheckBoxCell : UITableViewCell
{
[Outlet("label")]
public UILabel Label { get; private set; }
[Outlet("checkBox")]
public CheckBox CheckBox { get; private set; }
public CheckB... | davidrynn/monotouch-samples | ios8/Lister/ListerToday/CheckBoxCell.cs | C# | mit | 598 |
/*
* MDSS MDP Interface (used by framebuffer core)
*
* Copyright (c) 2007-2016, The Linux Foundation. All rights reserved.
* Copyright (C) 2007 Google Incorporated
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may... | RenderBroken/OP3-kernel | drivers/video/msm/mdss/mdss_mdp.c | C | gpl-2.0 | 135,578 |
/* ----------------------------------------------------------------------------
NOTE: If you edit this file, you should make sure that the CSS rules for
buttons in the following files are updated.
* jquery-ui-dialog.css
* editor.css
WordPress-style Buttons
=======================
Create a button by adding the `.butt... | pcutler/stoneopen | wp-includes/css/buttons.css | CSS | gpl-2.0 | 9,409 |
/*
* linux/mm/vmscan.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95, Stephen Tweedie.
* kswapd added: 7.1.96 sct
* Removed kswapd_ctl limits, and swap out as many pages as needed
* to bring the system back to freepages.high: 2.4.97, Rik van Riel.
* Zone aware k... | oe5hpm/linux | mm/vmscan.c | C | gpl-2.0 | 112,709 |
/* Copyright (c) 2013-2016, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope ... | shminer/kernel-msm-3.18 | drivers/net/ethernet/qualcomm/emac/emac_defines.h | C | gpl-2.0 | 20,285 |
/* ellpe.c
*
* Complete elliptic integral of the second kind
*
*
*
* SYNOPSIS:
*
* double m1, y, ellpe();
*
* y = ellpe( m1 );
*
*
*
* DESCRIPTION:
*
* Approximates the integral
*
*
* pi/2
* -
* | | 2
* E(m) = | sqrt( 1 - m sin t ) dt
... | ysleu/RTL8685 | uClinux-dist/lib/libm/ellpe.c | C | gpl-2.0 | 4,328 |
<?php
/**
* @file
* Contains \Drupal\config\Tests\Storage\CachedStorageTest.
*/
namespace Drupal\config\Tests\Storage;
use Drupal\Core\Config\FileStorage;
use Drupal\Core\Config\CachedStorage;
use Drupal\Core\Database\Database;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Symfony\Component\Dependency... | komejo/article-test | web/core/modules/config/src/Tests/Storage/CachedStorageTest.php | PHP | gpl-2.0 | 2,487 |
//=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2010-2011 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// ... | evinism/MuseScore | libmscore/stem.cpp | C++ | gpl-2.0 | 11,515 |
/*
* Copyright (C) 1994 Linus Torvalds
*
* 29 dec 2001 - Fixed oopses caused by unchecked access to the vm86
* stack - Manfred Spraul <manfred@colorfullife.com>
*
* 22 mar 2002 - Manfred detected the stackfaults, but didn't handle
* them correctly. Now the emulation will be in a... | TechTux/linux-2.6.46.6 | arch/x86/kernel/vm86_32.c | C | gpl-2.0 | 22,243 |
import sys, copy
from itertools import *
import benchbase
from benchbase import (with_attributes, with_text, onlylib,
serialized, children, nochange)
############################################################
# Benchmarks
############################################################
class Ben... | mhnatiuk/phd_sociology_of_religion | scrapper/build/lxml/benchmark/bench_objectify.py | Python | gpl-2.0 | 3,322 |
/*
* arch/sh/kernel/process.c
*
* This file handles the architecture-dependent parts of process handling..
*
* Copyright (C) 1995 Linus Torvalds
*
* SuperH version: Copyright (C) 1999, 2000 Niibe Yutaka & Kaz Kojima
* Copyright (C) 2006 Lineo Solutions Inc. support SH4A UBC
* Copyright (C) 200... | bqwd36/android-athena | arch/sh/kernel/process.c | C | gpl-2.0 | 12,552 |
/*
* Hashable interface.
*/
#ifndef INTERFACES__HASHABLE_HH
#define INTERFACES__HASHABLE_HH
namespace interfaces {
/*
* Template interface for hashable objects.
*
* If a class X extends hashable<T,H> then:
* (1) X must be a T, and
* (2) X must hash to an object of type H via its hash() method.
*
* Note that... | luizcavalcanti/ForestClassifier | segmentation/gpb/src/source/gpb_src/include/interfaces/hashable.hh | C++ | gpl-2.0 | 1,050 |
/*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* 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... | fatedier/studies | mtcp/dpdk-2.1.0/lib/librte_eal/common/include/rte_memory.h | C | gpl-3.0 | 6,567 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
--------... | adrcad/OpenFOAM-2.3.x | src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C | C++ | gpl-3.0 | 10,197 |
#pragma once
// MESSAGE MESSAGE_INTERVAL PACKING
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL 244
MAVPACKED(
typedef struct __mavlink_message_interval_t {
int32_t interval_us; /*< The interval between two messages, in microseconds. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indi... | kgreenek/vrep_px4 | vendor/mavlink/include/mavlink/v1.0/common/mavlink_msg_message_interval.h | C | gpl-3.0 | 10,801 |
/**
******************************************************************************
* @file stm32f3xx_ll_fmc.h
* @author MCD Application Team
* @version V1.3.0
* @date 01-July-2016
* @brief Header file of FMC HAL module.
*****************************************************************************... | yGO77/betaflight | lib/main/STM32F3xx_HAL_Driver/Inc/stm32f3xx_ll_fmc.h | C | gpl-3.0 | 40,444 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>stream_socket_service::native_non_blocking (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/doc/html/boost_asio/reference/stream_socket_service/native_non_blocking/overload1.html | HTML | gpl-3.0 | 3,742 |
---
layout: "enterprise"
page_title: "Provider - Artifacts - Terraform Enterprise"
sidebar_current: "docs-enterprise-artifacts-provider"
description: |-
Terraform has a provider for managing artifacts called `atlas_artifact`.
---
# Artifact Provider
Terraform has a [provider](https://terraform.io/docs/providers/ind... | elblivion/terraform | website/source/docs/enterprise/artifacts/artifact-provider.html.md | Markdown | mpl-2.0 | 2,001 |
# Copyright 2013, Big Switch Networks, 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... | wangxiangyu/horizon | openstack_dashboard/dashboards/project/firewalls/forms.py | Python | apache-2.0 | 16,187 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | msunardi/PTVS | Python/Product/Analysis/Interpreter/Default/CPythonSequenceType.cs | C# | apache-2.0 | 2,859 |
/**
* 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 to You under the Apache License, Version 2.0
* (the "License"); you may... | lburgazzoli/apache-camel | camel-core/src/main/java/org/apache/camel/impl/UriEndpointComponent.java | Java | apache-2.0 | 5,617 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ml.action;
import org.elasticsearch.comm... | gfyoung/elasticsearch | x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/GetBucketActionRequestTests.java | Java | apache-2.0 | 2,308 |
/*
* Copyright 2016 The Closure Compiler 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... | GoogleChromeLabs/chromeos_smart_card_connector | third_party/closure-compiler/src/test/com/google/javascript/jscomp/runtime_tests/arrow_test.js | JavaScript | apache-2.0 | 2,668 |
RSpec.describe MiqWidget, "::ReportContent" do
let(:vm_count) { 2 }
let(:widget) do
MiqWidget.sync_from_hash(YAML.load("
description: report_vendor_and_guest_os
title: Vendor and Guest OS
content_type: report
options:
:col_order:
- name
- vendor_display
:row_count: #{... | aufi/manageiq | spec/models/miq_widget/report_content_spec.rb | Ruby | apache-2.0 | 3,355 |
/*
* 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 to You under the Apache License, Version 2.0
* (the "License"); you may ... | vldpyatkov/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedQueueCreateMultiNodeSelfTest.java | Java | apache-2.0 | 7,759 |
cask :v1 => 'wesnoth' do
version '1.12'
sha256 '603877e2acc7b867907a2f06a71d62fb7cbd0c0e39c5b29de207b78b2121e7e2'
# sourceforge.net is the official download host per the vendor homepage
url "http://downloads.sourceforge.net/sourceforge/wesnoth/Wesnoth_#{version}.dmg"
homepage 'http://wesnoth.org'
license :... | mAAdhaTTah/homebrew-cask | Casks/wesnoth.rb | Ruby | bsd-2-clause | 349 |
package com.mxgraph.shape;
import com.mxgraph.canvas.mxGraphics2DCanvas;
import com.mxgraph.util.mxPoint;
import com.mxgraph.view.mxCellState;
public interface mxIMarker
{
/**
*
*/
mxPoint paintMarker(mxGraphics2DCanvas canvas, mxCellState state, String type,
mxPoint pe, double nx, double ny, double size, b... | md-k-sarker/OWLAx | src/main/java/com/mxgraph/shape/mxIMarker.java | Java | bsd-2-clause | 339 |
// RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s
// LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
// RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
... | santoshn/softboundcets-34 | softboundcets-llvm-clang34/tools/clang/test/Driver/warning-options.cpp | C++ | bsd-3-clause | 863 |
# -*- coding: utf-8 -*-
# Tests for the contrib/localflavor/ CZ Form Fields
tests = r"""
# CZPostalCodeField #########################################################
>>> from django.contrib.localflavor.cz.forms import CZPostalCodeField
>>> f = CZPostalCodeField()
>>> f.clean('84545x')
Traceback (most recent call las... | Smarsh/django | tests/regressiontests/forms/localflavor/cz.py | Python | bsd-3-clause | 4,319 |
class ContactSerializer < ActiveModel::Serializer
attributes :department, :email, :id, :name, :title
has_many :phones
end
| codeforamerica/ohana-api | app/serializers/contact_serializer.rb | Ruby | bsd-3-clause | 127 |
/*
Copyright (c) 2015 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following disclaimer.
* Redist... | BruceDai/crosswalk-test-suite | misc/webmanu-system-android-tests/testapp/video/resources/video.js | JavaScript | bsd-3-clause | 1,758 |
// Copyright 2014 The oauth2 Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package oauth2
import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"
"reflect"
"strconv"
"testing"
"time"
"github.... | ozum/flynn | Godeps/_workspace/src/github.com/flynn/oauth2/oauth2_test.go | GO | bsd-3-clause | 14,235 |
"""passlib.ext.django.models -- monkeypatch django hashing framework"""
#=============================================================================
# imports
#=============================================================================
# core
import logging; log = logging.getLogger(__name__)
from warnings import wa... | charukiewicz/beer-manager | venv/lib/python3.4/site-packages/passlib/ext/django/models.py | Python | mit | 12,558 |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
// This file was modified by Oracle on 2017.
// Modifications copyright (c) 2017 Oracle and/or its affiliates.
// Contributed and/or modifie... | rkq/cplusplus | src/third-party/include/boost_1_64_0/geometry/algorithms/detail/has_self_intersections.hpp | C++ | mit | 5,291 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace System.Collections.Immutable
{
internal static class AllocFreeConcu... | shahid-pk/corefx | src/System.Collections.Immutable/src/System/Collections/Immutable/AllocFreeConcurrentStack.cs | C# | mit | 2,500 |
# coding=utf-8
"""
The NetworkCollector class collects metrics on network interface usage
using /proc/net/dev.
#### Dependencies
* /proc/net/dev
"""
import diamond.collector
from diamond.collector import str_to_bool
import diamond.convertor
import os
import re
try:
import psutil
except ImportError:
psuti... | dcsquared13/Diamond | src/collectors/network/network.py | Python | mit | 4,536 |
var should = require('should'),
rewire = require('rewire'),
configUtils = require('../../../../test/utils/configUtils'),
// Stuff we are testing
ampContentHelper = rewire('../lib/helpers/amp_content');
// TODO: Amperize really needs to get stubbed, so we can test returning errors
// properly and make this... | SkynetInc/steam | core/server/apps/amp/tests/amp_content_spec.js | JavaScript | mit | 13,880 |
<?php
namespace mageekguy\atoum\report\fields\runner;
use
mageekguy\atoum\locale,
mageekguy\atoum\runner,
mageekguy\atoum\report,
mageekguy\atoum\observable
;
abstract class failures extends report\field
{
protected $runner = null;
public function __construct()
{
parent::__construct(array(runner::runStop))... | kalebheitzman/grav-plugin-events | vendor/atoum/atoum/classes/report/fields/runner/failures.php | PHP | mit | 602 |
--
-- Copyright (c) 2008--2012 Red Hat, Inc.
--
-- This software is licensed to you under the GNU General Public License,
-- version 2 (GPLv2). There is NO WARRANTY for this software, express or
-- implied, including the implied warranties of MERCHANTABILITY or FITNESS
-- FOR A PARTICULAR PURPOSE. You should have recei... | ogajduse/spacewalk | schema/spacewalk/common/tables/rhnPackageFile.sql | SQL | gpl-2.0 | 2,105 |
/*
* Copyright (c) 2003, 2007-11 Matteo Frigo
* Copyright (c) 2003, 2007-11 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 ... | mesjetiu/grandorgue-es | src/fftw/src/libbench2/verify.h | C | gpl-2.0 | 3,539 |
/*
* org.openmicroscopy.shoola.agents.imviewer.actions.UnitBarSizeAction
*
*------------------------------------------------------------------------------
* Copyright (C) 2006 University of Dundee. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | jballanc/openmicroscopy | components/insight/SRC/org/openmicroscopy/shoola/agents/imviewer/actions/UnitBarSizeAction.java | Java | gpl-2.0 | 6,387 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.