code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
BlueImp File Upload Widget for Yii2 ActiveRecord attributes
===========================================================
Widget to render the jQuery File Upload UI plugin similar to
[its demo](http://blueimp.github.io/jQuery-File-Upload/index.html)
for ActiveRecord attributes. Allows multiple widgets for one ActiveRec... | andrewblake1/yii2-file-upload-widget | README.md | Markdown | bsd-3-clause | 4,693 |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Family */
$this->title = 'Crear Familia';
$this->params['breadcrumbs'][] = ['label' => 'Families', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="family-create">
<h1><?= Html::encode($this->t... | frankpaul142/conti-sercop | views/family/create.php | PHP | bsd-3-clause | 413 |
/**
* @file DebyeHuckel.h
* Headers for the DebyeHuckel ThermoPhase object, which models dilute
* electrolyte solutions
* (see \ref thermoprops and \link Cantera::DebyeHuckel DebyeHuckel \endlink) .
*
* Class DebyeHuckel represents a dilute liquid electrolyte phase which
* obeys the Debye Huckel formul... | Cantera/cantera-svn | include/cantera/thermo/DebyeHuckel.h | C | bsd-3-clause | 54,443 |
// 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.
#ifndef BaseRenderingContext2D_h
#define BaseRenderingContext2D_h
#include "bindings/core/v8/UnionTypesCore.h"
#include "bindings/modules/v8/UnionTypesMo... | was4444/chromium.src | third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h | C | bsd-3-clause | 11,817 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="la... | statsmodels/statsmodels.github.io | v0.11.1/generated/statsmodels.genmod.cov_struct.Exchangeable.html | HTML | bsd-3-clause | 20,421 |
/******************************************************************************
* PROJECT: New Millennium, DS1
* IPC (Interprocess Communication) Package
*
* (c) Copyright 1996 Reid Simmons. All rights reserved.
*
* FILE: module1.c
*
* ABSTRACT: Test program for IPC.
* Publishes: MSG1, QU... | languitar/ipc | test/module1.c | C | bsd-3-clause | 8,300 |
<!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>statsmodels.regression.linear_model.OLSResults.rsq... | statsmodels/statsmodels.github.io | 0.8.0/generated/statsmodels.regression.linear_model.OLSResults.rsquared.html | HTML | bsd-3-clause | 6,299 |
"""
=======================
Generate Surface Labels
=======================
Define a label that is centered on a specific vertex in the surface mesh. Plot
that label and the focus that defines its center.
"""
print __doc__
from surfer import Brain, utils
subject_id = "fsaverage"
"""
Bring up the visualization.
"""... | aestrivex/PySurfer | examples/plot_label_foci.py | Python | bsd-3-clause | 1,955 |
<?php
declare(strict_types=1);
/**
* This file is part of stubbles.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace stubbles\webapp\routing;
use stubbles\ioc\Injector;
use stubbles\peer\http\Http;
use stubbles\webapp\Reques... | stubbles/stubbles-webapp-core | src/main/php/routing/ResourceOptions.php | PHP | bsd-3-clause | 2,389 |
<!doctype html>
<html>
<head>
<title>walk-tour demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../iron-dem... | maxiplay/walk-tour | demo/index.html | HTML | bsd-3-clause | 748 |
/*******************************************************************************
* Copyright Duke Comprehensive Cancer Center and SemanticBits
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/c3pr/LICENSE.txt for details.
**********************************************... | NCIP/c3pr | codebase/projects/web/test/src/java/edu/duke/cabig/c3pr/web/selenium/CreateSubjectTest.java | Java | bsd-3-clause | 1,162 |
# 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.
import logging
from telemetry.page.actions import all_page_actions
from telemetry.page.actions import page_action
def _GetActionFromData(action_data):
... | codenote/chromium-test | tools/telemetry/telemetry/page/page_test.py | Python | bsd-3-clause | 6,182 |
namespace XSharp.Assembler.x86.SSE
{
[XSharp.Assembler.OpCode("mulss")]
public class MulSS : InstructionWithDestinationAndSource
{
}
}
| CosmosOS/XSharp | source/XSharp/XSharp/Assembler/Gen1/x86/SSEAndMMX2/MulSS.cs | C# | bsd-3-clause | 154 |
<?php
namespace YATA;
use YATA\YATA,
YATA\Request\OAuth,
YATA\Response;
abstract class AuthorisedOperation {
protected $_request;
protected $_response;
public function __construct(OAuth $request = null)
{
$this->_response = new Response();
if (!isset($request)) {
$request = new OAuth(... | colindecarlo/Twitter-API | lib/YATA/AuthorisedOperation.php | PHP | bsd-3-clause | 768 |
from django.conf.urls import url, patterns
from data import views
urlpatterns = patterns("data.views",
url(r"^$", views.IndexView.as_view()),
url(r"^a/(?P<application_external_id>[^/]{,255})\.json$", views.ApplicationInstanceListView.as_view()),
url(r"^(?P<model_external_id>[^/]{,255})\.json$", views.... | mohawkhq/mohawk-data-platform | data/urls.py | Python | bsd-3-clause | 479 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.gam.generalized_additive_model.GLMGamResults.resid_pearson — statsmodels v0.10.0 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link re... | statsmodels/statsmodels.github.io | v0.10.0/generated/statsmodels.gam.generalized_additive_model.GLMGamResults.resid_pearson.html | HTML | bsd-3-clause | 8,030 |
# minServant
Simple Servant example web app
| creswick/minServant | README.md | Markdown | bsd-3-clause | 44 |
// 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/renderer/render_widget.h"
#include "base/auto_reset.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/logging... | Workday/OpenFrame | content/renderer/render_widget.cc | C++ | bsd-3-clause | 91,088 |
from setuptools import setup, find_packages
setup(
name='django-facebook-comments',
version=__import__('facebook_comments').__version__,
description='Django implementation for Facebook Graph API Comments',
long_description=open('README.md').read(),
author='ramusus',
author_email='ramusus@gmail.... | ramusus/django-facebook-comments | setup.py | Python | bsd-3-clause | 1,122 |
#include "z3dvolumesource.h"
#include "zstack.hxx"
#include "zstackdoc.h"
#include "tz_stack_attribute.h"
#include "z3dgpuinfo.h"
#include "zsparseobject.h"
#include "neutubeconfig.h"
#include "zsparsestack.h"
const size_t Z3DVolumeSource::m_nChannelSupport = 10;
Z3DVolumeSource::Z3DVolumeSource(ZStackDoc *doc, size... | stephenplaza/NeuTu | neurolabi/gui/z3dvolumesource.cpp | C++ | bsd-3-clause | 33,600 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.0/generated/statsmodels.regression.mixed_linear_model.MixedLMResults.resid.html | HTML | bsd-3-clause | 18,620 |
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('datasets', parent_package, top_path)
config.add_subpackage('volumes')
config.add_subpackage('transforms')
return config
if __name__ == '__main__':
from numpy.distuti... | yarikoptic/NiPy-OLD | nipy/neurospin/datasets/setup.py | Python | bsd-3-clause | 390 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.discrete.discrete_model.LogitResults.use_t — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" h... | statsmodels/statsmodels.github.io | v0.10.2/generated/statsmodels.discrete.discrete_model.LogitResults.use_t.html | HTML | bsd-3-clause | 5,908 |
module SpreeVariantOptionsSelect
class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_variant_options_select'
config.autoload_paths += %W(#{config.root}/lib)
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
... | chandananc/spree_variant_options_select | lib/spree_variant_options_select/engine.rb | Ruby | bsd-3-clause | 571 |
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
import Db
import Parser
import Trains
import Result
import Data.List
import System.IO
import System.Directory
import Control.Arrow
import Control.Applicative
import ... | fadeopolis/prog-spr-ue3 | ue3.hs | Haskell | bsd-3-clause | 11,533 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.1/generated/statsmodels.regression.linear_model.RegressionResults.load.html | HTML | bsd-3-clause | 19,603 |
// 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 "chromeos/network/onc/onc_utils.h"
#include "base/base64.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/metr... | SaschaMester/delicium | chromeos/network/onc/onc_utils.cc | C++ | bsd-3-clause | 26,331 |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="ut... | Micka33/sequencer | yeoman/app/index.html | HTML | bsd-3-clause | 2,703 |
/**
* Copyright (c) 2004-2021, Ben Fortuna
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* o Redistributions of source code must retain the above copyright
* notice, this list of c... | ical4j/ical4j | src/main/java/net/fortuna/ical4j/filter/predicate/PropertyExistsRule.java | Java | bsd-3-clause | 2,927 |
import React from 'react'
import Reflux from 'reflux'
const AssetStore = require('../stores/AssetStore');
import Tabs from './Tabs'
export default React.createClass({
displayName: 'Asset',
mixins: [Reflux.listenTo(AssetStore, 'update')],
update: function () {
if (!this.isMounted()) return;
this.setSta... | peragro/peragro-ui | src/components/Asset.js | JavaScript | bsd-3-clause | 1,995 |
//
// UIViewController+INNControllerContext.h
// ControllerContextTest
//
// Created by Michael Raber on 5/14/14.
// Copyright (c) 2014 Innoruptor. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "INNControllerContext.h"
@interface UIViewController (INNControllerContext)
-(id) INN_initWithContext:(INNCon... | Innoruptor/ControllerContext | Classes/UIViewController+INNControllerContext.h | C | bsd-3-clause | 653 |
"""
:Requirements: django-tagging
This module contains some additional helper tags for the django-tagging
project. Note that the functionality here might already be present in
django-tagging but perhaps with some slightly different behaviour or
usage.
"""
from django import template
from django.core.urlresolvers imp... | zerok/django-zsutils | django_zsutils/templatetags/zsutils/taghelpers.py | Python | bsd-3-clause | 1,704 |
package edu.ehu.galan.cvalue;
/*
* ProcessLinguisticFilters.java
* Copyright (C) 2013 Angel Conde, neuw84 at gmail dot com
*
* 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; ... | Neuw84/CValue-TermExtraction | src/main/java/edu/ehu/galan/cvalue/ProcessLinguisticFilters.java | Java | bsd-3-clause | 3,818 |
module SpreeFavorites
class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_favorites'
config.autoload_paths += %W(#{config.root}/lib)
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
def self.activate
Dir.... | spree-contrib/spree_favorites | lib/spree_favorites/engine.rb | Ruby | bsd-3-clause | 542 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | mikandi/fresco | imagepipeline/src/main/java/com/facebook/imagepipeline/producers/LocalExifThumbnailProducer.java | Java | bsd-3-clause | 7,144 |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | endlessm/chromium-browser | third_party/llvm/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp | C++ | bsd-3-clause | 3,639 |
<?php
namespace TijsVerkoyen\Bpost;
use TijsVerkoyen\Bpost\Exception;
use TijsVerkoyen\Bpost\Geo6\Poi;
/**
* Geo6 class
*
* @author Tijs Verkoyen <php-bpost@verkoyen.eu>
* @version 3.0.0
* @copyright Copyright (c), Tijs Verkoyen. All rights reserved.
* @license BSD License
*/
class Geo6
{
// URL for... | kouinkouin/bpost | src/Geo6.php | PHP | bsd-3-clause | 7,785 |
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name... | todor-dk/HTML-Renderer | Source/Testing/HtmlRenderer.ExperimentalApp/Data/Files/陪审团/EDAAF90CC59504F9B30A8DDED9A75F57.html | HTML | bsd-3-clause | 29,271 |
#! /usr/bin/env python
#Copyright (c) 2016, Buti Al Delail
#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 ... | kuri-kustar/kuri_mbzirc_challenge_3 | kuri_object_tracking/scripts/object_picktest.py | Python | bsd-3-clause | 12,469 |
// -----------------------------------------------------------------------------------
//
// Lightbox v2.05
// by Lokesh Dhakar - http://www.lokeshdhakar.com
// Last Modification: 3/18/11
//
// For more information, visit:
// http://lokeshdhakar.com/projects/lightbox2/
//
// Licensed under the Creative Commons Attribut... | aina1205/virtualliverf1 | public/javascripts/zoom/lightbox.js | JavaScript | bsd-3-clause | 18,518 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" co... | endlessm/chromium-browser | third_party/vulkan_memory_allocator/docs/html/struct_vma_device_memory_callbacks-members.html | HTML | bsd-3-clause | 3,941 |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_
#define SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H... | endlessm/chromium-browser | services/preferences/tracked/tracked_persistent_pref_store_factory.h | C | bsd-3-clause | 1,022 |
////////////////////////////////////////////////////////////////////////////////////
///
/// \file setlocalwaypoint.cpp
/// \brief This file contains the implementation of a JAUS message.
///
/// <br>Author(s): Bo Sun
/// <br>Created: 30 November 2009
/// <br>Copyright (c) 2009
/// <br>Applied Cognition a... | jmesmon/jaus-- | src/jaus/mobility/drivers/setlocalwaypoint.cpp | C++ | bsd-3-clause | 17,224 |
chmod +x configure
./configure --prefix=$PREFIX --enable-shared
make
make install
| hajs/pylodger | recipes/lib/libjasper/build.sh | Shell | bsd-3-clause | 83 |
from setuptools import setup
setup(
name='pymail365',
version='0.1',
description='A python client for sending mail using Microsoft Office 365 rest service.',
long_description=open('README.rst').read(),
author='Mikko Hellsing',
author_email='mikko@aino.se',
license='BSD',
url='https://g... | aino/pymail365 | setup.py | Python | bsd-3-clause | 688 |
a :: Int
a = 123
unittest "quote" [
(show {a}, "a"),
(show {,a}, ",a"),
(show {pred ,a}, "pred ,a"),
]
unittest "quasiquote" [
(`a, a),
(`(,a), 123),
(`(pred ,a), pred 123),
(let x = `(pred ,a) in x , 122... | ocean0yohsuke/Simply-Typed-Lambda | Start/UnitTest/Quote.hs | Haskell | bsd-3-clause | 650 |
{% extends 'hqwebapp/base_section.html' %}
{% load hq_shared_tags %}
{% load i18n %}
{% load crispy_forms_tags %}
{% requirejs_main 'users/js/filtered_download' %}
{% block page_content %}
{% initial_page_data 'count_users_url' count_users_url %}
{% crispy form %}
{% endblock %}
| dimagi/commcare-hq | corehq/apps/users/templates/users/filter_and_download.html | HTML | bsd-3-clause | 286 |
<html>
<head>
<title>Venn diagram</title>
</head>
<body>
<div id="venn"></div>
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script type="text/javascript" src="cljs.compiled.js"></script>
</body>
</html>
| Sparrho/venn-cljs | index.html | HTML | bsd-3-clause | 300 |
=pod
=head1 NAME
BIO_s_accept, BIO_set_accept_port, BIO_get_accept_port,
BIO_set_nbio_accept, BIO_set_accept_bios, BIO_set_bind_mode,
BIO_get_bind_mode, BIO_do_accept - accept BIO
=head1 SYNOPSIS
#include <openssl/bio.h>
BIO_METHOD *BIO_s_accept(void);
long BIO_set_accept_port(BIO *b, char *name);
char *BIO_g... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/doc/crypto/BIO_s_accept.pod | Perl | bsd-3-clause | 7,022 |
// 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 <stddef.h>
#include <string>
#include "base/macros.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#incl... | endlessm/chromium-browser | components/autofill/core/browser/data_model/address_unittest.cc | C++ | bsd-3-clause | 21,176 |
package edu.ucdenver.ccp.datasource.fileparsers.hprd;
/*
* #%L
* Colorado Computational Pharmacology's common module
* %%
* Copyright (C) 2012 - 2015 Regents of the University of Colorado
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the fo... | bill-baumgartner/datasource | datasource-fileparsers/src/test/java/edu/ucdenver/ccp/datasource/fileparsers/hprd/HprdIdMappingsTxtFileParserTest.java | Java | bsd-3-clause | 9,642 |
{% if topics %}<div class="block">
<h3><a href="/{{ section.slug }}/topics/{% if date %}{{ date|date:"Y" }}/{{ date|date:"b" }}/{% endif %}">{{ section.tag_name }}</a></h3>
<div>{% for topic in topics %}<a href="/{{ section.slug }}/{{ topic.slug }}/{% if date %}{{ date|date:"Y" }}/{{ date|date:"b" }}/{% endif %... | boar/boar | boar/templates/articles/blocks/topics.html | HTML | bsd-3-clause | 426 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | webino/ZF1Gdata | src/Zend/Gdata/YouTube/MediaEntry.php | PHP | bsd-3-clause | 2,354 |
import pyaf.Bench.TS_datasets as tsds
import tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 5, transform = "Quantization", sigma = 0.0, exog_count = 100, ar_order = 12); | antoinecarme/pyaf | tests/artificial/transf_Quantization/trend_MovingAverage/cycle_5/ar_12/test_artificial_32_Quantization_MovingAverage_5_12_100.py | Python | bsd-3-clause | 272 |
// 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 BASE_LOGGING_H_
#define BASE_LOGGING_H_
#pragma once
#include <cassert>
#include <string>
#include <cstring>
#include <sstream>
#include "ba... | rogerwang/chromium | base/logging.h | C | bsd-3-clause | 39,114 |
# Autogenerated by the mkresources management command 2014-11-13 23:53
from tastypie.resources import ModelResource
from tastypie.fields import ToOneField, ToManyField
from tastypie.constants import ALL, ALL_WITH_RELATIONS
from ietf import api
from ietf.message.models import * # pyflakes:ignore
from ietf.pers... | wpjesus/codematch | ietf/message/resources.py | Python | bsd-3-clause | 1,927 |
/***************************************************************************
* Copyright (C) YEAR~YEAR by Your Name *
* your-email@address.com *
* *
* This pr... | allencch/fcitx-big5 | src/big5-config.c | C | bsd-3-clause | 1,552 |
---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [PolicyTableUpdate] OnStatusUpdate trigger
-- [HMI API] OnStatusUpdate
--
-- Description:
-- PoliciesManager must notify HMI via SDL.OnStatusUpdate notification right after one of the statuses
-- of ... | smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Policy_Table_Update/156_ATF_PTU_OnStatusUpdate_Trigger.lua | Lua | bsd-3-clause | 5,961 |
/* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKTEMPORALARRAYOPERATORFILTERWRAP_H
#define NATIVE_EXTENSION_VTK_VTKTEMPORALARRAYOPERATORFILTERWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkTemporalArrayOperatorFilter.h>
... | axkibe/node-vtk | wrappers/8.1.1/vtkTemporalArrayOperatorFilterWrap.h | C | bsd-3-clause | 2,001 |
// 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_PLATFORM_HEAP_COLLECTION_SUPPORT_HEAP_HASH_TABLE_BACKING_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_COLLECTION... | endlessm/chromium-browser | third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h | C | bsd-3-clause | 13,490 |
/**
* File: MediaIntervalImpl.java Copyright (c) 2010 phyokyaw This program is free
* software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. This pr... | synergynet/synergyview | synergyview-core/src/synergyviewcore/annotations/ui/AnnotationIntervalImpl.java | Java | bsd-3-clause | 7,362 |
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016 - 2022 -- Lars Heuer
# All rights reserved.
#
# License: BSD License
#
"""\
Tests if the PNG serializer does not add more colors than needed.
See also issue <https://github.com/heuer/segno/issues/62>
"""
from __future__ import unicode_literals, absolute_import
import io
i... | heuer/segno | tests/test_png_plte.py | Python | bsd-3-clause | 1,978 |
<?php
/**
* Set error reporting and display errors settings. You will want to change these when in production.
*/
error_reporting(-1);
ini_set('display_errors', 1);
/**
* Website document root
*/
define('DOCROOT', __DIR__.DIRECTORY_SEPARATOR);
/**
* Path to the application directory.
*/
define('APPPATH', realp... | DregondRahl/tonichelp | src/public/index.php | PHP | bsd-3-clause | 1,625 |
// 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_REGISTRY_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BLOB_TESTING_FAKE_BLOB_REGISTRY... | endlessm/chromium-browser | third_party/blink/renderer/platform/blob/testing/fake_blob_registry.h | C | bsd-3-clause | 1,988 |
/// HEADER
#include <csapex/view/widgets/port.h>
/// COMPONENT
#include <csapex/command/dispatcher.h>
#include <csapex/command/add_connection.h>
#include <csapex/command/command_factory.h>
#include <csapex/msg/input.h>
#include <csapex/msg/static_output.h>
#include <csapex/model/connection.h>
#include <csapex/view/des... | cogsys-tuebingen/csapex | src/csapex_qt/src/view/widgets/port.cpp | C++ | bsd-3-clause | 7,877 |
<?xml version="1.0" encoding="utf-8" ?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="g... | nfredrik/pyModelStuff | README.html | HTML | bsd-3-clause | 8,903 |
<dom-module id="data-login">
<style>
:host{
@apply(--layout-center-center);
@apply(--layout-vertical);
}
paper-material{
padding: 15px 30px;
background-color: #FFF;
height: 350px;
width: 400px;
}
#logo{
width: 200px;
height: 200px;
margin-bottom: 30px;
}
.submit{
margin-top: 1em;
}
</styl... | MyanmarAPI/data-entry-app | app/elements/data-login.html | HTML | bsd-3-clause | 2,264 |
// Copyright 2019 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/chromeos/child_accounts/time_limits/web_time_limit_enforcer.h"
#include <memory>
#include "base/feature_list.h"
#include "base/... | endlessm/chromium-browser | chrome/browser/chromeos/child_accounts/time_limits/web_time_limit_enforcer.cc | C++ | bsd-3-clause | 3,772 |
# MongoObject - PHP objects stored in Mongo #
[](https://travis-ci.org/dintel/mongo-object)
MongoObject simplifies storing objects in Mongo database. Currently it provides
following features:
- Object class that can be used as base class for all your class... | dintel/mongo-object | README.md | Markdown | bsd-3-clause | 520 |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\GameSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Games';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="game-index">
<h1><?= Html::encode($this->title... | Doggi/csgofast_rest | views/site/game.php | PHP | bsd-3-clause | 944 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.4.4.12_A4_T1;
* @section: 15.4.4.12, 8.6.2.1;
* @assertion: [[Get]] from not an inherited property;
* @description: [[Prototype]] of Array instance is Array.prototype... | luboid/ES5.Script | TestScripts/sputniktests/tests/Conformance/15_Native_ECMA_Script_Objects/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.12_Array_prototype_splice/S15.4.4.12_A4_T1.js | JavaScript | bsd-3-clause | 2,940 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from cms.models import Page
from cms.utils.i18n import get_language_list
from django.db import migrations, models
def forwards(apps, schema_editor):
BlogConfig = apps.get_model('djangocms_blog', 'BlogConfig')
BlogConfigTranslation = apps.get_mod... | skirsdeda/djangocms-blog | djangocms_blog/migrations/0014_auto_20160215_1331.py | Python | bsd-3-clause | 1,773 |
function FileData_Pairs(x)
{
x.t("managing","sample");
x.t("findings","vitro");
x.t("right","finish");
x.t("files","wish");
x.t("files","continue");
x.t("files","click");
x.t("files","consisting");
x.t("wish","adding");
x.t("description","enter");
x.t("once","click");
x.t("upload","button");
x.t("derived",... | NCIP/cananolab | docs/webappOnlineHelp/wwhdata/js/search/pairs/pair76.js | JavaScript | bsd-3-clause | 3,762 |
// 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 "chrome/browser/ui/views/bookmarks/bookmark_editor_view.h"
#include <set>
#include <string>
#include "base/logging.h"
#include "base/string... | endlessm/chromium-browser | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc | C++ | bsd-3-clause | 22,275 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for /var/www/html/frontend/models/game/characters/interfaces/HealerInterface.php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../css/bootstrap.min.css" rel="stylesheet">
<link ... | macseem/bee-game | tests/coverage/characters/interfaces/HealerInterface.php.html | HTML | bsd-3-clause | 9,350 |
<?php
namespace Gaia\Serialize;
class Base64 implements Iface {
protected $s;
public function __construct( Iface $s = NULL ){
if( ! $s ) $s = new PHP('');
$this->s = $s;
}
public function serialize( $data ){
return self::base64UrlEncode($this->s->serialize( $data ));
... | Gaia-Interactive/gaia_core_php | lib/gaia/serialize/base64.php | PHP | bsd-3-clause | 842 |
package de.plushnikov.bug.issue634;
import lombok.Builder;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
@Builder
@Getter
@Setter
public class SomeBoxClass {
private Node.NodeBuilder intField;
@NonNull
private String someString;
@NonNull
private Node node;
@NonNull
private Linke... | mplushnikov/lombok-intellij-plugin | test-manual/src/main/java/de/plushnikov/bug/issue634/SomeBoxClass.java | Java | bsd-3-clause | 342 |
"""private_base will be populated from puppet and placed in this directory"""
import logging
import os
import dj_database_url
from lib.settings_base import CACHE_PREFIX, ES_INDEXES, KNOWN_PROXIES, LOGGING
from .. import splitstrip
import private_base as private
ENGAGE_ROBOTS = False
EMAIL_BACKEND = 'django.core.m... | anaran/olympia | sites/landfill/settings_base.py | Python | bsd-3-clause | 5,402 |
'''
Created on 9 jan. 2013
@author: sander
'''
from bitstring import BitStream, ConstBitStream, Bits
from ipaddress import IPv4Address, IPv6Address
from pylisp.packet.ip import protocol_registry
from pylisp.packet.ip.protocol import Protocol
from pylisp.utils import checksum
import numbers
class UDPMessage(Protocol)... | steffann/pylisp | pylisp/packet/ip/udp.py | Python | bsd-3-clause | 7,685 |
/*
* Copyright © 2010-2012 Intel Corporation
* Copyright © 2011-2012 Collabora, Ltd.
* Copyright © 2013 Raspberry Pi Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software withou... | endlessm/chromium-browser | third_party/weston/src/desktop-shell/shell.c | C | bsd-3-clause | 141,882 |
# Copyright (c) 2019 Guo Yejun
#
# This file is part of FFmpeg.
#
# FFmpeg 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.
#
#... | endlessm/chromium-browser | third_party/ffmpeg/tools/python/convert_from_tensorflow.py | Python | bsd-3-clause | 18,670 |
// Copyright (c) 2013, 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.
#ifndef STORAGE_ROCKSDB_INCLUDE... | amimimor/docker-rocksdb | include/rocksdb/statistics.h | C | bsd-3-clause | 10,492 |
// Copyright (c) 2013 - 2015 The Sporting Exchange 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:
// 1. Redistributions of source code must retain the above copyright
// notice, this ... | betfair/aping-ios-sdk | BNGAPI/BNGAPI/Classes/BNGCompetitionResult.h | C | bsd-3-clause | 2,402 |
// Copyright 2015-present 650 Industries. All rights reserved.
#import <React/RCTDevSettings.h>
@interface EXDevSettings : RCTDevSettings
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithScopeKey:(NSString *)scopeKey
isDevelopment:(BOOL)isDevelopment NS_DESIGNATED_INITIALIZER... | exponentjs/exponent | ios/Exponent/Versioned/Core/Internal/DevSupport/EXDevSettings.h | C | bsd-3-clause | 328 |
# -*- coding: utf-8 -*-
import os
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test import Client
from .....checkout.tests import BaseCheckoutAppTests
from .....delivery.tests import TestDeliveryProvider
from .....order import handler as order_handler
from .....payment imp... | fusionbox/satchless | satchless/contrib/checkout/singlestep/tests/__init__.py | Python | bsd-3-clause | 7,298 |
%w(quick_widget quick_button quick_checkbox quick_editfield
quick_dropdown quick_dialogtab quick_label quick_radiobutton quick_treeview quick_addressfield
quick_searchfield quick_toolbar quick_window quick_tab quick_treeitem quick_thumbnail
quick_find quick_griditem quick_gridlayout quick_menu quick_menuite... | operasoftware/operawatir | lib/operawatir/quickwidgets.rb | Ruby | bsd-3-clause | 402 |
import datetime
import logging
import os
import numpy as np
from matplotlib.path import Path
from matplotlib.widgets import Cursor, EllipseSelector, LassoSelector, RectangleSelector
from sastool.io.credo_cct import Exposure
from scipy.io import loadmat, savemat
from ..core.exposureloader import ExposureLoader
from ..... | awacha/cct | attic/gui/tools/maskeditor.py | Python | bsd-3-clause | 11,717 |
// 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 ServiceWorkerRegistration_h
#define ServiceWorkerRegistration_h
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/Sc... | was4444/chromium.src | third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h | C | bsd-3-clause | 4,189 |
<?php
$path= dirname(__FILE__)."/../../../settings.php";
include($path);
global $db_url;
$private_url = parse_url($db_url['genelist']);
$genelist_connection=mysqli_connect($private_url['host'], $private_url['user'], $private_url['pass'],str_replace('/', '', $private_url['path'])) or die(mysqli_error());
?>
| irusri/GenIECMS | plugins/genelist/genelist/services/settings.php | PHP | bsd-3-clause | 311 |
// 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.
package runtime
import "unsafe"
const (
_Debugwbufs = true // if true check wbufs consistency
_WorkbufSize = 1 * 256 // in bytes - if small wbufs are pa... | AnuchitPrasertsang/go | src/runtime/mgcwork.go | GO | bsd-3-clause | 15,116 |
/*
Copyright (C) 1997,1998,1999
Kenji Hiranabe, Eiwa System Management, Inc.
This program is free software.
Implemented by Kenji Hiranabe(hiranabe@esm.co.jp),
conforming to the Java(TM) 3D API specification by Sun Microsystems.
Permission to use, copy, modify, distribute and sell this software
an... | nocnokneo/MITK | Utilities/vecmath/test-2.cpp | C++ | bsd-3-clause | 1,252 |
<?php
/*
+---------------------------------------------------------------------------------+
| Copyright (c) 2014 César D. Rodas |
+---------------------------------------------------------------------------------+
| Redistribution and use in source and binary forms... | crodas/QuickAdmin | lib/crodas/QuickAdmin/Input/TBase.php | PHP | bsd-3-clause | 4,197 |
package COM.claymoresystems.ptls;
import COM.claymoresystems.util.Util;
import java.security.MessageDigest;
import xjava.security.Parameterized;
import java.io.*;
class TestPRF {
static byte[] PMS={
(byte)0x03,(byte)0x01,(byte)0xfd,(byte)0x07,(byte)0x21,(byte)0xd5,(byte)0x44,(byte)0xf8,
(byte)... | NCIP/cagrid2 | puretls/src/main/java/COM/claymoresystems/ptls/TestPRF.java | Java | bsd-3-clause | 1,974 |
/*
* Copyright (c) 2010 The WebM 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 contributin... | matsumoto-r/synciga | src/third_party/libvpx/source/libvpx/vp9/common/vp9_quant_common.h | C | bsd-3-clause | 953 |
# Rubysl::Rake
TODO: Write a gem description
## Installation
Add this line to your application's Gemfile:
gem 'rubysl-rake'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubysl-rake
## Usage
TODO: Write usage instructions here
## Contributing
1. Fork it
2. Create your featu... | rubysl/rubysl-rake | README.md | Markdown | bsd-3-clause | 510 |
SnakeComp is an AI competition based on the popular snake game. By implementing
the SnakeControl interface (deciding in each turn in which direction a snake
moves), participants can submit their snake control and let several snakes
compete with each other.
Besides being fun, this project can be used to learn progra... | cryingshadow/SnakeComp | README.md | Markdown | bsd-3-clause | 3,383 |
def rotate[A](startIdx: Int, inputAry: List[A]): List[A] = {
val rotatedElems = if (startIdx < 0) inputAry.take(inputAry.size + startIdx) else inputAry.take(startIdx)
val nochangeElems = if (startIdx < 0) inputAry.drop(inputAry.size + startIdx) else inputAry.drop(startIdx)
nochangeElems ::: rotatedElems
}
/*... | zuqqhi2/s-99 | p19.scala | Scala | bsd-3-clause | 1,010 |
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Zend AMF API Documentation » \Zend_Server_Abstract</title>
<meta name="auth... | Notan/awery_zend_amf | documentation/api/core/classes/Zend_Server_Abstract.html | HTML | bsd-3-clause | 15,436 |
import numpy as np
from numpy.testing import (assert_equal,
assert_almost_equal,
assert_raises)
import skimage
from skimage import data
from skimage._shared._warnings import expected_warnings
from skimage.filters.thresholding import (threshold_adaptive,
... | vighneshbirodkar/scikit-image | skimage/filters/tests/test_thresholding.py | Python | bsd-3-clause | 11,985 |
/*
* Copyright (c) 2009, Pirate Party Switzerland
* All rights reserved.
*
* Licensed under the New BSD License as seen in License.txt
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Pirate.PiVote.Serialization;
namespace Pirate.PiVo... | dbrgn/pi-vote | Common/Crypto/Certificate/SignatureRequestInfo.cs | C# | bsd-3-clause | 2,995 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.