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
<?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 ...
trocvuong/izzfeed_us
wp-content/plugins/video-thumbnails/php/providers/class-youku-thumbnails.php
PHP
gpl-2.0
3,248
/* * 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. * * ...
notspiff/xbmc
xbmc/cores/DllLoader/exports/util/EmuFileWrapper.cpp
C++
gpl-2.0
5,290
#!/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...
qianguozheng/Openswan
testing/kunit/xmit-02/testspi1.sh
Shell
gpl-2.0
951
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...
dmarx/praw
tests/test_internal.py
Python
gpl-3.0
1,261
/** * @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';
blue-eyed-devil/testCMS
externals/highcharts/es-modules/masters/indicators/mfi.src.js
JavaScript
gpl-3.0
258
/* 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...
livecodesebastien/livecode
engine/src/vclip.h
C
gpl-3.0
2,340
----------------------------------- -- 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;
Whitechaser/darkstar
scripts/zones/Misareaux_Coast/mobs/Gigas_Catapulter.lua
Lua
gpl-3.0
291
// { 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...
selmentdev/selment-toolchain
source/gcc-latest/libstdc++-v3/testsuite/experimental/memory/observer_ptr/requirements.cc
C++
gpl-3.0
2,725
----------------------------------- -- 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...
dacrybabysuck/darkstar
scripts/zones/Arrapago_Remnants/mobs/Vile_Wahzil.lua
Lua
gpl-3.0
686
/****************************************************************************** * * Module Name: exstorob - AML Interpreter object store support, store to object * *****************************************************************************/ /***********************************************************************...
jeffreytinkess/OS_A2
src/extern/acpica/source/components/executer/exstorob.c
C
gpl-3.0
12,066
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...
mkuzmin/terraform
vendor/github.com/hashicorp/nomad/nomad/periodic_endpoint.go
GO
mpl-2.0
1,256
<?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...
ratliff/server
plugins/transcoding/inlet_armada/InletArmadaPlugin.php
PHP
agpl-3.0
2,348
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 ...
levent/openfoodnetwork
spec/controllers/spree/admin/overview_controller_spec.rb
Ruby
agpl-3.0
2,772
<!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...
ftrotter/google_health_fail
yui/examples/datatable/dt_tabview_clean.html
HTML
agpl-3.0
3,575
<?php return array( /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simpl...
ixmid/snipe-it
resources/lang/fil/pagination.php
PHP
agpl-3.0
547
/** * 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...
sdlBasic/sdlbrt
win32/mingw/i686-w64-mingw32/include/schannel.h
C
lgpl-2.1
12,166
/* * 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...
markwatkinson/luminous
style/luminous_print.css
CSS
lgpl-2.1
1,195
//////////////////////////////////////////////////////////////////////////////// // Test case file for checkstyle. // Created: 2001 //////////////////////////////////////////////////////////////////////////////// package com . puppycrawl .tools. checkstyle.checks.whitespace.nowhitespacebefore; /** * C...
AkshitaKukreja30/checkstyle
src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/nowhitespacebefore/InputNoWhitespaceBeforeDefault.java
Java
lgpl-2.1
5,995
# 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...
harterj/moose
modules/navier_stokes/doc/content/source/fvkernels/CNSFVFluidEnergyHLLC.md
Markdown
lgpl-2.1
389
/* * 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...
abbeyj/sonarqube
server/sonar-server/src/main/java/org/sonar/server/metric/ws/MetricsWs.java
Java
lgpl-3.0
1,515
/****************************************************************************** * * Name: acdisasm.h - AML disassembler * *****************************************************************************/ /****************************************************************************** * * 1. Copyright Notice * * So...
animotron/animos
include/acpi/acdisasm.h
C
lgpl-3.0
24,792
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...
jcoady9/hummingbird
app/controllers/users_controller.rb
Ruby
apache-2.0
5,020
/* * 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 ...
nikhilvibhav/camel
core/camel-core/src/test/java/org/apache/camel/component/seda/SedaSizeTest.java
Java
apache-2.0
1,588
// ---------------------------------------------------------------------------------- // // 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...
zhencui/azure-powershell
src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSLocalizableString.cs
C#
apache-2.0
1,909
/* 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, ...
maxamillion/origin
vendor/k8s.io/kubernetes/test/e2e/apimachinery/webhook.go
GO
apache-2.0
38,059
//>>built define("dgrid/extensions/nls/zh-cn/columnHider",{popupLabel:"\u663e\u793a\u6216\u9690\u85cf\u5217"});
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dgrid/extensions/nls/zh-cn/columnHider.js
JavaScript
apache-2.0
111
""" 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...
MungoRae/home-assistant
homeassistant/components/notify/telstra.py
Python
apache-2.0
3,404
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...
ivan-fedorov/intellij-community
plugins/git4idea/tests/git4idea/repo/GitRepositoryReaderTest.java
Java
apache-2.0
5,931
/* * 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 ...
charles-cooper/idylfin
src/org/apache/commons/math3/optim/nonlinear/scalar/ObjectiveFunctionGradient.java
Java
apache-2.0
1,648
/* * 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...
ThiagoGarciaAlves/intellij-community
platform/testFramework/src/com/intellij/psi/codeStyle/arrangement/AbstractRearrangerTest.java
Java
apache-2.0
11,297
/* * 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 ...
zimmermatt/flink
flink-tests/src/test/java/org/apache/flink/test/classloading/jar/CheckpointingCustomKvStateProgram.java
Java
apache-2.0
7,468
/* * 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 ...
WangTaoTheTonic/flink
flink-java/src/test/java/org/apache/flink/api/common/operators/CollectionExecutionIterationTest.java
Java
apache-2.0
5,782
<?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...
phacility/phabricator
src/applications/people/controller/PhabricatorPeopleProfileEditController.php
PHP
apache-2.0
3,029
// 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...
jgsqware/clairctl
vendor/github.com/coreos/go-systemd/sdjournal/journal_test.go
GO
apache-2.0
1,951
/* -*- 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...
maxim-ky/libcouchbase
src/mc/mcreq.h
C
apache-2.0
32,622
// 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...
pweil-/origin
vendor/gonum.org/v1/gonum/unit/capacitance_test.go
GO
apache-2.0
916
// <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...
yugangw-msft/azure-sdk-for-net
sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/TagsResource.cs
C#
apache-2.0
1,610
<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...
NixaSoftware/CVis
venv/bin/libs/regex/doc/html/boost_regex/background_information.html
HTML
apache-2.0
4,206
/* 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...
klucar/pachyderm
vendor/k8s.io/kubernetes/pkg/apis/extensions/deep_copy_generated.go
GO
apache-2.0
48,982
{% 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...
Mirantis/mos-horizon
openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/_create_snapshot.html
HTML
apache-2.0
653
/* * 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...
SRGOM/scalatest
scalatest-test/src/test/scala/org/scalatest/concurrent/FuturesSpec.scala
Scala
apache-2.0
25,023
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...
racker/omnibus
source/ruby-1.9.2-p180/test/rdoc/test_rdoc_ri_store.rb
Ruby
apache-2.0
7,781
/* * 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...
TiVo/kafka
trogdor/src/main/java/org/apache/kafka/trogdor/rest/TaskStopping.java
Java
apache-2.0
1,713
// +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...
pweil-/origin
vendor/github.com/Azure/azure-sdk-for-go/profiles/preview/servicefabric/servicefabric/models.go
GO
apache-2.0
148,564
/* * 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...
ollie314/kafka
clients/src/test/java/org/apache/kafka/common/metrics/JmxReporterTest.java
Java
apache-2.0
5,954
/** * 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...
donttrustthisbot/amphtml
ads/inabox/frame-overlay-helper.js
JavaScript
apache-2.0
3,755
/* * 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...
mminella/spring-cloud-data
spring-cloud-dataflow-core/src/main/java/org/springframework/cloud/dataflow/core/TaskManifest.java
Java
apache-2.0
2,150
/* * 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...
mmaracic/elasticsearch
test/framework/src/main/java/org/elasticsearch/test/store/MockFSIndexStore.java
Java
apache-2.0
5,321
/* * 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...
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
Java
apache-2.0
2,348
// 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...
ncdc/origin
pkg/template/generated/listers/template/internalversion/brokertemplateinstance.go
GO
apache-2.0
1,892
// 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 ...
coderzh/hugo
utils/utils.go
GO
apache-2.0
1,295
//===--- 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...
JGiola/swift
include/swift/SILOptimizer/PassManager/Passes.h
C
apache-2.0
2,755
// 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...
physhi/roslyn
src/Compilers/Core/Rebuild/Extensions.cs
C#
apache-2.0
1,272
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...
rowhit/h2o-2
src/main/java/water/deploy/LaunchJar.java
Java
apache-2.0
4,106
#!/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...
tjordanchat/rundeck
test/api/api-expect-exec-success.sh
Shell
apache-2.0
881
binomial_fit.coef()
madmax983/h2o-3
h2o-docs/src/booklets/v2_2015/source/GLM_Vignette_code_examples/glm_model_output_20.py
Python
apache-2.0
19
' 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...
MatthieuMEZIL/roslyn
src/Features/VisualBasic/Portable/CodeFixes/SimplifyTypeNames/SimplifyTypeNamesCodeFixProvider.SimplifyTypeNamesFixAllProvider.vb
Visual Basic
apache-2.0
1,377
// 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...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/chrome/browser/extensions/api/permissions/permissions_api_helpers.h
C
bsd-2-clause
1,220
#!/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...
timeyyy/PyUpdater
pyupdater/vendor/PyInstaller/lib/macholib/macho_standalone.py
Python
bsd-2-clause
718
/** * 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...
solitaryr/sticky-notes
public/assets/pbr/js/stickynotes.js
JavaScript
bsd-2-clause
10,960
/******************************************************************************* * 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 ...
Latertater/jbox2d
jbox2d-serialization/src/main/java/org/jbox2d/serialization/SerializationResult.java
Java
bsd-2-clause
2,130
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 ...
klane/homebrew-cask
Casks/media-center.rb
Ruby
bsd-2-clause
773
<?php class Kwc_Trl_DateHelper_DateTime_Component extends Kwc_Abstract { }
kaufmo/koala-framework
tests/Kwc/Trl/DateHelper/DateTime/Component.php
PHP
bsd-2-clause
75
// 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...
nwjs/chromium.src
third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory_test.cc
C++
bsd-3-clause
4,887
<!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...
scheib/chromium
third_party/blink/web_tests/wpt_internal/prerender/restriction-element-request-fullscreen.html
HTML
bsd-3-clause
890
# -*- 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 ...
weiawe/django
tests/cache/tests.py
Python
bsd-3-clause
85,300
<!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...
qiuzhong/crosswalk-test-suite
webapi/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html
HTML
bsd-3-clause
2,321
#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...
drmateo/pcl
doc/tutorials/content/sources/rops_feature/rops_feature.cpp
C++
bsd-3-clause
2,148
/*=================================================================== 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 ...
NifTK/MITK
Plugins/org.mitk.gui.qt.cmdlinemodules/src/internal/QmitkUiLoader.cpp
C++
bsd-3-clause
2,060
// 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_ ...
scheib/chromium
third_party/blink/renderer/modules/webgl/oes_draw_buffers_indexed.h
C
bsd-3-clause
1,603
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() ...
modulexcite/blink
LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js
JavaScript
bsd-3-clause
1,651
<!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...
scheib/chromium
third_party/blink/web_tests/compositing/reflections/reflection-opacity.html
HTML
bsd-3-clause
727
<!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"></...
ondra-novak/blink
LayoutTests/ietestcenter/Javascript/15.2.3.3-4-164.html
HTML
bsd-3-clause
344
/** * 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...
AlexJeng/react
src/modern/class/__tests__/ReactES6Class-test.js
JavaScript
bsd-3-clause
11,780
// 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...
mohamed--abdel-maksoud/chromium.src
ash/shell.cc
C++
bsd-3-clause
43,179
/* 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...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/include/gnu_java_awt_peer_gtk_GtkLabelPeer.h
C
bsd-3-clause
1,010
<!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...
nwjs/blink
LayoutTests/svg/custom/pattern-3-step-cycle-dynamic-4.html
HTML
bsd-3-clause
1,655
/* 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...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java
Java
bsd-3-clause
9,974
// 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....
js0701/chromium-crosswalk
sync/tools/testserver/run_sync_testserver.cc
C++
bsd-3-clause
3,925
// 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 "...
js0701/chromium-crosswalk
content/browser/plugin_loader_posix_unittest.cc
C++
bsd-3-clause
13,212
<!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...
markYoungH/chromium.src
chrome/browser/resources/ntp4/guest_tab.html
HTML
bsd-3-clause
973
<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...
ondra-novak/blink
LayoutTests/inspector/elements/event-listeners-about-blank.html
HTML
bsd-3-clause
1,114
#!/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...
mkrzewic/AliRoot
TPC/scripts/OCDBscan/makeCalibTree.sh
Shell
bsd-3-clause
675
// 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...
timopulkkinen/BubbleFish
media/audio/scoped_loop_observer.cc
C++
bsd-3-clause
1,340
<?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...
jcu-eresearch/Edgar
webapplication/lib/Cake/Controller/Component/Acl/PhpAcl.php
PHP
bsd-3-clause
13,365
// 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...
js0701/chromium-crosswalk
content/public/test/test_download_request_handler.h
C
bsd-3-clause
12,805
// 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...
scheib/chromium
net/base/file_stream.h
C
bsd-3-clause
7,156
/* * 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...
scheib/chromium
third_party/blink/renderer/core/layout/svg/layout_svg_tspan.h
C
bsd-3-clause
1,569
// 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...
nwjs/chromium.src
skia/ext/fontmgr_default.cc
C++
bsd-3-clause
873
// 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 ...
joshvera/CefSharp
CefSharp/IResourceHandler.cs
C#
bsd-3-clause
844
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...
phobson/bokeh
bokeh/models/images.py
Python
bsd-3-clause
617
// 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...
ric2b/Vivaldi-browser
chromium/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastWebContentsView.java
Java
bsd-3-clause
4,548
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']...
augustf/wtgsite
vendor/plugins/recaptcha/test/verify_recaptcha_test.rb
Ruby
mit
3,213
<?php namespace DoctrineBundle\Tests\DependencyInjection\Fixtures\Bundles\XmlBundle\Entity; class Test { }
boutell/SillyCMS
src/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/Fixtures/Bundles/XmlBundle/Entity/Test.php
PHP
mit
108
// 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...
davehorton/drachtio-server
deps/boost_1_77_0/libs/unordered/test/unordered/allocator_traits.cpp
C++
mit
11,069
<?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...
alexispeter/CM
library/CM/Paging/StreamSubscribe/User.php
PHP
mit
347
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, ...
NicholasFFox/fastlane
snapshot/lib/snapshot/options.rb
Ruby
mit
13,252
//--------------------------------------------------------------------- // <copyright file="JsonLightUtils.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //--------------------------------------...
hotchandanisagar/odata.net
test/FunctionalTests/Tests/DataOData/Tests/OData.TDD.Tests/Common/JsonLight/JsonLightUtils.cs
C#
mit
1,894
/* * 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...
thlorenz/procps
deps/procps/contrib/minimal.c
C
mit
19,296
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...
colinrubbert/codetriage
test/integration/maintaining_repo_subscriptions_test.rb
Ruby
mit
1,192