repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
x10mind/hunter
cmake/projects/GTest/hunter.cmake
3722
# 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" ...
bsd-2-clause
spaam/homebrew-core
Formula/cpm.rb
7874
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...
bsd-2-clause
phenomenes/varnishbeat
vendor/github.com/elastic/beats/packetbeat/protos/tcp/tcp.go
7086
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...
bsd-2-clause
jmeyers314/batoid
tests/test_Sphere.py
7740
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 == ...
bsd-2-clause
andrewjylee/omniplay
linux-lts-quantal-3.5.0/drivers/isdn/hardware/eicon/um_idi.c
24027
/* $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 /* -----------------------------------------------------------------...
bsd-2-clause
jiashuw/homebrew-cask
Casks/mpv.rb
507
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...
bsd-2-clause
artillery/capnproto
doc/news/index.html
963
--- 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...
bsd-2-clause
shogun-toolbox/shogun
src/shogun/io/streaming/StreamingAsciiFile.h
3187
/* * 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...
bsd-3-clause
MikkCZ/kitsune
bin/run-celery-worker.sh
124
#!/bin/bash exec newrelic-admin run-program python manage.py celeryd --maxtasksperchild=${CELERY_MAX_TASKS_PER_CHILD:-100}
bsd-3-clause
pulsar-chem/Pulsar-Core
scripts/data/format_CIAAW.py
2449
#!/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.*.*\]?) *$'...
bsd-3-clause
xin3liang/platform_external_chromium_org_third_party_webrtc
modules/audio_processing/audio_buffer.cc
14986
/* * 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...
bsd-3-clause
artemkramov/jenadin-test
common/models/MagazineItem.php
1379
<?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 { /*...
bsd-3-clause
danbob123/gplearn
gplearn/skutils/tests/test_testing.py
3785
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...
bsd-3-clause
aYukiSekiguchi/ACCESS-Chromium
media/filters/reference_audio_renderer.cc
3792
// 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...
bsd-3-clause
valu-digital/valuso
tests/ValuSoTest/TestAsset/AbstractExcludedService.php
200
<?php namespace ValuSoTest\TestAsset; use ValuSo\Annotation; /** * @Annotation\Exclude */ abstract class AbstractExcludedService { public function excluded() { return true; } }
bsd-3-clause
cpforbes/lumina
src-qt5/desktop-utils/lumina-fm/i18n/lumina-fm_tr.ts
49754
<?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> ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE124_Buffer_Underwrite/s03/CWE124_Buffer_Underwrite__wchar_t_alloca_loop_73a.cpp
2835
/* 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...
bsd-3-clause
mathjazz/pontoon
translate/src/core/comments/components/AddComment.test.js
761
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...
bsd-3-clause
xianyi/OpenBLAS
relapack/src/zsytrf_rec2.c
13490
/* -- 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...
bsd-3-clause
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
1603
--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...
bsd-3-clause
OnnoRokomSoftware/NetCoreCMS
NetCoreCMS.Framework/Core/Repository/NccWebSiteRepository.cs
926
/************************************************************* * Project: NetCoreCMS * * Web: http://dotnetcorecms.org * * Author: OnnoRokom Software Ltd. * * Website: www.onnorokomsoftware.com * * ...
bsd-3-clause
dasadc/conmgr
adc2018/server/adcutil.py
23866
# -*- 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...
bsd-3-clause
westerncapelabs/uopbmoh-hub
hub/templates/hub/users.html
1920
{% 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...
bsd-3-clause
thientu/drake
systems/plants/collisionDetectmex.cpp
5102
#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...
bsd-3-clause
exponentjs/exponent
ios/vendored/unversioned/react-native-reanimated/Common/cpp/SharedItems/MutableValueSetterProxy.cpp
1341
#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); ...
bsd-3-clause
VProdanov/sdl_core
src/components/transport_manager/test/include/transport_manager_mock.h
3528
/* * 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...
bsd-3-clause
colour-science/colour-science.org
output/api/0.3.4/html/colour.models.cie_xyy.html
17130
<!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...
bsd-3-clause
crezefire/angle
src/tests/third_party/gpu_test_expectations/HowToMakeChanges.md
1157
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...
bsd-3-clause
Lynx3d/tinker_tools
Language/Language_Eng.lua
33867
local Dta = select(2, ...) Dta.Lang.English = {} local English = Dta.Lang.English ---------------------------------------- --Help ---------------------------------------- ---Intro------------------------------------------------------------------ English.Intro = {} English.Intro.Label = "Intro" English.Intro.Text1 = "...
bsd-3-clause
jazzband/django-constance
tests/test_form.py
1084
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...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_struct_54b.cpp
1396
/* 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...
bsd-3-clause
darkrsw/safe
tests/loop_test/l9.html
188
<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>
bsd-3-clause
eiabea/bitmonero
tests/unit_tests/ban.cpp
7588
// 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...
bsd-3-clause
hung101/kbs
frontend/models/RefJawatanInduk.php
2995
<?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 $...
bsd-3-clause
xushiwei/szl
src/engine/scope.cc
6221
// 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...
bsd-3-clause
kuochaoyi/xsbt
compile/CompilerArguments.scala
2999
/* 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...
bsd-3-clause
leiferikb/bitpop-private
chrome/browser/chromeos/login/version_info_updater.cc
7139
// 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...
bsd-3-clause
endlessm/chromium-browser
third_party/swiftshader/third_party/SPIRV-Tools/test/opt/fold_test.cpp
295349
// 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...
bsd-3-clause
smilusingjavascript/blink
Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
9221
// 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...
bsd-3-clause
kordless/zoto-server
zulu-2.0/python_module/zsp_packets.c
3830
/*============================================================================* * * * This file is part of the Zoto Software suite. * * * * Copyright (C) 2004 Zoto, Inc. 123 South Hudson, OKC, OK 73102 * ...
bsd-3-clause
edina/lockss-daemon
test/src/org/lockss/mail/TestMimeMessage.java
8543
/* * $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...
bsd-3-clause
QiumingLu/saber
cmake/Modules/FindLevelDB.cmake
1061
# - 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 /...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE90_LDAP_Injection/CWE90_LDAP_Injection__w32_wchar_t_connect_socket_31.c
8856
/* 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...
bsd-3-clause
bigjun/mrpt
libs/hwdrivers/src/aria/include/ArActionGotoStraight.h
4790
/* 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...
bsd-3-clause
scheib/chromium
chrome/browser/media/webrtc/same_origin_observer.h
1714
// 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...
bsd-3-clause
nakajimakou1/cvdrone-master_leap_FaceDetect
src/3rdparty/LeapSDK/docs/Languages/ObjectiveC/html/Classes/LeapVector.html
62836
<!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" ...
bsd-3-clause
hzhao/galago-git
core/src/main/java/org/lemurproject/galago/core/util/IterUtils.java
1424
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...
bsd-3-clause
samstern/MSc-Project
pybrain/rl/environments/timeseries/test programs/ar1TestScript.py
976
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...
bsd-3-clause
tarwn/BasicAzureStorageSDK
Basic.Azure.Storage/Communications/TableService/EntityOperations/DeleteEntityRequest.cs
2132
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...
bsd-3-clause
aldenjenkins/foobargamingwebsite
djangobb_forum/static/djangobb_forum/themes/default/css/default_cs.css
6110
/****************************************************************/ /* 1. BACKGROUND AND TEXT COLOURS */ /****************************************************************/ /* 1.1 Default background colour and text colour */ body{text-align:center;background : url(../img/back.gif);} /* �������� ����� */ .djangobb {COLO...
bsd-3-clause
santazhang/simple-rpc
base/threading.h
5266
#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...
bsd-3-clause
mgiuffrida/polymer
src/standard/gestures.html
22385
<!-- @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:/...
bsd-3-clause
ccammilleri/Serpico
helpers/helper.rb
7803
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("==]",...
bsd-3-clause
espadrine/opera
chromium/src/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
5902
/* * 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...
bsd-3-clause
zserg84/tender
modules/translations/controllers/console/I18nController.php
4308
<?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; ...
bsd-3-clause
hlzz/dotfiles
graphics/cgal/Spatial_searching/examples/Spatial_searching/general_neighbor_searching.cpp
1316
#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> ...
bsd-3-clause
NCIP/webgenome
tags/WEBGENOME_R3.2_6MAR2009_BUILD1/java/webui/src/org/rti/webgenome/webui/struts/upload/ReporterColumnNameForm.java
1844
/*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; ...
bsd-3-clause
jroelofs/uwh-display
include/uwhd/display/Status.h
436
//===-- 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. // //===-----------------------------------------------------------...
bsd-3-clause
andymckay/addons-server
src/olympia/amo/tests/test_decorators.py
5822
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...
bsd-3-clause
kataras/iris
_examples/logging/json-logger/main.go
1968
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....
bsd-3-clause
andymckay/zamboni
mkt/developers/management/commands/cleanup_addon_premium.py
364
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...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE23_Relative_Path_Traversal/s02/CWE23_Relative_Path_Traversal__char_file_ifstream_08.cpp
4569
/* 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...
bsd-3-clause
dscho/nmh
docs/historical/mh-6.8.5/papers/trusted/diagramA1-2.tex
285
% 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
bsd-3-clause
msf-oca-his/dhis-core
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/listener/TrackedEntityRegistrationSMSListener.java
7054
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...
bsd-3-clause
otis22/yupe-test
protected/modules/install/messages/ru/install.php
23446
<?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). ...
bsd-3-clause
younes0/support
readme.md
2660
# 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...
bsd-3-clause
youtube/cobalt
third_party/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp
41495
//===--- 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. // //===-------------------------------------------------------...
bsd-3-clause
kputnam/stupidedi
lib/stupidedi/schema/segment_req.rb
871
# 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...
bsd-3-clause
fcitx/mozc
src/prediction/dictionary_predictor.cc
88483
// 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...
bsd-3-clause
youtube/cobalt
third_party/llvm-project/lldb/include/lldb/Host/macosx/HostThreadMacOSX.h
764
//===-- HostThreadMacOSX.h --------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bsd-3-clause
kinddevil/shop
client/app/checkout/checkout.js
338
'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...
bsd-3-clause
vietnguyen/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/email/EmailResponse.java
2144
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...
bsd-3-clause
ohsu-comp-bio/cromwell
core/src/test/scala/cromwell/core/callcaching/HashKeySpec.scala
1051
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...
bsd-3-clause
jeking3/scheduling-server
Reports/src/au/edu/uts/eng/remotelabs/schedserver/reports/intf/types/QuerySessionReportType.java
20256
/** * 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 ...
bsd-3-clause
snail1966/droid
droid-report/src/main/java/uk/gov/nationalarchives/droid/report/planets/domain/YearItemType.java
5288
/** * 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...
bsd-3-clause
snail1966/droid
droid-command-line/src/main/java/uk/gov/nationalarchives/droid/command/action/DisplayDefaultSignatureFileVersionCommand.java
3404
/** * 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...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_calloc_52c.cpp
1553
/* 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 ...
bsd-3-clause
kevinmark/gw6c-6_0_1
gw6c-pal/platform/Makefile
1805
# ########################################################################### # # $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 # ...
bsd-3-clause
gooddata/GoodData-CL
connector/src/main/java/com/restfb/DefaultJsonMapper.java
26108
/* * 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...
bsd-3-clause
aYukiSekiguchi/ACCESS-Chromium
content/public/browser/download_danger_type.h
1271
// 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...
bsd-3-clause
swq0553/pipeline
dp/ui/src/RenderTarget.cpp
2148
// 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...
bsd-3-clause
lucianmat/parse-server
src/Routers/PushRouter.js
1611
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...
bsd-3-clause
Workday/OpenFrame
sync/internal_api/public/base/model_type.h
13759
// 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...
bsd-3-clause
zendframework/zend-di
test/TestAsset/A.php
329
<?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...
bsd-3-clause
FreeCodeCamp/FreeCodeCamp
curriculum/challenges/espanol/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.md
2666
--- 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....
bsd-3-clause
GaloisInc/saw-script
saw-core/src/Verifier/SAW/SATQuery.hs
2474
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...
bsd-3-clause
benkaraban/anima-games-engine
LibsExternes/Includes/boost/asio/detail/pipe_select_interrupter.hpp
2322
// // 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...
bsd-3-clause
Hackplayers/Empire-mod-Hpys-tests
lib/modules/powershell/management/lock.py
3056
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...
bsd-3-clause
coreboot/chrome-ec
baseboard/mtscp-rv32i/baseboard.c
1621
/* 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...
bsd-3-clause
xin3liang/platform_external_chromium_org_third_party_WebKit
Source/core/css/CSSSupportsRule.h
2448
/* 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 ...
bsd-3-clause
louis-tru/touch_code
client/third_party/ace/lib/ace/lib/event.js
12179
/* ***** 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...
bsd-3-clause
knreise/KNappen
KNappen_src/KNappen/CopyToPhoneGap_ios.sh
293
#!/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
bsd-3-clause
VisTrails/VisTrails
vistrails/core/vistrail/connection.py
10497
############################################################################### ## ## 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. ## ## ...
bsd-3-clause
amelmquist/chrono
src/demos/irrlicht/demo_IRR_ballSMC.cpp
6214
// ============================================================================= // 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...
bsd-3-clause
astek-inc/spree-ordering-info
README.md
841
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 -------...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s01/CWE134_Uncontrolled_Format_String__char_connect_socket_fprintf_82a.cpp
7904
/* 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...
bsd-3-clause
muzili/libjingle-0.6.14
talk/p2p/base/sessionmessages.cc
34550
/* * 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...
bsd-3-clause
CUBRID/cubrid-testcases
medium/_05_err_x/cases/check6.sql
216
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;
bsd-3-clause
MichaelAquilina/numpy
numpy/core/tests/test_multiarray.py
220691
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...
bsd-3-clause
iwegner/MITK
Modules/Core/include/mitkVtkPropRenderer.h
8434
/*=================================================================== 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...
bsd-3-clause