repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
trocvuong/izzfeed_us | wp-content/plugins/video-thumbnails/php/providers/class-youku-thumbnails.php | 3248 | <?php
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it ... | gpl-2.0 |
notspiff/xbmc | xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp | 5290 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.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 version 2, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
qianguozheng/Openswan | testing/kunit/xmit-02/testspi1.sh | 951 | #!/bin/sh
TZ=GMT export TZ
enckey=0x4043434545464649494a4a4c4c4f4f515152525454575758
authkey=0x87658765876587658765876587658765
ipsec spi --del --af inet --edst 205.150.200.252 --spi 0x12345678 --proto esp
ipsec spi --del --af inet --edst 205.150.200.252 --spi 0x12345678 --proto tun
ipsec spi --af inet --edst 205.15... | gpl-2.0 |
dmarx/praw | tests/test_internal.py | 1261 | from __future__ import print_function, unicode_literals
from praw.internal import _to_reddit_list
from .helper import PRAWTest, betamax
class InternalTest(PRAWTest):
def test__to_reddit_list(self):
output = _to_reddit_list('hello')
self.assertEqual('hello', output)
def test__to_reddit_list_wi... | gpl-3.0 |
blue-eyed-devil/testCMS | externals/highcharts/es-modules/masters/indicators/mfi.src.js | 258 | /**
* @license @product.name@ JS v@product.version@ (@product.date@)
*
* Money Flow Index indicator for Highstock
*
* (c) 2010-2019 Grzegorz Blachliński
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../indicators/mfi.src.js';
| gpl-3.0 |
livecodesebastien/livecode | engine/src/vclip.h | 2340 | /* Copyright (C) 2003-2013 Runtime Revolution Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITH... | gpl-3.0 |
Whitechaser/darkstar | scripts/zones/Misareaux_Coast/mobs/Gigas_Catapulter.lua | 291 | -----------------------------------
-- Area: Misareaux_Coast
-- MOB: Gigas Catapulter
-----------------------------------
mixins = {require("scripts/mixins/fomor_hate")}
function onMobSpawn(mob)
mob:setLocalVar("fomorHateAdj", -1);
end;
function onMobDeath(mob, player, isKiller)
end; | gpl-3.0 |
selmentdev/selment-toolchain | source/gcc-latest/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc | 2725 | // { dg-options "-std=gnu++14" }
// { dg-do compile }
// Copyright (C) 2015-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Fre... | gpl-3.0 |
dacrybabysuck/darkstar | scripts/zones/Arrapago_Remnants/mobs/Vile_Wahzil.lua | 686 | -----------------------------------
-- Area: Arrapago Remnants
-- Mob: Vile Wahzil
-----------------------------------
local ID = require("scripts/zones/Arrapago_Remnants/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobSpawn(mob)
local instance = mob:getInstance();
in... | gpl-3.0 |
jeffreytinkess/OS_A2 | src/extern/acpica/source/components/executer/exstorob.c | 12066 | /******************************************************************************
*
* Module Name: exstorob - AML Interpreter object store support, store to object
*
*****************************************************************************/
/***********************************************************************... | gpl-3.0 |
mkuzmin/terraform | vendor/github.com/hashicorp/nomad/nomad/periodic_endpoint.go | 1256 | package nomad
import (
"fmt"
"time"
"github.com/armon/go-metrics"
"github.com/hashicorp/nomad/nomad/structs"
)
// Periodic endpoint is used for periodic job interactions
type Periodic struct {
srv *Server
}
// Force is used to force a new instance of a periodic job
func (p *Periodic) Force(args *structs.Period... | mpl-2.0 |
ratliff/server | plugins/transcoding/inlet_armada/InletArmadaPlugin.php | 2348 | <?php
/**
*@package plugins.inletArmada
*/
class InletArmadaPlugin extends KalturaPlugin implements IKalturaObjectLoader, IKalturaEnumerator
{
const PLUGIN_NAME = 'inletArmada';
public static function getPluginName()
{
return self::PLUGIN_NAME;
}
/**
* @param string $baseClass
* @param string $enumValue... | agpl-3.0 |
levent/openfoodnetwork | spec/controllers/spree/admin/overview_controller_spec.rb | 2772 | require 'spec_helper'
describe Spree::Admin::OverviewController do
include AuthenticationWorkflow
context "loading overview" do
let(:user) { create_enterprise_user(enterprise_limit: 2) }
before do
controller.stub spree_current_user: user
end
context "when user owns only one enterprise" do
... | agpl-3.0 |
ftrotter/google_health_fail | yui/examples/datatable/dt_tabview_clean.html | 3575 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>TabView Integration</title>
<style type="text/css">
/*margin and padding on body element
can introduce errors in determining
elem... | agpl-3.0 |
ixmid/snipe-it | resources/lang/fil/pagination.php | 547 | <?php
return array(
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simpl... | agpl-3.0 |
sdlBasic/sdlbrt | win32/mingw/i686-w64-mingw32/include/schannel.h | 12166 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __SCHANNEL_H__
#define __SCHANNEL_H__
#include <_mingw_unicode.h>
#include <wincrypt.h>
#defin... | lgpl-2.1 |
markwatkinson/luminous | style/luminous_print.css | 1195 | /*
* Here we override some CSS to make a Luminous object more print-friendly.
* as well as some layout, we override a few colours of the light theme.
* This is because some colours do not print well (grey comments => green)
* and boldness appears to be dropped from keywords, thereby removing all their
* highlight... | lgpl-2.1 |
AkshitaKukreja30/checkstyle | src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/nowhitespacebefore/InputNoWhitespaceBeforeDefault.java | 5995 | ////////////////////////////////////////////////////////////////////////////////
// Test case file for checkstyle.
// Created: 2001
////////////////////////////////////////////////////////////////////////////////
package com . puppycrawl
.tools.
checkstyle.checks.whitespace.nowhitespacebefore;
/**
* C... | lgpl-2.1 |
harterj/moose | modules/navier_stokes/doc/content/source/fvkernels/CNSFVFluidEnergyHLLC.md | 389 | # CNSFVFluidEnergyHLLC
!syntax description /FVKernels/CNSFVFluidEnergyHLLC
## Overview
This object implements the energy equation inter-cell fluxes for the
Harten-Lax-Van Leer-Contact (HLLC) formulation described in [CNSFVHLLCBase.md].
!syntax parameters /FVKernels/CNSFVFluidEnergyHLLC
!syntax inputs /FVKernels/CN... | lgpl-2.1 |
abbeyj/sonarqube | server/sonar-server/src/main/java/org/sonar/server/metric/ws/MetricsWs.java | 1515 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | lgpl-3.0 |
animotron/animos | include/acpi/acdisasm.h | 24792 | /******************************************************************************
*
* Name: acdisasm.h - AML disassembler
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright Notice
*
* So... | lgpl-3.0 |
jcoady9/hummingbird | app/controllers/users_controller.rb | 5020 | require_dependency 'user_query'
class UsersController < ApplicationController
def index
if params[:followed_by] || params[:followers_of]
if params[:followed_by]
users = User.find(params[:followed_by]).following
elsif params[:followers_of]
users = User.find(params[:followers_of]).follo... | apache-2.0 |
nikhilvibhav/camel | core/camel-core/src/test/java/org/apache/camel/component/seda/SedaSizeTest.java | 1588 | /*
* 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 |
zhencui/azure-powershell | src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSLocalizableString.cs | 1909 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 |
maxamillion/origin | vendor/k8s.io/kubernetes/test/e2e/apimachinery/webhook.go | 38059 | /*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dgrid/extensions/nls/zh-cn/columnHider.js | 111 | //>>built
define("dgrid/extensions/nls/zh-cn/columnHider",{popupLabel:"\u663e\u793a\u6216\u9690\u85cf\u5217"}); | apache-2.0 |
MungoRae/home-assistant | homeassistant/components/notify/telstra.py | 3404 | """
Telstra API platform for notify component.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.telstra/
"""
import logging
import requests
import voluptuous as vol
from homeassistant.components.notify import (
BaseNotificationService, ATTR_TI... | apache-2.0 |
ivan-fedorov/intellij-community | plugins/git4idea/tests/git4idea/repo/GitRepositoryReaderTest.java | 5931 | package git4idea.repo;
import com.intellij.openapi.application.PluginPathManager;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.util.io.FileUtilRt;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vcs.VcsTestUtil;
import com.intellij.util.Function;
import com.in... | apache-2.0 |
charles-cooper/idylfin | src/org/apache/commons/math3/optim/nonlinear/scalar/ObjectiveFunctionGradient.java | 1648 | /*
* 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 |
ThiagoGarciaAlves/intellij-community | platform/testFramework/src/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.java | 11297 | /*
* Copyright 2000-2014 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 |
zimmermatt/flink | flink-tests/src/test/java/org/apache/flink/test/classloading/jar/CheckpointingCustomKvStateProgram.java | 7468 | /*
* 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 ... | apache-2.0 |
WangTaoTheTonic/flink | flink-java/src/test/java/org/apache/flink/api/common/operators/CollectionExecutionIterationTest.java | 5782 | /*
* 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 ... | apache-2.0 |
phacility/phabricator | src/applications/people/controller/PhabricatorPeopleProfileEditController.php | 3029 | <?php
final class PhabricatorPeopleProfileEditController
extends PhabricatorPeopleProfileController {
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$id = $request->getURIData('id');
$user = id(new PhabricatorPeopleQuery())
->setViewer($viewer)
->wi... | apache-2.0 |
jgsqware/clairctl | vendor/github.com/coreos/go-systemd/sdjournal/journal_test.go | 1951 | // Copyright 2015 RedHat, Inc.
// Copyright 2015 CoreOS, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | apache-2.0 |
maxim-ky/libcouchbase | src/mc/mcreq.h | 32622 | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2014 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | apache-2.0 |
pweil-/origin | vendor/gonum.org/v1/gonum/unit/capacitance_test.go | 916 | // Code generated by "go generate gonum.org/v1/gonum/unit; DO NOT EDIT.
// Copyright ©2019 The Gonum 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 unit
import (
"fmt"
"testing"
)
func TestCapacitanceFormat(t *testing.T... | apache-2.0 |
yugangw-msft/azure-sdk-for-net | sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/TagsResource.cs | 1610 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | apache-2.0 |
NixaSoftware/CVis | venv/bin/libs/regex/doc/html/boost_regex/background_information.html | 4206 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Background Information</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="Bo... | apache-2.0 |
klucar/pachyderm | vendor/k8s.io/kubernetes/pkg/apis/extensions/deep_copy_generated.go | 48982 | /*
Copyright 2015 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 |
Mirantis/mos-horizon | openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/_create_snapshot.html | 653 | {% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% block modal-body-right %}
<div class="quota-dynamic">
{% include "project/volumes/volumes/_snapshot_limits.html" with usages=usages snapshot_quota=True %}
</div>
{% endblock %}
{% block modal-footer %}
<a href="{% url 'horizon:project:volume... | apache-2.0 |
SRGOM/scalatest | scalatest-test/src/test/scala/org/scalatest/concurrent/FuturesSpec.scala | 25023 | /*
* Copyright 2001-2013 Artima, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
racker/omnibus | source/ruby-1.9.2-p180/test/rdoc/test_rdoc_ri_store.rb | 7781 | require 'rubygems'
require 'minitest/autorun'
require 'rdoc/ri'
require 'rdoc/markup'
require 'tmpdir'
require 'fileutils'
class TestRDocRIStore < MiniTest::Unit::TestCase
def setup
RDoc::TopLevel.reset
@tmpdir = File.join Dir.tmpdir, "test_rdoc_ri_store_#{$$}"
@s = RDoc::RI::Store.new @tmpdir
@to... | apache-2.0 |
TiVo/kafka | trogdor/src/main/java/org/apache/kafka/trogdor/rest/TaskStopping.java | 1713 | /*
* 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 n... | apache-2.0 |
pweil-/origin | vendor/github.com/Azure/azure-sdk-for-go/profiles/preview/servicefabric/servicefabric/models.go | 148564 | // +build go1.9
// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | apache-2.0 |
ollie314/kafka | clients/src/test/java/org/apache/kafka/common/metrics/JmxReporterTest.java | 5954 | /*
* 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 n... | apache-2.0 |
donttrustthisbot/amphtml | ads/inabox/frame-overlay-helper.js | 3755 | /**
* Copyright 2017 The AMP HTML 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 require... | apache-2.0 |
mminella/spring-cloud-data | spring-cloud-dataflow-core/src/main/java/org/springframework/cloud/dataflow/core/TaskManifest.java | 2150 | /*
* Copyright 2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 |
mmaracic/elasticsearch | test/framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java | 5321 | /*
* 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 |
jhrcek/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/resources/DMNSVGViewFactory.java | 2348 | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
ncdc/origin | pkg/template/generated/listers/template/internalversion/brokertemplateinstance.go | 1892 | // This file was automatically generated by lister-gen
package internalversion
import (
api "github.com/openshift/origin/pkg/template/api"
"k8s.io/apimachinery/pkg/api/errors"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"
)
// BrokerTemplateInstanceLis... | apache-2.0 |
coderzh/hugo | utils/utils.go | 1295 | // Copyright 2015 The Hugo 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 ... | apache-2.0 |
JGiola/swift | include/swift/SILOptimizer/PassManager/Passes.h | 2755 | //===--- Passes.h - Swift Compiler SIL Pass Entrypoints ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
physhi/roslyn | src/Compilers/Core/Rebuild/Extensions.cs | 1272 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Linq;
using System.Reflection.Metadata;
using System.Reflection.Portabl... | apache-2.0 |
rowhit/h2o-2 | src/main/java/water/deploy/LaunchJar.java | 4106 | package water.deploy;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import java.util.jar.*;
import javassist.*;
import water.*;
import water.api.DocGen;
import water.util.Utils;
public class LaunchJar extends Request2 {
static final int API_WEAVER = 1;
static public DocGen.FieldDoc[] DOC_FIEL... | apache-2.0 |
tjordanchat/rundeck | test/api/api-expect-exec-success.sh | 881 | #!/bin/bash
# usage:
# api-expect-exec-success.sh ID [message]
# tests an execution status is succeeded
execid="$1"
shift
expectstatus=${1:-succeeded}
shift
# arg to include.sh
set -- -
DIR=$(cd `dirname $0` && pwd)
source $DIR/include.sh
# now submit req
runurl="${APIURL}/execution/${execid}"
params=""
# get... | apache-2.0 |
madmax983/h2o-3 | h2o-docs/src/booklets/v2_2015/source/GLM_Vignette_code_examples/glm_model_output_20.py | 19 | binomial_fit.coef() | apache-2.0 |
MatthieuMEZIL/roslyn | src/Features/VisualBasic/Portable/CodeFixes/SimplifyTypeNames/SimplifyTypeNamesCodeFixProvider.SimplifyTypeNamesFixAllProvider.vb | 1377 | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading
Imports Microsoft.CodeAnalysis.CodeFixes
Namespace Microsoft.CodeAnalysis.VisualBasic.CodeFixes.SimplifyTypeNames
Partial Friend... | apache-2.0 |
ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/chrome/browser/extensions/api/permissions/permissions_api_helpers.h | 1220 | // 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_EXTENSIONS_API_PERMISSIONS_PERMISSIONS_API_HELPERS_H_
#define CHROME_BROWSER_EXTENSIONS_API_PERMISSIONS_PERMISSIONS_API_HELPERS... | bsd-2-clause |
timeyyy/PyUpdater | pyupdater/vendor/PyInstaller/lib/macholib/macho_standalone.py | 718 | #!/usr/bin/env python
import os
import sys
from macholib.MachOStandalone import MachOStandalone
from macholib.util import strip_files
def standaloneApp(path):
if not os.path.isdir(path) and os.path.exists(
os.path.join(path, 'Contents')):
raise SystemExit('%s: %s does not look like an app bun... | bsd-2-clause |
solitaryr/sticky-notes | public/assets/pbr/js/stickynotes.js | 10960 | /**
* Sticky Notes
*
* An open source lightweight pastebin application
*
* @package StickyNotes
* @author Sayak Banerjee
* @copyright (c) 2014 Sayak Banerjee <mail@sayakbanerjee.com>. All rights reserved.
* @license http://www.opensource.org/licenses/bsd-license.php
* @link http://sayakba... | bsd-2-clause |
Latertater/jbox2d | jbox2d-serialization/src/main/java/org/jbox2d/serialization/SerializationResult.java | 2130 | /*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* * Redistributions of ... | bsd-2-clause |
klane/homebrew-cask | Casks/media-center.rb | 773 | cask 'media-center' do
version '23.00.20'
sha256 '70042295e59a0114900ca475cb2ab46d8c8793c58dbb429542ce4129614e5f25'
url "http://files.jriver.com/mediacenter/channels/v#{version.major}/stable/MediaCenter#{version.no_dots}.dmg"
name 'JRiver Media Center'
homepage 'https://www.jriver.com/'
app "Media Center ... | bsd-2-clause |
kaufmo/koala-framework | tests/Kwc/Trl/DateHelper/DateTime/Component.php | 75 | <?php
class Kwc_Trl_DateHelper_DateTime_Component extends Kwc_Abstract
{
}
| bsd-2-clause |
nwjs/chromium.src | third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory_test.cc | 4887 | // Copyright 2021 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 <stdint.h>
#include "base/test/task_environment.h"
#include "media/base/svc_scalability_mode.h"
#include "media/base/video_codecs.h"
#include "m... | bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/wpt_internal/prerender/restriction-element-request-fullscreen.html | 890 | <!DOCTYPE html>
<title>Prerendering cannot invoke Element.requestFullscreen</title>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<body>
<script>
promise_test(async t => {
const... | bsd-3-clause |
weiawe/django | tests/cache/tests.py | 85300 | # -*- coding: utf-8 -*-
# Unit tests for cache framework
# Uses whatever cache backend is set in the test settings file.
from __future__ import unicode_literals
import copy
import os
import re
import shutil
import tempfile
import threading
import time
import unittest
import warnings
from django.conf import settings
... | bsd-3-clause |
qiuzhong/crosswalk-test-suite | webapi/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html | 2321 | <!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | bsd-3-clause |
drmateo/pcl | doc/tutorials/content/sources/rops_feature/rops_feature.cpp | 2148 | #include <pcl/features/rops_estimation.h>
#include <pcl/io/pcd_io.h>
int main (int argc, char** argv)
{
if (argc != 4)
return (-1);
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ> ());
if (pcl::io::loadPCDFile (argv[1], *cloud) == -1)
return (-1);
pcl::PointIndicesPtr in... | bsd-3-clause |
NifTK/MITK | Plugins/org.mitk.gui.qt.cmdlinemodules/src/internal/QmitkUiLoader.cpp | 2060 | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) University College London (UCL).
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR ... | bsd-3-clause |
scheib/chromium | third_party/blink/renderer/modules/webgl/oes_draw_buffers_indexed.h | 1603 | // 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_OES_DRAW_BUFFERS_INDEXED_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_OES_DRAW_BUFFERS_INDEXED_H_
... | bsd-3-clause |
modulexcite/blink | LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js | 1651 | description("This tests that page scaling does not affect mouse event pageX and pageY coordinates.");
var html = document.documentElement;
var div = document.createElement("div");
div.style.width = "100px";
div.style.height = "100px";
div.style.backgroundColor = "blue";
var eventLog = "";
function appendEventLog() ... | bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/compositing/reflections/reflection-opacity.html | 727 | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<style type="text/css" media="screen">
div {
-webkit-box-sizing: border-box;
}
.reflected {
position: relative;
width: 150px;
height: 100px;
backgr... | bsd-3-clause |
ondra-novak/blink | LayoutTests/ietestcenter/Javascript/15.2.3.3-4-164.html | 344 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/ie-test-pre.js"></script>
<script src="TestCases/15.2.3.3-4-164.js"></script>
<script src="resources/ie-test-post.js"></... | bsd-3-clause |
AlexJeng/react | src/modern/class/__tests__/ReactES6Class-test.js | 11780 | /**
* Copyright 2013-2015, 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.
*
* @emails react-co... | bsd-3-clause |
mohamed--abdel-maksoud/chromium.src | ash/shell.cc | 43179 | // 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 "ash/shell.h"
#include <algorithm>
#include <string>
#include "ash/accelerators/accelerator_controller.h"
#include "ash/accelerators/accele... | bsd-3-clause |
shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h | 1010 | /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __gnu_java_awt_peer_gtk_GtkLabelPeer__
#define __gnu_java_awt_peer_gtk_GtkLabelPeer__
#include <jni.h>
#ifdef __cplusplus
extern "C"
{
#endif
JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create (JNIEnv *env, jobject, jstring, jfloat);
J... | bsd-3-clause |
nwjs/blink | LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4.html | 1655 | <!DOCTYPE html>
<script src="../../resources/run-after-display.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
window.onload = function() {
testRunner.displayAsyncThen(function() {
mutateTree();
testRunner.displayAsyncThen(function() {
t... | bsd-3-clause |
shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java | 9974 | /* Main.java -- a standalone viewer for Java applets
Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 Founda... | bsd-3-clause |
js0701/chromium-crosswalk | sync/tools/testserver/run_sync_testserver.cc | 3925 | // 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.
#include <stdint.h>
#include <stdio.h>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/logging.... | bsd-3-clause |
js0701/chromium-crosswalk | content/browser/plugin_loader_posix_unittest.cc | 13212 | // 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 "content/browser/plugin_loader_posix.h"
#include <stddef.h>
#include <stdint.h>
#include "base/at_exit.h"
#include "base/bind.h"
#include "... | bsd-3-clause |
markYoungH/chromium.src | chrome/browser/resources/ntp4/guest_tab.html | 973 | <!doctype html>
<html i18n-values="dir:textdirection">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="incognito_and_guest_tab.css">
<script>
// Until themes can clear the cache, force-reload the them... | bsd-3-clause |
ondra-novak/blink | LayoutTests/inspector/elements/event-listeners-about-blank.html | 1114 | <html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/elements-test.js"></script>
<script>
function setupEventListeners()
{
function f() {}
var frame = document.getElementById("myframe");
var body = frame.contentDocument.body;
body.ad... | bsd-3-clause |
mkrzewic/AliRoot | TPC/scripts/OCDBscan/makeCalibTree.sh | 675 | #!/bin/bash
# Aruments
# 1 - run list
# 2 - start run
# 3 - end run
runList=$1
startRun=$2
endRun=$3
echo runList=$runList
echo startRun=$startRun
echo endRun=$endRun
#
workdir=${GUI_OUTDIR}/tmp/tmp${startRun}-${endRun}
backupdir=`pwd`/
mkdirhier $workdir
cp $runList $workdir
cd $workdir
source guiEnv.sh
sou... | bsd-3-clause |
timopulkkinen/BubbleFish | media/audio/scoped_loop_observer.cc | 1340 | // 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 "media/audio/scoped_loop_observer.h"
#include "base/bind.h"
#include "base/synchronization/waitable_event.h"
namespace media {
ScopedLoopO... | bsd-3-clause |
jcu-eresearch/Edgar | webapplication/lib/Cake/Controller/Component/Acl/PhpAcl.php | 13365 | <?php
/**
* PHP configuration based AclInterface implementation
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copy... | bsd-3-clause |
js0701/chromium-crosswalk | content/public/test/test_download_request_handler.h | 12805 | // Copyright 2015 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_PUBLIC_TEST_TEST_DOWNLOAD_REQUEST_HANDLER_H_
#define CONTENT_PUBLIC_TEST_TEST_DOWNLOAD_REQUEST_HANDLER_H_
#include <stdint.h>
#include <q... | bsd-3-clause |
scheib/chromium | net/base/file_stream.h | 7156 | // 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 file defines FileStream, a basic interface for reading and writing files
// synchronously or asynchronously with support for seeking to an off... | bsd-3-clause |
scheib/chromium | third_party/blink/renderer/core/layout/svg/layout_svg_tspan.h | 1569 | /*
* Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
* Copyright (C) 2006 Apple Computer Inc.
* Copyright (C) 2009 Google Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Softwar... | bsd-3-clause |
nwjs/chromium.src | skia/ext/fontmgr_default.cc | 873 | // Copyright 2018 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 "skia/ext/fontmgr_default.h"
#include "third_party/skia/include/core/SkFontMgr.h"
namespace {
SkDEBUGCODE(bool g_factory_called;)
// This... | bsd-3-clause |
joshvera/CefSharp | CefSharp/IResourceHandler.cs | 844 | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.IO;
namespace CefSharp
{
//TODO: Eval naming for this interface, not happy with this name
public interface IResourceHandler
... | bsd-3-clause |
phobson/bokeh | bokeh/models/images.py | 617 | from __future__ import absolute_import
from ..model import Model
from ..core.properties import (Any, Dict, String)
class ImageSource(Model):
""" A base class for all image source types. """
_args = ('url', 'extra_url_vars')
url = String(default="", help="""
tile service url (example: http://c.tile.op... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWebContentsView.java | 4548 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chromecast.shell;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.net.U... | bsd-3-clause |
augustf/wtgsite | vendor/plugins/recaptcha/test/verify_recaptcha_test.rb | 3213 | require 'test/unit'
require 'rails/version' # For getting the rails version constants
require 'active_support/vendor' # For loading I18n
require 'mocha'
require 'net/http'
require File.dirname(__FILE__) + '/../lib/recaptcha'
class RecaptchaVerifyTest < Test::Unit::TestCase
def setup
ENV['RECAPTCHA_PRIVATE_KEY']... | mit |
boutell/SillyCMS | src/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/Fixtures/Bundles/XmlBundle/Entity/Test.php | 108 | <?php
namespace DoctrineBundle\Tests\DependencyInjection\Fixtures\Bundles\XmlBundle\Entity;
class Test
{
} | mit |
davehorton/drachtio-server | deps/boost_1_77_0/libs/unordered/test/unordered/allocator_traits.cpp | 11069 |
// Copyright 2011 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/core/lightweight_test.hpp>
#include <boost/limits.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits... | mit |
alexispeter/CM | library/CM/Paging/StreamSubscribe/User.php | 347 | <?php
class CM_Paging_StreamSubscribe_User extends CM_Paging_StreamSubscribe_Abstract {
/**
* @param CM_Model_User $user
*/
public function __construct(CM_Model_User $user) {
$source = new CM_PagingSource_Sql('`id`', 'cm_stream_subscribe', '`userId` = ' . $user->getId());
parent::__c... | mit |
NicholasFFox/fastlane | snapshot/lib/snapshot/options.rb | 13252 | require 'fastlane_core'
require 'credentials_manager'
module Snapshot
class Options
def self.available_options
output_directory = (File.directory?("fastlane") ? "fastlane/screenshots" : "screenshots")
@options ||= [
FastlaneCore::ConfigItem.new(key: :workspace,
... | mit |
hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Common/JsonLight/JsonLightUtils.cs | 1894 | //---------------------------------------------------------------------
// <copyright file="JsonLightUtils.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------------... | mit |
thlorenz/procps | deps/procps/contrib/minimal.c | 19296 | /*
* Copyright 1998,2004 by Albert Cahalan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This l... | mit |
colinrubbert/codetriage | test/integration/maintaining_repo_subscriptions_test.rb | 1192 | require "test_helper"
class MaintainingRepoSubscriptionsTest < ActionDispatch::IntegrationTest
fixtures :repos
def triage_the_sandbox
login_via_github
visit "/"
click_link "issue_triage_sandbox"
click_button "I Want to Triage: bemurphy/issue_triage_sandbox"
end
test "subscribing to a repo" do... | mit |