repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
JakeWharton/byteunits | src/main/java/com/jakewharton/byteunits/package-info.java | 799 | /**
* Utility classes for converting between granularities of SI (power-of-ten) and IEC (power-of-two)
* byte units and bit units.
* <p>
* <h3>Example Usage</h3>
* What's the difference in hard drive space between perception and actual?
* <pre><code>
* long perception = BinaryByteUnit.TEBIBYTES.toBytes(2);
* lo... | apache-2.0 |
hirohanin/pig7hadoop21 | src/org/apache/pig/experimental/logical/relational/LogicalSchema.java | 7432 | /*
* 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 |
mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Polyporales/Polyporaceae/Trametes/Funalia argentea/ Syn. Polystictus glaucoeffusus/README.md | 250 | # Polystictus glaucoeffusus Lloyd, 1925 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycol. Writ. 7: 1334 (1925)
#### Original name
Polystictus glaucoeffusus Lloyd, 1925
### Remarks
null | apache-2.0 |
experiandataquality/proweb | src/Proweb.Webform/RapidAddress.aspx.designer.cs | 5721 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | apache-2.0 |
GoogleCloudPlatform/golang-samples | functions/tips/contexttip/context_tip_test.go | 1979 | // Copyright 2019 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 |
zoeesilcock/BitmapFontImporter | README.md | 186 | # BitmapFontImporter
Import bitmap font in Unity generated by Glyph designer or ShoeBox
# Tutorial
http://www.benoitfreslon.com/unity-generate-and-import-a-bitmap-font-with-a-free-tool
| apache-2.0 |
liuzhe0223/grequests | file_upload_test.go | 301 | package grequests
import "testing"
func TestErrorOpenFile(t *testing.T) {
fd, err := FileUploadFromDisk("file", "I am Not A File")
if err == nil {
t.Error("We are not getting an error back from our non existent file: ")
}
if fd != nil {
t.Error("We actually got back a pointer: ", fd)
}
}
| apache-2.0 |
NikolayMakhonin/AndroidAppExample | AndroidAppExample/AppExample/src/main/java/com/github/nikolaymakhonin/android_app_example/di/factories/ComponentsFactory.java | 1243 | package com.github.nikolaymakhonin.android_app_example.di.factories;
import android.content.Context;
import android.support.annotation.NonNull;
import com.github.nikolaymakhonin.android_app_example.di.components.AppComponent;
import com.github.nikolaymakhonin.android_app_example.di.components.DaggerAppComponent;
imp... | apache-2.0 |
talsma-ict/umldoclet | src/plantuml-asl/src/net/sourceforge/plantuml/objectdiagram/command/CommandAddData.java | 2860 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... | apache-2.0 |
Legostaev/xmlsec-gost | src/test/java/org/apache/xml/security/test/stax/c14n/Canonicalizer20010315ExclusiveTest.java | 40733 | /**
* 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 m... | apache-2.0 |
digideskio/lets-encrypt-preview | letsencrypt/constants.py | 2420 | """Let's Encrypt constants."""
import logging
from acme import challenges
SETUPTOOLS_PLUGINS_ENTRY_POINT = "letsencrypt.plugins"
"""Setuptools entry point group name for plugins."""
CLI_DEFAULTS = dict(
config_files=["/etc/letsencrypt/cli.ini"],
verbose_count=-(logging.WARNING / 10),
server="https://ww... | apache-2.0 |
kalyanreddyemani/biodata | biodata-formats/src/main/java/org/opencb/biodata/formats/io/AbstractFormatReader.java | 1817 | /*
* Copyright 2015 OpenCB
*
* 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 |
huanguosoft/framework | src/Foundation/helpers.php | 1615 | <?php
if ( ! function_exists('env') ) {
/**
* 获取一个环境变量的值,支持布尔值,null,empty
*
* @param string $key
* @param mixed $default
* @return mixed
*/
function env($key, $default = null) {
$value = getenv($key);
if ($value === false) return value($default);
return ... | apache-2.0 |
yu-iskw/gihyo-spark-book-example | src/main/scala/jp/gihyo/spark/ch05/Station.scala | 1517 | /*
* 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 |
derekhiggins/ovirt-engine | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/roles_ui/RoleTreeView.java | 34814 | package org.ovirt.engine.ui.uicommonweb.models.configure.roles_ui;
import java.util.ArrayList;
import org.ovirt.engine.core.common.businessentities.ActionGroup;
import org.ovirt.engine.core.common.mode.ApplicationMode;
import org.ovirt.engine.ui.uicommonweb.models.ApplicationModeHelper;
import org.ovirt.engine.ui.uic... | apache-2.0 |
ufoscout/jpattern | core/src/main/java/com/jpattern/core/command/ACommand.java | 5668 | package com.jpattern.core.command;
import com.jpattern.core.IProvider;
import com.jpattern.core.exception.NullProviderException;
import com.jpattern.logger.ILogger;
import com.jpattern.logger.SystemOutLoggerFactory;
/**
*
* @author Francesco Cina'
*
* 11/set/2011
*/
public abstract class ACommand<T extends IPro... | apache-2.0 |
laurapascal/ShapePopulationViewer | src/axisColorStruct.h | 247 | #ifndef AXISCOLORSTRUCT_H
#define AXISCOLORSTRUCT_H
struct axisColorStruct
{
public :
double XAxiscolor[3];
double YAxiscolor[3];
double ZAxiscolor[3];
bool complementaryColor;
bool sameColor;
};
#endif // AXISCOLORSTRUCT_H
| apache-2.0 |
widedeveloper/laravel-transport | app/Http/Controllers/Sadmin/BillingController.php | 8073 | <?php
namespace App\Http\Controllers\Sadmin;
use App\Http\Controllers\Controller;
use App\Driver;
use App\Customer;
use App\User;
use App\Detail;
use Illuminate\Http\Request;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\DB;
use Illuminate\Foundation\Auth\Au... | apache-2.0 |
pmwisdom/cordova-background-geolocation-services | hooks/add_swift_support.js | 8172 | var child_process = require('child_process'),
fs = require('fs'),
path = require('path');
module.exports = function(context) {
var IOS_DEPLOYMENT_TARGET = '8.0',
SWIFT_VERSION = '3.0',
COMMENT_KEY = /_comment$/,
CORDOVA_VERSION = process.env.CORDOVA_VERSION;
run();
functio... | apache-2.0 |
gstevey/gradle | subprojects/base-services/src/main/java/org/gradle/internal/hash/HashingOutputStream.java | 1665 | /*
* Copyright 2017 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 |
gtonic/helios | helios-services/src/main/java/com/spotify/helios/agent/Supervisor.java | 14062 | /*
* Copyright (c) 2014 Spotify AB.
*
* 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 t... | apache-2.0 |
sialcasa/mvvmFX | examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/Subdivision.java | 1010 | package de.saxsys.mvvmfx.examples.contacts.model;
public class Subdivision {
private final String name;
private final String abbr;
private final Country country;
public Subdivision(String name, String abbr, Country country) {
this.name = name;
this.abbr = abbr;
this.country = country;
}
public String g... | apache-2.0 |
LQJJ/demo | 126-go-common-master/app/job/main/aegis/server/http/debug.go | 270 | package http
import (
bm "go-common/library/net/http/blademaster"
)
func debugCache(c *bm.Context) {
opt := new(struct {
Keys string `form:"keys" validate:"required"`
})
if err := c.Bind(opt); err != nil {
return
}
c.JSONMap(srv.DebugCache(opt.Keys), nil)
}
| apache-2.0 |
EnsemblGenomes/eg-rest | t/test-genome-DBs/escherichia_coli/core/analysis_description.sql | 1586 | -- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: test_escherichia_coli_core
-- ------------------------------------------------------
-- Server version 5.5.36-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CH... | apache-2.0 |
mdoering/backbone | life/Protozoa/Sarcomastigophora/Zoomastigophora/Acanthoecidae/Poneramoeba/README.md | 214 | # Poneramoeba Lühe, 1909 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Schr. Ges. Königsb. , 49, 421.
#### Original name
null
### Remarks
null | apache-2.0 |
n054/util | util-core/src/test/scala/com/twitter/io/BufInputStreamTest.scala | 4959 | package com.twitter.io
import java.io.IOException
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class BufInputStreamTest extends FunSuite {
private[this] val fileString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_ja... | apache-2.0 |
jmini/asciidoctorj-experiments | test-cases/adoc-test-cases/src/main/java/fr/jmini/asciidoctorj/testcases/ShowTitleTrueTestCase.java | 8764 | package fr.jmini.asciidoctorj.testcases;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import org.asciidoctor.AttributesBu... | apache-2.0 |
groupe-sii/ogham | ogham-core/src/main/java/fr/sii/ogham/sms/message/PhoneNumber.java | 1017 | package fr.sii.ogham.sms.message;
import fr.sii.ogham.core.util.EqualsBuilder;
import fr.sii.ogham.core.util.HashCodeBuilder;
/**
* Represents a phone number. It wraps a simple string. The aim is to abstracts
* the concept and to be able to provide other fields latter if needed.
*
* @author Aurélien Baudet
*
*... | apache-2.0 |
iNeedCode/vagrant-kafka-lab | Readme.md | 2024 | # Vagrant Kafka Lab
------
**Prerequistes:** Vagrant (2.0.1), Virtual Box (5.2.0) and Ansible (2.4.1.0)
## Web UIs
- Grafana: [http://kafka-1:3000](http://kafka-1:3000)
- Prometheus-UI: [http://kafka-1:9090](http://kafka-1:9090)
## Installation
```bash
git clone https://github.com/ineedcode/vagrant-kafka-lab
cd va... | apache-2.0 |
liefke/org.fastnate | fastnate-generator/src/main/java/org/fastnate/generator/converter/DurationConverter.java | 786 | package org.fastnate.generator.converter;
import java.time.Duration;
import org.fastnate.generator.context.GeneratorContext;
import org.fastnate.generator.statements.ColumnExpression;
import org.fastnate.generator.statements.PrimitiveColumnExpression;
/**
* Converts a {@link Duration} to an SQL expression.
*
* @a... | apache-2.0 |
dtk/dtk-server | test/functional/rspec/lib/mixins/assembly_and_service_operations_mixin.rb | 51221 | module AssemblyAndServiceOperationsMixin
# Commands used from new dtk client
def check_if_instance_running(node_address, port, path)
endpoint = node_address + ":" + port
response = request_response(path, {}, 'get', endpoint);
response.code == 200
end
def get_node_by_name(service_instance_name, nod... | apache-2.0 |
VahidN/DNTProfiler | Plugins/DNTProfiler.InCorrectNullComparisons/ViewModels/MainViewModel.cs | 2745 | using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using DNTProfiler.Common.JsonToolkit;
using DNTProfiler.Common.Models;
using DNTProfiler.Common.Mvvm;
using DNTProfiler.Infrastructure.Core;
using DNTProfiler.Infrastructure.ScriptDomVisitors;
using DNTProfiler.Infrastructure.ViewMod... | apache-2.0 |
angelfu528/angelfu528.github.io | css/bootstrap.min.css | 150056 | /*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;... | apache-2.0 |
fgaudenzi/testManager | testManager/XMLRepository/CertificationModel/org/cumulus/certificate/model/HistoryStateType.java | 2497 | //
// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802
// Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine.
// Gene... | apache-2.0 |
PengJi/gporca-comments | libnaucrates/src/md/CMDIdCast.cpp | 4157 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2013 EMC Corp.
//
// @filename:
// CMDIdCast.cpp
//
// @doc:
// Implementation of mdids for cast functions
//---------------------------------------------------------------------------
#include "nauc... | apache-2.0 |
GaneshSPatil/gocd | common/src/main/java/com/thoughtworks/go/serverhealth/ServerHealthService.java | 6153 | /*
* Copyright 2021 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 agr... | apache-2.0 |
GEOINT/spreadsheetDiff | src/main/java/gov/ic/geoint/spreadsheet/ICell.java | 298 | package gov.ic.geoint.spreadsheet;
/**
*
*/
public interface ICell extends Hashable {
/**
*
* @return
*/
public int getColumnNum();
/**
*
* @return
*/
public int getRowNum();
/**
*
* @return
*/
public String getValue();
}
| apache-2.0 |
chat-sdk/chat-sdk-android | chat-sdk-demo/src/main/java/sdk/chat/demo/examples/api/BaseExample.java | 423 | package sdk.chat.demo.examples.api;
import io.reactivex.functions.Consumer;
import sdk.guru.common.DisposableMap;
public class BaseExample implements Consumer<Throwable> {
// Add the disposables to a map so you can dispose of them all at one time
protected DisposableMap dm = new DisposableMap();
@Overri... | apache-2.0 |
eENVplus/tf-exploitation-server | TF_Exploitation_Server_core/src/main/java/net/disy/eenvplus/tfes/core/api/query/ISuggestionQuery.java | 201 | //Copyright (c) 2014 by Disy Informationssysteme GmbH
package net.disy.eenvplus.tfes.core.api.query;
// NOT_PUBLISHED
public interface ISuggestionQuery extends ISourceQuery {
String getKeyword();
}
| apache-2.0 |
Im-dex/xray-162 | code/engine/xrServerEntities/script_value_container_impl.h | 1268 | ////////////////////////////////////////////////////////////////////////////
// Module : script_value_container_impl.h
// Created : 16.07.2004
// Modified : 16.07.2004
// Author : Dmitriy Iassenev
// Description : Script value container
////////////////////////////////////////////////////////////////////////////
... | apache-2.0 |
phishman3579/java-algorithms-implementation | src/com/jwetherell/algorithms/data_structures/interfaces/ITree.java | 1766 | package com.jwetherell.algorithms.data_structures.interfaces;
/**
* A tree can be defined recursively (locally) as a collection of nodes (starting at a root node),
* where each node is a data structure consisting of a value, together with a list of nodes (the "children"),
* with the constraints that no node is du... | apache-2.0 |
eswdd/disco | disco-framework/jetty-transport/src/test/java/uk/co/exemel/disco/transport/jetty/CrossOriginHandlerTest.java | 3706 | /*
* Copyright 2014, The Sporting Exchange Limited
* Copyright 2014, Simon Matić Langford
*
* 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/LICENS... | apache-2.0 |
huitseeker/nd4j | nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/indexing/BooleanIndexingTest.java | 17052 | package org.nd4j.linalg.indexing;
import com.google.common.base.Function;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.nd4j.linalg.BaseNd4jTest;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.impl.accum.MatchCondition;
import or... | apache-2.0 |
prasanna08/oppia | core/domain/action_registry_test.py | 1192 | # coding: utf-8
#
# Copyright 2018 The Oppia 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 requi... | apache-2.0 |
xiaojinzi123/Component | ComponentImpl/src/main/java/com/xiaojinzi/component/error/ServiceRepeatCreateException.java | 453 | package com.xiaojinzi.component.error;
public class ServiceRepeatCreateException extends RuntimeException {
public ServiceRepeatCreateException() {
}
public ServiceRepeatCreateException(String message) {
super(message);
}
public ServiceRepeatCreateException(String message, Throwable caus... | apache-2.0 |
linzhaolover/myansible | remote/liberty.sh | 254 | #/bin/bash
set -x
#wget --user linzhbj@cn.ibm.com --password New=1baby --no-check-certificate -c -r -np -k -L -p \
wget -c -r -np -k -L -p \
http://rchgsa.ibm.com/projects/e/emsol/ccs/build/driver/osee-liberty/rhel7.1/openstack/latest-bld/
| apache-2.0 |
ruud-v-a/rust | src/librustc_typeck/astconv.rs | 91859 | // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | apache-2.0 |
cloudiator/sword | multicloud/src/main/java/de/uniulm/omi/cloudiator/sword/multicloud/service/MultiCloudPricingService.java | 1844 | package de.uniulm.omi.cloudiator.sword.multicloud.service;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Inject;
import de.uniulm.omi.cloudiator.sword.domain.Cloud;
import de.uniulm.omi.cloudiator.sword.domain.Pricing;
import de.uniulm.omi.cloudiator.sw... | apache-2.0 |
luispalacios270/frontend-cleanApp | src/pages/picture/picture.html | 657 | <!--
Generated template for the PicturePage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-header>
<ion-navbar>
<div class="adjust-horizontal inline">
<button class="inline-right" (click)="closeModal()" ion-button clear> Cerr... | apache-2.0 |
HaebinShin/tensorflow | tensorflow/g3doc/api_docs/python/sparse_ops.md | 40708 | <!-- This file is machine generated: DO NOT EDIT! -->
# Sparse Tensors
Note: Functions taking `Tensor` arguments can also take anything accepted by
[`tf.convert_to_tensor`](framework.md#convert_to_tensor).
[TOC]
## Sparse Tensor Representation
TensorFlow supports a `SparseTensor` representation for data that is sp... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/transform/AbstractErrorUnmarshaller.java | 2633 | /*
* Copyright 2011-2019 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 "lice... | apache-2.0 |
Gitpiece/spring-cache-project | spring-cache/src/main/java/com/icfcc/cache/support/SimpleCacheManager.java | 684 | package com.icfcc.cache.support;
import com.icfcc.cache.Cache;
import java.util.Collection;
/**
* Simple cache manager working against a given collection of caches.
* Useful for testing or simple caching declarations.
*
* @author Costin Leau
* @since 3.1
*/
public class SimpleCacheManager extends AbstractCach... | apache-2.0 |
tomdee/calico | v3.2/usage/openstack/floating-ips.md | 3931 | ---
title: Floating IPs
redirect_from: latest/usage/openstack/floating-ips
canonical_url: 'https://docs.projectcalico.org/v2.6/usage/openstack/floating-ips'
---
networking-calico includes beta support for floating IPs. Currently this
requires running {{site.prodname}} as a Neutron core plugin (i.e. `core_plugin =
cal... | apache-2.0 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | 52416 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2016 DNAnexus, Inc.
#
# This file is part of dx-toolkit (DNAnexus platform client libraries).
#
# 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... | apache-2.0 |
gperouffe/FabLabUsers | src/fr/fablabmars/model/CardMenu.java | 1473 | package fr.fablabmars.model;
import java.util.ArrayList;
import fr.fablabmars.observer.Observable;
import fr.fablabmars.observer.Observer;
/**
* Observable contenant le menu courant.
*
* @author Guillaume Perouffe
* @see Observable
*/
public class CardMenu implements Observable {
/**
* List... | apache-2.0 |
andreiHi/hincuA | chapter_005/src/main/java/ru/job4j/collections/tree/BinaryTree.java | 2101 | package ru.job4j.collections.tree;
/**
* Бинарное дерево .
*
* @author Hincu Andrei (andreih1981@gmail.com) by 20.10.17;
* @version $Id$
* @since 0.1
* @param <E> тип данных.
*/
public class BinaryTree<E extends Comparable<E>> extends Tree<E> {
/**
* Корень дерева.
*/
private Node<E> node;
... | apache-2.0 |
Dovgalyuk/AIBattle | site/visualRound.php | 2942 | <?php include_once('procedures.php'); ?>
<?php include("top.php"); ?>
<script src="./js/visualRound.js"></script>
<style>
#bottomBar {
position: fixed;
left: 0px;
bottom: 0px;
width: 100%;
height: 40px;
background-color: #EEE;
border-top-width: 1px;
... | apache-2.0 |
vthorsteinsson/tensor2tensor | tensor2tensor/models/bytenet_test.py | 1719 | # coding=utf-8
# Copyright 2018 The Tensor2Tensor 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... | apache-2.0 |
wmpluto/esp-idf | examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c | 12057 | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | apache-2.0 |
linkedin/pinot | pinot-core/src/main/java/org/apache/pinot/core/startree/v2/store/StarTreeIndexContainer.java | 3059 | /**
* 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 |
james-hu/jabb-core | src/main/java/net/sf/jabb/util/text/StringStartWithMatcher.java | 8259 | /*
Copyright 2010-2011 Zhengmao HU (James)
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 |
PyThaiNLP/pythainlp | pythainlp/tag/__init__.py | 573 | # -*- coding: utf-8 -*-
"""
Linguistic and other taggers.
Tagging each token in a sentence with supplementary information,
such as its part-of-speech (POS) tag, and named entity (NE) tag.
"""
__all__ = [
"PerceptronTagger",
"pos_tag",
"pos_tag_sents",
"tag_provinces",
"chunk_parse",
"NER",
]
... | apache-2.0 |
pollen/stm32f0 | stm32f0x2/src/dma1/cmar3/mod.rs | 2556 | #[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r" Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::CMAR3 {
#[doc = r" Modifies the contents of the register"]
#[inline(always)]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R,... | apache-2.0 |
18826252059/im | src/Topxia/WebBundle/Listener/LocaleListener.php | 1115 | <?php
namespace Topxia\WebBundle\Listener;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class LocaleListener implements EventSubscriberInterface
{
private $defaultLocale;
public function... | apache-2.0 |
notarynodes/idintt | hackathon-module/idintt-php-module/library/Schemas/saml/metadata/Extensions.php | 166 | <?php
namespace BankId\Merchant\Library\Schemas\saml\metadata;
/**
* Class representing Extensions
*/
class Extensions extends ExtensionsType
{
}
| apache-2.0 |
PatMartin/Dex | src/com/dexvis/simple/transform/HTMLEditorTransform.java | 485 | package com.dexvis.simple.transform;
import javafx.scene.web.HTMLEditor;
import org.simpleframework.xml.transform.Transform;
public class HTMLEditorTransform implements Transform<HTMLEditor>
{
public HTMLEditor read(String value) throws Exception
{
HTMLEditor editor = new HTMLEditor();
editor.... | apache-2.0 |
ecologylab/BigSemanticsService | BasicCrawler/src/ecologylab/bigsemantics/service/crawler/ResourceCrawler.java | 1304 | package ecologylab.bigsemantics.service.crawler;
import java.io.IOException;
/**
* A general framework for crawling resources.
*
* @author quyin
*/
public interface ResourceCrawler<T>
{
/**
* Queue a resource with the given URI.
*
* @param uri
*/
void queue(String uri);
/*... | apache-2.0 |
alexmao86/swing-rcp | src/main/java/net/sf/anpr/rcp/widget/JCanvasPanel.java | 1173 | package net.sf.anpr.rcp.widget;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
public class JCanvasPanel extends JLabel {
private static final lon... | apache-2.0 |
frossigneux/kwstandby | kwstandby/openstack/common/policy.py | 25233 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack Foundation.
# 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-2.0 |
dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ui.app.standalone/src/org/jkiss/dbeaver/ui/app/standalone/about/AboutBoxAction.java | 1230 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and others
*
* 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/LICE... | apache-2.0 |
jormunmor/doctorado | JSHOP2/doc/JSHOP2/State.html | 22009 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Thu Apr 10 11:52:58 CEST 2014 -->
<title>State</title>
<meta name="date" content="2014-04-10">
<link rel="stylesheet" type="text... | apache-2.0 |
SolrNetLight/SolrNetLight | SolrNetLight/SolrResponse.cs | 453 | using SolrNetLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using SolrNetLight.Facet;
namespace SolrNetLight
{
[DataContract]
public class SolrResponse<T>
{
[DataMember(Name="response")]
public SolrResponseBa... | apache-2.0 |
pearpai/java_action | src/main/java/com/action/design/pattern/chain/ChainPatternDemo.java | 1140 | package com.action.design.pattern.chain;
/**
* 创建不同类型的记录器。赋予它们不同的错误级别,并在每个记录器中设置下一个记录器。每个记录器中的下一个记录器代表的是链的一部分。
* Created by wuyunfeng on 2017/6/15.
*/
public class ChainPatternDemo {
private static AbstractLogger getChainOfLoggers() {
AbstractLogger errorLogger = new ErrorLogger(AbstractLogger.ERROR);
... | apache-2.0 |
lessthanoptimal/BoofCV | main/boofcv-feature/src/benchmark/java/boofcv/alg/descriptor/BenchmarkDescriptorDistance.java | 3105 | /*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... | apache-2.0 |
adamin1990/MaterialWpp | wpp/app/src/main/java/adamin90/com/wpp/model/mostsearch/MostSearchData.java | 971 |
package adamin90.com.wpp.model.mostsearch;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
@Generated("org.jsonschema2pojo")
public class MostSearchData {
@SerializedName("data")
... | apache-2.0 |
gersonkurz/manualisator | manualisator/log4net-1.2.13/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension.html | 3146 | <html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ConfigFileExtension Property</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" hr... | apache-2.0 |
dstcontrols/UnhandledException | customJS/piWebAPI.js | 2755 |
var activeElements = [];
var sleepElements = [];
var promises = [];
$.ajax("https://osiproghackuc2015.osisoft.com/piwebapi/assetdatabases/D0EgxEhIf8KUieOFdFcX1IWQZ8qIGYDdE0m5aJCwNb4x_gSlVQSVRFUjAwMVxQSUZJVE5FU1M/elements", {
type : 'GET',
headers: { "Authorization" : "Basic " + btoa("osiproghack\\hackuser051:bO2... | apache-2.0 |
politie/sherlock | src/utils/equals.test.ts | 2307 | import { Seq, Set as ISet } from 'immutable';
import { atom, unwrap } from '../derivable';
import { equals } from './equals';
describe('util/equals', () => {
it('should check equality of primitives', () => {
expect(equals(NaN, NaN)).toBe(true);
expect(equals(4, 2 + 2)).toBe(true);
expect(eq... | apache-2.0 |
rali-udem/JSrealB | demos/KilometresAPied/index.html | 2786 | <!DOCTYPE html>
<html>
<head>
<title id="titre"></title>
<meta charset="UTF-8"/>
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<script src="../../dist/jsRealB.js"></script>
<!-- to ease debugging we load each file separately -/->
<script src="../../data... | apache-2.0 |
selevt/gerrit-merge-nosubmit | src/main/resources/Documentation/config.md | 143 | # Config
For each project a list of branches can be configured, to which submits should not be allowed, until a merge commit has been merged.
| apache-2.0 |
pebble2015/cpoi | src/org/apache/poi/hpsf/VariantBool.hpp | 992 | // Generated from /POI/java/org/apache/poi/hpsf/VariantBool.java
#pragma once
#include <fwd-POI.hpp>
#include <org/apache/poi/hpsf/fwd-POI.hpp>
#include <org/apache/poi/util/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct default_init_tag;
class poi::hpsf::VariantBool
: public virtual ::java::lang::Object
{... | apache-2.0 |
TangZuopeng/OurApplication | app/src/main/java/com/hangon/saying/viewPager/GradAdapter.java | 4468 | package com.hangon.saying.viewPager;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import ... | apache-2.0 |
icamgo/esp-idf | examples/10_ssd1306_hello/main/main.cpp | 1359 | /*
* MaiKe Labs (2016 - 2026)
*
* Written by Jack Tan <jiankemeng@gmail.com>
*
* Connect VCC of the SSD1306 OLED to 3.3V
* Connect GND to Ground
* Connect SCL to i2c clock - GPIO21
* Connect SDA to i2c data - GPIO22
* Connect DC to GND (The scanned i2c address is 0x3C)
*
*/
#include <stdio.h>
#include ... | apache-2.0 |
ilearninging/xxhis | all/1172.html | 7126 | <table border="1" id="table1" style="border-collapse: collapse">
<tr>
<td height="25" align="center"><span style="font-size: 16px">三国</span></td>
<td height="25" align="center"><span style="font-size: 16px">公元245年</span></td>
<td height="25" align="center"><span style="font-size: 16px">乙丑</span></td>
<td height="2... | apache-2.0 |
twitter/twitter-cldr-rb | lib/twitter_cldr/shared/hyphenator.rb | 4872 | # encoding: UTF-8
# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
# Documentation: https://github.com/hunspell/hyphen/blob/21127cc8493a68d4fe9adbb71377b469b4f2b550/doc/tb87nemeth.pdf
module TwitterCldr
module Shared
class Hyphenator
class UnsupportedLocaleError < StandardError;... | apache-2.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-mediaconvert/source/model/DashIsoGroupSettings.cpp | 10732 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediaconvert/model/DashIsoGroupSettings.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace A... | apache-2.0 |
agustinmiura/imperium | src/main/java/ar/com/imperium/common/security/DummyHashServiceImpl.java | 925 | /**
* Copyright 2013 Agustín Miura <"agustin.miura@gmail.com">
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
EchoAppsTeam/js-sdk | tests/fixtures/resources/loader/scripts.prod.js | 395 | (function(jQuery) {
"use strict";
var control = Echo.Control.manifest("Echo.Tests.Controls.TestControl");
if (Echo.Control.isDefined(control)) return;
control.init = function() {
if (!Echo.Variables) {
Echo.Variables = {};
}
Echo.Variables.TestControl = "production";
this.ready();
};
control.config = {};
con... | apache-2.0 |
dcarbone/php-fhir-generated | src/DCarbone/PHPFHIRGenerated/R4/FHIRElement/FHIRBackboneElement/FHIREncounter/FHIREncounterDiagnosis.php | 21748 | <?php
namespace DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIREncounter;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:44+0000
*... | apache-2.0 |
WIZARD-CXY/kubernetes | pkg/controller/replication/replication_controller_utils.go | 3070 | /*
Copyright 2015 The Kubernetes 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 ag... | apache-2.0 |
jlturner85/libgdx-gradle-template | core/src/main/java/com/sadc/game/gameobject/trackobject/Wall.java | 1196 | package com.sadc.game.gameobject.trackobject;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.sadc.game.GameConstants;
import com.sadc.game.gameobject.GameUtils;
import com.sadc.game.gameobject.Player;
/**
* @author f536985 (Tom Farello)
*/
public class Wall ex... | apache-2.0 |
togglz/togglz-site | apidocs/2.4.0.Final/org/togglz/slack/package-frame.html | 904 | <!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_111) on Wed Feb 22 09:55:43 CET 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.togglz.slack (Togglz 2.... | apache-2.0 |
sarahmonster/suitor | app/controllers/job_applications_controller.rb | 3255 | class JobApplicationsController < ApplicationController
after_action :verify_authorized
after_action :verify_policy_scoped, only: [:index]
before_action :require_login
before_action :set_job_application, only: [:show, :edit, :update, :destroy, :followup]
# GET /posting/1/job_application
# GET /posting/1/jo... | apache-2.0 |
moreus/hadoop | hadoop-0.10.1/docs/api/org/apache/hadoop/mapred/class-use/JobSubmissionProtocol.html | 7980 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_08) on Wed Jan 10 16:02:59 PST 2007 -->
<TITLE>
Uses of Interface org.apache.hadoop.mapred.JobSubmissionProtocol (Hadoop 0.10.1 API)
</TITLE>
<LINK... | apache-2.0 |
dnanexus-rnd/dxWDL | src/main/scala/dx/exec/WfFragInputOutput.scala | 4231 | package dx.exec
import dx.api.{DxApi, DxFile}
import dx.core.io.ExecLinkInfo
import dx.core.languages.wdl.{TypeSerialization, WdlVarLinksConverter}
import spray.json._
import wdlTools.eval.WdlValues
import wdlTools.types.WdlTypes
case class WfFragInput(blockPath: Vector[Int],
env: Map[String, (... | apache-2.0 |
orientechnologies/orientdb | core/src/main/java/com/orientechnologies/orient/core/sql/functions/coll/OSQLFunctionSymmetricDifference.java | 4574 | /*
*
* * Copyright 2010-2016 OrientDB LTD (http://orientdb.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE... | apache-2.0 |
dagnir/aws-sdk-java | aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/SetReceiptRulePositionResult.java | 2365 | /*
* Copyright 2012-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 |
daisy/pipeline-issues | framework/webservice/src/test/java/TestPushNotifications.java | 6214 | import java.io.IOException;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.stream.Stream;
import javax.xml.bind.JAXBContext;... | apache-2.0 |
soundcloud/selenium | dotnet/src/webdriverbackedselenium/Internal/SeleniumEmulation/KeyEvent.cs | 2688 | // <copyright file="KeyEvent.cs" company="WebDriver Committers">
// Copyright 2015 Software Freedom Conservancy
//
// 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.apach... | apache-2.0 |
timzam/jetpad-mapper | util/base/src/test/java/jetbrains/jetpad/base/edt/BufferingEdtManager.java | 1075 | /*
* Copyright 2012-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 agr... | apache-2.0 |