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
#include "apfSIM.h" #include <apf.h> #include <apfShape.h> #include <SimModel.h> #include <MeshSim.h> #include <SimPartitionedMesh.h> #include <gmi.h> #include <gmi_sim.h> #include <apf_simConfig.h> #include <cstdlib> #include <cassert> #include <algorithm> #ifdef USE_FIELDSIM #include "apfSIMDataOf.h" apf::Field* a...
yangf4/core
apf_sim/apfSIM.cc
C++
bsd-3-clause
22,965
package com.freebasicacc.main; import com.freebasicacc.action.SettingsAction; import com.freebasicacc.services.LogService; import com.freebasicacc.ui.MainFrame; import java.util.Locale; import java.util.Properties; import javax.swing.UIManager; import org.apache.logging.log4j.LogManager; import org.apache.logging.log...
benzyaa/javaapplication
FreeBasicAccountManagement/src/main/java/com/freebasicacc/main/Main.java
Java
bsd-3-clause
1,432
from contextlib import contextmanager from datetime import datetime from django import forms from django.conf import settings from django.contrib.auth.models import AbstractBaseUser from django.core import validators from django.db import models from django.utils import translation from django.utils.encoding import sm...
andymckay/zamboni
mkt/users/models.py
Python
bsd-3-clause
9,476
def extractVodkatranslationsCom(item): ''' Parser for 'vodkatranslations.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('Ordinary I and Extraordinary Them', 'Ordinary I and Extraordin...
fake-name/ReadableWebProxy
WebMirror/management/rss_parser_funcs/feed_parse_extractVodkatranslationsCom.py
Python
bsd-3-clause
671
<?php class ControllersController 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'; /** * @var CActiveRecord the currently loaded data...
ranvirp/viewcreater
protected/controllers/ControllersController.php
PHP
bsd-3-clause
5,582
/* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /cvs/src/src/binutils/Attic/rclex.c,v 1.1.14.1 2005/03/08 17:19:44 drow Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include <stdio.h> #include <errno.h> /* cfront 1.2 defines "c_plu...
shaotuanchen/sunflower_exp
tools/source/binutils-2.16.1/binutils/rclex.c
C
bsd-3-clause
67,235
--------------------------------------------------------------------------------------------- -- CRQ: APPLINK-25117: [GENIVI] TTS interface: SDL behavior in case HMI does not respond to -- IsReady_request or respond with "available" = false -- -- Requirement(s): APPLINK-25139:[TTS Interface] HM...
smartdevicelink/sdl_atf_test_scripts
test_scripts/API/IsReady/TTS_IsReady/ATF_TTS_IsReady_missing_SplitRPC_ABORTED.lua
Lua
bsd-3-clause
782
/*----------------------------------------------------------------------------- | Copyright (c) 2014-2015, S. Chris Colbert | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |---------------------------------------------------------...
KesterTong/phoshpor-notebook
src/core/empty.ts
TypeScript
bsd-3-clause
661
<?php class Stoa_Model_GlobalConfig { /** * Single Zend_Config instance * * @var Zend_Config */ static protected $_config = null; /** * This is a static class! * * @throws ErrorException */ protected function __construct() { throw new ErrorEx...
shevron/stoa
application/models/GlobalConfig.php
PHP
bsd-3-clause
920
#!/bin/bash function add_dependency_override() { local name=$1 local path=$2 if ! cat pubspec.yaml | grep "dependency_overrides:" ; then echo "dependency_overrides:" >> pubspec.yaml fi local pubspec=`cat pubspec.yaml | grep -v "$name: .path: "` echo "$pubspec" > pubspec.yaml if [[ -n "$path" ]]; then...
ochafik/dev_compiler
tool/dependency_overrides.sh
Shell
bsd-3-clause
1,568
// 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. // This file defines all the public base::FeatureList features for the content // module. #ifndef CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ #define CONTE...
scheib/chromium
content/public/common/content_features.h
C
bsd-3-clause
17,531
# -*- coding: utf-8 -*- from __future__ import unicode_literals from aldryn_client import forms class Form(forms.BaseForm): plugin_module = forms.CharField('Plugin module name', initial='Generic') plugin_name = forms.CharField('Plugin name', initial='Facebook Comments') plugin_template = forms.CharField(...
mishbahr/djangocms-fbcomments
aldryn_config.py
Python
bsd-3-clause
819
from django.conf.urls.defaults import * from models import Entry, Tag from django.views.generic.dates import ArchiveIndexView, DateDetailView from django.views.generic import TemplateView urlpatterns = patterns('', url(r'^/?$', ArchiveIndexView.as_view(model=Entry, date_field="published_on"), name="news-main"), ...
underbluewaters/marinemap
lingcod/news/urls.py
Python
bsd-3-clause
788
<?php // smf_import.php language file $lang[0]='نعم'; $lang[1]='لا'; $lang[2]='<center><u><strong><font size="4" face="Arial">المرحلة الاولى: المتطلبات الاولية</font></strong></u></center><br />'; $lang[3]='<center><strong><font size="2" face="Arial">هل ملفات منتديات SMF موجودة فل مجلد SMF<font color="'; $lan...
cybyd/cybyd
language/arabic/lang_smf_import.php
PHP
bsd-3-clause
6,491
/* simq.c * * Solution of simultaneous linear equations AX = B * by Gaussian elimination with partial pivoting * * * * SYNOPSIS: * * double A[n*n], B[n], X[n]; * int n, flag; * int IPS[]; * int simq(); * * ercode = simq( A, B, X, n, flag, IPS ); * * * * DESCRIPTION: * * B, X, IPS are vectors o...
huard/scipy-work
scipy/special/cephes/simq.c
C
bsd-3-clause
3,074
<?php namespace app\controllers; use Yii; use app\models\Lieu; use app\models\LieuSearch; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * LieuController implements the CRUD actions for Lieu model. */ class LieuController extends Controller...
LatifaCh/GestionInterventions
controllers/LieuController.php
PHP
bsd-3-clause
3,415
<div style="position: relative; padding: 3px;"> <div dojoAttachPoint="controlsContainer"> <input type="button" value="pause" dojoAttachPoint="startStopButton" dojoAttachEvent="onClick: togglePaused;"> </div> <div style="position: relative; width: 800px; height: 600px;" dojoAttachPoint="imagesContain...
vivo-project/Vitro
webapp/src/main/webapp/src/widget/templates/HtmlSlideShow.html
HTML
bsd-3-clause
544
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
w3ird0/stickynotes
vendor/ZF2/tests/ZendTest/Validator/Db/NoRecordExistsTest.php
PHP
bsd-3-clause
6,981
package dvb // Device delivery sytem type DeliverySystem uint32 const ( SysUndefined DeliverySystem = iota SysDVBCAnnexA SysDVBCAnnexB SysDVBT SysDSS SysDVBS SysDVBS2 SysDVBH SysISDBT SysISDBS SysISDBC SysATSC SysATSCMH SysDMBTH SysCMMB SysDAB SysDVBT2 SysTURBO SysDVBCAnnexC ) var dsn = []string{ ...
ziutek/dvb
params.go
GO
bsd-3-clause
3,005
// htonll.cc // htonll definition on some machine typedef unsigned long long uint64; inline uint64 htonll(uint64 x) { return (__extension__ ({ union { __extension__ unsigned long long int __ll; unsigned long int __l[2]; } __w, __r; if (__builtin_constant_p (x)) __r.__ll = ((((x) &...
angavrilov/olmar
elsa/in/htonll.cc
C++
bsd-3-clause
2,012
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | DBSocketT transformer which signs and issues network requests. ---------------------...
jnonce/azure-docdb
lib/Azure/DocDB/SocketMonad/DBSocketT.hs
Haskell
bsd-3-clause
5,678
/* * Copyright 2008 The Closure Compiler Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
blackoutjack/jamweaver
src/externs/w3c_dom2.js
JavaScript
bsd-3-clause
59,368
<?php /** * This file is part of the SVN-Buddy library. * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @copyright Alexander Obuhovich <aik.bold@gmail.com> * @link https://github.com/console-helpers/svn-buddy */ namespace Cons...
console-helpers/svn-buddy
src/SVNBuddy/Process/ProcessFactory.php
PHP
bsd-3-clause
1,632
<?php namespace elisdn\gii\fixture; use yii\web\AssetBundle; class GeneratorAsset extends AssetBundle { public $sourcePath = '@elisdn/gii/fixture/assets'; public $js = [ 'generator.js', ]; public $depends = [ 'yii\web\JqueryAsset', ]; }
ElisDN/yii2-gii-fixture-generator
src/GeneratorAsset.php
PHP
bsd-3-clause
275
/* Font Awesome the iconic font designed for use with Twitter Bootstrap ------------------------------------------------------- The full suite of pictographic icons, examples, and documentation can be found at: http://fortawesome.github.com/Font-Awesome/ License -------------------------------...
professorwaldir/zf2.front
public/template/css/font-awesome.css
CSS
bsd-3-clause
14,598
/* base64.h -- routines for converting to base64 * * This code is Copyright (c) 2017, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. */ int writeBase64aux(FILE *, FILE *, int); int writeBase64(const unsigned char *, size_t, unsi...
mcr/nmh
sbr/base64.h
C
bsd-3-clause
598
#!/usr/bin/env bash # This sets iptables rules that facilitate targeted dropping of connections for # the reconnect tests. iptables-restore <<RULES # Generated by iptables-save v1.4.21 on Fri Sep 29 15:37:54 2017 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 22 ...
zendframework/zend-ldap
.ci/config_iptables.sh
Shell
bsd-3-clause
910
#include "compiler.h" #include "strres.h" #include "dosio.h" #include "cpucore.h" #include "pccore.h" #include "iocore.h" #include "debugsub.h" void debugwriteseg(const OEMCHAR *fname, const descriptor_t *sd, UINT32 addr, UINT32 size); void debugpageptr(UINT32 addr); #if defined(MACOS) #define CRLITERAL ...
histat/dc-np2
debugsub386.c
C
bsd-3-clause
6,495
/*================================================== * Exhibit Utility Functions *================================================== */ Exhibit.Util = {}; /** * Round a number n to the nearest multiple of precision (any positive value), * such as 5000, 0.1 (one decimal), 1e-12 (twelve decimals), or 1024 (if you'...
myGrid/methodbox
public/javascripts/exhibit/webapp/api/scripts/util/util.js
JavaScript
bsd-3-clause
2,813
import logging from django.http import HttpResponse from receiver.submitresponse import SubmitResponse def duplicate_attachment(way_handled, additional_params): '''Return a custom http response associated the handling of the xform. In this case, telling the sender that they sub...
icomms/wqmanager
apps/receiver/__init__.py
Python
bsd-3-clause
1,031
// 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 #ifndef FWL_TARGETIMP_H_ #define FWL_TARGETIMP_H_ #include "core/include/fxcr...
andoma/pdfium
xfa/src/fwl/src/core/include/fwl_targetimp.h
C
bsd-3-clause
739
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core.exceptions import ValidationError from django.test import TestCase from models import Student, StudyGroup, Task, Lab, Subject, GroupSubject class PortalTest(TestCase): def setUp(self): self.study_group1 = StudyGroup.objects....
vinneyto/lab-portal
portal/test_models.py
Python
bsd-3-clause
2,587
<!DOCTYPE html><!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE The complete set of authors may be found at http://polymer.github.io/AUTHORS The complete set of contributors may be found at...
fuzzdota/chromeapp-native-messaging-sample
app/bower_components/iron-list/test/basic.html
HTML
bsd-3-clause
1,206
<!-- ------------------------------ NUEVA DE INTER CONSULTAS --------------------------------- --> {% extends 'inter_consultas/_interconsultas_base.html' %} {% load crispy_forms_tags %} {% block ic_volver %} <!-- link Volver --> <a href="{% url 'inter_consultas:list' historia.id %}"><i class="fa fa-reply...
btenaglia/hpc-historias-clinicas
hpc-historias-clinicas/templates/inter_consultas/interconsultas_form.html
HTML
bsd-3-clause
1,008
package net.humandoing.jarindexer; import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.reflect.Method; import java.sql.*; import java.util.ArrayList; /** * User: danwin * Date: Jun 22, 2005 * Time: 9:25:25 AM */ public class Database { public static final String D...
humandoing/JarIndexer
src/net/humandoing/jarindexer/Database.java
Java
bsd-3-clause
11,146
import { fireEvent, render, screen } from "@testing-library/angular" import { Store } from "../../state/store/store" import { sortingOrderAscendingSelector } from "../../state/store/appSettings/sortingOrderAscending/sortingOrderAscending.selector" import { SortingButtonComponent } from "./sortingButton.component" impo...
MaibornWolff/codecharta
visualization/app/codeCharta/ui/sortingButton/sortingButton.component.spec.ts
TypeScript
bsd-3-clause
1,291
/*! * Copyright (c) 2016 by Contributors * \file input_split_shuffle.h * \brief base class to construct input split with global shuffling * \author Yifeng Geng */ // dmlc-core/include/dmlc/input_split_shuffle.h #ifndef BUBBLEFS_UTILS_DMLC_INPUT_SPLIT_SHUFFLE_H_ #define BUBBLEFS_UTILS_DMLC_INPUT_SPLIT_SHUFFLE_H_...
mengjiahao/bubblefs
src/utils/dmlc_input_split_shuffle.h
C
bsd-3-clause
6,088
// Copyright 2015-present 650 Industries. All rights reserved. package host.exp.exponent.utils; import android.support.test.espresso.matcher.BoundedMatcher; import android.view.View; import org.hamcrest.Description; import org.hamcrest.Matcher; import static org.hamcrest.Matchers.is; public class ExponentMatchers ...
jolicloud/exponent
android/app/src/androidTest/java/host/exp/exponent/utils/ExponentMatchers.java
Java
bsd-3-clause
1,113
package abi39_0_0.expo.modules.medialibrary; import android.content.Context; import android.database.Cursor; import android.media.MediaScannerConnection; import android.net.Uri; import android.os.AsyncTask; import android.provider.MediaStore; import java.io.File; import java.io.IOException; import java.util.ArrayList...
exponent/exponent
android/versioned-abis/expoview-abi39_0_0/src/main/java/abi39_0_0/expo/modules/medialibrary/AddAssetsToAlbum.java
Java
bsd-3-clause
4,133
import Test.Hspec import Control.Comonad.Cofree.Cofreer.Spec import Control.Monad.Free.Freer.Spec import GL.Shader.Spec import UI.Layout.Spec main :: IO () main = hspec . parallel $ do describe "Control.Comonad.Cofree.Cofreer.Spec" Control.Comonad.Cofree.Cofreer.Spec.spec describe "Control.Monad.Free.Freer.Spec" C...
robrix/ui-effects
test/Spec.hs
Haskell
bsd-3-clause
450
package org.infernus.idea.checkstyle.checker; import com.puppycrawl.tools.checkstyle.Checker; import com.puppycrawl.tools.checkstyle.api.Configuration; /** * Key for checker cache. */ class CachedChecker { /** * We cache purely to ignore repeated requests in a multi-file scan. Hence we'll treat the cached...
CedricGatay/Checkstyle-IDEA-no-logger-dependency
src/main/java/org/infernus/idea/checkstyle/checker/CachedChecker.java
Java
bsd-3-clause
1,642
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2007 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
certik/sympy-oldcore
sympy/plotting/pyglet/window/__init__.py
Python
bsd-3-clause
54,133
from .working_gif import working_encoded from .splash import SplashScreen, Spinner, CheckProcessor from .multilistbox import MultiListbox from .utils import set_widget_state, set_binding, set_button_action, set_tab_order from .tooltip import ToolTip
rutherford/tikitiki
tikitiki/__init__.py
Python
bsd-3-clause
255
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """The freesurfer module provides basic functions for interfacing with freesurfer tools. Change directory to provide relative paths for doctests >>> import os >>> filepath = os.path.dirname( os...
fprados/nipype
nipype/interfaces/freesurfer/model.py
Python
bsd-3-clause
41,958
--- status: publish tags: - fredericiana - image - meme - search - web - websights published: true title: Image Search Meme type: post meta: _edit_last: "2" layout: post --- This is a <a href="http://marshmallowfreya.blogspot.com/2008/08/image-search-meme.html">meme</a> I borrowed from <a href="http://marshmallowf...
fwenzel/fredericiana
site/_posts/2008-08-29-image-search-meme.md
Markdown
bsd-3-clause
4,911
# Overview `lcobucci/jwt` is a framework-agnostic PHP library that allows you to issue, parse, and validate JSON Web Tokens based on the [RFC 7519]. ## Support If you're having any issue to use the library, please [create a GH issue]. You can also reach us and other users of this library via our [Gitter channel]. #...
lcobucci/jwt
docs/index.md
Markdown
bsd-3-clause
628
package org.wquery.update.parsers import org.wquery.model.Relation import org.wquery.query.parsers.WQueryParsers import org.wquery.update._ import org.wquery.update.exprs._ trait WUpdateParsers extends WQueryParsers { override def statement = ( update | merge | super.statement ) def update = "upda...
marekkubis/wquery
src/main/scala/org/wquery/update/WUpdateParsers.scala
Scala
bsd-3-clause
1,111
/* $KAME: altq.h,v 1.10 2003/07/10 12:07:47 kjc Exp $ */ /* * Copyright (C) 1998-2003 * Sony Computer Science Laboratories 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. Redist...
MarginC/kame
kame/sys/altq/altq.h
C
bsd-3-clause
6,519
<?php namespace CodeEmailMKT\Infrastructure\View\Twig; use Twig_Environment as TwigEnvironment; use \Zend\Expressive\Twig\TwigRenderer as ZendTwigRenderer; /** * Template implementation bridging league/plates */ class TwigRenderer extends ZendTwigRenderer { /** * @return TwigEnvironment */ public...
yuri-calabrez/code-education-php7
src/CodeEmailMKT/Infrastructure/View/Twig/TwigRenderer.php
PHP
bsd-3-clause
407
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\LocationSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-...
shahid80/EWay
modules/admin/views/locations/_search.php
PHP
bsd-3-clause
1,482
class DocSearchInterface extends ReactSingleAjax { constructor(props) { super(props); let urlP = getURLParams(); this.state = { termKind: urlP.termKind || "lemmas", query: urlP.query || "", operation: urlP.operation || "OR" }; this.init(); ...
jjfiv/coop
front_html/src/docSearch.js
JavaScript
bsd-3-clause
2,090
/* * * malloc_wrappers.c * * Author: Markku Rossi <mtr@iki.fi> * * Copyright (c) 2005-2016 Markku Rossi. * * See the LICENSE file for the details on licensing. * * Wrappers for system's memory allocation routines. * */ #include "piincludes.h" #include "pimalloc.h" #include <dlfcn.h> #include <signal.h> /...
markkurossi/stacktrace
malloc_wrappers.c
C
bsd-3-clause
4,274
-- | A name binding context, or environment. module Hpp.Env where import Hpp.Types (Macro) -- | A macro binding environment. type Env = [(String, Macro)] -- | Delete an entry from an association list. deleteKey :: Eq a => a -> [(a,b)] -> [(a,b)] deleteKey k = go where go [] = [] go (h@(x,_) : xs) = if x == ...
bitemyapp/hpp
src/Hpp/Env.hs
Haskell
bsd-3-clause
731
// FUSE service loop, for servers that wish to use it. package fs // import "bazil.org/fuse/fs" import ( "encoding/binary" "fmt" "hash/fnv" "io" "log" "reflect" "runtime" "strings" "sync" "time" "golang.org/x/net/context" ) import ( "bytes" "bazil.org/fuse" "bazil.org/fuse/fuseutil" ) const ( attrV...
keybase/kbfs
vendor/bazil.org/fuse/fs/serve.go
GO
bsd-3-clause
38,731
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. * @package Nette\Security */ /** ...
xlcteam/scoreBoard-php
libs/Nette/Security/Permission.php
PHP
bsd-3-clause
21,685
/* Blue Button */ .btn-blue{ background:#80a9da; background:-webkit-gradient(linear,left top,left bottom,color-stop(#80a9da,0),color-stop(#96c56f,1)); background:-webkit-linear-gradient(top, #80a9da 0%, #6f97c5 100%); background:-moz-linear-gradient(top, #80a9da 0%, #6f97c5 100%); background:-o-lin...
ryankeeter/Orchard-Theme
Themes/AdvancedSimplicity/Styles/Buttons.css
CSS
bsd-3-clause
12,893
#pragma once #include "cutlass/cutlass.h" #include "cutlass/conv/convolution.h" #include "cutlass/conv/conv2d_problem_size.h" #include "cutlass/conv/conv3d_problem_size.h" #include "cutlass/layout/tensor.h" #include "cutlass/layout/matrix.h" #include "cutlass/tensor_ref.h" namespace cutlass { namespace epilogue { na...
NVIDIA/cutlass
include/cutlass/epilogue/threadblock/output_iterator_parameter.h
C
bsd-3-clause
2,912
<div class="" > <div class="card blue-grey darken-1"> <div class="card-content white-text"> <a href="post/{{post.slug}}"><span class="card-title">{{post.title}}</span></a> <div ng-bind-html="post.content | trustHtmlExample"></div> </div> <div class="card-action"> <a href...
bhargav175/materialhtml5
assets/js/angularTemplates/post.html
HTML
bsd-3-clause
396
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.7.3 build: 3.7.3 */ YUI.add("lang/console_en",function(e){e.Intl.add("console","en",{title:"Log Console",pause:"Pause",clear:"Clear",collapse:"Collapse",expand:"Expand"})},...
giros/alloy-ui
build/console/lang/console_en.js
JavaScript
bsd-3-clause
330
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkCanvas.h" #include "SkDrawLooper.h" #include "SkTypes.h" #include "Test.h" /* * Subclass of looper that just draws once, with an offset in X. */ class TestLoop...
sgraham/nope
third_party/skia/tests/QuickRejectTest.cpp
C++
bsd-3-clause
3,302
// // Copyright 2016 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Context11: // D3D11-specific functionality associated with a GL Context. // #include "libANGLE/renderer/d3d/d3d11/Context11.h" #include "...
endlessm/chromium-browser
third_party/angle/src/libANGLE/renderer/d3d/d3d11/Context11.cpp
C++
bsd-3-clause
29,325
<?php namespace CaseStoreBundle\Command; use CaseStoreBundle\Action\CaseStudyPurgeAction; use CaseStoreBundle\Entity\CaseStudy; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Componen...
CaseStore/CaseStore-Core
src/CaseStoreBundle/Command/PurgeCaseStudyCommand.php
PHP
bsd-3-clause
2,217
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #ifndef SPARROW_DFTB_REPULSIONPARAMETERS_H #define SPARROW_DFTB_REPULSIONPARAMETERS_H #include <vecto...
qcscine/sparrow
src/Sparrow/Sparrow/Implementations/Dftb/Utils/RepulsionParameters.h
C
bsd-3-clause
815
// 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 BLIMP_CLIENT_CORE_SESSION_CLIENT_NETWORK_COMPONENTS_H_ #define BLIMP_CLIENT_CORE_SESSION_CLIENT_NETWORK_COMPONENTS_H_ #include <memory> #include...
danakj/chromium
blimp/client/core/session/client_network_components.h
C
bsd-3-clause
2,312
// 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 COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_ #define COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_ #include <string> #include <utility...
endlessm/chromium-browser
components/arc/test/fake_notifications_instance.h
C
bsd-3-clause
2,117
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.0.0.11832 (http://hl7.org/fhir/StructureDefinition/TestScript) on 2017-03-22. # 2017, SMART Health IT. from . import domainresource class TestScript(domainresource.DomainResource): """ Describes a set of tests. A structured set of...
all-of-us/raw-data-repository
rdr_service/lib_fhir/fhirclient_3_0_0/models/testscript.py
Python
bsd-3-clause
50,708
<?php use yii\helpers\Html; use kartik\detail\DetailView; /* @var $this yii\web\View */ /* @var $model backend\models\TrainingClassStudentAttendance */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Training Class Student Attendances', 'url' => ['index']]; $this->params['breadcrumbs'][] = $...
hscstudio/osyawwal
backend/modules/pusdiklat/execution/views/buff/training-class-student-attendance/view.php
PHP
bsd-3-clause
1,773
import shelve, time, random def main(connection, info) : """This is the old plugin""" #"""Run every time a message is seen""" if info["message"].startswith("\x01ACTION") and info["message"].endswith("\x01") : on_ACTION(connection, info) return None # if info["sender"] == "OperServ" : ...
sonicrules1234/sonicbot
oldplugins/on_PRIVMSG.py
Python
bsd-3-clause
10,821
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_loop_44.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate usin...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s08/CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_loop_44.c
C
bsd-3-clause
3,389
<?php namespace backend\controllers\property; use Yii; use common\models\property\LandAllowanceType; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * LandAllowanceController implements the CRUD actions for LandAllowanceType model. */ clas...
hurduring/smolyakoff
backend/controllers/property/LandAllowanceController.php
PHP
bsd-3-clause
3,189
<?php $config = [ 'id' => 'app', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@admin-views' => '@app/modules/admin/views' ], 'components' => [ 'assetManager' => [ 'forceCopy' => false, // Note: May degrade performance with Do...
myorb/pmyapp
config/main.php
PHP
bsd-3-clause
5,608
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribution...
sxyseo/openbiz
ui/vendor/ace/ace/mode/mushcode.js
JavaScript
bsd-3-clause
4,091
// 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 <windows.h> #include <wincrypt.h> #include <string> #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/f...
codenote/chromium-test
chrome/browser/password_manager/password_store_win_unittest.cc
C++
bsd-3-clause
14,148
package client const walletAPIDoc = `"keybase wallet api" provides a JSON API to the Keybase wallet. EXAMPLES: List the balances in all your accounts: {"method": "balances"} See payment history in an account: {"method": "history", "params": {"options": {"account-id": "GDUKZH6Q3U5WQD4PDGZXYLJE3P76BDRDWPSALN4...
keybase/client
go/client/wallet_api_doc.go
GO
bsd-3-clause
2,884
# $FreeBSD: src/sys/modules/asr/Makefile,v 1.1.2.1 2000/09/21 20:33:53 msmith Exp $ .PATH: ${.CURDIR}/../../dev/asr KMOD = asr SRCS = asr.c SRCS += opt_scsi.h opt_cam.h opt_asr.h SRCS += device_if.h bus_if.h pci_if.h .include <bsd.kmod.mk>
MarginC/kame
freebsd4/sys/modules/asr/Makefile
Makefile
bsd-3-clause
249
/** * Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> */ package akka.pattern import java.util.concurrent.atomic.{ AtomicInteger, AtomicLong, AtomicBoolean } import akka.AkkaException import akka.actor.Scheduler import akka.util.Unsafe import scala.util.control.NoStackTrace import java.util.concurren...
jmnarloch/akka.js
akka-js-actor/jvm/src/main/scala/akka/pattern/CircuitBreaker.scala
Scala
bsd-3-clause
17,357
package usb // DO NOT EDIT THIS FILE. GENERATED BY xgen. import ( "bits" "mmio" "unsafe" "stm32/o/f411xe/mmap" ) type USB_OTG_Device_Periph struct { DCFG RDCFG DCTL RDCTL DSTS RDSTS _ uint32 DIEPMSK RDIEPMSK DOEPMSK RDOEPMSK DAINT RDAINT DAINTMSK RDAINTMSK _ ...
ziutek/emgo
egpath/src/stm32/o/f411xe/usb/xgen_usb_otg_device.go
GO
bsd-3-clause
24,326
<!DOCTYPE html> <html lang="en"> <head> <title>web-conv</title> <meta charset="utf-8"> <link rel="stylesheet" href="../../weblinks/apg-lib-min.css"> </head> <body onload="onload()"> <h1>Test the bundled apg API</h1> <p>Have a look at "apg-api.html" & "apg-api.js" to see how it is used.</p> <p>Click on "generate" to gen...
ldthomas/apg-js2-examples
apg-api/webpage/apg-api.html
HTML
bsd-3-clause
1,315
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Class template bulirsch_stoer_dense_out</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="....
stan-dev/math
lib/boost_1.75.0/libs/numeric/odeint/doc/html/boost/numeric/odeint/bulirsch_stoer_dense_out.html
HTML
bsd-3-clause
56,058
Whitehole Commons ================= Whitehole Commons consist in a set of descriptions of binary format, expressed in a neutral way. They are typically meant to be used as input of generators, for decoding or encoding corresponding binary streams. The following binary formats are described: - x86/64 assembl...
BenoitPerrot/whitehole-commons
README.md
Markdown
bsd-3-clause
346
<?php namespace backend\models\search; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\TipoInmueble; /** * TipoInmuebleSearch represents the model behind the search form about `common\models\TipoInmueble`. */ class TipoInmuebleSearch extends TipoInmueble { /** * @inheritdoc...
plemosb7/tallerphp2016
backend/models/search/TipoInmuebleSearch.php
PHP
bsd-3-clause
1,507
<?php defined('SYSPATH') OR die('No direct access allowed.'); /** * Codebench — Squeeze every millisecond out of those regexes! * * @author Geert De Deckere <geert@idoe.be> * @license BSD License */ abstract class Codebench_Core { /** * Some optional explanatory comments about the benchmark file. * HT...
isaiahdw/codebench
libraries/Codebench.php
PHP
bsd-3-clause
7,406
import math import random import onmt from torch.autograd import Variable class Dataset(object): def __init__(self, srcData, tgtData, batchSize, cuda, volatile=False): self.src = srcData if tgtData: self.tgt = tgtData assert(len(self.src) == len(self.tgt)) else: ...
bmccann/examples
OpenNMT/onmt/Dataset.py
Python
bsd-3-clause
1,722
Engine.Route = { to: function(path){ return Engine.Config.url + path; } };
AppSharing/casa-outlet
src/engine/route.js
JavaScript
bsd-3-clause
82
// 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_DOWNLOAD_DOWNLOAD_QUERY_H_ #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_QUERY_H_ #include <map> #include <string> #include <vector...
Bysmyyr/chromium-crosswalk
chrome/browser/download/download_query.h
C
bsd-3-clause
5,995
#import <UIKit/UIKit.h> @interface ViewController : UIViewController<UIImagePickerControllerDelegate, UINavigationControllerDelegate> @end
Ushio/MetalFluidDemo
FluidDemo/FluidDemo/ViewController.h
C
bsd-3-clause
142
package main import ( "crypto/md5" "flag" "fmt" "log" "os" "runtime/pprof" "strconv" "sync" ) var prefix = []byte{0x6f, 0x6a, 0x76, 0x74, 0x70, 0x75, 0x76, 0x67} var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file") func find(l int) { cg := gen(1000000000) c1 := hash(cg) c2 := hash(c...
Aneurysm9/advent
2016/day5/day5.go
GO
bsd-3-clause
2,151
<?php /** * Copyright (c) 2011, Jeremy Brown * 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 conditio...
notmessenger/ZF-REST-API
library/App/Engine/View/Helper/PutJs.php
PHP
bsd-3-clause
4,667
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..utils import AffineInitializer def test_AffineInitializer_inputs(): input_map = dict(args=dict(argstr='%s', ), dimension=dict(argstr='%s', position=0, usedefault=True, ), environ=dict(nohas...
mick-d/nipype
nipype/interfaces/ants/tests/test_auto_AffineInitializer.py
Python
bsd-3-clause
1,633
<!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"/> <title>ESAPI for PHP Core: Data Fields</title> <link href="tabs.css" rel="styl...
convisoappsec/swingset-php
documentation/esapi4php-core-1.0a-html/functions_0x6c.html
HTML
bsd-3-clause
4,693
<!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_1gemm_1_1device_1_1DefaultGemmConfiguration_3_01arch_1_1OpClassTensorOp_00_01arc7291f9c01fb5d713dd4b081092756e21.html
HTML
bsd-3-clause
10,229
#include <stdbool.h> #include <stdio.h> #include <letmecreate/click/fan.h> #include <letmecreate/core/i2c.h> /* I2C address of EMC2301 */ #define EMC2301_ADDRESS (0x2F) /* Register addresses */ #define EMC2301_PRODUCT_ID_REG (0xFD) #define EMC2301_MANUFACTURER_ID_REG (0xFE) #define EMC2301_F...
francois-berder/LetMeCreate
src/click/fan.c
C
bsd-3-clause
2,622
// 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 "sky/engine/config.h" #include "sky/engine/tonic/dart_gc_controller.h" #include "base/trace_event/trace_event.h" #include "dart/runtime/include/...
collinjackson/mojo
sky/engine/tonic/dart_gc_controller.cc
C++
bsd-3-clause
1,427
name = "neurogenesis"
juliusf/Neurogenesis
neurogenesis/__init__.py
Python
bsd-3-clause
22
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.coderedrobotics.libs; /** * * @author laptop */ public class DerivativeCalculator { private double derivative; private double oldValue; private long oldTime; public double calculate(doub...
CodeRed2771/Sally
src/com/coderedrobotics/libs/DerivativeCalculator.java
Java
bsd-3-clause
580
from binding import * from src.namespace import llvm from src.Value import MDNode from src.Instruction import Instruction, TerminatorInst llvm.includes.add('llvm/Transforms/Utils/BasicBlockUtils.h') SplitBlockAndInsertIfThen = llvm.Function('SplitBlockAndInsertIfThen', ptr(Ter...
llvmpy/llvmpy
llvmpy/src/Transforms/Utils/BasicBlockUtils.py
Python
bsd-3-clause
767
from __future__ import absolute_import import mock import os from django.conf import settings from sentry_sdk import Hub TEST_ROOT = os.path.normpath( os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir, "tests") ) def pytest_configure(config): # HACK: Only needed for testin...
mvaled/sentry
src/sentry/utils/pytest/sentry.py
Python
bsd-3-clause
8,427
<!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 (1.8.0_40) on Sun Mar 22 12:12:00 PDT 2015 --> <title>Qpstest.StreamingOutputCallRequest.Builder (grpc-benchmarks 0.1.0-SNAPSHOT API)</title> <meta na...
ashishbende/Lab2
benchmarks/build/docs/javadoc/grpc/testing/Qpstest.StreamingOutputCallRequest.Builder.html
HTML
bsd-3-clause
62,643
/* Sirikata Network Utilities * StreamListener.hpp * * Copyright (c) 2009, Daniel Reiter Horn * 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 ...
robertkhamilton/sirikata
libcore/src/network/StreamListener.hpp
C++
bsd-3-clause
2,576
<?php /** * KumbiaPHP web & app Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * * @category KumbiaPHP * @package Helpers * * @copyright Copyright (c) 2005 - 2020 KumbiaPHP Team (http://www.kumbiaphp.com) * @license...
KumbiaPHP/KumbiaPHP
core/extensions/helpers/model_form.php
PHP
bsd-3-clause
4,151