repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
radzikowski/alf | vendor/symfony/src/Symfony/Component/Validator/Constraints/Url.php | 579 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Constraints;
class Url extends \Symfony\Com... | mit |
MetSystem/msbuild | src/XMakeTasks/Csc.cs | 41306 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Resour... | mit |
Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/third_party/opus/src/celt/dump_modes/Makefile | 304 | CFLAGS=-O2 -Wall -Wextra -DHAVE_CONFIG_H
INCLUDES=-I../ -I../.. -I../../include
all: dump_modes
dump_modes:
$(CC) $(CFLAGS) $(INCLUDES) -DCUSTOM_MODES dump_modes.c ../modes.c ../cwrs.c ../rate.c ../entenc.c ../entdec.c ../mathops.c ../mdct.c ../kiss_fft.c -o dump_modes -lm
clean:
rm -f dump_modes
| mit |
sunkeqin/linux-2.6.11 | drivers/media/dvb/frontends/mt312.c | 17683 | /*
Driver for Zarlink VP310/MT312 Satellite Channel Decoder
Copyright (C) 2003 Andreas Oberritter <obi@linuxtv.org>
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 versio... | gpl-2.0 |
kirsley/repobase | wp-admin/plugins.php | 24347 | <?php
/**
* Plugins administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! current_user_can( 'activate_plugins' ) ) {
wp_die( __( 'Sorry, you are not allowed to manage plugins for this site... | gpl-2.0 |
cgb37/umlib-wp.local | wp-content/plugins/types/embedded/classes/relationship.php | 16640 | <?php
/*
* Post relationship class.
*
* $HeadURL: http://plugins.svn.wordpress.org/types/tags/1.6.5.1/embedded/classes/relationship.php $
* $LastChangedDate: 2015-01-16 14:28:15 +0000 (Fri, 16 Jan 2015) $
* $LastChangedRevision: 1069430 $
* $LastChangedBy: iworks $
*
*/
/**
* Post relationship class
*
* @si... | gpl-2.0 |
stfn-jcb/client | test/testsyncjournaldb.h | 2895 | /*
* This software is in the public domain, furnished "as is", without technical
* support, and with no warranty, express or implied, as to its usefulness for
* any purpose.
* */
#ifndef MIRALL_TESTSYNCJOURNALDB_H
#define MIRALL_TESTSYNCJOURNALDB_H
#include <QtTest>
#include <sqlite3.h... | gpl-2.0 |
md-5/jdk10 | src/java.base/share/classes/sun/util/locale/provider/DateFormatProviderImpl.java | 7634 | /*
* Copyright (c) 1999, 2017, 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 ... | gpl-2.0 |
freak97/binutils | include/coff/m68k.h | 2660 | /* coff information for M68K
Copyright (C) 2001-2016 Free Software Foundation, Inc.
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 3 of the License, or
(at your opt... | gpl-2.0 |
vkrmsngh/new_pro | u-boot/include/configs/tegra-common-post.h | 4803 | /*
* (C) Copyright 2010-2012
* NVIDIA Corporation <www.nvidia.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __TEGRA_COMMON_POST_H
#define __TEGRA_COMMON_POST_H
#ifdef CONFIG_BOOTCOMMAND
#define BOOTCMDS_COMMON ""
#else
#ifdef CONFIG_CMD_MMC
#define BOOTCMDS_MMC \
"mmc_boot=" \
"setenv devtype mmc; ... | gpl-2.0 |
brunotougeiro/python | venv/Include/pyerrors.h | 17237 | #ifndef Py_ERRORS_H
#define Py_ERRORS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Error objects */
#ifndef Py_LIMITED_API
/* PyException_HEAD defines the initial segment of every exception class. */
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
PyObject *args; PyObject *traceback;\
... | gpl-2.0 |
JB1tz/Moto_omap3_ics_kernel | drivers/input/input.c | 45010 | /*
* The input core
*
* Copyright (c) 1999-2002 Vojtech Pavlik
*/
/*
* 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.
*/
#include <linux/init.h>
#include <linux/types.h>
#incl... | gpl-2.0 |
yevgeniy-logachev/CATB15Kernel | mediatek/custom/vt58/lk/include/target/cust_msdc.h | 1732 | #ifndef CUST_MSDC_H
#define CUST_MSDC_H
#define MSDC_CD_PIN_EN (1 << 0) /* card detection pin is wired */
#define MSDC_WP_PIN_EN (1 << 1) /* write protection pin is wired */
#define MSDC_RST_PIN_EN (1 << 2) /* emmc reset pin is wired */
#define MSDC_SDIO_IRQ (1 << 3) /* use internal sdi... | gpl-2.0 |
FauxFaux/jdk9-jaxws | src/java.xml.ws/share/classes/com/sun/xml/internal/ws/config/metro/dev/FeatureReader.java | 1858 | /*
* Copyright (c) 1997, 2013, 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 ... | gpl-2.0 |
RaoulDebaze/TransmissionSync | transmissionbt/macosx/TransmissionHelp/html/troubleshoot.html | 3658 | <html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link media="all" rel="stylesheet" href="../styles/TransBody.css" />
<title>Troubleshooting a Closed port</title>
</head>
<body>
<div id="mainbox">
<div id="banner">
<a name="menus"></a>
<div id="machelp">
<a ... | gpl-2.0 |
rathoresrikant/Implementation-of-Curvy-RED-in-ns-3 | src/lte/model/lte-rrc-header.cc | 237854 | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* 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... | gpl-2.0 |
wkritzinger/asuswrt-merlin | release/src/router/ffmpeg/libswscale/x86/rgb2rgb_template.c | 108140 | /*
* software RGB to RGB converter
* pluralize by software PAL8 to RGB converter
* software YUV to YUV converter
* software YUV to RGB converter
* Written by Nick Kurshev.
* palette & YUV & runtime CPU stuff by Michael (michaelni@gmx.at)
* lot of big-endian byte order fixes by Alex Bere... | gpl-2.0 |
freak97/binutils | bfd/coff-ia64.c | 6054 | /* BFD back-end for HP/Intel IA-64 COFF files.
Copyright (C) 1999-2016 Free Software Foundation, Inc.
Contributed by David Mosberger <davidm@hpl.hp.com>
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms ... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 62226 | /*
* cxgb4i.c: Chelsio T4 iSCSI driver.
*
* Copyright (c) 2010-2015 Chelsio Communications, Inc.
*
* 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.
*
* Written by: Karen Xie (kxie@chelsi... | gpl-2.0 |
jlubawy/obd-dos | vendor/WiShield/clock-arch.h | 1607 |
/******************************************************************************
Filename: clock-arch.h
Description: Timer routine file
******************************************************************************
TCP/IP stack and driver for the WiShield 1.0 wireless devices
Copyright(c) 2009 Async Labs ... | gpl-2.0 |
wufucious/moped | squawk/cldc/src/com/sun/cldc/util/j2me/CalendarImpl.java | 30363 | /*
* Copyright 2003-2008 Sun Microsystems, Inc. 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 Software Foun... | gpl-2.0 |
tux-00/ansible | lib/ansible/module_utils/netconf.py | 3772 | # This code is part of Ansible, but is an independent component.
# This particular file snippet, and this file snippet only, is BSD licensed.
# Modules you write using this snippet, which is embedded dynamically by Ansible
# still belong to the author of the module, and may assign their own license
# to the complete wo... | gpl-3.0 |
mzemel/kpsu.org | vendor/gems/ruby/1.8/gems/activerecord-3.0.3/lib/active_record/named_scope.rb | 5522 | require 'active_support/core_ext/array'
require 'active_support/core_ext/hash/except'
require 'active_support/core_ext/kernel/singleton_class'
require 'active_support/core_ext/object/blank'
module ActiveRecord
# = Active Record Named \Scopes
module NamedScope
extend ActiveSupport::Concern
module ClassMeth... | gpl-3.0 |
Akheon23/gmp4 | mpn/generic/redc_1.c | 1399 | /* mpn_redc_1. Set cp[] <- up[]/R^n mod mp[]. Clobber up[].
mp[] is n limbs; up[] is 2n limbs.
THIS IS AN INTERNAL FUNCTION WITH A MUTABLE INTERFACE. IT IS ONLY
SAFE TO REACH THIS FUNCTION THROUGH DOCUMENTED INTERFACES.
Copyright (C) 2000, 2001, 2002, 2004, 2008 Free Software Foundation, Inc.
This file i... | gpl-3.0 |
dkodnik/PanicButton | docs/SECURITY.md | 6190 | # Panic Button - Security Documentation
## Introduction
This Security Documentation for Panic Button aims to communicate some of the ways that Panic Button attempts to protect its user or user's data against different types of adverse situations. It also helps understand what the application is NOT designed to achie... | gpl-3.0 |
sehrhardt/espresso | src/core/immersed_boundary/ibm_cuda_interface.cpp | 7514 |
// *******
// This is an internal file of the IMMERSED BOUNDARY implementation
// It should not be included by any main Espresso routines
// Functions to be exported for Espresso are in ibm_main.hpp
#include "config.hpp"
#ifdef IMMERSED_BOUNDARY
#include <mpi.h>
#include "cells.hpp"
#include "grid.hpp"
#include "c... | gpl-3.0 |
mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure.js | 1615 | var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure =
[
[ "GetFlagForegroundColorProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure.html#a406f266327939d646d9baeab2c4a403c", null ],
[ "GetFlagForegroundColorProc... | gpl-3.0 |
urisimchoni/samba | source4/torture/raw/pingpong.c | 5911 | /*
Unix SMB/CIFS implementation.
ping pong test
Copyright (C) Ronnie Sahlberg 2007
Significantly based on and borrowed from lockbench.c by
Copyright (C) Andrew Tridgell 2006
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | gpl-3.0 |
ncliam/serverpos | openerp/addons/hr_holidays/hr_holidays.py | 34256 | # -*- coding: utf-8 -*-
##################################################################################
#
# Copyright (c) 2005-2006 Axelor SARL. (http://www.axelor.com)
# and 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# $Id: hr.py 4656 2006-11-24 09:58:42Z Cyp $
#
# This program is free software: you can redistri... | agpl-3.0 |
ChangezKhan/SuiteCRM | include/connectors/filters/default/filter.php | 3456 | <?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is f... | agpl-3.0 |
Jtalk/kopete-fork-xep0136 | protocols/jabber/libiris/include/iris/im.h | 39 | #include "../../src/xmpp/xmpp-im/im.h"
| lgpl-2.1 |
johntfoster/dealii | tests/base/quadrature_test.cc | 6728 | // ---------------------------------------------------------------------
//
// Copyright (C) 1998 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
natashasharma/dealii | tests/bits/cylinder_shell_01.cc | 1499 | // ---------------------------------------------------------------------
//
// Copyright (C) 2003 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
jimczi/elasticsearch | core/src/test/java/org/elasticsearch/index/IndexingSlowLogTests.java | 13647 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
livingbio/kubernetes | pkg/apiserver/handlers_test.go | 11099 | /*
Copyright 2014 The Kubernetes 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 ag... | apache-2.0 |
onedox/selenium | docs/api/java/org/openqa/selenium/logging/profiler/HttpProfilerLogEntry.html | 9050 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>HttpProfilerLogEntry</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!-... | apache-2.0 |
weolar/miniblink49 | gen/v8_5_7/experimental-extras-libraries.cc | 2451 | // Copyright 2011 Google Inc. All Rights Reserved.
// This file was generated from .js source files by GYP. If you
// want to make changes to this file you should either change the
// javascript source files or the GYP script.
#include "src/v8.h"
#include "src/snapshot/natives.h"
#include "src/utils.h"
namespace v8... | apache-2.0 |
yasharmaster/scancode-toolkit | tests/cluecode/data/ics/wpa_supplicant/wpa_supplicant.c | 1445 | /*
* WPA Supplicant
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
const char *wpa_supplicant_version =
"wpa_supplicant v" VERSION_STR "\n"
"Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi> and contributors";
const char *wpa_supplicant_l... | apache-2.0 |
siosio/intellij-community | plugins/IntentionPowerPak/test/com/siyeh/ipp/collections/to_mutable_collection/FieldAssignment_after.java | 151 | import java.util.*;
class Test {
private Set<String> foo;
void test(Test t1, String s) {
t1.foo = new HashSet<>();
t1.foo.add(s);
}
} | apache-2.0 |
domchen/typescript-plus | tests/cases/fourslash/signatureHelpFunctionOverload.ts | 652 | /// <reference path='fourslash.ts' />
////function functionOverload();
////function functionOverload(test: string);
////function functionOverload(test?: string) { }
////functionOverload(/*functionOverload1*/);
////functionOverload(""/*functionOverload2*/);
verify.signatureHelp(
{
marker: "functi... | apache-2.0 |
spockframework/spock | spock-core/src/main/java/org/spockframework/runtime/condition/IObjectRendererService.java | 809 | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law... | apache-2.0 |
elijah513/druid | server/src/test/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinatorTest.java | 11028 | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | apache-2.0 |
bravo-zhang/spark | external/kafka-0-10/src/test/scala/org/apache/spark/streaming/kafka010/KafkaRDDSuite.scala | 9481 | /*
* 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 ... | apache-2.0 |
siosio/intellij-community | platform/lang-impl/src/com/intellij/ide/projectView/impl/nodes/LibraryGroupNode.java | 5590 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.projectView.impl.nodes;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.Proj... | apache-2.0 |
BigBoss424/portfolio | v8/development/node_modules/gatsby/node_modules/eslint/lib/rules/template-curly-spacing.js | 4149 | /**
* @fileoverview Rule to enforce spacing around embedded expressions of template strings
* @author Toru Nagashima
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
co... | apache-2.0 |
mlperf/inference_results_v0.7 | open/Inspur/code/rnnt/tensorrt/preprocessing/parts/text/symbols.py | 749 | # Copyright (c) 2017 Keith Ito
""" from https://github.com/keithito/tacotron """
'''
Defines the set of symbols used in text input to the model.
The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DA... | apache-2.0 |
yasharmaster/scancode-toolkit | tests/cluecode/data/ics/bison-src/nullable.h | 156 | /* Part of the bison parser generator,
Copyright (C) 2000, 2002 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler. | apache-2.0 |
nikhilvibhav/camel | components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAllowNullBodyTest.java | 3981 | /*
* 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 ... | apache-2.0 |
j16r/rust | src/test/run-pass/issue-1821.rs | 565 | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
hsbhathiya/stratos | components/org.apache.stratos.manager.console/modules/console/scripts/server.js | 1188 | /*
*
* 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"); y... | apache-2.0 |
wcwxyz/docker | graph/service.go | 2129 | package graph
import (
"fmt"
"io"
"runtime"
"time"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types"
"github.com/docker/docker/utils"
)
// Lookup looks up an image by name in a TagStore and returns it as an
// ImageInspect structure.
func (s *TagStore) Lookup(name string) (*types.ImageInspect,... | apache-2.0 |
dugilos/nar-maven-plugin | src/test/java/com/github/maven_nar/cpptasks/compiler/TestAbstractCompiler.java | 3408 | /*
* #%L
* Native ARchive plugin for Maven
* %%
* Copyright (C) 2002 - 2014 NAR Maven Plugin developers.
* %%
* 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.or... | apache-2.0 |
plantain-00/TypeScript | tests/cases/fourslash/goToTypeDefinitionAliases.ts | 645 | /// <reference path='fourslash.ts' />
// @Filename: goToTypeDefinitioAliases_module1.ts
/////*definition*/interface I {
//// p;
////}
////export {I as I2};
// @Filename: goToTypeDefinitioAliases_module2.ts
////import {I2 as I3} from "./goToTypeDefinitioAliases_module1";
////var v1: I3;
////export {v1 as... | apache-2.0 |
tdiesler/camel | components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisTestSupport.java | 2242 | /*
* 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 ... | apache-2.0 |
ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/third_party/mesa/src/src/gallium/auxiliary/draw/draw_so_emit_tmp.h | 1752 | #define FUNC_VARS \
struct pt_so_emit *so, \
const struct draw_prim_info *input_prims, \
const struct draw_vertex_info *input_verts, \
unsigned start, \
unsigned count
#define FUNC_ENTER ... | bsd-2-clause |
santoshn/softboundcets-34 | softboundcets-llvm-clang34/include/llvm/CodeGen/RegisterPressure.h | 17065 | //===-- RegisterPressure.h - Dynamic Register Pressure -*- C++ -*-------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | bsd-3-clause |
HalCanary/skia-hc | tools/skp/page_sets/skia_espn_desktop.py | 1170 | # 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.
# pylint: disable=W0401,W0614
from telemetry import story
from telemetry.page import page as page_module
from telemetry.page import shared_page_state
clas... | bsd-3-clause |
awatry/libvpx.opencl | vp8/encoder/variance.h | 2799 | /*
* Copyright (c) 2010 The WebM 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 contributin... | bsd-3-clause |
SaschaMester/delicium | chrome/browser/collected_cookies_browsertest.cc | 2289 | // Copyright (c) 2012 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.
#include <string>
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/br... | bsd-3-clause |
teddyzeenny/ember.js | packages/ember-old-router/lib/resolved_state.js | 985 | var get = Ember.get;
Ember._ResolvedState = Ember.Object.extend({
manager: null,
state: null,
match: null,
object: Ember.computed(function(key) {
if (this._object) {
return this._object;
} else {
var state = get(this, 'state'),
match = get(this, 'match'),
manager = get(... | mit |
TedDBarr/orleans | Samples/TwitterSentiment/TwitterGrainInterfaces/ITweetGrain.cs | 1600 | /*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the ""Software""), to deal in the Software without restriction,
in... | mit |
Gargitier5/tier5portal | vendors/update/test/app.option.js | 2760 | require('mocha');
require('should');
var assert = require('assert');
var support = require('./support');
var App = support.resolve();
var app;
describe('app.option', function() {
beforeEach(function() {
app = new App();
});
it('should set a key-value pair on options:', function() {
app.option('a', 'b');... | mit |
listrophy/mongoid | lib/mongoid/extensions/boolean/conversions.rb | 312 | # encoding: utf-8
module Mongoid #:nodoc:
module Extensions #:nodoc:
module Boolean #:nodoc:
module Conversions #:nodoc:
def set(value)
val = value.to_s
val == "true" || val == "1"
end
def get(value)
value
end
end
end
end
end
| mit |
banwang811/ZYChat | ZYChat/ZYChat/GJGCChatInputPanel/GJGCIconSeprateImageView.h | 269 | //
// GJGCIconSeprateImageView.h
// ZYChat
//
// Created by ZYVincent on 14-12-16.
// Copyright (c) 2014年 ZYProSoft. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GJGCIconSeprateImageView : UIView
@property (nonatomic,strong)UIImage *image;
@end
| mit |
sowbiba/senegal-front | vendor/pdepend/pdepend/src/test/resources/files/Parser/testParserHandlesParentKeywordInMethodParameterDefaultValue.php | 95 | <?php
class Foo extends Bar {
public function bar($foobar = array(parent::FOOBAR)) {}
}
?>
| mit |
ssuperczynski/ngx-easy-table | src/app/demo/select-row/select-row.component.html | 163 | <div class="columns">
<div class="column col-12">
<ngx-table [configuration]="configuration" [data]="data" [columns]="columns"> </ngx-table>
</div>
</div>
| mit |
mgechev/angular | packages/common/locales/extra/nb.ts | 848 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
const u = undefined;
expo... | mit |
chasingegg/chasingegg.github.io | themes/mogege/exampleSite/content/post/rich-content.md | 820 | +++
author = "Hugo Authors"
title = "Rich Content"
date = "2019-03-10"
description = "A brief description of Hugo Shortcodes"
tags = [
"shortcodes",
"privacy",
]
+++
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, ... | mit |
AquaSoftGmbH/graphviz-bin | win32/bin/config.h | 13332 | /* manually generated configuration for Windows */
#include "graphviz_version.h"
/* Command to open a browser on a URL */
#define BROWSER "xdg-open"
#define HAVE_ARGZ_APPEND 0
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on th... | epl-1.0 |
TheOrchardSolutions/WordPress | wp-content/plugins/wp-to-buffer/_modules/dashboard/views/sidebar-upgrade.php | 1049 | <?php
/**
* Settings screen sidebar for free plugins with a pro version. Display the reasons to upgrade
* and the mailing list.
*/
?>
<!-- Keep Updated -->
<div class="postbox">
<div class="handlediv" title="Click to toggle"><br /></div>
<h3 class="hndle"><span><?php _e('Keep Updated', $this->plugin->name); ?><... | gpl-2.0 |
ZephyrSurfer/dolphin | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/adapters/SettingsRowPresenter.java | 1484 | // SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.adapters;
import android.content.res.Resources;
import android.view.ViewGroup;
import androidx.leanback.widget.ImageCardView;
import androidx.leanback.widget.Presenter;
import org.dolphinemu.dolphinemu.model.TvSettingsItem;
import org.do... | gpl-2.0 |
somaen/scummvm | engines/wintermute/ext/dll_httpconnect.cpp | 8196 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
Jackeagle/android_kernel_huawei_msm8916 | include/linux/mmzone.h | 41373 | #ifndef _LINUX_MMZONE_H
#define _LINUX_MMZONE_H
#ifndef __ASSEMBLY__
#ifndef __GENERATING_BOUNDS_H
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/wait.h>
#include <linux/bitops.h>
#include <linux/cache.h>
#include <linux/threads.h>
#include <linux/numa.h>
#include <linux/init.h>
#include <linux/s... | gpl-2.0 |
Sananes/ScruplesWoo | wp-content/plugins/woocommerce-skrill-moneybookers-gateway/src/vendor/mockery/mockery/docs/14-PRESERVING-PASS-BY-REFERENCE-PARAMETER-BEHAVIOUR.md | 2851 | # Preserving Pass-By-Reference Method Parameter Behaviour
PHP Class method may accept parameters by reference. In this case, changes made
to the parameter (a reference to the original variable passed to the method) are
reflected in the original variable. A simple example:
```PHP
class Foo {
public function bar(&... | gpl-2.0 |
jeremymcrhat/Nexus_5X_kernel | drivers/iio/light/max44000.c | 17148 | /*
* MAX44000 Ambient and Infrared Proximity Sensor
*
* Copyright (c) 2016, Intel Corporation.
*
* This file is subject to the terms and conditions of version 2 of
* the GNU General Public License. See the file COPYING in the main
* directory of this archive for more details.
*
* Data sheet: https://datasheet... | gpl-2.0 |
mericon/Xp_Kernel_LGH850 | virt/drivers/char/diag/diag_masks.c | 56123 | /* Copyright (c) 2008-2015, 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... | gpl-2.0 |
xiaoleigua/linux | include/linux/fs.h | 102049 | #ifndef _LINUX_FS_H
#define _LINUX_FS_H
#include <linux/linkage.h>
#include <linux/wait.h>
#include <linux/kdev_t.h>
#include <linux/dcache.h>
#include <linux/path.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/list.h>
#include <linux/list_lru.h>
#include <linux/llist.h>
#include <linux/radix-tre... | gpl-2.0 |
jpl888/coreboot | payloads/tianocoreboot/include/EfiTypes.h | 6770 | /*++
Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/go.test/test/fixedbugs/issue20227.go | 565 | // errorcheck
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Issue 20227: panic while constructing constant "1i/1e-600000000"
package p
var _ = 1 / 1e-600000000i // ERROR "division by zero"
var _ = 1i... | gpl-2.0 |
SanDisk-Open-Source/SSD_Dashboard | uefi/userspace/e2fsprogs-1.42.5/debugfs/logdump.c | 17342 | /*
* logdump.c --- dump the contents of the journal out to a file
*
* Authro: Stephen C. Tweedie, 2001 <sct@redhat.com>
* Copyright (C) 2001 Red Hat, Inc.
* Based on portions Copyright (C) 1994 Theodore Ts'o.
*
* This file may be redistributed under the terms of the GNU Public
* License.
*/
#include "config... | gpl-2.0 |
TransmissionStudios/Transmission | sites/default/modules/panels/templates/panels-dashboard-link.tpl.php | 338 | <?php
// $Id: panels-dashboard-link.tpl.php,v 1.3 2010/10/11 22:56:02 sdboyer Exp $
?>
<div class="dashboard-entry clearfix">
<div class="dashboard-text">
<div class="dashboard-link">
<?php print $link['title']; ?>
</div>
<div class="description">
<?php print $link['description']; ?>
</div... | gpl-2.0 |
piyushroshan/xen-4.3.2 | tools/qemu-xen/block/nbd.c | 16673 | /*
* QEMU Block driver for NBD
*
* Copyright (C) 2008 Bull S.A.S.
* Author: Laurent Vivier <Laurent.Vivier@bull.net>
*
* Some parts:
* Copyright (C) 2007 Anthony Liguori <anthony@codemonkey.ws>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and asso... | gpl-2.0 |
ernestovi/ups | spip/plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-data.html | 855 | [(#BOITE_OUVRIR{[(#CHEMIN_IMAGE{statistique-24.png}|balise_img{'',cadre-icone})]<h1><:statistiques:titre_evolution_visite:></h1>,'simple stats'})]
<BOUCLE_expose(ARTICLES){id_article}{statut==.*}>
#BOITE_OUVRIR{'','note'}
<a class='annule_filtre' href="[(#SELF|parametre_url{id_article,''})]" title="<:info_tout_affiche... | gpl-3.0 |
debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG2246.js | 210 | Proj4js.defs["EPSG:2246"] = "+proj=lcc +lat_1=37.96666666666667 +lat_2=38.96666666666667 +lat_0=37.5 +lon_0=-84.25 +x_0=500000.0001016001 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192 +no_defs"; | gpl-3.0 |
freaxmind/miage-l3 | web/blog Tim Burton/tim_burton/protected/extensions/tinymce/assets/tiny_mce/plugins/wordc/langs/ka_dlg.js | 50 | tinyMCE.addI18n('ka.wordcount',{words:"Words: "}); | gpl-3.0 |
SkyroverTech/SkyroverCF | lib/cppcheck-1.71/gui/xmlreportv1.cpp | 5973 | /*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2015 Daniel Marjamäki and Cppcheck team.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of th... | gpl-3.0 |
betaflight/betaflight | lib/main/STM32G4/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_i2c_ex.h | 6081 | /**
******************************************************************************
* @file stm32g4xx_hal_i2c_ex.h
* @author MCD Application Team
* @brief Header file of I2C HAL Extended module.
******************************************************************************
* @attention
*
* <h2><cen... | gpl-3.0 |
damnya/dnSpy | ILSpy/Services/ParserService.cs | 2300 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace ICSharpCode.ILSpy.Debugger.Services
{
/// <summary>
/// Very naiv... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/PsoXja/npcs/_091.lua | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _091 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 350.000 -1.925 -61.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
OshinKaramian/jsmc | server/ffmpeg/linux/libavcodec/ass_split.c | 23515 | /*
* SSA/ASS spliting functions
* Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
*
* 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
* ver... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Nhel Urhahn
-- Type: Standard NPC
-- @zone 94
-- @pos -47.348 -4.499 47.117
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
geminy/aidear | oss/cegui/cegui-0.8.7/cegui/src/ScriptModules/Python/bindings/output/CEGUI/DefaultLogger.pypp.cpp | 3612 | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "generators/include/python_CEGUI.h"
#include "DefaultLogger.pypp.hpp"
namespace bp = boost::python;
struct DefaultLogger_wrapper : CEGUI::DefaultLogger, bp::wrapper< CEGUI::DefaultLogger > {
DefaultLogger_wrapper( )
: CEGUI::Defau... | gpl-3.0 |
the7day/sumatrapdf | src/Favorites.cpp | 27609 | /* Copyright 2015 the SumatraPDF project authors (see AUTHORS file).
License: GPLv3 */
// utils
#include "BaseUtil.h"
#include "Dpi.h"
#include "FileUtil.h"
#include "GdiPlusUtil.h"
#include "LabelWithCloseWnd.h"
#include "UITask.h"
#include "WinUtil.h"
// rendering engines
#include "BaseEngine.h"
#inc... | gpl-3.0 |
arcemu/arcemu | src/world/Map/MapScriptInterface.h | 3521 | /*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2012 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software... | agpl-3.0 |
AydinSakar/sql-layer | src/test/resources/com/foundationdb/sql/optimizer/operator/coia-group-index/select-17bu.sql | 243 | SELECT customers.name, items.quan
FROM customers, orders, items, addresses
WHERE customers.cid = orders.cid
AND orders.oid = items.oid
AND customers.cid = addresses.cid
AND addresses.state IN ('MA', 'NY', 'VT')
ORDER BY quan DESC
| agpl-3.0 |
jochenvdv/checkstyle | src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationInvalidWhileIndent.java | 4344 | package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
/** //indent:0 exp:0
* This test-input is intended to be checked using following configuration: //indent:1 exp:1
* ... | lgpl-2.1 |
danielru/moose | test/include/userobjects/PointerStoreError.h | 1489 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | lgpl-2.1 |
izzizz/pinot | pinot-transport/src/main/java/com/linkedin/pinot/routing/builder/RoutingTableInstancePruner.java | 2428 | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | apache-2.0 |
siosio/intellij-community | python/testData/inspections/PyDataclassInspection/defaultFieldValue.py | 1215 | import dataclasses
from typing import ClassVar, Dict, List, Set, Tuple, Type
from collections import OrderedDict
@dataclasses.dataclass
class A:
a: List[int] = <error descr="Mutable default '[]' is not allowed. Use 'default_factory'">[]</error>
b: List[int] = <error descr="Mutable default 'list()' is not allo... | apache-2.0 |
GlenRSmith/elasticsearch | x-pack/plugin/text-structure/src/test/java/org/elasticsearch/xpack/textstructure/structurefinder/GrokPatternCreatorTests.java | 37348 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.textstructure.structurefinder;
imp... | apache-2.0 |