repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
SpannaProject/SpannaAPI | src/main/java/org/spanna/material/Torch.java | 1816 | package org.spanna.material;
import org.spanna.block.BlockFace;
import org.spanna.Material;
/**
* MaterialData for torches
*/
public class Torch extends SimpleAttachableMaterialData {
public Torch() {
super(Material.TORCH);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
... | apache-2.0 |
PSDev/slf4j-android-logger | src/test/java/de/psdev/slf4j/android/logger/AndroidLoggerAdapterTest.java | 11065 | /*
* Copyright 2013 Philip Schiffer
*
* 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 applicabl... | apache-2.0 |
ustbyjy/leetcode | src/main/java/com/yan/leetcode/RemoveDuplicatesFromSortedList.java | 949 | package com.yan.leetcode;
import org.junit.Test;
public class RemoveDuplicatesFromSortedList {
@Test
public void test() {
ListNode head = new ListNode(1);
head.next = new ListNode(1);
// head.next.next = new ListNode(2);
System.out.println(deleteDuplicates2(head));
}
public ListNode deleteDuplicates(Lis... | apache-2.0 |
Exorath/ExoHUD | src/main/java/com/exorath/exoHUD/SimpleHUDPackage.java | 973 | /*
* Copyright 2017 Exorath
*
* 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 |
zhangkun83/grpc-java | core/src/main/java/io/grpc/EquivalentAddressGroup.java | 4376 | /*
* Copyright 2015 The gRPC Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | apache-2.0 |
agolovatjuk/alexander4j | chapter_002/src/test/java/ru/job4j/tracker/package-info.java | 133 | /**
* Package for test tracker task.
*
* @author Alexander Golovatyuk
* @version $Id$
* @since 0.1
*/
package ru.job4j.tracker; | apache-2.0 |
guillaume-philippon/aquilon | tests/broker/test_del_user.py | 1774 | #!/usr/bin/env python
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2009,2010,2012,2013,2014,2015,2016 Contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licen... | apache-2.0 |
WangGanxin/Codebase | app/src/main/java/com/ganxin/codebase/widgets/layout/SquareLaylout.java | 1695 | package com.ganxin.codebase.widgets.layout;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
/**
*
* Description : 正方形的Layout <br/>
* author : WangGanxin <br/>
* date : 2016/9/4 <br/>
* email : ganxinvip@163.com <br/>... | apache-2.0 |
andrhamm/Singularity | SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityUsageHelper.java | 1323 | package com.hubspot.singularity.scheduler;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.hubspot.singularity.MachineState;
import com.hubspot.singularity.SingularitySlave;
import com.hu... | apache-2.0 |
logzio/camel | platforms/commands/commands-core/src/test/java/org/apache/camel/commands/catalog/CamelComponentCatalogTest.java | 4257 | /**
* 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 |
simerc/QuicksilverPlus | Sources/EPiServer.Reference.Commerce.Site/Features/Global/ProductRegistration/Controllers/ProductRegistrationController.cs | 792 | using System.Web.Mvc;
using EPiServer.Reference.Commerce.Site.Features.Global.ProductRegistration.Pages;
using EPiServer.Reference.Commerce.Site.Features.Global.ProductRegistration.ViewModels;
using EPiServer.Reference.Commerce.Site.Features.Global.Profile.Pages;
using EPiServer.Web.Mvc;
using EPiServer.Reference.Comm... | apache-2.0 |
hmrc/ct-calculations | src/main/scala/uk/gov/hmrc/ct/ct600/v3/B705.scala | 1111 | /*
* Copyright 2021 HM Revenue & Customs
*
* 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 |
tfisher1226/ARIES | bookshop2/bookshop2-supplier/bookshop2-supplier-service/src/test/java/bookshop2/supplier/incoming/queryBooks/QueryBooksHandlerUnitTest.java | 5692 | package bookshop2.supplier.incoming.queryBooks;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import org.aries.runtime.BeanContext;
import org.aries.runtime.RequestContext;
import org.aries.tx.AbstractHandlerUnitTest;
import org.aries.tx.Transactional;
import org.aries.util.FieldUt... | apache-2.0 |
greezeek/shelly | src/Shelly/Palette.php | 2125 | <?php
/**
* Created by IntelliJ IDEA.
* User: swarm
* Date: 14.10.15
* Time: 10:59
*/
namespace Shelly;
class Palette
{
const MSG_GOLOR_NOT_EXISTS = 'Color does not exists';
/**
* @var array
* contains fg colors and it`s aliases
*/
protected static $colors = [
'black' => 30,
... | apache-2.0 |
mettacrawler/gcsfs | src/base/logger.cc | 1097 | /*
* base/logger.cc
* -------------------------------------------------------------------------
* Definitions for s3::base::logger static members and init() method.
* -------------------------------------------------------------------------
*
* Copyright (c) 2012, Tarick Bedeir.
*
* Licensed under the Apache L... | apache-2.0 |
kevstessens/docnetrails | vendor/bundle/gems/chronic-0.9.1/lib/chronic/handlers.rb | 18912 | module Chronic
module Handlers
module_function
# Handle month/day
def handle_m_d(month, day, time_tokens, options)
month.start = self.now
span = month.this(options[:context])
year, month = span.begin.year, span.begin.month
day_start = Chronic.time_class.local(year, month, day)
... | apache-2.0 |
updownlife/campustore | seller.php | 3528 | <?php
session_start();
include_once('includes/connection.php');
include_once('includes/product.php');
include_once('includes/user.php');
$page_title = "Products from this seller.php";
include('includes/header.php');
$product = new Product();
$user = new user();
//$data = $product->fetch_all();
$seller_id = isset($_GET... | apache-2.0 |
nvdk/virtuoso-rpm-builder | README.md | 1379 | # virtuoso-rpm-builder
Virtuoso RPM builder will build an RPM for centos/redhat using the latest code from github (default is the develop/7 branch). The RPM should work on Centos 7 & Red Hat Enterprise Linux 7. Use the following command to generate the RPM.
``` sh
docker run -v /local/path/to/rpm:/home/rpmbuild/RPMS... | apache-2.0 |
ydc201211/VirtualCampus | src/view/ImageControl.java | 7455 | package view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.util.AttributeSet;
import android.util.FloatMath;
import android.view.MotionEvent;
import android.widget.ImageView;
public class ImageControl extends ImageView {
public ImageControl(Context co... | apache-2.0 |
tensorflow/tfhub.dev | assets/docs/deepmind/models/mmt/data_combined-dataset/1.md | 11206 | # Module deepmind/mmt/data_combined-dataset/1
A multimodal transformer which outputs a score indicating if image and text match.
<!-- asset-path: internal -->
<!-- task: text-language-model -->
<!-- fine-tunable: true -->
<!-- format: hub -->
## Overview
A multimodal transformer model as described in "Decoupling th... | apache-2.0 |
realityforge/buildr-osgi-assembler | lib/buildr/osgi/ordered_hash.rb | 4530 | # AUTHOR
# jan molic /mig/at/1984/dot/cz/
#
# DESCRIPTION
# Hash with preserved order and some array-like extensions
# Public domain.
#
# THANKS
# Andrew Johnson for his suggestions and fixes of Hash[],
# merge, to_a, inspect and shift
module Buildr
module OSGi
class OrderedHash < ::Hash
att... | apache-2.0 |
joshholl/intellij-csharp | gen/com/github/joshholl/intellij/csharp/lang/psi/CSharpThisAccess.java | 271 | // This is a generated file. Not intended for manual editing.
package com.github.joshholl.intellij.csharp.lang.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface CSharpThisAccess extends PsiElement {
}
| apache-2.0 |
beav/netty-ant | doc/xref/org/jboss/netty/example/portunification/package-summary.html | 2295 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>The Netty Project Source Xref (3.3.1.Final) Package org.jboss.netty.example.portunification</title>
... | apache-2.0 |
linkedin/WhereHows | li-utils/src/test/java/com/linkedin/common/util/RecordUtilsTest.java | 16237 | package com.linkedin.common.util;
import com.datahub.test.testing.AspectBar;
import com.datahub.test.testing.AspectBaz;
import com.datahub.test.testing.AspectFoo;
import com.datahub.test.testing.AspectFooArray;
import com.datahub.test.testing.AspectInvalid;
import com.datahub.test.testing.EntitySnapshot;
import com.da... | apache-2.0 |
freeVM/freeVM | enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetErrorName/GetErrorName0102/GetErrorName0102.java | 877 | /*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
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... | apache-2.0 |
googleads/google-ads-perl | examples/billing/add_account_budget_proposal.pl | 5283 | #!/usr/bin/perl -w
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | apache-2.0 |
veltri/DLV2 | tests/parser/grounding.7.test.py | 559 | input = """
supp(B) :- on(B,table,0).
supp(B) :- on(B,B1,0), supp(B1).
on(b0,table,0) :- true.
on(b1,b0,0) :- true.
on(B,L,0) | -on(B,L,0) :- block(B), location(L).
true.
location(L) :- block(L).
location(table) :- true.
block(b0).
block(b1).
block(b2).
"""
output = """
supp(B) :- on(B,table,0).
s... | apache-2.0 |
nkeddie/draft-it | DraftIt.Web/Angular/Views/createDraft.html | 1277 |
<form class="form-horizontal" ng-submit="create()">
<fieldset>
<legend>Create Draft</legend>
<div class="form-group">
<label class="col-lg-2" for="inputId">Id</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="inputId" ng-model="id"/... | apache-2.0 |
cassandra-project/disaggregation | src/eu/cassandra/utils/Utils.java | 26163 | /*
Copyright 2011-2013 The Cassandra Consortium (cassandra-fp7.eu)
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 |
Digaku/closure-library | closure/goog/net/tmpnetwork.js | 4070 | // Copyright 2006 The Closure Library 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 requ... | apache-2.0 |
RyanTech/admin-v5 | js/page/Publisher.js | 1341 | /**
* Created by chensheng on 15/8/3.
*/
'use strict';
(function (ns) {
ns.Publisher = tp.view.Loader.extend({
events: {
'change [name=publisher_type]': 'publisherType_changeHandler',
'change [name=province]': 'province_changeHandler'
},
initialize: function (options) {
tp.view.Loader.... | apache-2.0 |
tcnghia/kubernetes | test/e2e/apimachinery/resource_quota.go | 88449 | /*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
rgooch/Dominator | lib/connpool/usage_test.go | 1703 | package connpool
import (
"net"
"testing"
"github.com/Cloud-Foundations/Dominator/lib/resourcepool"
)
var serverAddress string
func init() {
listener, err := net.Listen("tcp", "localhost:")
if err != nil {
panic(err)
}
serverAddress = listener.Addr().String()
//go http.Serve(listener, nil)
}
func TestGet... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.5.0/apidocs/org/wildfly/swarm/config/logging/RootLoggerSupplier.html | 9214 | <!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 Mon May 01 08:43:49 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RootLoggerSupplier (Public ... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2.6.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/microprofile/jwtauth/class-use/MicroProfileJWTAuthFraction.html | 5191 | <!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_151) on Wed Jun 10 10:20:18 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | apache-2.0 |
cglib/cglib | README.md | 1087 | cglib [](https://travis-ci.org/cglib/cglib)
================
***IMPORTANT NOTE: cglib is unmaintained and does not work well (or possibly at all?) in newer JDKs, particularly JDK17+. If you need to support newer JDKs, we will accept well-tested well-t... | apache-2.0 |
pawel-nn/proj_app_bd_sem7 | ProjAppBD/src/main/java/app/dataTransportObject/OrderDTO.java | 144 | package app.dataTransportObject;
import app.viewObject.OrderVO;
public class OrderDTO {
public OrderDTO(OrderVO orderVo) {
super();
}
}
| apache-2.0 |
kubostech/KubOS | hal/kubos-hal/source/i2c.c | 2962 | /*
* KubOS HAL
* Copyright (C) 2016 Kubos 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 appli... | apache-2.0 |
filestack/filestack-php | docs/classes/Filestack_FilestackClient/getTags.html | 3701 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>phpDox - Filestack\FilestackClient::getTags</title>
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
<meta http-equiv="c... | apache-2.0 |
mslocrian/cuview | apis/parameterhandlers.go | 1535 | /*
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... | apache-2.0 |
play2-maven-plugin/play2-maven-plugin.github.io | play2-maven-plugin/1.0.0-beta3/play2-providers/modules.html | 8871 | <!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2015-06-27
| Rendered using Apache Maven Fluido Skin 1.4
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name=... | apache-2.0 |
guswns0528/TizenRT | apps/examples/hello/Makefile | 4537 | ###########################################################################
#
# Copyright 2016 Samsung Electronics 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
#
# htt... | apache-2.0 |
WU-ARL/RLI | HardwareGraphic.java | 32220 | /*
* Copyright (c) 2005-2013 Jyoti Parwatikar
* and Washington University in St. Louis
*
* 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
... | apache-2.0 |
syphr42/libmythtv-java | db/src/main/java/org/syphr/mythtv/db/schema/impl/_0_24/RecordedProgramId1264.java | 3214 | /*
* Copyright 2011-2012 Gregory P. Moyer
*
* 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 |
OpenSourceConsulting/athena-meerkat | console/app/controller/footerController.js | 1951 | /*
* File: app/controller/footerController.js
*/
Ext.define('webapp.controller.footerController', {
extend: 'Ext.app.Controller',
refs: {
footerLabel2: '#footerLabel2'
},
onLaunch: function() {
/**
* address Label click event를 catch 하도록 설정
*/
this.getFooter... | apache-2.0 |
blackcathacker/kc.preclean | coeus-code/src/test/java/org/kuali/kra/irb/actions/notification/ProtocolNotificationTemplateRuleTest.java | 4135 | /*
* 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/ecl1.php
*
* Unless required by... | apache-2.0 |
blackcathacker/kc.preclean | coeus-code/src/main/java/org/kuali/coeus/common/budget/framework/core/BudgetAction.java | 38863 | /*
* 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.osedu.org/licenses/ECL-2.0
*
* Unless required by appli... | apache-2.0 |
McLeodMoores/starling | projects/financial/src/main/java/com/opengamma/financial/analytics/model/pnl/FXOptionBlackPnLDefaults.java | 3692 | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.pnl;
import java.util.Collections;
import java.util.Set;
import com.opengamma.engine.ComputationTarget;
import com.opengamma.engine.... | apache-2.0 |
madvirus/kotlin-web-site | pages/docs/reference_ko/visibility-modifiers.md | 4004 | ---
type: doc
layout: reference_ko
category: "Classes and Objects"
title: "가시성 수식어"
---
# 가시성 수식어
클래스, 오브젝트, 인터페이스, 생성자, 함수, 프로퍼티 및 프로퍼티의 setter는 _가시성 수식어_를 가질 수 있다.
(getter는 항상 프로퍼티와 동일한 가시성을 갖는다.)
코틀린에는 `private`, `protected`, `internal`, `public`의 가시성 수식어가 있다.
수식어를 지정하지 않을 경우 기본 가시성은 `public`이다.
타입과 선언 범위에 따른 가시성... | apache-2.0 |
StratusLab/storage | pdisk-server/war/src/main/webapp/media/js/stratuslab.js | 387 | $.STRATUS = function (){
var _init = function () {
$('#logout').click(_logout)
};
var _logout = function (event) {
event.preventDefault();
// Workaround to logout user
// As HTTP is state-less there is no cross-browser clean way to do
$.get(location.href.replace('://', '://x-pdisk-logout@'));
};
re... | apache-2.0 |
mkhuda/AndOfflineMechanism | src/com/mkhuda/offlinecache/MainActivity.java | 4007 | package com.mkhuda.offlinecache;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.Request.Method;
impor... | apache-2.0 |
googleads/google-ads-java | google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/MutateConversionValueRuleSetResult.java | 32654 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/conversion_value_rule_set_service.proto
package com.google.ads.googleads.v9.services;
/**
* <pre>
* The result for the conversion value rule set mutate.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v... | apache-2.0 |
daxnet/apworks-core | src/Apworks/Messaging/MessageHandlerExecutionContext.cs | 1024 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Apworks.Messaging
{
public abstract class MessageHandlerExecutionContext : IMessageHandlerExecutionContext
{
public void RegisterHandler<TMessage, THand... | apache-2.0 |
funcy/functions_go | client/routes/delete_apps_app_routes_route_responses.go | 4056 | // Code generated by go-swagger; DO NOT EDIT.
package routes
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
strfmt "github.com/go-openapi/strfmt"
"github.com/funcy/functio... | apache-2.0 |
Intel-Corporation/tensorflow | tensorflow/lite/kernels/fully_connected.cc | 50508 | /* 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 |
oddacious/oddacious.github.io | _posts/2016-08-07-by-process-of-elimination.md | 3095 | ---
layout: post
title: "In which there are other ways for Trump to exit"
subtitle: "The Upshot avoids discussing awkward scenarios"
article-type: "short"
categories: ["curmudgeon"]
description: "Even if your opinion is that this is highly unlikely (or a distasteful thing to bet on), that doesn't mean that o... | apache-2.0 |
WiAnnBot/annbot | app/src/main/java/com/wistronits/wh/annbot/business/biz/modules/NurseModule.java | 547 | package com.wistronits.wh.annbot.business.biz.modules;
import com.wistronits.wh.annbot.business.mvp.contract.MainContract;
import com.wistronits.wh.annbot.business.mvp.contract.NurseListContract;
import dagger.Module;
import dagger.Provides;
/**
* Created by WH1705002 on 2017/9/1.
*/
@Module
public class NurseModu... | apache-2.0 |
googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Services/OfflineUserDataJobService/RunOfflineUserDataJobRequest.pm | 1118 | # Copyright 2020, 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 |
resthub/resthub.github.io | apidocs/spring/1.1/org/resthub/tapestry5/validation/services/package-summary.html | 5602 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (version 1.7.0_01) on Sat Mar 24 00:58:28 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.resthub.tapestr... | apache-2.0 |
msgpack/msgpack-cli | samples/Samples/Sample02_HandlingDynamicObject.cs | 4711 | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2012 FUJIWARA, Yusuke
//
// 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 |
wildfly-swarm/wildfly-swarm-javadocs | 2018.3.3/apidocs/org/wildfly/swarm/config/jgroups/class-use/StackConsumer.html | 11213 | <!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_151) on Thu Mar 08 14:17:43 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | apache-2.0 |
charles-difazio/beer-cellar | README.md | 111 | beer-cellar
===========
Python scripts for using beer rating data to determine when cellared beers will peak.
| apache-2.0 |
nafae/developer | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201409/cm/ReportDefinitionReportType.java | 12750 | /**
* ReportDefinitionReportType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201409.cm;
public class ReportDefinitionReportType implements java.io.Serializable {
private java.lang.String _v... | apache-2.0 |
keepsl/keepsmis | crm/src/main/java/com/keeps/crm/service/impl/BuyRecordServiceImpl.java | 3106 | package com.keeps.crm.service.impl;
import java.text.DecimalFormat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.keeps.core.service.AbstractService;
import com.keeps.crm.dao.BuyRecordDao;
import com.keeps.crm.service.BuyRecordServic... | apache-2.0 |
pavlobaron/log4j2redis | src/test/org/pbit/log4j2redis/Log4j2RedisTest.java | 1410 | /**
* This file is part of log4j2redis
*
* Copyright (c) 2012 by Pavlo Baron (pb at pbit dot org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | apache-2.0 |
SAP/openui5 | src/sap.ui.core/src/sap/ui/test/matchers/Matcher.js | 1818 | /*!
* ${copyright}
*/
sap.ui.define([
"sap/ui/test/_OpaLogger",
"sap/ui/base/ManagedObject"
], function (_OpaLogger, ManagedObject) {
"use strict";
/**
* @class Matchers for Opa5 - needs to implement an isMatching function that returns a boolean and will get a control instance as parameter
* @abstract
* @... | apache-2.0 |
jerryxing98/jerryxing98.github.io | _posts/2017-05-21-SpringBoot-Start2.markdown | 5532 | ---
layout: keynote
title: "SpringBoot-最佳实践-1.2Spring父子容器"
subtitle: "Slides: Spring父子容器及作用"
header-img: "img/post-bg-js-version.jpg"
navcolor: "invert"
date: 2017-05-21
author: "JerryMinds"
tags:
- Java
- SpringBoot
- microservice
- 云端
---
> 为啥Spring和SpringMVC包要分开扫描包?
---
###... | apache-2.0 |
flant/dapp | pkg/config/git_manager.go | 84 | package config
type GitManager struct {
Local []*GitLocal
Remote []*GitRemote
}
| apache-2.0 |
jmgc/swift | stdlib/public/Concurrency/Actor.cpp | 47851 | ///===--- Actor.cpp - Standard actor implementation ------------------------===///
///
/// This source file is part of the Swift.org open source project
///
/// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
/// Licensed under Apache License v2.0 with Runtime Library Exception
///
/// See https:///s... | apache-2.0 |
jcto/DBWeb | utils/clone.js | 255 | var CaoTest = CaoTest || {}
//把一个对象的自有属性copy到一个新的对象里 浅克隆
CaoTest.clone = function {
objClone = {};
each(obj, function(value, key) {
if (obj.hasOwnProperty(key)) objClone[key] = value;
});
return objClone;
} | apache-2.0 |
notadd/framework | src/Translation/Events/LocaleUpdated.php | 523 | <?php
/**
* This file is part of Notadd.
*
* @author TwilRoad <heshudong@ibenchu.com>
* @copyright (c) 2017, notadd.com
* @datetime 2017-03-01 15:29
*/
namespace Notadd\Foundation\Translation\Events;
/**
* Class LocaleUpdated.
*/
class LocaleUpdated
{
/**
* The new locale.
*
* @var string
... | apache-2.0 |
lukaszbudnik/hackaton-portal | app/views/news/newsSingle.scala.html | 868 | @(news: Option[model.News], showHackathonSubject: Boolean = true)(implicit request: Request[AnyContent], lang: Lang)
@import helper._
@news.map { n =>
<div class="page-header">
<h2>
@if(n.author.avatarUrl) {
<img src="@n.author.avatarUrl" alt="@n.author.name" height="40px" width="40px" />
}
@... | apache-2.0 |
TheRingbearer/HAWKS | ode/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/fc/excp/FragmentCompositionException.java | 418 | package org.apache.ode.bpel.engine.fc.excp;
/**
*
* @author Alex Hummel
*
*/
public class FragmentCompositionException extends Exception {
private static final long serialVersionUID = 9052461952290680611L;
public FragmentCompositionException() {
super();
}
public FragmentCompositionException(String mess... | apache-2.0 |
kubernetes/enhancements | keps/sig-windows/1001-windows-cri-containerd/README.md | 26106 | # Supporting CRI-ContainerD on Windows
## Table of Contents
<!-- TOC -->
- [Release Signoff Checklist](#release-signoff-checklist)
- [Summary](#summary)
- [Motivation](#motivation)
- [Goals](#goals)
- [Non-Goals](#non-goals)
- [Proposal](#proposal)
- [User Stories](#user-stories)
- [Improving Kubernetes int... | apache-2.0 |
karussell/fastutil | src/it/unimi/dsi/fastutil/objects/Object2CharSortedMaps.java | 13714 | /* Generic definitions */
/* Assertions (useful to generate conditional code) */
/* Current type and class (and size, if applicable) */
/* Value methods */
/* Interfaces (keys) */
/* Interfaces (values) */
/* Abstract implementations (keys) */
/* Abstract implementations (values) */
/* Static containers (keys) */
/... | apache-2.0 |
dgraph-io/experiments | intersects/gnuplot/convert.sh | 146 | cat ./tues-afternoon.bench | awk '{if (length($0) > 0) { print $2"."$4,$8,$10}}' > /tmp/bench.data
cat /tmp/bench.data | awk '{print > $1".dat"}'
| apache-2.0 |
storozhukBM/javaslang-circuitbreaker | src/jmh/java/io/github/robwin/circuitbreaker/RingBitSetBenachmark.java | 1513 | /*
*
* Copyright 2016 Robert Winkler
*
* 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 la... | apache-2.0 |
UKHomeOffice/drt-scalajs-spa-exploration | shared/src/main/scala/drt/shared/api/WalkTime.scala | 2292 | package drt.shared.api
import drt.shared.Terminals.Terminal
import drt.shared.TimeUtil._
import drt.shared.{MinuteAsNoun, MinuteAsAdjective}
import upickle.default.{macroRW, _}
import scala.collection.immutable.Map
case class WalkTime(gateOrStand: String, terminal: Terminal, walkTimeMillis: Long) {
val inMinutes: ... | apache-2.0 |
vishwesh3/zulip-mobile | src/utils/internalLinks.js | 4379 | /* @flow strict-local */
import { addBreadcrumb } from '@sentry/react-native';
import type { Narrow, Stream, User } from '../types';
import { topicNarrow, streamNarrow, groupNarrow, specialNarrow } from './narrow';
import { isUrlOnRealm } from './url';
const getPathsFromUrl = (url: string = '', realm: string) => {
c... | apache-2.0 |
jose0luis41/Risk | doc/interfaz/package-use.html | 5635 | <!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_45) on Mon Sep 29 00:49:51 COT 2014 -->
<title>Uses of Package interfaz</title>
<meta name="date" content="2014-09-29">
<link re... | apache-2.0 |
BenDol/gwt-jui-demo | src/main/java/nz/co/doltech/gwtjui/demo/client/application/home/HomePresenter.java | 1700 | /*
* Copyright 2015 Doltech Systems 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 applicable law or agree... | apache-2.0 |
oclc-developer-house/thirdpartyapi | index.php | 6390 | <?php
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging an... | apache-2.0 |
resthub/resthub.github.io | apidocs/spring/1.1/org/resthub/identity/dao/class-use/JpaUserDao.html | 4308 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (version 1.7.0_01) on Sat Mar 24 00:58:28 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.r... | apache-2.0 |
thiagonego/cofagra_bi | src/main/java/br/com/cofagra/bi/renders/ExtPrimeInputMaskRenderer.java | 4004 |
package br.com.cofagra.bi.renders;
import java.io.IOException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import lombok.extern.java.Log;
import org.primefaces.component.inputmask.InputMask;
import org.primefaces.component.inputmask.... | apache-2.0 |
volcacius/Giftlist | app/src/main/java/it/polimi/dima/giftlist/presentation/presenter/WishlistPresenter.java | 8395 | package it.polimi.dima.giftlist.presentation.presenter;
import com.pushtorefresh.storio.sqlite.StorIOSQLite;
import com.pushtorefresh.storio.sqlite.operations.put.PutResults;
import com.pushtorefresh.storio.sqlite.queries.DeleteQuery;
import com.pushtorefresh.storio.sqlite.queries.Query;
import com.pushtorefresh.stori... | apache-2.0 |
apexstudios/phabricator | src/applications/packager/controller/PhabricatorPackagerCreateController.php | 1924 | <?php
final class PhabricatorPackagerCreateController
extends PhabricatorPackagerController {
public function processRequest() {
$request = $this->getRequest();
$user = $request->getUser();
$e_url = null;
$errors = array();
if ($request->isFormPost()) {
$url = $request->getStr('url')... | apache-2.0 |
H5C3JS/hxsd | 1606/二阶/week3/day05/横向菜单.html | 1471 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>菜单</title>
</head>
<style type="text/css">
*{ margin: 0; padding: 0; }
ul{ list-style: none; }
a{text-decoration: none;}
li a{line-height: 50px; height: 50px;display: block;font-size: 14px;color: #666;padding-left: 2em; }
</style>
<body>
<ul>
<... | apache-2.0 |
hazendaz/assertj-core | src/test/java/org/assertj/core/api/list/ListAssert_filteredOn_consumer_with_navigation_Test.java | 3541 | /*
* 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 |
spaco/spo | src/gui/static/src/app/app.component.html | 1901 | <md-toolbar color="primary" id="top-menu">
<img src="/assets/logo-white.png" class="logo">
<!--<span><app-breadcrumb></app-breadcrumb></span>-->
<!-- This fills the remaining space of the current row -->
<span class="fill-remaining-space"></span>
<span *ngIf="loading()" class="syncing">
Syncing blocks {{... | apache-2.0 |
manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_0.3noisyOnTest/train10.f | 8918 | great(b1,o1).
great(jj1,u1).
great(y1,w1).
great(ee1,ll1).
great(jj1,i1).
great(o1,n1).
great(jj1,x1).
great(kk1,o1).
great(r1,o1).
great(h1,k1).
great(r1,ll1).
great(l1,g1).
great(ii1,a1).
great(y1,r1).
great(m1,n1).
great(h1,jj1).
great(k1,ll1).
great(k1,jj1).
great(dd1,s1).
great(hh1,l1).
great(ii1,o1).
great(ff1,m1... | apache-2.0 |
ddalu5/logs-analyzer | logs_analyzer/lib.py | 11644 | import re
import calendar
from logs_analyzer.settings import *
from logs_analyzer.validators import *
from datetime import datetime
def get_service_settings(service_name):
"""
Get default settings for the said service
:param service_name: service name (example: nginx, apache2...)
:return: service sett... | apache-2.0 |
mldbai/mldb | arch/gc_lock.h | 11590 | /* gc_lock.h -*- C++ -*-
Jeremy Barnes, 19 November 2011
Copyright (c) 2011 mldb.ai inc. All rights reserved.
This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved.
"Lock" that works by deferring the destruction of objects into a g... | apache-2.0 |
TKiura/WeDGenS | frontend/source/docs/phpdoc/Controller/Helper/Helper_Api_Log_ApiRegisterDataLog.html | 18841 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs For Class Helper_Api_Log_ApiReg... | apache-2.0 |
vivisect/synapse | synapse/tests/test_lib_certdir.py | 22334 | import os
from contextlib import contextmanager
from OpenSSL import crypto, SSL
import synapse.common as s_common
from synapse.tests.common import *
import synapse.lib.certdir as s_certdir
class CertDirTest(SynTest):
@contextmanager
def getCertDir(self):
'''
Get a test CertDir object.
... | apache-2.0 |
TomNong/Project2-Intel-Edison | documentation/javadoc/com/amazonaws/services/cloudfront_2012_03_15/model/ListStreamingDistributionsResult.html | 22084 | <!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_80) on Thu Oct 15 19:27:02 UTC 2015 -->
<title>ListStreamingDistributionsResult (AWS SDK for Java - 1.10.27)</title>
<meta name="date" ... | apache-2.0 |
openpreserve/plato | plato/src/main/java/eu/scape_project/planning/plato/wfview/full/DefineBasisView.java | 5051 | /*******************************************************************************
* Copyright 2006 - 2012 Vienna University of Technology,
* Department of Software Technology and Interactive Systems, IFS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | apache-2.0 |
erisata/axb_config | README.md | 1697 |
# AxB Config #
This application allows to maintain configuration parameters
by having a baseline configuration in the source code and
allowing to overridide separate parameters. The configuration
values are taken from various sources:
* `default` -- are the values, that are common for all the
instances of the confi... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Solanales/Convolvulaceae/Ipomoea/Ipomoea albidiflora/README.md | 176 | # Ipomoea albidiflora Matuda 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/Liliopsida/Poales/Poaceae/Melinis/Melinis repens/ Syn. Erianthus repens/README.md | 191 | # Erianthus repens (Willd.) P.Beauv. 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/Poales/Poaceae/Aegilops/Aegilops sharonensis/ Syn. Aegilops longissima aristata/README.md | 195 | # Aegilops longissima subsp. aristata SUBSPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |