code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * 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...
bmildner/aws-sdk-cpp
aws-cpp-sdk-ecs/source/model/RegisterContainerInstanceRequest.cpp
C++
apache-2.0
2,594
/* * 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 ...
bryce-anderson/netty
common/src/main/java/io/netty/util/internal/svm/UnsafeRefArrayAccessSubstitution.java
Java
apache-2.0
1,194
/* * * 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...
justintung/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestKeyValueScanFixture.java
Java
apache-2.0
2,727
/* * 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...
android-ia/platform_tools_idea
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/CustomizedBreakpointPresentation.java
Java
apache-2.0
1,141
//--------------------------------------------------------------------------- // 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. //---------...
50wu/gpdb
src/backend/gporca/libnaucrates/src/parser/CParseHandlerQueryOutput.cpp
C++
apache-2.0
4,849
# 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/...
gregory-nisbet/ack2
README.md
Markdown
artistic-2.0
1,107
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...
sjackman/homebrew-core
Formula/perl-build.rb
Ruby
bsd-2-clause
5,489
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...
sjackman/homebrew-core
Formula/git-absorb.rb
Ruby
bsd-2-clause
2,121
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...
josa42/homebrew-cask
Casks/astropad.rb
Ruby
bsd-2-clause
649
# All stanzas ## Required Stanzas Each of the following stanzas is required for every Cask. | name | multiple occurrences allowed? | value | | ---------- |------------------------------ | ------------------------------- | | `version` | no | Application vers...
stephenwade/homebrew-cask
doc/cask_language_reference/all_stanzas.md
Markdown
bsd-2-clause
9,227
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]...
wet-boew/openlayers-dist
test/spec/ol/extent.test.js
JavaScript
bsd-2-clause
27,991
# -*- 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. ...
nhejazi/scikit-learn
doc/conf.py
Python
bsd-3-clause
9,924
/** * 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...
safarijv/urlrewritefilter
src/main/java/org/tuckey/web/filters/urlrewrite/Conf.java
Java
bsd-3-clause
23,779
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
youtube/cobalt
third_party/llvm-project/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eof.pass.cpp
C++
bsd-3-clause
669
/**************************************************************************** * 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...
gcds/project_xxx
nuttx/arch/avr/src/at32uc3/at32uc3_gpioirq.c
C
bsd-3-clause
11,677
# 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`...
astaxie/build-web-application-with-golang
th/05.0.md
Markdown
bsd-3-clause
1,206
<!-- @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>
chromium/chromium
content/test/data/accessibility/accname/name-checkbox-label-embedded-select.html
HTML
bsd-3-clause
285
<?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 = ...
juanchi008/playa_auto
web/phppgadmin/views.php
PHP
bsd-3-clause
27,911
#----------------------------------------------------------------------------- # 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...
NifTK/MITK
CMakeExternals/Rasqal.cmake
CMake
bsd-3-clause
1,663
// 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...
youtube/cobalt
third_party/skia_next/third_party/skia/docs/examples/IRect_isEmpty64.cpp
C++
bsd-3-clause
748
# 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...
chromium/chromium
third_party/tflite_support/src/tensorflow_lite_support/python/task/core/task_utils.py
Python
bsd-3-clause
1,839
# 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...
andreinabgomezg29/spree_out_stock
spec/dummy/db/migrate/20170904174291_update_adjustment_states.spree.rb
Ruby
bsd-3-clause
500
// 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. ...
zcbenz/cefode-chromium
chrome/browser/resources/net_internals/export_view.js
JavaScript
bsd-3-clause
6,896
# 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] =...
pervino/solidus
backend/app/controllers/spree/admin/properties_controller.rb
Ruby
bsd-3-clause
601
<!-- @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<...
nwjs/chromium.src
content/test/data/accessibility/aria/aria-owns-list.html
HTML
bsd-3-clause
344
/* * 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...
0mok/fresco
drawee/src/test/java/com/facebook/drawee/drawable/RoundedBitmapDrawableTest.java
Java
bsd-3-clause
4,630
// 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...
TeamEOS/external_chromium_org
content/browser/indexed_db/indexed_db_backing_store.h
C
bsd-3-clause
21,096
// 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...
gavinp/chromium
chrome/browser/ui/views/frame/opaque_browser_frame_view.h
C
bsd-3-clause
7,146
// 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...
santoshn/softboundcets-34
softboundcets-llvm-clang34/tools/clang/test/Sema/warn-main-return-type.c
C
bsd-3-clause
1,543
"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...
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint-scope/Variable.js
JavaScript
bsd-3-clause
419
// 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...
chromium/chromium
services/device/hid/hid_preparsed_data.cc
C++
bsd-3-clause
10,536
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; } } }
firstsee/ServiceStack
tests/ServiceStack.Common.Tests/Models/ModelWithIndexFields.cs
C#
bsd-3-clause
300
// 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...
ric2b/Vivaldi-browser
chromium/ash/perftests/ash_background_filter_blur_perftest.cc
C++
bsd-3-clause
5,648
<!-- 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...
endlessm/chromium-browser
third_party/webgl/src/sdk/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html
HTML
bsd-3-clause
1,848
// 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...
guorendong/iridium-browser-ubuntu
sync/test/engine/mock_connection_manager.cc
C++
bsd-3-clause
25,782
/*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...
tianzhihen/phantomjs
src/modules/cookiejar.js
JavaScript
bsd-3-clause
2,651
<!-- 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"...
endlessm/chromium-browser
third_party/webgl/src/sdk/tests/conformance2/textures/canvas/tex-3d-rgba8-rgba-unsigned_byte.html
HTML
bsd-3-clause
943
// 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...
ric2b/Vivaldi-browser
chromium/chrome/browser/ui/passwords/bubble_controllers/move_to_account_store_bubble_controller.cc
C++
bsd-3-clause
4,892
// 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...
ric2b/Vivaldi-browser
chromium/chrome/test/chromedriver/commands.h
C
bsd-3-clause
2,494
# 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...
ric2b/Vivaldi-browser
chromium/chrome/test/mini_installer/variable_expander.py
Python
bsd-3-clause
17,079
<?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...
windtrader/drupalvm-d8
web/core/lib/Drupal/Core/Render/Element/Button.php
PHP
gpl-2.0
3,071
=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...
ibc/MediaSoup
worker/deps/openssl/openssl/doc/man3/i2d_CMS_bio_stream.pod
Perl
isc
1,218
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; ...
Oussemalaamiri/guidemeAngular
src/node_modules/angular2-google-maps/esm/core/directives/google-map-kml-layer.js
JavaScript
mit
4,685
module CatsHelper end
metaminded/cruddler
test/dummy/app/helpers/cats_helper.rb
Ruby
mit
22
<?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', ...
derrabus/symfony
src/Symfony/Component/Intl/Resources/data/scripts/pt_PT.php
PHP
mit
493
""" 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...
toddeye/home-assistant
tests/components/automation/test_zone.py
Python
mit
5,342
<?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 ...
owen-kellie-smith/mediawiki
wiki/extensions/SemanticMediaWiki/includes/queryprinters/EmbeddedResultPrinter.php
PHP
mit
3,564
/* $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....
JasonGross/graphviz-packaging
reference-graphviz-2.39.20141222.0545/plugin/xlib/gvdevice_xlib.c
C
mit
17,220
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...
timfel/mspec
spec/guards/conflict_spec.rb
Ruby
mit
1,789
# -*- 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...
askl56/rubyspec
core/encoding/compatible_spec.rb
Ruby
mit
13,521
/*************************************************************************/ /* aspect_ratio_container.h */ /*************************************************************************/ /* This file is part of: */ /* ...
DmitriySalnikov/godot
scene/gui/aspect_ratio_container.h
C
mit
3,502
<?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...
localheinz/symfony
src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesApiTransportTest.php
PHP
mit
4,500
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...
iobeam/plottable
quicktests/overlaying/tests/functional/formatter.js
JavaScript
mit
3,212
JsonRoutes.add('post', '/' + Meteor.settings.private.stripe.webhookEndpoint, function (req, res) { Letterpress.Services.Buy.handleEvent(req.body); JsonRoutes.sendResult(res, 200); });
FleetingClouds/Letterpress
server/api/webhooks-api.js
JavaScript
mit
187
'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) ...
rishigb/NodeProject_IOTstyle
socketIo/VideoLiveStreamSockets/node_modules/exprestify/node_modules/pem/lib/pem.js
JavaScript
mit
24,288
// // 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...
jconst/SoundDrop
SoundDrop/libpd/objc/PdDispatcher.h
C
mit
1,537
<?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. */ ...
neos/eel
Tests/Unit/Helper/DateHelperTest.php
PHP
mit
7,259
# 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...
mseroczynski/platformio
scripts/mbed_to_package.py
Python
mit
3,667
<?php namespace Concrete\Core\Attribute; use Concrete\Core\Attribute\Key\SearchIndexer\SearchIndexerInterface; interface AttributeKeyInterface { /** * @return int */ public function getAttributeKeyID(); /** * @return string */ public function getAttributeKeyHandle(); /** ...
jaromirdalecky/concrete5
concrete/src/Attribute/AttributeKeyInterface.php
PHP
mit
678
'''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) ...
newvem/pytz
pytz/zoneinfo/GMT_minus_0.py
Python
mit
367
<?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);
DevKhater/symfony2-testing
vendor/namshi/jose/tests/bootstrap.php
PHP
mit
200
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
yugangw-msft/azure-cli
src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_nodes_scenarios.py
Python
mit
543
<?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\...
mpdude/symfony
src/Symfony/Component/Lock/Tests/Store/AbstractRedisStoreTest.php
PHP
mit
3,693
<?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', ); ...
jbthibeault/plymouth-webapp
lib/PSU/Student/Finaid/Application/Factory.php
PHP
mit
1,109
<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/...
ankushrgv/tollbooth-management-system
tb_management1/laxmi/includes/head_recharge.php
PHP
mit
1,662
<?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)', ...
derrabus/symfony
src/Symfony/Component/Intl/Resources/data/locales/vi.php
PHP
mit
30,213
{{$content}} Test {{/content}}
xuvw/GRMustache
src/tests/Public/v7.0/Suites/spullara:mustache.java/GRMustacheJavaSuites/recurse_base.html
HTML
mit
30
/** @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...
ahocevar/cdnjs
ajax/libs/react-dom/16.3.0/cjs/react-dom-test-utils.development.js
JavaScript
mit
36,533
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...
mrward/RefactoringEssentials
RefactoringEssentials/CSharp/CodeRefactorings/Synced/ConvertCoalescingToConditionalExpressionCodeRefactoringProvider.cs
C#
mit
2,856
// 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 ...
mcclatchy/lunchbox
www/js/waterbug.js
JavaScript
mit
18,520
/* * 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...
syouts/NWNX-Combat
include_v03/include/structs/CServerExoApp.h
C
gpl-2.0
1,094
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...
nabnut/zabbix2.0-cookies
upgrades/dbpatches/1.6/mysql/patch/scripts.sql
SQL
gpl-2.0
518
// 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...
paranoiacblack/gcc
libgo/go/time/zoneinfo_test.go
GO
gpl-2.0
1,871
/*************************************************************************** qgsfeature_p.h --------------- Date : May-2015 Copyright : (C) 2015 by Nyall Dawson email : nyall dot dawson at gmail dot com *******************************...
SrNetoChan/QGIS
src/core/qgsfeature_p.h
C
gpl-2.0
2,506
#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...
ErickReyes/kernel-mst3000
include/linux/fs.h
C
gpl-2.0
92,694
/* * 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...
apxii/barebox
arch/arm/boards/embest-riotboard/board.c
C
gpl-2.0
2,078
/* * 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...
isaacl/openjdk-jdk
test/javax/print/attribute/TestUnsupportedResolution.java
Java
gpl-2.0
3,739
/* * 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...
LEPT-Development/android_kernel_lge_msm8916-old
drivers/soc/qcom/lge/lge_charging_scenario.c
C
gpl-2.0
8,601
/* 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 ...
groundwater/glibc
time/tzset.c
C
gpl-2.0
17,278
/* * 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....
InES-HPMM/linux-l4t
arch/arm/mach-tegra/panel-s-wuxga-8-0.c
C
gpl-2.0
6,402
-- 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...
TrinityCore/TrinityCore
sql/old/9.x/world/22012_2022_03_06/2022_02_27_06_world_2020_09_20_00_world.sql
SQL
gpl-2.0
378
/* * 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...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat003/libthrstat003.cpp
C++
gpl-2.0
1,327
<?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...
enslyon/ensl
core/modules/node/src/Plugin/views/row/Rss.php
PHP
gpl-2.0
4,982
DELETE FROM spell_bonus_data WHERE entry = 102352; INSERT INTO spell_bonus_data VALUE (102352, 0, 1.04, 0, 0, 'Druid - Cenarion Ward (HoT)');
Exodius/MistCore
sql/updates/world/worldpanda_old_world_updates_2012_2013/2013/08/2013_27_08_world_spell_data_cenarion_ward.sql
SQL
gpl-2.0
141
/* 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...
yxl/emscripten-calligra-mobile
plugins/formulashape/elements/TokenElement.cpp
C++
gpl-2.0
12,060
/* 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...
Digilent/u-boot-digilent
include/imx_sip.h
C
gpl-2.0
376
<?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...
snappermorgan/radaralley
wp-content/plugins/woocommerce-bookings/templates/emails/customer-booking-notification.php
PHP
gpl-2.0
2,299
/* * 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...
dan82840/Netgear-RBR50
git_home/linux.git/drivers/gpu/drm/ast/ast_mode.c
C
gpl-2.0
31,874
<?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\...
lian-rr/Ecommerse-Drupal
vendor/drupal/console/src/Command/Generate/RouteSubscriberCommand.php
PHP
gpl-2.0
4,403
#!/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...
uoaerg/linux-dccp
tools/testing/selftests/net/netdevice.sh
Shell
gpl-2.0
4,346
#!/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 #...
anouschka42/starktheatreprod
sites/all/libraries/wkhtmltopdf-0.12.0/scripts/sourcefix.py
Python
gpl-2.0
4,292
<?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...
nmacd85/drupal-nicoledawn
vendor/symfony/http-kernel/DependencyInjection/FragmentRendererPass.php
PHP
gpl-2.0
2,526
/* * 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...
tectronics/houdini-ocean-toolkit
src/3rdparty/src/fftw-3.2.2/dft/simd/codelets/n2sv_32.c
C
gpl-2.0
50,411
# # 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_...
choushane/MaRa-a1a0a5aNaL
package/beceemcscm/Makefile
Makefile
gpl-2.0
1,653
<!-- 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...
ruslan2k/database-editor
public_html/vendors/fatfree/lib/api/functions_a.html
HTML
gpl-2.0
2,697
/******************************************************************************* * * Module Name: dsutils - Dispatcher utilities * ******************************************************************************/ /* * Copyright (C) 2000 - 2005, R. Byron Moore * All rights reserved. * * Redistribution and use in ...
shichao-an/linux-2.6.11.12
drivers/acpi/dispatcher/dsutils.c
C
gpl-2.0
19,371
// 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() ...
johnparker007/mame
src/devices/cpu/tms32082/mp_ops.cpp
C++
gpl-2.0
40,621
/* 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....
RaymanFX/kernel_samsung_lt03wifi
arch/arm/mach-exynos/board-klimt-gpio.c
C
gpl-2.0
31,408
/* 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...
embecosm/avr32-gcc
gcc/testsuite/gcc.target/arm/neon/vuzpQf32.c
C
gpl-2.0
630
/* 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 * */ /**********************************...
muehlburger/gnucash
common/test-core/test-stuff.h
C
gpl-2.0
5,135