repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Laufire/ec | docs/Makefile | 6746 | # Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command w... | bsd-3-clause |
ilius/grpc-gateway | protoc-gen-grpc-gateway/gengateway/template_test.go | 13223 | package gengateway
import (
"strings"
"testing"
"github.com/golang/protobuf/proto"
protodescriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
"github.com/ilius/grpc-gateway/protoc-gen-grpc-gateway/descriptor"
"github.com/ilius/grpc-gateway/protoc-gen-grpc-gateway/httprule"
)
func crossLinkFixture(f ... | bsd-3-clause |
SteveXiSong/ECE757-SnoopingPredictions | src/mem/snoop_filter.cc | 13192 | /*
* Copyright (c) 2013 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the funct... | bsd-3-clause |
Bionics4909/Aerial-Assist | src/org/usfirst/frc4909/RealRobo2/OI.java | 3765 | // RobotBuilder Version: 1.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the ... | bsd-3-clause |
luttero/Maud | src/gov/noaa/pmel/sgt/swing/prop/GridAttributeDialog.java | 32899 | /*
* $Id: GridAttributeDialog.java,v 1.2 2006/01/19 14:45:50 luca Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions o... | bsd-3-clause |
wukchung/Home-development | documentation/api/core/db_Form_Decorator_Form.html | 24599 | <html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/black-tie/jquery-ui-1.8.2.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" ty... | bsd-3-clause |
Chilledheart/chromium | net/proxy/proxy_service_v8.cc | 1609 | // 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 "net/proxy/proxy_service_v8.h"
#include "base/logging.h"
#include "base/thread_task_runner_handle.h"
#include "base/threading/thread_checker... | bsd-3-clause |
wiccano/WDEPRDO | framework/PradoBase.php | 19078 | <?php
/**
* PradoBase class file.
*
* This is the file that establishes the PRADO component model
* and error handling mechanism.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2011 PradoSoft
* @license http://www.pradosoft.com/license/
* @vers... | bsd-3-clause |
centip3de/GSoC | src/macports1.0/get_systemconfiguration_proxies.c | 7575 | /*
* get_systemconfiguration_proxies.c
* $Id: get_systemconfiguration_proxies.c 113342 2013-11-13 20:51:15Z toby@macports.org $
*
* Copyright (c) 2008-2009, The MacPorts Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... | bsd-3-clause |
codestation/go | src/os/user/lookup_stubs.go | 1709 | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !cgo,!windows,!plan9 android vita
package user
import (
"errors"
"fmt"
"os"
"runtime"
"strconv"
)
func init() {
groupImplemented = false
}
f... | bsd-3-clause |
immortal/sandbox | go/goroutine/ping-pong/main.go | 480 | package main
import "fmt"
import "time"
type Ball struct{ hits int }
func main() {
table := make(chan *Ball)
go player("ping", table)
go player("pong", table)
table <- new(Ball) // game on; toss the ball
time.Sleep(1 * time.Second)
<-table // game over; grab the ball
panic("show the stack")
}
func player(n... | bsd-3-clause |
svoos/CorpusConverter | src/main/java/tigerxml/Head.java | 3131 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.0... | bsd-3-clause |
dterei/Scraps | amqp/gs3/recv.go | 1522 | package main
// Single sender
// Multiple receivers - round-robin
// Durable
// Delayed acknowledgment
import (
"fmt"
"time"
"github.com/streadway/amqp"
)
const (
broker = "amqp://localhost"
queue1 = "gs3-queue"
// Should queue persist beyond broker restart?
durable = true
// Should queue be deleted once ... | bsd-3-clause |
sholsapp/cryptography | src/cryptography/hazmat/backends/openssl/backend.py | 49028 | # This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from __future__ import absolute_import, division, print_function
import collections
import itertools
from contextlib import contextmanager... | bsd-3-clause |
grnrbt/grass | web/media/scripts/link.js | 781 | $(function(){
function openPanel(){
require(['panel']);
$('#admin_link').hide();
}
if($.cookie('grass_panel')){
openPanel();
}
$('#admin_link').on('click', function(e){
e.preventDefault();
openPanel();
});
});
require.config({
baseUrl: 'media/scripts'... | bsd-3-clause |
reuleaux/pire | src/Pire/Refactor/Range.hs | 30759 |
-- {-# LANGUAGE DeriveFunctor #-}
-- {-# LANGUAGE DeriveFoldable #-}
-- {-# LANGUAGE DeriveTraversable #-}
-- {-# LANGUAGE DeriveGeneric #-}
-- {-# LANGUAGE BangPatterns #-}
-- {-# LANGUAGE TemplateHaskell #-}
-- {-# LANGUAGE RecordWildCards #-}
-- {-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE FlexibleConte... | bsd-3-clause |
JianpingZeng/xcc | xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_44.c | 4166 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_44.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-44.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from... | bsd-3-clause |
dcui/FreeBSD-9.3_kernel | sys/boot/i386/kgzldr/kgzldr.h | 1717 | /*
* Copyright (c) 1999 Global Technology Associates, 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... | bsd-3-clause |
metpy/MetPy | v0.8/api/generated/metpy.io.Level2File.html | 28273 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Level2File — MetPy 0.8</title>
... | bsd-3-clause |
capira12/capira-socrates-channels | app/elements/account-dialog/account-dialog.html | 2977 | <link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id="account-dialog">
<style>
:host {
display: block;
}
paper-dialog {
width: 400px;
}
</style>
<template>
<iron-a11y-keys target="{{}}" keys="enter" on-keys-pressed="_confirm"></ir... | bsd-3-clause |
inamjung/fct | modules/fct/views/fct/indexcaseok.php | 8182 | <?php
use yii\helpers\Html;
use kartik\grid\GridView;
use yii\widgets\ActiveForm;
use yii\bootstrap\Modal;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\fct\models\FctSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'ผู้ป่วยในระบบ FCT';
$this->param... | bsd-3-clause |
abstools/easyinterface | server/config/envisage/offlineabsexamples.sh | 652 | #!/bin/bash
root="${1%/}/"
n=1
leadingchas() {
for ((i=0; i<$n; i++))
do
echo -n " "
done
}
recursiverm() {
((n++))
for d in *; do
if [ -d $d ]; then
(leadingchas)
echo "<folder name='$d'>"
(cd $d; recursiverm)
(leadingchas)
echo "</folder>"
else
x="`pwd`/$d"... | bsd-3-clause |
nwjs/chromium.src | third_party/blink/renderer/core/inspector/inspector_emulation_agent.h | 7396 | // 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTOR_EMULATION_AGENT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTOR_EMULATION_AGENT... | bsd-3-clause |
HarkerRobo/robocode14 | src/RobotCode2014/commands/manipulator/PitchAccelerationCommand.java | 1076 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package RobotCode2014.commands.manipulator;
import RobotCode2014.commands.CommandBase;
/**
*
* @author me
*/
public c... | bsd-3-clause |
kivi8/ars-poetica | vendor/nette/di/src/DI/ContainerBuilder.php | 27588 | <?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
namespace Nette\DI;
use Nette;
use Nette\Utils\Validators;
use Nette\Utils\Strings;
use Nette\PhpGenerator\Helpers as PhpHelpers;
use ReflectionClass;
/**
* Basic container buil... | bsd-3-clause |
statsmodels/statsmodels.github.io | v0.12.2/generated/statsmodels.regression.quantile_regression.QuantRegResults.cov_params.html | 23365 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | bsd-3-clause |
NCIP/cagrid-core | caGrid/projects/dorian/src/org/cagrid/gaards/dorian/federation/ReportUtils.java | 9870 | /**
*============================================================================
* Copyright The Ohio State University Research Foundation, The University of Chicago -
* Argonne National Laboratory, Emory University, SemanticBits LLC, and
* Ekagra Software Technologies Ltd.
*
* Distributed under the OSI-approved B... | bsd-3-clause |
statsmodels/statsmodels.github.io | v0.10.2/generated/statsmodels.sandbox.regression.gmm.IV2SLS.hessian.html | 7515 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.sandbox.regression.gmm.IV2SLS.hessian — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="... | bsd-3-clause |
scheib/chromium | content/browser/devtools/protocol/devtools_download_manager_delegate.h | 3868 | // Copyright 2017 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_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOWNLOAD_MANAGER_DELEGATE_H_
#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOWNLOAD_MANAGER_DELEGA... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/clang/lib/Sema/SemaStmtAsm.cpp | 36063 | //===--- SemaStmtAsm.cpp - Semantic Analysis for Asm Statements -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | bsd-3-clause |
dalifreire/rultor | src/test/java/com/rultor/spi/package-info.java | 1692 | /**
* Copyright (c) 2009-2016, rultor.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 notice, this list of conditio... | bsd-3-clause |
pongad/api-client-staging | generated/java/proto-google-cloud-dlp-v2beta1/src/main/java/com/google/privacy/dlp/v2beta1/InfoTypeDescription.java | 37925 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2beta1/dlp.proto
package com.google.privacy.dlp.v2beta1;
/**
* <pre>
* Description of the information type (infoType).
* </pre>
*
* Protobuf type {@code google.privacy.dlp.v2beta1.InfoTypeDescription}
*/
public final cla... | bsd-3-clause |
nwjs/chromium.src | media/filters/vpx_video_decoder.cc | 21197 | // 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/vpx_video_decoder.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <string>
#include <vector>
#incl... | bsd-3-clause |
operasoftware/presto-testo | core/features/dateParsing/TestCases/individual/SpaceSeparator/170.html | 318 | <!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Date parser test — 0<=x<=69 and 0<=y<=69 and 1000<=z<=9999 — 65 65 7311</title>
<script src="../date_test.js"></script>
<p>Failed (Script did not run)</p>
<script>
test_date("65 65 7311", 7316, 6, 3, 22, 0, 0)
</script>
</html> | bsd-3-clause |
sethmenghi/pylog_parse | pylog_parse/workflow.py | 4335 | """Workflow for uploading many many many log files at once."""
from __future__ import absolute_import
import os
from os.path import isfile, getsize
import logging
import re
import luigi
import psycopg2
import pandas as pd
# import sqlalchemy
try:
from .pylog_parse import LogFile
except:
from pylog_parse impor... | bsd-3-clause |
seif/NHibernate.ZMQLogPublisher | src/NHibernate.ZMQLogPublisher/SocketManager.cs | 1545 | namespace NHibernate.ZMQLogPublisher
{
using System.Collections.Concurrent;
using System.Collections.Generic;
using ZMQ;
public class SocketManager
{
private readonly Context context;
private ConcurrentDictionary<string, Socket> sockets;
private object synclock = new obj... | bsd-3-clause |
cullina/Extractor | src/BinaryTree.hs | 2206 | module BinaryTree
(
BinaryTree(..),
newNode,
value,
left,
right,
getNode,
safeGetValue,
modifyNode,
setNode,
listToTree,
append,
flatten,
Bit.natToBits
) where
import Bit
import Data.List(... | bsd-3-clause |
dynamic/silverstripe-flexslider | CONTRIBUTING.md | 1248 | # Contributing
- Maintenance on this module is a shared effort of those who use it
- To contribute improvements to the code, ensure you raise a pull request and discuss with the module maintainers
- Please follow the SilverStripe [code contribution guidelines](https://docs.silverstripe.org/en/contributing/code/) and [M... | bsd-3-clause |
srz-zumix/iutest | test/syntax_tests.cpp | 29693 | //======================================================================
//-----------------------------------------------------------------------
/**
* @file syntax_tests.cpp
* @brief syntax test
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2013-2021, Takazumi Shirayanagi... | bsd-3-clause |
danakj/chromium | chrome/browser/services/gcm/gcm_profile_service_unittest.cc | 8567 | // 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 <memory>
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/macros.h"
#include "b... | bsd-3-clause |
GaloisInc/ivory-tower-stm32 | ivory-bsp-stm32/src/Ivory/BSP/STM32F427/DMA.hs | 1945 | --
-- DMA.hs --- STM32F427 DMA driver.
--
-- Copyright (C) 2015, Galois, Inc.
-- All Rights Reserved.
--
module Ivory.BSP.STM32F427.DMA where
import Ivory.BSP.STM32.Peripheral.DMA
import Ivory.Language
import Ivory.HW
import Ivory.BSP.STM32.Interrupt
import Ivory.BSP.STM32F427.RCC
import Ivory.BSP.STM32F427.MemoryM... | bsd-3-clause |
changfuguo/vuejs-boilerplate | server/config/route.js | 383 | /**
* @decription mock file config
*
* 该文件实现路由的配置,在没有test准备好的情况下可以直接走这个mock数据
* key: 为要匹配的路由
* value: 为对应的参数配置
* method: get或者post,router的方法
* filename: 对应的mock文件
*/
module.exports = {
'/api/realtime': {
method: "post",
filename: "realtime.js"
}
};
| bsd-3-clause |
endlessm/chromium-browser | components/autofill_assistant/browser/selector_unittest.cc | 3076 | // 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.
#include "components/autofill_assistant/browser/selector.h"
#include "base/macros.h"
#include "components/autofill_assistant/browser/service.pb.h"
#inclu... | bsd-3-clause |
idlesign/makeapp | makeapp/app_templates/__default__/docs/Makefile | 616 | # Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = {{ app_name }}
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help... | bsd-3-clause |
i-e-b/SevenDigital.Messaging | src/SevenDigital.Messaging/IReceiver.cs | 2465 | using System;
using SevenDigital.Messaging.MessageReceiving;
namespace SevenDigital.Messaging
{
/// <summary>
/// A receiver node source that can produce competitive or co-operative consumers
/// </summary>
public interface IReceiver
{
/// <summary>
/// Map handlers to a listener on a named endpoin... | bsd-3-clause |
statsmodels/statsmodels.github.io | v0.12.1/generated/statsmodels.discrete.discrete_model.DiscreteResults.predict.html | 21391 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | bsd-3-clause |
rpeerbits/demo-yii | api/namespace-app.html | 1705 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Namespace app</title>
<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
... | bsd-3-clause |
fhsctv/ctv2base | module/Base/src/Base/Form/Hydrator/User.php | 1947 | <?php
namespace Base\Form\Hydrator;
use Zend\Stdlib\Hydrator\HydratorInterface;
use Base\Constants as C;
class User implements HydratorInterface {
public function extract($object) {
$filter = function($value) {
return !(($value === null) || ($value === ''));
};
... | bsd-3-clause |
furious-luke/django-scrape | setup.py | 990 | import os
from setuptools import setup, find_packages
setup(
name='django-scrape',
version='0.1',
author='Luke Hodkinson',
author_email='furious.luke@gmail.com',
maintainer='Luke Hodkinson',
maintainer_email='furious.luke@gmail.com',
url='https://github.com/furious-luke/django-scrape',
... | bsd-3-clause |
geneontology/go-site | metadata/rules/ABOUT.md | 335 | # GO Rules
This folder contains the metadata for all annotation and ontology QC
rules in GO. Each rule has an identifier, metadata and
descriptions. Some rules are automatable, in which case the metadata
contains the information required to execute it.
For more details for GOC members on how to create rules, see [SOP... | bsd-3-clause |
shockedbear/board | frontend/config/params.php | 75 | <?php
return [
'adminEmail' => 'shockedbear@shockedbear.myjino.ru',
];
| bsd-3-clause |
statsmodels/statsmodels.github.io | v0.12.2/generated/statsmodels.stats.power.NormalIndPower.html | 21919 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | bsd-3-clause |
bwohlberg/sporco | docs/source/_static/sporco.css | 4859 | /* -*- css -*-
*
* Sphinx haiku theme CSS customization for SPORCO docs.
*
*/
body {
line-height: 1.4;
font-size: 90%;
}
h2 {
padding-bottom: 5px;
border-bottom: 1px solid #d0d0d0;
margin-bottom: 16px;
}
h3 {
padding-bottom: 5px;
border-bottom: none;
margin-bottom: 16px;
font-size: 1.05em;
}
h4, ... | bsd-3-clause |
bss/mixpanel-celery | mixpanel/tests.py | 7560 | from __future__ import absolute_import
import base64
import json
import unittest
import urllib
import urllib2
import urlparse
from celery.exceptions import RetryTaskError
from mock import MagicMock as Mock
import mock
from . import tasks
from .conf import settings as mp_settings
class TestCase(unittest.TestCase):... | bsd-3-clause |
makinacorpus/reportlab-ecomobile | src/reportlab/rl_config.py | 10215 | #Copyright ReportLab Europe Ltd. 2000-2004
#see license.txt for license details
#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/rl_config.py
__version__=''' $Id$ '''
__doc__='''Configuration file. You may edit this if you wish.'''
allowTableBoundsErrors = 1 # set to 0 to di... | bsd-3-clause |
nwjs/chromium.src | components/feature_engagement/internal/never_event_storage_validator.h | 1266 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDATOR_H_
#define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDAT... | bsd-3-clause |
plum-umd/c-strider | examples/redis-2.0.2/zmalloc.c | 5173 | /* zmalloc - total amount of allocated memory aware version of malloc()
*
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ar... | bsd-3-clause |
mikem2005/vijava | src/com/vmware/vim25/DiagnosticManagerLogCreator.java | 2018 | /*================================================================================
Copyright (c) 2009 VMware, 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 ... | bsd-3-clause |
epri-dev/PT2 | src/main/java/org/epri/pt2/DO/EthernetIfaceDO.java | 2820 | //*********************************************************************************************************************
// EthernetIfaceDO.java
//
// Copyright 2014 ELECTRIC POWER RESEARCH INSTITUTE, INC. All rights reserved.
//
// PT2 ("this software") is licensed under BSD 3-Clause license.
//
// Redistribution and u... | bsd-3-clause |
EasonPai/using-neon-animation | web/styles.css | 445 | /* Copyright (c) 2016, <your name>. All rights reserved. Use of this source code */
/* is governed by a BSD-style license that can be found in the LICENSE file. */
body {
font-family: RobotoDraft, sans-serif;
color: #333;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
... | bsd-3-clause |
clbanning/j2x | j2xindent_test.go | 788 | package j2x
import (
"encoding/json"
"fmt"
"testing"
)
func TestMashalIndent(t *testing.T) {
var s = `{ "head":[ "one", 2, true, { "key":"value" } ] }`
fmt.Println("\nTestMashalIndent ... list :", s)
v, err := MarshalIndent(s," "," ")
if err != nil {
fmt.Println("err:",err.Error())
}
fmt.Printf("v:\n%s... | bsd-3-clause |
kevintvh/sodium | java/src/sodium/LazyCell.java | 411 | package sodium;
class LazyCell<A> extends Cell<A> {
LazyCell(final Stream<A> event, final Lazy<A> lazyInitValue) {
super(event, null);
this.lazyInitValue = lazyInitValue;
}
@Override
A sampleNoTrans()
{
if (value == null && lazyInitValue != null) {
value = lazyI... | bsd-3-clause |
statsmodels/statsmodels.github.io | 0.9.0/generated/statsmodels.sandbox.regression.gmm.IVGMM.html | 15943 |
<!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="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<t... | bsd-3-clause |
statsmodels/statsmodels.github.io | v0.10.0/generated/statsmodels.discrete.discrete_model.Poisson.loglikeobs.html | 8374 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.discrete.discrete_model.Poisson.loglikeobs — statsmodels v0.10.0 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" h... | bsd-3-clause |
livibetter-backup/twimonial | src/index.py | 2779 | import os
from google.appengine.api import memcache
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app
from twimonial.models import Twimonial, User
from twimonial.ui import render_write
import config
class HomePage(webap... | bsd-3-clause |
bryantmakesprog/incremental | README.md | 45 | # incremental
Template for incremental game.
| bsd-3-clause |
1GHL/2013y | exercise/816/create_file.sh | 194 | #!/bin/bash
#input
set -xv
debug=1
USAGE='usage: sh $1 $2 ;'\
'$1: is value of [1,2] create file or directory '\
'$2: is number '
echo $USAGE
echo $0
echo $1
echo $2
echo $#
if [ $# -eq 2 ]
| bsd-3-clause |
matt-42/FrameworkBenchmarks | frameworks/PHP/php-ngx/php-ngx.dockerfile | 1193 | FROM ubuntu:19.10
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null
RUN apt-get update -yqq > /dev/null && \
apt-get install -yqq wget git unzip libxml2-dev cmake make systemtap... | bsd-3-clause |
NeuroRoboticTech/AnimatLabPublicSource | Libraries/BulletAnimatSim/BlOsgGeometry.h | 711 |
#pragma once
namespace BulletAnimatSim
{
namespace Environment
{
btHeightfieldTerrainShape BULLET_PORT *CreateBtHeightField(osg::HeightField *osgHeightField, float fltSegWidth, float fltSegLength, float &fltMinHeight, float &fltMaxHeight, btScalar **aryHeightData);
btConvexHullShape BULLET_PORT *Osg... | bsd-3-clause |
todor-dk/HTML-Renderer | Source/Testing/HtmlRenderer.DomParseTester/DomComparing/ViewModels/Comment.cs | 403 | using HtmlRenderer.TestLib.Dom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HtmlRenderer.DomParseTester.DomComparing.ViewModels
{
public sealed class Comment : CharacterData<ReferenceComment>
{
public Comment(Context con... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/browser/ash/policy/reporting/arc_app_install_event_logger.cc | 8972 | // Copyright 2018 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/ash/policy/reporting/arc_app_install_event_logger.h"
#include <stdint.h>
#include <algorithm>
#include <iterator>
#include "as... | bsd-3-clause |
marcioAlmada/CLIFramework | src/CLIFramework/Component/Table/CellAttribute.php | 3942 | <?php
namespace CLIFramework\Component\Table;
use CLIFramework\Ansi\Colors;
class CellAttribute {
const ALIGN_RIGHT = 1;
const ALIGN_LEFT = 2;
const ALIGN_CENTER = 3;
const WRAP = 1;
const CLIP = 2;
const ELLIPSIS = 3;
protected $alignment = 2;
protected $formatter;
protec... | bsd-3-clause |
Rombur/DataTransferKit | packages/Interface/src/DTK_DOFMap.hpp | 3843 | /****************************************************************************
* Copyright (c) 2012-2020 by the DataTransferKit authors *
* All rights reserved. *
* *
* This ... | bsd-3-clause |
endlessm/chromium-browser | third_party/angle/src/libANGLE/capture_gles_3_0_params.cpp | 34588 | //
// 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.
//
// capture_gles3_params.cpp:
// Pointer parameter capture functions for the OpenGL ES 3.0 entry points.
#include "libANGLE/capture_gles_2_0_a... | bsd-3-clause |
markfinal/BuildAMation | tests/CodeGenTest/bam/Scripts/TestApp.cs | 1985 | #region License
// Copyright (c) 2010-2019, Mark Final
// 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
// ... | bsd-3-clause |
fleurdeswift/webdeveloper | Runtime/NodeLight/NodeBuffer.h | 245 | //
// NodeBuffer.h
// NodeLight
//
#import <JavaScriptCore/JavaScriptCore.h>
JSClassRef NodeBufferClass();
void NodeBufferExpose(JSContextRef context, JSValueRef* exception);
JSValueRef JSValueFromNSData(JSContextRef context, NSData *data);
| bsd-3-clause |
frankpaul142/aurasur | vendor/paypal/rest-api-sdk-php/sample/invoice/CancelInvoice.php | 1327 | <?php
// # Cancel Invoice Sample
// This sample code demonstrate how you can cancel
// an invoice.
/** @var Invoice $invoice */
$invoice = require 'SendInvoice.php';
use PayPal\Api\Invoice;
use PayPal\Api\CancelNotification;
try {
// ### Cancel Notification Object
// This would send a notification to both ... | bsd-3-clause |
pgaultier/sweelix-yii2-plupload | src/behaviors/AutomaticUpload.php | 19061 | <?php
/**
* AutomaticUpload.php
*
* PHP version 5.4+
*
* @author Philippe Gaultier <pgaultier@sweelix.net>
* @copyright 2010-2014 Sweelix
* @license http://www.sweelix.net/license license
* @version 1.0.3
* @link http://www.sweelix.net
* @category behaviors
* @package sweelix.yii2.plupload.beh... | bsd-3-clause |
microdisk/customre_website | frontend/models/ActivationCodeResetRequestForm.php | 1755 | <?php
namespace frontend\models;
use Yii;
use yii\base\Model;
use common\models\User;
/**
* Activation reset request form
*/
class ActivationCodeResetRequestForm extends Model {
// Init Public Constants
const STATUS_SUCCESS = 100;
const STATUS_ERROR_ACCOUNT_ALREADY_ACTIVATED = 200;
const STATUS_ERROR_ACCOUNT_... | bsd-3-clause |
avinashc89/grpc_273 | PollService/build/docs/javadoc/constant-values.html | 6992 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_40) on Mon Mar 23 05:48:17 UTC 2015 -->
<title>Constant Field Values (grpc-PollService 0.1.0-SNAPSHOT API)</title>
<meta name="date" content="2... | bsd-3-clause |
sahara108/apptentive-ios | ApptentiveConnect/source/ATConnect.h | 20486 | //
// ATConnect.h
// ApptentiveConnect
//
// Created by Andrew Wooster on 3/12/11.
// Copyright 2011 Apptentive, Inc.. All rights reserved.
//
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#elif TARGET_OS_MAC
#import <Cocoa/Cocoa.h>
#endif
#define kATConnectVersionString @"2.0.2"
#if TARGET_OS_IPHONE
# define kA... | bsd-3-clause |
TheWebster/NotificaThor | src/drawing.c | 10061 | /* ************************************************************* *\
* drawing.c *
* *
* Project: NotificaThor *
* Author: Christian Weber (ChristianWeber802@... | bsd-3-clause |
JianpingZeng/xcc | xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_malloc_82a.cpp | 3366 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_malloc_82a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-82a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management ... | bsd-3-clause |
UNFPAInnovation/GetIn_Mobile | app/src/main/java/org/sana/android/fragment/ObserverListFragment.java | 8088 | package org.sana.android.fragment;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.support.v4.app.LoaderManager;
import android.support.v4... | bsd-3-clause |
endlessm/chromium-browser | third_party/perfetto/src/trace_processor/metrics/android/span_view_stats.sql | 1382 | --
-- Copyright 2019 The Android Open Source Project
--
-- 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
--
-- https://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applica... | bsd-3-clause |
TonyBrewer/OpenHT | tests/obk/src_pers/PersObk_src.cpp | 716 | #include "Ht.h"
#include "PersObk.h"
void
CPersObk::PersObk()
{
if (PR_htValid) {
switch (PR_htInst) {
case OBK_PUSH:
{
if (P_loopCnt == 0) {
HtContinue(OBK_RTN);
break;
}
if (SendHostDataBusy()) {
HtRetry();
break;
}
uint64_t data = (uint64_t)((uint64_t)P_pau << 56);
data |=... | bsd-3-clause |
endlessm/chromium-browser | chrome/browser/resources/new_tab_page/customize_dialog.html | 5854 | <style include="cr-hidden-style cr-icons">
::part(dialog) {
min-width: 800px;
}
:host {
--border-width: 1px;
}
div[slot=title] {
align-items: center;
color: var(--ntp-primary-text-color);
display: flex;
flex-direction: row;
height: 58px;
padding: 0;
}
div[slot=body] {
... | bsd-3-clause |
laurenyew/cOrcS | src/orc/lib/web/Browse.scala | 1526 | //
// Browse.scala -- Scala class/trait/object Browse
// Project OrcScala
//
// $Id: Browse.scala 2933 2011-12-15 16:26:02Z jthywissen $
//
// Created by dkitchin on Jan 18, 2011.
//
// Copyright (c) 2011 The University of Texas at Austin. All rights reserved.
//
// Use and redistribution of this file is governed by th... | bsd-3-clause |
GaloisInc/hacrypto | competitions/CAESAR/competitions.cr.yp.to/faq.html | 7152 | <html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type=text/css>
body{font-family:sans-serif;font-size:1em}
h1{font-size:1.7em;}
h2{font-size:1.4em;}
h3{font-size:1.1em;}
p{font-size:0.8em;line-height:1.5em;}
blo... | bsd-3-clause |
mikem2005/vijava | src/com/vmware/vim25/CannotAddHostWithFTVmAsStandalone.java | 1790 | /*================================================================================
Copyright (c) 2009 VMware, 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 ... | bsd-3-clause |
fraunhoferfokus/govapps | data-portlet/src/main/java/de/fraunhofer/fokus/movepla/portlets/E_Stati.java | 2939 | package de.fraunhofer.fokus.movepla.portlets;
/*
* #%L
* govapps_data
* $Id: E_Stati.java 566 2014-11-13 15:22:01Z sma $
* %%
* Copyright (C) 2013 - 2014 Fraunhofer FOKUS / CC ÖFIT
* %%
* Copyright (c) 2,013, Fraunhofer FOKUS, Kompetenzzentrum Oeffentliche IT
* All rights reserved.
* Redistribution and use i... | bsd-3-clause |
onsoul/ha-db | saas-mycat/saas/src/main/java/com/hitler/common/model/menu/NavMenu.java | 1481 | package com.hitler.common.model.menu;
import java.io.Serializable;
import java.util.Collection;
/**
* 导航栏菜单vo
* @author Kylin
* 2015-10-10 上午9:44:27
*/
public class NavMenu implements Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
/**
* 显示内容
*/
public String text;
... | bsd-3-clause |
pmeisen/dis-timeintervaldataanalyzer | test/net/meisen/dissertation/performance/indexes/IDataGenerator.java | 359 | package net.meisen.dissertation.performance.indexes;
/**
* Helper interface to provide different data generators
*
* @author pmeisen
*
*/
public interface IDataGenerator {
/**
* Creates a generated {@code Object} the time of generation should be equal
* for each object.
*
* @return a generated object... | bsd-3-clause |
diagrams/diagrams-contrib | src/Diagrams/TwoD/Path/Follow.hs | 3104 | {-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.TwoD.Path.Follow
-- Copyright :... | bsd-3-clause |
yoannd/mtcp | dpdk-2.2.0/build/build/lib/librte_mbuf_offload/.librte_mbuf_offload.a.cmd | 78 | cmd_librte_mbuf_offload.a = ar crDs librte_mbuf_offload.a rte_mbuf_offload.o
| bsd-3-clause |
exponent/exponent | android/versioned-abis/expoview-abi41_0_0/src/main/java/abi41_0_0/expo/modules/analytics/segment/SegmentModule.java | 9079 | // Copyright 2015-present 650 Industries. All rights reserved.
package abi41_0_0.expo.modules.analytics.segment;
import android.content.Context;
import android.content.SharedPreferences;
import androidx.annotation.Nullable;
import com.segment.analytics.Analytics;
import com.segment.analytics.Options;
import com.seg... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/lldb/include/lldb/Core/FileLineResolver.h | 2120 | //===-- FileLineResolver.h --------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | bsd-3-clause |
endlessm/chromium-browser | third_party/blink/renderer/platform/graphics/dark_mode_color_classifier_test.cc | 3260 | // 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.
#include "third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party... | bsd-3-clause |
endlessm/chromium-browser | third_party/blink/renderer/core/css/basic_shape_functions.cc | 15126 | /*
* Copyright (C) 2012 Adobe Systems Incorporated. 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 ... | bsd-3-clause |
tferega/selenate | code/Server/src/main/scala/net/selenate/server/settings/ProfileSettings.scala | 2017 | package net.selenate.server
package settings
import java.io.File
import net.selenate.common.exceptions.SeException
object ProfileSettings {
private def parseDisplay(display: String): DisplaySettings =
display.toLowerCase match {
case "main" => DisplaySettings.Main
case "firstfree" => DisplaySet... | bsd-3-clause |