repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
sjackman/homebrew-core
Formula/newrelic-infra-agent.rb
2137
class NewrelicInfraAgent < Formula desc "New Relic infrastructure agent" homepage "https://github.com/newrelic/infrastructure-agent" url "https://github.com/newrelic/infrastructure-agent.git", tag: "1.20.7", revision: "b17a417d4745da7be9c00ecc72619523867f7add" license "Apache-2.0" head "https...
bsd-2-clause
brainwater/spiped
lib/util/monoclock.c
669
#include <sys/time.h> #include <time.h> #include "warnp.h" #include "monoclock.h" /** * monoclock_get(tv): * Store the current time in ${tv}. If CLOCK_MONOTONIC is available, use * that clock; otherwise, use gettimeofday(2). */ int monoclock_get(struct timeval * tv) { #ifdef CLOCK_MONOTONIC struct timespec tp...
bsd-2-clause
tkoenig/homebrew-core
Formula/yaz.rb
2555
class Yaz < Formula desc "Toolkit for Z39.50/SRW/SRU clients/servers" homepage "https://www.indexdata.com/yaz" url "http://ftp.indexdata.dk/pub/yaz/yaz-5.15.1.tar.gz" sha256 "ebef25b0970ea1485bbba43a721d7001523b6faa18c8d8da4080a8f83d5e2116" revision 1 bottle do cellar :any sha256 "5c92b86a99954d7c9...
bsd-2-clause
mrspeaker/react-native
Examples/UIExplorer/js/TextInputExample.android.js
15828
/** * Copyright (c) 2013-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. * * The examp...
bsd-3-clause
sahat/bokeh
versioneer.py
25525
#! /usr/bin/python """versioneer.py (like a rocketeer, but for versions) * https://github.com/warner/python-versioneer * Brian Warner * License: Public Domain * Version: 0.7+ This file helps distutils-based projects manage their version number by just creating version-control tags. For developers who work from a V...
bsd-3-clause
jasonzhangxian/scanner
common/components/topsdk/top/request/TmcUserGetRequest.php
1496
<?php /** * TOP API: taobao.tmc.user.get request * * @author auto create * @since 1.0, 2015.12.04 */ class TmcUserGetRequest { /** * 需返回的字段列表,多个字段以半角逗号分隔。可选值:TmcUser结构体中的所有字段,一定要返回topic。 **/ private $fields; /** * 用户昵称 **/ private $nick; /** * 用户所属的平台类型,tbUIC:淘宝用户; icbu: icbu用户 **/ privat...
bsd-3-clause
axinging/chromium-crosswalk
docs/linux_eclipse_dev.md
19553
# Linux Eclipse Dev Eclipse can be used on Linux (and probably Windows and Mac) as an IDE for developing Chromium. It's unpolished, but here's what works: * Editing code works well (especially if you're used to it or Visual Studio). * Navigating around the code works well. There are multiple ways to do this (...
bsd-3-clause
CapOM/ChromiumGStreamerBackend
net/spdy/spdy_framer.h
33489
// 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 NET_SPDY_SPDY_FRAMER_H_ #define NET_SPDY_SPDY_FRAMER_H_ #include <map> #include <memory> #include <string> #include <utility> #include "base...
bsd-3-clause
faun/django_test
tests/regressiontests/generic_views/views.py
3421
from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse from django.utils.decorators import method_decorator from django.views import generic from regressiontests.generic_views.models import Artist, Author, Book, Page from regressiontests.generic_views.forms import Author...
bsd-3-clause
axinging/chromium-crosswalk
remoting/protocol/connection_unittest.cc
10137
// 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. #include <utility> #include "base/bind.h" #include "base/macros.h" #include "base/memory/ptr_util.h" #include "base/message_loop/message_loop.h" #include...
bsd-3-clause
ondra-novak/blink
LayoutTests/inspector/sources/debugger/debugger-eval-on-call-frame.html
1027
<html> <head> <script src="../../../http/tests/inspector/inspector-test.js"></script> <script src="../../../http/tests/inspector/debugger-test.js"></script> <script> var a = 1; function testFunction() { var a = 2; debugger; } var test = function() { InspectorTest.startDebuggerTest(step1); function st...
bsd-3-clause
reddec/pika
pika/adapters/select_connection.py
21137
"""A connection adapter that tries to use the best polling method for the platform pika is running on. """ import os import logging import socket import select import errno import time from operator import itemgetter from collections import defaultdict import threading import pika.compat from pika.compat import dictk...
bsd-3-clause
Alkalyne/webrtctrunk
sdk/android/src/jni/androidmetrics_jni.cc
2312
/* * Copyright 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
bsd-3-clause
EightMedia/djangopypi
djangopypi/templates/djangopypi/package_manage.html
295
{% extends 'djangopypi/base.html' %} {% block title %}Manage {{ package.name }}{% endblock %} {% block body %} <h1>Manage {{ package.name }}</h1> <div> <form action="" method="post"> {% csrf_token %} {{ form.as_p }} <input type="submit" value="Submit"> </form> </div> {% endblock %}
bsd-3-clause
lucienfostier/gaffer
include/GafferScene/MergeScenes.h
6816
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2020, Cinesite VFX Ltd. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
bsd-3-clause
jav/libtorrent
src/udp_socket.cpp
22274
/* Copyright (c) 2007, Arvid Norberg 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 source code must retain the above copyright notice, this list of conditions and the f...
bsd-3-clause
gitpan/VCP-autrijus-snapshot
lib/VCP/DB_File/sdbm.pm
5516
package VCP::DB_File::sdbm; =head1 NAME VCP::DB_File::sdbm - Subclass providing SDBM_File storage =head1 SYNOPSIS use VCP::DB_File; VCP::DB_File->new; =head1 DESCRIPTION To write your own DB_File filetype, copy this file and alter it. Then ask us to add an option to the .vcp file parsing to enable it. =...
bsd-3-clause
mokhdzanifaeq/arminject
jni/libhook/linker.h
3126
/* * Copyright (c) 2015, Simone Margaritelli <evilsocket at gmail dot com> * 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 source code must retain the above copyr...
bsd-3-clause
starkos/premake-core
website/docs/links.md
2645
Specifies a list of libraries and projects to link against. ```lua links { "references" } ``` ### Parameters ### `references` is a list of library and project names. When linking against another project in the same workspace, specify the project name here, rather than the library name. Premake will figure out the c...
bsd-3-clause
zahdxj/YinCart
themes/backend/views/core/default/login.php
18572
<!DOCTYPE html> <html> <head> <title>Flatty - Flat Administration Template</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <meta content='text/html;charset=utf-8' http-equiv='content-type'> <meta content='Flat administration template for Tw...
bsd-3-clause
steffeli/inf5750-tracker-capture
dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/filter/AggregatableDataElementFilter.java
2620
package org.hisp.dhis.system.filter; /* * Copyright (c) 2004-2015, University of Oslo * 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 source code must retain th...
bsd-3-clause
patrickm/chromium.src
chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h
3587
// 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 CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_FACTORY_CHROMEOS_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_...
bsd-3-clause
axinging/chromium-crosswalk
content/browser/mojo/mojo_app_connection_impl.cc
1495
// 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. #include "content/browser/mojo/mojo_app_connection_impl.h" #include <stdint.h> #include <utility> #include "base/bind.h" #include "content/browser/mojo/...
bsd-3-clause
codeandtheory/cartodb
services/importer/lib/importer/format_linter.rb
827
# encoding: utf-8 require_relative './job' module CartoDB module Importer2 class FormatLinter CHARACTER_LIMIT = 1000 def self.supported?(extension) extension == '.kml' end # INFO: importer_config not used but needed for compatibility with other normalizers def initialize(f...
bsd-3-clause
klim-iv/phantomjs-qt5
src/qt/qtbase/src/corelib/doc/snippets/qsignalmapper/buttonwidget.cpp
2655
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms ...
bsd-3-clause
nguy/artview
docs/sphinxext/numpydoc/comment_eater.py
5425
from __future__ import division, absolute_import, print_function import sys if sys.version_info[0] >= 3: from io import StringIO else: from io import StringIO import compiler import inspect import textwrap import tokenize from .compiler_unparse import unparse class Comment(object): """ A comment block....
bsd-3-clause
nathanmarks/react
src/renderers/shared/stack/event/eventPlugins/ResponderEventPlugin.js
25013
/** * Copyright 2013-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. * * @providesModu...
bsd-3-clause
nativelibs4java/BridJ
src/main/java/org/bridj/DefaultNativeList.java
8041
/* * BridJ - Dynamic and blazing-fast native interop for Java. * http://bridj.googlecode.com/ * * Copyright (c) 2010-2015, Olivier Chafik (http://ochafik.com/) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
bsd-3-clause
zhanleewo/mailcore2
src/objc/abstract/MCOMessageHeader+Private.h
521
// // MCOMessageHeader+Private.h // mailcore2 // // Created by DINH Viêt Hoà on 3/11/13. // Copyright (c) 2013 MailCore. All rights reserved. // #ifndef __MAILCORE_MCOMESSAGEHEADER_PRIVATE_H_ #define __MAILCORE_MCOMESSAGEHEADER_PRIVATE_H_ #ifdef __cplusplus namespace mailcore { class MessageHeader; } @inter...
bsd-3-clause
jrobhoward/SCADAbase
lib/libc/stdio/vfwprintf.c
28031
/*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Copyright (c) 2011 The FreeBSD Foundation * All rights reserved. * Portions of this software were developed by David Chisnall ...
bsd-3-clause
mozilla/popcorn_maker
popcorn_gallery/users/urls.py
294
from django.conf.urls.defaults import patterns, url urlpatterns = patterns( 'popcorn_gallery.users.views', url(r'^edit/$', 'edit', name='users_edit'), url(r'^delete/$', 'delete_profile', name='users_delete'), url(r'^(?P<username>[\w-]+)/$', 'profile', name='users_profile'), )
bsd-3-clause
jens-maus/amissl
openssl/test/http_test.c
12328
/* * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright Siemens AG 2020 * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * htt...
bsd-3-clause
axinging/chromium-crosswalk
third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h
1081
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CSSParserFastPaths_h #define CSSParserFastPaths_h #include "core/CSSPropertyNames.h" #include "core/CSSValueKeywords.h" #include "platform/graphi...
bsd-3-clause
LWJGL-CI/lwjgl3
modules/lwjgl/lz4/src/generated/java/org/lwjgl/util/lz4/LZ4StreamHC.java
6358
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.util.lz4; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.l...
bsd-3-clause
nealedj/djangae
djangae/fields/iterable.py
10309
import copy from django import forms from django.db import models from django.core.exceptions import ValidationError, ImproperlyConfigured from django.db.models.fields.subclassing import Creator from djangae.forms.fields import ListFormField from django.utils.text import capfirst class _FakeModel(object): """ ...
bsd-3-clause
BuildingLink/sentry
tests/sentry/api/endpoints/test_project_processingissues.py
4405
from __future__ import absolute_import from datetime import datetime from django.utils import timezone from django.core.urlresolvers import reverse from sentry.models import ( ProcessingIssue, EventError, RawEvent, EventProcessingIssue ) from sentry.testutils import APITestCase class ProjectProjectProcessingIss...
bsd-3-clause
meego-tablet-ux/meego-app-browser
chrome/test/live_sync/single_client_live_themes_sync_test.cc
2855
// Copyright (c) 2011 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 "base/basictypes.h" #include "chrome/browser/sync/profile_sync_service_harness.h" #include "chrome/test/live_sync/live_themes_sync_test.h" c...
bsd-3-clause
leiferikb/bitpop-private
chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h
1731
// Copyright (c) 2011 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_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_ #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_ #...
bsd-3-clause
wangyuefive/echarts-x
doc/example/code/map3d_population3.js
1877
$.ajax({ url: './data/population.json', success: function (data) { var max = -Infinity; data = data.map(function (item) { max = Math.max(item[2], max); return { geoCoord: item.slice(0, 2), value: item[2] } }); da...
bsd-3-clause
axinging/chromium-crosswalk
third_party/WebKit/Source/core/dom/Element.h
39638
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Peter Kelly (pmk@post.com) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. * * This library is free software; yo...
bsd-3-clause
StWings/yupe
install.md
1153
Подробная инструкция по установке: [http://yupe.ru/docs/install.html](http://yupe.ru/docs/install.html) Настройка операционной системы (Ubuntu): [http://yupe.ru/docs/ubuntu.html](http://yupe.ru/docs/ubuntu.html) После установки --------------- - [Расскажите нам о новом сайте на Юпи!](http://yupe.ru/contacts). Нам бу...
bsd-3-clause
kmacinnis/sympy
sympy/core/exprtools.py
41487
"""Tools for manipulating of large commutative expressions. """ from __future__ import print_function, division from sympy.core.add import Add from sympy.core.compatibility import iterable, is_sequence, SYMPY_INTS from sympy.core.mul import Mul, _keep_coeff from sympy.core.power import Pow from sympy.core.basic impor...
bsd-3-clause
iwegner/MITK
Modules/Core/test/mitkAccessByItkTest.cpp
12165
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
bsd-3-clause
DKGL/DKGL
DK/lib/OpenAL/OpenAL32/alFilter.c
17106
/** * OpenAL cross platform audio library * Copyright (C) 1999-2007 by authors. * 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 Software Foundation; either * version 2 of the License, or (at your op...
bsd-3-clause
dmsurti/mayavi
mayavi/filters/user_defined.py
3082
# Author: Prabhu Ramachandran <prabhu [at] aero . iitb . ac . in> # Copyright (c) 2008, Enthought, Inc. # License: BSD Style. # Enthought library imports. from tvtk.tools.tvtk_doc import TVTKFilterChooser, TVTK_FILTERS # Local imports. from mayavi.filters.filter_base import FilterBase from mayavi.core.common import ...
bsd-3-clause
axinging/chromium-crosswalk
third_party/WebKit/LayoutTests/imported/wpt/dom/events/ProgressEvent.html
890
<!doctype html> <title>ProgressEvent constructor</title> <script src=../../../../resources/testharness.js></script> <script src=../../../../resources/testharnessreport.js></script> <div id=log></div> <script> test(function() { var ev = new ProgressEvent("test") assert_equals(ev.type, "test") assert_equals(ev.targ...
bsd-3-clause
ahmetgunes/Validation
CONTRIBUTING.md
4427
# Contributing Contributions to Respect\Validation are always welcome. You make our lives easier by sending us your contributions through [GitHub pull requests](http://help.github.com/pull-requests). Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be ...
bsd-3-clause
alhassimdiallo/simens-urgence
public/css/facturation/styleListePatientAdmis.css
15984
/* PIED DE PAGE*/ #nom_ input[type="text"] { /*le input ou le textarea*/ background-color: #fffffa; /*la couleur du champ*/ height: 25px; /*la hauteur du champ input*/ width: 100%; /* la largeur du champ input*/ } #prenom_ input[type="text"] { /*le input ou le textarea*/ background-color: #fffffa; /*la couleur du...
bsd-3-clause
NCIP/cacore-sdk-pre411
conf/web/index.html
188
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Home.action"> </head> <body> <p>Loading ...</p> </body> </html>
bsd-3-clause
mlfarrell/angle
src/libANGLE/renderer/d3d/d3d11/texture_format_util.cpp
27624
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // texture_format_util: // Contains helper functions for texture_format_table // #include "libANGLE/renderer/d3d/d3d11/texture_format_util.h"...
bsd-3-clause
rakib-hasan/math-atlas
AtlasBase/kernel/CammMaguire/set_SSE_p4.c
966
#include "atlas_misc.h" #include "camm_strat1.h" void ATL_USET(int len, const SCALAR alpha, TYPE *X, const int incX) { NO_INLINE; #ifndef SREAL len+=len; #endif #ifdef DCPLX len+=len; #endif #define VERS 3 #define N Mjoin(set_,VERS) #ifndef BITS #define BITS 4 #endif #ifndef CL #define CL 24 #endif #ifdef SR...
bsd-3-clause
Ribeiro/filepizza
README.md
4022
![wordmark](static/images/wordmark.png) ### Free peer-to-peer file transfers in your browser Cooked up by [Alex Kern](http://kern.io) & [Neeraj Baid](http://neeraj.io) while eating *Sliver* @ UC Berkeley. [![XKCD 949](http://imgs.xkcd.com/comics/file_transfer.png)](https://xkcd.com/949/) ## Overview FilePizza enab...
bsd-3-clause
staranjeet/fjord
vendor/packages/translate-toolkit/docs/_build/html/api/tools.html
131436
<!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/html; charset=utf-8" /> <title>tools &mdash; Translate Toolkit 1.11.0 documentatio...
bsd-3-clause
zhanleewo/mailcore2
src/async/imap/MCIMAPFetchNamespaceOperation.h
734
// // IMAPFetchNamespaceOperation.h // mailcore2 // // Created by DINH Viêt Hoà on 1/12/13. // Copyright (c) 2013 MailCore. All rights reserved. // #ifndef __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_ #define __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_ #include <MailCore/MCIMAPOperation.h> #ifdef __cplusplus na...
bsd-3-clause
collinjackson/mojo
ui/events/platform/x11/hotplug_event_handler_x11.cc
5674
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/platform/x11/hotplug_event_handler_x11.h" #include <X11/extensions/XInput.h> #include <X11/extensions/XInput2.h> #include <cmath> #i...
bsd-3-clause
black-tangyang/basic
web/alipay/aop/request/AlipayPassInstanceUpdateRequest.php
1524
<?php /** * ALIPAY API: alipay.pass.instance.update request * * @author auto create * @since 1.0, 2015-07-23 11:37:35 */ class AlipayPassInstanceUpdateRequest { /** * 需要更新的券实例变量和状态信息 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; ...
bsd-3-clause
loli/semisupervisedforests
sklearn/feature_selection/univariate_selection.py
18609
"""Univariate features selection.""" # Authors: V. Michel, B. Thirion, G. Varoquaux, A. Gramfort, E. Duchesnay. # L. Buitinck, A. Joly # License: BSD 3 clause import numpy as np import warnings from scipy import special, stats from scipy.sparse import issparse from ..base import BaseEstimator from ..prepr...
bsd-3-clause
lynxdeterra/open-phd-guiding
graph.h
7901
/* * graph.h * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2006-2010 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
bsd-3-clause
manazag/hopper.pw
hopperpw/hopperpw/settings/test.py
229
# coding=utf-8 from __future__ import absolute_import from .base import * # ######### IN-MEMORY TEST DATABASE DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", }, }
bsd-3-clause
scheib/chromium
ios/chrome/browser/search_engines/template_url_service_factory.cc
3840
// 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. #include "ios/chrome/browser/search_engines/template_url_service_factory.h" #include "base/bind.h" #include "base/callback.h" #include "base/no_destructo...
bsd-3-clause
leighpauls/k2cro4
build/android/buildbot/bb_main_tester.sh
723
#!/bin/bash -ex # 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. # # Buildbot annotator script for the main waterfall. Tester only. BB_DIR="$(dirname $0)" BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)" ....
bsd-3-clause
kku1993/libquic
src/base/threading/platform_thread_freebsd.cc
2784
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/threading/platform_thread.h" #include <errno.h> #include <sched.h> #include <stddef.h> #include "base/lazy_instance.h" #include "base/log...
bsd-3-clause
d-tk/FLENS
flens/lapack/gb/tf2.h
2661
/* * Copyright (c) 2013, Michael Lehn, Klaus Pototzky * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright...
bsd-3-clause
refu-lang/rfbase
cmake/FindCheck.cmake
2079
# - Try to find the CHECK libraries # Once done this will define # # CHECK_FOUND - system has check # CHECK_INCLUDE_DIR - the check include directory # CHECK_LIBRARIES - check library # # This configuration file for finding libcheck is originally from # the opensync project. The originally was downloaded from her...
bsd-3-clause
JSchwehn/php
testdata/fuzzdir/corpus/Zend_tests_traits_bugs_abstract-methods03.php
216
<?php error_reporting(E_ALL); trait THello { public abstract function hello(); } class TraitsTest { use THello; public function hello() { echo 'Hello'; } } $test = new TraitsTest(); $test->hello(); ?>
bsd-3-clause
darkenk/vixl
test/traces/a64/sim-fadd-2s-trace-a64.h
74222
// Copyright 2015, ARM Limited // 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 source code must retain the above copyright notice, // this list of conditions a...
bsd-3-clause
magicDGS/gatk
src/main/java/org/broadinstitute/hellbender/tools/spark/pathseq/PSBuildReferenceTaxonomyUtils.java
17481
package org.broadinstitute.hellbender.tools.spark.pathseq; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Output; import htsjdk.samtools.SAMSequenceRecord; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveInputStrea...
bsd-3-clause
ds-hwang/chromium-crosswalk
chrome/browser/banners/app_banner_debug_log.cc
2713
// 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. #include "chrome/browser/banners/app_banner_debug_log.h" #include "content/public/browser/render_frame_host.h" #include "content/public/browser/web_conte...
bsd-3-clause
johnwunder/johnwunder.github.io
data-model/1.1.1/cybox/ActionPertinentObjectPropertiesType/index.html
1868
--- layout: data_model title: ActionPertinentObjectPropertiesType this_version: 1.1.1 --- <div class="alert alert-danger bs-alert-old-docs"> <strong>Heads up!</strong> These docs are for STIX 1.1.1, which is not the latest version (1.2). <a href="/data-model/1.2/cybox/ActionPertinentObjectPropertiesType">View the l...
bsd-3-clause
OrchardCMS/Brochard
src/OrchardCore/OrchardCore.Liquid.Abstractions/ServiceExtensions.cs
475
using Microsoft.Extensions.DependencyInjection; namespace OrchardCore.Liquid { public static class ServiceCollectionExtensions { public static IServiceCollection AddLiquidFilter<T>(this IServiceCollection services, string name) where T : class, ILiquidFilter { services.Configure<Liq...
bsd-3-clause
PeterWangIntel/chromium-crosswalk
content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java
27345
// 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. package org.chromium.content.browser.input; import android.os.SystemClock; import android.text.Editable; import android.text.InputType; import android.te...
bsd-3-clause
odanek/duel6r
source/Vertex.h
2490
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * 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 source code must retain the above copyright * notice, ...
bsd-3-clause
frog32/django-admin-sso
admin_sso/__init__.py
716
VERSION = (1, 0, 0,) __version__ = '.'.join(map(str, VERSION)) default_app_config = 'admin_sso.apps.AdminSSOConfig' # Do not use Django settings at module level as recommended try: from django.utils.functional import LazyObject except ImportError: pass else: class LazySettings(LazyObject): def _se...
bsd-3-clause
nwjs/chromium.src
third_party/blink/renderer/core/layout/ng/mathml/ng_math_under_over_layout_algorithm.cc
18124
// 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 "third_party/blink/renderer/core/layout/ng/mathml/ng_math_under_over_layout_algorithm.h" #include "third_party/blink/renderer/core/layout/ng/mat...
bsd-3-clause
broxen/Segs
3rd_party/glm/simd/platform.h
15944
/// @ref simd /// @file glm/simd/platform.h #pragma once /////////////////////////////////////////////////////////////////////////////////// // Platform #define GLM_PLATFORM_UNKNOWN 0x00000000 #define GLM_PLATFORM_WINDOWS 0x00010000 #define GLM_PLATFORM_LINUX 0x00020000 #define GLM_PLATFORM_APPLE 0x00040000 //...
bsd-3-clause
edisonwsk/golang-on-cygwin
src/pkg/encoding/hex/Makefile
264
# Copyright 2009 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. include $(GOROOT)/src/Make.$(GOARCH) TARG=encoding/hex GOFILES=\ hex.go\ include $(GOROOT)/src/Make.pkg
bsd-3-clause
ppietrasa/grpc
test/core/end2end/tests/payload.c
10278
/* * * Copyright 2015, Google Inc. * 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 source code must retain the above copyright * notice, this list of condi...
bsd-3-clause
acfloria/Firmware
src/systemcmds/tests/test_ppm_loopback.c
5363
/**************************************************************************** * * Copyright (C) 2012-2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redi...
bsd-3-clause
newrelic/ace
lib/ace/layer/gutter.js
8543
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
bsd-3-clause
youtube/cobalt
third_party/skia_next/third_party/skia/tests/SkScalerCacheTest.cpp
2751
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkFont.h" #include "include/core/SkTypeface.h" #include "src/core/SkScalerCache.h" #include "src/core/SkStrikeSpec.h" #include "src/core/SkTaskGroup.h" ...
bsd-3-clause
nwjs/chromium.src
third_party/blink/renderer/core/fetch/multipart_parser.cc
12588
// Copyright 2016 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 "third_party/blink/renderer/core/fetch/multipart_parser.h" #include "base/cxx17_backports.h" #include "third_party/blink/public/platform/platfor...
bsd-3-clause
vivadaniele/spid-ionic-sdk
node_modules/ionic/dist/commands/package/build.js
8855
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const chalk = require("chalk"); const cli_utils_1 = require("@ionic/cli-utils"); const command_1 = require("@ionic/cli-utils/lib/command"); const validators_1 = require("@ionic/cli-utils/lib/validators"); cons...
bsd-3-clause
PX4/Firmware
src/lib/controllib/BlockLowPassVector.hpp
3118
/**************************************************************************** * * Copyright (C) 2012 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
bsd-3-clause
endlessm/chromium-browser
third_party/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
1888
//===- PDBExtras.h - helper functions and classes for PDBs ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bsd-3-clause
jeroyang/newsletter
newsletter/__init__.py
394
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import * import versioneer __author__ = 'Chia-Jung, Yang' __email__ = 'jeroyang@gmail.com' __version__ = versioneer.get_version() from ._version imp...
bsd-3-clause
JSchwehn/php
testdata/fuzzdir/corpus/ext_standard_tests_file_basename_variation3.php
2234
<?php /* Prototype : string basename(string path [, string suffix]) * Description: Returns the filename component of the path * Source code: ext/standard/string.c * Alias to functions: */ echo "*** Testing basename() : usage variation ***\n"; // Define error handler function test_error_handler($err_no, $err_ms...
bsd-3-clause
yahoo/gearbox
workers/gearbox/conf/mock-gearbox.conf.sh
2079
#!/bin/sh bindir=/usr/bin sbindir=/usr/bin libdir=/usr/lib [ -n "$gearman_db_type" ] && db_type=$gearman_db_type if [ "$db_type" = "mysql" ]; then persistence="-q libdrizzle --libdrizzle-user=%{gearman.db_user} --libdrizzle-password=\\\"\$(pw=\\\"%{gearman.db_pass}\\\" && [ \\\"\${pw:0:8}\\\" = \\\"keydb://\\\" ]...
bsd-3-clause
redmed/echarts-www
related/ppt/asset/data/disk-tree.json.js
750572
define( [ { "value": 40, "name": "Accessibility", "path": "Accessibility" }, { "value": 180, "name": "Accounts", "path": "Accounts", "children": [ { "value": 76, "name": "Access", "path": "Acc...
bsd-3-clause
endlessm/chromium-browser
v8/src/torque/torque-compiler.cc
5519
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/torque/torque-compiler.h" #include <fstream> #include "src/torque/declarable.h" #include "src/torque/declaration-visitor.h" #include "src...
bsd-3-clause
chrisidefix/visvis
functions/volread.py
1322
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. import visvis as vv import numpy as np import os # Try importing imageio imageio = None try: import imageio except ImportError: pass ...
bsd-3-clause
d-tk/FLENS
cxxlapack/interface/lasdq.h
3056
/* * Copyright (c) 2012, Michael Lehn, Klaus Pototzky * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/test/data/xr/e2e_test_files/html/test_web_input_editing_iframe_outer.html
375
<!doctype html> <html> <head> <style> iframe { position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; } </style> </head> <body> <iframe src="test_web_input_ed...
bsd-3-clause
rs2/pandas
pandas/tests/indexing/test_iloc.py
46354
""" test positional based indexing with iloc """ from datetime import datetime import re from warnings import ( catch_warnings, simplefilter, ) import numpy as np import pytest import pandas.util._test_decorators as td from pandas import ( NA, Categorical, CategoricalDtype, DataFrame, In...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/chrome/browser/usb/usb_policy_allowed_devices.cc
5366
// 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 "chrome/browser/usb/usb_policy_allowed_devices.h" #include <string> #include <vector> #include "base/bind.h" #include "base/strings/string_spli...
bsd-3-clause
xboi209/general-plugin-template-project
SCT-Plugin/SCBW/UnitFinder.h
9141
#pragma once #include "scbwdata.h" #include <algorithm> namespace scbw { /// The UnitFinder class is used to efficiently search for units in a certain /// area using StarCraft's internal data structures. class UnitFinder { public: /// Default constructor. UnitFinder(); /// Constructs and...
isc
senyor/heatshrink
heatshrink_common.h
512
#ifndef HEATSHRINK_H #define HEATSHRINK_H #define HEATSHRINK_AUTHOR "Scott Vokes <scott.vokes@atomicobject.com>" #define HEATSHRINK_URL "https://github.com/atomicobject/heatshrink" /* Version 0.4.0 */ #define HEATSHRINK_VERSION_MAJOR 0 #define HEATSHRINK_VERSION_MINOR 4 #define HEATSHRINK_VERSION_PATCH 0 #define HEA...
isc
weimingtom/OtterUI
Tool/Aga.Controls/Properties/Resources.Designer.cs
6371
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
HS2-SOLUTIONS/angular-xeditable
docs/demos/editable-form/view.html
1597
<div ng-controller="EditableFormCtrl" id="EditableFormCtrl"> <form editable-form name="editableForm" onaftersave="saveUser()"> <div> <!-- editable username (text with validation) --> <span class="title">User name: </span> <span editable-text="user.name" e-name="name" onbeforesave="checkName($dat...
mit
bzisjo/Skate
uSD/uSD/doc/html/partition_8c.html
3886
<!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" content="IE=9"/> <title>sd-reader: partitio...
mit
hy3440/HOG-OpenVX
sample/bindings/java/jni/Node.cpp
3492
/* * Copyright (c) 2012-2014 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Materials without restriction, including * without limitation the rights to use, copy, m...
mit