repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
xingwu1/azure-sdk-for-node
lib/services/serviceFabric/lib/models/inlinedValueSecretResourceProperties.js
2501
/* * 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 behavior and will be lost if the code is * regenerated. */ '...
apache-2.0
ConstantB/ontop-spatial
quest-test/src/test/java/it/unibz/krdb/obda/identifiers/DB2IdentifierTest.java
5133
package it.unibz.krdb.obda.identifiers; /* * #%L * ontop-test * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 * ...
apache-2.0
kidaa/incubator-ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheClientNodePartitionsExchangeTest.java
20342
/* * 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 ...
apache-2.0
ppazos/cabolabs-web-old
content/en/about_us/ing_pazos.php
10021
<style type="text/css"> ul, ol { padding-left: 30px; } /* ------------------>>> CUSTOM PARA ABOUT US */ .page-content p { margin: 10px 0; } .images { text-align: center; margin: 15px 0 25px 0; } img.profile { width: 300px; margin-bottom: 5px; } .images img { padding: 5px; cursor: pointer; } .profile_item...
apache-2.0
gianm/tranquility
core/src/main/scala/com/metamx/tranquility/finagle/BeamService.scala
1238
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
apache-2.0
davidkarlsen/camel
components/camel-cdi/src/test/java/org/apache/camel/cdi/test/RawEventEndpointCdi12Test.java
3765
/* * 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...
apache-2.0
FIRST-Tech-Challenge/appinventor-sources
appinventor/components/src/com/google/appinventor/components/runtime/FtcVuforiaLocalizer.java
46402
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2011-2016 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.components.runtime; import com.google.appinventor.components.annotations.DesignerComponent; import co...
apache-2.0
adichad/lucene
contrib/gdata-server/src/core/src/java/org/apache/lucene/gdata/storage/db4o/DB4oController.java
13227
/** * 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...
apache-2.0
mikkopiu/kontena
server/app/services/rpc/container_exec_handler.rb
466
module Rpc class ContainerExecHandler include Logging def initialize(grid) @grid = grid end def output(uuid, stream, chunk) MongoPubsub.publish("container_exec:#{uuid}", {stream: stream, chunk: chunk}) end def exit(uuid, exit_code) MongoPubsub.publish("container_exec:#{uu...
apache-2.0
elitetestnik/Back-track
templates/yoo_vox/yoo_vox/html/com_content/article/default.php
5557
<?php /** * @package yoo_vox Template * @file default.php * @version 5.5.14 May 2011 * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH * @license YOOtheme Proprietary Use License (http://www.yootheme.com/license) */ // no direct access defined('_JEXEC') or di...
apache-2.0
bassages/homecontrol
src/main/java/nl/homeserver/klimaat/KlimaatDto.java
312
package nl.homeserver.klimaat; import java.math.BigDecimal; import java.time.LocalDateTime; import lombok.Getter; import lombok.Setter; @Getter @Setter class KlimaatDto { private long id; private LocalDateTime datumtijd; private BigDecimal temperatuur; private BigDecimal luchtvochtigheid; }
apache-2.0
mbogoevici/spring-cloud-stream
spring-cloud-stream-reactive/src/test/java/org/springframework/cloud/stream/reactive/StreamListenerReactiveReturnWithFailureTests.java
6972
/* * Copyright 2016 the original author or 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 applica...
apache-2.0
hongyangAndroid/Highlight
highlight/src/main/java/zhy/com/highlight/shape/BaseLightShape.java
1793
package zhy.com.highlight.shape; import android.graphics.Bitmap; import android.graphics.RectF; import zhy.com.highlight.HighLight; import zhy.com.highlight.view.HightLightView; /** * <pre> * 高亮形状的超类 * Created by isanwenyu on 2016/10/26. * Copyright (c) 2016 isanwenyu@163.com. All rights reserved. * </pre> */ ...
apache-2.0
zabil/gocd
plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/packagematerial/JsonMessageHandler1_0Test.java
26551
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
apache-2.0
asimshankar/tensorflow
tensorflow/core/common_runtime/eager/kernel_and_device_test.cc
4875
/* 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 applicable law or a...
apache-2.0
gohugoio/hugo
parser/pageparser/item_test.go
1371
// Copyright 2019 The Hugo 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 applicable ...
apache-2.0
ory-am/go-iam
internal/testhelpers/server.go
287
package testhelpers import ( "net/http" "net/http/httptest" "testing" ) func FlexibleServer(t *testing.T, h *http.HandlerFunc) string { ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { (*h)(w, r) })) t.Cleanup(ts.Close) return ts.URL }
apache-2.0
Soluis/phabricator
src/applications/conpherence/controller/ConpherenceListController.php
5199
<?php final class ConpherenceListController extends ConpherenceController { const SELECTED_MODE = 'selected'; const UNSELECTED_MODE = 'unselected'; /** * Two main modes of operation... * * 1 - /conpherence/ - UNSELECTED_MODE * 2 - /conpherence/<id>/ - SELECTED_MODE * * UNSELECTED_MODE is not ...
apache-2.0
sergecodd/FireFox-OS
B2G/gecko/content/xslt/src/xslt/txXSLTNumber.cpp
24479
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/FloatingPoint.h"...
apache-2.0
Nipuni/product-dss
modules/integration/tests-integration/tests/src/test/java/org/wso2/dss/integration/test/fileservice/ExcelDataServiceTestCase.java
7871
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you 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/LI...
apache-2.0
polimi-giocoso/captain
app/src/main/java/it/playfellas/hicaptain/FinalActivity.java
2129
/* * Copyright 2015 Lorenzo Affetti, Giacomo Bresciani, Stefano Cappa * * 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 r...
apache-2.0
KevinLoiseau/manageiq
gems/pending/disk/modules/QcowDisk.rb
18511
require 'disk/modules/MiqLargeFile' require 'memory_buffer' require 'binary_struct' require 'zlib' module QcowDisk QCOW_HEADER_PARTIAL = BinaryStruct.new([ 'A4', 'magicNumber', 'N', 'version', ]) SIZEOF_QCOW_HEADER_PARTIAL = QCOW_HEADER_PARTIAL.size QCOW_HEADER_V1 = BinaryStruct.new([ 'A4', 'magi...
apache-2.0
deka108/meas_deka
latex_viewer/config.js
33416
System.config({ baseURL: "/", defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime", "optimisation.modules.system" ] }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*", "src/": "src/*", "style/": "style/*" ...
apache-2.0
patricklaw/pants
src/rust/engine/fs/brfs/src/tests.rs
6945
use tempfile; use testutil; use crate::mount; use hashing; use store::Store; use testutil::{ data::{TestData, TestDirectory}, file, }; #[tokio::test] async fn missing_digest() { let (store_dir, mount_dir) = make_dirs(); let runtime = task_executor::Executor::new(); let store = Store::local_only(runtim...
apache-2.0
chrismoulton/bluemix-python-eve-sample
setup.py
464
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'Python Eve Sample Deploy powered by IBM Bluemix', 'author': 'Sanjay Joshi, ...', 'url': 'http://macreduce.mybluemix.net', 'author_email': 'joshisa@us.ibm.com', 'version': '0.1',...
apache-2.0
xingwu1/azure-sdk-for-node
lib/services/batch/lib/models/deleteCertificateError.js
2365
/* * 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 behavior and will be lost if the code is * regenerated. */ '...
apache-2.0
kuFEAR/crest
core/src/test/java/org/codegist/crest/util/PlaceholdersTest.java
2435
/* * Copyright 2011 CodeGist.org * * 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...
apache-2.0
franckbonin/cxx-maven-plugin
src/main/java/org/apache/maven/plugin/cxx/CoverageMojo.java
8130
package org.apache.maven.plugin.cxx; /* * Copyright (C) 2011-2016, Neticoa SAS France - Tous droits réservés. * Author(s) : Franck Bonin, Neticoa SAS France * * 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 co...
apache-2.0
Fabryprog/camel
components/camel-digitalocean/src/main/java/org/apache/camel/component/digitalocean/producer/DigitalOceanDropletsProducer.java
20230
/* * 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 ...
apache-2.0
Skarlso/gocd
server/src/main/webapp/WEB-INF/rails/lib/extensions/java_lang_enum.rb
693
# # Copyright 2022 ThoughtWorks, 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 ...
apache-2.0
apache/directory-server
core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndexedMVAttributeIT.java
4710
/* * 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")...
apache-2.0
apache/velocity-engine
velocity-engine-core/src/main/java/org/apache/velocity/exception/MacroOverflowException.java
2564
package org.apache.velocity.exception; /* * 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 Licen...
apache-2.0
patelkarn/crash
src/main/java/org/acra/collections/ImmutableMap.java
3186
/* * Copyright 2016 * * 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 wri...
apache-2.0
BigBoss424/portfolio
v6/node_modules/eslint-plugin-es/lib/rules/no-set.js
1174
/** * @author Toru Nagashima <https://github.com/mysticatea> * See LICENSE file in root directory for full license. */ "use strict" const { READ, ReferenceTracker } = require("eslint-utils") module.exports = { meta: { docs: { description: "disallow the `Set` class.", category: "...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeRequest.cpp
847
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/qldb/model/UpdateLedgerPermissionsModeRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::QLDB::Model; using namespace Aws::Utils::Json; ...
apache-2.0
phanindra1212/gaevfs
test/src/com/newatlanta/appengine/taskqueue/TestDeferred.java
1263
/* * Copyright 2009 New Atlanta Communications, LLC * * 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...
apache-2.0
tumblr/goji
server.go
2556
package main import ( "encoding/json" "fmt" "github.com/byxorna/goji/marathon" "io/ioutil" "log" "net/http" "os" ) func ListenForEvents(listenAddr string) error { hostname, err := os.Hostname() if err != nil { return err } cb := fmt.Sprintf("http://%s:%d/event", hostname, config.HttpPort) cbRegistered, ...
apache-2.0
sxjscience/tvm
python/tvm/topi/bifrost/depthwise_conv2d.py
4548
# 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 u...
apache-2.0
Herve-M/sablecc
src/org/sablecc/sablecc/semantics/LocalNameSpace.java
2879
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
apache-2.0
blox/blox
integ-tests/src/cucumberTest/java/cucumber/steps/helpers/InputCreator.java
5606
/* * Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of the * License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "LICEN...
apache-2.0
Terminator-Aaron/Katana
aspnetwebsrc/System.Web.Http/HttpDeleteAttribute.cs
849
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.ObjectModel; using System.Net.Http; using System.Web.Http.Controllers; namespace System.Web.Http { /// <summary> /// Specifies that an action supports ...
apache-2.0
samwash/torgo
src/test/java/org/tros/utils/logging/LoggerTest.java
7075
/* * Copyright 2015 Matthew Aguirre * * 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...
apache-2.0
potto007/druid-avro
processing/src/test/java/io/druid/query/aggregation/MetricManipulatorFnsTest.java
4711
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
sdague/home-assistant
homeassistant/components/openweathermap/const.py
5320
"""Consts for the OpenWeatherMap.""" from homeassistant.components.weather import ( ATTR_FORECAST_CONDITION, ATTR_FORECAST_PRECIPITATION, ATTR_FORECAST_TEMP, ATTR_FORECAST_TEMP_LOW, ATTR_FORECAST_TIME, ATTR_FORECAST_WIND_BEARING, ATTR_FORECAST_WIND_SPEED, ) from homeassistant.const import ( ...
apache-2.0
foryou2030/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/newflow/parser/impl/ArrayParserImpl.java
2307
/* * 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 ...
apache-2.0
NickAndroid/Scalpel
scalpel/src/main/java/com/nick/scalpel/annotation/binding/FindBool.java
964
/* * Copyright (c) 2016 Nick Guo * * 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 ...
apache-2.0
vijaykanthm28/nilavu
app/controllers/cockpits_controller.rb
965
## ## Copyright [2013-2016] [Megam Systems] ## ## 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...
apache-2.0
frreiss/tensorflow-fred
tensorflow/python/kernel_tests/xent_op_test_base.py
12186
# Copyright 2015-2021 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 ap...
apache-2.0
cberner/presto
presto-main/src/main/java/com/facebook/presto/sql/rewrite/ShowQueriesRewrite.java
26784
/* * 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...
apache-2.0
haeusser/tensorflow
tensorflow/compiler/jit/xla_device.cc
8975
/* 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 applicable law or a...
apache-2.0
alvarocjunq/QuemQuerFazerHistoria.old
QuemQuerFazerHistoria/src/br/com/quemquerfazerhistoria/dao/PersonagemDAO.java
1482
package br.com.quemquerfazerhistoria.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import br.com.quemquerfazerhistoria.model.Personagem; import br.com.quemquerfazerhistoria.utils.Log; pub...
artistic-2.0
bric3/homebrew-cask
Casks/recut.rb
672
cask "recut" do version "1.1.2,364" sha256 "1f6d33a99a74422db9cb8fdee09b6ba8b3690a3661fdf6f284733278765e87ac" url "https://updates.getrecut.com/Recut-#{version.before_comma}.dmg" name "Recut" desc "Remove silence from videos and automatically generate a cut list" homepage "https://getrecut.com/" liveche...
bsd-2-clause
yarden-livnat/dnd-radial
app/src/model.js
985
/** * Created by yarden on 3/11/15. */ define(function(require) { var N_GROUPS = 15, N_ROWS = 6, N_COLS = 16, N_PORTS = 40, N_NODES = 4, N_CORES = 24; return { N_GROUPS: N_GROUPS, N_ROWS: N_ROWS, N_COLS: N_COLS, N_PORTS:N_PORTS, N_NODES:N_NODES, N_CORES:N_CORES, port_id: function(g,...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Array/prototype/flatMap/proxy-access-count.js
1555
// Copyright (C) 2018 Richard Lawrence. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-array.prototype.flatMap description: > properties are accessed correct number of times by .flatMap info: | Array.prototype.flatMap ( mapperFunction [ , thisArg ] ) ....
bsd-2-clause
CraK-Gaming/Crak-Website
include/websiteinfo_defaults.php
627
<?php if(!isset($websiteInfo['forum_newindicator'])) { $websiteInfo['forum_newindicator'] = 7; } if(!isset($websiteInfo['emailqueue_delay']) || $websiteInfo['emailqueue_delay'] == "" || $websiteInfo['emailqueue_delay'] < 5) { $websiteInfo['emailqueue_delay'] = 30; // Default check every 30 min } if(!isset($website...
bsd-2-clause
geekdenz/ol3
src/ol/webgl/ShaderBuilder.js
18307
/** * Classes and utilities for generating shaders from literal style objects * @module ol/webgl/ShaderBuilder */ import { ValueTypes, expressionToGlsl, getStringNumberEquivalent, } from '../style/expressions.js'; /** * @typedef {Object} VaryingDescription * @property {string} name Varying name, as will be...
bsd-2-clause
timchen86/gdcmdtools
gdcmdtools/get.py
7193
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import division import re import os import json import io import sys import pprint import logging logger = logging.getLogger() logger.setLevel(logging.DEBUG) import requests from requests_oauthlib import OAuth2Session from apiclient import errors from gdcm...
bsd-2-clause
ShivaHuang/homebrew-core
Formula/snow.rb
1147
class Snow < Formula desc "Whitespace steganography: coded messages using whitespace" homepage "http://www.darkside.com.au/snow/" # The upstream website seems to be rejecting curl connections. # Consistently returns "HTTP/1.1 406 Not Acceptable". url "https://dl.bintray.com/homebrew/mirror/snow-20130616.tar.g...
bsd-2-clause
gholms/euca2ools
euca2ools/commands/autoscaling/describenotificationconfigurations.py
2723
# Copyright (c) 2013-2016 Hewlett Packard Enterprise Development LP # # Redistribution and use of this software 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, # thi...
bsd-2-clause
spaam/homebrew-core
Formula/sc-im.rb
1427
class ScIm < Formula desc "Spreadsheet program for the terminal, using ncurses" homepage "https://github.com/andmarti1424/sc-im" url "https://github.com/andmarti1424/sc-im/archive/v0.7.0.tar.gz" sha256 "87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad" license "BSD-4-Clause" head "https://gi...
bsd-2-clause
zhuyue1314/cle
cle/tls.py
4731
from collections import namedtuple, defaultdict import struct from .absobj import AbsObj from .memory import Clemory TLSArchinfo = namedtuple('TLSArchInfo', ('variant', 'tcbhead_size', 'head_offsets', 'dtv_offsets', 'pthread_offsets')) tls_archinfo = { 'AMD64': TLSArchinfo( 2, 704, ...
bsd-2-clause
AerysBat/slimCat
slimCat/Utilities/Converters/MessageThicknessConverter.cs
1414
#region Copyright // <copyright file="MessageThicknessConverter.cs"> // Copyright (c) 2013-2015, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // Please see the License.txt file for more information. // All other rights reserved. // // THIS COD...
bsd-2-clause
ASMlover/study
3rdparty/boost/include/boost/geometry/strategies/cartesian/envelope_box.hpp
3479
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2015 Bruno Lalande, Paris, France. // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. // This file was modified by Oracle on 2015-2019. // Modifications copyright (c) ...
bsd-2-clause
pytorch/cpuinfo
test/mock/galaxy-s3-us.cc
13003
#include <gtest/gtest.h> #include <cpuinfo.h> #include <cpuinfo-mock.h> TEST(PROCESSORS, count) { ASSERT_EQ(2, cpuinfo_get_processors_count()); } TEST(PROCESSORS, non_null) { ASSERT_TRUE(cpuinfo_get_processors()); } TEST(PROCESSORS, smt_id) { for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { ASS...
bsd-2-clause
amirajdhawan/AutomatedLibrarySystem
FinalService/FinalService/Properties/Resources.Designer.cs
2852
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.235 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
bsd-2-clause
Maratyszcza/cpuinfo
test/mock/pixel-2-xl.cc
17023
#include <gtest/gtest.h> #include <cpuinfo.h> #include <cpuinfo-mock.h> TEST(PROCESSORS, count) { ASSERT_EQ(8, cpuinfo_get_processors_count()); } TEST(PROCESSORS, non_null) { ASSERT_TRUE(cpuinfo_get_processors()); } TEST(PROCESSORS, smt_id) { for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { ASS...
bsd-2-clause
ckxng/wakeup
tag/tag30.go
46
// Package tag. package tag println("tag30")
bsd-2-clause
anurag95/clearnlp
src/main/java/com/googlecode/clearnlp/util/triple/Triple.java
2370
/** * Copyright (c) 2009/09-2012/08, Regents of the University of Colorado * 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 copy...
bsd-2-clause
uwgraphics/Ubiqu-Ity
Ity/Importers/Importer.py
1025
# coding=utf-8 __author__ = 'kohlmannj' import abc import os from Ity import metadata_root class Importer(object): __metaclass__ = abc.ABCMeta @classmethod @abc.abstractmethod def get_export_path(cls): """ Returns a string representing the path to the file or folder of files ...
bsd-2-clause
siteadmin/codevalidator
src/main/java/org/sitenv/vocabularies/validation/NodeValidatorFactory.java
193
package org.sitenv.vocabularies.validation; /** * Created by Brian on 2/7/2016. */ public interface NodeValidatorFactory { NodeValidation getVocabularyValidator(String validatorType); }
bsd-2-clause
Mickasso90/homebrew-cask
Casks/gitx.rb
159
class Gitx < Cask url 'http://frim.frim.nl/GitXStable.app.zip' homepage 'http://gitx.frim.nl/' version 'latest' sha256 :no_check link 'GitX.app' end
bsd-2-clause
johnrsibert/tagest
21/recap_t2.cpp
1140
#include <iostream.h> #include <iomanip.h> #include "recap_t.h" #include "modlarea.h" int operator == (recaptype& a, recaptype& b) { return(!recaptype_compare(a,b)); } recaptype& operator += (recaptype& a, recaptype& b) { a.returns += b.returns; return(a); } int recaptype_compare(const void* _a, const void* ...
bsd-2-clause
auraphp/Aura.Html
src/Helper/Styles.php
6211
<?php /** * * This file is part of Aura for PHP. * * @license http://opensource.org/licenses/bsd-license.php BSD * */ namespace Aura\Html\Helper; /** * * Helper for a series of <link rel="stylesheet" ... /> tags. * * @package Aura.Html * */ class Styles extends AbstractSeries { /** * Temporary sto...
bsd-2-clause
windoze/Argos
query/match.cpp
645
// // match.cpp // Argos // // Created by Windoze on 12-7-6. // Copyright (c) 2012 0d0a.com. All rights reserved. // #include "index/forward_index.h" #include "query/match.h" namespace argos { namespace query { doc_iterator_impl_ptr_t MatchNone::match(common::ExecutionContext &ctx) { ...
bsd-2-clause
spaam/homebrew-core
Formula/infer.rb
5152
class Infer < Formula desc "Static analyzer for Java, C, C++, and Objective-C" homepage "https://fbinfer.com/" # pull from git tag to get submodules url "https://github.com/facebook/infer.git", tag: "v0.17.0", revision: "99464c01da5809e7159ed1a75ef10f60d34506a4" license "MIT" livecheck do ...
bsd-2-clause
raphaelahrens/doto
doto/model/crud.py
3003
""" Module for crud operations """ def add_one(store, cls, insert_query, obj): """ Add one row """ row_parameters = cls.obj_to_row(obj) cur = store.execute(insert_query, row_parameters) obj.id = cur.lastrowid return obj def add_and_cache(store, cls, insert_query, obj): """ Add a...
bsd-2-clause
WillYingling/protoparse
protoparse.go
555
package protoparse import ( pbbgp "github.com/CSUNetSec/netsec-protobufs/protocol/bgp" ) //A pbval is an interface that takes a byte slice and populates the //underlying pb. all supported pbs must implement it. type PbVal interface { Parse() (PbVal, error) String() string } type BGPUpdater interface { PbVal Get...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/String/prototype/concat/S15.5.4.6_A1_T10.js
1386
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: String.prototype.concat([,[...]]) es5id: 15.5.4.6_A1_T10 description: Call concat([,[...]]) function with object arguments ---*/ var __obj = { toString: function() { re...
bsd-2-clause
albertz/music-player
mac/pyobjc-core/Lib/PyObjCTools/TestSupport.py
30527
""" Helper code for implementing unittests. This module is unsupported and is primairily used in the PyObjC testsuite. """ from __future__ import print_function import plistlib as _pl import unittest as _unittest import objc import os as _os import gc as _gc import subprocess as _subprocess import sys as _sys import s...
bsd-2-clause
farseerfc/jgments
java/com/google/jgments/TokenMatcher.java
2663
// Copyright 2010 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 and ...
bsd-2-clause
aavanian/bokeh
bokeh/models/filters.py
6331
from __future__ import absolute_import import inspect from textwrap import dedent from types import FunctionType from ..core.properties import Bool, Dict, Either, Int, Seq, String, AnyRef from ..model import Model from ..util.dependencies import import_required from ..util.compiler import nodejs_compile, CompilationE...
bsd-3-clause
yorg76/test
modules/barcode/classes/Base/QRBarcode.php
4718
<?php defined('SYSPATH') or die('No direct script access.'); /** * Copyright 2011-2012 Spadefoot * * 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/license...
bsd-3-clause
murrayrowan/hacktools
public/assets/jquery.ui.datepicker-sk-9f078d1181a665eb9bc876786f7b276d.js
818
/* Slovak initialisation for the jQuery UI date picker plugin. */ /* Written by Vojtech Rinik (vojto@hmm.sk). */ jQuery(function(a){a.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","jú...
bsd-3-clause
Bysmyyr/chromium-crosswalk
net/spdy/fuzzing/hpack_fuzz_util_test.cc
5092
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/spdy/fuzzing/hpack_fuzz_util.h" #include <map> #include "base/base_paths.h" #include "base/files/file.h" #include "base/files/file_util.h"...
bsd-3-clause
ChromiumWebApps/chromium
chrome/common/extensions/docs/server2/local_file_system.py
3205
# 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. import os import sys from docs_server_utils import StringIdentity from file_system import FileSystem, FileNotFoundError, StatInfo from future import Get...
bsd-3-clause
tomocchino/react
packages/react-devtools-shared/src/types.js
3297
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ export type Wall = {| // `listen` returns the "unlisten" function. listen: (fn: Function) => Function, send: (ev...
bsd-3-clause
nwjs/chromium.src
content/browser/media/media_browsertest.cc
14036
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/media/media_browsertest.h" #include <memory> #include "base/command_line.h" #include "base/strings/string_number_conversio...
bsd-3-clause
jdetle/nteract
packages/core/__tests__/views/toolbar-spec.js
2599
import React from "react"; import { mount } from "enzyme"; import Toolbar from "../../src/components/toolbar"; import toJSON from "enzyme-to-json"; describe("Toolbar View", () => { test("should be able to render a toolbar", () => { const toolbar = mount(<Toolbar />); expect(toJSON(toolbar)).toMatchSnapshot(...
bsd-3-clause
beeftornado/sentry
tests/snuba/test_util.py
2483
from __future__ import absolute_import from datetime import datetime, timedelta from sentry.models import GroupHash from sentry.testutils import TestCase, SnubaTestCase from sentry.utils import snuba class SnubaUtilTest(TestCase, SnubaTestCase): def test_filter_keys_set(self): snuba.raw_query( ...
bsd-3-clause
enthought/distarray
distarray/globalapi/maps.py
38350
# encoding: utf-8 # --------------------------------------------------------------------------- # Copyright (C) 2008-2014, IPython Development Team and Enthought, Inc. # Distributed under the terms of the BSD License. See COPYING.rst. # --------------------------------------------------------------------------- """...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s09/CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_memmove_84_goodG2B.cpp
1720
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_char_memmove_84_goodG2B.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml Template File: sources-sink-84_goodG2B.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSo...
bsd-3-clause
61ds/drish
_protected/backend/controllers/GlobalSettingController.php
13650
<?php namespace backend\controllers; use Yii; use common\models\Globalsetting; use common\models\CategoryMap; use common\models\GlobalSettingSearch; use common\models\ProductMap; use common\models\Products; use common\models\ProductsParent; use common\models\Brand; use common\models\Category; use yii\web\Controller; ...
bsd-3-clause
boundlessgeo/GeoGig
src/cli/src/main/java/org/locationtech/geogig/cli/porcelain/RemoteRemove.java
2311
/* Copyright (c) 2012-2014 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Cont...
bsd-3-clause
google/crosvm
acpi_tables/src/sdt.rs
4700
// Copyright 2020 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. use std::fs::File; use std::io::{ErrorKind, Read, Result}; use std::path::Path; use data_model::DataInit; /// SDT represents for System Description T...
bsd-3-clause
aYukiSekiguchi/ACCESS-Chromium
content/browser/webui/web_ui_impl.cc
8116
// 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 "content/browser/webui/web_ui_impl.h" #include "base/command_line.h" #include "base/json/json_writer.h" #include "base/stl_util.h" #include ...
bsd-3-clause
nuodb/ruby-activerecord-nuodb-adapter
test/models/reader.rb
651
class Reader < ActiveRecord::Base belongs_to :post belongs_to :person, :inverse_of => :readers belongs_to :single_person, :class_name => 'Person', :foreign_key => :person_id, :inverse_of => :reader end class SecureReader < ActiveRecord::Base self.table_name = "readers" belongs_to :secure_post, :class_name =...
bsd-3-clause
alexsavio/scikit-learn
sklearn/metrics/tests/test_pairwise.py
27309
import numpy as np from numpy import linalg from scipy.sparse import dok_matrix, csr_matrix, issparse from scipy.spatial.distance import cosine, cityblock, minkowski, wminkowski from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_array_almost_equal from sklearn.utils.testing impo...
bsd-3-clause
canis-io/cascade-lib
lib/components/web/widgets/Collector.php
3549
<?php /** * @link http://psesd.org/ * * @copyright Copyright (c) 2015 Puget Sound ESD * @license http://psesd.org/license/ */ namespace cascade\components\web\widgets; use cascade\components\web\widgets\section\Section; use Yii; /** * Collector [[@doctodo class_description:cascade\components\web\widgets\Collec...
bsd-3-clause
riteshsingh1/a
backend/views/staff-academic/create.php
477
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\StaffAcademic */ $this->title = Yii::t('app', 'Create Staff Academic'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Staff Academics'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div c...
bsd-3-clause
cybergarage/cybergarage-x3d
core/src/main/java/org/cybergarage/x3d/node/BooleanTimeTriggerNode.java
3963
/****************************************************************** * * CyberX3D for Java * * Copyright (C) Satoshi Konno 1997-2002 * * File : BooleanTimeTriggerNode.java * Revisions: * * 10/08/02 * - The first revision. * ******************************************************************/ package org.cybergarage.x3...
bsd-3-clause