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
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // Log format information shared by reader and writer. // See ../doc/log_format.txt for more detail. ...
zxylvlp/leveldb
db/log_format.h
C
bsd-3-clause
1,145
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
VashSan/xpath-tester
XpathTester/Properties/AssemblyInfo.cs
C#
bsd-3-clause
1,521
//============================================================================= // System : Sandcastle Help File Builder Utilities // File : ConceptualContent.cs // Author : Eric Woodruff (Eric@EWoodruff.us) // Updated : 06/13/2010 // Note : Copyright 2008-2010, Eric Woodruff, All rights reserved // Comp...
jozefizso/sandcastle-presentation
SHFB/SandcastleBuilder/SandcastleBuilderUtils/ConceptualContent/ConceptualContentSettings.cs
C#
bsd-3-clause
13,727
<!DOCTYPE html> <!-- Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
yugang/crosswalk-test-suite
behavior/tests/CSP/index.html
HTML
bsd-3-clause
8,645
/* dtpttf.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
juanjosegarciaripoll/cblapack
src/lapack/dtpttf.c
C
bsd-3-clause
11,374
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <!-- required because all the links are pseudo-absolute --> <base href="../.."> <link hre...
lejard-h/polymer_app_layout_templates
doc/api/polymer_app_layout/FixedSizeListIterator/FixedSizeListIterator.html
HTML
bsd-3-clause
5,023
import { fonts, spacing, editionBreakpoints, globalSpacingStyles } from "@times-components/styleguide"; const fontSizeResolver = { [editionBreakpoints.wide]: 20, [editionBreakpoints.huge]: 22 }; export default breakpoint => ({ container: { flex: 1, paddingHorizontal: spacing(2), paddingVerti...
newsuk/times-components
packages/edition-slices/src/tiles/tile-al/styles/index.js
JavaScript
bsd-3-clause
658
/* * Copyright (c) 2005 Endace Technology Ltd, Hamilton, New Zealand. * All rights reserved. * * This source code is proprietary to Endace Technology Limited and no part * of it may be redistributed, published or disclosed except as outlined in * the written contract supplied with this product. * */ #ifndef D...
mgrosvenor/camio1.0
dag/libdagconf/include/cards/dag6_constants.h
C
bsd-3-clause
3,069
#! /usr/bin/env ruby -S rspec require 'spec_helper' describe "the flatten function" do let(:scope) { PuppetlabsSpec::PuppetInternals.scope } it "should exist" do expect(Puppet::Parser::Functions.function("flatten")).to eq("function_flatten") end it "should raise a ParseError if there is less than...
renandanton/codeorders
puphpet/puppet/modules/stdlib/spec/functions/flatten_spec.rb
Ruby
bsd-3-clause
965
/** * 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. */ #import "R...
miracle2k/react-native
Libraries/Text/RCTShadowText.h
C
bsd-3-clause
1,768
// 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/browser_plugin/browser_plugin_manager.h" #include "base/lazy_instance.h" #include "base/threading/thread_local.h" #include...
loopCM/chromium
content/renderer/browser_plugin/browser_plugin_manager.cc
C++
bsd-3-clause
1,983
/*L * Copyright Washington University in St. Louis * Copyright SemanticBits * Copyright Persistent Systems * Copyright Krishagni * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/catissue-tools/LICENSE.txt for details. */ /** * <p>Title: SiteForm Class>...
NCIP/catissue-tools
WEB-INF/src/edu/wustl/clinportal/actionForm/SiteForm.java
Java
bsd-3-clause
11,316
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta ht...
statsmodels/statsmodels.github.io
v0.13.1/generated/statsmodels.tsa.statespace.sarimax.SARIMAX.clone.html
HTML
bsd-3-clause
20,295
/* * Copyright (c) 2013 Gerard Green * All rights reserved * * Please see the file 'LICENSE' for further information */ #include <anvil/ipc.h> #include <anvil/ace_msgs.h> #include <anvil/ace.h> int ace_win_show(ace_window_t *win) { struct ace_win_show_msg showmsg; int ...
gerryg400/anvilos
src/libc/anvil/ace/ace_win_show.c
C
bsd-3-clause
674
package org.opengis.cite.osxgeotime; import java.net.URI; import java.util.Map; import java.util.logging.Level; import org.opengis.cite.osxgeotime.util.XMLUtils; import org.opengis.cite.osxgeotime.util.TestSuiteLogger; import org.opengis.cite.osxgeotime.util.URIUtils; import org.testng.ISuite; import org.test...
opengeospatial/ets-osxgeotime10
src/main/java/org/opengis/cite/osxgeotime/SuiteFixtureListener.java
Java
bsd-3-clause
3,354
<?php /** * @author MyBB Group * @version 2.0.0 * @package mybb/core * @license http://www.mybb.com/licenses/bsd3 BSD-3 */ namespace MyBB\Core\Form; use Illuminate\Contracts\View\Factory as ViewFactory; use Illuminate\Http\Request; use Illuminate\Support\Str; use Illuminate\Validation\Factory as Validat...
ATofighi/mybb2
app/Form/Renderer.php
PHP
bsd-3-clause
5,413
<?php class Simulator extends PHPFIT_Fixture_Action { /** * dictionary of variable types * @var int */ protected $typeDict = array( 'nodes' => 'integer', 'zip' => 'integer', 'coord' => 'string', 'coord()' => 'integer', 'nodes()' => 'integer' ); /** ...
Symfony-Plugins/sfPHPFitPlugin
lib/vendor/phpfit/eg/net/Simulator.php
PHP
bsd-3-clause
2,314
<?php namespace bedezign\yii2\audit\panels; use bedezign\yii2\audit\Audit; use bedezign\yii2\audit\components\panels\Panel; use bedezign\yii2\audit\models\AuditMail; use bedezign\yii2\audit\models\AuditMailSearch; use Swift_Message; use Swift_Mime_Attachment; use Swift_Mime_MimePart; use Yii; use yii\base\Event; use ...
karataserkan/yii2-audit
src/panels/MailPanel.php
PHP
bsd-3-clause
4,735
<?php namespace backend\models; use Yii; use yii\behaviors\TimestampBehavior; /** * This is the model class for table "attachments". * * @property integer $id * @property integer $user_id * @property string $orignal_name * @property string $manupulated_name * @property integer $created_at * @property integer...
Junaid-Farid/staylance-new
backend/models/Attachments.php
PHP
bsd-3-clause
1,386
var classwblut_1_1geom_1_1_w_b___swizzle_1_1_x_z_y = [ [ "swizzleSelf", "classwblut_1_1geom_1_1_w_b___swizzle_1_1_x_z_y.html#af2e3962f186209cd2f0ff04f2f029a7c", null ], [ "xd", "classwblut_1_1geom_1_1_w_b___swizzle_1_1_x_z_y.html#a8d5c658a8bea39b4f67274776893005f", null ], [ "xf", "classwblut_1_1geom_1_1_w_...
DweebsUnited/CodeMonkey
resources/hemesh/ref/html/classwblut_1_1geom_1_1_w_b___swizzle_1_1_x_z_y.js
JavaScript
bsd-3-clause
828
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as p...
klim-iv/phantomjs-qt5
src/webkit/Source/WebCore/html/HTMLLIElement.cpp
C++
bsd-3-clause
4,331
#include "stdafx.h" #include "AStringMap.h" AStringMap::AStringMap(void):AObject() { memset( m_Data,0,sizeof(myitem*)*KSTRING_MAP_SIZE ); } AStringMap::~AStringMap(void) { Clear(); } /* A Simple Hash Function */ static unsigned int simple_hash(const ACHAR *str) { register unsigned int hash; #ifdef UN...
emuikernel/BaijieCppUILib
AFC/src/AStringMap.cpp
C++
bsd-3-clause
4,262
<?php /** * This is the model class for table "tbl_lookup". * * The followings are the available columns in table 'tbl_lookup': * @property integer $id * @property string $name * @property integer $code * @property string $type * @property integer $position */ class Lookup extends CActiveRecord { /** * Ret...
baoweikai/yueyoo
adminprotected/models/Lookup.php
PHP
bsd-3-clause
3,196
/*=================================================================== 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...
RabadanLab/MITKats
Modules/DiffusionImaging/DiffusionCore/include/Algorithms/itkMrtrixPeakImageConverter.cpp
C++
bsd-3-clause
8,690
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\DeputySearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="deputy-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $...
temirfe/oshkenesh
views/deputy/_search.php
PHP
bsd-3-clause
1,051
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributi...
audiofilter/blis
frame/0/addsc/bli_addsc_unb_var1.h
C
bsd-3-clause
2,255
# Copyright (c) 2007-2008, Paul Saieg # 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...
preston-scott/spree
core/lib/spree_core/easy_role_requirement_system.rb
Ruby
bsd-3-clause
9,635
<!-- bindinator.js Copyright ©2016-2017 Tonio Loewald --> <style> body { font-family: Helvetica, Sans-serif; font-size: 14px; } h2, p, ul, li { margin: 0; padding: 0; } .test_widgets { display: flex; } .test_widgets > div { flex-grow: 1; padding: 8px; } .success { backg...
tonioloewald/Bind-O-Matic.js
tests.html
HTML
bsd-3-clause
14,428
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \common\models\LoginForm */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; $this->title = Yii::t('app', 'Вход'); $this->params['breadcrumbs'][] = $this->title; $this->registerMetaTag(['name' => 'description', 'content' ...
comaw/stomat
frontend/views/site/login.php
PHP
bsd-3-clause
1,824
Spree::OptionType.class_eval do has_many :taxon_option_types, dependent: :destroy, inverse_of: :option_type has_many :taxons, through: :taxon_option_types end
gsix/spree_filter_products
app/models/spree/option_type_decorator.rb
Ruby
bsd-3-clause
167
Ext.define("W2B.view.mis.costcenter.digitequip.DigitalMainParamsView", { extend: 'Ext.panel.Panel', xtype: 'digitmainparams', controller: 'digitalview', viewModel: { type: 'missystem' }, bodyPadding: 5, layout: 'anchor', defaults: { anchor: '100%', labelWidth: 250 }, items: [ { xtype: 'textfi...
killer-djon/dev-v2.web2book.ru
public/web2book/app/view/mis/costcenter/digitequip/DigitalMainParamsView.js
JavaScript
bsd-3-clause
2,118
// 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_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ #include "ash...
mogoweb/chromium-crosswalk
chrome/browser/chromeos/extensions/wallpaper_private_api.h
C
bsd-3-clause
9,677
import subprocess import sys import setup_util import os def start(args, logfile, errfile): try: subprocess.check_call("mvn clean compile assembly:single", shell=True, cwd="netty", stderr=errfile, stdout=logfile) subprocess.Popen("java -jar netty-example-0.1-jar-with-dependencies.jar".rsplit(" "), cwd="netty...
morrisonlevi/FrameworkBenchmarks
netty/setup.py
Python
bsd-3-clause
860
// Copyright 2018 The go-python Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Frozen version of importlib/_bootstrap.py package py import ( "github.com/go-python/gpython/py" ) // Load the frozen module func init() { py.Re...
go-python/gpython
importlib/importlib.go
GO
bsd-3-clause
295,149
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef EL_INVERSE_HPD_CHOLESKYLVAR2_HPP #...
mcopik/Elemental
src/lapack_like/funcs/Inverse/HPD/CholeskyLVar2.hpp
C++
bsd-3-clause
5,720
import type { BlinkMRC, ProjectConfig } from '../types' import configLoader from '@blinkmobile/blinkmrc' import pkg from '../../package' function projectConfig(cwd: string): ProjectConfig { return configLoader.projectConfig({ name: pkg.name, cwd: cwd, }) } function read(cwd: string): Promise<BlinkMRC> { ...
blinkmobile/cli
src/api/utils/project-meta.ts
TypeScript
bsd-3-clause
595
# sl-feeds ![Go](https://github.com/vbatts/sl-feeds/workflows/Go/badge.svg) This is for proccessing Slackware ChangeLog.txt -> RSS feeds that folks can subscribed to. Ultimately ending up at http://www.slackware.com/~vbatts/feeds/ or http://mirrors.slackware.com/feeds/ ## Usage ```bash go get github.com/vbatts/sl-...
vbatts/sl-feeds
README.md
Markdown
bsd-3-clause
572
/* $OpenBSD: midivar.h,v 1.1 1999/01/02 00:02:38 niklas Exp $ */ /* $NetBSD: midivar.h,v 1.6 1998/11/25 22:17:07 augustss Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Lennart Augustsson (augusts...
MarginC/kame
openbsd/sys/dev/midivar.h
C
bsd-3-clause
3,358
using System; using System.Collections.Generic; using Microsoft.Practices.EnterpriseLibrary.Validation; using Microsoft.Practices.EnterpriseLibrary.Validation.Validators; using VersionOne.ServiceHost.ConfigurationTool.UI.Interfaces; namespace VersionOne.ServiceHost.ConfigurationTool.Entities { /// <summary> //...
KellyKey/Sigma
VersionOne.ServiceHost.ConfigurationTool/Entities/ServiceHostConfiguration.cs
C#
bsd-3-clause
2,914
#include <lib.h> #include <sgtty.h> int stty(fd, argp) int fd; struct sgttyb *argp; { return ioctl(fd, TIOCSETP, argp); }
macminix/MacMinix
src/lib/other/stty.c
C
bsd-3-clause
125
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/src/foxitlib.h" #include "xfa/src/fwl/src/core/include/fwl_targe...
andoma/pdfium
xfa/src/fwl/src/core/fwl_gridimp.cpp
C++
bsd-3-clause
48,312
$(document).ready(function() { $('#sendReview').click(function(){ if ($('#author').val() == '') { alert('Укажите свое имя!'); return false; } if ($('#comment').val() == '') { alert('Введите текст отзыва!'); return false; } if ...
desc0n/dadaauto
public/js/scripts.js
JavaScript
bsd-3-clause
1,047
# 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. """Signing Model Objects This module contains classes that encapsulate data about the signing process. """ import os.path class CodeSignedProduct(object):...
endlessm/chromium-browser
chrome/installer/mac/signing/model.py
Python
bsd-3-clause
12,611
# Installation ```js angular.module('myModule', ['oui.pagination']); ``` # Configuration The pagination can be globally configured with a provider. ```js angular.module('myModule', ['oui.pagination']) .config(ouiPaginationConfigurationProvider => { // default page size (when page-size attribute is not set) ...
ovh-ux/ovh-ui-kit
packages/components/pagination/README.md
Markdown
bsd-3-clause
1,859
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:44:31 AEDT 2015 --> <title>RFC6637Utils (Bouncy Castle Library 1.54 API Specification)</title> <meta name="date" c...
GaloisInc/hacrypto
src/Java/BouncyCastle/BouncyCastle-1.54/bcpg-jdk15on-154/javadoc/org/bouncycastle/openpgp/operator/RFC6637Utils.html
HTML
bsd-3-clause
10,337
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using Projac.Testing; namespace Projac.Tests.Testing { namespace ProjectionScenarioTests { [TestFixture] public class AnyState { [...
yreynhout/Projac
src/Projac.Tests/Testing/ProjectionScenarioTests.cs
C#
bsd-3-clause
11,397
using System.Linq; using NHibernate; using NHibernate.Criterion; namespace Lix.Commons.Repositories { /// <summary> /// Represents extensions on the <see cref="ICriteria"/> object. /// </summary> public static class CriteriaExtensions { /// <summary> /// Based on the ICriteria will...
lukesmith/lix
src/Lix.NHibernate.Utilities/Repositories/CriteriaExtensions.cs
C#
bsd-3-clause
2,856
<?php namespace Sabre\VObject\Component; use Sabre\VObject; use Sabre\Xml; /** * The VCard component. * * This component represents the BEGIN:VCARD and END:VCARD found in every * vcard. * * @copyright Copyright (C) 2011-2015 fruux GmbH (https://fruux.com/). * @author Evert Pot (http://evertpot.com/) * @licen...
armin-hackmann/sabre-vobject
lib/Component/VCard.php
PHP
bsd-3-clause
16,882
import hashlib import os import re import time import uuid import subprocess from django.conf import settings from django.core.management.base import BaseCommand, CommandError from django.contrib.staticfiles.finders import find as find_static_path from olympia.lib.jingo_minify_helpers import ensure_path_exists def...
atiqueahmedziad/addons-server
src/olympia/amo/management/commands/compress_assets.py
Python
bsd-3-clause
8,858
--- redirect_from: - /download/windows/stable redirect_to: https://toggl-open-source.github.io/toggldesktop/download/windows-stable/ ---
toggl/toggldesktop
download/windows-stable.html
HTML
bsd-3-clause
140
from __future__ import unicode_literals from django.conf.urls import patterns, include, url from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from mezzanine.core.views import direct_to_template from mezzanine.conf import settings from hs_core.api import v1_api from theme import views a...
hydroshare/hydroshare_temp
urls.py
Python
bsd-3-clause
5,696
#include "utils.h" #include "inttypes.h" #include "criticalSection.h" #include <stdlib.h> extern _PTR memalign(size_t, size_t); /* * These functions are equivalent to the standard lib functions, except that * they disable all interrupts before executing the function. */ void *safe_malloc(size_t size) { DECLARE_...
ekiwi/tinyos-1.x
beta/platform/pxa27x/lib/utils.c
C
bsd-3-clause
1,218
<?php /** * Based on Jan Tvrdík DatePicker (http://nette.merxes.cz/date-picker/) * * @author Livio Ribeiro * @license BSD-3-Clause */ namespace NetteDateTimeFields\Controls; use Nette; use Nette\Forms; use DateTime; /** * Form control for selecting date. * * @author Livio Ribeiro * @version 1.0 * @l...
livioribeiro/NetteDateTimeFields
src/NetteDateTimeFields/Controls/DateInput.php
PHP
bsd-3-clause
995
#!/bin/sh BASEDIR="../" # root of translatable sources PROJECT="fcitx-mozc" # project name BUGADDR="fcitx-dev@googlegroups.com" # MSGID-Bugs WDIR="`pwd`" # working dir echo "Preparing rc files" echo "Done preparing rc files" echo "Extracting messages" # see above on sorting find "${BASEDIR}" -name '*.cc' -o -name ...
fcitx/mozc
src/unix/fcitx/po/Messages.sh
Shell
bsd-3-clause
907
#!/usr/bin/env python # -*- coding: utf-8 -*- import webapp2 import hinet import seednet import StringIO import PyRSS2Gen import urllib import datetime import hashlib #from google.appengine.ext import ndb from google.appengine.api import memcache HTTP_DATE_FMT = '%a, %d %b %Y %H:%M:%S %Z' def check_date_fmt(date): ...
ryanho/ISParser
main.py
Python
bsd-3-clause
6,603
var shell = require('..'); var assert = require('assert'); shell.config.silent = true; shell.rm('-rf', 'tmp'); shell.mkdir('tmp'); // // Invalids // // commands like `rm` can't be on the right side of pipes assert.equal(typeof shell.ls('.').rm, 'undefined'); assert.equal(typeof shell.cat('resources/file1.txt').rm,...
freitagbr/shelljs
test/pipe.js
JavaScript
bsd-3-clause
2,118
{-# LANGUAGE MultiParamTypeClasses #-} -- | -- Module: $HEADER$ -- Description: Command line tool that generates random passwords. -- Copyright: (c) 2013 Peter Trsko -- License: BSD3 -- -- Maintainer: peter.trsko@gmail.com -- Stability: experimental -- Portability: non-portable (FlexibleContexts, d...
trskop/hpwgen
src/Main/Application.hs
Haskell
bsd-3-clause
11,354
# Create your views here. import socket from pyasn1.error import PyAsn1Error import requests from .heartbleed import test_heartbleed from .models import Check try: from OpenSSL.SSL import Error as SSLError except ImportError: # In development, we might not have OpenSSL - it's only needed for SNI class SSLE...
erikr/ponycheckup
ponycheckup/check/checker.py
Python
bsd-3-clause
4,346
<!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=gb2312" /> <title>F-4020ILK_QnnSafe</title> <meta name="keywords" content="F-4020I...
qnn/qnnsafes.com-v1
Products/deposit safe/F/2012/0704/141.html
HTML
bsd-3-clause
15,812
/* -*- 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 * * ...
cloudrain21/memcached-1
auditd/src/auditd.cc
C++
bsd-3-clause
7,167
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="sv"> <context> <name>MainUI</name> <message> <location filename="../MainUI.ui" line="14"/> <location filename="../MainUI.ui" line="29"/> <location filename="../MainUI.cpp" line="184"/> <source>File I...
pcbsd/lumina
src-qt5/desktop-utils/lumina-fileinfo/i18n/l-fileinfo_sv.ts
TypeScript
bsd-3-clause
13,851
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.coderedrobotics.libs.dash; /** * * @author laptop */ public class Packet { public final double val; public final String name; public final long time; Packet(double val, String name, long...
CodeRed2771/Sally
src/com/coderedrobotics/libs/dash/Packet.java
Java
bsd-3-clause
413
# Copyright (c) 2012 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # Makefile # # usage: 'make [package]' # # This makefile builds all of the Native Client ports listed below # in $(ALL_PORTS). Each port has a depe...
adlr/naclports
Makefile
Makefile
bsd-3-clause
11,589
// 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. // IPC messages for page rendering. // Multiply-included message file, hence no include guard. #include "base/memory/shared_memory.h" #include "base/...
Pluto-tv/chromium-crosswalk
content/common/view_messages.h
C
bsd-3-clause
69,037
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\search\CategoriaSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Categorias'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="categoria-index"> <h1><?= Htm...
sburgos/easydelivery
modules/admin/views/categoria/index.php
PHP
bsd-3-clause
866
# Commands ## Introduction The SDK comes with a commands system that lets you handle and manage all inbound commands seamlessly and efficiently. The Commands Handler System is smart enough to trigger the right command when it sees one in an inbound message from Telegram. The commands are lazy loaded and processed on-...
m4h4n/telegram-bot-sdk
docs/usage/commands.md
Markdown
bsd-3-clause
9,473
// Arguments: Ints, Doubles, Doubles #include <stan/math/prim.hpp> using stan::math::var; using std::numeric_limits; using std::vector; class AgradDistributionsNegBinomial2 : public AgradDistributionTest { public: void valid_values(vector<vector<double> >& parameters, vector<double>& log_prob) ...
stan-dev/math
test/prob/neg_binomial_2/neg_binomial_2_test.hpp
C++
bsd-3-clause
2,986
require 'test_helper' class SnapshotTest < ActiveSupport::TestCase include MockHelper fixtures :investigations setup do @investigation = Factory(:investigation, :description => 'not blank', :policy => Factory(:publicly_viewable_policy)) end test 'snapshot number correctly set' do s1 = @investig...
SynthSys/seek
test/unit/snapshot_test.rb
Ruby
bsd-3-clause
4,464
using System.Collections; namespace Platform.VirtualFileSystem { public class NullNodeCache : INodeCache { public virtual IEnumerator GetEnumerator() { return new object[0].GetEnumerator(); } public void Add(INodeAddress address, INode node) { } public INode Get(INodeAddress addr...
platformdotnet/Platform.VirtualFileSystem
src/Platform.VirtualFileSystem/NullNodeCache.cs
C#
bsd-3-clause
840
<script language="javascript" type="text/javascript"> /*<![CDATA[*/ if(typeof(console)=='object') { console.group("Profilowanie: raport podsumowuj¹cy"); console.log(" iloœæ razem œrednia min max "); <?php foreach($data as $index=>$entry) { $proc=CJavaScript::quote($entry[0]); $count=sprintf('%5d',$ent...
hukumonline/yii
framework/views/pl/profile-summary-firebug.php
PHP
bsd-3-clause
606
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\JurulatihSukanAcara */ $this->title = 'Update Jurulatih Sukan Acara: ' . $model->jurulatih_sukan_acara_id; $this->params['breadcrumbs'][] = ['label' => 'Jurulatih Sukan Acaras', 'url' => ['index']]; $this->params['breadcrumbs'][] = [...
hung101/kbs
frontend/views/jurulatih-sukan-acara/update.php
PHP
bsd-3-clause
683
<?php /*** * ActionLeaf (www.actionleaf.com / actionleaf.googlecode.com) PHP Framework * Copyright (c) 2008, Wess D. Cope <wess@wattz.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following c...
google-code/actionleaf
system/Foundation/ALPostgreSQLDriver.php
PHP
bsd-3-clause
2,348
//===-- NativeRegisterContextLinux_arm64.cpp ------------------------------===// // // 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/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
C++
bsd-3-clause
27,890
/* * Copyright (C) 2007, 2008, 2012 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
endlessm/chromium-browser
third_party/blink/renderer/core/css/css_keyframes_rule.h
C
bsd-3-clause
4,688
<?php class RoleController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ pub...
piaoxuedtian/myrepo
adminprotected/controllers/RoleController.php
PHP
bsd-3-clause
4,132
// 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/wm/base_layout_manager.h" #include "ash/screen_ash.h" #include "ash/shell.h" #include "ash/shell_window_ids.h" #include "ash/test/ash_t...
leighpauls/k2cro4
ash/wm/base_layout_manager_unittest.cc
C++
bsd-3-clause
10,068
# -*- coding: utf-8 -*- import csv import json from cStringIO import StringIO from datetime import datetime from django.conf import settings from django.core import mail, management from django.core.cache import cache import mock from nose.plugins.attrib import attr from nose.tools import eq_ from piston.models impor...
robhudson/zamboni
apps/zadmin/tests/test_views.py
Python
bsd-3-clause
87,057
/* * Copyright (C) 2012 Google Inc. All rights reserved. * Copyright (C) 2012 Intel 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 retai...
smilusingjavascript/blink
Source/devtools/front_end/timeline/TimelinePanel.js
JavaScript
bsd-3-clause
56,446
#ifndef ELECTRON_H #define ELECTRON_H #include "Particle.h" class Electron : public Particle { public: Electron(double energy, double position, Particle* parent, ResultStore* results); virtual ~Electron(); protected: virtual Particle::DecayType TerminalDecay() const; virtual Particle::DecayType Decay();...
ddamiani/cosmic-sim
cpp/include/Electron.h
C
bsd-3-clause
510
// 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 "cobalt/media/formats/mp2t/ts_section_pat.h" #include <vector> #include "base/logging.h" #include "cobalt/media/base/bit_reader.h" #include "co...
youtube/cobalt
cobalt/media/formats/mp2t/ts_section_pat.cc
C++
bsd-3-clause
3,920
const express = require('express'); const ErrorsMiddleware = require('../middlewares/errors'); const HealthyCheckController = require('../controllers/healthyCheck'); const v1 = require('./v1'); const router = express.Router(); // Healthy check router.get('/', HealthyCheckController.index); // API versions router.us...
involvestecnologia/business-chat-spike
backend/src/routes/index.js
JavaScript
bsd-3-clause
498
// 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. package org.chromium.chrome.browser.compositor; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import and...
SaschaMester/delicium
chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java
Java
bsd-3-clause
42,054
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-rc4-master-4aa7160 */ goog.provide('ng.material.components.whiteframe'); goog.require('ng.material.core'); /** * @ngdoc module * @name material.components.whiteframe */ angular .module('material.components.whiteframe',...
westerncapelabs/gopherairtime
controlinterface/static/controlinterface/js/angular-material/modules/closure/whiteframe/whiteframe.js
JavaScript
bsd-3-clause
1,559
import './skottie-library-sk'; import './skottie-library-sk.scss';
google/skia-buildbot
skottie/modules/skottie-library-sk/index.ts
TypeScript
bsd-3-clause
67
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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"/> <title>フロントコントローラ - Zend Framework M...
wukchung/Home-development
documentation/manual/core/ja/zend.controller.front.html
HTML
bsd-3-clause
47,420
// Copyright 2014 Tony Wasserka // 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 conditi...
neobrain/nihstro
src/parser_assembly/common.cpp
C++
bsd-3-clause
7,786
// 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 CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_CREATE_METADATA_TASK_H_ #define CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_CREATE_METADATA_TASK_H_ #includ...
endlessm/chromium-browser
content/browser/background_fetch/storage/create_metadata_task.h
C
bsd-3-clause
3,237
# Late and lazy Another pattern that `late` can help with is lazy initialization for expensive, non-nullable fields. ## Exercise Try this: * Run this code without changing it, and note the output. * Think: What will change if you make _cache a late field? * Make _cache a late field, and run the code. Was your predic...
flutter/codelabs
dartpad_codelabs/src/null_safety_workshop/step_13/instructions.md
Markdown
bsd-3-clause
334
<p> Please check the item description and edit if incorrect: </p> <?php echo validation_errors('<div class="alert">', '</div>'); ?> <?php $attributes = array('class' => 'form-horizontal'); echo form_open('crossrefdoimetadata', $attributes); ?> <div class="control-group"> <label for="title" class...
stuartlewis/EasyDeposit
application/views/crossrefdoimetadata.php
PHP
bsd-3-clause
3,678
PREFIX=/usr/local/carrydb $(shell sh build.sh 1>&2) include build_config.mk all: mkdir -p var var_slave chmod u+x deps/cpy/cpy chmod u+x tools/carrydb-cli cd "${LEVELDB_PATH}"; ${MAKE} static_lib #PORTABLE=1 cd src/util; ${MAKE} cd src/net; ${MAKE} cd src/client; ${MAKE} cd src/db; ${MAKE} cd src; ${MAKE} c...
carryLabs/carrydb
Makefile
Makefile
bsd-3-clause
1,603
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-07-10 12:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('django_project', '0013_auto_20160710_1124'), ] oper...
kunalsharma05/django-project
django_project/migrations/0014_auto_20160710_1200.py
Python
bsd-3-clause
558
#!/bin/sh # # Protocol Buffers - Google's data interchange format # Copyright 2009 Google Inc. All rights reserved. # http://code.google.com/p/protobuf/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redis...
openx/python3-protobuf
src/google/protobuf/compiler/zip_output_unittest.sh
Shell
bsd-3-clause
3,675
<?php /** * User: yunsong * Date: 3/15/16 * Time: 7:39 PM * Email:awebc@qq.com */ namespace api\modules\v1\controllers; use api\modules\v1\controllers\BaseController; use yunsong\favorite\models\Collection; class CollectionController extends BaseController { public $modelClass = 'yunsong\favorite\models\Co...
awebc/web_yi
api/modules/v1/controllers/CollectionController.php
PHP
bsd-3-clause
1,986
define([ 'ace/theme' ], function(aceTheme) { var themes = codebox.require("core/themes"); var bgDarker = "#1a1d24"; var colorDarker = "#505c66"; var bgDark = "#222830"; var colorDark = "#64737e"; var bgNormal = "#1c1f25"; var colorNormal = "#dfe0e6"; var bgLight = "#2b303b"; ...
linc01n/codebox-theme
ported-theme/cb.theme.mono.industrial/main.js
JavaScript
bsd-3-clause
3,151
-- -- tests/config/test_links.lua -- Test the list of linked objects retrieval function. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local suite = test.declare("config_links") local config = premake.config -- -- Setup and teardown -- local sln, prj function suite.setup() _ACTION = "te...
annulen/premake
tests/config/test_links.lua
Lua
bsd-3-clause
4,186
// Code generated by protoc-gen-go from "header.proto" // DO NOT EDIT! package protorpc import proto "goprotobuf.googlecode.com/hg/proto" import "os" // Reference proto & os imports to suppress error if it's not otherwise used. var _ = proto.GetString var _ os.Error type Header struct { Seq *uint64 "PB(varint,1,re...
eclark/protorpc
header.dist.go
GO
bsd-3-clause
532
/* * This file is part of the optimized implementation of the Picnic signature scheme. * See the accompanying documentation for complete details. * * The code is provided under the MIT license, see LICENSE for * more details. * SPDX-License-Identifier: MIT */ #ifndef IO_H #define IO_H #include <stdint.h> ...
GaloisInc/hacrypto
src/C/libpqcrypto/crypto_sign/picnicl1fs/avx2/io.h
C
bsd-3-clause
638
{%extends "base.html"%} {% load crispy_forms_tags %} {%block styles%} <!-- Data Tables --> <link href="{{STATIC_URL}}inspinia/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet"> <link href="{{STATIC_URL}}inspinia/css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet"> <link href="{{STATI...
flipjack/tecnoservicio
tecnoservicio/templates/ordenes/inventario.html
HTML
bsd-3-clause
9,057
echo "Setup postgres" sudo -u postgres psql <<< " CREATE DATABASE blogdb; CREATE USER blog1 WITH PASSWORD 'blogpassword'; GRANT ALL PRIVILEGES ON DATABASE blogdb TO blog1; "
giovannicode/giovanniblog
provisioning/roles/db/files/postgres/setup.sh
Shell
bsd-3-clause
174
/* * $Id$ * * Copyright 2006, The jCoderZ.org Project. 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 * noti...
jCoderZ/fawkez-old
test/java/org/jcoderz/commons/util/DbUtilTest.java
Java
bsd-3-clause
10,856