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 eu.ehealth.db.db;
// Generated Oct 1, 2013 11:39:06 AM by Hibernate Tools 3.2.4.GA
/**
* EntertainmentContent generated by hbm2java
*/
public class EntertainmentContent implements java.io.Serializable {
private Integer id;
private String title;
private String url;
private String type... | seaclouds-atos/softcare-final-implementation | storage-component/src/main/java/eu/ehealth/db/db/EntertainmentContent.java | Java | apache-2.0 | 1,754 |
package org.nd4j.parameterserver.updater;
import org.nd4j.aeron.ipc.NDArrayMessage;
import org.nd4j.linalg.api.ndarray.INDArray;
import java.util.Map;
/**
* Created by agibsonccc on 12/1/16.
*/
public class TimeDelayedParameterUpdater extends BaseParameterUpdater {
private long syncTime;
private long lastS... | smarthi/nd4j | nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/updater/TimeDelayedParameterUpdater.java | Java | apache-2.0 | 2,281 |
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | chemelnucfin/tensorflow | tensorflow/python/keras/metrics_confusion_matrix_test.py | Python | apache-2.0 | 51,243 |
// Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | andybab/Impala | fe/src/main/java/com/cloudera/impala/catalog/HdfsCachePool.java | Java | apache-2.0 | 1,904 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author Esen Sagynov
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codeignite... | tanateros/send-and-grab-mails | www/core/database/drivers/cubrid/cubrid_utility.php | PHP | apache-2.0 | 2,978 |
/*
Copyright 2017 The Kubernetes 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 of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | shouhong/kubernetes | pkg/kubeapiserver/rest.go | GO | apache-2.0 | 1,806 |
CREATE TABLE address (
id integer NOT NULL,
street character varying(100),
number integer,
city character varying(100),
state character varying(100),
country character varying(100)
);
CREATE TABLE broker (
id integer NOT NULL,
name character varying(100),
lastname character varying... | eschwert/ontop | quest-owlapi3/src/test/resources/test/stockexchange-create-db2.sql | SQL | apache-2.0 | 5,357 |
/*
* Copyright 2009 The Closure Compiler 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | weitzj/closure-compiler | test/com/google/javascript/jscomp/PhaseOptimizerTest.java | Java | apache-2.0 | 7,093 |
# Abhiyantriki
kjsce Abhiyantriki 2016 Website
| Chaitya62/Abhiyantriki | README.md | Markdown | apache-2.0 | 49 |
// Copyright 2000-2020 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.intellij.psi.scope.processor;
import com.intellij.openapi.util.Key;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiSubstitutor;
import com.intellij.ps... | smmribeiro/intellij-community | java/java-psi-impl/src/com/intellij/psi/scope/processor/FilterScopeProcessor.java | Java | apache-2.0 | 2,521 |
/*
* Copyright 2014-present Facebook, 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... | shs96c/buck | src/com/facebook/buck/util/Types.java | Java | apache-2.0 | 5,261 |
<h2>Comments</h2>
<pre><code>(* This is an
old style comment *)
{ This is a
Turbo Pascal comment }
// This is a Delphi comment.</code></pre>
<h2>Strings and characters</h2>
<pre><code>'This is a pascal string'
''
'a'
^G
#7
#$f4
'A tabulator character: '#9' is easy to embed'</code></pre>
<h2>Numbers</h2>
<pre><code>12... | Heanes/cdn.heanes.com | js/prism/prism-1.14.0/examples/prism-pascal.html | HTML | apache-2.0 | 1,399 |
# -*- coding: utf-8 -*-
###############################################################################
#
# GetTag
# Retrieves a specified tag object.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except... | jordanemedlock/psychtruths | temboo/core/Library/GitHub/GitDataAPI/Tags/GetTag.py | Python | apache-2.0 | 4,161 |
nifi-provenance-repo-bundle
===========================
### Overview
Parent project for the Kylo NiFi provenance reporting
2 versions of the com.thinkbiganalytics.nifi.provenance.repo.KyloPersistentProvenanceEventRepository exist
1. 'nifi-provenance-repo-v1-nar' is for NiFi 1.0.x and NiFi 1.1.x versions
2. 'nifi-pr... | peter-gergely-horvath/kylo | integrations/nifi/nifi-nar-bundles/nifi-provenance-repo-bundle/README.md | Markdown | apache-2.0 | 440 |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs thrift from source"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.99.0"
recipe "thrift", "Installs thrift from source"
supports "ubuntu"
%w... | brunosoab/bkether_cookbooks | thrift/metadata.rb | Ruby | apache-2.0 | 383 |
// Copyright 2017 The TensorFlow Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | mlperf/training_results_v0.5 | v0.5.0/google/cloud_v3.8/ssd-tpuv3-8/code/ssd/model/tpu/tools/ctpu/commands/status.go | GO | apache-2.0 | 7,684 |
---
external help file: Microsoft.Azure.Commands.AzureBackup.dll-Help.xml
Module Name: AzureRM.Backup
ms.assetid: 6187F603-5298-4854-94F3-0C38FCF3125F
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.backup/get-azurermbackupjobdetails
schema: 2.0.0
---
# Get-AzureRmBackupJobDetails
## SYNOPS... | AzureAutomationTeam/azure-powershell | src/ResourceManager/AzureBackup/Commands.AzureBackup/help/Get-AzureRmBackupJobDetails.md | Markdown | apache-2.0 | 4,471 |
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>To navigate to the declaration of a class, method or variable used somewhere in the code,
position the caret at the usage and press <span class="shortcut">&shortcut:GotoDeclaration;</span>. You may also click the... | android-ia/platform_tools_idea | platform/platform-resources-en/src/tips/GoToDeclaration.html | HTML | apache-2.0 | 514 |
import h from 'spec/spec_helper';
import { config, path, t, utils, fsAsync } from 'azk';
import { Cli } from 'azk/cli';
import { Manifest } from 'azk/manifest';
describe('Azk cli, init controller', function() {
var outputs = [];
var ui = h.mockUI(beforeEach, outputs);
var manifest = config('manifest');
... | renanmpimentel/azk | spec/cmds/init_spec.js | JavaScript | apache-2.0 | 3,149 |
// Copyright 2016 The Cockroach 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 of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | nvanbenschoten/epaxos | vendor/github.com/cockroachdb/cockroach/pkg/storage/replicate_test.go | GO | apache-2.0 | 2,402 |
#!/usr/bin/env python
# update-dependencies-bad.py - Fails on bad.swift -*- python -*-
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LI... | gottesmm/swift | test/Driver/Dependencies/Inputs/update-dependencies-bad.py | Python | apache-2.0 | 1,560 |
/**
* @license
* Copyright 2016 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 requir... | jacksonic/vjlofvhjfgm | src/lib/input.js | JavaScript | apache-2.0 | 6,330 |
/*****************************************************************************/
/*!
*\file minisat_solver.h
*\brief Adaptation of MiniSat to DPLL(T)
*
* Author: Alexander Fuchs
*
* Created: Fri Sep 08 11:04:00 2006
*
* <hr>
*
* License to use, copy, modify, sell and/or distribute this software
* and its docu... | ehsan/js-symbolic-executor | cvc3/src/sat/minisat_solver.h | C | apache-2.0 | 27,844 |
define(function(require){
require('$model/UI2/system/components/justep/window/window');
require('$model/UI2/system/components/bootstrap/navbar/navbar');
require('$model/UI2/system/components/bootstrap/navs/navs');
var __parent1=require('$model/UI2/system/lib/base/modelBase');
var __parent0=require('$model/UI2/system/c... | Diaosir/WeX5 | UI2/system/components/bootstrap/navbar/demo/.release/base/base.w.form.js | JavaScript | apache-2.0 | 632 |
/*
*
* Copyright 2015 gRPC 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | matt-kwong/grpc | include/grpc++/alarm.h | C | apache-2.0 | 3,655 |
/*
* Copyright 2000-2014 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... | hurricup/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/TaskCompletionProvider.java | Java | apache-2.0 | 5,715 |
/*
* Copyright 2000-2015 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... | hurricup/intellij-community | plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/library/RepositoryLibrarySupport.java | Java | apache-2.0 | 5,633 |
module MiqFilter
ALLOWED_DESCENDANT_CLASSES_FROM_MODEL = %w[ExtManagementSystem].freeze
def self.belongsto2object(tag)
belongsto2object_list(tag).last
end
def self.belongsto2path_human(tag)
tag.split("/").map { |x| x.split("|").second }.compact.join(" -> ")
end
def self.find_descendant_class_by(k... | agrare/manageiq | app/models/miq_filter.rb | Ruby | apache-2.0 | 4,366 |
/* Copyright (C) 2000-2003 Constantin Kaplinsky. All Rights Reserved.
* Copyright 2004-2005 Cendio AB.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... | x-hansong/aSpice | src/com/iiordanov/tigervnc/rfb/TightDecoder.java | Java | apache-2.0 | 12,131 |
RSpec.describe MiqWorker do
context "::Runner" do
def all_workers
MiqWorker.descendants.select { |c| c.subclasses.empty? }
end
it "finds the correct corresponding runner for workers" do
all_workers.each do |worker|
# If this isn't true, we're probably accidentally inheriting the
... | agrare/manageiq | spec/models/miq_worker_spec.rb | Ruby | apache-2.0 | 19,841 |
/*
* Copyright 2000-2016 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... | smmribeiro/intellij-community | plugins/git4idea/src/git4idea/branch/GitRenameBranchOperation.java | Java | apache-2.0 | 4,461 |
package com.google.api.ads.adwords.jaxws.v201502.express;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Retrieves the budget suggestion for the specif... | stoksey69/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201502/express/BudgetSuggestionServiceInterfaceget.java | Java | apache-2.0 | 1,952 |
# -*- coding: utf-8 -*-
###############################################################################
#
# Badges
# Returns badges for a given user.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except ... | jordanemedlock/psychtruths | temboo/core/Library/Foursquare/Users/Badges.py | Python | apache-2.0 | 3,462 |
/*
* Copyright (C) 2014 Jerrell Mardis
*
* 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 agr... | leasual/Amphitheatre | tv/src/main/java/com/jerrellmardis/amphitheatre/api/GuessItClient.java | Java | apache-2.0 | 1,839 |
/*
* 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 may not ... | smgoller/geode | geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/DescribeMappingResult.java | Java | apache-2.0 | 1,768 |
---
name: Documentation
about: Report an issue with our documentation
labels: 'type: documentation, triage'
assignees: ''
---
<!--
- Thanks for helping us improve our developer site documentation!
- Use this template to describe issues with the content at
- developers.google.com/blockly/guides
-->
**Where**
... | rachel-fenichel/blockly | .github/ISSUE_TEMPLATE/documentation.md | Markdown | apache-2.0 | 937 |
//=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS ... | humble/ags-geminirue | Engine/ac/textbox.h | C | artistic-2.0 | 1,177 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Minim : : Bypass : : tick</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<c... | UTSDataArena/examples | processing/sketchbook/libraries/minim/documentation/bypass_method_tick.html | HTML | bsd-2-clause | 1,915 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_MEDIA_PICKER_H_
#define CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_MEDIA_PICKER_H_
#include <memory>
#include "base... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/chrome/browser/media/webrtc/desktop_media_picker.h | C | bsd-2-clause | 1,933 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
static ngx_int_t ngx_http_init_phases(ngx_conf_t *cf,
ngx_http_core_main_conf_t *cmcf);
static ngx_in... | freeletics/nginx | src/http/ngx_http.c | C | bsd-2-clause | 53,294 |
class Beast < Formula
desc "Bayesian Evolutionary Analysis Sampling Trees"
homepage "http://beast.community/"
url "https://github.com/beast-dev/beast-mcmc/archive/v1.10.4.tar.gz"
sha256 "e2f8a30e4f695bf0e58ac3e94778459a1db6cd0d476556d86c563e4b6a1181f7"
head "https://github.com/beast-dev/beast-mcmc.git"
bot... | adamliter/homebrew-core | Formula/beast.rb | Ruby | bsd-2-clause | 1,450 |
{-# LANGUAGE TypeOperators, MultiParamTypeClasses, FlexibleInstances #-}
{-# OPTIONS_GHC -Wall #-}
module Mixin where
import Prelude hiding (log)
class a <: b where
up :: a -> b
instance (t1 <: t2) => (t -> t1) <: (t -> t2) where
up f = up . f
instance (t1 <: t2) => (t2 -> t) <: (t1 -> t) where
up f = f . up... | bixuanzju/fcore | lib/Mixin.hs | Haskell | bsd-2-clause | 1,062 |
/*!
\file TextureOperations.h
\author Gregory Diamos <gregory.diamos@gatech.edu>
\date Tuesday September 29, 2009
\brief Implementations of texture operations.
*/
#ifndef TEXTURE_OPERATIONS_H_INCLUDED
#define TEXTURE_OPERATIONS_H_INCLUDED
#include <ocelot/ir/interface/Texture.h>
#include <ocelot/trace/interface/T... | gtcasl/gpuocelot | ocelot/ocelot/executive/interface/TextureOperations.h | C | bsd-3-clause | 23,162 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fi_FI">
<context>
<name>MainUI</name>
<message>
<location filename="../MainUI.ui" line="14"/>
<source>Insight</source>
<translation type="unfinished"></translation>
</message>
<message>
<loca... | krytarowski/lumina | src-qt5/desktop-utils/lumina-fm/i18n/lumina-fm_fi.ts | TypeScript | bsd-3-clause | 8,458 |
// Copyright 2015, Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package grpcvtgateservice provides the gRPC glue for vtgate
package grpcvtgateservice
import (
"google.golang.org/grpc"
mproto "github.com/youtube/vitess/go... | skyportsystems/vitess | go/vt/vtgate/grpcvtgateservice/server.go | GO | bsd-3-clause | 15,051 |
/*
* Copyright (c) 2017, 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
* notice, this ... | georgecpr/openthread | examples/platforms/efr32/alarm.c | C | bsd-3-clause | 3,479 |
/**
* Copyright (C) 2016 Turi
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_SFRAME_QUERY_OPTIMIZATION_APPEND_TRANSFORMS_H_
#define GRAPHLAB_SFRAME_QUERY_OPTIMIZATION_APPEND_TRANSFORMS_H_
#includ... | ylow/SFrame | oss_src/sframe_query_engine/planning/optimizations/append_transforms.hpp | C++ | bsd-3-clause | 5,035 |
// Copyright 2013 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.
// This file implements initialization and assignment checks.
package types
import (
"go/ast"
"go/token"
)
// assignment reports whether x can be assigned ... | vsekhar/elastic-go | src/go/types/assignments.go | GO | bsd-3-clause | 8,455 |
import six
import sys
from optparse import make_option, NO_DEFAULT
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
from django_extensions.management.modelviz import generate_dot
try:
import pygraphviz
HAS_PYGRAPHVIZ = True
except ImportError:
HAS_PYGRAPHV... | WillisXChen/django-oscar | oscar/lib/python2.7/site-packages/django_extensions/management/commands/graph_models.py | Python | bsd-3-clause | 7,278 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GL_ANDROID_SURFACE_TEXTURE_H_
#define UI_GL_ANDROID_SURFACE_TEXTURE_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#include "b... | XiaosongWei/chromium-crosswalk | ui/gl/android/surface_texture.h | C | bsd-3-clause | 3,401 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | blorenz/phantomjs | src/qt/src/corelib/kernel/qmath.cpp | C++ | bsd-3-clause | 10,087 |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | NifTK/MITK | Modules/Core/include/mitkClippedSurfaceBoundsCalculator.h | C | bsd-3-clause | 3,927 |
#include "bli_config.h"
#include "bli_system.h"
#include "bli_type_defs.h"
#include "bli_cblas.h"
#ifdef BLIS_ENABLE_CBLAS
/*
*
* cblas_ztrsm.c
* This program is a C interface to ztrsm.
* Written by Keita Teranishi
* 4/8/1998
*
*/
#include "cblas.h"
#include "cblas_f77.h"
void cblas_ztrsm(const enum CBLAS_ORDER... | xianyi/blis | frame/compat/cblas/src/cblas_ztrsm.c | C | bsd-3-clause | 4,130 |
// Copyright (c) 2013, 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.
// Copyright (c) 2011 The LevelD... | lgscofield/rocksdb | include/rocksdb/options.h | C | bsd-3-clause | 55,557 |
// 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/component_updater/recovery_component_installer.h"
#include <stdint.h>
#include <memory>
#include <string>
#include "base/b... | axinging/chromium-crosswalk | chrome/browser/component_updater/recovery_component_installer.cc | C++ | bsd-3-clause | 15,443 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | emilgeorgiev89/ZFTEST | tests/ZendTest/Db/Sql/Ddl/Column/TextTest.php | PHP | bsd-3-clause | 863 |
<body>
<p>Test simple shared worker sharing cases. Should print several PASS lines followed by DONE.</p>
<div id=result></div>
<script>
function log(message)
{
document.getElementById("result").innerHTML += message + "<br>";
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
... | leighpauls/k2cro4 | content/test/data/layout_tests/LayoutTests/fast/workers/shared-worker-shared.html | HTML | bsd-3-clause | 2,943 |
import json
from tempfile import mkdtemp
from os.path import join, basename
from shutil import rmtree
from distutils.dir_util import copy_tree
from twisted.trial import unittest
from twisted.internet.defer import inlineCallbacks
from slyd.projectspec import create_project_resource
from slyd.projectspec import convert_t... | CENDARI/portia | slyd/tests/test_spec.py | Python | bsd-3-clause | 3,884 |
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 24 15:08:01 2013
@author: steve
"""
import numpy as np
import mdptoolbox
from .utils import SMALLNUM, P_forest, R_forest, P_small, R_small, P_sparse
from .utils import P_forest_sparse, R_forest_sparse
def test_ValueIterationGS_small():
sdp = mdptoolbox.mdp.ValueIt... | silgon/pymdptoolbox | src/tests/test_ValueIterationGS.py | Python | bsd-3-clause | 1,658 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of th... | Riges/KawaiViewModel | www/libs/Zend/Gdata/Photos/Extension/Id.php | PHP | bsd-3-clause | 1,846 |
// Copyright 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.
#include "chrome/browser/web_applications/preinstalled_web_apps/google_chat.h"
#include "chrome/browser/web_applications/web_app_id_constants.h"
namespa... | chromium/chromium | chrome/browser/web_applications/preinstalled_web_apps/google_chat.cc | C++ | bsd-3-clause | 891 |
/*================================================================================
Copyright (c) 2013 Steve Jin. All Rights Reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must re... | n4ybn/yavijava | src/main/java/com/vmware/vim25/CustomizationUserData.java | Java | bsd-3-clause | 2,636 |
/*
Copyright 2010 Larry Gritz and the other authors and contributors.
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
noti... | sambler/oiio | src/sgi.imageio/sgiinput.cpp | C++ | bsd-3-clause | 10,909 |
// 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_CLIENT_HINTS_COMMON_CLIENT_HINTS_H_
#define COMPONENTS_CLIENT_HINTS_COMMON_CLIENT_HINTS_H_
#include "components/content_settings/core/... | chromium/chromium | components/client_hints/common/client_hints.h | C | bsd-3-clause | 997 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<title>DataTables example - jQuery UI ThemeRoller</title>
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<link r... | akaidrive2014/persseleb | themes/admin/tisa/assets/lib/DataTables/examples/styling/jqueryUI.html | HTML | bsd-3-clause | 24,558 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>State types, algebras and operations</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../i... | stan-dev/math | lib/boost_1.75.0/libs/numeric/odeint/doc/html/boost_numeric_odeint/odeint_in_detail/state_types__algebras_and_operations.html | HTML | bsd-3-clause | 89,819 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <F... | udnisap/react-native | React/Base/RCTModuleMethod.h | C | bsd-3-clause | 1,133 |
/* ***** 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/
*
... | Osmose/snippets-service | vendor-local/lib/python/django_ace/static/django_ace/ace/theme-solarized_dark.js | JavaScript | bsd-3-clause | 4,589 |
// 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 "cc/animation/keyframe_effect.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "base/containers/cxx20_er... | chromium/chromium | cc/animation/keyframe_effect.cc | C++ | bsd-3-clause | 41,191 |
// 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 "components/nacl/zygote/nacl_fork_delegate_linux.h"
#include <signal.h>
#include <stddef.h>
#include <stdlib.h>
#include <sys/resource.h>
#i... | chromium/chromium | components/nacl/zygote/nacl_fork_delegate_linux.cc | C++ | bsd-3-clause | 16,987 |
// Copyright 2022 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 CC_PAINT_SKOTTIE_TEXT_PROPERTY_VALUE_H_
#define CC_PAINT_SKOTTIE_TEXT_PROPERTY_VALUE_H_
#include <string>
#include "base/containers/flat_map.h"
... | chromium/chromium | cc/paint/skottie_text_property_value.h | C | bsd-3-clause | 2,115 |
// 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_BROWSER_SESSIONS_SESSION_SERVICE_H_
#define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
#include <map>
#include <string>
#include "bas... | chromium/chromium | chrome/browser/sessions/session_service.h | C | bsd-3-clause | 11,621 |
//
// ASCollectionViewLayoutInspector.h
// AsyncDisplayKit
//
// Created by Garrett Moon on 11/19/16.
// Copyright © 2016 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AsyncDisplayKit/ASDimension.h>
#import <AsyncDisplayKit/ASScrollDirection.h>
@class ASCollectionView;
@protocol ASC... | maicki/AsyncDisplayKit | Source/Details/ASCollectionViewLayoutInspector.h | C | bsd-3-clause | 3,122 |
<?php
/**
* PhpThumb Library Example File
*
* This file contains example usage for the PHP Thumb Library
*
* PHP Version 5 with GD 2.0+
* PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com>
* Copyright (c) 2009, Ian Selby/Gen X Design
*
* Author(s): Ian Selby <ian@gen-x-design.com>
*
*... | quyettvq/linhbui.vn | common/utils/phpthumb/examples/rotate_advanced.php | PHP | bsd-3-clause | 870 |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file cvsCopy.h
* @author dr... | brakhane/panda3d | pandatool/src/cvscopy/cvsCopy.h | C | bsd-3-clause | 2,311 |
<?php
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\Generator\Util;
use Propel\Generator\Builder\Util\SchemaReader;
use Propel\Generator\Con... | mahedi2014/macroHock | vendor/propel/propel/src/Propel/Generator/Util/QuickBuilder.php | PHP | mit | 9,605 |
# frozen_string_literal: true
RSpec.describe RuboCop::Cop::Lint::UnusedBlockArgument, :config do
subject(:cop) { described_class.new(config) }
let(:cop_config) { { 'AllowUnusedKeywordArguments' => false } }
shared_examples 'auto-correction' do |name, old_source, new_source|
it "auto-corrects #{name}" do
... | vergenzt/rubocop | spec/rubocop/cop/lint/unused_block_argument_spec.rb | Ruby | mit | 12,384 |
try:
from urllib.parse import urljoin
except ImportError:
from urlparse import urljoin
try:
import cPickle as pickle
except ImportError:
import pickle
# Handle the case where the requests module has been patched to not have
# urllib3 bundled as part of its source.
try:
from pip._v... | ncos/lisa | src/lisa_drive/scripts/venv/lib/python3.5/site-packages/pip-10.0.1-py3.5.egg/pip/_vendor/cachecontrol/compat.py | Python | mit | 724 |
// Copyright 2012 the V8 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.
// This file relies on the fact that the following declarations have been made
// in runtime.js:
// var $Object = global.Object;
// var $Boolean = globa... | kingland/go-v8 | v8-3.28/src/v8natives.js | JavaScript | mit | 55,369 |
<!-- $Id: example-user-feed.html,v 1.1 2008/09/30 00:01:27 merlinofchaos Exp $ -->
<p>In this example you will create a <em>Feed display</em> to show nodes by individual users, dynamically selected through the URL. You will become familiar with the Views 2 interface, as well as learn how to use an argument to pull in ... | temptemp5678/drupalnote | sites/all/modules/views/help/example-user-feed.html | HTML | mit | 5,606 |
const fs = require('fs-extra');
const path = require('path');
const cleanDirs = [
'dist'
];
cleanDirs.forEach(dir => {
const cleanDir = path.join(__dirname, '../', dir);
fs.removeSync(cleanDir);
});
| TillaTheHun0/ionic | core/scripts/clean.js | JavaScript | mit | 208 |
---
# Layouts must stay in HTML
---
{% include header.html %}
{{ content }}
{% include footer.html %}
{% include closure.html %} | richardatval/annual-review-2016 | _layouts/plain.html | HTML | mit | 132 |
if [ "$1" = "lein" ]; then
exportVariable JAVA_CMD "$JAVA_HOME/bin/java"
exportVariable LEIN_JAVA_CMD "$JAVA_HOME/bin/java"
if [ -n "$JENV_OPTIONS" ]; then
if [ -z "$LEIN_JVM_OPTS" ]; then
exportVariable LEIN_JVM_OPTS $JENV_OPTIONS
exportVariable JVM_OPTS $JENV_OPTIONS
else
echo "LEIN_... | jchochli/dotfiles | home/.jenv/available-plugins/lein/etc/jenv.d/exec/lein-before.bash | Shell | mit | 416 |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
* The Litecoin Developers 201-2013
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "optionsdial... | 8coin/8coin | src/qt/bitcoingui.cpp | C++ | mit | 35,605 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | hansbonini/cloud9-magento | www/app/code/core/Mage/Sales/Model/Mysql4/Quote/Address/Attribute/Backend/Region.php | PHP | mit | 1,261 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | jpasosa/agroapex | lib/vendor/Zend/Amf/Value/MessageBody.php | PHP | mit | 5,286 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Communication.Models
{
public partial class OperationDisplay
{
internal static OperationDis... | brjohnstmsft/azure-sdk-for-net | sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/OperationDisplay.Serialization.cs | C# | mit | 1,523 |
module PublicActivity
module ORM
module ActiveRecord
# The ActiveRecord model containing
# details about recorded activity.
class Activity < ::ActiveRecord::Base
include Renderable
self.table_name = PublicActivity.config.table_name
# Define polymorphic association to the... | FlavourSys/public_activity | lib/public_activity/orm/active_record/activity.rb | Ruby | mit | 853 |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/compare/PropertiesFileViewer.java | Java | mit | 3,328 |
'use strict';
var fs = require('fs');
var Promise = require('../ext/promise');
var readFile = Promise.denodeify(fs.readFile);
var lstat = Promise.denodeify(fs.stat);
var chalk = require('chalk');
var EditFileDiff = require('./edit-file-diff');
var EOL = require('os').EOL;
var ... | pixelhandler/ember-cli | lib/models/file-info.js | JavaScript | mit | 4,573 |
require 'nokogiri'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class BorgunGateway < Gateway
self.display_name = 'Borgun'
self.homepage_url = 'http://www.borgun.com'
self.test_url = 'https://gatewaytest.borgun.is/ws/Heimir.pub.ws:Authorization'
self.live_url = 'https://gateway... | lcn-com-dev/active_merchant | lib/active_merchant/billing/gateways/borgun.rb | Ruby | mit | 7,043 |
<?php
/**
* NoViewerFoundException.php
*
* @since 29/05/15
* @author gseidel
*/
namespace Enhavo\Bundle\AppBundle\Exception;
class TemplateNotFoundException extends \Exception {
}
| FabianLiebl/enhavo | src/Enhavo/Bundle/AppBundle/Exception/TemplateNotFoundException.php | PHP | mit | 188 |
var everything = function () {
return 42;
};
anything.prototype.everything = everything; | Sha-Grisha/anything.js | src/everything.js | JavaScript | mit | 93 |
<a href="http://flexboxgrid.com" target="blank">Flexbox Grid reference</a>
----
```
<Row>
<Col xs={12} sm={8} md={6} lg={4}>
<Box>Responsive</div>
</Col>
</Row>
```
----
##### Offset
```
<Row>
<Col xs={9} className="col-xs-offset-3">
<Box>Offset</div>
</Col>
</Row>
```
-----
##### Auto... | the-simian/reforged-prepack | .structor/docs/components/Row.md | Markdown | mit | 409 |
<!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Source Code</title></head><body><pre><%--
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.
T... | attrs/plexi.http | www/samples/jsp/source.jsp.html | HTML | mit | 1,099 |
<!-- THIS FILE IS GENERATED VIA '.template-helpers/generate-tag-details.pl' -->
# Tags of `iojs`
- [`iojs:1.8.4`](#iojs184)
- [`iojs:1.8`](#iojs18)
- [`iojs:1`](#iojs1)
- [`iojs:1.8.4-onbuild`](#iojs184-onbuild)
- [`iojs:1.8-onbuild`](#iojs18-onbuild)
- [`iojs:1-onbuild`](#iojs1-onbuild)
- [`iojs:1.8.4-slim`](#iojs18... | snailwalker/docs | iojs/tag-details.md | Markdown | mit | 204,831 |
/*!
* Start Bootstrap - Half Slider (https://startbootstrap.com/template-overviews/half-slider)
* Copyright 2013-2017 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-half-slider/blob/master/LICENSE)
*/
.carousel-item {
height: 65vh;
min-height: 300px;
background: no-r... | hassaanaliw/hassaanaliw.github.io | projects/css/half-slider.css | CSS | mit | 470 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Palaso.Xml;
namespace TestApp
{
public partial class FastXmlSplitterTestForm : Form
{
public FastXmlSplitte... | darcywong00/libpalaso | TestApps/ReportingTest/FastXmlSplitterTestForm.cs | C# | mit | 1,604 |
package org.knowm.xchange.okcoin.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OkCoinFuturesInfoCross {
private final OkcoinFuturesFundsCross btcFunds;
private final OkcoinFuturesFundsCross ltcFunds;
public OkCoinFuturesInfoCross(@JsonProperty("btc") final OkcoinFuturesFundsCr... | gaborkolozsy/XChange | xchange-okcoin/src/main/java/org/knowm/xchange/okcoin/dto/account/OkCoinFuturesInfoCross.java | Java | mit | 620 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package org.bondlib;
import org.junit.Test;
import java.io.ByteArrayInputStream;
public class SimpleBinaryReaderTest {
// See SimpleBinaryProtocolTest for more ... | jdubrule/bond | java/core/src/test/java/org/bondlib/SimpleBinaryReaderTest.java | Java | mit | 985 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.