repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
grafeas/client-go | 0.1.0/model_v1beta1_occurrence.go | 2287 | /*
* proto/v1beta1/grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package grafeas
import (
"time"
)
// An instance ... | apache-2.0 |
magneticio/vamp.io | content/community-support.md | 1094 | ---
date: 2016-09-13T09:00:00+00:00
title: Community support
type: page
layout: overview
aliases:
- /community/
---
Vamp Community Edition is open source and Apache 2.0 licensed. For details of the **Vamp Enterprise Edition** please check the [Vamp feature matrix](/product/enterprise-edition/), [start a free trial]... | apache-2.0 |
yuanmouren1hao/KeyEdge_Mining_On_UncertainGraph | myFlow_caiwei/myFlow/InputReader.cpp | 1474 | #include "stdafx.h"
#include "InputReader.h"
#include "graph.h"
#include <iostream>
#include <string>
using namespace std;
InputReader::InputReader(const char* fileName, const char* stFileName)
{
in.open(fileName);
if(!in.is_open())
{
cout<<"Input file "<<fileName<<" doesn't exist!"<<endl;
exit(1);
}
stIn.... | apache-2.0 |
drthomas21/WordPress_Tutorial | community_htdocs/vendor/illuminate/database/Eloquent/Builder.php | 37905 | <?php
namespace Illuminate\Database\Eloquent;
use Closure;
use BadMethodCallException;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Pagination\Paginator;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Concerns\BuildsQueries;
use Illuminate\Database\Eloquent\Relations\Rel... | apache-2.0 |
egaburov/funstuff | Haskell/tytag/xproblem_src/samples/expressions/Java/operationExtensibility/tests/TestEvaluator.java | 719 | package operationExtensibility.tests;
import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;
import operationExtensibility.*;
public class TestEvaluator {
private static Visitor<Integer> v;
@BeforeClass
public static void setUpBeforeClass() throws Exception... | apache-2.0 |
nqdien/littleaspnetcorebook | Services/ITodoItemService.cs | 420 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspNetCoreTodo.Models;
namespace AspNetCoreTodo.Services
{
public interface ITodoItemService
{
Task<IEnumerable<TodoItem>> GetIncompleteItemsAsync(ApplicationUser user);
Task<bool> AddItemAsync(NewTodoItem newI... | apache-2.0 |
simplegeo/hadoop-pig | docs/jdiff/changes/org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSecondaryKeyComparator.html | 7373 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<HTML>
<HEAD>
<meta name="generator" content="JDiff v1.0.9">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which generates... | apache-2.0 |
jaikiran/ant-ivy | src/java/org/apache/ivy/core/pack/OsgiBundlePacking.java | 1656 | /*
* 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 |
openwide-java/owsi-core-parent | owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/feedback/AbstractFeedbackPanel.java | 1314 | package fr.openwide.core.wicket.more.markup.html.feedback;
import java.util.ArrayList;
import java.util.List;
import org.apache.wicket.MarkupContainer;
import org.apache.wicket.feedback.FeedbackMessage;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.markup.html.panel.Panel;
public... | apache-2.0 |
SMHFandA/Tex.TasksSolutions | site/uk/chapter_5/group_1/solutions/solution_5_1_8.html | 1399 | <h3 class="page-header">Розв'язок</h3>
<div class="task-solution-top"></div>
<div class="task-solution-bg">
<p>
В першу чергу, обчислимо ОДЗ:
</p>
<div class="formula-block">
\begin{equation*}
\begin{aligned}
\mbox{ОДЗ}:\;&x-3\geq 0;\\
&x\geq 3;
\end{aligned}... | apache-2.0 |
woxxy/FoOlSlide | application/config/routes.php | 2388 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
... | apache-2.0 |
ksotala/BayesGame | BayesGame/src/Samples/MouseMenu/EditorMouseMenu.java | 3984 | /*
* EditorMouseMenu.java
*
* Created on March 21, 2007, 10:34 AM; Updated May 29, 2007
*
* Copyright 2007 Grotto Networking
*/
package Samples.MouseMenu;
import edu.uci.ics.jung.algorithms.layout.Layout;
import edu.uci.ics.jung.algorithms.layout.StaticLayout;
import edu.uci.ics.jung.graph.SparseMul... | apache-2.0 |
phantomii/restalchemy | restalchemy/tests/functional/restapi/ra_based/test_resources.py | 13940 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2016 Eugene Frolov <eugene@frolov.net.ru>
#
# 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
#
# ... | apache-2.0 |
fr3anthe/ifedorenko | 1.1-Base/src/main/java/ru/job4j/max/Max.java | 887 | package ru.job4j.max;
/**
*Класс помогает узнать, какое из двух чисел больше.
*@author ifedorenko
*@since 14.08.2017
*@version 1
*/
public class Max {
/**
*Возвращает большее число из двух.
*@param first содержит первое число
*@param second содержит второе число
*@return Большее из двух
*/
public int max(in... | apache-2.0 |
hammer/flume | src/gen-java/com/cloudera/flume/reporter/server/FlumeReport.java | 17245 | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.cloudera.flume.reporter.server;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashS... | apache-2.0 |
ua-eas/ua-rice-2.1.9 | impl/src/main/java/org/kuali/rice/kew/docsearch/dao/impl/DocumentSearchDAOJdbcImpl.java | 8999 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | apache-2.0 |
alpinweiss/filegen | src/main/java/eu/alpinweiss/filegen/util/generator/impl/AutoNumberGenerator.java | 2280 | /*
* Copyright 2016 Alexander Severgin
*
* 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 |
uschindler/elasticsearch | x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/mapper/HistogramFieldTypeTests.java | 632 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.analytics.mapper;
import org.elasticsearch.... | apache-2.0 |
markus1978/citygml4emf | de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/FeatureStyleTypeItemProvider.java | 10661 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml.provider;
import java.util.Collection;
import java.util.List;
import net.opengis.gml.FeatureStyleType;
import net.opengis.gml.GmlFactory;
import net.opengis.gml.GmlPackage;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclip... | apache-2.0 |
cloudmesh/book | cloud-technologies/incomming/tex/abstract-esri-data-services.tex | 402 | \section{ESRI}
\index{ESRI}
\index{Environmental Systems Research Institute}
Environmental Systems Research Institute (ESRI) offers geospatial related data
services and process online through its proprietary API. Features of the ESRI
platform include access to basemaps, geocoding, demographic data, a dynamic
world at... | apache-2.0 |
GoogleCloudPlatform/gcpdiag | gcpdiag/lint/gke/err_2021_001_logging_perm.py | 1986 | # Copyright 2021 Google 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 applicable law or agreed to in writing, ... | apache-2.0 |
trivago/gollum | vendor/github.com/Shopify/sarama/api_versions_request.go | 516 | package sarama
// ApiVersionsRequest ...
type ApiVersionsRequest struct{}
func (a *ApiVersionsRequest) encode(pe packetEncoder) error {
return nil
}
func (a *ApiVersionsRequest) decode(pd packetDecoder, version int16) (err error) {
return nil
}
func (a *ApiVersionsRequest) key() int16 {
return 18
}
func (a *Api... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/RemoveRoleFromDBClusterResult.java | 2392 | /*
* Copyright 2017-2022 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 |
aghorler/Startup-Cookie-Destroyer | html/options.html | 1380 | <!DOCTYPE html>
<html>
<head>
<title>Startup Cookie Manager</title>
</head>
<body>
<h3 title="example.com will preserve example.com, and *.example.com cookies.">Cookie whitelist (include subdomains)</h3>
<p title="example.com will preserve example.com, and *.example.com cookies.">
<tex... | apache-2.0 |
Hexworks/zircon | docs/2020.2.0-RELEASE-KOTLIN/zircon.core/zircon.core/org.hexworks.zircon.api.data/-rect/minus.html | 4930 | <html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>minus</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script type="text/javascript" src="../../../scripts/source... | apache-2.0 |
jonathanpeppers/MonoGameOrientation | MonoGame/Tools/2MGFX/DXConstantBufferData.cs | 1654 | using System.Collections.Generic;
namespace Microsoft.Xna.Framework.Graphics
{
internal partial class DXConstantBufferData
{
public string Name { get; private set; }
public int Size { get; private set; }
public List<int> ParameterIndex { get; private set; }
public List<int> ... | apache-2.0 |
lucasmarcelli/marcellisite | _includes/head.html | 1737 | <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}">
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }... | apache-2.0 |
nickersan/PUSH | README.md | 85 | PUSH
====
An open framework that allows data to be pushed from a server to a client
| apache-2.0 |
wooga/atlas-release | docs/api/wooga/gradle/release/version/semver/VersionStrategies.html | 16288 | <!--
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
"... | apache-2.0 |
Fairly/opencor | src/plugins/api/SBMLAPI/include/sbml/xml/XMLConstructorException.h | 3150 | /**
* @file XMLConstructorException.h
* @brief XMLConstructorException an exception thrown by XML classes
* @author Ben Bornstein
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML,... | apache-2.0 |
istolbov/i_stolbov | chapter_001/src/test/java/ru/istolbov/TurnTest.java | 2196 | package ru.istolbov;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Test.
* @author istolbov
* @version $Id$
*/
public class TurnTest {
/**
* Test turn back array.
*/
@Test
public void whenWeTurnBackArray() {
final int[] targetArra... | apache-2.0 |
dcos/dcos-launch | dcos_launch/gcp.py | 4208 | """ Launcher functionality for the Google Compute Engine (GCE)
"""
import json
import logging
import os
from dcos_launch import onprem, util
from dcos_launch.platforms import gcp
from dcos_test_utils.helpers import Host
from googleapiclient.errors import HttpError
log = logging.getLogger(__name__)
def get_credentia... | apache-2.0 |
singhjaideep/ado-net-segfault | ConsoleApplication2/Properties/AssemblyInfo.cs | 1454 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 |
dubenju/javay | src/java/javay/test/security/DESCoder.java | 4047 | package javay.test.security;
import java.security.Key;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
/**
* DES安全编码组件
*
* <pre>
* 支... | apache-2.0 |
pingcap/docs-cn | overview.md | 5881 | ---
title: TiDB 简介
aliases: ['/docs-cn/dev/overview/','/docs-cn/dev/key-features/']
---
# TiDB 简介
[TiDB](https://github.com/pingcap/tidb) 是 [PingCAP](https://pingcap.com/about-cn/) 公司自主设计、研发的开源分布式关系型数据库,是一款同时支持在线事务处理与在线分析处理 (Hybrid Transactional and Analytical Processing, HTAP) 的融合型分布式数据库产品,具备水平扩容或者缩容、金融级高可用、实时 HTAP、... | apache-2.0 |
zeelichsheng/auth | auth-model/src/main/java/com/ysheng/auth/model/api/GrantType.java | 769 | /*
* Copyright 2016 Yu Sheng. 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 ... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Stachybotrys/Stachybotrys renispora/README.md | 217 | # Stachybotrys renispora P.C. Misra SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 4(1): 161 (1976)
#### Original name
Stachybotrys renispora P.C. Misra
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Diaporthales/Gnomoniaceae/Asteroma/Asteroma senecionis/README.md | 197 | # Asteroma senecionis Ellis & Everh. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Asteroma senecionis Ellis & Everh.
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Bulbophyllum/Bulbophyllum rubrum/ Syn. Bulbophyllum ambongense/README.md | 188 | # Bulbophyllum ambongense Schltr. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Plumbaginaceae/Statice/Statice formosa/README.md | 180 | # Statice formosa Hort. ex Vilm. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/incertae sedis/Dendranthema lavandulifolium lavandulifolium/ Syn. Pyrethrum seticuspe/README.md | 183 | # Pyrethrum seticuspe Maxim. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Cortinariaceae/Cortinarius/Cortinarius turmalis/README.md | 263 | # Cortinarius turmalis (Fr.) Fr., 1838 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Epicr. syst. mycol. (Upsaliae) 257 (1838)
#### Original name
Cortinarius turmalis (Fr.) Fr., 1838
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Ramularia/Ramularia succisae/ Syn. Ramularia knautiae/README.md | 269 | # Ramularia knautiae (C. Massal.) Bubák, 1903 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Öst. bot. Z. 53: 50 (1903)
#### Original name
Ramularia succisae var. knautiae C. Massal., 1889
### Remarks
null | apache-2.0 |
baslr/ArangoDB | js/common/modules/@arangodb/request.js | 5781 | /* jshint sub: true */
/* global exports: true */
'use strict';
// //////////////////////////////////////////////////////////////////////////////
// / @brief node-request-style HTTP requests
// /
// / @file
// /
// / DISCLAIMER
// /
// / Copyright 2015 triAGENS GmbH, Cologne, Germany
// /
// / Licensed under the Apach... | apache-2.0 |
salihyalcin/android-guidelines | android_java_style.md | 23308 | Android Kod Yazım Kılavuzu
---------------------------
Bu dokümanın amacı Android uygulama geliştirirken bize yardımcı olacak kod yazım prensiplerini belirlemektir. Uygulama geliştirirken bu dokümana göre hareket etmek temiz ve istikrarlı kod yazımında bize yardımcı olacaktır.
Not: Bazı yerlerde İngilizce-Türkçe kul... | apache-2.0 |
kunallimaye/apiman | manager/ui/hawtio/plugins/api-manager/ts/user/user.ts | 528 | /// <reference path="../apimanPlugin.ts"/>
/// <reference path="../services.ts"/>
module Apiman {
export var UserRedirectController = _module.controller("Apiman.UserRedirectController",
['$q', '$scope', '$location', 'PageLifecycle', '$routeParams',
($q, $scope, $location, PageLifecycle, $routeParam... | apache-2.0 |
chadversary/deqp | framework/platform/X11/tcuX11.hpp | 3554 | #ifndef _TCUX11_HPP
#define _TCUX11_HPP
/*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "Lice... | apache-2.0 |
Adminotech/fiware-cloud-rendering-renderer | CloudRenderingPlugin/CloudRenderingPlugin.h | 800 | /**
@author Admino Technologies Oy
Copyright 2013 Admino Technologies Oy. All rights reserved.
See LICENCE for conditions of distribution and use.
@file
@brief */
#pragma once
#include "CloudRenderingPluginApi.h"
#include "CloudRenderingPluginFwd.h"
#include "IModule.h"
class CLOUDRENDERI... | apache-2.0 |
phrocker/sharkbite | src/data/constructs/column.cpp | 3199 | /*
* 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 |
chowaikong/ZMZ | app/src/main/java/me/knox/zmz/mvp/model/NewsListModel.java | 664 | package me.knox.zmz.mvp.model;
import io.reactivex.Flowable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import java.util.List;
import javax.inject.Inject;
import me.knox.zmz.App;
import me.knox.zmz.entity.News;
import me.knox.zmz.mvp.contract.NewsListContract;
import me.knox.zmz.network.JsonResponse;
/... | apache-2.0 |
implydata/immutable-class | packages/eslint-plugin-immutable-class/src/rules/readonly-implicit-fields.spec.ts | 5020 | /*
* Copyright 2022 Imply Data, 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 agree... | apache-2.0 |
google/nomulus | core/src/main/java/google/registry/model/tld/Registry.java | 40835 | // Copyright 2017 The Nomulus 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 a... | apache-2.0 |
oleg-cherednik/hackerrank | Data Structures/Arrays/Left Rotation/Solution.java | 1184 | import java.util.Scanner;
/**
* @author Oleg Cherednik
* @since 27.10.2017
*/
public class Solution {
static int[] leftRotation(int[] a, int d) {
for (int i = 0, j = a.length - 1; i < j; i++, j--)
swap(a, i, j);
d %= a.length;
if (d > 0) {
d = a.length - d;
... | apache-2.0 |
twosunnus/zhcy | src/com/pmis/manage/dao/UserInfoDao.java | 193 | package com.pmis.manage.dao;
import org.springframework.stereotype.Component;
import com.pmis.common.dao.CommonDao;
@Component
public class UserInfoDao extends CommonDao{
}
| apache-2.0 |
flumebase/flumebase | src/main/java/com/odiago/flumebase/lang/Function.java | 2315 | /**
* Licensed to Odiago, Inc. under one or more contributor license
* agreements. See the NOTICE.txt file distributed with this work for
* additional information regarding copyright ownership. Odiago, Inc.
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this ... | apache-2.0 |
benjchristensen/RxJava | src/main/java/io/reactivex/internal/operators/maybe/MaybeIgnoreElement.java | 2368 | /**
* Copyright 2016 Netflix, 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 w... | apache-2.0 |
knative-sandbox/kperf | pkg/command/service/clean_test.go | 5720 | // Copyright 2020 The Knative 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... | apache-2.0 |
jedesah/Quasar | frontend/src/test/scala/quasar/frontend/logicalplan/LogicalPlanSpecs.scala | 6634 | /*
* Copyright 2014–2018 SlamData 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 agr... | apache-2.0 |
consulo/consulo-xml | xml-dom-impl/src/main/java/com/intellij/util/xml/impl/DomRootInvocationHandler.java | 4330 | package com.intellij.util.xml.impl;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.NullableFactory;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.XmlElementFactory;
import com.intellij.psi.xml.XmlDocument;
import com.intellij.psi.xml.XmlFile;
import com.inte... | apache-2.0 |
stori-es/stori_es | dashboard/src/main/java/org/consumersunion/stories/common/client/util/CachedObjectKeys.java | 287 | package org.consumersunion.stories.common.client.util;
public class CachedObjectKeys {
public static final String OPENED_CONTENT = "openedContent";
public static final String OPENED_STORY = "openedStory";
public static final String OPENED_COLLECTION = "openedCollection";
}
| apache-2.0 |
alanconway/qpid-proton | c/include/proton/log.h | 1795 | #ifndef LOG_H
#define LOG_H
/*
* 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 ... | apache-2.0 |
Damir2805/java-a-to-z | Chapter_001/src/main/java/dkalymbaev/triangle/Triangle.java | 783 | package dkalymbaev.triangle;
class Triangle {
/**
* This class defines points a b and c as peacks of triangle.
*/
public Point a;
public Point b;
public Point c;
/**
* Creating of a new objects.
* @param a is the length of the first side.
* @param b is the length of the second side.
* @param c is the... | apache-2.0 |
Ensembl/ensj-healthcheck | src/org/ensembl/healthcheck/util/AbstractMapRowMapper.java | 1222 | /*
* Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
* Copyright [2016-2019] EMBL-European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | apache-2.0 |
plter/HTML5Course20160612 | 20160613/LoadScript/loader.js | 315 | /**
* Created by plter on 6/13/16.
*/
(function () {
var files = ["hello.js", "app.js"];
files.forEach(function (file) {
var scriptTag = document.createElement("script");
scriptTag.async = false;
scriptTag.src = file;
document.body.appendChild(scriptTag);
});
}()); | apache-2.0 |
klose911/klose911.github.io | html/elisp/operation-objects/file.html | 42496 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" conte... | apache-2.0 |
gudnam/bringluck | google_play_services/docs/reference/com/google/android/gms/games/multiplayer/package-summary.html | 33928 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favic... | apache-2.0 |
gmallard/stompngo_examples | srmgor_2conn/run.sh | 56 | #!/bin/bash
#
./srmgor_2conn 2>&1 | tee runlog${1}.txt
| apache-2.0 |
yp-engineering/marathon | src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala | 16525 | package mesosphere.marathon.integration
import mesosphere.marathon.api.v2.json.GroupUpdate
import mesosphere.marathon.integration.setup.{ IntegrationFunSuite, IntegrationHealthCheck, SingleMarathonIntegrationTest, WaitTestSupport }
import mesosphere.marathon.state.{ AppDefinition, PathId, UpgradeStrategy }
import org.... | apache-2.0 |
linbojin/algorithms | java/src/main/java/com/linbo/algs/examples/queues/RandomizedQueue.java | 4619 | package com.linbo.algs.examples.queues;
import java.util.Iterator;
import com.linbo.algs.util.StdRandom;
/**
* Created by @linbojin on 13/1/17.
* Ref: http://coursera.cs.princeton.edu/algs4/assignments/queues.html
* RandomizedQueue: a double-ended queue or deque (pronounced "deck") is a
* generalization of a sta... | apache-2.0 |
RackerWilliams/xercesj | src/org/apache/xerces/impl/scd/SCDParser.java | 21399 | /*
* 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 |
smoothpanda1981/linkedin | java/src/com/linkedin/sample/Main.java | 22732 | /*
Copyright 2011 LinkedIn Corporation
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... | apache-2.0 |
pkware/truth-android | truth-android-appcompat/src/main/java/com/pkware/truth/androidx/appcompat/widget/SearchViewSubject.java | 3403 | /*
* Copyright 2013 Square, Inc.
* Copyright 2016 PKWARE, 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 ... | apache-2.0 |
telerik/JustMockLite | Telerik.JustMock/Core/ExpressionUtil.cs | 6015 | /*
JustMock Lite
Copyright © 2010-2015 Progress Software Corporation
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 |
nghiant2710/base-images | balena-base-images/node/up-squared/fedora/32/15.7.0/run/Dockerfile | 2754 | # AUTOGENERATED FILE
FROM balenalib/up-squared-fedora:32-run
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.... | apache-2.0 |
am0e/commons | src/main/java/com/github/am0e/jbeans/FieldInfo.java | 7111 | /*******************************************************************************
* 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 t... | apache-2.0 |
telefonicaid/fiware-sdc | automatization_scripts/get_software_catalogue.py | 4111 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U
#
# This file is part of FI-WARE project.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# You may obtain a copy of the Li... | apache-2.0 |
younggift/phonegap_onDeviceReady | www/index.html | 924 | <!DOCTYPE html>
<html>
<head>
<title>demo</title>
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8" src="http://192.168.1.102/apk/on.js"></script>
</head>
<body>
<font size=7 color=blue>
ver0111: <p>
<p id="log"></p>
</font>
... | apache-2.0 |
funkygao/gafka | cmd/gk/command/deploy_test.go | 554 | package command
import (
"testing"
"github.com/funkygao/assert"
"github.com/funkygao/gocli"
)
func TestValidateLogDirs(t *testing.T) {
d := Deploy{Ui: &cli.BasicUi{}}
type fixture struct {
dirs string
expected string
}
fixtures := []fixture{
{"/non-exist/kfk_demo", "/non-exist/kfk_demo"},
{"/non-e... | apache-2.0 |
onosfw/apis | onos/apis/interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuilder.js | 512 | var interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuilder =
[
[ "getPacketsReceived", "interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuilder.html#a190993a33fa895f9d07145f3a04f5d22", null ],
[ "getPacketsSent", "interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuil... | apache-2.0 |
jaydom/weishang | system/weixin/class/web/rule.php | 3054 | <?php
defined('SYSTEM_IN') or exit('Access Denied');
hasrule('weixin','weixin');
$operation = !empty($_GP['op']) ? $_GP['op'] : 'display';
if($operation=='detail')
{
if(!empty($_GP['id']))
{
$rule = mysqld_select('SELECT * FROM '.tabl... | apache-2.0 |
korpling/ANNIS | src/test/java/org/corpus_tools/annis/gui/visualizers/component/tree/AnnisGraphToolsTest.java | 2637 | package org.corpus_tools.annis.gui.visualizers.component.tree;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org... | apache-2.0 |
CASPED/OpenGTS | src/org/opengts/dbtypes/DTIPAddress.java | 3318 | // ----------------------------------------------------------------------------
// Copyright 2007-2011, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | apache-2.0 |
anuragkapur/cassandra-2.1.2-ak-skynet | apache-cassandra-2.0.15/javadoc/org/apache/cassandra/thrift/Cassandra.describe_partitioner_result._Fields.html | 17844 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_72) on Wed May 13 11:47:42 EDT 2015 -->
<title>Cassandra.describe_partitioner_result._Fields (apache-cassandra API)</title>
<meta name=... | apache-2.0 |
SweetyDonut/java_pft | Mantis_tests/src/test/java/ru/stqa/pft/mantis/appmanager/DbHelper.java | 1105 | package ru.stqa.pft.mantis.appmanager;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import ru.stqa.pft.mantis.model.User;
impo... | apache-2.0 |
mkhairul/fighto_admin | public/app/views/app.html | 475 | <!-- top navbar-->
<header data-ng-include="'app/views/partials/top-navbar.html'" data-ng-class="app.theme.topbar"></header>
<!-- Sidebar-->
<aside data-ng-include="'app/views/partials/sidebar.html'" data-ng-class="app.theme.sidebar"></aside>
<!-- Main-->
<section>
<!-- Content-->
<div ui-view="" autoscroll="fals... | apache-2.0 |
MrIceFox/AndroidHorizontalCalendar | library/src/main/java/com/mricefox/androidhorizontalcalendar/library/calendar/DataSetObservable.java | 918 | package com.mricefox.androidhorizontalcalendar.library.calendar;
import android.database.Observable;
/**
* Author:zengzifeng email:zeng163mail@163.com
* Description:
* Date:2015/12/25
*/
public class DataSetObservable extends Observable<DataSetObserver> {
public boolean hasObservers() {
synchronized (... | apache-2.0 |
LQJJ/demo | 126-go-common-master/app/interface/main/dm2/dao/archive_test.go | 814 | package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaotypesURI(t *testing.T) {
convey.Convey("typesURI", t, func(ctx convey.C) {
ctx.Convey("When everything gose positive", func(ctx convey.C) {
p1 := testDao.typesURI()
ctx.Convey("Then p1 should not be nil.", f... | apache-2.0 |
ceylon/ceylon | langtools-classfile/src/org/eclipse/ceylon/langtools/classfile/TypeAnnotation.java | 23331 | /*
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.9.5/apidocs/org/wildfly/swarm/netflix/ribbon/class-use/RibbonArchive.html | 7782 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Tue Sep 12 14:31:27 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2016.12.1/apidocs/org/wildfly/swarm/cdi/package-frame.html | 924 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Thu Dec 15 09:48:34 EST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.cdi (Pu... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2016.9/apidocs/org/wildfly/swarm/config/logging/package-summary.html | 26489 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Tue Sep 06 12:41:42 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.... | apache-2.0 |
cethap/cbcompiled | addons/cb.panel.outline/views/panel.js | 301 | define([
"settings",
"views/tags"
], function(panelSettings, TagsView) {
var PanelFileView = codebox.require("views/panels/file");
var PanelOutlineView = PanelFileView.extend({
className: "cb-panel-outline",
FileView: TagsView
});
return PanelOutlineView;
}); | apache-2.0 |
msdgwzhy6/ImageCropper | TestImageCropper/src/com/ticktick/testimagecropper/MainActivity.java | 3086 | package com.ticktick.testimagecropper;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;
import com.ticktick.imagecropper.CropImageActivity;
import com.ticktick.imagecropper.CropIntent;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
im... | apache-2.0 |
fipumjdeveloper/web | views/site/login.php | 1309 | <?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
'Login',
);
?>
<h1>Login</h1>
<p>Please fill out the following form with your login credentials:</p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'enableAjaxValidation'=>true,
)); ?>
<p... | apache-2.0 |
boneman1231/org.apache.felix | trunk/deploymentadmin/deploymentadmin/src/main/java/org/apache/felix/deploymentadmin/BundleInfoImpl.java | 4581 | /*
* 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 |
yaybu/touchdown | touchdown/aws/ec2/instance.py | 4911 | # Copyright 2014-2015 Isotoma Limited
#
# 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... | apache-2.0 |
javyuan/jeesite-api | src/main/java/com/zlwh/hands/api/domain/base/PageDomain.java | 593 | package com.zlwh.hands.api.domain.base;
public class PageDomain {
private String pageNo;
private String pageSize = "15";
private long pageTime; // 上次刷新时间,分页查询时,防止分页数据错乱
public String getPageNo() {
return pageNo;
}
public void setPageNo(String pageNo) {
this.pageNo = pageNo;
}
public String getPageSize... | apache-2.0 |
thankpoint/thanks4java | security/src/main/java/io/github/thankpoint/security/impl/AbstractSecurityProviderBuilderImpl.java | 589 | package io.github.thankpoint.security.impl;
import java.security.Provider;
import java.security.Security;
import io.github.thankpoint.security.api.provider.SecurityProviderBuilder;
/**
* Implementation of {@link SecurityProviderBuilder}.
*
* @param <B> type of the returned builder.
* @author thks
*/
public inte... | apache-2.0 |
googleapis/doc-templates | testdata/goldens/dotnet/Google.Cloud.Asset.V1.TemporalAsset.Types.html | 1451 | <!DOCTYPE html>
<html devsite="">
<head>
<meta name="project_path" value="/dotnet/_project.yaml">
<meta name="book_path" value="/dotnet/_book.yaml">
</head>
<body>
{% verbatim %}
<div>
<article data-uid="Google.Cloud.Asset.V1.TemporalAsset.Types">
<h1 class="page-title">Class Temp... | apache-2.0 |
Saulis/enumerables | src/main/java/com/github/saulis/enumerables/EmptyIterator.java | 326 | package com.github.saulis.enumerables;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class EmptyIterator<T> implements Iterator<T> {
@Override
public boolean hasNext() {
return false;
}
@Override
public T next() {
throw new NoSuchElementException();
... | apache-2.0 |