code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*
* This file is part of the MIAMI framework. For copyright information, see
* the LICENSE file in the MIAMI root folder.
*/
/*
* File: TemplateExecutionUnit.h
* Author: Gabriel Marin, mgabi99@gmail.com
*
* Defines data structure to hold information about the use pattern of an
* execution unit type as part o... | gmarin13/MIAMI | src/Scheduler/TemplateExecutionUnit.h | C | bsd-3-clause | 1,012 |
# # product
import logging
from django.contrib import messages
from django.contrib.auth.decorators import user_passes_test
from django.urls import reverse
from django.http import HttpResponseRedirect
from django.shortcuts import render
from dojo.utils import add_breadcrumb
from dojo.forms import ToolTypeForm
from doj... | rackerlabs/django-DefectDojo | dojo/tool_type/views.py | Python | bsd-3-clause | 2,344 |
// 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.
#include <stddef.h>
#include <stdint.h>
#include "base/bind.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/run_lo... | danakj/chromium | media/blink/multibuffer_data_source_unittest.cc | C++ | bsd-3-clause | 45,234 |
<?php
namespace BackEnd\Form;
use Zend\Form\Form;
use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;
class LoginForm extends Form
{
protected $inputFilter;
public function __construct(){
parent::__construct('login-form');
$this->setAttribute('me... | aidear/jiaju | module/BackEnd/Form/LoginForm.php | PHP | bsd-3-clause | 1,856 |
module UI.Widget.List (
listWidget
) where
import Reactive.Banana
import Reactive.Banana.Extra
import Reactive.Banana.Frameworks
import UI.TclTk
import UI.TclTk.AST
import UI.TclTk.Builder
import UI.Widget
-- | List widget
listWidget :: Frameworks t => Event t [a] -> GUI t p (TkName, Event t (Int,a))
listWidg... | Shimuuar/banana-tcltk | UI/Widget/List.hs | Haskell | bsd-3-clause | 2,401 |
// 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 MEDIA_VIDEO_SUPPORTED_VIDEO_DECODER_CONFIG_H_
#define MEDIA_VIDEO_SUPPORTED_VIDEO_DECODER_CONFIG_H_
#include <vector>
#include "base/containers/... | endlessm/chromium-browser | media/video/supported_video_decoder_config.h | C | bsd-3-clause | 2,687 |
/*
* Copyright (c) 2016, 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.
*
*/
#include <pr... | Orvid/proxygen | proxygen/lib/http/codec/experimental/HTTP2Framer.cpp | C++ | bsd-3-clause | 25,806 |
# -*-coding:Utf-8 -*
# Copyright (c) 2010-2017 LE GOFF Vincent
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# ... | vlegoff/tsunami | src/primaires/pnj/commandes/chemin/voir.py | Python | bsd-3-clause | 3,490 |
#This is where the tests go.
| praekelt/ummeli | ummeli/providers/tests.py | Python | bsd-3-clause | 29 |
import FontAwesome from '@expo/vector-icons/build/FontAwesome';
import MaterialIcons from '@expo/vector-icons/build/MaterialIcons';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { useFocusEffect } from '@react-navigation/native';
import { StackNavigationProp } from '@react-navigation/stac... | exponentjs/exponent | apps/native-component-list/src/screens/Location/BackgroundLocationMapScreen.tsx | TypeScript | bsd-3-clause | 15,261 |
using System;
namespace DistributedPrimeCalculatorApp
{
public class MessageTypes
{
public const int Terminate = 0; //tells the prime worker to stop
public const int Start = 1; //initialize the prime workers
public const int ReplyBatch = 2; //the main worker sends a batch of numbers
public const int Reque... | parallax68/MPAPI | DistributedPrimeCalculatorApp/MessageTypes.cs | C# | bsd-3-clause | 450 |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "MockORKTask.h"
#import "MockTrackedDataStore.h"
#import "MockAppInfoDelegate.h"
#import "MockKeychainWrapper.h"
#import "BridgeSDKTestable.h"
| Sage-Bionetworks/BridgeAppSDK | BridgeAppSDKTests/BridgeAppSDKTests-Bridging-Header.h | C | bsd-3-clause | 255 |
/*!
* Bootstrap v2.3.2
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
conte... | bokac1984/sandbook | sandbook/app/bootstrap/css/bootstrap.css | CSS | bsd-3-clause | 147,074 |
#ifndef ENTRY_H
#define ENTRY_H
#include "Object.h"
#include "CompiledCode.h"
#include "String.h"
#define ENTRY_MAX_ARGS_SIZE 16
typedef struct {
_Bool isHandle;
union { Value value; Object *handle; };
} EntryArg;
typedef struct {
size_t size;
EntryArg values[ENTRY_MAX_ARGS_SIZE];
} EntryArgs;
Value invokeMeth... | lm/yet-another-smalltalk-vm | vm/Entry.h | C | bsd-3-clause | 1,073 |
// Copyright (c) 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 QUICHE_QUIC_QBONE_QBONE_CLIENT_INTERFACE_H_
#define QUICHE_QUIC_QBONE_QBONE_CLIENT_INTERFACE_H_
#include <cstdint>
#include "absl/strings/st... | google/quiche | quic/qbone/qbone_client_interface.h | C | bsd-3-clause | 751 |
#ifndef SEQUENCE_INDEX_DATABASE_H_
#define SEQUENCE_INDEX_DATABASE_H_
#include <fstream>
#include <iostream>
#include <vector>
#include <assert.h>
#include <stdlib.h>
#include <sstream>
#include <algorithm>
#include "Types.h"
#include "DNASequence.h"
#include "utils/StringUtils.h"
using namespace std;
#define SEQUEN... | ylipacbio/ForReferenceOnly | common/datastructures/metagenome/SequenceIndexDatabase.h | C | bsd-3-clause | 7,231 |
/*
Copyright (C) 2013-2014 by Kristina Simpson <sweet.kristas@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pur... | sweetkristas/swiftly | src/kre/ParticleSystemEmitters.hpp | C++ | bsd-3-clause | 3,459 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DataKinds #-}
module React.Flux.Mui.RadioButton.RadioButtonGroup where
import Protolude
import Data.Aeson
import Data.Aeson.Casing
import Data.String (String)
import React.Flux
import React.Flux.Mui.Types
import React.Flux.Mui.Util
data ... | pbogdan/react-flux-mui | react-flux-mui/src/React/Flux/Mui/RadioButton/RadioButtonGroup.hs | Haskell | bsd-3-clause | 1,165 |
YUI.add('enc-utf16-test', function (Y) {
var C = CryptoJS;
Y.CryptoJSTestSuite.add(new Y.Test.Case({
name: 'Utf16',
testStringify1: function () {
Y.Assert.areEqual('z', C.enc.Utf16.stringify(C.lib.WordArray.create([0x007a0000], 2)));
},
testStringify2: fu... | pirafrank/crypto-js | branches/4.x/test/tests/enc-utf16-test.js | JavaScript | bsd-3-clause | 2,419 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2021 SoftBank Robotics. All rights reserved.
# Use of this source code is governed by a BSD-style license (see the COPYING file).
""" This package contains the qibuild actions. """
from __future__ import absolute_import
from __future__ import unicode_li... | aldebaran/qibuild | python/qibuild/actions/__init__.py | Python | bsd-3-clause | 365 |
package com.navisens.pojostick.navishare;
import com.navisens.motiondnaapi.MotionDna;
import com.navisens.pojostick.navisenscore.*;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* Created by Joseph on 11/30/17.
* <p>
* NaviShare provides functionality for communicating with other d... | navisens/Android-Plugin | navishare/src/main/java/com/navisens/pojostick/navishare/NaviShare.java | Java | bsd-3-clause | 6,973 |
# @desc makefile for Login
# @author viticm<viticm.ti@gmail.com>
# @date 2013-06-25 20:00:13
include ../../premake.mk
CFLAGS = -I$(BASEDIR)/Login/Main -I$(BASEDIR)/Login/DB -I$(BASEDIR)/Login/Packets -I$(BASEDIR)/Login/Process -I$(BASEDIR)/Login/Player -I$(BASEDIR)/Login $(SERVER_BASE_INCLUDES)
LDFLAGS =
DIRS =
OBJ... | viticm/web-pap | server/Login/DB/Makefile | Makefile | bsd-3-clause | 604 |
# $FreeBSD$
PROG= juggle
NO_MAN=
WARNS?= 3
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk>
| jhbsz/OSI-OS | tools/tools/netrate/juggle/Makefile | Makefile | bsd-3-clause | 106 |
<?php
// WARNING, this is a read only file created by import scripts
// WARNING
// WARNING, Changes made to this file will be clobbered
// WARNING
// WARNING, Please make changes on poeditor instead of here
//
//
?>
subject: (opomnik) {if:transfer.files>1}Datoteke, pripravljene{else}Datoteka, pripravljena{endif} z... | filesender/filesender | language/sl_SI/transfer_reminder.mail.php | PHP | bsd-3-clause | 2,784 |
-- |
-- Module: Threshold
-- Description: Time integrated threshold functions
-- Copyright: (c) 2013 Tom Hawkins & Lee Pike
--
-- Time integrated threshold functions typically used in condition monitoring.
module Language.Atom.Common.Threshold
( boolThreshold
, doubleThreshold
) where
import Language.Atom.Expre... | Copilot-Language/atom_for_copilot | Language/Atom/Common/Threshold.hs | Haskell | bsd-3-clause | 1,806 |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | 304NotModified/NLog | src/NLog/Layouts/XML/XmlElement.cs | C# | bsd-3-clause | 3,082 |
require "lita"
Lita.load_locales Dir[File.expand_path(
File.join("..", "..", "locales", "*.yml"), __FILE__
)]
require 'lita/handlers/markov'
# Lita::Handlers::Markov.template_root File.expand_path(
# File.join("..", "..", "templates"),
# __FILE__
# )
| dirk/lita-markov | lib/lita-markov.rb | Ruby | bsd-3-clause | 259 |
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (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.mozilla.org/MPL/
#
# Softwa... | AdrianGaudebert/configman | configman/converters.py | Python | bsd-3-clause | 15,400 |
<?php
//AJAX Poll System Hack Start - 5:03 PM 3/24/2007
$language['POLL_ID']='الرقم';
$language['LATEST_POLL']='آخر استفتاء';
$language['CAST_VOTE']='قدم صوتي';
$language['FETCHING_RESULTS']='جلب نتائج الاستفتاء الرجاء الانتظار';
$language['POLL_TITLE']='عنوان الاستفتاء';
$language['POLL_TITLE_MISSING']='عنوان ا... | cybyd/cybyd | language/arabic/lang_polls.php | PHP | bsd-3-clause | 2,204 |
package org.mafagafogigante.dungeon.stats;
import org.mafagafogigante.dungeon.game.Id;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
/**
* CauseOfDeath class that defines what kind of death happened and the ID of the related Item or Spell.
*/
public class CauseOfDeath implements Serializa... | ffurkanhas/dungeon | src/main/java/org/mafagafogigante/dungeon/stats/CauseOfDeath.java | Java | bsd-3-clause | 1,483 |
---
title: Towers of Hanoi
id: 5951ed8945deab770972ae56
challengeType: 5
isHidden: false
forumTopicId: 302341
---
## Description
<section id='description'>
Solve the <a href="https://en.wikipedia.org/wiki/Towers_of_Hanoi" title="wp: Towers_of_Hanoi" target="_blank">Towers of Hanoi</a> problem.</p>
Your solution should... | jonathanihm/freeCodeCamp | curriculum/challenges/english/10-coding-interview-prep/rosetta-code/towers-of-hanoi.english.md | Markdown | bsd-3-clause | 2,739 |
// Benoit 2011-05-16
#include <ros/node_handle.h>
#include <ros/subscriber.h>
#include <ros/rate.h>
#include <eu_nifti_env_msg_ros/RequestForUUIDs.h>
#include "NIFTiROSUtil.h"
#include "UUIDsManager.h"
namespace eu
{
namespace nifti
{
namespace ocu
{
const char* UUIDsManager::T... | talkingrobots/NIFTi_OCU | nifti_user/ocu/src/UUIDsManager.cpp | C++ | bsd-3-clause | 4,758 |
// Copyright (c) 2021 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 BASE_ALLOCATOR_PARTITION_ALLOCATOR_RESERVATION_OFFSET_TABLE_H_
#define BASE_ALLOCATOR_PARTITION_ALLOCATOR_RESERVATION_OFFSET_TABLE_H_
#includ... | ric2b/Vivaldi-browser | chromium/base/allocator/partition_allocator/reservation_offset_table.h | C | bsd-3-clause | 10,872 |
package net.jloop.rejoice;
import net.jloop.rejoice.types.Symbol;
import net.jloop.rejoice.types.Type;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class MacroHelper {
public static List<Value> collect(Env env, Iterator<Value> input, Symbol terminator) {
List<Valu... | jeremyheiler/rejoice | src/main/java/net/jloop/rejoice/MacroHelper.java | Java | bsd-3-clause | 2,365 |
import React from "react";
import { Text, View } from "react-native";
import { defaultProps, propTypes } from "./caption-prop-types";
import styles from "./styles";
const renderCredits = (style, credits) => {
if (!credits || credits === "") {
return null;
}
return (
<Text style={[styles.text, styles.cred... | newsuk/times-components | packages/caption/src/caption.js | JavaScript | bsd-3-clause | 967 |
# clojure-stemmer
A Clojure version of the
[porter stemming](http://tartarus.org/martin/PorterStemmer/).
Use the ruby version
[here](https://github.com/raypereda/stemmify/blob/master/lib/stemmify.rb)
to do the contrast test.
This is an open source program, you can copy it, modified it or
redistribute it, but must c... | m00nlight/clojure-stemmer | README.md | Markdown | bsd-3-clause | 1,529 |
<h1>Header</h1>
<p>Now, let's try something <em>inline</em>, to see if it works</p>
<p>Blah blah blah <a href="http://www.slashdot.org">http://www.slashdot.org</a></p>
<ul>
<li>Basic list</li>
<li>Basic list 2</li>
</ul>
<p>addss</p>
<ul>
<li>Lazy list</li>
</ul>
<p>An <a href="http://example.com" title="Title">example... | zestedesavoir/Python-ZMarkdown | tests/misc/multi-test.html | HTML | bsd-3-clause | 622 |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* SchemaBuilderTrait contains shortcut methods to create instances of [[ColumnSchemaBuilder]].
*
* These can be used in database migrations to... | microdisk/customre_website | vendor/yiisoft/yii2/db/SchemaBuilderTrait.php | PHP | bsd-3-clause | 10,360 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Document Info and Metadata - ... | wukchung/Home-development | documentation/manual/core/zh/zend.pdf.info.html | HTML | bsd-3-clause | 23,777 |
import Control.Monad (when)
import Distribution.Simple
import System.Directory (doesFileExist)
import System.Process (readProcess)
import Data.ByteString.Char8 as BS
gitVersion :: IO ()
gitVersion = do
let filename = "app/Internal/Version.hs"
... | da-x/fancydiff | Setup.hs | Haskell | bsd-3-clause | 780 |
module Vector where
data Vec = V !Int !Int deriving (Show, Eq)
instance Num Vec where
V x1 y1 + V x2 y2 = V (x1+x2) (y1+y2)
V x1 y1 - V x2 y2 = V (x1-x2) (y1-y2)
V x1 y1 * V x2 y2 = V (x1*x2) (y1*y2)
abs (V x y) = V (abs x) (abs y)
signum (V x y) = V (signum x) (signum y)
fromInteger x = V (fromInteger x)... | cobbpg/dow | src/Vector.hs | Haskell | bsd-3-clause | 337 |
###
# Copyright (c) 2005, Jeremiah Fincher
# 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 conditi... | octete/octete-supybot-plugins | MyChannelLogger/test.py | Python | bsd-3-clause | 1,757 |
/**
* Copyright (c) 2019, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com>
* ESP8266/005
* Blinky example using pure ESP8266 Non-OS SDK.
*/
#include "ets_sys.h"
#include "osapi.h"
#include "gpio.h"
#include "os_type.h"
#include "user_config.h"
#define LED_PIN (2)
static volatile os_timer_t blinky_timer;
static ... | lpodkalicki/blog | esp8266/005_nonos_sdk_blinky/user/main.c | C | bsd-3-clause | 1,066 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** Get all roles */
$authManager = Yii::$app->authManager;
?>
<div class="user-assignment-form">
<?php $form = ActiveForm::begin(); ?>
<?= Html::activeHiddenInput($formModel, 'userId')?>
<label class="control-label"><?=$formModel->attributeLabels()['roles'... | bara-artur/mailtousacom | modules/user/views/admin/assignment.php | PHP | bsd-3-clause | 1,440 |
<!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>Control.Lens.Internal.Getter</title><link href="ocean.css" rel="stylesheet... | nmattia/halytics | docs/lens-4.13/mini_Control-Lens-Internal-Getter.html | HTML | bsd-3-clause | 1,132 |
// 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.
// IPC messages for resource loading.
//
// NOTE: All messages must send an |int request_id| as their first parameter.
// Multiply-included message f... | Bysmyyr/chromium-crosswalk | content/common/resource_messages.h | C | bsd-3-clause | 16,094 |
// 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/ui/simple_message_box.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/compiler_speci... | endlessm/chromium-browser | chrome/browser/ui/views/message_box_dialog.cc | C++ | bsd-3-clause | 12,172 |
<?php
session_start();
// ---------------- PRE DEFINED VARIABLES ---------------- //
if ($_SESSION['user_name']=='') {
$user_name_session = $_POST['id'];
echo "no session set";
} else {
$user_name_session = $_SESSION['user_name'];
}
//print_r($user_name_session);
include_once('/kunden/homepages/0/d643120834/htd... | mayoalexander/fl-two | submit/views/db/campaign_info.php | PHP | bsd-3-clause | 31,569 |
<!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... | statsmodels/statsmodels.github.io | 0.9.0/generated/statsmodels.tsa.statespace.structural.UnobservedComponents.loglike.html | HTML | bsd-3-clause | 8,947 |
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Data Differential YATL (i.e. libtest) library
*
* Copyright (C) 2012 Data Differential, http://datadifferential.com/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | libhostile/libhostile | src/visibility.h | C | bsd-3-clause | 2,550 |
//
// text_recognizer.h
// STR
//
// Created by vampirewalk on 2015/4/14.
// Copyright (c) 2015年 mocacube. All rights reserved.
//
#ifndef __STR__text_recognizer__
#define __STR__text_recognizer__
#include <iostream>
#include <string>
#include <vector>
#include <opencv2/text.hpp>
#include <opencv2/core/utility.h... | vampirewalk/gocvtext | text_recognizer.h | C | bsd-3-clause | 564 |
/*
* ArrayEntryType.h
*
* Created on: Nov 14, 2012
* Author: Mitchell Wills
*/
#ifndef ARRAYENTRYTYPE_H_
#define ARRAYENTRYTYPE_H_
#include <stdlib.h>
#include <stdio.h>
#ifndef _WRS_KERNEL
#include <stdint.h>
#endif
class ArrayEntryType;
#include "ArrayData.h"
#include "ComplexEntryTy... | anidev/networktables-pc | networktables2/type/ArrayEntryType.h | C | bsd-3-clause | 2,420 |
#!/usr/bin/env python
import sys
def inv(s):
if s[0] == '-':
return s[1:]
elif s[0] == '+':
return '-' + s[1:]
else: # plain number
return '-' + s
if len(sys.argv) != 1:
print 'Usage:', sys.argv[0]
sys.exit(1)
for line in sys.stdin:
linesplit = line.strip().split()
if len(linesplit) == 3:
... | hlzz/dotfiles | graphics/cgal/Segment_Delaunay_graph_Linf_2/developer_scripts/lsprotate90.py | Python | bsd-3-clause | 636 |
def test_default(cookies):
"""
Checks if default configuration is working
"""
result = cookies.bake()
assert result.exit_code == 0
assert result.project.isdir()
assert result.exception is None
| vchaptsev/cookiecutter-django-vue | tests/test_generation.py | Python | bsd-3-clause | 222 |
// Test for "sancov.py missing ...".
// First case: coverage from executable. main() is called on every code path.
// RUN: %clangxx_asan -fsanitize-coverage=func,trace-pc-guard %s -o %t -DFOOBAR -DMAIN
// RUN: rm -rf %t-dir
// RUN: mkdir -p %t-dir
// RUN: cd %t-dir
// RUN: %env_asan_opts=coverage=1:coverage_dir=%t-dir... | youtube/cobalt | third_party/llvm-project/compiler-rt/test/asan/TestCases/Linux/coverage-missing.cc | C++ | bsd-3-clause | 2,574 |
# Copyright (c) 2014-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:
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the ... | mtitinger/phabos | drivers/usb/dwc2/Makefile | Makefile | bsd-3-clause | 2,133 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_61b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from a... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnv_61b.c | C | bsd-3-clause | 2,024 |
#region License Header
// /*******************************************************************************
// * Open Behavioral Health Information Technology Architecture (OBHITA.org)
// *
// * Redistribution and use in source and binary forms, with or without
// * modification, are permitted provided that the f... | OBHITA/PROCenter | ProCenter.Domain.Psc/PediatricSymptonChecklistRuleCollection.cs | C# | bsd-3-clause | 4,652 |
/*
* Copyright Matt Palmer 2011-2013, All rights reserved.
*
* This code is licensed under a standard 3-clause BSD license:
*
* 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 m... | uzen/byteseek | src/net/byteseek/searcher/sequence/sunday/SundayQuickSearcher.java | Java | bsd-3-clause | 14,817 |
# `pub.dev` API for developers
## Stay informed
This document describes the officially supported API of the `pub.dev` site.
`pub.dev` may expose API endpoints that are available publicly, but unless
they are documented here, we don't consider them as officially
supported, and may change or remove them without notice.... | dart-lang/pub-dev | doc/api.md | Markdown | bsd-3-clause | 2,303 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\general\GeneralLabel;
/* @var $this yii\web\View */
/* @var $model app\models\RefPemohonJaringanAntarabangsa */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="ref-pemohon-jaringan-antarabangsa-form">
<p class="text-muted"><span style... | hung101/kbs | frontend/views/ref-pemohon-jaringan-antarabangsa/_form.php | PHP | bsd-3-clause | 982 |
#! /usr/bin/perl
#
# configure.pl (bootstrap cgixx)
# Use on *nix platforms.
#
# cgixx CGI C++ Class Library
# Copyright (C) 2002-2004 Isaac W. Foraker (isaac at noscience dot net)
# All Rights Reserved
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that t... | codemer/cgixx | configure.pl | Perl | bsd-3-clause | 5,698 |
#!/usr/bin/env python
# -*- mode: python; sh-basic-offset: 4; indent-tabs-mode: nil; coding: utf-8 -*-
# vim: tabstop=4 softtabstop=4 expandtab shiftwidth=4 fileencoding=utf-8
#
# Shell command
# Copyright 2010, Jeremy Grosser <synack@digg.com>
import argparse
import os
import sys
import clusto
from clusto import scr... | sanyaade-mobiledev/clusto | src/clusto/commands/console.py | Python | bsd-3-clause | 2,107 |
/**
* Copyright (c) 2013, impossibl.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:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of cond... | frode-carlsen/pgjdbc-ng | src/main/java/com/impossibl/postgres/system/procs/OptionalProcProvider.java | Java | bsd-3-clause | 1,789 |
//
// $Id$
package org.ductilej.tests;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Tests handling of varags with parameterized variable argument. Edge case extraordinaire!
*/
public class ParamVarArgsTest
{
public static interface Predicate<T> {
boolean apply (T arg);
}
publ... | scaladyno/ductilej | src/test/java/org/ductilej/tests/ParamVarArgsTest.java | Java | bsd-3-clause | 1,100 |
package ga;
import engine.*;
import java.util.*;
public class GAPopulation {
/* Evolutionary parameters: */
public int size; // size of the population
public int ngens; // total number of generations
public int currgen; // current generation
/* Crossover parameters */
int tournamentK; // size of tournament
... | caranha/MTGA-old | code/ga/GAPopulation.java | Java | bsd-3-clause | 6,710 |
//=====================================================================//
/*! @file
@brief R8C LCD メイン @n
for ST7567 SPI (128 x 32) @n
LCD: Aitendo M-G0812P7567
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/h... | hirakuni45/R8C | LCD_DOT_sample/main.cpp | C++ | bsd-3-clause | 4,261 |
<?php
namespace Application\Entity\Repository;
use Doctrine\ORM\EntityRepository;
Class RubricsRepository extends EntityRepository{
} | Romez/zend.local | module/Application/src/Application/Entity/Repository/RubricsRepository.php | PHP | bsd-3-clause | 137 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE NoImplicitPrelude #-}
module Ircbrowse.View.Template where
import Ircbrowse.View
import Ircbrowse.Types.Import
import qualified Text.Blaze.Html5 as H
import Data.Text (Text)
template :: AttributeValue -> Text -> Html -> Html -> Html
te... | chrisdone/ircbrowse | src/Ircbrowse/View/Template.hs | Haskell | bsd-3-clause | 3,220 |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>eusci_a_uar... | ekawahyu/MSP430Ware | doc/MSP430i2xx/html/eusci__a__uart_8c.html | HTML | bsd-3-clause | 15,437 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta ht... | statsmodels/statsmodels.github.io | devel/generated/statsmodels.tsa.holtwinters.Holt.initialize.html | HTML | bsd-3-clause | 17,676 |
// Copyright 2021-present 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <ABI44_0_0UMTaskManagerInterface/ABI44_0_0UMTaskConsumerInterface.h>
NS_ASSUME_NONNULL_BEGIN
@interface ABI44_0_0EXBackgroundRemoteNotificationConsumer : NSObject <ABI44_0_0UMTaskConsumerInterface>
@property (no... | exponentjs/exponent | ios/versioned/sdk44/EXNotifications/EXNotifications/Notifications/Background/ABI44_0_0EXBackgroundRemoteNotificationConsumer.h | C | bsd-3-clause | 401 |
<!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>Hodograph — MetPy 0.8</title>
... | metpy/MetPy | v0.8/api/generated/metpy.plots.Hodograph.html | HTML | bsd-3-clause | 26,366 |
/*
Document : mycss
Created on : 8/06/2013, 09:43:46 AM
Author : RobertoCarlos
Description:
Purpose of the stylesheet follows.
*/
.mydesing{
border: solid 2px #333;
background-color: #0008cc;
color: #e9322d;
font-size: 20px;
margin: 0 auto 0 auto;
width: 1200px
}
... | rcapuchino/myfirstapp | public/css/mycss.css | CSS | bsd-3-clause | 321 |
// 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.
#include "third_party/blink/renderer/core/script/dynamic_module_resolver.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gt... | endlessm/chromium-browser | third_party/blink/renderer/core/script/dynamic_module_resolver_test.cc | C++ | bsd-3-clause | 16,317 |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "book".
*
* @property integer $id
* @property string $title
* @property string $published_date
*
* @property BookAuthor[] $bookAuthors
* @property BookGenre[] $bookGenres
*/
class Book extends \yii\db\ActiveRecord
{
/**
* ... | uaman89/library | models/Book.php | PHP | bsd-3-clause | 1,418 |
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.Compatibility31
-- Copyright : (c) Sven Panne 2015
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Portability : portable
--
... | phaazon/OpenGLRaw | src/Graphics/Rendering/OpenGL/Raw/Compatibility31.hs | Haskell | bsd-3-clause | 38,287 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.0/release/version0.11.1.html | HTML | bsd-3-clause | 21,439 |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "content".
*
* @property integer $id
* @property string $title
* @property integer $moderation
* @property integer $listsql_id
* @property integer $parent_id
* @property integer $grade_id
* @property string $comment_TutorAboutPupil... | halva202/halva202.by | backend/models/160501/Content.php | PHP | bsd-3-clause | 4,464 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.13.0/_modules/statsmodels/tsa/statespace/representation.html | HTML | bsd-3-clause | 160,191 |
# thingy.js
a super aewesome buzzword framework
| aewens/thingy.js | README.md | Markdown | bsd-3-clause | 48 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Jan 06 21:19:32 CET 2011 -->
<TITLE>
Uses of Package util
</TITLE>
<META NAME="date" CONTENT="2011-01-06">
<LINK REL ="stylesheet" TYPE=... | Eden-06/Search | doc/util/package-use.html | HTML | bsd-3-clause | 6,694 |
module Scheme.DataType (
module Scheme.DataType.Misc,
EvalError, ScmError, TryError,
Expr(..),
ScmCode(..), ScmFile,
Var(..),
Return(..), ReturnE,
Name, AFunc, WAFunc, RFunc, Proc, Synt,
Scm, runScm,
ScmEnv, ScmStates, ScmRef,
MetaInfo(..), Config(..), setConfig, setMSP,
... | ocean0yohsuke/Scheme | src/Scheme/DataType.hs | Haskell | bsd-3-clause | 9,162 |
from unittest import TestCase
from django.core.management import call_command
class SendAiPicsStatsTestCase(TestCase):
def test_run_command(self):
call_command('send_ai_pics_stats')
| KlubJagiellonski/pola-backend | pola/tests/commands/test_send_ai_pics_stats.py | Python | bsd-3-clause | 197 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__fgets_malloc_03.c
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fgets Read data from the console usi... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE194_Unexpected_Sign_Extension/s01/CWE194_Unexpected_Sign_Extension__fgets_malloc_03.c | C | bsd-3-clause | 4,693 |
// 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 "ash/system/settings/tray_settings.h"
#include "ash/shell.h"
#include "ash/system/power/power_status_view.h"
#include "ash/system/tray/syste... | leighpauls/k2cro4 | ash/system/settings/tray_settings.cc | C++ | bsd-3-clause | 5,055 |
var Turtle = function () {
this.d = 0;
this.x = 0;
this.y = 0;
this.rounding = false;
this.invert = false;
}
Turtle.prototype.setX = function (val) {
this.x = val;
return this;
}
Turtle.prototype.setY = function (val) {
this.y = val;
return this;
}
Turtle.prototype.setDegree = functi... | gief/turtlejs | src/turtle.js | JavaScript | bsd-3-clause | 3,007 |
# Copyright (c) 2012 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 functionality ... | prodromou87/gem5 | tests/configs/realview-switcheroo-atomic.py | Python | bsd-3-clause | 2,428 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for /var/www/html/Album/vendor/zendframework/zendframework/library/Zend/Loader/StandardAutoloader.php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="styles... | luizbrandao/ZF2-CRUD | module/AlbumRest/test/report/vendor_zendframework_zendframework_library_Zend_Loader_StandardAutoloader.php.html | HTML | bsd-3-clause | 72,360 |
<@row>
<@columns>
<@box color='success'>
<@boxHeader title='#i18n{portal.users.create_attribute.pageTitleAttributeImage}' />
<@boxBody>
<@tform action='jsp/admin/user/attribute/DoCreateAttribute.jsp' method='post'>
<@input type='hidden' name='token' value='${token}' />
<@input type='h... | rzara/lutece-core | webapp/WEB-INF/templates/admin/user/attribute/image/create_attribute_image.html | HTML | bsd-3-clause | 2,238 |
// 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 CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_
#define CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_
#include <memory>
#include "base/c... | nwjs/chromium.src | chrome/renderer/chrome_render_thread_observer.h | C | bsd-3-clause | 5,862 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_alloca_memcpy_82_bad.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml
Template File: sources-sink-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSou... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s04/CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_alloca_memcpy_82_bad.cpp | C++ | bsd-3-clause | 1,401 |
# -*- coding: utf-8 -*-
"""
Display a fortune-telling, swimming fish.
Wanda has no use what-so-ever. It only takes up disk space and compilation time,
and if loaded, it also takes up precious bar space, memory, and cpu cycles.
Anybody found using it should be promptly sent for a psychiatric evaluation.
Configuration ... | Andrwe/py3status | py3status/modules/wanda_the_fish.py | Python | bsd-3-clause | 5,569 |
[简体中文](README_ZH.md)
# rawbuf - Scalable & Efficient Serialization Library #

`rawbuf` is a powerful tool kit used in object serialization and deserialization with **full automation** feature, all new design based on [YAS](https://github.com/jobs-github/yas).
The design of rawbuf:
![des... | jobs-github/rawbuf | README.md | Markdown | bsd-3-clause | 5,997 |
/****************************************************************************/
/* */
/* Module: LegTrnaslationFuncs.h */
/* */
... | gigaplex/Intel_QST_SDK | src/Libraries/Common/LegTranslationFuncs.h | C | bsd-3-clause | 4,980 |
#ifndef APPS_SFDL_HW_V_INP_GEN_HW_H_
#define APPS_SFDL_HW_V_INP_GEN_HW_H_
#include <libv/libv.h>
#include <common/utility.h>
#include <apps_sfdl_gen/fannkuch_v_inp_gen.h>
/*
* Provides the ability for user-defined input creation
*/
class fannkuchVerifierInpGenHw : public InputCreator {
public:
fannkuchVerifierI... | srinathtv/pepper | pepper/apps_sfdl_hw/fannkuch_v_inp_gen_hw.h | C | bsd-3-clause | 521 |
#!/bin/bash
#
# Run a shell command on all slave hosts.
#
# Environment Variables
#
# HADOOP_SLAVES File naming remote hosts.
# Default is ${HADOOP_CONF_DIR}/slaves.
# HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf.
# HADOOP_SLAVE_SLEEP Seconds to sleep between spawning remote command... | wangxin39/yuqing | bin/slaves.sh | Shell | bsd-3-clause | 1,232 |
/**
* (c) 2017 TIBCO Software Inc. All rights reserved.
*
* Except as specified below, this software is licensed pursuant to the Eclipse Public License v. 1.0.
* The details can be found in the file LICENSE.
*
* The following proprietary files are included as a convenience, and may not be used except pursuant
... | cisco/PDTool | src/com/tibco/ps/deploytool/services/ServerManagerImpl.java | Java | bsd-3-clause | 5,374 |
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
* 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 ret... | dcui/FreeBSD-9.3_kernel | sys/net80211/ieee80211_ioctl.c | C | bsd-3-clause | 97,910 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-10-05 14:25
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("elections", "0049_move_status")]
operations = [
migrations.RemoveField(model_name="election", n... | DemocracyClub/EveryElection | every_election/apps/elections/migrations/0050_auto_20181005_1425.py | Python | bsd-3-clause | 512 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.