code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
program volatile_doctest
use vecfor_R4P
type(vector_R4P) :: pt
pt = ex_R4P + ey_R4P + ez_R4P
print "(L1)", 4_I8P >= pt
endprogram volatile_doctest | szaghi/VecFor | src/tests/vecfor_R4P/vecfor_R4P-doctest-167.f90 | FORTRAN | bsd-2-clause | 149 |
// ================================================================
// Copyright (c) 2004 John Kerl.
// kerl.john.r@gmail.com
//
// This code and information is provided as is without warranty of
// any kind, either expressed or implied, including but not limited to
// the implied warranties of merchantability and/or f... | johnkerl/mcmc-interacting-spatial-permutations | psdes.h | C | bsd-2-clause | 6,407 |
require 'asdf'
require 'cgi'
require 'json'
module SpecTools
def run_server
$stdout.reopen("/dev/null", "a")
$stderr.reopen("/dev/null", "a")
Dir.chdir "./test_files"
Asdf::Server.start
end
def inner_html string
string.gsub(/^<html>/,"").gsub(/<\/html>/,"")
end
def e url
CGI.escape... | ptek/tofu-kozo | spec/spec_tools.rb | Ruby | bsd-2-clause | 1,231 |
/* blah_test.cpp -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 29 Mar 2014
FreeBSD-style copyright and disclaimer apply
Experimental tests
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#define REFLECT_USE_EXCEPTIONS 1
#include "reflect.h"
#include "types/primitives.... | Remotion/reflect | tests/reflection_test.cpp | C++ | bsd-2-clause | 4,697 |
<html>
<head>
<title> Theory </title>
<link rel="stylesheet" href="pagestyles.css">
</head>
<body>
<div class="Heading">
Theory
</div>
<div class="Entry">
<ol>
<li><a href="#Theory"><strong>Theory</strong></a></li>
<li><a href="#Windows"><strong>Windows</strong></a></li>
</ol>
</div>
<a n... | lephuoccat/MATLAB | spfirst/filterdesign/help/theory.html | HTML | bsd-2-clause | 4,235 |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({name: 'moment'})
/**
* Transforms a moment date value to a display value.
*
* @module common
* @class MomentPipe
*/
export class MomentPipe implements PipeTransform {
constructor() { }
/**
* Looks up the input value within the `choices.cfg` sect... | ohsu-qin/qiprofile | src/common/moment.pipe.ts | TypeScript | bsd-2-clause | 834 |
#include <stdio.h>
#include <sys/types.h> // kqueue / kevent
#include <stdlib.h> // exit
#include <netinet/in.h>
#define crypto_secretbox_NONCEBYTES 8U
void
print_bin2hex(unsigned char * x, int len) {
int i;
for (i=0; i<len; i++) {
printf ( "%02x", x[i] );
if ( (i>0) && ( (i+1)%4 == 0 ) ) { printf (" "); }
}
... | daviddpd/dpdChatFabric | tools/nonce.c | C | bsd-2-clause | 788 |
/** @file util.h
* @brief Various utility functions used by VISE
* @author Abhishek Dutta
* @date 12 Nov. 2019
*/
#ifndef VISE_UTIL_H
#define VISE_UTIL_H
#include <string>
#include <map>
#include <unordered_map>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <regex>
#in... | ox-vgg/vise | src/vise/vise_util.h | C | bsd-2-clause | 4,323 |
import time
import os
import threading
import collections
from xlog import getLogger
xlog = getLogger("cloudflare_front")
xlog.set_buffer(500)
import simple_http_client
from config import config
import http_dispatcher
import connect_control
import check_ip
class Front(object):
name = "cloudflare_front"
def ... | qqzwc/XX-Net | code/default/x_tunnel/local/cloudflare_front/front.py | Python | bsd-2-clause | 6,638 |
package com.grilledmonkey.niceql.structs;
import java.util.LinkedList;
import java.util.List;
import com.grilledmonkey.niceql.interfaces.SqlMigration;
public class Migration implements SqlMigration {
private final List<String> sql = new LinkedList<String>();
private int version;
public Migration() {
... | Auxx/niceql | niceql/src/com/grilledmonkey/niceql/structs/Migration.java | Java | bsd-2-clause | 707 |
# cmake-modules
A collection of CMake utility functions for setting runtime library paths, environmental variables, working directory for Visual C++. And function for adding unit tests using google test with cmake.
```
SET_PROGRAM_ENV(<name>
[WORKING_DIRECTORY <dir>]
[RUNTIME_DIRS <dirs>...]
[ENVIRONMENT <VAR=va... | yangcha/cmake-modules | README.md | Markdown | bsd-2-clause | 1,133 |
/**
* Copyright 2015 Fabian Grutschus. 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 condition... | fabiang/mink-javascript-errors | src/ErrorHandler.js | JavaScript | bsd-2-clause | 3,639 |
##KxUtils
A sets of useful components and categories for iOS. | kolyvan/kxutils | readme.md | Markdown | bsd-2-clause | 62 |
package fr.sivrit.traceragent.options;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import fr.sivrit.tracingagent.options.AgentOptions;
public class AgentOptionsTe... | sivrit/TracingAgent | Agent/src/test/java/fr/sivrit/traceragent/options/AgentOptionsTest.java | Java | bsd-2-clause | 2,935 |
using System;
using System.Runtime.Serialization;
namespace Entr.Domain
{
[Serializable]
public class EntityNotFoundException : Exception
{
public EntityNotFoundException()
{
}
public EntityNotFoundException(string message) : base(message)
{
}
publ... | bradleyjford/entr | src/Entr.Domain/EntityNotFoundException.cs | C# | bsd-2-clause | 594 |
# PolygonTest
一个用于勾勒PIXI多边形的测试 | wushuyi/PolygonTest | readme.md | Markdown | bsd-2-clause | 55 |
// Copyright (c) Steinwurf ApS 2016.
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#include "tfhd.hpp"
#include <string>
namespace petro
{
namespace box
{
const std::string tfhd::TYPE = "tfhd";
}
}
| steinwurf/petro | src/petro/box/tfhd.cpp | C++ | bsd-3-clause | 260 |
//
// Copyright (c) 2009 Rutger ter Borg
//
// 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.txt)
//
#ifndef BOOST_NUMERIC_BINDINGS_BLAS_LEVEL3_HPP
#define BOOST_NUMERIC_BINDINGS_BLAS_LEVEL3_HPP
#include <boost/numer... | quantmind/jflib | include/boost/numeric/bindings/blas/level3.hpp | C++ | bsd-3-clause | 356 |
/* $NetBSD: Locore.c,v 1.1 2002/02/10 01:58:15 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
* Copyright (C) 1995, 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | MarginC/kame | netbsd/sys/arch/shark/stand/ofwboot/Locore.c | C | bsd-3-clause | 9,497 |
<?php
namespace backend\models;
use Yii;
use yii\helpers\ArrayHelper;
use backend\models\Organization;
/**
* User model
*
* @property integer $id
* @property string $username
* @property string $password_hash
* @property string $password_reset_token
* @property string $email
* @property string $auth_key
* @p... | jinglinhu/cpp | backend/models/User.php | PHP | bsd-3-clause | 3,852 |
import warnings
import numpy as np
import numbers
import collections
from warnings import warn
from scipy.sparse import csr_matrix
from scipy.spatial.distance import cdist
from menpo.transform import WithDims
from .base import Shape
def bounding_box(closest_to_origin, opposite_corner):
r"""
Return a boundi... | grigorisg9gr/menpo | menpo/shape/pointcloud.py | Python | bsd-3-clause | 48,399 |
// Copyright (c) 2009 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_DEBUGGER_DEVTOOLS_REMOTE_H_
#define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
#include "base/basictypes.h"
#include "base/ref... | rwatson/chromium-capsicum | chrome/browser/debugger/devtools_remote.h | C | bsd-3-clause | 1,333 |
// This file was generated by silverstripe/cow from client/lang/src/el.js.
// See https://github.com/tractorcow/cow for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); ... | jonom/silverstripe-cms | client/lang/el.js | JavaScript | bsd-3-clause | 1,533 |
from typing import List, Iterable, Type
import gzip
import numpy as np
def get_string_vector_reader(dtype: Type = np.float32, columns: int = None):
"""Get a reader for vectors encoded as whitespace-separated numbers"""
def process_line(line: str, lineno: int, path: str) -> np.ndarray:
numbers = line.s... | bastings/neuralmonkey | neuralmonkey/readers/string_vector_reader.py | Python | bsd-3-clause | 1,449 |
#ifndef PYTHONIC_BUILTIN_STR_STRIP_HPP
#define PYTHONIC_BUILTIN_STR_STRIP_HPP
#include "pythonic/include/__builtin__/str/strip.hpp"
#include "pythonic/types/str.hpp"
#include "pythonic/utils/functor.hpp"
namespace pythonic
{
namespace __builtin__
{
namespace str
{
types::str strip(types::str cons... | pbrunet/pythran | pythran/pythonic/__builtin__/str/strip.hpp | C++ | bsd-3-clause | 744 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta name="generator" content="AWStats 7.0 (build 1.971) from config file awstats.zend.pilipok.zp.ua.conf (http://awstats.sourceforge.net)">
<meta name="robots" content="noindex,nofollow">
<me... | avoropay/CurrencyRates | public/webstat/awstats.zend.pilipok.zp.ua.urlentry.012017.html | HTML | bsd-3-clause | 5,731 |
using System;
using System.Net.Security;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Security.Authentication;
using System.IO;
using System.IO.Compression;
using MsgPack.Serialization;
using MsgPack;
using zlib;
namesp... | brandonprry/gray_hat_csharp_code | ch12_automating_arachni_rpc/ArachniRPCSession.cs | C# | bsd-3-clause | 3,992 |
<?php
/**
* AistGitTools (http://mateuszsitek.com/projects/aist-git-tools)
*
* @link http://github.com/ma-si/aist-git-tools for the canonical source repository
* @copyright Copyright (c) 2006-2017 Aist Internet Technologies (http://aist.pl) All rights reserved.
* @license http://opensource.org/licenses/BSD... | ma-si/aist-git-tools | config/module.config.php | PHP | bsd-3-clause | 1,607 |
import React from "react";
import Image from "@times-components/image";
import styleFactory from "./styles";
import propTypes from "./proptypes";
const MastHead = ({ publicationName, breakpoint }) => {
let uri = "https://www.thetimes.co.uk/d/img/leaders-masthead-d17db00289.png";
let aspectRatio = 1435 / 250;
let... | newsuk/times-components | packages/edition-slices/src/slices/leaders/masthead.js | JavaScript | bsd-3-clause | 738 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import djangocms_text_ckeditor.fields
def migrate_club_journal(apps, schema_editor):
import re
ClubJournalEntry = apps.get_model('domecek', 'ClubJournalEntry')
for entry in ClubJournalEntry.objec... | misli/django-domecek | domecek/migrations/0012_new_clubjournalentry.py | Python | bsd-3-clause | 2,269 |
// 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 "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/autofill/wallet/instrument.h"
#include "chrome/browser/auto... | zcbenz/cefode-chromium | chrome/browser/autofill/wallet/instrument_unittest.cc | C++ | bsd-3-clause | 6,679 |
/*
* Copyright (c) 2018, 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... | smartdevicelink/sdl_core | src/components/security_manager/src/security_manager_impl.cc | C++ | bsd-3-clause | 24,474 |
(function () {
'use strict';
angular.module('instance-info', ['motech-dashboard', 'instance-info.controllers', 'ngCookies', 'ui.bootstrap']).config(
['$routeProvider',
function ($routeProvider) {
$routeProvider.
when('/instance-info/info', {templateUrl: '../instance-info... | motech/perf | instance-info/src/main/resources/webapp/js/app.js | JavaScript | bsd-3-clause | 399 |
/**
* Copyright (c) 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 o... | NevilleS/relay | src/traversal/__tests__/writeRelayQueryPayload_defaultNull-test.js | JavaScript | bsd-3-clause | 4,160 |
<!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"/>
<title>Core Plot (iOS): &l... | aufflick/core-plot | documentation/html/iOS/protocol_c_p_t_plot_delegate-p.html | HTML | bsd-3-clause | 11,642 |
/*
* Copyright (c) 2010, Sun Microsystems, Inc.
* Copyright (c) 2010, The Storage Networking Industry Association.
*
* 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 reta... | dCache/CDMI | cdmi-core/src/main/java/org/snia/cdmiserver/exception/BadRequestException.java | Java | bsd-3-clause | 2,136 |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\EventCategory;
/**
* EventCategorySearch represents the model behind the search form about `common\models\EventCategory`.
*/
class EventCategorySearch extends EventCategory
{
/**
* @inheritdoc
... | djrosl/travel | backend/models/EventCategorySearch.php | PHP | bsd-3-clause | 1,683 |
# -*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse
from .models import Story
def index(request):
stories = Story.objects.order_by('score')
return render(request, 'reader/stories.html', {'stories': stories})
| n3bukadn3zar/reservo | reservo/reader/views.py | Python | bsd-3-clause | 263 |
#!/bin/bash -xeE
TOOLS_BASE_PATH=$1
. ./env.sh
rm -Rf $DISTR_PATH
mkdir -p $DISTR_PATH
wget -P $DISTR_PATH $M4_URL
wget -P $DISTR_PATH $AUTOCONF_URL
wget -P $DISTR_PATH $AUTOMAKE_URL
wget -P $DISTR_PATH $LIBTOOL_URL
# Use as much processors
# as we can to speedup
NPROC=`nproc`
export MAKE_JOBS=$NPROC
. ./env.sh... | artpol84/slurm-pmix-test | prepare_host/prepare_tools/prepare.sh | Shell | bsd-3-clause | 946 |
#![allow(
dead_code,
non_snake_case,
non_camel_case_types,
non_upper_case_globals
)]
pub struct BlocklistMe(u8);
/// Because this type contains a blocklisted type, it should not derive Hash.
#[repr(C)]
pub struct ShouldNotDeriveHash {
pub a: BlocklistMe,
}
#[test]
fn bindgen_test_layout_ShouldNotD... | rust-lang/rust-bindgen | tests/expectations/tests/derive-hash-and-blocklist.rs | Rust | bsd-3-clause | 1,217 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>statsmodels.genmod.families.family.NegativeBinomia... | statsmodels/statsmodels.github.io | 0.8.0/generated/statsmodels.genmod.families.family.NegativeBinomial.predict.html | HTML | bsd-3-clause | 7,138 |
CWD=$(shell pwd)
GOPATH := $(CWD)/vendor:$(CWD)
prep:
if test -d pkg; then rm -rf pkg; fi
self: prep
if test -d src/github.com/cooperhewitt/go-ucd; then rm -rf src/github.com/cooperhewitt/go-ucd; fi
mkdir -p src/github.com/cooperhewitt/go-ucd/unicodedata
mkdir -p src/github.com/cooperhewitt/go-ucd/unihan
cp ucd.... | cooperhewitt/go-ucd | Makefile | Makefile | bsd-3-clause | 876 |
#define _BV(x) (1 << x)
#define bitmask (_BV(3) | _BV 4)
int main() {
int i = 0;
i += bitmask;
} | Tulitomaatti/edice | scrap/asdf.c | C | bsd-3-clause | 105 |
<?php
namespace Livraria\Model;
class CategoriaService
{
/**
* @var Livraria\Model\CategoriaTable
*/
protected $categoriaTable;
/** ------------------------------------------------------------------------------------------------------------- */
/**
* @name __construct
* @return void
*
*/
public function _... | eltonoliveira/curso.zend2 | module/Livraria/src/Livraria/Model/CategoriaService.php | PHP | bsd-3-clause | 784 |
export default (): boolean => process.env.NODE_ENV !== 'development';
| wakatime/chrome-wakatime | src/utils/isProd.ts | TypeScript | bsd-3-clause | 70 |
package Chisel
import ChiselError._
import Node._
import scala.collection.mutable.{ArrayBuffer, HashMap}
object Mem {
def apply[T <: Data](n: Int, seqRead: Boolean = false)(gen: => T): Mem[T] = {
Reg.validateGen(gen)
new Mem(n, seqRead, () => gen)
}
Component.backend.transforms.prepend { c =>
c.bfs ... | seyedmaysamlavasani/GorillaPP | chisel/chisel/src/main/scala/Mem.scala | Scala | bsd-3-clause | 6,887 |
__version__ = '0.1dev'
import argparse
import string
import re
from rap.processing_unit import ProcessingUnit
from rap.program import Program, ProgramError
input_pair_regex = re.compile("^\s*([a-zA-Z0-9]+)\s*:\s*([0-9]+)\s*$")
def parse_input(string, sep=',', pair_regex=input_pair_regex):
registers = {}
f... | lemon24/rap | rap/__init__.py | Python | bsd-3-clause | 5,176 |
// menubar.js
// top menubar icon
const path = require('path');
const db = require('../lib/db');
const switcher = require('../lib/switcher');
const {Tray, Menu} = require('electron').remote;
const iconPath = path.join(__dirname, '../../resources/menubar-alt2.png');
let menubar = null; // prevent GC
module.exports = ... | mysticflute/blue | src/menu/menubar.js | JavaScript | bsd-3-clause | 891 |
/*
-- MAGMA (version 2.1.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date August 2016
@generated from src/zgels_gpu.cpp, normal z -> s, Tue Aug 30 09:38:06 2016
*/
#include "magma_internal.h"
/************************************... | maxhutch/magma | src/sgels_gpu.cpp | C++ | bsd-3-clause | 4,464 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'pygesture/ui/templates/process_widget_template.ui'
#
# Created by: PyQt5 UI code generator 5.4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_ProcessWidget(object):
def se... | ixjlyons/pygesture | pygesture/ui/templates/process_widget_template.py | Python | bsd-3-clause | 3,894 |
package eventstore
package core
package operations
import scala.util.{ Failure, Success }
import org.specs2.mutable.Specification
import OperationError._
import Inspection.Decision.{Retry, Stop, Fail}
import TestData._
class TransactionStartInspectionSpec extends Specification {
val inspection = TransactionStartIns... | EventStore/EventStore.JVM | core/src/test/scala/eventstore/core/operations/TransactionStartInspectionSpec.scala | Scala | bsd-3-clause | 1,418 |
<?php
namespace Application\Factory;
use Exception;
use Zend\ServiceManager\AbstractFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class DefaultTableGatewayFactory implements AbstractFactoryInterface
{
/**
* Determine if we can create a service with name
*
* @param ServiceLoca... | Fryday80/SRzA | module/Application/src/Application/Factory/DefaultTableGatewayFactory.php | PHP | bsd-3-clause | 1,295 |
# -#- coding: utf-8 -#-
import feedparser
from django.db import models
from django.utils.translation import ugettext_lazy as _
from leonardo.module.web.models import ContentProxyWidgetMixin
from leonardo.module.web.models import Widget
from leonardo.module.web.widgets.mixins import JSONContentMixin
from leonardo.modu... | django-leonardo/django-leonardo | leonardo/module/web/widget/feedreader/models.py | Python | bsd-3-clause | 888 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Regression — pyrfr 0.5 documentation</title>
... | sfalkner/random_forest_run | docs/regression.html | HTML | bsd-3-clause | 199,001 |
<?php
declare(strict_types=1);
/**
* @package Garp\Functional
* @author Harmen Janssen <harmen@grrr.nl>
* @license https://github.com/grrr-amsterdam/garp-functional/blob/master/LICENSE.md BSD-3-Clause
*/
namespace Garp\Functional;
/**
* Creates a negative version of an existing function.
*
* Example:
* $a... | grrr-amsterdam/garp-functional | functions/not.php | PHP | bsd-3-clause | 692 |
// Copyright 2010-2016, 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... | kbc-developers/Mozc | src/rewriter/gen_usage_rewriter_dictionary_main.cc | C++ | bsd-3-clause | 10,507 |
var class_app_store_1_1_models_1_1_category_instance =
[
[ "category", "de/d27/class_app_store_1_1_models_1_1_category_instance.html#ac1e8313d7f7d58349cf972f2be0ae365", null ]
]; | BuildmLearn/BuildmLearn-Store | WP/doc/DOxygen_HTML/de/d27/class_app_store_1_1_models_1_1_category_instance.js | JavaScript | bsd-3-clause | 182 |
subroutine dqk51(f,a,b,result,abserr,resabs,resasc,fid)
c***begin prologue dqk51
c***date written 800101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a1a2
c***keywords 51-point gauss-kronrod rules
c***author piessens,robert,appl. math. & progr. div. - k.u.leuven
c de doncker,... | cpmech/gosl | num/qpck/dqk51.f | FORTRAN | bsd-3-clause | 9,735 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_
#define CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_
#include <memory>
#include <set>
#include <string... | endlessm/chromium-browser | chrome/browser/extensions/install_signer.h | C | bsd-3-clause | 4,465 |
# STOP! The official Copilot repos are now at [https://github.com/Copilot-Language/](https://github.com/Copilot-Language).
Overview
========
[copilot-libraries](http://hackage.haskell.org/package/copilot-libraries)
User-supplied libraries for Copilot, including linear-temporal logic,
fault-tolerant voting, regular exp... | leepike/copilot-libraries | README.md | Markdown | bsd-3-clause | 2,149 |
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2019 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.
//
// validationES2_autogen.... | youtube/cobalt | third_party/angle/src/libANGLE/validationES2_autogen.h | C | bsd-3-clause | 20,719 |
// Copyright 2016 The Cobalt Authors. All Rights Reserved.
//
// 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 ap... | youtube/cobalt | starboard/shared/stub/window_get_platform_handle.cc | C++ | bsd-3-clause | 717 |
#include <stdio.h>
#include <cybozu/thread.hpp>
#include <cybozu/event.hpp>
#include <cybozu/test.hpp>
class Thread : public cybozu::ThreadBase {
cybozu::Event& ev_;
public:
bool done_;
Thread(cybozu::Event& ev)
: ev_(ev)
, done_(false)
{
}
void threadEntry()
{
puts("thread");
puts("sleep 100msec");
... | herumi/cybozulib | test/base/event_test.cpp | C++ | bsd-3-clause | 581 |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... | Cocotteseb/Krypton | Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Layout/ViewLayoutRibbonPadding.cs | C# | bsd-3-clause | 3,234 |
// Copyright 2009 The Ninep Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package clnt
var m2id = [...]uint8{
0, 1, 0, 2, 0, 1, 0, 3,
0, 1, 0, 2, 0, 1, 0, 4,
0, 1, 0, 2, 0, 1, 0, 3,
0, 1, 0, 2, 0, 1, 0, 5,
0, 1, 0, 2, 0, 1, ... | lionkov/ninep | clnt/pool.go | GO | bsd-3-clause | 1,798 |
<?php
use yii\db\Migration;
class m170212_160300_modify_subscription extends Migration
{
public function up() {
$this->addColumn('subscription', 'good_id', \yii\db\Schema::TYPE_INTEGER);
$this->addForeignKey(
'fk-subscription-good_id',
'subscription',
'good_id'... | AlexanderBliznuk/disposable_razors | migrations/m170212_160300_modify_subscription.php | PHP | bsd-3-clause | 735 |
--+ holdcas on;
set names utf8;
CREATE TABLE coll_test_ro (id INTEGER, s1 VARCHAR(10) collate utf8_ro_cs, s2 VARCHAR(10) collate utf8_ro_cs, s3 VARCHAR(10) collate utf8_ro_cs);
INSERT INTO coll_test_ro (id, s1, s2, s3) values (0, 'a', 'A', '');
INSERT INTO coll_test_ro (id, s1, s2, s3) values (1, 'ă', 'Ă', '');
INSERT... | CUBRID/cubrid-testcases | sql/_26_features_920/issue_9405_ro_locale/_02_collation/cases/_10_alphabet.sql | SQL | bsd-3-clause | 3,274 |
package abi38_0_0.expo.modules.taskManager;
import android.app.PendingIntent;
import android.app.job.JobInfo;
import android.app.job.JobParameters;
import android.app.job.JobScheduler;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import an... | exponent/exponent | android/versioned-abis/expoview-abi38_0_0/src/main/java/abi38_0_0/expo/modules/taskManager/TaskManagerUtils.java | Java | bsd-3-clause | 10,404 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mne.viz.plot_evoked — MNE 0.14.1 documentation</title>
<link rel="stylesheet" href="../_static/basic.css" type="text/css" />
<link rel="style... | mne-tools/mne-tools.github.io | 0.14/generated/mne.viz.plot_evoked.html | HTML | bsd-3-clause | 13,519 |
var CoreView = require('backbone/core-view');
var ModalsServiceModel = require('../../../../../javascripts/cartodb3/components/modals/modals-service-model');
var Router = require('../../../../../javascripts/cartodb3/routes/router');
describe('components/modals/modals-service-model', function () {
beforeEach(function... | splashblot/dronedb | lib/assets/test/spec/cartodb3/components/modals/modals-service-model.spec.js | JavaScript | bsd-3-clause | 3,915 |
/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | patrick-luethi/Envision | OOVisualization/src/expressions/VArrayInitializerStyle.h | C | bsd-3-clause | 2,553 |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
The astropy.utils.iers package provides access to the tables provided by
the International Earth Rotation and Reference Systems Service, in
particular allowing interpolation of published UT1-UTC values for given
times. These are used in `astropy.time`... | bsipocz/astropy | astropy/utils/iers/iers.py | Python | bsd-3-clause | 31,536 |
/*
* Copyright (c) 2022 Snowplow Analytics Ltd
* 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 ... | snowplow/snowplow-javascript-tracker | plugins/browser-plugin-youtube-tracking/rollup.config.js | JavaScript | bsd-3-clause | 2,950 |
<?php
namespace E4W\Sms\Service;
use E4W\Sms\Adapter\Sms\SmsAdapterInterface;
use Zend\EventManager\EventManagerAwareInterface;
use Zend\EventManager\EventManagerAwareTrait;
class SmsService implements EventManagerAwareInterface
{
use EventManagerAwareTrait;
/** @var SmsAdapterInterface */
protected $ada... | Eye4web/E4WSms | src/E4W/Sms/Service/SmsService.php | PHP | bsd-3-clause | 1,405 |
from helper import CompatTestCase
from validator.compat import FX22_DEFINITION
class TestFX22Compat(CompatTestCase):
"""Test that compatibility tests for Gecko 22 are properly executed."""
VERSION = FX22_DEFINITION
def test_nsigh2(self):
self.run_regex_for_compat("nsIGlobalHistory2", is_js=True)... | mattbasta/amo-validator | tests/compat/test_gecko22.py | Python | bsd-3-clause | 1,747 |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "nationality".
*
* @property integer $nationality_id
* @property string $nationality
*/
class Nationality extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return... | robert-mill/cover | backend/models/Nationality.php | PHP | bsd-3-clause | 754 |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2014-11-25
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name... | princeofdarkness76/trap | transports/socket/mail-lists.html | HTML | bsd-3-clause | 10,375 |
from pylons import tmpl_context as c
from pylons import app_globals as g
from pylons.i18n import _
from r2.config import feature
from r2.controllers import add_controller
from r2.controllers.reddit_base import RedditController
from r2.lib.errors import errors
from r2.lib.require import require, RequirementException
fr... | madbook/reddit-plugin-gold | reddit_gold/controllers.py | Python | bsd-3-clause | 3,510 |
from django.http import HttpResponse
from error_capture_middleware import ErrorCaptureHandler
class PlainExceptionsMiddleware(ErrorCaptureHandler):
def handle(self, request, exception, tb):
return HttpResponse("\n".join(tb),
content_type="text/plain", status=500) | enderlabs/django-error-capture-middleware | src/error_capture_middleware/handlers/plain.py | Python | bsd-3-clause | 306 |
// Copyright 2018-present 650 Industries. All rights reserved.
#import <ABI39_0_0React/ABI39_0_0RCTBridgeModule.h>
#import <ABI39_0_0UMCore/ABI39_0_0UMInternalModule.h>
#import <ABI39_0_0UMCore/ABI39_0_0UMModuleRegistry.h>
// ABI39_0_0RCTBridgeModule capable of receiving method calls from JS and forwarding them
// to... | exponent/exponent | ios/versioned-react-native/ABI39_0_0/Expo/UMReactNativeAdapter/ABI39_0_0UMReactNativeAdapter/UMNativeModulesProxy/ABI39_0_0UMNativeModulesProxy.h | C | bsd-3-clause | 635 |
// Copyright (c) 2006, Sven Groot, see license.txt for details
#include "stdafx.h"
using namespace Gdiplus;
const float g_baseDpi = 96.0f;
float CDPIHelper::m_fScaleX = CDPIHelper::GetLogPixelsX() / g_baseDpi;
float CDPIHelper::m_fScaleY = CDPIHelper::GetLogPixelsY() / g_baseDpi;
float
CDPIHelper::ScaleX(... | darwin/upgradr | ieaddon/Upgradr/DPIHelper.cpp | C++ | bsd-3-clause | 1,874 |
@font-face {
font-weight: normal;
font-style: normal;
font-family: 'feathericons';
src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
url('... | chernogolov/sau1 | css/plugins/component.css | CSS | bsd-3-clause | 24,336 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | lmaxim/zend_gdata | library/Zend/Gdata/MediaMimeStream.php | PHP | bsd-3-clause | 5,671 |
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import random
import unittest
from infra_libs.event_mon import router
from infra_libs.event_mon.log_request_lite_pb2 import LogRequestLite
DATA_... | nicko96/Chrome-Infra | infra_libs/event_mon/test/router_test.py | Python | bsd-3-clause | 1,648 |
# -*- coding: utf-8 -*-
from django.db import models, migrations
import django.utils.timezone
import django.contrib.auth.models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('auth', '0006_require_contenttypes_0002'),
]
operations = [
migrations.... | GeoMatDigital/django-geomat | geomat/users/migrations/0001_initial.py | Python | bsd-3-clause | 3,014 |
<?php
namespace App\Exceptions;
/**
* Interface for HTTP error exceptions.
*/
interface HttpExceptionInterface
{
/**
* Returns the status code.
*
* @return int An HTTP response status code
*/
public function getStatusCode();
/**
* Returns response headers.
*
* @re... | arcostasi/slimantic-skeleton | app/src/Exceptions/HttpExceptionInterface.php | PHP | bsd-3-clause | 391 |
#pragma once
#include "utils.h"
namespace sst {
class Flags {
public:
static const i32 magic = 0x31545353; // 'SST1'
static const i32 DELETED = 0x1;
static const i32 EMPTY_VALUE = 0x2;
static inline bool deleted(i32 flag) {
return flag & DELETED;
}
static inline bool empty_value(i3... | santazhang/sstable | sstable/flags.h | C | bsd-3-clause | 394 |
/*
* Copyright 2015, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | LuminateWireless/grpc-java | core/src/main/java/io/grpc/ManagedChannelProvider.java | Java | bsd-3-clause | 5,316 |
Contributing
============
## Communication
Don't be shy, ask for help. If you have a question, comment, concern, or
great idea just open up an issue to start the conversation. You can
also email me.
## Commits
* __Rebase__: Whenever you have made commits on your local copy while at
the same time commits have bee... | pdxacm/acmapi | CONTRIBUTING.md | Markdown | bsd-3-clause | 1,336 |
<?php
namespace backend\modules\personal;
/**
* personal module definition class
*/
class Module extends \yii\base\Module
{
/**
* @inheritdoc
*/
public $controllerNamespace = 'backend\modules\personal\controllers';
/**
* @inheritdoc
*/
public function init()
{
parent... | spider049/yii2-meeting | backend/modules/personal/Module.php | PHP | bsd-3-clause | 387 |
package com.rezgame.backend.logic;
/*
* Copyright (c) <2013>, Amanj Sherwany and Nosheen Zaza
* All rights reserved.
* */
public class GameHistoryManager {
}
| amanjpro/9riskane | src/com/rezgame/backend/logic/GameHistoryManager.java | Java | bsd-3-clause | 162 |
/*
* Copyright (c) 2014, Victor Nazarov <asviraspossible@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright no... | sviperll/static-mustache | static-mustache/src/main/java/com/github/sviperll/staticmustache/TemplateCompiler.java | Java | bsd-3-clause | 12,095 |
This folder contains examples of this library used within a python script.
| ofgulban/retinex_for_mri | script_examples/readme.md | Markdown | bsd-3-clause | 75 |
/*
* -----------------------------------------------------------------
* $Revision: 4075 $
* $Date: 2014-04-24 10:46:58 -0700 (Thu, 24 Apr 2014) $
* -----------------------------------------------------------------
* Programmer(s): Radu Serban @ LLNL
* ------------------------------------------------------------... | liuqx315/Sundials | sundials/src/cvodes/cvodes_impl.h | C | bsd-3-clause | 47,780 |
/*===================================================================
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... | NifTK/MITK | Modules/QtWidgets/src/QmitkStdMultiWidget.cpp | C++ | bsd-3-clause | 64,616 |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 co... | wayfinder/Wayfinder-CppCore-v2 | cpp/Targets/MapLibNG/Shared/include/HttpClientConnection.h | C | bsd-3-clause | 7,143 |
<?php
/**
* Created by PhpStorm.
* User: yunsong
* Date: 16-10-10
* Time: 下午3:12
*/
namespace yunsong\order\controllers\pay;
use izyue\alipay\AlipayConfig;
use izyue\alipay\AlipayNotify;
use izyue\alipay\AlipaySubmit;
use Yii;
use yii\web\Controller;
class AlipayController extends Controller
{
public funct... | awebc/web_yi | yunsong/order/controllers/pay/AlipayController.php | PHP | bsd-3-clause | 5,332 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>JADE Component Library</title>
<meta name="Generator" content="Cocoa HTML ... | marrocamp/nasa-VICAR | vos/java/jpl/mipl/jade/jadis/package.html | HTML | bsd-3-clause | 666 |
class CreatePostCategoryJoinTable < ActiveRecord::Migration
def change
create_table :categories_posts, :id => false do |t|
t.integer :post_id
t.integer :category_id
end
end
end
| erdbehrmund/blogyr | db/migrate/20130117003258_create_post_category_join_table.rb | Ruby | bsd-3-clause | 201 |
// 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 "media/mojo/common/media_type_converters.h"
#include <stddef.h>
#include <stdint.h>
#include "base/numerics/safe_conversions.h"
#include "media... | highweb-project/highweb-webcl-html5spec | media/mojo/common/media_type_converters.cc | C++ | bsd-3-clause | 29,089 |