repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
bmildner/aws-sdk-cpp
aws-cpp-sdk-ecs/source/model/RegisterContainerInstanceRequest.cpp
2594
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
apache-2.0
bryce-anderson/netty
common/src/main/java/io/netty/util/internal/svm/UnsafeRefArrayAccessSubstitution.java
1194
/* * Copyright 2019 The Netty Project * * The Netty Project licenses this file to you 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 ...
apache-2.0
justintung/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestKeyValueScanFixture.java
2727
/* * * 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
android-ia/platform_tools_idea
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/CustomizedBreakpointPresentation.java
1141
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
apache-2.0
50wu/gpdb
src/backend/gporca/libnaucrates/src/parser/CParseHandlerQueryOutput.cpp
4849
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 EMC Corp. // // @filename: // CParseHandlerQueryOutput.cpp // // @doc: // Implementation of the SAX parse handler class parsing the list of // output column references in a DXL query. //---------...
apache-2.0
gregory-nisbet/ack2
README.md
1107
# ack 2.0 ack is a code-searching tool, similar to grep but optimized for programmers searching large trees of source code. It runs in pure Perl, is highly portable, and runs on any platform that runs Perl. ack is written and maintained by Andy Lester (andy@petdance.com). * Project home page: http://beyondgrep.com/...
artistic-2.0
sjackman/homebrew-core
Formula/perl-build.rb
5489
class PerlBuild < Formula desc "Perl builder" homepage "https://github.com/tokuhirom/Perl-Build" url "https://github.com/tokuhirom/Perl-Build/archive/1.32.tar.gz" sha256 "ba86d74ff9718977637806ef650c85615534f0b17023a72f447587676d7f66fd" license any_of: ["Artistic-1.0", "GPL-1.0-or-later"] head "https://gith...
bsd-2-clause
sjackman/homebrew-core
Formula/git-absorb.rb
2121
class GitAbsorb < Formula desc "Automatic git commit --fixup" homepage "https://github.com/tummychow/git-absorb" url "https://github.com/tummychow/git-absorb/archive/0.6.6.tar.gz" sha256 "955069cc70a34816e6f4b6a6bd1892cfc0ae3d83d053232293366eb65599af2f" license "BSD-3-Clause" bottle do rebuild 1 sh...
bsd-2-clause
josa42/homebrew-cask
Casks/astropad.rb
649
cask 'astropad' do version '3.1' sha256 '4082c09dd4aa440a2b8bd25104d98d3f431fbca2fc4f139d3e390632f4903f22' url "https://astropad.com/downloads/Astropad-#{version}.zip" appcast 'https://astropad.com/downloads/sparkle.xml' name 'Astropad' homepage 'https://astropad.com/' app 'Astropad.app' uninstall qu...
bsd-2-clause
stephenwade/homebrew-cask
doc/cask_language_reference/all_stanzas.md
9227
# All stanzas ## Required Stanzas Each of the following stanzas is required for every Cask. | name | multiple occurrences allowed? | value | | ---------- |------------------------------ | ------------------------------- | | `version` | no | Application vers...
bsd-2-clause
wet-boew/openlayers-dist
test/spec/ol/extent.test.js
27991
goog.provide('ol.test.extent'); goog.require('ol.extent'); goog.require('ol.proj'); describe('ol.extent', function() { describe('buffer', function() { it('buffers an extent by some value', function() { var extent = [-10, -20, 10, 20]; expect(ol.extent.buffer(extent, 15)).to.eql([-25, -35, 25, 35]...
bsd-2-clause
nhejazi/scikit-learn
doc/conf.py
9924
# -*- coding: utf-8 -*- # # scikit-learn documentation build configuration file, created by # sphinx-quickstart on Fri Jan 8 09:13:42 2010. # # This file is execfile()d with the current directory set to its containing # dir. # # Note that not all possible configuration values are present in this # autogenerated file. ...
bsd-3-clause
safarijv/urlrewritefilter
src/main/java/org/tuckey/web/filters/urlrewrite/Conf.java
23779
/** * Copyright (c) 2005-2007, Paul Tuckey * All rights reserved. * ==================================================================== * Licensed under the BSD License. Text as follows. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
bsd-3-clause
youtube/cobalt
third_party/llvm-project/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp
669
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
bsd-3-clause
gcds/project_xxx
nuttx/arch/avr/src/at32uc3/at32uc3_gpioirq.c
11677
/**************************************************************************** * arch/avr/src/at32uc3/at32uc3_gpioirq.c * arch/avr/src/chip/at32uc3_gpioirq.c * * Copyright (C) 2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms...
bsd-3-clause
astaxie/build-web-application-with-golang
th/05.0.md
1206
# 5 Database For web developers, the database is at the core of web development. You can save almost anything into a database and query or update data inside it, like user information, products or news articles. Go doesn't provide any database drivers, but it does have a driver interface defined in the `database/sql`...
bsd-3-clause
chromium/chromium
content/test/data/accessibility/accname/name-checkbox-label-embedded-select.html
285
<!-- @BLINK-DENY:descri* --> <!doctype html> <html> <body> <input type="checkbox" id="test" /> <label for="test">Flash the screen <select size="1"> <option selected="selected">1</option> <option>2</option> <option>3</option> </select> times. </label> </body> </html>
bsd-3-clause
juanchi008/playa_auto
web/phppgadmin/views.php
27911
<?php /** * Manage views in a database * * $Id: views.php,v 1.75 2007/12/15 22:57:43 ioguix Exp $ */ // Include application functions include_once('./libraries/lib.inc.php'); include_once('./classes/Gui.php'); $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : ''; if (!isset($msg)) $msg = ...
bsd-3-clause
NifTK/MITK
CMakeExternals/Rasqal.cmake
1663
#----------------------------------------------------------------------------- # rasqal #----------------------------------------------------------------------------- if(MITK_USE_Rasqal) # Sanity checks if(DEFINED Rasqal_DIR AND NOT EXISTS ${Rasqal_DIR}) message(FATAL_ERROR "Rasqal_DIR variable is defined but corre...
bsd-3-clause
youtube/cobalt
third_party/skia_next/third_party/skia/docs/examples/IRect_isEmpty64.cpp
748
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" // HASH=eb905faa1084ccab3ad0605df4c27ea4 REG_FIDDLE(IRect_isEmpty64, 256, 256, true, 0) { void draw(SkCanvas* canvas) { SkIRect tests[] = {{20, 40, 10...
bsd-3-clause
chromium/chromium
third_party/tflite_support/src/tensorflow_lite_support/python/task/core/task_utils.py
1839
# Copyright 2021 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...
bsd-3-clause
andreinabgomezg29/spree_out_stock
spec/dummy/db/migrate/20170904174291_update_adjustment_states.spree.rb
500
# This migration comes from spree (originally 20130417120035) class UpdateAdjustmentStates < ActiveRecord::Migration[4.2] def up Spree::Order.complete.find_each do |order| order.adjustments.update_all(state: 'closed') end Spree::Shipment.shipped.includes(:adjustment).find_each do |shipment| s...
bsd-3-clause
zcbenz/cefode-chromium
chrome/browser/resources/net_internals/export_view.js
6896
// 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. /** * This view displays options for exporting the captured data. */ var ExportView = (function() { 'use strict'; // We inherit from DivView. ...
bsd-3-clause
pervino/solidus
backend/app/controllers/spree/admin/properties_controller.rb
601
# frozen_string_literal: true module Spree module Admin class PropertiesController < ResourceController def index respond_with(@collection) end private def collection return @collection if @collection # params[:q] can be blank upon pagination params[:q] =...
bsd-3-clause
nwjs/chromium.src
content/test/data/accessibility/aria/aria-owns-list.html
344
<!-- @MAC-ALLOW:AXSize={w: 400, h: *} @BLINK-ALLOW:pageSize=(400* --> <html> <body> <style> [role="listitem"] { width: 400px; height: 200px; } </style> <div role="list" aria-owns="one two"></div> <div id="one" role="listitem">One</div> <div id="two" role="listitem">Two<...
bsd-3-clause
0mok/fresco
drawee/src/test/java/com/facebook/drawee/drawable/RoundedBitmapDrawableTest.java
4630
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
bsd-3-clause
TeamEOS/external_chromium_org
content/browser/indexed_db/indexed_db_backing_store.h
21096
// Copyright (c) 2013 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 CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ #include <map> #include...
bsd-3-clause
gavinp/chromium
chrome/browser/ui/views/frame/opaque_browser_frame_view.h
7146
// 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. #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ #pragma once #i...
bsd-3-clause
santoshn/softboundcets-34
softboundcets-llvm-clang34/tools/clang/test/Sema/warn-main-return-type.c
1543
// RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -x c++ %s 2>&1 | FileCheck %s // expected-note@+1 5{{previous definition is here}} int main() { return 0; } // ex...
bsd-3-clause
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint-scope/Variable.js
419
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Variable = void 0; const variable_1 = __importDefault(require("eslint-scope/lib/variable")); con...
bsd-3-clause
chromium/chromium
services/device/hid/hid_preparsed_data.cc
10536
// Copyright 2020 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 "services/device/hid/hid_preparsed_data.h" #include <cstddef> #include <cstdint> #include "base/debug/dump_without_crashing.h" #include "base/m...
bsd-3-clause
firstsee/ServiceStack
tests/ServiceStack.Common.Tests/Models/ModelWithIndexFields.cs
300
using ServiceStack.DataAnnotations; namespace ServiceStack.Common.Tests.Models { public class ModelWithIndexFields { public string Id { get; set; } [Index] public string Name { get; set; } public string AlbumId { get; set; } [Index(true)] public string UniqueName { get; set; } } }
bsd-3-clause
ric2b/Vivaldi-browser
chromium/ash/perftests/ash_background_filter_blur_perftest.cc
5648
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "ash/shell.h" #include "ash/test/ash_test_base.h" #include "base/timer/lap_timer.h" #include "testing/perf/perf_test.h" #inclu...
bsd-3-clause
endlessm/chromium-browser
third_party/webgl/src/sdk/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html
1848
<!-- Copyright (c) 2019 The Khronos Group Inc. Use of this source code is governed by an MIT-style license that can be found in the LICENSE.txt file. --> <!-- author: Bill Baxter (wbaxter at google.com) --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Modulo Arithmetic Accuracy Bug</title> <link rel="s...
bsd-3-clause
guorendong/iridium-browser-ubuntu
sync/test/engine/mock_connection_manager.cc
25782
// Copyright 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. // // Mock ServerConnectionManager class for use in client regression tests. #include "sync/test/engine/mock_connection_manager.h" #include <map> #inclu...
bsd-3-clause
tianzhihen/phantomjs
src/modules/cookiejar.js
2651
/*jslint sloppy: true, nomen: true */ /*global exports:true */ /* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2013 Joseph Rollinson, jtrollinson@gmail.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following con...
bsd-3-clause
endlessm/chromium-browser
third_party/webgl/src/sdk/tests/conformance2/textures/canvas/tex-3d-rgba8-rgba-unsigned_byte.html
943
<!-- Copyright (c) 2019 The Khronos Group Inc. Use of this source code is governed by an MIT-style license that can be found in the LICENSE.txt file. --> <!-- This file is auto-generated from py/tex_image_test_generator.py DO NOT EDIT! --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet"...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/browser/ui/passwords/bubble_controllers/move_to_account_store_bubble_controller.cc
4892
// Copyright 2020 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 "chrome/browser/ui/passwords/bubble_controllers/move_to_account_store_bubble_controller.h" #include "chrome/browser/favicon/favicon_service_facto...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/test/chromedriver/commands.h
2494
// 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. #ifndef CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ #define CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ #include <memory> #include <string> #include "base/callbac...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/test/mini_installer/variable_expander.py
17079
# Copyright 2013 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. import base64 import hashlib import os import string import win32api import win32file import win32com.client from win32com.shell import shell, shellcon impor...
bsd-3-clause
windtrader/drupalvm-d8
web/core/lib/Drupal/Core/Render/Element/Button.php
3071
<?php namespace Drupal\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Render\Element; /** * Provides an action button form element. * * When the button is pressed, the form will be submitted to Drupal, where it is * validated and rebuilt. The submit handler is not invoked. * * Pr...
gpl-2.0
ibc/MediaSoup
worker/deps/openssl/openssl/doc/man3/i2d_CMS_bio_stream.pod
1218
=pod =head1 NAME i2d_CMS_bio_stream - output CMS_ContentInfo structure in BER format =head1 SYNOPSIS #include <openssl/cms.h> int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *data, int flags); =head1 DESCRIPTION i2d_CMS_bio_stream() outputs a CMS_ContentInfo structure in BER format. It is otherwise...
isc
Oussemalaamiri/guidemeAngular
src/node_modules/angular2-google-maps/esm/core/directives/google-map-kml-layer.js
4685
import { Directive, EventEmitter } from '@angular/core'; import { KmlLayerManager } from './../services/managers/kml-layer-manager'; var layerId = 0; export var SebmGoogleMapKmlLayer = (function () { function SebmGoogleMapKmlLayer(_manager) { this._manager = _manager; this._addedToManager = false; ...
mit
metaminded/cruddler
test/dummy/app/helpers/cats_helper.rb
22
module CatsHelper end
mit
derrabus/symfony
src/Symfony/Component/Intl/Resources/data/scripts/pt_PT.php
493
<?php return [ 'Names' => [ 'Aran' => 'nasta’liq', 'Armn' => 'arménio', 'Beng' => 'bengalês', 'Egyd' => 'egípcio demótico', 'Egyh' => 'egípcio hierático', 'Ethi' => 'etíope', 'Hanb' => 'han com bopomofo', 'Inds' => 'indus', 'Orya' => 'odia', ...
mit
toddeye/home-assistant
tests/components/automation/test_zone.py
5342
""" tests.components.automation.test_location ±±±~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests location automation. """ import unittest from homeassistant.components import automation, zone from tests.common import get_test_home_assistant class TestAutomationZone(unittest.TestCase): """ Test the event automatio...
mit
owen-kellie-smith/mediawiki
wiki/extensions/SemanticMediaWiki/includes/queryprinters/EmbeddedResultPrinter.php
3564
<?php namespace SMW; use SMWQueryResult; use Title; /** * Printer for embedded data. * * Embeds in the page output the contents of the pages in the query result set. * Printouts are ignored: it only matters which pages were returned by the query. * The optional "titlestyle" formatting parameter can be used to ...
mit
JasonGross/graphviz-packaging
reference-graphviz-2.39.20141222.0545/plugin/xlib/gvdevice_xlib.c
17220
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
mit
timfel/mspec
spec/guards/conflict_spec.rb
1789
require File.dirname(__FILE__) + '/../spec_helper' require 'mspec/guards/conflict' describe Object, "#conflicts_with" do before :each do ScratchPad.clear end it "does not yield if Object.constants includes any of the arguments" do Object.stub!(:constants).and_return(["SomeClass", "OtherClass"]) conf...
mit
askl56/rubyspec
core/encoding/compatible_spec.rb
13521
# -*- encoding: ascii-8bit -*- require File.expand_path('../../../spec_helper', __FILE__) with_feature :encoding do # TODO: add IO describe "Encoding.compatible? String, String" do describe "when the first's Encoding is valid US-ASCII" do before :each do @str = "abc".force_encoding Encoding::US...
mit
DmitriySalnikov/godot
scene/gui/aspect_ratio_container.h
3502
/*************************************************************************/ /* aspect_ratio_container.h */ /*************************************************************************/ /* This file is part of: */ /* ...
mit
localheinz/symfony
src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesApiTransportTest.php
4500
<?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\Mailer\Bridge\Amazon\Tests\Transport; use PHPUnit\Fra...
mit
iobeam/plottable
quicktests/overlaying/tests/functional/formatter.js
3212
function makeData() { "use strict"; return [makeRandomData(10), makeRandomData(10)]; } function run(svg, data, Plottable) { "use strict"; var largeX = function(d, i){ d.x = Math.pow(10, i); }; var bigNumbers = []; deepCopy(data[0], bigNumbers); bigNumbers.forEach(largeX); var dataseri...
mit
FleetingClouds/Letterpress
server/api/webhooks-api.js
187
JsonRoutes.add('post', '/' + Meteor.settings.private.stripe.webhookEndpoint, function (req, res) { Letterpress.Services.Buy.handleEvent(req.body); JsonRoutes.sendResult(res, 200); });
mit
rishigb/NodeProject_IOTstyle
socketIo/VideoLiveStreamSockets/node_modules/exprestify/node_modules/pem/lib/pem.js
24288
'use strict'; var spawn = require('child_process').spawn; var os = require('os'); var pathlib = require('path'); var fs = require('fs'); var net = require('net'); var crypto = require('crypto'); var which = require('which'); var pathOpenSSL; var tempDir = process.env.PEMJS_TMPDIR || (os.tmpdir || os.tmpDir) ...
mit
jconst/SoundDrop
SoundDrop/libpd/objc/PdDispatcher.h
1537
// // PdDispatcher.h // libpd // // Copyright (c) 2011 Peter Brinkmann (peter.brinkmann@gmail.com) // // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "LICENSE.txt," in this distribution. // #import <Foundation/Foundation.h> #import "PdBase.h" /// Implement...
mit
neos/eel
Tests/Unit/Helper/DateHelperTest.php
7259
<?php namespace Neos\Eel\Tests\Unit; /* * This file is part of the Neos.Eel package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. */ ...
mit
mseroczynski/platformio
scripts/mbed_to_package.py
3667
# Copyright (C) Ivan Kravets <me@ikravets.com> # See LICENSE for details. import argparse import zipfile from os import getcwd, listdir, makedirs, mkdir, rename from os.path import isdir, isfile, join from shutil import move, rmtree from sys import exit as sys_exit from sys import path path.append("..") from platfor...
mit
jaromirdalecky/concrete5
concrete/src/Attribute/AttributeKeyInterface.php
678
<?php namespace Concrete\Core\Attribute; use Concrete\Core\Attribute\Key\SearchIndexer\SearchIndexerInterface; interface AttributeKeyInterface { /** * @return int */ public function getAttributeKeyID(); /** * @return string */ public function getAttributeKeyHandle(); /** ...
mit
newvem/pytz
pytz/zoneinfo/GMT_minus_0.py
367
'''tzinfo timezone information for GMT_minus_0.''' from pytz.tzinfo import StaticTzInfo from pytz.tzinfo import memorized_timedelta as timedelta class GMT_minus_0(StaticTzInfo): '''GMT_minus_0 timezone definition. See datetime.tzinfo for details''' zone = 'GMT_minus_0' _utcoffset = timedelta(seconds=0) ...
mit
DevKhater/symfony2-testing
vendor/namshi/jose/tests/bootstrap.php
200
<?php $loader = require __DIR__.'/../vendor/autoload.php'; $loader->add('Namshi\\JOSE\\Test', __DIR__); define('TEST_DIR', __DIR__); define('SSL_KEYS_PATH', 'file://'.TEST_DIR.DIRECTORY_SEPARATOR);
mit
yugangw-msft/azure-cli
src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_nodes_scenarios.py
543
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
mit
mpdude/symfony
src/Symfony/Component/Lock/Tests/Store/AbstractRedisStoreTest.php
3693
<?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\Lock\Tests\Store; use Symfony\Component\Cache\Traits\...
mit
jbthibeault/plymouth-webapp
lib/PSU/Student/Finaid/Application/Factory.php
1109
<?php class PSU_Student_Finaid_Application_Factory { public function fetch_by_pidm_aidy_seqno( $pidm, $aidy, $seqno ) { $args = array( 'pidm' => $pidm, 'aidy' => $aidy, 'seqno' => $seqno, ); $where = array( 'rcrapp1_pidm = :pidm', 'rcrapp1_aidy_code = :aidy', 'rcrapp1_seq_no = :seqno', ); ...
mit
ankushrgv/tollbooth-management-system
tb_management1/laxmi/includes/head_recharge.php
1662
<head> <meta charset=utf-8> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Recharge</title> <!-- Load Roboto font --> <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700&amp;subset=latin,latin-ext' rel='stylesheet' type='text/...
mit
derrabus/symfony
src/Symfony/Component/Intl/Resources/data/locales/vi.php
30213
<?php return [ 'Names' => [ 'af' => 'Tiếng Afrikaans', 'af_NA' => 'Tiếng Afrikaans (Namibia)', 'af_ZA' => 'Tiếng Afrikaans (Nam Phi)', 'ak' => 'Tiếng Akan', 'ak_GH' => 'Tiếng Akan (Ghana)', 'am' => 'Tiếng Amharic', 'am_ET' => 'Tiếng Amharic (Ethiopia)', ...
mit
xuvw/GRMustache
src/tests/Public/v7.0/Suites/spullara:mustache.java/GRMustacheJavaSuites/recurse_base.html
30
{{$content}} Test {{/content}}
mit
ahocevar/cdnjs
ajax/libs/react-dom/16.3.0/cjs/react-dom-test-utils.development.js
36533
/** @license React v16.3.0 * react-dom-test-utils.development.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (functi...
mit
mrward/RefactoringEssentials
RefactoringEssentials/CSharp/CodeRefactorings/Synced/ConvertCoalescingToConditionalExpressionCodeRefactoringProvider.cs
2856
using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Formatting; namespace RefactoringEssentials.CSharp.CodeRefactorings { [ExportCodeRefactoringProvid...
mit
mcclatchy/lunchbox
www/js/waterbug.js
18520
// DOM elements var $source; var $photographer; var $save; var $textColor; var $logo; var $crop; var $logoColor; var $imageLoader; var $imageLink; var $imageLinkButton; var $canvas; var canvas; var $qualityQuestions; var $copyrightHolder; var $dragHelp; var $filename; var $fileinput; var $customFilename; // Constants ...
mit
syouts/NWNX-Combat
include_v03/include/structs/CServerExoApp.h
1094
/* * NWNeXalt - Empty File * (c) 2007 Doug Swarin (zac@intertex.net) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any lat...
gpl-2.0
nabnut/zabbix2.0-cookies
upgrades/dbpatches/1.6/mysql/patch/scripts.sql
518
CREATE TABLE scripts ( scriptid bigint unsigned DEFAULT '0' NOT NULL, name varchar(255) DEFAULT '' NOT NULL, command varchar(255) DEFAULT '' NOT NULL, host_access integer DEFAULT '2' NOT...
gpl-2.0
paranoiacblack/gcc
libgo/go/time/zoneinfo_test.go
1871
// Copyright 2014 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. package time_test import ( "testing" "time" ) func TestVersion3(t *testing.T) { t.Skip("gccgo does not use the zip file") time.ForceZipFileForTesting(true...
gpl-2.0
SrNetoChan/QGIS
src/core/qgsfeature_p.h
2506
/*************************************************************************** qgsfeature_p.h --------------- Date : May-2015 Copyright : (C) 2015 by Nyall Dawson email : nyall dot dawson at gmail dot com *******************************...
gpl-2.0
ErickReyes/kernel-mst3000
include/linux/fs.h
92694
#ifndef _LINUX_FS_H #define _LINUX_FS_H /* * This file has definitions for some important file table * structures etc. */ #include <linux/limits.h> #include <linux/ioctl.h> #include <linux/blk_types.h> #include <linux/types.h> /* * It's silly to have NR_OPEN bigger than NR_FILE, but you can change * the file li...
gpl-2.0
apxii/barebox
arch/arm/boards/embest-riotboard/board.c
2078
/* * Copyright (C) 2014 Eric Bénard <eric@eukrea.com> * Copyright (C) 2013 Lucas Stach <l.stach@pengutronix.de> * * 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...
gpl-2.0
isaacl/openjdk-jdk
test/javax/print/attribute/TestUnsupportedResolution.java
3739
/* * Copyright (c) 2014 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 Softwar...
gpl-2.0
LEPT-Development/android_kernel_lge_msm8916-old
drivers/soc/qcom/lge/lge_charging_scenario.c
8601
/* * LGE charging scenario. * * Copyright (C) 2013 LG Electronics * mansu.lee <mansu.lee@lge.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 and * only version 2 as published by the Free Software Foundation. * * Thi...
gpl-2.0
groundwater/glibc
time/tzset.c
17278
/* Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
gpl-2.0
InES-HPMM/linux-l4t
arch/arm/mach-tegra/panel-s-wuxga-8-0.c
6402
/* * arch/arm/mach-tegra/panel-s-wuxga-8-0.c * * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation....
gpl-2.0
TrinityCore/TrinityCore
sql/old/9.x/world/22012_2022_03_06/2022_02_27_06_world_2020_09_20_00_world.sql
378
-- DELETE FROM `trinity_string` WHERE `entry` IN (6,7,8,191,192,193,194); INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES (6, 'Command \'%.*s\' does not exist'), (7, 'Subcommand \'%.*s\' is ambiguous:'), (8, 'Possible subcommands:'), (191, '|- %.*s'), (192, '|- %.*s ...'), (193, 'Subcommand \'%.*s\' do...
gpl-2.0
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat003/libthrstat003.cpp
1327
/* * Copyright (c) 2018, 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...
gpl-2.0
enslyon/ensl
core/modules/node/src/Plugin/views/row/Rss.php
4982
<?php namespace Drupal\node\Plugin\views\row; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\views\Plugin\views\row\RssPluginBase; /** * Plugin which performs a node_view on the resulting object * and formats it as an RSS item. * * @ViewsRow...
gpl-2.0
Exodius/MistCore
sql/updates/world/worldpanda_old_world_updates_2012_2013/2013/08/2013_27_08_world_spell_data_cenarion_ward.sql
141
DELETE FROM spell_bonus_data WHERE entry = 102352; INSERT INTO spell_bonus_data VALUE (102352, 0, 1.04, 0, 0, 'Druid - Cenarion Ward (HoT)');
gpl-2.0
yxl/emscripten-calligra-mobile
plugins/formulashape/elements/TokenElement.cpp
12060
/* This file is part of the KDE project Copyright (C) 2006-2007 Alfredo Beaumont Sainz <alfredo.beaumont@gmail.com> 2009 Jeremias Epperlein <jeeree@web.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as pu...
gpl-2.0
Digilent/u-boot-digilent
include/imx_sip.h
376
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2017 NXP */ #ifndef _IMX_SIP_H__ #define _IMX_SIP_H_ #define IMX_SIP_GPC 0xC2000000 #define IMX_SIP_GPC_PM_DOMAIN 0x03 #define IMX_SIP_BUILDINFO 0xC2000003 #define IMX_SIP_BUILDINFO_GET_COMMITHASH 0x00 #define IMX_SIP_SRC 0xC2000005 #define IMX_SIP_SRC_M4...
gpl-2.0
snappermorgan/radaralley
wp-content/plugins/woocommerce-bookings/templates/emails/customer-booking-notification.php
2299
<?php /** * Customer booking notification */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php do_action( 'woocommerce_email_header', $email_heading ); ?> <?php echo wpautop( wptexturize( $notification_message ) ); ?> <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px so...
gpl-2.0
dan82840/Netgear-RBR50
git_home/linux.git/drivers/gpu/drm/ast/ast_mode.c
31874
/* * Copyright 2012 Red Hat Inc. * Parts based on xf86-video-ast * Copyright (c) 2005 ASPEED Technology Inc. * * 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, incl...
gpl-2.0
lian-rr/Ecommerse-Drupal
vendor/drupal/console/src/Command/Generate/RouteSubscriberCommand.php
4403
<?php /** * @file * Contains \Drupal\Console\Command\Generate\RouteSubscriber. */ namespace Drupal\Console\Command\Generate; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Drupal\Console\Command\Shared\...
gpl-2.0
uoaerg/linux-dccp
tools/testing/selftests/net/netdevice.sh
4346
#!/bin/sh # # This test is for checking network interface # For the moment it tests only ethernet interface (but wifi could be easily added) # # We assume that all network driver are loaded # if not they probably have failed earlier in the boot process and their logged error will be catched by another test # # this fu...
gpl-2.0
anouschka42/starktheatreprod
sites/all/libraries/wkhtmltopdf-0.12.0/scripts/sourcefix.py
4292
#!/usr/bin/python # # Copyright 2010, 2011 wkhtmltopdf authors # # This file is part of wkhtmltopdf. # # wkhtmltopdf is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
gpl-2.0
nmacd85/drupal-nicoledawn
vendor/symfony/http-kernel/DependencyInjection/FragmentRendererPass.php
2526
<?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\HttpKernel\DependencyInjection; use Symfony\Component...
gpl-2.0
tectronics/houdini-ocean-toolkit
src/3rdparty/src/fftw-3.2.2/dft/simd/codelets/n2sv_32.c
50411
/* * Copyright (c) 2003, 2007-8 Matteo Frigo * Copyright (c) 2003, 2007-8 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 Li...
gpl-2.0
choushane/MaRa-a1a0a5aNaL
package/beceemcscm/Makefile
1653
# # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=CSCM PKG_VERSION:=v1.1.6.0_source PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_...
gpl-2.0
ruslan2k/database-editor
public_html/vendors/fatfree/lib/api/functions_a.html
2697
<!-- HTML header for doxygen 1.8.5--> <!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 http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" conte...
gpl-2.0
shichao-an/linux-2.6.11.12
drivers/acpi/dispatcher/dsutils.c
19371
/******************************************************************************* * * Module Name: dsutils - Dispatcher utilities * ******************************************************************************/ /* * Copyright (C) 2000 - 2005, R. Byron Moore * All rights reserved. * * Redistribution and use in ...
gpl-2.0
johnparker007/mame
src/devices/cpu/tms32082/mp_ops.cpp
40621
// license:BSD-3-Clause // copyright-holders:Ville Linde // TMS320C82 Master Processor core execution #include "emu.h" #include "tms32082.h" #define OP_LINK() ((m_ir >> 27) & 0x1f) #define OP_RD() ((m_ir >> 27) & 0x1f) #define OP_RS() ((m_ir >> 22) & 0x1f) #define OP_BASE() ((m_ir >> 22) & 0x1f) #define OP_SIMM15() ...
gpl-2.0
RaymanFX/kernel_samsung_lt03wifi
arch/arm/mach-exynos/board-klimt-gpio.c
31408
/* linux/arch/arm/mach-exynos/board-klimt-gpio.c * * Copyright (c) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.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 the Free Software Foundation....
gpl-2.0
embecosm/avr32-gcc
gcc/testsuite/gcc.target/arm/neon/vuzpQf32.c
630
/* Test the `vuzpQf32' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */ #include "arm_neon.h" void test_vuzpQf32 (void) { float32x4x2_t out_floa...
gpl-2.0
muehlburger/gnucash
common/test-core/test-stuff.h
5135
/* Modified by bstanley 20010320 * Added do_test macro, do_test_call and do_test_call_args, * print_test_results, set_success_print. * * Modified by bstanley 20010323 * removed testing functionality which depends on the rest of gnucash - * separated into gnc-test-stuff.h * */ /**********************************...
gpl-2.0