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
/** * @license * Copyright (c) 2017 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
PolymerLabs/arcs-live
build/planning/strategies/create-handle-group.d.ts
TypeScript
bsd-3-clause
480
// Copyright (c) 2006-2008 Max-Planck-Institute Saarbruecken (Germany). // All rights reserved. // // This file is part of CGAL (www.cgal.org); 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 3 of the Li...
hlzz/dotfiles
graphics/cgal/Modular_arithmetic/include/CGAL/primes.h
C
bsd-3-clause
1,987
almacen ======= Sistema basico de almacen
sandyrod/almacen
README.md
Markdown
bsd-3-clause
43
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_18) on Tue Jul 07 10:40:17 PDT 2009 --> <TITLE> TransactionXMLAdapter </TITLE> <META NAME="keywords" CONTENT="apollo.dataadapter.gamexml.Transaction...
genome-vendor/apollo
javadoc/apollo/dataadapter/gamexml/TransactionXMLAdapter.html
HTML
bsd-3-clause
15,863
<!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.tsa.statespace.dynamic_factor.DynamicFactorResults.states.html
HTML
bsd-3-clause
18,090
{% from 'macros/datetime.html' import render_date %} {% from 'macros/icons.html' import render_icon %} <h2>{{ _('Personal Data') }} <a class="button button--compact" href="{{ url_for('.details_update_form') }}" title="{{ _('Change personal data') }}">{{ render_icon('edit') }}</a></h2> <table> <tr> <td>...
homeworkprod/byceps
byceps/blueprints/site/user/settings/templates/site/user/settings/_details_personal.html
HTML
bsd-3-clause
1,630
/* Copyright (c) 2000-2022, Board of Trustees of Leland Stanford Jr. University, 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...
lockss/lockss-daemon
src/org/lockss/tdb/TdbUtil.java
Java
bsd-3-clause
4,685
/* Copyright 2013, Peter A. Bigot * * 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...
pabigot/embtextf
include/embtextf/version.h
C
bsd-3-clause
2,088
<?php /** * Created by PhpStorm. * User: leijiao * Date: 16/3/10 * Time: 下午1:47 */ //echo 'http://localhost/vcos/backend/web/index.php?r=forum/default/index'; echo '<pre>'; echo \Yii::t('app', 'Hello'); echo "<br />"; echo \Yii::t('app', '你好');
vin120/vcos
backend/modules/controlcenter/views/default/index.php
PHP
bsd-3-clause
259
import json from django.test.utils import override_settings import pytest from pyquery import PyQuery from fjord.base import views from fjord.base.tests import ( LocalizingClient, TestCase, AnalyzerProfileFactory, reverse ) from fjord.base.views import IntentionalException from fjord.search.tests imp...
Ritsyy/fjord
fjord/base/tests/test_views.py
Python
bsd-3-clause
5,907
#ifndef ML_APPLICATION_H #define ML_APPLICATION_H #include <QApplication> #include <QString> class MeshLabApplication : public QApplication { public: enum HW_ARCHITECTURE {HW_32BIT = 32,HW_64BIT = 64}; MeshLabApplication(int &argc, char *argv[]):QApplication(argc,argv){} ~MeshLabApplication(){}...
hlzz/dotfiles
graphics/meshlab/src/common/mlapplication.h
C
bsd-3-clause
1,511
<form id="{$form.name}" name="{$form.name}"> <style> {literal} .form_icon{ float:left; padding-right:12px; } h2{ line-height: 28px; font-size: 18px; font-weight: normal; } .system_name { background-image:url({/literal}{$resource_url}{literal}/oauth/images/system_name_bg.png); background-repeat:no-repeat; background...
openbizx/cubix
modules/oauth/template/user_connect_finished.tpl.html
HTML
bsd-3-clause
3,600
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_i3wm-formula ---------------------------------- Tests for `i3wm-formula` module. """ import unittest from i3wm-formula import i3wm-formula class TestI3wm-formula(unittest.TestCase): def setUp(self): pass def test_something(self): pas...
westurner/i3wm-formula
tests/test_i3wm-formula.py
Python
bsd-3-clause
407
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
r3ap3r2004/spraycan
lib/assets/javascripts/spraycan/ace/theme-merbivore_soft-uncompressed.js
JavaScript
bsd-3-clause
4,684
/* * keynav - Keyboard navigation tool. * * XXX: Merge 'wininfo' and 'wininfo_history'. The latest history entry is the * same as wininfo, so use that instead. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <ctype.h> #include <sys/types.h> #incl...
kovetskiy/keynav
keynav.c
C
bsd-3-clause
53,493
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_long_calloc_53a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-53a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Rou...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_long_calloc_53a.cpp
C++
bsd-3-clause
2,819
<!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.0/generated/statsmodels.tsa.statespace.kalman_smoother.KalmanSmoother.transition.html
HTML
bsd-3-clause
17,795
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) Guillaume Fraux and contributors -- BSD license #include <chemfiles.h> #include <stdlib.h> int main() { // [example] CHFL_ATOM* atom = chfl_atom("Na"); if (atom == NULL) { /* handle error */ } chfl_ato...
lscalfi/chemfiles
tests/capi/doc/chfl_atom/chfl_atom.c
C
bsd-3-clause
367
package nirays.com.airspy; /** * Created by kirant400 on 19/3/16. */ public class DateDayXAxisValueFormatter { }
kirant400/freshfreedom
client/airspy/app/src/main/java/nirays/com/airspy/DateDayXAxisValueFormatter.java
Java
bsd-3-clause
116
<html> <head> <title></title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <script type="text/javascript" src="../../compiled/full-debug-compile-config/medea.core-compiled.js"></script> <script type="text/javascript"> // ---------------------------------------------------------------------...
acgessler/medea.js
samples/Skydome/Skydome.html
HTML
bsd-3-clause
3,128
/** * Copyright (C) 2002 Maynard Demmon, maynard@organic.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 copyright *...
hashrock/JavaOutlineEditor
src/com/organic/maynard/outliner/actions/EndAction.java
Java
bsd-3-clause
4,698
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.sandbox.regression.gmm.GMMResults.initialize &#8212; statsmodels v0.10.1 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet"...
statsmodels/statsmodels.github.io
v0.10.1/generated/statsmodels.sandbox.regression.gmm.GMMResults.initialize.html
HTML
bsd-3-clause
7,653
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE124_Buffer_Underwrite__malloc_char_memcpy_33.cpp Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 124 Buffer Underwrite * BadSource: Set data pointer to before the allocated ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE124_Buffer_Underwrite/s02/CWE124_Buffer_Underwrite__malloc_char_memcpy_33.cpp
C++
bsd-3-clause
3,780
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <!-- 二次曲线 例题:http://tinyurl.com/html5quadratic context.moveTo(69, 263); //起始点 context.quadraticCurveTo(x1,y1,x2,y2) //控制点,终点 --> <canvas id="canvas" width="500" height="500" style=...
duolew/project-zhp
HTML5/Canvas/贝塞尔曲线.html
HTML
bsd-3-clause
1,033
from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter class Command(BaseXpressDemocracyClubCsvImporter): council_id = 'E08000032' addresses_name = 'parl.2017-06-08/Version 1/Democracy_Club__08June2017.tsvJune2017.tsv' stations_name = 'parl.2017-06-08/Version 1/Democracy_Club__0...
chris48s/UK-Polling-Stations
polling_stations/apps/data_collection/management/commands/import_bradford.py
Python
bsd-3-clause
408
import os import pytest from datetime import time from sport_systems import stats BASE_DIR = os.path.dirname(__file__) @pytest.fixture def response_1(): path = os.path.join(BASE_DIR, 'response-1.xml') with open(path, 'rb') as fin: data = fin.read() return data @pytest.fixture def results_1():...
willcodefortea/sportssystems_crawler
tests/conftest.py
Python
bsd-3-clause
672
{% extends "careers/base.html" %} {% load crispy_forms_tags %} {% if object %} {% block head_title %}Careers-Modify Career{% endblock head_title %} {% else %} {% block head_title_new %}Careers-New Career{% endblock head_title_new %} {% endif %} {% block content %} <div class="container"> <div class="row"> <div c...
LABETE/InstitutionalPortal
InstitutionalPortal/templates/careers/career_form.html
HTML
bsd-3-clause
1,263
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "vizwindow.h" #include "audio.hpp" #include "fm.hpp" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(FMSynth &fm, QWidget *parent = 0); ~MainWindow(); private slots:...
analoq/fmLab
mainwindow.h
C
bsd-3-clause
942
package de.bwaldvogel.mongo.backend; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import de.bwaldvogel.mongo....
bwaldvogel/mongo-java-server
core/src/main/java/de/bwaldvogel/mongo/backend/Index.java
Java
bsd-3-clause
6,291
// Copyright 2013 The Flutter 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 FLUTTER_LIB_UI_TEXT_LINE_METRICS_H_ #define FLUTTER_LIB_UI_TEXT_LINE_METRICS_H_ #include "third_party/dart/runtime/include/dart_api.h" #include "t...
mikejurka/engine
lib/ui/text/line_metrics.h
C
bsd-3-clause
2,306
import * as React from 'react'; import { Platform, StyleSheet, View } from 'react-native'; import url from 'url'; import DevMenuContext from '../../DevMenuContext'; import * as DevMenuWebBrowser from '../../DevMenuWebBrowser'; import Colors from '../../constants/Colors'; import Endpoints from '../../constants/Endpoint...
exponent/exponent
packages/expo-dev-menu/app/components/profile/UnauthenticatedProfile.tsx
TypeScript
bsd-3-clause
3,788
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\components\widgets; use app\assets\DatePickerAsset; use Yii; use yii\helpers\Html; use yii\base\InvalidParamException; /** * DatePicker renders a `date...
xiaohaoyong/AcarAdmin
components/widgets/DatePicker.php
PHP
bsd-3-clause
6,784
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- This file documents the GNU Assembler "as". Copyright (C) 1991-2014 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Do...
AlbandeCrevoisier/ldd-athens
gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/share/doc/as.html/Symbol-Other.html
HTML
bsd-3-clause
3,257
<link rel="import" href="packages://ui-kit/widget/index.html"> <dom-module id="remote-debugging-panel"> <link rel="import" type="css" href="panel.css"> <template> <editor-button nofocus on-click='setDebugPoint'> 断点 </editor-button> <editor-button nofocus on-click='removeDebugPoint'> 去除...
2youyouo2/remote-debugging
panel/panel.html
HTML
bsd-3-clause
606
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
statsmodels/statsmodels.github.io
0.9.0/generated/statsmodels.regression.quantile_regression.QuantRegResults.prsquared.html
HTML
bsd-3-clause
6,844
from django.test import TestCase from mock import Mock, patch from paymentexpress.facade import Facade from paymentexpress.gateway import AUTH, PURCHASE from paymentexpress.models import OrderTransaction from tests import (XmlTestingMixin, CARD_VISA, SAMPLE_SUCCESSFUL_RESPONSE, SAMPLE_DECLINED_RESPO...
django-oscar/django-oscar-paymentexpress
tests/facade_tests.py
Python
bsd-3-clause
7,334
// 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. 'use strict'; /** * Extension ID of gallery app. * @type {string} * @const */ var GALLERY_APP_ID = 'nlkncpkkdoccmpiclbokaimcnedabhhm'; var gallery =...
endlessm/chromium-browser
ui/file_manager/integration_tests/gallery/background.js
JavaScript
bsd-3-clause
3,593
# Rocksdb Change Log ## Unreleased ### Public API Change * Options::max_bytes_for_level_multiplier is now a double along with all getters and setters. ### New Features * Add avoid_flush_during_shutdown option, which speeds up DB shutdown by not flushing unpersisted data (i.e. with disableWAL = true). Unpersisted data ...
wenduo/rocksdb
HISTORY.md
Markdown
bsd-3-clause
37,976
# -*- coding: utf-8 -*- # # Copyright (C) 2008 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.com/license.html. # # This software consists of vo...
zjj/trac_hack
trac/versioncontrol/admin.py
Python
bsd-3-clause
16,185
// Copyright 2011 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 gcimporter import ( "go/build" "io/ioutil" "os" "os/exec" "path/filepath" "runtime" "strings" "testing" "time" "go/types" ) // skipSpecialP...
mk0x9/go
src/go/types/internal/gcimporter/gcimporter_test.go
GO
bsd-3-clause
5,896
// Copyright 2012 The LevelDB-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 leveldb provides an ordered key/value store. // // BUG: This package is incomplete. package leveldb import ( "bytes" "fmt" "io" "path/fi...
xushiwei/leveldb-go
leveldb/leveldb.go
GO
bsd-3-clause
8,519
/** * Copyright (c) 2018, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com> */ #ifndef _LIGHT_H_ #define _LIGHT_H_ void light_init(void); #endif /* !_LIGHT_H_ */
lpodkalicki/blog
esp8266/004_dance_lights_with_fft/light.h
C
bsd-3-clause
168
from acoustics.decibel import * def test_dbsum(): assert(abs(dbsum([10.0, 10.0]) - 13.0103) < 1e-5) def test_dbmean(): assert(dbmean([10.0, 10.0]) == 10.0) def test_dbadd(): assert(abs(dbadd(10.0, 10.0) - 13.0103) < 1e-5) def test_dbsub(): assert(abs(dbsub(13.0103, 10.0) - 10.0) < 1e-5) def tes...
FRidh/python-acoustics
tests/test_decibel.py
Python
bsd-3-clause
451
// 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 "components/sync/driver/backend_migrator.h" #include <memory> #include "base/run_loop.h" #include "base/test/mock_callback.h" #include "bas...
endlessm/chromium-browser
components/sync/driver/backend_migrator_unittest.cc
C++
bsd-3-clause
10,274
// Copyright (c) 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 QUICHE_QUIC_CORE_QPACK_QPACK_DECODER_H_ #define QUICHE_QUIC_CORE_QPACK_QPACK_DECODER_H_ #include <cstdint> #include <memory> #include <set> ...
endlessm/chromium-browser
net/third_party/quiche/src/quic/core/qpack/qpack_decoder.h
C
bsd-3-clause
5,610
// 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 "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h" #include <algorithm> #include "base/file_util.h" #include "base/me...
mogoweb/chromium-crosswalk
chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc
C++
bsd-3-clause
22,759
<a name="nn.convlayers.dok"></a> # Convolutional layers # A convolution is an integral that expresses the amount of overlap of one function `g` as it is shifted over another function `f`. It therefore "blends" one function with another. The neural network package supports convolution, pooling, subsampling and other re...
andreaskoepf/nn
doc/convolution.md
Markdown
bsd-3-clause
34,886
from djangothis.app import read_yaml, read_yaml_file, watchfile
amitu/djangothis
djangothis/__init__.py
Python
bsd-3-clause
64
<?php namespace app\models; use Yii; use app\components\EnglishBehavior; /** * This is the model class for table "dominant". * * @property integer $id * @property string $name * @property string $name_eng * * @property Main[] $mains */ class Dominant extends \yii\db\ActiveRecord { /** * @inheritdoc ...
martirosyan-kar/transproject-trash
models/Dominant.php
PHP
bsd-3-clause
1,082
// 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 CHROME_BROWSER_LOOKALIKES_LOOKALIKE_URL_SERVICE_H_ #define CHROME_BROWSER_LOOKALIKES_LOOKALIKE_URL_SERVICE_H_ #include <vector> #include "base/c...
scheib/chromium
chrome/browser/lookalikes/lookalike_url_service.h
C
bsd-3-clause
2,860
<?php /** * Description of Model Description * * @author Purvesh <ind.purvesh@gmail.com>, <@kdecom> */ // module/Admin/src/Admin/Model/StickyNotesTable.php namespace Admin\Model; use Zend\Db\Adapter\Adapter; use Zend\Db\TableGateway\AbstractTableGateway; use Zend\Db\Sql\Select; class ContactTable extends Abstra...
indpurvesh/kd-project-management-system
module/Admin/src/Admin/Model/ContactTable.php
PHP
bsd-3-clause
2,363
#include "sim/init.hh" extern "C" { void init_param_BasicPioDevice(); } EmbeddedSwig embed_swig_param_BasicPioDevice(init_param_BasicPioDevice);
silkyar/570_Big_Little
build/ARM/python/m5/internal/param_BasicPioDevice.i_init.cc
C++
bsd-3-clause
151
# coding: utf-8 # Copyright 2015 rpaas 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 unittest from rpaas import plan, storage class MongoDBStorageTestCase(unittest.TestCase): def setUp(self): self.storage = st...
vfiebig/rpaas
tests/test_storage.py
Python
bsd-3-clause
5,053
import Data.Either import Test.Hspec import qualified Text.Parsec as P import Lib import Lexer as L import Parser as P program = unlines [ "dong inflate." , "[ 3 ] value." , "[ :x | x name ] value: 9." ] lexerSpec = do describe "parseToken" $ do let parseToken = P.parse L.parseToken "(spec)" it...
rjeli/luatalk
test/Spec.hs
Haskell
bsd-3-clause
5,511
"use strict"; var SassExpandedRenderer = require('./sass-expanded-renderer'); /** * @class SassNestedRenderer * Nested style is the default Sass style, because it reflects the structure of * the document in much the same way Sass does. Each rule is indented based on * how deeply it's nested. Each property h...
sstur/haml-js
sass/renderers/sass-nested-renderer.js
JavaScript
bsd-3-clause
1,628
<!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"/> <meta name="generator" con...
NVIDIA/cutlass
docs/structcutlass_1_1transform_1_1threadblock_1_1RegularTileIterator_3_01Shape___00_01Element___00_052caec9d5bceeb59b9a13cb3338ce64d.html
HTML
bsd-3-clause
8,475
var Ipc = require('ipc'); // init states var _states = { 'scene-initializing': false, 'scene-playing': false, 'scene-paused': false, }; Editor.states = {}; function _defprop ( name, value ) { Editor.states['_'+name] = value; Object.defineProperty( Editor.states, name, { get: function () { ...
bright-sparks/fireball
canvas-studio/core/init.js
JavaScript
bsd-3-clause
1,334
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Threading; using ServiceStack.Common; using ServiceStack.Markdown; using ServiceStack.ServiceHost; using ServiceStack.WebHost.Endpoints.Formats; namespace ServiceStack.WebHost.Endpoi...
mangra/ServiceStack
src/ServiceStack/WebHost.EndPoints/Support/Markdown/MarkdownPage.cs
C#
bsd-3-clause
8,091
<?php namespace frontend\controllers; use Yii; use common\models\PgmbillingHelpers; use yii\base\InvalidParamException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; /** * Site controller */ class ReportsController extends Controller { ...
juanmcortez/systemclone_old
frontend/controllers/ReportsController.php
PHP
bsd-3-clause
1,014
<!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.sandbox.distributions.extras.ACSkewT_gen.logcdf.html
HTML
bsd-3-clause
20,753
// 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 "components/ntp_tiles/most_visited_sites.h" #include <stddef.h> #include <map> #include <memory> #include <ostream> #include <string> #include ...
scheib/chromium
components/ntp_tiles/most_visited_sites_unittest.cc
C++
bsd-3-clause
73,773
#region Using using System; using System.Web; using System.Collections.Generic; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using BlogEngine.Core; #endregion public partial class archive : BlogEngine.Core.Web.Controls.BlogBasePage { /// <summary> /// Handles the Load ev...
anhcop86/SN-Stock
Thuong_Blog_FinandLife_Original/BlogEngine/BlogEngine.NET/archive.aspx.cs
C#
bsd-3-clause
6,450
<?php namespace PhpEws\DataType; use PhpEws\DataType; /** * Definition of the AttachmentResponseShapeType type */ class AttachmentResponseShapeType extends DataType { /** * IncludeMimeContent property * * @var boolean */ public $IncludeMimeContent; /** * BodyType property ...
adamelso/php-ews
src/PhpEws/DataType/AttachmentResponseShapeType.php
PHP
bsd-3-clause
529
#include <iostream> #include <string> #include <vector> #include <map> #include "../../core/sql_queries.hpp" #include "../../core/unit_test_abstract.hpp" namespace evias { namespace core { namespace test { namespace sqlObjects { class insertStmt : public unitTest { public : insertStmt...
evias/evias
evias/tests/sqlObjects/insertStmt.hpp
C++
bsd-3-clause
2,662
#ifndef TWEBSOCKETFRAME_H #define TWEBSOCKETFRAME_H #include <QByteArray> #include <TGlobal> class T_CORE_EXPORT TWebSocketFrame { public: enum OpCode { Continuation = 0x0, TextFrame = 0x1, BinaryFrame = 0x2, Reserve3 = 0x3, Reserve4 = 0x4, Reserve5 = 0x5, ...
AmiArt/treefrog-framework
src/twebsocketframe.h
C
bsd-3-clause
2,211
<!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.sandbox.distributions.transformed.LogT...
statsmodels/statsmodels.github.io
0.6.1/generated/statsmodels.sandbox.distributions.transformed.LogTransf_gen.sf.html
HTML
bsd-3-clause
5,869
<!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
devel/generated/statsmodels.tsa.arima.model.ARIMAResults.remove_data.html
HTML
bsd-3-clause
18,979
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>FireplaceApp Tests</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> {{content-for 'head'}} {{content-for 'test...
knshetty/fireplace-app
tests/index.html
HTML
bsd-3-clause
983
<?php /** * @copyright Frederic G. Østby * @license http://www.makoframework.com/license */ namespace mako\i18n\exceptions; use RuntimeException; /** * I18n exception. */ class I18nException extends RuntimeException { }
mako-framework/framework
src/mako/i18n/exceptions/I18nException.php
PHP
bsd-3-clause
233
""" Collection of query wrappers / abstractions to both facilitate data retrieval and to reduce dependency on DB-specific API. """ from contextlib import contextmanager from datetime import date, datetime, time from functools import partial import re from typing import Iterator, Optional, Union, overload import warnin...
TomAugspurger/pandas
pandas/io/sql.py
Python
bsd-3-clause
62,333
<!DOCTYPE HTML> <html> <!-- 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. --> <head> <title>ProfilingView tests</title> <script src="base.js"></script> <style> .profiling-view { border: 1px solid blac...
CyanogenMod/android_external_chromium-trace
trace-viewer/src/profiling_view_test.html
HTML
bsd-3-clause
8,129
<?php /** * Created by PhpStorm. * User: Kate * Date: 09.02.15 * Time: 14:13 */ namespace backend\smile\controllers; use Yii; use yii\web\Controller; use yii\filters\AccessControl; use yii\helpers\VarDumper; class SmileBackendController extends Controller { public $enableCsrfValidation = false; /** ...
MaN4thes3t/smile-cms
backend/smile/controllers/SmileBackendController.php
PHP
bsd-3-clause
1,062
dart_library.library('collection/priority_queue', null, /* Imports */[ "dart_runtime/dart", 'dart/core', 'dart/collection' ], /* Lazy imports */[ ], function(exports, dart, core, collection) { 'use strict'; let dartx = dart.dartx; let PriorityQueue$ = dart.generic(function(E) { class PriorityQueue exten...
ronlobo/dev_compiler
test/codegen/expect/collection/priority_queue.js
JavaScript
bsd-3-clause
9,079
package org.hisp.dhis.system.util; /* * 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 the above co...
kakada/dhis2
dhis-support/dhis-support-system/src/test/java/org/hisp/dhis/system/util/PageRangeTest.java
Java
bsd-3-clause
3,488
<?php /** * Live.php * @author Revin Roman http://phptime.ru */ namespace resources\User\Auth; /** * Class Live * @package resources\User\Auth */ class Live extends AbstractSocial { /** * @return \resources\User\queries\UserLiveQuery */ public static function find() { return new \...
rmrevin/yii2-application
resources/User/Auth/Live.php
PHP
bsd-3-clause
510
<?php use app\models\Options; use app\models\UiListView; use yii\helpers\Html; use yii\widgets\DetailView; use yii\widgets\Pjax; $this->title = 'Payments'; ?> <div class="ui two column stackable grid"> <div class="twelve wide rounded column"> <div class="ui raised segment"> <div class="ui blac...
elevatesolutions/proverbs
_protected/views/payments/index.php
PHP
bsd-3-clause
1,370
// 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 COMPONENTS_SYNC_ENGINE_IMPL_DIRECTORY_UPDATE_HANDLER_H_ #define COMPONENTS_SYNC_ENGINE_IMPL_DIRECTORY_UPDATE_HANDLER_H_ #include <map> #include <...
endlessm/chromium-browser
components/sync/engine_impl/directory_update_handler.h
C
bsd-3-clause
4,172
<!DOCTYPE html> <html class="google mmfb" itemscope itemtype="http://schema.org/WebPage" lang="de"> <head> <meta charset="utf-8"> <script> (function(H){H.className=H.className.replace(/\bgoogle\b/,'google-js')})(document.documentElement) </script> <meta content="initial-scale=1, minimum-scale=1, w...
todor-dk/HTML-Renderer
Source/Testing/HtmlRenderer.ExperimentalApp/Data/Files/google trad/4E8E92473FAA94B19FF13700F511BD81.html
HTML
bsd-3-clause
77,916
// 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 "chrome/browser/chromeos/file_manager/fileapi_util.h" #include <stddef.h> #include <utility> #include "base/bind.h" #include "base/files/file.h...
endlessm/chromium-browser
chrome/browser/chromeos/file_manager/fileapi_util.cc
C++
bsd-3-clause
24,137
<?php /** * contentinum - accessibility websites * * LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. ...
Mikel1961/contentinum.5.1
module/Mcwork/src/Mcwork/Service/Files/TagServiceFactory.php
PHP
bsd-3-clause
3,925
package ch.codebulb.lambdaomega.abstractions; import ch.codebulb.lambdaomega.abstractions.functions.DoubleBiFunction; import ch.codebulb.lambdaomega.abstractions.functions.IntBiFunction; import ch.codebulb.lambdaomega.abstractions.functions.LongBiFunction; import java.util.function.BiConsumer; import java.util.functio...
codebulb/LambdaOmega
src/main/java/ch/codebulb/lambdaomega/abstractions/BiFunctionalI.java
Java
bsd-3-clause
3,829
// 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.init; /** * Interface that any {@link AsyncInitializationActivity} can use to interact with this delegate * during ...
was4444/chromium.src
chrome/android/java/src/org/chromium/chrome/browser/init/BrowserParts.java
Java
bsd-3-clause
2,656
// 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. package org.chromium.android_webview; import org.chromium.base.CalledByNative; import org.chromium.base.JNINamespace; /** * Delegate for handling c...
leighpauls/k2cro4
android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
Java
bsd-3-clause
903
# Copyright (C) 2011 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 conditions and the f...
was4444/chromium.src
third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
Python
bsd-3-clause
3,518
/* * File: app/view/CitiesCombo.js * */ Ext.define('TestApp.view.CitiesCombo', { extend: 'Ext.form.field.ComboBox', alias: 'widget.citiescombo', requires: [ 'TestApp.view.CitiesComboViewModel' ], viewModel: { type: 'citiescombo' }, itemId: 'educationcombo1', fieldLa...
wursta/zendtest
public/app/view/CitiesCombo.js
JavaScript
bsd-3-clause
461
import numpy as np from ._layout import Layout from ._multivector import MultiVector class ConformalLayout(Layout): r""" A layout for a conformal algebra, which adds extra constants and helpers. Typically these should be constructed via :func:`clifford.conformalize`. .. versionadded:: 1.2.0 At...
arsenovic/clifford
clifford/_conformal_layout.py
Python
bsd-3-clause
2,999
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_ANIMATION_TEST_SQUARE_INK_DROP_ANIMATION_TEST_API_H_ #define UI_VIEWS_ANIMATION_TEST_SQUARE_INK_DROP_ANIMATION_TEST_API_H_ #include <vec...
was4444/chromium.src
ui/views/animation/test/square_ink_drop_animation_test_api.h
C
bsd-3-clause
2,121
/** @file EBC VM Test protocol for test purposes. Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license ma...
pbatard/EbcDebugger
Missing/Protocol/EbcVmTest.h
C
bsd-3-clause
6,904
{% load i18n %} <a href="{% url documents_disquss %}">{% trans 'Обсуждаемые тезисы' %} ({{ disquss }})</a> <a href="{% url documents_accept %}">{% trans 'Принятые тезисы' %} ({{ accept }})</a> <a href="{% url documents_reject %}">{% trans 'Отклонённые тезисы' %} ({{ reject }})</a> <a href="{% url accounts_list %}">{% t...
m-garanin/conference
templates/experts_menu.html
HTML
bsd-3-clause
523
/*L * Copyright Oracle Inc * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details. */ package org.exist.storage.analysis; /** * This is the default class used by the fulltext indexer for * tokenizing a string into words...
NCIP/cadsr-cgmdr-nci-uk
src/org/exist/storage/analysis/SimpleTokenizer.java
Java
bsd-3-clause
10,777
// 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 <algorithm> #include <set> #include <utility> #include "chrome/browser/tab_contents/render_view_context_menu.h" #include "base/command_line...
keishi/chromium
chrome/browser/tab_contents/render_view_context_menu.cc
C++
bsd-3-clause
73,696
<?php // must be called POST validation /** * Adds target="blank" to all outbound links. This transform is * only attached if Attr.TargetBlank is TRUE. This works regardless * of whether or not Attr.AllowedFrameTargets */ class HTMLPurifier_AttrTransform_TargetBlank extends HTMLPurifier_AttrTransform { /** ...
meishichao/yii2test
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetBlank.php
PHP
bsd-3-clause
1,112
/* $NetBSD: psychovar.h,v 1.3.4.1 2000/07/18 16:23:20 mrg Exp $ */ /* * Copyright (c) 1999, 2000 Matthew R. Green * 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 ...
MarginC/kame
netbsd/sys/arch/sparc64/dev/psychovar.h
C
bsd-3-clause
4,211
<?php use yii\db\Schema; use yii\db\Migration; class m150914_084149_create_page_table extends Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB'; } ...
temirfe/oshkenesh
migrations/m150914_084149_create_page_table.php
PHP
bsd-3-clause
1,079
// Copyright (c) 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 "net/base/network_interfaces_mac.h" #include <ifaddrs.h> #include <net/if.h> #include <netinet/in.h> #include <set> #include <sys/types.h> ...
was4444/chromium.src
net/base/network_interfaces_mac.cc
C++
bsd-3-clause
7,768
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_12) on Fri Mar 20 17:29:26 CST 2009 --> <TITLE> ½Ó¿Ú cn.iaicc.smgk.business.IOptionTemplateInfoService µÄʹÓà (ÉñÃØ¹Ë¿Í¹ÜÀíÆ½Ì¨ API) </TITLE> <META ...
wangxin39/xstat
XStatAPI/docs/api/cn/iaicc/smgk/business/class-use/IOptionTemplateInfoService.html
HTML
bsd-3-clause
8,204
<?php /** * OWASP Enterprise Security API (ESAPI) * * @author Ishida, M‡rcio AndrŽ (mishida@conviso.com.br) * Created on Jan 28, 2010 */ include("header.php"); ?> <h2 align="center">Tutorial</h2> <p>This lesson shows how to use user input in a webpage without introducing scripting vulnerabilities. In the insecure...
convisoappsec/swingset-php
OutputUserInputTutorial.php
PHP
bsd-3-clause
3,613
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebServices.Models.Dtos { public class DtoStory { public Guid storyId { get; set; } public String title { get; set; } public String subtitle { get; set; } public String body { get; se...
UA-CS491-591/WashingtonHerald
Project2/WebServices/Models/Dtos/DtoStory.cs
C#
bsd-3-clause
2,859
<?php declare(strict_types=1); namespace GitList\SCM; class Branch { public function __construct(protected Repository $repository, protected string $name, protected Commit $target) { } public function getRepository(): Repository { return $this->repository; } public function getN...
klaussilveira/gitlist
src/SCM/Branch.php
PHP
bsd-3-clause
459
/* * Copyright 2013 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
cloudrain21/memcached-1
cbsasl/pwfile.c
C
bsd-3-clause
5,161