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 |
|---|---|---|---|---|---|
package de.darwinspl.feature.graphical.configurator.predicates;
import java.util.function.Predicate;
import org.eclipse.emf.ecore.util.EcoreUtil;
import eu.hyvar.dataValues.HyValue;
import eu.hyvar.feature.HyFeatureAttribute;
import eu.hyvar.feature.configuration.HyAttributeValueAssignment;
public class DwConfigura... | HyVar/DarwinSPL | plugins/de.darwinspl.feature.graphical.configurator/src/de/darwinspl/feature/graphical/configurator/predicates/DwConfiguratorElementHasAttributePredicate.java | Java | apache-2.0 | 909 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Communicator</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (l... | sujitbehera27/MyRoboticsProjects-Arduino | javadoc/org/myrobotlab/service/interfaces/Communicator.html | HTML | apache-2.0 | 10,492 |
package network
import "github.com/Azure/azure-sdk-for-go/version"
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect ... | cilium/cilium | vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-11-01/network/version.go | GO | apache-2.0 | 673 |
(Click "Preview" to turn any URL into a clickable link)
If you have build or run problems, please read [troubleshooting](https://github.com/DiligentGraphics/DiligentEngine/blob/master/Troubleshooting.md) first.
Please double-check that your [code is up-to-date, including all submodules](https://github.com/DiligentGra... | DiligentGraphics/DiligentSamples | .github/issue_template.md | Markdown | apache-2.0 | 1,197 |
# Copyright 2014 N3TWORK, Inc.
#
# Licensed under Apache 2.0 - see the LICENSE file
| optimizely/chef-druid | recipes/default.rb | Ruby | apache-2.0 | 84 |
package org.batfish.datamodel;
import static org.batfish.datamodel.matchers.IpSpaceMatchers.containsIp;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertThat;
import com.google.common.collect.ImmutableList;
import java.io.IOException;
import or... | intentionet/batfish | projects/batfish-common-protocol/src/test/java/org/batfish/datamodel/IpSpaceTest.java | Java | apache-2.0 | 3,615 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distrib... | yonchev/hadoop-mini-clusters | test/main/java/com/github/sakserv/minicluster/mapreduce/Driver.java | Java | apache-2.0 | 2,197 |
package filter
import (
"fmt"
"strings"
"github.com/elastic/beats/libbeat/common"
"github.com/elastic/beats/libbeat/logp"
)
type FilterCondition struct {
}
type FilterRule interface {
Filter(event common.MapStr) (common.MapStr, error)
String() string
}
/* extends FilterRule */
type IncludeFields struct {
Fi... | ninjasftw/libertyproxybeat | vendor/github.com/elastic/beats/libbeat/filter/filter.go | GO | apache-2.0 | 3,640 |
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | ReadyTalk/jitsi-videobridge | src/main/java/org/jitsi/videobridge/osgi/OSGi.java | Java | apache-2.0 | 10,921 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | guiling/tez | tez-dag/src/test/java/org/apache/tez/dag/app/rm/TestTaskSchedulerManager.java | Java | apache-2.0 | 30,102 |
//
// Created by Bruno Wernimont on 2012
// Copyright 2012 BaseKit
//
// 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 require... | ListFranz/NoteItIOS | Vendor/View/UIBarButtonItem+BaseKit.h | C | apache-2.0 | 915 |
#!/bin/sh
set -e
./gradlew clean build
git checkout gh-pages
git pull --rebase
git rm -r jgiven-report/*
mkdir -p jgiven-report/html5
cp -r jgiven-tests/build/reports/jgiven/html5/ jgiven-report/
git add jgiven-report/
git commit -m 'added generated jgiven report to gh-pages'
git push
git checkout -f master
| ahus1/JGiven | scripts/publishJGivenReports.sh | Shell | apache-2.0 | 309 |
using System;
namespace Lucene.Net.Search
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You u... | jeme/lucenenet | src/Lucene.Net/Search/DisjunctionMaxScorer.cs | C# | apache-2.0 | 3,907 |
<?php
/*
* services_ntpd_pps.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2013 Dagorlad
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... | NOYB/pfsense | src/usr/local/www/services_ntpd_pps.php | PHP | apache-2.0 | 6,148 |
// Copyright 2019 Google Inc. 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 applicable... | ninja-build/ninja | src/missing_deps_test.cc | C++ | apache-2.0 | 5,978 |
/*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | sdnwiselab/onos | protocols/ospf/protocol/src/main/java/org/onosproject/ospf/protocol/lsa/linksubtype/MaximumReservableBandwidth.java | Java | apache-2.0 | 3,359 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-12-09 21:59
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('osf', '0025_preprintprovider_social_instagram'),
]
op... | mluo613/osf.io | osf/migrations/0026_preprintservice_license.py | Python | apache-2.0 | 583 |
<body data-spy="scroll" data-target=".topbar" data-offset="90">
<nav class="navbar navbar-default navbar-fixed-top topbar">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="https://github.com/linkedin/naarad">naarad</a>
</div>
<div id="navbar">
<ul class=... | linkedin/naarad | src/naarad/resources/default_metric_page.html | HTML | apache-2.0 | 7,886 |
<!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>
<title>Redirection</title>
<meta http-equiv="refresh" content="0; url=html/index.html" />
</head>
<body>
<a href="html/index.html">ind... | mlaz/mynewt-core | net/ip/lwip_base/doc/doxygen/output/index.html | HTML | apache-2.0 | 351 |
// Automatically generated by MockGen. DO NOT EDIT!
// Source: github.com/docker/infrakit/pkg/spi/flavor (interfaces: Plugin)
package flavor
import (
types0 "github.com/docker/infrakit/pkg/plugin/group/types"
flavor "github.com/docker/infrakit/pkg/spi/flavor"
instance "github.com/docker/infrakit/pkg/spi/instance"
... | FrenchBen/infrakit | pkg/provider/google/mock/flavor/flavor.go | GO | apache-2.0 | 2,386 |
/**
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | nelsonsilva/wave-protocol | src/org/waveprotocol/box/server/robots/active/ActiveApiOperationServiceRegistry.java | Java | apache-2.0 | 3,570 |
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* @version
* 2.0.278 (February 03 2009)
*
* @author
* Alex Gorbatchev
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* Licensed under a GNU Lesser General Public License.
* http://creativecommons.org/licenses/LGPL/2.1/
*
* SyntaxHighli... | Ange1o/ange1o.github.io | css/shCore.css | CSS | apache-2.0 | 5,745 |
<?php
/**
* Contains all client objects for the ReportDefinitionService service.
*
* PHP version 5
*
* Copyright 2013, Google Inc. 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 ... | surapan2521/google-api-adwords-php | src/Google/Api/Ads/AdWords/v201306/ReportDefinitionService.php | PHP | apache-2.0 | 57,967 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>How do I enable student peer review for an assignment?</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="sakai.assignment" name="description">
<meta content="peer review, peer assessment, peer evaluation" name="search">
<link href="... | OpenCollabZA/sakai | help/help/src/sakai_screensteps_calendarUserGuide/howdoImodifyCalendarpermissions.html | HTML | apache-2.0 | 3,536 |
// Package level implements leveled logging on top of package log. To use the
// level package, create a logger as per normal in your func main, and wrap it
// with level.NewFilter.
//
// var logger log.Logger
// logger = log.NewLogfmtLogger(os.Stderr)
// logger = level.NewFilter(logger, level.AllowInfo()) // ... | Thib17/graphite-remote-adapter | vendor/github.com/go-kit/kit/log/level/doc.go | GO | apache-2.0 | 927 |
/*
* Copyright 2013, 2014 Deutsche Nationalbibliothek
*
* 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... | philboeselager/metafacture-core | src/main/java/org/culturegraph/mf/types/MultiHashMap.java | Java | apache-2.0 | 2,104 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | android-ia/platform_tools_idea | plugins/groovy/src/org/jetbrains/plugins/groovy/util/SdkHomeSettings.java | Java | apache-2.0 | 2,956 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* dist... | sankarh/hive | llap-client/src/java/org/apache/hadoop/hive/llap/registry/LlapServiceInstance.java | Java | apache-2.0 | 2,069 |
/**
* Copyright (C) FuseSource, Inc.
* http://fusesource.com
*
* 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... | janstey/fuse | sandbox/eca/eca-core/src/main/java/org/fusesource/eca/component/eca/EcaProducer.java | Java | apache-2.0 | 1,510 |
/* FONT STACK */
body,
input, select, textarea {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1.1;
}
/* BASE LAYOUT */
html {
background-color: #ddd;
background-image: -moz-linear-g... | adioss/GrailsStarterTestSuite | grails-app/assets/stylesheets/main.css | CSS | apache-2.0 | 11,908 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | alexksikes/elasticsearch | src/main/java/org/elasticsearch/index/snapshots/IndexShardSnapshotStatus.java | Java | apache-2.0 | 3,857 |
/*
Copyright 2011-2013 Frederic Langlet
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | Sputuks3/kanzi | java/src/kanzi/util/IntBTree.java | Java | apache-2.0 | 12,295 |
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.codeInsight.userSkeletons;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFileSystemItem;
import com.jetbrains.python.codeInsight.PyC... | ThiagoGarciaAlves/intellij-community | python/src/com/jetbrains/python/codeInsight/userSkeletons/PyUserSkeletonsModuleMembersProvider.java | Java | apache-2.0 | 2,215 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.Resources;
using System.Threadin... | paladique/roslyn | src/Compilers/Core/CodeAnalysisTest/Diagnostics/DiagnosticLocalizationTests.cs | C# | apache-2.0 | 16,869 |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | zwets/flowable-engine | modules/flowable5-test/src/test/java/org/activiti/engine/test/api/mgmt/JobQueryTest.java | Java | apache-2.0 | 20,129 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | nishantmonu51/druid | processing/src/test/java/org/apache/druid/query/aggregation/last/FloatLastAggregationTest.java | Java | apache-2.0 | 9,403 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | apache/olingo-odata4 | lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/FilterOptionImpl.java | Java | apache-2.0 | 1,481 |
{% extends 'pages/base.html' %}
{% block maintitle %}
Fractions
{% endblock maintitle %}
{% block navbar_breadcrumb %}
<ul class="nav navbar-nav oppia-navbar-breadcrumb">
<li>
<span class="oppia-navbar-breadcrumb-separator"></span>
<span>Fractions</span>
</li>
</ul>
{% endblock navbar_breadc... | himanshu-dixit/oppia | core/templates/dev/head/pages/landing/fractions/landing_page_c.html | HTML | apache-2.0 | 2,443 |
/**
* Copyright (C) 2004-2009 Jive Software. 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 requir... | zhouluoyang/openfire | src/java/org/jivesoftware/util/ElementUtil.java | Java | apache-2.0 | 15,070 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | ern/elasticsearch | server/src/main/java/org/elasticsearch/persistent/AllocatedPersistentTask.java | Java | apache-2.0 | 9,177 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | majorsilence/My-FyiReporting | Examples/SampleWpfAndXwtViewer/WpfAndXwtViewer/MainWindow.xaml.cs | C# | apache-2.0 | 2,029 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.3-4-214
description: >
Object.getOwnPropertyDescriptor returns accessor desc for
accessors on built-ins (RegExp.prototype.ignoreCase)
---*/
var desc = Obje... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-214.js | JavaScript | bsd-2-clause | 717 |
'use strict';
angular.module('ontimeApp')
.controller('LocationController', function ($scope, $state, Location) {
$scope.locations = [];
$scope.loadAll = function() {
Location.query(function(result) {
$scope.locations = result;
});
};
$scope.l... | sandor-balazs/nosql-java | oracle/src/main/webapp/scripts/app/entities/location/location.controller.js | JavaScript | bsd-2-clause | 628 |
<?php
/*
* Bluethrust Clan Scripts v4
* Copyright 2014
*
* Author: Bluethrust Web Development
* E-mail: support@bluethrust.com
* Website: http://www.bluethrust.com
*
* License: http://www.bluethrust.com/license.php
*
*/
if(!isset($member) || !isset($tournamentObj) || substr($_SERVER['PHP_SELF'], -strlen("m... | bluethrust/clanscriptsv4 | members/tournaments/setmanagers.php | PHP | bsd-2-clause | 5,534 |
class Pngcheck < Formula
desc "Print info and check PNG, JNG, and MNG files"
homepage "http://www.libpng.org/pub/png/apps/pngcheck.html"
url "http://www.libpng.org/pub/png/src/pngcheck-3.0.3.tar.gz"
sha256 "c36a4491634af751f7798ea421321642f9590faa032eccb0dd5fb4533609dee6"
license all_of: ["MIT", "GPL-2.0-or-l... | zyedidia/homebrew-core | Formula/pngcheck.rb | Ruby | bsd-2-clause | 1,301 |
cask "micro-snitch" do
version "1.5.1"
sha256 "0751ee61be154d2efbe9c39ad496544f53944b4d880aefa1ef487b35755cc952"
url "https://www.obdev.at/downloads/MicroSnitch/MicroSnitch-#{version}.dmg"
name "Micro Snitch"
desc "Monitors and reports any microphone and camera activity"
homepage "https://www.obdev.at/prod... | nrlquaker/homebrew-cask | Casks/micro-snitch.rb | Ruby | bsd-2-clause | 1,051 |
// Copyright 2016 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 MOJO_PUBLIC_CPP_SYSTEM_WATCHER_H_
#define MOJO_PUBLIC_CPP_SYSTEM_WATCHER_H_
#include <memory>
#include "base/callback.h"
#include "base/macros.h... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/mojo/public/cpp/system/watcher.h | C | bsd-2-clause | 4,683 |
/*
* Copyright (C) 2007, 2008, 2013 Apple 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 lis... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/third_party/WebKit/Source/modules/webdatabase/DatabaseTask.h | C | bsd-2-clause | 5,446 |
class Yank < Formula
desc "Copy terminal output to clipboard"
homepage "https://github.com/mptre/yank"
url "https://github.com/mptre/yank/archive/v1.2.0.tar.gz"
sha256 "c4a2f854f9e49e1df61491d3fab29ea595c7e3307394acb15f32b6d415840bce"
license "MIT"
bottle do
sha256 cellar: :any_skip_relocation, arm64_b... | spaam/homebrew-core | Formula/yank.rb | Ruby | bsd-2-clause | 1,463 |
# Copyright (c) 2014, Ruslan Baratov
# All rights reserved.
if(DEFINED POLLY_UTILITIES_POLLY_INIT_CMAKE_)
return()
else()
set(POLLY_UTILITIES_POLLY_INIT_CMAKE_ 1)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/polly_fatal_error.cmake")
macro(polly_init name generator)
set(POLLY_TOOLCHAIN_NAME "${name}")
get_file... | idscan/polly | utilities/polly_init.cmake | CMake | bsd-2-clause | 702 |
//
//Copyright (c) 2014, Priologic Software 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,
// ... | xirsys/easyrtc | demos/js/demo_instant_messaging_rooms.js | JavaScript | bsd-2-clause | 13,522 |
cask 'toggl' do
version '7.4.68'
sha256 '02ca17e1d4655a9076173eab8b04b64d768c8cc9ed5fa9e771ee1eea044b3f92'
# github.com/toggl/toggldesktop was verified as official when first introduced to the cask
url "https://github.com/toggl/toggldesktop/releases/download/v#{version}/TogglDesktop-#{version.dots_to_underscor... | nathancahill/homebrew-cask | Casks/toggl.rb | Ruby | bsd-2-clause | 709 |
cask "navicat-data-modeler-essentials" do
version "3.0.19"
sha256 :no_check
url "https://download3.navicat.com/updater/modeler0#{version.major_minor.no_dots}_ess_mac_en.zip"
name "Navicat Data Modeler Essentials"
desc "Database design tool"
homepage "https://www.navicat.com/products/navicat-data-modeler"
... | scottsuch/homebrew-cask | Casks/navicat-data-modeler-essentials.rb | Ruby | bsd-2-clause | 567 |
#include "Iop_Stdio.h"
#include "Iop_Ioman.h"
#include <boost/lexical_cast.hpp>
#include "lexical_cast_ex.h"
#include "../Log.h"
#define LOG_NAME "iop_stdio"
#define FUNCTION_PRINTF "printf"
using namespace Iop;
CStdio::CStdio(uint8* ram, CIoman& ioman)
: m_ram(ram)
, m_ioman(ioman)
{
}
CStd... | Alloyed/Play- | Source/iop/Iop_Stdio.cpp | C++ | bsd-2-clause | 3,237 |
cask 'vmware-remote-console' do
version '10.0.6,14247266'
sha256 '8f1537e40b9e7a7b08015f41cdeaf537e0e07e027872e83349d6781ce6e2c84f'
url "https://softwareupdate.vmware.com/cds/vmw-desktop/vmrc/#{version.before_comma}/#{version.after_comma}/macos/com.vmware.vmrc.zip.tar"
appcast 'https://softwareupdate.vmware.co... | winkelsdorf/homebrew-cask | Casks/vmware-remote-console.rb | Ruby | bsd-2-clause | 923 |
/*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | marbre/arrayfire | src/backend/SparseArray.hpp | C++ | bsd-3-clause | 9,104 |
import numpy as np
import pytest
from numpy.testing import assert_allclose
try:
import scipy
except ImportError:
HAS_SCIPY = False
else:
HAS_SCIPY = True
import astropy.units as u
from astropy.timeseries.periodograms.lombscargle import LombScargle
from astropy.timeseries.periodograms.lombscargle._statisti... | MSeifert04/astropy | astropy/timeseries/periodograms/lombscargle/tests/test_statistics.py | Python | bsd-3-clause | 7,519 |
module Graphics.UI.Gtk.Layout.EitherWidget where
import Control.Monad
import Data.IORef
import Graphics.UI.Gtk
import System.Glib.Types
data EitherWidget a b = EitherWidget Notebook (IORef EitherWidgetParams)
type EitherWidgetParams = Bool
instance WidgetClass (EitherWidget a b)
instance ObjectClass (EitherWidget ... | keera-studios/gtk-helpers | gtk3/src/Graphics/UI/Gtk/Layout/EitherWidget.hs | Haskell | bsd-3-clause | 1,612 |
<!DOCTYPE html>
<!--
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.
-->
<link rel="import" href="/tracing/core/test_utils.html">
<link rel="import" href="/tracing/value/diagnostics/date_range.html">
<link rel="... | catapult-project/catapult | tracing/tracing/value/diagnostics/date_range_test.html | HTML | bsd-3-clause | 1,074 |
<?xml version="1.0" encoding="UTF-8"?>
<!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>
<script src="../../../../../tools/svgweb/src/svg.js" data-path="../../../../../tools/svgweb/s... | frivoal/presto-testo | SVG/Testsuites/W3C-1_1F2/harness/htmlSVGWeb/text-altglyph-01-b.html | HTML | bsd-3-clause | 5,458 |
---
title: 100 doors
localeTitle: 100 portas
---
## 100 portas
Este é um esboço. [Ajude nossa comunidade a expandi-lo](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/coding-interview-prep/rosetta-code/100-doors/index.md) .
[Este guia de estilo rápido ajudará a garantir que sua solicitação... | otavioarc/freeCodeCamp | guide/portuguese/certifications/coding-interview-prep/rosetta-code/100-doors/index.md | Markdown | bsd-3-clause | 418 |
#!/usr/bin/env python
#
# Copyright (c) 2016, The OpenThread Authors.
# 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
# ... | vaas-krish/openthread | tests/scripts/thread-cert/Cert_5_6_09_NetworkDataForwarding.py | Python | bsd-3-clause | 5,202 |
{% load url from future %}
{% load reviews_tags %}
{% load i18n %}
<article class="review">
<header>
<h3 class="star-rating {{ review.score|as_stars }}">
<span>
<i class="icon-star"></i>
<i class="icon-star"></i>
<i class="icon-star"></i>
... | Giftingnation/GN-Oscar-Custom | oscar/templates/oscar/catalogue/partials/review.html | HTML | bsd-3-clause | 2,537 |
/*===================================================================
BlueBerry Platform
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 of MERCHANTABILITY or FITNESS... | ireicht/MITK-CSI | Plugins/org.blueberry.ui.qt/src/berryIPersistable.h | C | bsd-3-clause | 1,052 |
<?php
// Version: 1.1; Modlog
$txt['modlog_date'] = 'Date';
$txt['modlog_member'] = 'Member';
$txt['modlog_position'] = 'Position';
$txt['modlog_action'] = 'Action';
$txt['modlog_ip'] = 'IP';
$txt['modlog_search_result'] = 'Search Results';
$txt['modlog_total_entries'] = 'Total Entries';
$txt['modlog_ac_approve_topic'... | nwsw/Elkarte | themes/default/languages/english/Modlog.english.php | PHP | bsd-3-clause | 6,189 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script>
description('Tests for tooLong flag with <input> elements.');
var input = document.createElement('input');
document.body.appendChi... | hgl888/blink-crosswalk-efl | LayoutTests/fast/forms/ValidityState-tooLong-input.html | HTML | bsd-3-clause | 2,209 |
#ifndef AUDIO_DIRECT_H
#define AUDIO_DIRECT_H
/****************** Include Files ********************/
#include "xil_types.h"
#include "xstatus.h"
#define AUDIO_DIRECT_S_AXI_SLV_REG0_OFFSET 0
#define AUDIO_DIRECT_S_AXI_SLV_REG1_OFFSET 4
#define AUDIO_DIRECT_S_AXI_SLV_REG2_OFFSET 8
#define AUDIO_DIRECT_S_AXI_SLV_REG3... | schelleg/PYNQ | boards/ip/audio_direct_1.1/drivers/audio_direct_v1_0/src/audio_direct.h | C | bsd-3-clause | 2,552 |
from rlpy.Representations import IndependentDiscretization
from rlpy.Domains import GridWorld, InfiniteTrackCartPole
import numpy as np
from rlpy.Tools import __rlpy_location__
import os
def test_number_of_cells():
""" Ensure create appropriate # of cells (despite ``discretization``) """
mapDir = os.path.join(... | imanolarrieta/RL | tests/test_representations/test_IndependentDiscretization.py | Python | bsd-3-clause | 1,739 |
/*
* 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 edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.Timer;
/**
*
* @author 997robotics4
... | Team997Coders/Cynder2014 | src/edu/wpi/first/wpilibj/templates/commands/UnLatchCommand.java | Java | bsd-3-clause | 1,283 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//CL//DTD XHTML 1.0 Transitional plus Embed//EN"
"http://www.w3.org/Graphics/xhtml1-transitional-plus-embed.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<m... | frivoal/presto-testo | SVG/Testsuites/W3C-1_1F2/harness/htmlEmbed/index.html | HTML | bsd-3-clause | 41,376 |
// 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.
#ifndef CHROMEOS_NETWORK_PORTAL_DETECTOR_NETWORK_PORTAL_DETECTOR_STRATEGY_H_
#define CHROMEOS_NETWORK_PORTAL_DETECTOR_NETWORK_PORTAL_DETECTOR_STRATEGY_H_
... | CapOM/ChromiumGStreamerBackend | chromeos/network/portal_detector/network_portal_detector_strategy.h | C | bsd-3-clause | 3,832 |
---
title: Avoid Inferring the Response MIME Type with helmet.noSniff()
localeTitle: تجنب استنتاج نوع MIME الاستجابة مع helmet.noSniff ()
---
## تجنب استنتاج نوع MIME الاستجابة مع helmet.noSniff ()
هذا هو كعب. [ساعد مجتمعنا على توسيعه](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/informa... | otavioarc/freeCodeCamp | guide/arabic/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/avoid-inferring-the-response-mime-type-with-helmet.nosniff/index.md | Markdown | bsd-3-clause | 704 |
using Irony.Parsing;
using Workbench.Core.Grammars;
using Workbench.Core.Nodes;
namespace Workbench.Core.Parsers
{
public class VariableDomainExpressionParser : ExpressionParser<VariableDomainExpressionNode>
{
/// <summary>
/// Parse a raw variable domain expression.
/// </su... | digitalbricklayer/workbench | src/Workbench.Core/Parsers/VariableDomainExpressionParser.cs | C# | bsd-3-clause | 807 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Forms :: submit input : font</title>
<style type="text/css">
form * {
font-family: Ahem;
font-size: 1em;
line-height: 1em;
}
fieldset, div {
padding: 0;
margin: 10px;
border: none;
}
</style>
</head>
<body>
<form action="">
<fieldset>
<i... | frivoal/presto-testo | core/standards/forms/input-submit-font.html | HTML | bsd-3-clause | 541 |
<html>
<head>
<meta charset="cp864"><title>Mappings for single-byte encodings: cp864</title><style type="text/css">p#test { display: none; }</style>
</head>
<body>
<p id="test">
¡¢£¤¥¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþ</p>
<p>
... | frivoal/presto-testo | core/standards/encodings/mappings/cp864.html | HTML | bsd-3-clause | 1,330 |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
/* Copyright (c) 2006, 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 cod... | scheib/chromium | third_party/tcmalloc/chromium/src/memory_region_map.h | C | bsd-3-clause | 17,684 |
<!doctype html>
<!-- This file is generated by build.py. -->
<title>img wide.jpg; overflow:visible; -o-object-fit:contain; -o-object-position:top right</title>
<link rel="stylesheet" href="../../support/reftests.css">
<link rel='match' href='visible_contain_top_right-ref.html'>
<style>
#test > * { overflow:visible; -o... | frivoal/presto-testo | css/image-fit/reftests/img-jpg-wide/visible_contain_top_right.html | HTML | bsd-3-clause | 440 |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
FLA_Error REF_Ttmm( FLA_... | yaowee/libflame | src/lapack/misc/ttmm/front/flamec/test/fla/REF_Ttmm.c | C | bsd-3-clause | 391 |
/*
* Copyright 2014, 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... | aglne/grpc-java | core/src/main/java/io/grpc/AbstractChannelBuilder.java | Java | bsd-3-clause | 4,534 |
package org.basex.query.func.fn;
import static org.basex.query.QueryError.*;
import org.basex.query.*;
import org.basex.query.expr.*;
import org.basex.query.func.*;
import org.basex.query.iter.*;
import org.basex.query.value.item.*;
import org.basex.query.value.type.*;
import org.basex.query.var.*;
import org.basex.u... | drmacro/basex | basex-core/src/main/java/org/basex/query/func/fn/FnExactlyOne.java | Java | bsd-3-clause | 990 |
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using Antlr4.Runtime;
using Antlr4.Runtime.Atn;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Sharpen;
namespace Antlr4.... | Pursuit92/antlr4 | runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Atn/ILexerAction.cs | C# | bsd-3-clause | 2,812 |
FROM node:9.10.1
COPY ./ ./
RUN npm install
ENV NODE_HANDLER sequelize-postgres
CMD ["node", "app.js"]
| zapov/FrameworkBenchmarks | frameworks/JavaScript/nodejs/nodejs-postgres.dockerfile | Dockerfile | bsd-3-clause | 107 |
/**
* $RCSfile$
* $Revision: 11613 $
* $Date: 2010-02-09 03:55:56 -0800 (Tue, 09 Feb 2010) $
*
* Copyright 2003-2007 Jive Software.
*
* 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... | UzxMx/java-bells | lib-src/smack_src_3_3_0/source/org/jivesoftware/smack/Chat.java | Java | bsd-3-clause | 6,098 |
/*-
* Copyright (c) 2010-2012 Semihalf.
* 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 cond... | jhbsz/OSI-OS | usr.sbin/nandtool/nand_readoob.c | C | bsd-3-clause | 2,996 |
// 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 NET_BASE_UPLOAD_DATA_STREAM_H_
#define NET_BASE_UPLOAD_DATA_STREAM_H_
#include <stdint.h>
#include <memory>
#include <vector>
#include "bas... | axinging/chromium-crosswalk | net/base/upload_data_stream.h | C | bsd-3-clause | 5,642 |
/* This file is part of the Pangolin Project.
* http://github.com/stevenlovegrove/Pangolin
*
* Copyright (c) 2011 Steven Lovegrove
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software wit... | suzlab/Autoware | ros/src/computing/perception/localization/packages/orb_localizer/Thirdparty/Pangolin/include/pangolin/display/device/display_glut.h | C | bsd-3-clause | 2,742 |
"""
Test cases for the template loaders
Note: This test requires setuptools!
"""
from django.conf import settings
if __name__ == '__main__':
settings.configure()
import unittest
import sys
import pkg_resources
import imp
import StringIO
import os.path
from django.template import TemplateDoesNotExist
from djang... | grangier/django-11599 | tests/regressiontests/templates/loaders.py | Python | bsd-3-clause | 2,859 |
#include "FLA_f2c.h"
void d_cnjg(doublecomplex *dest, doublecomplex *src) {
dest->r = src->r ;
dest->i = -(src->i);
}
| yaowee/libflame | src/flablas/f2c/other/util/d_cnjg.c | C | bsd-3-clause | 124 |
// lat/arctic-weight.h
// Copyright 2012 Johns Hopkins University (Author: Guoguo Chen)
// See ../../COPYING for clarification regarding multiple authors
//
// 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 ... | ypkang/djinn | tonic-suite/asr/src/lat/arctic-weight.h | C | bsd-3-clause | 4,868 |
/*
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Licens... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/WebKit/Source/core/rendering/InlineBox.h | C | bsd-3-clause | 18,214 |
//
// LERequest_A03010201.h
// LoveEye
//
// Created by Flynn on 15/8/4.
// Copyright (c) 2015年 Fly. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LERequest_A03010201 : NSObject
typedef void (^LEBlock_A03010201)(NSArray *wikiListArr, NSError *error);
@property(nonatomic, copy) LEBlock_A0... | IphoneCoder/LoveEyeProject | LoveEye/LoveEye/Class/request/LERequest_A03010201.h | C | bsd-3-clause | 535 |
<!doctype html>
<!-- This file is generated by build.py. -->
<title>Reference for embed wide.jpg; overflow:hidden; -o-object-fit:none; -o-object-position:100% center</title>
<link rel="stylesheet" href="../../support/reftests.css">
<style>
.helper { overflow:hidden }
.helper > * { right:0; top:36.0px; }
</style>
<di... | frivoal/presto-testo | css/image-fit/reftests/embed-jpg-wide/hidden_none_100_center-ref.html | HTML | bsd-3-clause | 403 |
Nette Sandbox
=============
Sandbox is a pre-packaged and pre-configured Nette Framework application
that you can use as the skeleton for your new applications.
[Nette](http://nette.org) is a popular tool for PHP web development.
It is designed to be the most usable and friendliest as possible. It focuses
on security... | racinmat/BoardManager | readme.md | Markdown | bsd-3-clause | 1,226 |
// 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 GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
#include ... | Chilledheart/chromium | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h | C | bsd-3-clause | 25,716 |
/* jshint latedef: false */
(function () {
'use strict';
angular
.module('apigility.rest')
.controller('Rest', Rest);
Rest.$inject = [ 'api', '$modal', '$stateParams', '$rootScope', 'SidebarService', '$state', '$scope', '$sce', 'documentation'];
function Rest(api, $modal, $stateParams, $rootScope, Si... | pradithahidayat/apigility-research | vendor/zfcampus/zf-apigility-admin-ui/src/apigility-ui/rest/rest.controller.js | JavaScript | bsd-3-clause | 11,250 |
/*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.test.tool;
import org.antlr.runtime.ANTLRStringStream;
import org.antlr.runtime.CharStream;
impor... | wjkohnen/antlr4 | tool-testsuite/test/org/antlr/v4/test/tool/TestASTStructure.java | Java | bsd-3-clause | 16,971 |
// 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 <jni.h>
#include "chrome/browser/android/chrome_startup_flags.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"... | ric2b/Vivaldi-browser | chromium/chrome/browser/android/chrome_startup_flags.cc | C++ | bsd-3-clause | 1,553 |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | ikonin/WebRTC | video_engine/main/source/vie_channel_manager.cc | C++ | bsd-3-clause | 20,449 |
# All of the other examples directly embed the Javascript and CSS code for
# Bokeh's client-side runtime into the HTML. This leads to the HTML files
# being rather large. An alternative is to ask Bokeh to produce HTML that
# has a relative link to the Bokeh Javascript and CSS. This is easy to
# do; you just pass in ... | the13fools/Bokeh_Examples | plotting/file/relative_paths.py | Python | bsd-3-clause | 1,023 |
/*
* Copyright (c) 2010 by Bjoern Kolbeck,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.common;
/**
*
* @author bjko
*/
public class ReplicaUpdatePolicies {
public static final String REPL_UPDATE_PC_NONE = "";
publ... | jswrenn/xtreemfs | java/servers/src/org/xtreemfs/common/ReplicaUpdatePolicies.java | Java | bsd-3-clause | 1,007 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.