repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
apark263/tensorflow | tensorflow/lite/tools/verifier_test.cc | 14601 | /* 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 |
Squarespace/template-compiler | core/src/main/java/com/squarespace/template/expr/VarToken.java | 594 | package com.squarespace.template.expr;
import java.util.Arrays;
/**
* Token representing a variable name. Could hold a reference or
* a definition.
*/
public class VarToken extends Token {
public final Object[] name;
public VarToken(Object[] name) {
super(ExprTokenType.VARIABLE);
this.name = name;
... | apache-2.0 |
jjeb/kettle-trunk | engine/src/org/pentaho/di/trans/steps/jsonoutput/JsonOutput.java | 14853 | /*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | apache-2.0 |
filodb/FiloDB | query/src/test/scala/filodb/query/exec/rangefn/InstantFunctionSpec.scala | 18584 | package filodb.query.exec.rangefn
import scala.util.Random
import monix.execution.Scheduler.Implicits.global
import monix.reactive.Observable
import org.scalatest.concurrent.ScalaFutures
import filodb.core.{MetricsTestData, MachineMetricsData => MMD}
import filodb.core.query._
import filodb.memory.format.{ZeroCopyUT... | apache-2.0 |
McLeodMoores/starling | projects/master-db/src/main/resources/db/create/hsqldb/sec/V_51__create_sec.sql | 34381 |
-- create-db-security.sql: Security Master
-- design has one document
-- security and associated identity key
-- bitemporal versioning exists at the document level
-- each time a document is changed, a new row is written
-- with only the end instant being changed on the old row
CREATE TABLE sec_schema_version (
... | apache-2.0 |
hoge1e3/tonyuedit | war/js/ide/ErrorPos.js | 1670 | define(["Log","FS"],function (Log,FS) {//MODJSL
return function showErrorPos(elem, err) {
var mesg, src, pos;
if (!err) {
close();
return;
}
var row,col;
if (err.isTError) {
mesg=err.mesg;
src=err.src;
pos=err.pos;
row=err.row+1;
col=err.col+1;... | apache-2.0 |
shunfei/indexr | indexr-query-opt/src/main/java/io/indexr/query/expr/arith/BinaryArithmetic.java | 1684 | package io.indexr.query.expr.arith;
import com.google.common.collect.Lists;
import java.util.List;
import io.indexr.query.expr.BinaryExpression;
import io.indexr.query.expr.Expression;
import io.indexr.query.types.DataType;
public abstract class BinaryArithmetic extends Expression implements BinaryExpression {
... | apache-2.0 |
derekhiggins/ovirt-engine | frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/DiskStatusColumn.java | 391 | package org.ovirt.engine.ui.common.widget.table.column;
import org.ovirt.engine.core.common.businessentities.Disk;
import com.google.gwt.user.cellview.client.Column;
public class DiskStatusColumn extends Column<Disk, Disk> {
public DiskStatusColumn() {
super(new DiskStatusCell());
}
@Override
... | apache-2.0 |
levenkov/olver | src/agent/math/exp/Makefile | 72 | EXP_SOURCES = exp_agent.c
SOURCES += $(EXP_SOURCES:%.c=math/exp/%.c)
| apache-2.0 |
tapos/leetcode | src/p9/README.md | 311 | # Palindrome Number
## Problem:
Determine whether an integer is a palindrome. Do this without extra space.
## Solution
I can think of two ways
1. Convert to string and check string is palindrome.
2. Reverse the number and then check if reverse number is equal to the number. Please check the implementation | apache-2.0 |
yancl/finagle-6.22.0 | finagle-kestrel/src/test/scala/com/twitter/finagle/kestrel/unit/ClientTest.scala | 5946 | package com.twitter.finagle.kestrel.unit
import com.twitter.concurrent.{Broker, Offer}
import com.twitter.conversions.time._
import com.twitter.finagle.kestrel._
import com.twitter.finagle.kestrel.net.lag.kestrel.thriftscala.Item
import com.twitter.finagle.kestrel.protocol.{Command, _}
import com.twitter.finagle.memca... | apache-2.0 |
oboroc/misc | README.md | 23 | misc
====
Small stuff
| apache-2.0 |
KiminRyu/ExoPlayer | library/core/src/androidTest/java/com/google/android/exoplayer2/text/tx3g/Tx3gDecoderTest.java | 12407 | /*
* Copyright (C) 2016 The Android Open Source 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
amazeeio/lagoon | docs/using_lagoon/lagoon_yml.md | 19840 | # .lagoon.yml
The `.lagoon.yml` file is the central file to set up your project. It contains configuration in order to do the following:
* [Define routes for accessing your sites](#routes).
* [Define pre-rollout tasks](#pre-rollout-tasks-pre_rolloutirun).
* [Define post-rollout tasks](#post-rollout-tasks-post_rollout... | apache-2.0 |
spann/slim-test-utils | src/Spann/Utils/WebTestClient.php | 3257 | <?php
namespace Spann\Utils;
use Slim\App;
use Slim\Http\Environment;
use Slim\Http\Headers;
use Slim\Http\Request;
use Slim\Http\RequestBody;
use Slim\Http\Response;
use Slim\Http\Uri;
class WebTestClient
{
/** @var \Slim\App */
public $app;
/** @var \Slim\Http\Request */
public $request;
/*... | apache-2.0 |
home-assistant/home-assistant | homeassistant/components/octoprint/sensor.py | 7576 | """Support for monitoring OctoPrint sensors."""
from __future__ import annotations
from datetime import datetime, timedelta
import logging
from pyoctoprintapi import OctoprintJobInfo, OctoprintPrinterInfo
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
SensorStateClass,
)
f... | apache-2.0 |
yaotrue/learn-parent | learn-lang/src/main/java/com/yaotrue/web/command/BaseCommand.java | 950 | /*
* Copyright 1999-2017 YaoTrue.
*
* 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 o... | apache-2.0 |
OTL/jps | test/test_utils.py | 2258 | import jps
import json
import time
class MessageHolder(object):
def __init__(self):
self._saved_msg = []
def __call__(self, msg):
self._saved_msg.append(msg)
def get_msg(self):
return self._saved_msg
def test_multi_pubsub_once():
holder1 = MessageHolder()
holder2 = Mes... | apache-2.0 |
kishikawakatsumi/Mozc-for-iOS | src/out_ios/DerivedSources/Release/data_manager/testing/pos_matcher_data.h | 10994 | const uint16 kRuleIdTable[] = {
42, // Functional "^(助詞|助動詞|動詞,非自立|名詞,非自立|形容詞,非自立|動詞,接尾|名詞,接尾|形容詞,接尾)"
1934, // Unknown "名詞,サ変接続"
2009, // FirstName "名詞,固有名詞,人名,名"
2010, // LastName "名詞,固有名詞,人名,姓"
2047, // Number "名詞,数,アラビア数字"
2049, // KanjiNumber "名詞,数,漢数字"
2, // WeakCompoundPrefix "^(接頭詞,名詞接... | apache-2.0 |
snkpetrus/cargo-itest | src/main/java/nl/tranquilizedquality/itest/configuration/CommonDBConfiguration.java | 1293 | /**
* <pre>
* Project: cargo-itest Created on: 26 nov. 2014 File: fCommonDBConfiguration.java
* Package: nl.tranquilizedquality.itest.configuration
*
* Copyright (c) 2014 Tranquilized Quality www.tr-quality.com All rights
* reserved.
*
* This software is the confidential and proprietary information of D... | apache-2.0 |
jior/glaf | workspace/glaf-core/src/main/java/com/glaf/j2cache/CacheException.java | 1115 | /*
* 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 |
FlxRobin/presto | presto-main/src/test/java/com/facebook/presto/tpch/TpchIndex.java | 2063 | /*
* 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 |
kuujo/onos | core/net/src/test/java/org/onosproject/net/pi/impl/PiMulticastGroupTranslatorImplTest.java | 5443 | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | apache-2.0 |
agiledigital/poet-slack-bot | server/app/models/ResponseToClient.java | 455 | package models;
/**
* This class is for boxing the response sent back to slack by the bot.
* @author sabinapokhrel
*/
public class ResponseToClient {
public String status; // Status of the response sent back to slack. It can be either success or fail.
public String message; // The message sent back to the slac... | apache-2.0 |
mc7246/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/GiftCard/RequestMessageEvent_GiftCard_Pay_Done.cs | 1889 | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ... | apache-2.0 |
philmerrell/ionic-site | docs/v2/platform/network/index.md | 784 | ---
layout: v2_fluid/docs_base
category: platform
id: Network
title: Network | Ionic Native Plugins
header_title: Network
header_sub_title: Access network information
---
<h1 class="title">Network</h1>
<a class="improve-docs" href='https://github.com/driftyco/ionic-site/edit/ionic2/docs/v2/platform/network/index.md'... | apache-2.0 |
hortonworks/cloudbreak | redbeams/src/test/java/com/sequenceiq/redbeams/converter/stack/AllocateDatabaseServerV4RequestToDBStackConverterTest.java | 37660 | package com.sequenceiq.redbeams.converter.stack;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers... | apache-2.0 |
awsdocs/aws-doc-sdk-examples | .dotnet/example_code/DynamoDB/GettingStarted/old/UpdateItem_B/Program.cs | 4866 | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.CodeExamp... | apache-2.0 |
felansu/calmanddev | src/main/padroesprojeto/criacional/abstractfactorymethod/outroexemplo/model/Roupa.java | 168 | package padroesprojeto.criacional.abstractfactorymethod.outroexemplo.model;
/**
* Created by felansu on 03/06/2015.
*/
public interface Roupa {
void vestir();
}
| apache-2.0 |
spandanagrawal/geomesa | geomesa-accumulo/geomesa-accumulo-datastore/src/main/scala/org/locationtech/geomesa/accumulo/index/AccumuloQueryPlanner.scala | 3350 | /***********************************************************************
* Copyright (c) 2013-2016 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is ... | apache-2.0 |
ivakegg/accumulo | core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java | 20603 | /*
* 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 |
cl9200/nbase-arc | api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java | 23864 | /**
* Copyright (c) 2011 Jonathan Leibiusky
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, pu... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetMediaCapturePipelineRequestProtocolMarshaller.java | 2781 | /*
* 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 |
bmagyar/industrial_moveit | stomp_moveit/src/stomp_planner_manager.cpp | 4704 | /**
* @file stomp_planner_manager.cpp
* @brief This defines the stomp planning manager for MoveIt
*
* @author Jorge Nicho
* @date April 5, 2016
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2016, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
... | apache-2.0 |
bigbugbb/iTracker | app/src/main/java/com/itracker/android/data/roster/RosterContact.java | 3496 | /**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even ... | apache-2.0 |
baidu/Paddle | paddle/fluid/operators/transpose_op.cc | 11179 | /* Copyright (c) 2016 PaddlePaddle 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... | apache-2.0 |
Quantler/Core | Quantler/Scheduler/DateFunc.cs | 10177 | #region License Header
/*
* QUANTLER.COM - Quant Fund Development Platform
* Quantler Core Trading Engine. Copyright 2018 Quantler B.V.
*
* 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:... | apache-2.0 |
upenn-libraries/xmlaminar | parallel/src/main/java/edu/upenn/library/xmlaminar/parallel/SplittingXMLFilter.java | 19266 | /*
* Copyright 2011-2015 The Trustees of the University of Pennsylvania
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless requir... | apache-2.0 |
ohbadiah/nickmcavoy-dotcom | content/posts/2015-07-11-true-contentment.markdown | 4119 | ---
title: True Contentment
subblog: yhwh
tags: the good life
---
Contentment is fairly universally agreed to be a virtue. We aspire to the ideal that regardless of our circumstances we are happy, and we understand that without a measure of this virtue there is no set of circumstances that will satisfy us.
But what d... | apache-2.0 |
dmitriyse/ClrCoder | src/ClrCoder/Threading/Channels/BatchModeBuffer/BatchModeBuffer.cs | 5205 | // <copyright file="BatchModeBuffer.cs" company="ClrCoder project">
// Copyright (c) ClrCoder project. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// </copyright>
#if !NETSTANDARD1_0 && !NETSTANDARD1_1
namespace ClrCoder.Threading.C... | apache-2.0 |
nla/bamboo | ui/src/bamboo/crawl/RecordStats.java | 1362 | package bamboo.crawl;
import java.util.Date;
import java.util.concurrent.TimeUnit;
public class RecordStats {
private static final Date MAX_TIME = new Date(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(900));
private static final Date MIN_TIME = new Date(631152000000L);
private long records;
pr... | apache-2.0 |
zhanghaichang/dwring.github.io | interview.md | 224 | ---
layout: page
title: Think in java interview
subtitle: <span class="mega-octicon octicon-clippy"></span> Take notes about everything new
menu: interview
css: ['blog-page.css']
---
{% include interview.html %}
| apache-2.0 |
google/note-maps | flutter/nm_gql_go_link/example/android/app/src/main/java/com/example/nm_gql_go_link_example/MainActivity.java | 153 | package com.example.nm_gql_go_link_example;
import io.flutter.embedding.android.FlutterActivity;
public class MainActivity extends FlutterActivity {
}
| apache-2.0 |
matedo1/pnc | ui/app/common/restclient/restclient.module.js | 1179 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 ... | apache-2.0 |
apache/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/InvertedIndexUtils.java | 19511 | /*
* 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 |
axfcampos/hbase-0.94.19 | docs/apidocs/org/apache/hadoop/hbase/avro/generated/class-use/AColumnValue.html | 8625 | <!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.6.0_45) on Tue Apr 22 01:43:54 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | apache-2.0 |
zycgit/hasor-website | website-web/src/main/webapp/static/website/css/my_projects.htm.css | 502 | div[class="panel-body"] > div[class="input-group"] {
margin-bottom: 3px;
}
div[class="list-group-item"] > a[class="flowRight"] {
padding-top: 13px;
padding-right: 6px;
color: #ff416d;
}
h3[class="panel-title"] > span {
padding-right: 6px;
}
.versionLink, .versionLink:active, .versionLink:hover {
... | apache-2.0 |
362409960/work | src/main/webapp/static/css/common.css | 2477 | @charset "utf-8";
/* ---------- Reset ---------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, select, button, th, td, p, hr, blockquote, pre, code {
padding: 0px;
margin: 0px;
}
html {
_width: 100%;
_height: 100%;
color: #666666;
-webkit-text... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.6.1/apidocs/org/wildfly/swarm/management/InMemoryAuthenticationConsumer.html | 8980 | <!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 Fri Jun 16 09:55:07 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InMemoryAuthenticationConsu... | apache-2.0 |
datapythonista/datapythonista.github.io | docs/new-pandas-doc/generated/pandas.DataFrame.quantile.html | 25510 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<t... | apache-2.0 |
ApolloAuto/apollo | modules/planning/open_space/trajectory_smoother/dual_variable_warm_start_slack_osqp_interface.cc | 17011 | /******************************************************************************
* Copyright 2018 The Apollo 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
... | apache-2.0 |
andrewplesniak/andrewplesniak.github.io | README.md | 220 | # Andrew Plesniak
This is my personal website
## Credits
Credit to **David Miller** for providing the original website theme that I started with.
* https://twitter.com/davidmillerskt
* https://github.com/davidtmiller | apache-2.0 |
johnshen/phpcms | phpcms/templates/default/content/show_videolist.html | 7041 | {template "content","header"}
{php $video_cache = getcache('video', 'video');}
<link href="{CSS_PATH}vms/vms.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}cookie.js"></script>
<div class="clr ct show_pg">
<div class="crumbs"><a href="{APP_PATH}">首页</a> <span id="play_titl... | apache-2.0 |
bati11/wear-profile | mobile/src/main/java/info/bati11/wearprofile/AboutActivity.java | 964 | package info.bati11.wearprofile;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
public class AboutActivity extends Activity {
public static Intent createIntent(Context context) {
... | apache-2.0 |
mwilliamson-firefly/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateRouteRequestMarshaller.cs | 3470 | /*
* Copyright 2010-2014 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 "l... | apache-2.0 |
adup-tech/amphtml | extensions/amp-story/1.0/amp-story-interactive-poll.css | 5593 | /**
* Copyright 2020 The AMP HTML 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 require... | apache-2.0 |
Xarrow/pySimulatedDNS | dnsCat/__init__.py | 139 | # -*- coding:utf-8 -*-
"""
Verion: 1.0
Author: zhangjian
Site: http://iliangqunru.com
File: __init__.py.py
Time: 2017/7/22 2:19
"""
| apache-2.0 |
monikagrabowska/osf.io | kinto/tests/test_config.py | 6371 | import codecs
import mock
import os
import tempfile
import unittest
from time import strftime
import six
from kinto import config
from kinto import __version__
class ConfigTest(unittest.TestCase):
def test_transpose_parameters_into_template(self):
self.maxDiff = None
template = "kinto.tpl"
... | apache-2.0 |
samvera/hyrax | app/renderers/hyrax/renderers.rb | 449 | # frozen_string_literal: true
module Hyrax
# Module that will contain Renderer classes
# @since 0.14.0
# Renderers are used to display Ruby objects to users and take arguments from the Hyrax::Presenter
# supplied by the controller.
# They are typically used to respond to read requests from the controller, and... | apache-2.0 |
coekie/gentyref | src/test/java/com/coekie/gentyref/factory/RawOuter.java | 114 | package com.coekie.gentyref.factory;
@SuppressWarnings("rawtypes")
public class RawOuter extends GenericOuter {}
| apache-2.0 |
jbwilliamson/MaximiseWFScaffolding | RandomSchool/RandomSchool/Maintain/vPupil/Details.aspx.cs | 711 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RandomSchool.Extenders;
using RandomSchool.Repositories;
namespace RandomSchool.Maintain.vPupil
{
public partial class Details : System.Web.UI.Page
{
private Pupil... | apache-2.0 |
CollapsedTeam/CollapsedEngine | include/oolua/char_arrays.h | 2025 | /*
The MIT License
Copyright (c) 2009 - 2014 Liam Devine
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | apache-2.0 |
fractalemagic/hummingbird | app/assets/javascripts/components/radio-button.js | 350 | HB.RadioButtonComponent = Ember.Component.extend({
tagName: 'input',
type: 'radio',
attributeBindings: ['type', 'htmlChecked:checked', 'value', 'name'],
htmlChecked: function(){
return this.get('value') === this.get('checked');
}.property('value', 'checked'),
change: function(){
this.set('checked'... | apache-2.0 |
cbeams-archive/spring-framework-2.5.x | sandbox/src/org/springframework/beans/factory/support/DependencyInjectionAspectSupport.java | 10662 | /*
* Copyright 2002-2004 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... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Trigonostemon/Trigonostemon stellaris/ Syn. Prosartema stellaris/README.md | 185 | # Prosartema stellaris Gagnep. 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/Liliopsida/Asparagales/Orchidaceae/Aspidogyne/Aspidogyne argentea/ Syn. Ophrys argentea/README.md | 178 | # Ophrys argentea Vell. 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/Asterales/Asteraceae/Schizogyne obtusifolia/README.md | 178 | # Schizogyne obtusifolia Cass. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Pinophyta/Pinopsida/Pinales/Taxaceae/Taxus/Taxus pendula/README.md | 182 | # Taxus pendula Hort. ex Carrière SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Rosa/Rosa arvensis/ Syn. Rosa scandens/README.md | 177 | # Rosa scandens Moench 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/Malpighiales/Euphorbiaceae/Croton/Croton urucurana/ Syn. Croton paulinianus/README.md | 186 | # Croton paulinianus Müll.Arg. 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/Fabales/Fabaceae/Dalbergia/Dalbergia lactea/ Syn. Dalbergia macrothyrsa/README.md | 191 | # Dalbergia macrothyrsa sensu Cufod. 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/Asterales/Asteraceae/Calostephane marlothiana/README.md | 183 | # Calostephane marlothiana O.Hoffm. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
TreetonOrg/Treeton | dev/prosody/src/treeton/prosody/corpus/CorpusFolder.java | 5453 | /*
* Copyright Anatoly Starostin (c) 2017.
*/
package treeton.prosody.corpus;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import treeton.core.config.BasicConfiguration;
import treeton.core.util.xml.XMLParser;
import javax.xml.parsers.ParserConfigurationException;
import java.i... | apache-2.0 |
priyankajayaswal1/Solr-5.2-1-searching-and-indexing- | docs/solr-core/org/apache/solr/handler/component/class-use/ResponseBuilder.GlobalCollectionStat.html | 8028 | <!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_75) on Wed Jun 10 23:20:35 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class... | apache-2.0 |
rx2130/Leetcode | python/220 Contains Duplicate III.py | 777 | class Solution(object):
def containsNearbyAlmostDuplicate(self, nums, k, t):
"""
:type nums: List[int]
:type k: int
:type t: int
:rtype: bool
"""
if k < 1 or t < 0:
return False
dic = {}
t += 1
for i in range(len(nums)):
... | apache-2.0 |
ceylon/ceylon | compiler-java/src/org/eclipse/ceylon/compiler/java/codegen/recovery/Generate.java | 1204 | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | apache-2.0 |
clingonline/clingonline.github.io | _layouts/front.html | 238 | <!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body id="page-top">
{% include nav.html %}
{% include header.html %}
{% include features.html %}
{% include contact.html %}
{% include scripts.html %}
</body>
</html>
| apache-2.0 |
DanielaSfregola/twitter4s | src/main/scala/com/danielasfregola/twitter4s/http/clients/rest/lists/parameters/RemoveMemberParameters.scala | 715 | package com.danielasfregola.twitter4s.http.clients.rest.lists.parameters
import com.danielasfregola.twitter4s.http.marshalling.Parameters
private[twitter4s] final case class RemoveMemberParameters(list_id: Option[Long] = None,
slug: Option[String] = None,
... | apache-2.0 |
ruediste/c3java | src/test/java/com/github/ruediste/c3java/invocationRecording/MethodInvocationRecorderTest.java | 2917 | package com.github.ruediste.c3java.invocationRecording;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.lang.annotation.ElementType;
import org.junit.Before;
import org.junit.Test;
import com.google.common.reflect.TypeTo... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-homegraph/v1/1.30.1/com/google/api/services/homegraph/v1/HomeGraphService.java | 33723 | /*
* 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 distributed under t... | apache-2.0 |
lei0229/jfl2 | src/main/java/org/jfl2/fx/controller/menu/MenuWindowManager.java | 6781 | package org.jfl2.fx.controller.menu;
import javafx.application.Platform;
import javafx.event.Event;
import javafx.scene.Node;
import javafx.scene.control.RadioButton;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import lombok.extern.slf4j.Slf4j;
import org.jfl2.core.util.Jfl2NumberUtils;
i... | apache-2.0 |
syg5201314/demoCollection | app/src/main/java/sunning/democollection/learn/_0331/component/ShoppingCartComponent.java | 422 | package sunning.democollection.learn._0331.component;
import dagger.Component;
import sunning.democollection.learn._0331.UserActivity;
import sunning.democollection.learn._0331.module.ShoppingCartModule;
/**
* Created by sunning on 16/3/31.
*/
@Component(dependencies = ActivityComponent.class, modules = ShoppingCar... | apache-2.0 |
kristianolsson/tools4j | config/config-tck/src/main/java/org/deephacks/tools4j/config/test/XmlStorageHelper.java | 2047 | /**
* 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 |
ProgrammingLife2017/DynamiteAndButterflies | src/main/java/gui/sub_controllers/AnnotationTableController.java | 8434 | package gui.sub_controllers;
import gui.GraphDrawer;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.collections.transformation.FilteredList;
import javafx.collections.transformation.SortedList;
import javafx.fxml.FXML;
import javafx.scene.control.TableColumn;
import ja... | apache-2.0 |
ArloL/liquibase | liquibase-core/src/main/java/liquibase/change/core/RawSQLChange.java | 2252 | package liquibase.change.core;
import liquibase.change.AbstractSQLChange;
import liquibase.change.DatabaseChange;
import liquibase.change.ChangeMetaData;
/**
* Allows execution of arbitrary SQL. This change can be used when existing changes are either don't exist,
* are not flexible enough, or buggy.
*/
... | apache-2.0 |
deleidos/de-schema-wizard | data-profiler/src/main/java/com/deleidos/dp/export/Exporter.java | 356 | package com.deleidos.dp.export;
import com.deleidos.dp.beans.Schema;
import com.deleidos.dp.exceptions.H2DataAccessException;
import com.deleidos.dp.exceptions.SchemaNotFoundException;
public interface Exporter {
public abstract String generateExport(Schema schema);
public abstract String generateExport(Schema s... | apache-2.0 |
spulec/moto | tests/test_dynamodb2/test_dynamodb_consumedcapacity.py | 5333 | import boto3
import pytest
import sure # noqa # pylint: disable=unused-import
from botocore.exceptions import ClientError
from moto import mock_dynamodb2
@mock_dynamodb2
def test_error_on_wrong_value_for_consumed_capacity():
resource = boto3.resource("dynamodb", region_name="ap-northeast-3")
client = boto3.... | apache-2.0 |
micro/micro | service/network/resolver/resolver.go | 1147 | // 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 writing, software
// distributed... | apache-2.0 |
kelemen/JTrim | subprojects/jtrim-swing-component/src/test/java/org/jtrim2/swing/component/TransformationAdapterTest.java | 731 | package org.jtrim2.swing.component;
import java.util.Collections;
import org.jtrim2.image.transform.ZoomToFitOption;
import org.junit.Test;
public class TransformationAdapterTest {
/**
* Not much to test but that the methods does not throw exceptions.
*/
@Test
public void testMethods() {
... | apache-2.0 |
oli107/material-range-bar | RangeBarSample/src/main/java/com/appyvet/rangebarsample/colorpicker/ColorPickerDialog.java | 6997 | /*
* Copyright (C) 2013 The Android Open Source 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
liuling07/QiQuYing | app/src/main/java/com/lling/qiqu/commons/ResponseInfo.java | 673 | package com.lling.qiqu.commons;
import java.io.Serializable;
/**
* @ClassName: ResponseInfo
* @Description: http接口返回数据封装类
* @author lling
* @date 2015-5-30
*/
public class ResponseInfo implements Serializable{
private static final long serialVersionUID = 1L;
private String code;
private String desc;
privat... | apache-2.0 |
burberius/eve-esi | src/test/java/net/troja/eve/esi/model/CharacterPlanetResponseTest.java | 1583 | /*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package net.troja.eve.esi.model;
import com.google.gson.TypeAdapter;
import com.goog... | apache-2.0 |
nolawi/champs-dialog-sg | src/styles/helpers.css | 402 | /**
* Copyright 2017 dialog LLC <info@dlg.im>
*/
:root {
--text-overflow-ellipsis: {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
};
--clearfix: {
&::after {
display: table;
clear: both;
content: '';
}
};
--no-select: {
cursor: default;
use... | apache-2.0 |
NLeSC/vbrowser | source/nl.esciencecenter.vlet.vfs.lfc/src/nl/esciencecenter/vlet/vfs/lfc/SEInfo.java | 1641 | /*
* Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl)
* Copyright 2012-2013 Netherlands eScience Center.
*
* 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 the following... | apache-2.0 |
Tyshark9/arcgis-runtime-samples-dotnet | src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/GraphicsSourceSample.xaml.cs | 3725 | using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using Esri.ArcGISRuntime.Symbology;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples
{
/// <summary>
/// T... | apache-2.0 |
imkgerC/rnn_mnist | mnist_w_infimnist/_infimnist.c | 821263 | /* Generated by Cython 0.25.1 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"infimnist.h",
"py_infimnist.h"
]
},
"module_name": "_infimnist"
}
END: Cython Metadata */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python h... | apache-2.0 |
akiskip/KoDeMat-Collaboration-Platform-Application | KoDeMat_TouchScreen/lib/hazelcast-3.4.2/hazelcast-3.4.2/docs/javadoc/com/hazelcast/cluster/client/package-frame.html | 1427 | <!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.6.0_45) on Thu Mar 26 16:48:34 UTC 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.hazelcast.cluster.client (Haz... | apache-2.0 |
bagcoin/bagcoin | src/walletdb.cpp | 31407 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Bagcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include ... | apache-2.0 |
ozone-development/meridian | app/components/controls/user-settings/user-settings-mediator.js | 1165 | define([
'./user-settings'
], function (userSettings) {
var context;
var exposed = {
init: function(thisContext){
context = thisContext;
context.sandbox.on('settings.close', userSettings.close);
context.sandbox.on('settings.open', userSettings.open);
... | apache-2.0 |
XinzhuLee/XinzhuLee.github.io | _includes/footer.html | 8970 | <!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
{% if site.RSS %}
<li>
<a href="{{ "/feed.xml" ... | apache-2.0 |