code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
# Copyright (c) 2013, Ruslan Baratov # All rights reserved. # !!! DO NOT PLACE HEADER GUARDS HERE !!! include(hunter_add_version) include(hunter_cacheable) include(hunter_download) include(hunter_pick_scheme) include(hunter_cmake_args) hunter_add_version( PACKAGE_NAME GTest VERSION "1.7.0-hunter" ...
x10mind/hunter
cmake/projects/GTest/hunter.cmake
CMake
bsd-2-clause
3,722
class Cpm < Formula desc "Fast CPAN module installer" homepage "https://metacpan.org/pod/cpm" url "https://cpan.metacpan.org/authors/id/S/SK/SKAJI/App-cpm-0.997002.tar.gz" sha256 "19de1224b5c86d566eb0b85767775efb5bbab82ce98ee8c44f8843f26aabbbab" license any_of: ["Artistic-1.0-Perl", "GPL-1.0-or-later"] head...
spaam/homebrew-core
Formula/cpm.rb
Ruby
bsd-2-clause
7,874
package tcp import ( "expvar" "fmt" "time" "github.com/elastic/beats/libbeat/common" "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/packetbeat/flows" "github.com/elastic/beats/packetbeat/protos" "github.com/tsg/gopacket/layers" ) const TCP_MAX_DATA_IN_STREAM = 10 * (1 << 20) const ( Tc...
phenomenes/varnishbeat
vendor/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go
GO
bsd-2-clause
7,086
import batoid import numpy as np from test_helpers import timer, do_pickle, all_obj_diff, init_gpu, rays_allclose @timer def test_properties(): rng = np.random.default_rng(5) for i in range(100): R = rng.normal(0.0, 0.3) # negative allowed sphere = batoid.Sphere(R) assert sphere.R == ...
jmeyers314/batoid
tests/test_Sphere.py
Python
bsd-2-clause
7,740
/* $Id$ */ #include "platform.h" #include "di_defs.h" #include "pc.h" #include "dqueue.h" #include "adapter.h" #include "entity.h" #include "um_xdi.h" #include "um_idi.h" #include "debuglib.h" #include "divasync.h" #define DIVAS_MAX_XDI_ADAPTERS 64 /* -----------------------------------------------------------------...
andrewjylee/omniplay
linux-lts-quantal-3.5.0/drivers/isdn/hardware/eicon/um_idi.c
C
bsd-2-clause
24,027
cask 'mpv' do version '0.23.0' sha256 '9c4f5873fc955920c3d570277a2a74f527a9073c27ee1a5eeb3270a1180961e8' # laboratory.stolendata.net/~djinn/mpv_osx was verified as official when first introduced to the cask url "https://laboratory.stolendata.net/~djinn/mpv_osx/mpv-#{version}.tar.gz" appcast 'https://laborato...
jiashuw/homebrew-cask
Casks/mpv.rb
Ruby
bsd-2-clause
507
--- title: News --- {% include header.html %} <div class="hmargin" style="float: right"><a class="groups_link" style="color: #fff" href="https://groups.google.com/group/capnproto-announce">Stay Updated</a></div> <h1>News</h1> {% for post in site.posts %} <h2><a href="{{ site.baseurl }}.{{ post.url }}">{{ post.title...
artillery/capnproto
doc/news/index.html
HTML
bsd-2-clause
963
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Heiko Strathmann, Yuyu Zhang, Viktor Gal, * Thoralf Klein, Fernando Iglesias, Sergey Lisitsyn */ #ifndef __STREAMING_ASCIIFILE_H__ #define __STREAMING_ASCIIFILE_H__ #include <shogun/lib/confi...
shogun-toolbox/shogun
src/shogun/io/streaming/StreamingAsciiFile.h
C
bsd-3-clause
3,187
#!/bin/bash exec newrelic-admin run-program python manage.py celeryd --maxtasksperchild=${CELERY_MAX_TASKS_PER_CHILD:-100}
MikkCZ/kitsune
bin/run-celery-worker.sh
Shell
bsd-3-clause
124
#!/usr/bin/env python3 import sys import re import mpmath as mp mp.dps=250 mp.mp.dps = 250 if len(sys.argv) != 2: print("Usage: format_CIAAW.py ciaawfile") quit(1) path = sys.argv[1] atomre = re.compile(r'^(\d+) +(\w\w*) +(\w+) +\[?(\d+)\]?\*? +(.*) *$') isore = re.compile(r'^(\d+)\*? +(\[?\d.*.*\]?) *$'...
pulsar-chem/Pulsar-Core
scripts/data/format_CIAAW.py
Python
bsd-3-clause
2,449
/* * Copyright (c) 2012 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...
xin3liang/platform_external_chromium_org_third_party_webrtc
modules/audio_processing/audio_buffer.cc
C++
bsd-3-clause
14,986
<?php namespace common\models; use common\modules\i18n\Module; /** * This is the model class for table "magazine_item". * * @property integer $id * @property integer $magazine_id * @property string $image * @property integer $sort * * @property Magazine $magazine */ class MagazineItem extends Bean { /*...
artemkramov/jenadin-test
common/models/MagazineItem.php
PHP
bsd-3-clause
1,379
import warnings import unittest import sys from nose.tools import assert_raises from gplearn.skutils.testing import ( _assert_less, _assert_greater, assert_less_equal, assert_greater_equal, assert_warns, assert_no_warnings, assert_equal, set_random_state, assert_raise_message) fro...
danbob123/gplearn
gplearn/skutils/tests/test_testing.py
Python
bsd-3-clause
3,785
// 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 "media/filters/reference_audio_renderer.h" #include <math.h> #include "base/bind.h" #include "base/synchronization/waitable_event.h" names...
aYukiSekiguchi/ACCESS-Chromium
media/filters/reference_audio_renderer.cc
C++
bsd-3-clause
3,792
<?php namespace ValuSoTest\TestAsset; use ValuSo\Annotation; /** * @Annotation\Exclude */ abstract class AbstractExcludedService { public function excluded() { return true; } }
valu-digital/valuso
tests/ValuSoTest/TestAsset/AbstractExcludedService.php
PHP
bsd-3-clause
200
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="tr"> <context> <name>BMMDialog</name> <message> <location filename="../BMMDialog.ui" line="14"/> <source>Manage Bookmarks</source> <translation>Yer İmlerini Yönet</translation> </message> <message> ...
cpforbes/lumina
src-qt5/desktop-utils/lumina-fm/i18n/lumina-fm_tr.ts
TypeScript
bsd-3-clause
49,754
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE124_Buffer_Underwrite__wchar_t_alloca_loop_73a.cpp Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml Template File: sources-sink-73a.tmpl.cpp */ /* * @description * CWE: 124 Buffer Underwrite * BadSource: Set data pointer to before the allocated...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE124_Buffer_Underwrite/s03/CWE124_Buffer_Underwrite__wchar_t_alloca_loop_73a.cpp
C++
bsd-3-clause
2,835
import React from 'react'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import AddComment from './AddComment'; const USER = { user: { user: 'RSwanson', username: 'Ron_Swanson', imageURL: '', users: [ { name: 'April Ludwig', url: 'aprilL@parksdept.com', d...
mathjazz/pontoon
translate/src/core/comments/components/AddComment.test.js
JavaScript
bsd-3-clause
761
/* -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
xianyi/OpenBLAS
relapack/src/zsytrf_rec2.c
C
bsd-3-clause
13,490
--pass out-of-range data of string type to the parameter --1. [error] out-of-range argument: timestamptz type select last_day(timestamptz'23:00:00 13/01'); select last_day(timestamptz'04:14:07 1/19/2038'); select last_day(timestamptz'03:15:07 1/19/2038'); select last_day(timestamptz'03:14:08 1/19/2038'); select l...
CUBRID/cubrid-testcases
sql/_27_banana_qa/issue_5765_timezone_support/_00_dev_cases/_02_operator/_31_lastday_with_tz/cases/last_day_007.sql
SQL
bsd-3-clause
1,603
/************************************************************* * Project: NetCoreCMS * * Web: http://dotnetcorecms.org * * Author: OnnoRokom Software Ltd. * * Website: www.onnorokomsoftware.com * * ...
OnnoRokomSoftware/NetCoreCMS
NetCoreCMS.Framework/Core/Repository/NccWebSiteRepository.cs
C#
bsd-3-clause
926
# -*- coding: utf-8 -*- # # アルゴリズムデザインコンテストのさまざまな処理 # # Copyright (C) 2015 Fujitsu import numberlink from datastore import * from hashlib import sha1, sha256 from flask import make_response, render_template import random import datetime from tz import gae_datetime_JST from define import DEFAULT_YEAR def adc_response...
dasadc/conmgr
adc2018/server/adcutil.py
Python
bsd-3-clause
23,866
{% extends "hub/base.html" %} {% load staticfiles %} {% block pagetitle %}Users{% endblock %} {% block content %} <div class="dashhead"> <div class="dashhead-titles"> <h6 class="dashhead-subtitle">UoP Botswana MoH / TB Training</h6> <h2 class="dashhead-title">Users</h2> </div> </div> <hr class="m-t"> <div...
westerncapelabs/uopbmoh-hub
hub/templates/hub/users.html
HTML
bsd-3-clause
1,920
#include "mex.h" #include <iostream> #include "drakeMexUtil.h" #include "RigidBodyManipulator.h" #include "math.h" using namespace Eigen; using namespace std; /* * mex interface for bullet collision detection * closest-distance for each body to all other bodies (~(NB^2-NB)/2 points) * * MATLAB signature: * * [x...
thientu/drake
systems/plants/collisionDetectmex.cpp
C++
bsd-3-clause
5,102
#include "MutableValueSetterProxy.h" #include <jsi/jsi.h> #include "MutableValue.h" #include "SharedParent.h" using namespace facebook; namespace reanimated { void MutableValueSetterProxy::set( jsi::Runtime &rt, const jsi::PropNameID &name, const jsi::Value &newValue) { auto propName = name.utf8(rt); ...
exponentjs/exponent
ios/vendored/unversioned/react-native-reanimated/Common/cpp/SharedItems/MutableValueSetterProxy.cpp
C++
bsd-3-clause
1,341
/* * Copyright (c) 2014, Ford Motor Company * 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 condit...
VProdanov/sdl_core
src/components/transport_manager/test/include/transport_manager_mock.h
C
bsd-3-clause
3,528
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>colour.models.cie_xyy Module &mdash; Colour 0.3.4 documentation</title> <link rel="stylesheet" href="_static/basic.css" type="text/css" /> <link r...
colour-science/colour-science.org
output/api/0.3.4/html/colour.models.cie_xyy.html
HTML
bsd-3-clause
17,130
Because the ```gpu_test_expectations``` directory is based on parts of Chromium's ```gpu/config`` directory, we want to keep a patch of the changes added to make it compile with ANGLE. This will allow us to merge Chromium changes easily in our ```gpu_test_expectations```. In order to make a change to this directory, d...
crezefire/angle
src/tests/third_party/gpu_test_expectations/HowToMakeChanges.md
Markdown
bsd-3-clause
1,157
local Dta = select(2, ...) Dta.Lang.English = {} local English = Dta.Lang.English ---------------------------------------- --Help ---------------------------------------- ---Intro------------------------------------------------------------------ English.Intro = {} English.Intro.Label = "Intro" English.Intro.Text1 = "...
Lynx3d/tinker_tools
Language/Language_Eng.lua
Lua
bsd-3-clause
33,867
from constance.admin import ConstanceForm from django.forms import fields from django.test import TestCase class TestForm(TestCase): def test_form_field_types(self): f = ConstanceForm({}) self.assertIsInstance(f.fields['INT_VALUE'], fields.IntegerField) self.assertIsInstance(f.fields['B...
jazzband/django-constance
tests/test_form.py
Python
bsd-3-clause
1,084
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_struct_54b.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml Template File: sources-sinks-54b.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Rout...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_struct_54b.cpp
C++
bsd-3-clause
1,396
<script> var xx = []; var x = ["aa", "bb"]; var j=Math.random(); for(var i=0; i <2; i++){ for(var k=0; k<2; k++) { if(i==k) xx[i] = x[k]; } } // xx = ["aa", "bb"] </script>
darkrsw/safe
tests/loop_test/l9.html
HTML
bsd-3-clause
188
// Copyright (c) 2014-2016, The Monero 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 copyright notice, this list o...
eiabea/bitmonero
tests/unit_tests/ban.cpp
C++
bsd-3-clause
7,588
<?php namespace app\models; use Yii; use app\models\general\GeneralLabel; use app\models\general\GeneralMessage; /** * This is the model class for table "tbl_ref_jawatan_induk". * * @property integer $id * @property string $desc * @property integer $aktif * @property integer $created_by * @property integer $...
hung101/kbs
frontend/models/RefJawatanInduk.php
PHP
bsd-3-clause
2,995
// Copyright 2010 Google 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 law or agreed to...
xushiwei/szl
src/engine/scope.cc
C++
bsd-3-clause
6,221
/* sbt -- Simple Build Tool * Copyright 2009, 2010 Mark Harrah */ package sbt package compiler import scala.util import java.io.File import CompilerArguments.{abs, absString, BootClasspathOption} /** Forms the list of options that is passed to the compiler from the required inputs and other options. * The direc...
kuochaoyi/xsbt
compile/CompilerArguments.scala
Scala
bsd-3-clause
2,999
// 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/chromeos/login/version_info_updater.h" #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #include "ba...
leiferikb/bitpop-private
chrome/browser/chromeos/login/version_info_updater.cc
C++
bsd-3-clause
7,139
// Copyright (c) 2016 Google 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 law or agreed to in...
endlessm/chromium-browser
third_party/swiftshader/third_party/SPIRV-Tools/test/opt/fold_test.cpp
C++
bsd-3-clause
295,349
// 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8TestSpecialOperations.h" #include "bindings...
smilusingjavascript/blink
Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
C++
bsd-3-clause
9,221
/*============================================================================* * * * This file is part of the Zoto Software suite. * * * * Copyright (C) 2004 Zoto, Inc. 123 South Hudson, OKC, OK 73102 * ...
kordless/zoto-server
zulu-2.0/python_module/zsp_packets.c
C
bsd-3-clause
3,830
/* * $Id$ */ /* Copyright (c) 2000-2004 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
edina/lockss-daemon
test/src/org/lockss/mail/TestMimeMessage.java
Java
bsd-3-clause
8,543
# - Find LevelDB # # LEVELDB_INCLUDE_DIRS - List of LevelDB includes. # LEVELDB_LIBRARIES - List of libraries when using LevelDB. # LEVELDB_FOUND - True if LevelDB found # Look for the header of file. find_path(LEVELDB_INCLUDE NAMES leveldb/db.h PATHS $ENV{LEVELDB_ROOT}/include /...
QiumingLu/saber
cmake/Modules/FindLevelDB.cmake
CMake
bsd-3-clause
1,061
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE90_LDAP_Injection__w32_wchar_t_connect_socket_31.c Label Definition File: CWE90_LDAP_Injection__w32.label.xml Template File: sources-sink-31.tmpl.c */ /* * @description * CWE: 90 LDAP Injection * BadSource: connect_socket Read data using a connect socket (clie...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE90_LDAP_Injection/CWE90_LDAP_Injection__w32_wchar_t_connect_socket_31.c
C
bsd-3-clause
8,856
/* MobileRobots Advanced Robotics Interface for Applications (ARIA) Copyright (C) 2004, 2005 ActivMedia Robotics LLC Copyright (C) 2006, 2007 MobileRobots Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fr...
bigjun/mrpt
libs/hwdrivers/src/aria/include/ArActionGotoStraight.h
C
bsd-3-clause
4,790
// 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 CHROME_BROWSER_MEDIA_WEBRTC_SAME_ORIGIN_OBSERVER_H_ #define CHROME_BROWSER_MEDIA_WEBRTC_SAME_ORIGIN_OBSERVER_H_ #include "base/callback.h" #inclu...
scheib/chromium
chrome/browser/media/webrtc/same_origin_observer.h
C
bsd-3-clause
1,714
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> <title>LeapVector Class Reference</title> <meta id="xcode-display" name="xcode-display" content="render"/> <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> <link rel="stylesheet" ...
nakajimakou1/cvdrone-master_leap_FaceDetect
src/3rdparty/LeapSDK/docs/Languages/ObjectiveC/html/Classes/LeapVector.html
HTML
bsd-3-clause
62,836
package org.lemurproject.galago.core.util; import org.lemurproject.galago.core.retrieval.iterator.BaseIterator; import org.lemurproject.galago.core.retrieval.traversal.Traversal; import org.lemurproject.galago.utility.Parameters; import java.util.ArrayList; import java.util.List; /** * @author jfoley. */ public cl...
hzhao/galago-git
core/src/main/java/org/lemurproject/galago/core/util/IterUtils.java
Java
bsd-3-clause
1,424
from pybrain.rl.environments.timeseries.maximizereturntask import DifferentialSharpeRatioTask from pybrain.rl.environments.timeseries.timeseries import AR1Environment, SnPEnvironment from pybrain.rl.learners.valuebased.linearfa import Q_LinFA from pybrain.rl.agents.linearfa import LinearFA_Agent from pybrain.rl.experim...
samstern/MSc-Project
pybrain/rl/environments/timeseries/test programs/ar1TestScript.py
Python
bsd-3-clause
976
using Basic.Azure.Storage.Communications.Core; using Basic.Azure.Storage.Communications.Core.Interfaces; using Basic.Azure.Storage.Communications.TableService.Interfaces; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threadin...
tarwn/BasicAzureStorageSDK
Basic.Azure.Storage/Communications/TableService/EntityOperations/DeleteEntityRequest.cs
C#
bsd-3-clause
2,132
/****************************************************************/ /* 1. BACKGROUND AND TEXT COLOURS */ /****************************************************************/ /* 1.1 Default background colour and text colour */ body{text-align:center;background : url(../img/back.gif);} /* �������� ����� */ .djangobb {COLO...
aldenjenkins/foobargamingwebsite
djangobb_forum/static/djangobb_forum/themes/default/css/default_cs.css
CSS
bsd-3-clause
6,110
#pragma once #include <deque> #include <functional> #include <pthread.h> #include "basetypes.h" #include "misc.h" #define Pthread_spin_init(l, pshared) verify(pthread_spin_init(l, (pshared)) == 0) #define Pthread_spin_lock(l) verify(pthread_spin_lock(l) == 0) #define Pthread_spin_unlock(l) verify(pthread_spin_unlock...
santazhang/simple-rpc
base/threading.h
C
bsd-3-clause
5,266
<!-- @license Copyright (c) 2014 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.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
mgiuffrida/polymer
src/standard/gestures.html
HTML
bsd-3-clause
22,385
require 'rubygems' # The helper class exists to do string manipulation and heavy lifting def url_escape_hash(hash) hash.each do |k,v| v = CGI::escapeHTML(v) if v # convert bullets v = v.gsub("*-","<bullet>") v = v.gsub("-*","</bullet>") #convert h4 v = v.gsub("[==","<h4>") v = v.gsub("==]",...
ccammilleri/Serpico
helpers/helper.rb
Ruby
bsd-3-clause
7,803
/* * Copyright (C) Research In Motion Limited 2011. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) an...
espadrine/opera
chromium/src/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
C++
bsd-3-clause
5,902
<?php namespace modules\translations\controllers\console; use modules\lang\models\Lang; use modules\translations\models\MessageCategory; use Yii; use yii\console\Controller; use yii\console\Exception; use yii\helpers\FileHelper; use modules\translations\models\Message; use modules\translations\models\SourceMessage; ...
zserg84/tender
modules/translations/controllers/console/I18nController.php
PHP
bsd-3-clause
4,308
#include <CGAL/Epick_d.h> #include <CGAL/point_generators_d.h> #include <CGAL/Manhattan_distance_iso_box_point.h> #include <CGAL/K_neighbor_search.h> #include <CGAL/Search_traits_d.h> typedef CGAL::Epick_d<CGAL::Dimension_tag<4> > Kernel; typedef Kernel::Point_d Point_d; typedef CGAL::Random_points_in_cube_d<Point_d> ...
hlzz/dotfiles
graphics/cgal/Spatial_searching/examples/Spatial_searching/general_neighbor_searching.cpp
C++
bsd-3-clause
1,316
/*L * Copyright RTI International * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/webgenome/LICENSE.txt for details. */ /* $Revision: 1.1 $ $Date: 2007-08-22 20:03:57 $ */ package org.rti.webgenome.webui.struts.upload; import javax.servlet.http.HttpServletRequest; ...
NCIP/webgenome
tags/WEBGENOME_R3.2_6MAR2009_BUILD1/java/webui/src/org/rti/webgenome/webui/struts/upload/ReporterColumnNameForm.java
Java
bsd-3-clause
1,844
//===-- Status.h - Renders a 96x32 Status Display ------------------ c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===-----------------------------------------------------------...
jroelofs/uwh-display
include/uwhd/display/Status.h
C
bsd-3-clause
436
from datetime import datetime, timedelta from django import http from django.conf import settings from django.core.exceptions import PermissionDenied import mock import pytest from olympia.amo.tests import BaseTestCase, TestCase from olympia.amo import decorators, get_user, set_user from olympia.amo.urlresolvers imp...
andymckay/addons-server
src/olympia/amo/tests/test_decorators.py
Python
bsd-3-clause
5,822
package main import ( "github.com/kataras/iris/v12" "github.com/kataras/iris/v12/middleware/requestid" "github.com/kataras/golog" ) func main() { app := iris.New() app.Logger().SetLevel("debug") app.Logger().SetFormat("json", " ") // to register a custom Formatter: // app.Logger().RegisterFormatter(golog....
kataras/iris
_examples/logging/json-logger/main.go
GO
bsd-3-clause
1,968
from django.core.management.base import BaseCommand import amo from mkt.webapps.models import AddonPremium class Command(BaseCommand): help = 'Clean up existing AddonPremium objects for free apps.' def handle(self, *args, **options): (AddonPremium.objects.filter(addon__premium_type__in=amo.ADDON_FRE...
andymckay/zamboni
mkt/developers/management/commands/cleanup_addon_premium.py
Python
bsd-3-clause
364
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_file_ifstream_08.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-08.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: file Read input from a file * Goo...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE23_Relative_Path_Traversal/s02/CWE23_Relative_Path_Traversal__char_file_ifstream_08.cpp
C++
bsd-3-clause
4,569
% diagram A1-2 \verbatimlines % inc Incorporating new mail into inbox... 1+E02/28 0227-EST mrose test message <<ENCRYPTED MESSAGE: TTI Incorporating encrypted mail into inbox... 1+ 02/28 0227-EST mrose test message <<mumble, mumble. >> ?endverbatim
dscho/nmh
docs/historical/mh-6.8.5/papers/trusted/diagramA1-2.tex
TeX
bsd-3-clause
285
package org.hisp.dhis.sms.listener; /* * Copyright (c) 2004-2018, 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...
msf-oca-his/dhis-core
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/listener/TrackedEntityRegistrationSMSListener.java
Java
bsd-3-clause
7,054
<?php /** * Message translations. * * This file is automatically generated by 'yiic message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
otis22/yupe-test
protected/modules/install/messages/ru/install.php
PHP
bsd-3-clause
23,446
# Support ## Timer A timer class that can be called static or dynamically. Source code: [support/blob/master/src/Timer.php](https://github.com/antonioribeiro/support/blob/master/src/Timer.php) ### Methods Those are the methods: Timer::start(); Timer::stop(); Timer::isStarted(); Timer::isStopped...
younes0/support
readme.md
Markdown
bsd-3-clause
2,660
//===--- CodeGenAction.cpp - LLVM Code Generation Frontend Action ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
youtube/cobalt
third_party/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp
C++
bsd-3-clause
41,495
# frozen_string_literal: true module Stupidedi using Refinements module Schema # # The 5010 X12 "data segment requirement designator"s include # M - Mandatory # O - Optional # # @see X222 B.1.3.12.6 Data Segment Requirement Designators # # The HIPAA implementation guides "indust...
kputnam/stupidedi
lib/stupidedi/schema/segment_req.rb
Ruby
bsd-3-clause
871
// Copyright 2010-2021, 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 condit...
fcitx/mozc
src/prediction/dictionary_predictor.cc
C++
bsd-3-clause
88,483
//===-- HostThreadMacOSX.h --------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
youtube/cobalt
third_party/llvm-project/lldb/include/lldb/Host/macosx/HostThreadMacOSX.h
C
bsd-3-clause
764
'use strict'; angular.module('shopnxApp') .config(function ($stateProvider) { $stateProvider .state('checkout', { title: 'Checkout with the items you selected', url: '/checkout', templateUrl: 'app/checkout/checkout.html', controller: 'CheckoutCtrl', authenticate: tru...
kinddevil/shop
client/app/checkout/checkout.js
JavaScript
bsd-3-clause
338
package org.hisp.dhis.email; /* * Copyright (c) 2004-2018, 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 copyrigh...
vietnguyen/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/email/EmailResponse.java
Java
bsd-3-clause
2,144
package cromwell.core.callcaching import org.scalatest.{FlatSpec, Matchers} class HashKeySpec extends FlatSpec with Matchers { "HashKey" should "produce consistent key value" in { val keys = Set( HashKey("command template"), HashKey("backend name"), HashKey("input count"), HashKey("outp...
ohsu-comp-bio/cromwell
core/src/test/scala/cromwell/core/callcaching/HashKeySpec.scala
Scala
bsd-3-clause
1,051
/** * SAHARA Scheduling Server * * Schedules and assigns local laboratory rigs. * * @license See LICENSE in the top level directory for complete license terms. * * Copyright (c) 2009, University of Technology, Sydney * All rights reserved. * * Redistribution and use in source and binary forms, with ...
jeking3/scheduling-server
Reports/src/au/edu/uts/eng/remotelabs/schedserver/reports/intf/types/QuerySessionReportType.java
Java
bsd-3-clause
20,256
/** * Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk> * 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 re...
snail1966/droid
droid-report/src/main/java/uk/gov/nationalarchives/droid/report/planets/domain/YearItemType.java
Java
bsd-3-clause
5,288
/** * Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk> * 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 re...
snail1966/droid
droid-command-line/src/main/java/uk/gov/nationalarchives/droid/command/action/DisplayDefaultSignatureFileVersionCommand.java
Java
bsd-3-clause
3,404
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_calloc_52c.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-52c.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_calloc_52c.cpp
C++
bsd-3-clause
1,553
# ########################################################################### # # $Id: Makefile,v 1.3 2008/03/26 16:35:00 cnepveu Exp $ # # Copyright (c) 2007 Hexago Inc. All rights reserved. # # For license information refer to CLIENT-LICENSE.TXT # # Description: Makefile for module library gw6c-pal # ...
kevinmark/gw6c-6_0_1
gw6c-pal/platform/Makefile
Makefile
bsd-3-clause
1,805
/* * Copyright (c) 2010-2011 Mark Allen. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
gooddata/GoodData-CL
connector/src/main/java/com/restfb/DefaultJsonMapper.java
Java
bsd-3-clause
26,108
// 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 CONTENT_PUBLIC_BROWSER_DOWNLOAD_DANGER_TYPE_H_ #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_DANGER_TYPE_H_ #pragma once namespace content { // Th...
aYukiSekiguchi/ACCESS-Chromium
content/public/browser/download_danger_type.h
C
bsd-3-clause
1,271
// Copyright NVIDIA Corporation 2012 // 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 following d...
swq0553/pipeline
dp/ui/src/RenderTarget.cpp
C++
bsd-3-clause
2,148
import PromiseRouter from '../PromiseRouter'; import * as middleware from "../middlewares"; import { Parse } from "parse/node"; export class PushRouter extends PromiseRouter { mountRoutes() { this.route("POST", "/push", middleware.promiseEnforceMasterKeyAccess, PushRouter.handlePOST); } static handlePOST(r...
lucianmat/parse-server
src/Routers/PushRouter.js
JavaScript
bsd-3-clause
1,611
// Copyright 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. // Enumerate the various item subtypes that are supported by sync. // Each sync object is expected to have an immutable object type. // An object's type i...
Workday/OpenFrame
sync/internal_api/public/base/model_type.h
C
bsd-3-clause
13,759
<?php /** * @see https://github.com/zendframework/zend-di for the canonical source repository * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com) * @license https://github.com/zendframework/zend-di/blob/master/LICENSE.md New BSD License */ namespace ZendTest\Di\TestAsset; cla...
zendframework/zend-di
test/TestAsset/A.php
PHP
bsd-3-clause
329
--- id: 587d7fac367417b2b2512bdb title: Establece un dominio y un rango en una escala challengeType: 6 forumTopicId: 301491 dashedName: set-a-domain-and-a-range-on-a-scale --- # --description-- Por defecto, las escalas usan la relación de identidad. Esto significa que el valor de entrada se asigna al valor de salida....
FreeCodeCamp/FreeCodeCamp
curriculum/challenges/espanol/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.md
Markdown
bsd-3-clause
2,666
module Verifier.SAW.SATQuery ( SATQuery(..) , SATResult(..) , satQueryAsTerm ) where import Control.Monad (foldM) import Data.Map (Map) import Data.Set (Set) import Verifier.SAW.Name import Verifier.SAW.FiniteValue import Verifier.SAW.SharedTerm -- | This datatype represents a satisfiability query that might -- be...
GaloisInc/saw-script
saw-core/src/Verifier/SAW/SATQuery.hs
Haskell
bsd-3-clause
2,474
// // detail/pipe_select_interrupter.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.t...
benkaraban/anima-games-engine
LibsExternes/Includes/boost/asio/detail/pipe_select_interrupter.hpp
C++
bsd-3-clause
2,322
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Invoke-LockWorkStation', 'Author': ['@harmj0y'], 'Description': ("Locks the workstation's display."), 'Background' : False, 'OutputE...
Hackplayers/Empire-mod-Hpys-tests
lib/modules/powershell/management/lock.py
Python
bsd-3-clause
3,056
/* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* MT SCP RV32i configuration */ #include "cache.h" #include "csr.h" #include "hooks.h" #include "registers.h" #define SCP_SRAM_END (CONFIG_IPC_SH...
coreboot/chrome-ec
baseboard/mtscp-rv32i/baseboard.c
C
bsd-3-clause
1,621
/* Copyright (C) 2012 Motorola Mobility Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
xin3liang/platform_external_chromium_org_third_party_WebKit
Source/core/css/CSSSupportsRule.h
C
bsd-3-clause
2,448
/* ***** 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: * * Redistributions of sou...
louis-tru/touch_code
client/third_party/ace/lib/ace/lib/event.js
JavaScript
bsd-3-clause
12,179
#!/bin/bash DD=../../PhoneGap/ios/KNappen/assets/world/KNappen rm -rf "$DD" mkdir -p "$DD" cp -va ./KNappen.MobileSPA/* "$DD" pushd "$DD" rm -rf Brukerdokumentasjon *.ts bin obj Properties UnitTests index.html Test.html index.html *.csproj *.user config.xml Web*.config packages.config popd
knreise/KNappen
KNappen_src/KNappen/CopyToPhoneGap_ios.sh
Shell
bsd-3-clause
293
############################################################################### ## ## Copyright (C) 2014-2016, New York University. ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## ...
VisTrails/VisTrails
vistrails/core/vistrail/connection.py
Python
bsd-3-clause
10,497
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
amelmquist/chrono
src/demos/irrlicht/demo_IRR_ballSMC.cpp
C++
bsd-3-clause
6,214
Spree Ordering Info =================== Introduction goes here. Installation ------------ Add spree_ordering_info to your Gemfile: ```ruby gem 'spree_ordering_info' ``` Bundle your dependencies and run the installation generator: ```shell bundle bundle exec rails g spree_ordering_info:install ``` Testing -------...
astek-inc/spree-ordering-info
README.md
Markdown
bsd-3-clause
841
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__char_connect_socket_fprintf_82a.cpp Label Definition File: CWE134_Uncontrolled_Format_String.label.xml Template File: sources-sinks-82a.tmpl.cpp */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: connect_soc...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s01/CWE134_Uncontrolled_Format_String__char_connect_socket_fprintf_82a.cpp
C++
bsd-3-clause
7,904
/* * libjingle * Copyright 2010, 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...
muzili/libjingle-0.6.14
talk/p2p/base/sessionmessages.cc
C++
bsd-3-clause
34,550
autocommit off; create table t (a int); create view v1 as select * from t where a > 10 with check option; create view v as select * from v1 where a > 5 with cascaded check option; insert into v values (7); rollback;
CUBRID/cubrid-testcases
medium/_05_err_x/cases/check6.sql
SQL
bsd-3-clause
216
from __future__ import division, absolute_import, print_function import collections import tempfile import sys import shutil import warnings import operator import io import itertools if sys.version_info[0] >= 3: import builtins else: import __builtin__ as builtins from decimal import Decimal import numpy as...
MichaelAquilina/numpy
numpy/core/tests/test_multiarray.py
Python
bsd-3-clause
220,691
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
iwegner/MITK
Modules/Core/include/mitkVtkPropRenderer.h
C
bsd-3-clause
8,434