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
# Batch L-BFGS This document provides a walkthrough of the L-BFGS example. To run the application, first install these dependencies. - SciPy - [TensorFlow](https://www.tensorflow.org/) Then from the directory `ray/examples/lbfgs/` run the following. ``` source ../../setup-env.sh python driver.py ``` Optimization i...
amplab/ray
examples/lbfgs/README.md
Markdown
bsd-3-clause
5,136
/* * Copyright (c) Andrey Kuznetsov. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * this list of conditions...
andronix3/ICC
com/smartg/icc/Curve.java
Java
bsd-3-clause
4,675
/* $NetBSD: iomd_io.c,v 1.1 2001/10/05 22:27:41 reinoud Exp $ */ /* * Copyright (c) 1997 Mark Brinicombe. * Copyright (c) 1997 Causality Limited. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * a...
MarginC/kame
netbsd/sys/arch/arm/iomd/iomd_io.c
C
bsd-3-clause
4,622
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE476_NULL_Pointer_Dereference__int_18.c Label Definition File: CWE476_NULL_Pointer_Dereference.label.xml Template File: sources-sinks-18.tmpl.c */ /* * @description * CWE: 476 NULL Pointer Dereference * BadSource: Set data to NULL * GoodSource: Initialize da...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE476_NULL_Pointer_Dereference/CWE476_NULL_Pointer_Dereference__int_18.c
C
bsd-3-clause
2,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="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
DweebsUnited/CodeMonkey
resources/hemesh/ref/html/classwblut_1_1geom_1_1_w_b___a_a_b_b_tree2_d_1_1_entry_order.html
HTML
bsd-3-clause
8,115
package org.jadice.recordmapper.impl; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org...
levigo/recordmapper
src/main/java/org/jadice/recordmapper/impl/RecordMapping.java
Java
bsd-3-clause
6,043
// <copyright file="HttpServiceConfigIPListenParam.cs" company="Salesforce.com"> // // Copyright (c) 2014 Salesforce.com, 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: // // Redistr...
forcedotcom/windowsphonedriver
src/WindowsPhoneDriverServer/Internal/HttpServiceConfigIPListenParam.cs
C#
bsd-3-clause
2,309
package sge.bounds; import org.junit.Assert; import org.junit.Test; import sge.math.Vector2; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Test Axis Aligned Bounding Box. */ public class Circle_Test { // Basic Circles ...
stuhacking/SGEngine
src/test/java/sge/bounds/Circle_Test.java
Java
bsd-3-clause
2,492
############################################################################# # Makefile for building ../../../../../lib/libta_libc_csd.a # Generated by tmake; # Project: ta_libc/ta_libc # Template: lib ############################################################################# ####### Compiler, tools ...
d-s-x/ta-lib
c/make/csd/linux/g++/ta_libc/Makefile
Makefile
bsd-3-clause
58,360
--- tags: epidemiologi title: Fattiga och rika author: Karl Pettersson lang: sv --- Nu i veckan rapporterades att det dör fler människor av cancer än av cirkulationssjukdom "bland medelålders människor i höginkomstländer" [@Larsson190903]. Det bygger på en artikel som publicerats i Lancet inom ramen för studien PURE [...
klpn/static-dust
posts/2019-09-08-fattig.md
Markdown
bsd-3-clause
8,272
#!/bin/bash set -e export DISPLAY=:99.0 sh -e /etc/init.d/xvfb start npm run clean npm run build npm test
jupyter/jupyter-js-phosphide
scripts/travis_script.sh
Shell
bsd-3-clause
107
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
shehzan10/arrayfire
src/backend/opencl/kernel/gradient.hpp
C++
bsd-3-clause
3,153
<!--===- documentation/ParserCombinators.md 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 --> ## Concept The Fortran language recognizer here can be classifi...
endlessm/chromium-browser
third_party/llvm/flang/documentation/ParserCombinators.md
Markdown
bsd-3-clause
8,353
/* BFD back-end for OpenRISC 1000 COFF binaries. Copyright 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Ivan Guzvinec <ivang@opencores.org> This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it unde...
shaotuanchen/sunflower_exp
tools/source/binutils-2.16.1/bfd/coff-or32.c
C
bsd-3-clause
19,490
/* Copyright (c) 2011, Heath Borders 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 follow...
hborders/HBCollections
Source/NSSet+HBCollections.h
C
bsd-3-clause
1,603
<?php /** * Created by PhpStorm. * User: Marcos * Date: 07/09/2015 * Time: 19:50 */ namespace CodeOrders\V1\Rest\Users; use Zend\Db\ResultSet\HydratingResultSet; use Zend\Db\TableGateway\TableGateway; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\Stdlib\Hydr...
marcoscg/CodeOrder
module/CodeOrders/src/CodeOrders/V1/Rest/Users/UsersRepositoryFactory.php
PHP
bsd-3-clause
934
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Alkalyne/webrtctrunk
modules/congestion_controller/probing_interval_estimator_unittest.cc
C++
bsd-3-clause
3,310
(function($) { $.extend({ tablesorterPager: new function() { function updatePageDisplay(c) { var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages); } function setPageSize(table,size) { var c = table.config; c.size = size; c.totalPages = Math.ceil(c.totalRows ...
lincolnloop/django-mineral
mineral/static/mineral/js/plugins/jquery.tablesorter.pager.js
JavaScript
bsd-3-clause
4,953
201705231015 ## Distributed Tracing: How We Got Here and Where We're Going Ben Sigelman Monitoring must tell stories the story must say why things are happening Open Tracing
kayiwa/monitorama17
day_two/201705231015sigelman/notes.md
Markdown
bsd-3-clause
179
/* * Copyright (c) 2008, intarsys consulting GmbH * * 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...
maximumspatium/iscwt
src/main/java/de/intarsys/cwt/font/truetype/PACKAGE.java
Java
bsd-3-clause
1,969
// 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 "ppapi/proxy/ppapi_command_buffer_proxy.h" #include <utility> #include "base/numerics/safe_conversions.h" #include "ppapi/proxy/ppapi_messa...
was4444/chromium.src
ppapi/proxy/ppapi_command_buffer_proxy.cc
C++
bsd-3-clause
10,204
from django.http import HttpResponse from django.template import Template def admin_required_view(request): if request.user.is_staff: return HttpResponse(Template('You are an admin').render({})) return HttpResponse(Template('Access denied').render({}))
bfirsh/pytest_django
tests/views.py
Python
bsd-3-clause
270
/* * Copyright (c) 2004-07 Applied Micro Circuits Corporation. * Copyright (c) 2004-05 Vinod Kashyap. * 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 ...
dcui/FreeBSD-9.3_kernel
sys/dev/twa/tw_osl_ioctl.h
C
bsd-3-clause
3,754
/*************************************************************************** * * Copyright (c) 2014 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistrib...
jlecoeur/Firmware
src/modules/navigator/loiter.h
C
bsd-3-clause
2,699
using System; using NServiceKit.DataAnnotations; using NServiceKit.OrmLite.Firebird.DbSchema; namespace NServiceKit.OrmLite.Firebird { /// <summary>A procedure.</summary> public class Procedure : IProcedure { /// <summary> /// Initializes a new instance of the NServiceKit.OrmLite.Firebird.Procedu...
NServiceKit/NServiceKit.OrmLite
src/NServiceKit.OrmLite.Firebird/FbSchema/Procedure.cs
C#
bsd-3-clause
1,217
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_file_system_11.c Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml Template File: sources-sink-11.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * Good...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_file_system_11.c
C
bsd-3-clause
4,354
/* ///////////////////////////////////////////////////////////////////////// * File: test/unit/test.unit.bec.COMErrorObject/implicit_link.cpp * * Purpose: Implicit link file for the test.unit.bec.COMErrorObject project. * * Created: 2nd August 2009 * Updated: 10th January 2011 * * Sta...
zvelo/pantheios
test/unit/test.unit.bec.COMErrorObject/implicit_link.cpp
C++
bsd-3-clause
1,120
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <title>Flights Over TO</title> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script> <script type="text/javascript"> var Toronto = new google.maps.La...
eddiecorrigall/flight-relayd
sse-demo2/index.html
HTML
bsd-3-clause
2,680
/* * Copyright (c) 1997 - 2015 * Actelion Pharmaceuticals Ltd. * Gewerbestrasse 16 * CH-4123 Allschwil, Switzerland * * 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 sour...
egonw/openchemlib
src/com/actelion/research/chem/IsotopeHelper.java
Java
bsd-3-clause
113,708
from django.db import models from django.contrib.auth.models import User from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ from press_links.enums import STATUS_CHOICES, LIVE_STATUS, DRAFT_STATUS from django.utils import timezone from parler.models import TranslatableM...
iberben/django-press-links
press_links/models.py
Python
bsd-3-clause
2,904
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
crossdev/avantpack
module/Application/config/module.config.php
PHP
bsd-3-clause
3,538
var app = angular.module('questionnaireApp', []) .controller('newQuestionController', ['$scope', function ($scope) { $scope.options = window.options || {}; var questionOptions = window.questionOptions; $scope.knowOptions = 'custom'; var clickCustomCount = 0; $scope.answerTyp...
eJRF/ejrf
questionnaire/static/js/ng-client/new-question.js
JavaScript
bsd-3-clause
2,809
// // 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. // // VertexArrayVk.cpp: // Implements the class methods for VertexArrayVk. // #include "libANGLE/renderer/vulkan/VertexArrayVk.h" #include "c...
endlessm/chromium-browser
third_party/angle/src/libANGLE/renderer/vulkan/VertexArrayVk.cpp
C++
bsd-3-clause
40,492
{-# LANGUAGE ViewPatterns #-} module Plunge.Analytics.C2CPP ( lineAssociations ) where import Data.List import Plunge.Types.PreprocessorOutput -- Fill in any gaps left by making associations out of CPP spans. lineAssociations :: [Section] -> [LineAssociation] lineAssociations ss = concat $ snd $ mapAccumL fillGap...
sw17ch/plunge
src/Plunge/Analytics/C2CPP.hs
Haskell
bsd-3-clause
1,653
# Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). import json from django.core.urlresolvers import reverse from django.test import TestCase from django.test.client import Client from huxley.accounts.models import User f...
jmosky12/huxley
huxley/api/tests/test_user.py
Python
bsd-3-clause
17,518
<?php namespace frontend\controllers; use common\models\Order; use common\models\OrderItem; use common\models\Product; use yz\shoppingcart\ShoppingCart; use yii\web\Controller; class CartController extends Controller { public function actionAdd($id) { $product = Product::findOne($id); if ($pr...
kantjessica/tryyii
frontend/controllers/CartController.php
PHP
bsd-3-clause
2,748
from django.db import models class Entry(models.Model): title = models.CharField(max_length=200) date = models.DateTimeField() class Meta: ordering = ('date',) def __unicode__(self): return self.title def get_absolute_url(self): return "/blog/%s/" % self.pk ...
bfirsh/syndication-view
syndication/tests/models.py
Python
bsd-3-clause
486
"use strict"; var fluid = require("infusion"); var gpii = fluid.registerNamespace("gpii"); fluid.registerNamespace("gpii.oauth2"); fluid.defaults("gpii.oauth2.userService", { gradeNames: ["fluid.eventedComponent", "autoInit"], components: { dataStore: { type: "gpii.oauth2.dataStore" ...
simonbates/gpii-oauth2
gpii-oauth2-authorization-server/src/UserService.js
JavaScript
bsd-3-clause
935
from holoviews.element import ( ElementConversion, Points as HvPoints, Polygons as HvPolygons, Path as HvPath ) from .geo import (_Element, Feature, Tiles, is_geographic, # noqa (API import) WMTS, Points, Image, Text, LineContours, RGB, FilledContours, Path, Polygons, Sh...
ioam/geoviews
geoviews/element/__init__.py
Python
bsd-3-clause
3,017
<?php namespace W3C\Validation; /** * Class, which represents a validation result. * * @author Michel Hunziker <info@michelhunziker.com> * @copyright Copyright (c) 2014 Michel Hunziker <info@michelhunziker.com> * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD-3-Clause License */ class Result ...
micheh/w3c-validator
src/W3C/Validation/Result.php
PHP
bsd-3-clause
1,878
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
allquixotic/opensim-autobackup
OpenSim/Services/InventoryService/XInventoryService.cs
C#
bsd-3-clause
24,805
/*L Copyright SAIC Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cabio/LICENSE.txt for details. L*/ create index AR_SWISSPROT_GENECHIP_A on AR_SWISSPROT(GENECHIP_ARRAY) PARALLEL NOLOGGING tablespace CABIO_MAP_FUT; create index AR_SWISSPROT_SWISSPROT_ on AR_SWISSP...
NCIP/cabio
software/cabio-database/scripts/sql_loader/no_longer_used/indexes/ar_swissprot.cols.sql
SQL
bsd-3-clause
508
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_apitest.h" #include <stddef.h> #include <utility> #include "base/base_switches.h" #include "base/bind....
endlessm/chromium-browser
chrome/browser/extensions/extension_apitest.cc
C++
bsd-3-clause
15,857
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <cerrno> #include "base/files/file.h" #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h" #include "base/strings/strin...
chromium2014/src
content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
C++
bsd-3-clause
7,962
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Edgecast (Verizon Digital Media)' def is_waf(self): schemes = [ self.matchHeader(('Server', r'^ECD(.+)?')), self.matchHeader(('Server', r'^ECS(.*)?')) ] if any(i for ...
EnableSecurity/wafw00f
wafw00f/plugins/edgecast.py
Python
bsd-3-clause
371
using System; using Microsoft.AspNetCore.Authentication; namespace WopiHost.Core.Security.Authentication { /// <summary> /// WOPI-related extensions for <see cref="AuthenticationBuilder"/>. /// </summary> public static class AuthenticationBuilderExtensions { /// <summary> /// Adds <see cref="AccessTokenHandl...
petrsvihlik/WopiHost
WopiHost.Core/Security/Authentication/AuthenticationBuilderExtensions.cs
C#
bsd-3-clause
1,111
# # Define HPSS for 6.2 and above systems # LOCAL_ROOT = /opt/hpss ROOT_SUBPATH = . include $(LOCAL_ROOT)/Makefile.macros COMPFLAGS = -O0 -g -Wall -Werror INCLUDE_PATH = -I. -I$(LOCAL_INCLUDE) -I$(DB_INSTALL_PATH)/include CFLAG...
chanke/hpss-utils
hpss-http_proxy/src/src/Makefile
Makefile
bsd-3-clause
1,120
{-# LANGUAGE GADTs, TypeOperators #-} module Compiler.InstantiateLambdas (instantiate, dump) where import Compiler.Generics import Compiler.Expression import Control.Applicative import Control.Arrow hiding (app) import Control.Monad.Reader import Data.List (intercalate) import qualified Lang.Value as V instantiate ...
tomlokhorst/AwesomePrelude
src/Compiler/InstantiateLambdas.hs
Haskell
bsd-3-clause
1,251
% COMMAND-WRAPPER-EXEC(1) Command Wrapper 0.1.0 | Command Wrapper % Peter Trsko % 17th April 2020 # NAME `command-wrapper-exec` - Execute predefined command with a user specified environment. # USAGE TOOLSET\_COMMAND \[GLOBAL\_OPTIONS] exec \[\--notify] [\--] *COMMAND* \[*COMMAND\_ARGUMENTS*] TOOLSET\_COMMAND \[...
trskop/command-wrapper
command-wrapper/man/command-wrapper-exec.1.md
Markdown
bsd-3-clause
19,142
/* Copyright (c) 2000-2021, 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
test/src/org/lockss/plugin/TestHttpHttpsUrlHelper.java
Java
bsd-3-clause
5,017
#include "mantra_character.h" CMCharacter::CMCharacter(){ char_init(); } CMCharacter::~CMCharacter(){ DEL(m_class); DEL(health); DEL(mana); DEL(intel); DEL(str); DEL(spi); DEL(agi); } void CMCharacter::char_init(void){ m_class=new CMClass; health=new CMStat; mana=new CMSta...
sethcoder/ember
src/mantra_character.cpp
C++
bsd-3-clause
407
/** ** @file tcOptionsView2.h */ /* ** Copyright (c) 2014, GCBLUE 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: ** ** 1. Redistributions of source code must retain the above copyri...
gcblue/gcblue
include/graphics/tcOptionsView2.h
C
bsd-3-clause
4,075
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-08 22:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('topics', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
GeorgiaTechDHLab/TOME
topics/migrations/0002_auto_20170308_2245.py
Python
bsd-3-clause
537
#ifndef COG_H #define COG_H #include <wheel.h> namespace cog { class CoreEngine { private: bool setup_paths(const char* pname); protected: wcl::ModuleLibrary modulelibrary; wheel::interface::Video* window; wheel:...
ronchaine/wheel-extras
include/cog.h
C
bsd-3-clause
971
package com.madgnome.jira.plugins.jirachievements.utils.initializers; import com.madgnome.jira.plugins.jirachievements.data.services.IProjectVersionStatisticDaoService; public class ProjectVersionStatisticInitializer extends ClearTableInitializer<IProjectVersionStatisticDaoService> { public ProjectVersionStatistic...
madgnome/jirachievements
src/main/java/com/madgnome/jira/plugins/jirachievements/utils/initializers/ProjectVersionStatisticInitializer.java
Java
bsd-3-clause
412
<?php /** * This file is the main Package Manager. * * Simple Machines Forum (SMF) * * @package SMF * @author Simple Machines https://www.simplemachines.org * @copyright 2021 Simple Machines and individual contributors * @license https://www.simplemachines.org/about/smf/license.php BSD * * @version 2.1 RC4 ...
StealthWombat/SMF2.1-more-forkery
Sources/Packages.php
PHP
bsd-3-clause
97,648
<?php namespace frontend\modules\postad\models; use Yii; /** * This is the model class for table "post_ad_attributes". * * @property integer $id * @property integer $post_id * @property string $attribute_property * @property string $attribute_value */ class PostAdAttributes extends \yii\db\ActiveRecord { ...
sadiyaalkurn/verkopen
frontend/modules/postad/models/PostAdAttributes.php
PHP
bsd-3-clause
949
<?php namespace app\models; use Yii; use yii\web\UploadedFile; use yii\imagine\Image; use Imagine\Gd; use Imagine\Image\Box; use Imagine\Image\BoxInterface; /** * This is the model class for table "merchant_menu". * * @property integer $id * @property string $title * @property integer $price * @property integ...
elorian/cabinet.inreserve.kz
models/MerchantMenu.php
PHP
bsd-3-clause
6,009
/* tab:4 * "Copyright (c) 2000-2003 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copy...
fresskarma/tinyos-1.x
tools/java/net/tinyos/script/tree/ForUnconditionalStatement.java
Java
bsd-3-clause
3,614
import org.tolweb.treegrow.page.InternetLink; import junit.framework.TestCase; /* * Created on Jul 4, 2004 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ /** * @author dmandel * * To change the template for this generated ty...
tolweb/tolweb-app
TreeGrow/tests/org/tolweb/treegrow/page/InternetLinkTest.java
Java
bsd-3-clause
891
<?php /** * Created by PhpStorm. * Author: npbtrac@yahoo.com * Date time: 9/10/17 11:13 PM */ namespace enpii\enpiiCms\libs\override\db; use yii\db\ActiveQuery; use enpii\enpiiCms\libs\override\db\NpActiveRecord as ActiveRecord; /** * Class NpActiveQuery * @package enpii\enpiiCms\libs\override\db * For overr...
npbtrac/yii2-enpii-cms
libs/override/db/NpActiveQuery.php
PHP
bsd-3-clause
792
<?php namespace Jazzee\Entity; /** * AuditLog * AuditLog entries record critical user actions against applicants * Like editing or deleting answers * * @Entity * @Table(name="audit_log") * @SuppressWarnings(PHPMD.ShortVariable) * @author Jon Johnson <jon.johnson@ucsf.edu> * @license http://jazzee.org/licens...
Jazzee/Jazzee
src/Jazzee/Entity/AuditLog.php
PHP
bsd-3-clause
1,853
package ildl package benchmark package hamming import collection.mutable.Queue object BigIntAsLong extends TransformationDescription { def toRepr(high: BigInt): Long @high = { assert(high.isValidLong) high.longValue() } def toHigh(repr: Long @high): BigInt = BigInt(repr) def extension_*(recv: Long @h...
miniboxing/ildl-plugin
tests/correctness/resources/tests/hamming-issue.scala
Scala
bsd-3-clause
598
/* * libjingle * Copyright 2012, Google Inc. * * 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 conditions and the f...
xin3liang/platform_external_chromium_org_third_party_libjingle_source_talk
app/webrtc/test/mockpeerconnectionobservers.h
C
bsd-3-clause
5,709
<?php /** * @author James Baster <james@jarofgreen.co.uk> * @copyright City of Edinburgh Council & James Baster * @license Open Source under the 3-clause BSD License * @url https://github.com/City-Outdoors/City-Outdoors-Web */ include dirname(__FILE__).'/../src/global.php'; include dirname(__FILE__).'/importFunct...
City-Outdoors/City-Outdoors-Web
includes/tasks/importJaduPages.php
PHP
bsd-3-clause
921
/* Creates a new interaction class */ function iClazz(SuperClass, methods) { var subClass = function () { this.config.apply(this, arguments); }; subClass.prototype = Object.create(SuperClass.prototype); subClass.prototype.constructor = subClass; subClass.prototype.parent = SuperClass.protot...
dgvicente/django-social-network
social_network/static/social_network/js/interactions.js
JavaScript
bsd-3-clause
3,125
# Haskell-Invaders Tested on Ubuntu 15.10 with SDL 2.0.4 To install without static links: 1) Clone the repository. 2) Install SDL 2.0.4 (https://www.libsdl.org/download-2.0.php) 3) Install Haskell Stack 1.0.4 (http://docs.haskellstack.org/en/stable/GUIDE.html) 4) From the local Haskell-Invaders workspace, type "stack ...
KenseiMaedhros/Haskell-Invaders
README.md
Markdown
bsd-3-clause
972
from operator import attrgetter from plyj.model.source_element import Expression from plyj.utility import assert_type class Name(Expression): simple = property(attrgetter("_simple")) value = property(attrgetter("_value")) def __init__(self, value): """ Represents a name. :param va...
Craxic/plyj
plyj/model/name.py
Python
bsd-3-clause
1,255
package org.motechproject.scheduler.it; import org.joda.time.DateTime; import org.joda.time.DateTimeConstants; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.motechproject.event.MotechEvent; import org.motechproject.scheduler.contract.CronSchedulable...
justin-hayes/motech
modules/scheduler/scheduler/src/test/java/org/motechproject/scheduler/it/SchedulerChannelProviderBundleIT.java
Java
bsd-3-clause
5,309
// 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. #ifndef COMPONENTS_EXO_WAYLAND_WL_DATA_DEVICE_MANAGER_H_ #define COMPONENTS_EXO_WAYLAND_WL_DATA_DEVICE_MANAGER_H_ #include <stdint.h> #include "base/mac...
nwjs/chromium.src
components/exo/wayland/wl_data_device_manager.h
C
bsd-3-clause
1,314
/* ==================================================================== * Copyright 2005-2006 JRemoting Committers * Portions copyright 2001 - 2004 Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
paul-hammant/JRemoting
api/src/java/org/codehaus/jremoting/responses/BadServerSideEvent.java
Java
bsd-3-clause
1,562
{% extends "layout.html" %} {% block content %} <!-- Main jumbotron for a primary marketing message or call to action --> <div class="jumbotron"> <h1>Welcome to This is a foo bar project</h1> <p>This is a starter Flask template. It includes Bootstrap 3, jQuery 2, Flask-SQLAlchemy, WTForms, and various testing ut...
ghofranehr/foobar
foobar/templates/public/home.html
HTML
bsd-3-clause
1,561
/* * Copyright 2014, 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 cond...
meghana0507/grpc-java-poll
core/src/main/java/io/grpc/Marshaller.java
Java
bsd-3-clause
2,470
BeCool-ElkArte ============== Created closely with @meetdilip with huge thanks to him!
CrimeS/BeCool-ElkArte
README.md
Markdown
bsd-3-clause
89
from .variables import * def Cell(node): # cells must stand on own line if node.parent.cls not in ("Assign", "Assigns"): node.auxiliary("cell") return "{", ",", "}" def Assign(node): if node.name == 'varargin': out = "%(0)s = va_arg(varargin, " + node[0].type + ") ;" else: ...
jonathf/matlab2cpp
src/matlab2cpp/rules/_cell.py
Python
bsd-3-clause
495
#!/bin/bash # Assumes this script is in a directory one level below the repo's root dir. TEST_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" GSUTIL_DIR="$TEST_DIR/.." find "$GSUTIL_DIR" \ -path "$GSUTIL_DIR/gslib/third_party" -prune -o \ -path "$GSUTIL_DIR/gslib/vendored" -prune -o \ ...
endlessm/chromium-browser
third_party/catapult/third_party/gsutil/test/run_pylint.sh
Shell
bsd-3-clause
460
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # 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 # r...
stormi/tsunami
src/secondaires/navigation/commandes/voile/border.py
Python
bsd-3-clause
4,041
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react...
leexiaosi/react
src/renderers/dom/__tests__/ReactDOMProduction-test.js
JavaScript
bsd-3-clause
8,787
{% ckan_extends %} {% block page_primary_action %} {% if h.check_access('package_create') %} <div class="page_primary_action"> {% link_for _('Add Dataset'), controller='ckanext.customdataset.controllers.datasettypes:DatasetTypesController', action='select_dataset_types', class_='btn btn-p...
CI-WATER/portal
src/ckanext-customdataset/ckanext/customdataset/templates/package/search.html
HTML
bsd-3-clause
539
#include "stack.h" #include <stdlib.h> #include <stdio.h> void kw_stack_init(stack *s) { s->stack = malloc(STACK_DEFAULT_SIZE * sizeof(void*)); s->pos = 0; s->mlen = STACK_DEFAULT_SIZE; } void kw_stack_free(stack *s) { if(!s) return; if(!s->stack) return; free(s->stack); } void *kw_stack_grow(stack *s) ...
thomasluce/YAPWTP
src/stack.c
C
bsd-3-clause
1,210
/** @file Support for Graphics output spliter. Copyright (c) 2006 - 2011, 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 may ...
intel/ipmctl
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterGraphics.c
C
bsd-3-clause
23,928
<!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.2/generated/statsmodels.tsa.holtwinters.HoltWintersResults.slope.html
HTML
bsd-3-clause
17,862
package Bio::WGS2NCBI::MrnaFeature; use Bio::WGS2NCBI::Logger; use Bio::WGS2NCBI::StrandedFeature; use base 'Bio::WGS2NCBI::StrandedFeature'; =head1 NAME Bio::WGS2NCBI::MrnaFeature - mRNA feature =head1 DESCRIPTION Objects of this class represent an mRNA feature for a gene. =head1 SEE ALSO L<Bio::WGS2NCBI::Strand...
naturalis/wgs2ncbi
lib/Bio/WGS2NCBI/MrnaFeature.pm
Perl
bsd-3-clause
1,414
<?php use yii\db\Migration; class m161012_160910_tweet_date extends Migration { public function safeUp() { $this->addColumn('{{%tweets}}', 'create_at', $this->timestamp()); } public function safeDown() { $this->dropColumn('{{%tweets}}', 'create_at'); } }
lutersergei/YII2
console/migrations/m161012_160910_tweet_date.php
PHP
bsd-3-clause
298
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
drmateo/pcl
features/include/pcl/features/impl/feature.hpp
C++
bsd-3-clause
12,501
from corehq.apps.reports.models import HQToggle from corehq.apps.reports.fields import ReportField from django.utils.translation import ugettext as _ from django.utils.translation import ugettext_noop class SubmitToggle(HQToggle): def __init__(self, type, show, name, doc_type): super(SubmitToggle, se...
gmimano/commcaretest
corehq/apps/receiverwrapper/fields.py
Python
bsd-3-clause
2,703
<!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.varmax.VARMAX.opg_information_matrix.html
HTML
bsd-3-clause
18,807
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\PopulacMapuser */ $this->title = Yii::t('app', '新增账号'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', '账号管理'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $this->registerJs("$('#populacmapuser-ma...
tqsq2005/learnYii2
views/mapuser/create.php
PHP
bsd-3-clause
631
/* 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...
tkelman/blis
frame/1/axpyv/bli_axpyv_kernel.c
C
bsd-3-clause
4,535
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\DeliverySearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Deliveries'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="delivery-index"> <h1><?= Html::encode...
vanguardpro/delivery-server
backend/views/delivery/index.php
PHP
bsd-3-clause
957
/*********************************************************************** * fileio_dev.c * *********************************************************************** Purpose: Machine dependent FORTRAN to C interface for BSL file I/O Authors: G.R.Mant Returns: Nil ...
scattering-central/CCP13
software/libs/bsl/fileio_dev.c
C
bsd-3-clause
13,878
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20150428_2142'), ] operations = [ migrations.AddField( model_name='parentrelation', ...
oskarm91/sis
apps/users/migrations/0005_parentrelation_signature.py
Python
bsd-3-clause
488
<?php namespace Ddl\Form; /** * CreateTableForm [CreateTableForm] * * @copyright (c) year, Claudio Coelho */ class CreateTableForm extends \Zend\Form\Form { public function __construct($serviceLocator, $name = null, $options = array()) { parent::__construct('CreateTableForm', $options); //Não...
callcocam/zf2-puro
module/Ddl/src/Ddl/Form/CreateTableForm.php
PHP
bsd-3-clause
1,911
#include<stdio.h> #include<stdlib.h> int cmp(const void *a,const void *b) { return *(int *)a>*(int *)b; } int main() { int p,i=0; int a[20]; while(scanf("%d",&p),p+1) { if(p) { a[i++]=p; continue; } else { i--; int cn=0; qsort(a,i,sizeof(a[0]),cmp); for(int j=1;j...
lulyon/poj-archive
emperorlu/1552/2968967_WA.cc
C++
bsd-3-clause
503
# BridgeDB by Nick Mathewson. # Copyright (c) 2007-2009, The Tor Project, Inc. # See LICENSE for licensing information from __future__ import print_function import doctest import os import random import sqlite3 import tempfile import unittest import warnings import time from datetime import datetime import bridgedb....
wfn/bridgedb
lib/bridgedb/Tests.py
Python
bsd-3-clause
30,756
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrTestBatch_DEFINED #define GrTestBatch_DEFINED #include "GrBatch.h" #include "GrVertexBuffer.h" /* * A simple batch only for testing purposes which actually doesn'...
todotodoo/skia
src/gpu/GrTestBatch.h
C
bsd-3-clause
2,401
from __future__ import absolute_import, unicode_literals from six import add_metaclass, text_type from .event_encoder import Parameter, EventEncoder @add_metaclass(EventEncoder) class Event(object): hit = Parameter('t', text_type, required=True) category = Parameter('ec', text_type, required=True) acti...
enthought/python-analytics
python_analytics/events.py
Python
bsd-3-clause
583
var searchData= [ ['cdeactivate',['cDeactivate',['../group___game_object.html#gab3a5c1145d984bfffc6542a1c5326623',1,'GameObject']]], ['cinit',['cInit',['../group___game_object.html#gab6ed5a737f27fa166a782a2b8141df7d',1,'GameObject']]], ['clearassimps',['clearAssimps',['../_lua_binder_8dox.html#ae54b1056949421de79...
puretekniq/batterytech
doc/BatteryTech Engine/doxygen/html/search/functions_63.js
JavaScript
bsd-3-clause
1,457
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
statsmodels/statsmodels.github.io
v0.12.1/generated/statsmodels.tsa.varma_process.VarmaPoly.stacksquare.html
HTML
bsd-3-clause
18,252
// 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 "extensions/browser/content_verify_job.h" #include <algorithm> #include "base/bind.h" #include "base/lazy_instance.h" #include "base/metrics/hi...
endlessm/chromium-browser
extensions/browser/content_verify_job.cc
C++
bsd-3-clause
10,010