repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
tensorflow/gnn | tensorflow_gnn/tools/validate_graph_schema.py | 1049 | """Validate a schema's features and shapes.
This script ensures that a schema is valid, has correct shapes, and isn't
clobbering over reserve feature names.
"""
import sys
from absl import app
from absl import flags
from absl import logging
import tensorflow_gnn as tfgnn
FLAGS = flags.FLAGS
def define_flags():
... | apache-2.0 |
camac/DominoDebugPlugin | sources/res/src/com/ibm/notes/java/api/Activator.java | 1301 | /*
* © Copyright IBM Corp. 2012
*
* 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 ... | apache-2.0 |
erezvani1529/azure-storage-net | Lib/AspNet/Microsoft.WindowsAzure.Storage.Facade/FacadeLib/Microsoft.WindowsAzure.Storage.Shared.Protocol.ServiceStats.cs | 580 | using System.Xml.Linq;
namespace Microsoft.WindowsAzure.Storage.Shared.Protocol
{
public sealed class ServiceStats
{
private const string StorageServiceStatsName = "StorageServiceStats";
private const string GeoReplicationName = "GeoReplication";
public GeoReplicationStats GeoReplication
{
get;... | apache-2.0 |
CvvT/AppTroy | app/src/main/java/org/cc/dexlib2/iface/instruction/formats/Instruction21ih.java | 1846 | /*
* Copyright 2012, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | apache-2.0 |
marklogic/data-hub-in-a-box | marklogic-data-hub/src/main/java/com/marklogic/hub/deploy/commands/GenerateFunctionMetadataCommand.java | 4669 | package com.marklogic.hub.deploy.commands;
import com.marklogic.appdeployer.command.AbstractCommand;
import com.marklogic.appdeployer.command.CommandContext;
import com.marklogic.client.DatabaseClient;
import com.marklogic.client.datamovement.ApplyTransformListener;
import com.marklogic.client.datamovement.DataMovemen... | apache-2.0 |
CIRDLES/Squid | squidCore/src/main/java/org/cirdles/squid/shrimp/ShrimpDataLegacyFileInterface.java | 1069 | /*
* Copyright 2018 James F. Bowring and CIRDLES.org.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | apache-2.0 |
mindie/Cindy | src/main/java/co/mindie/cindy/core/component/debugger/ComponentContextModel.java | 1251 | package co.mindie.cindy.core.component.debugger;
import java.util.List;
/**
* Created by simoncorsin on 24/09/14.
*/
public class ComponentContextModel {
////////////////////////
// VARIABLES
////////////////
private long id;
private Integer ownerId;
private List<ComponentModel> components;
private List<Co... | apache-2.0 |
sarmaHS/casopisInterFON | InterFON/app/src/main/java/com/interfon/android/utils/FlingBehavior.java | 1632 | package com.interfon.android.utils;
import android.content.Context;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
public final class FlingBehavior ext... | apache-2.0 |
roncoo/roncoo-pay | roncoo-pay-app-notify/src/main/java/com/roncoo/pay/app/notify/core/NotifyTask.java | 6332 | /*
* Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group.
*
* 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 |
ms123s/simpl4-src | client/common/source/class/ms123/form/AlertOut.js | 2015 | /*
* This file is part of SIMPL4(http://simpl4.org).
*
* Copyright [2017] [Manfred Sattler] <manfred@ms123.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.apa... | apache-2.0 |
iwanders/catkin_tools | catkin_tools/jobs/job.py | 8509 | # Copyright 2014 Open Source Robotics Foundation, 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... | apache-2.0 |
AlbieLiang/IPCInvoker | ipc-invoker-ag-extension/src/main/java/cc/suitalk/ipcinvoker/ag/extension/MethodCodeBuilder.java | 2532 | /*
* Copyright (C) 2017-present Albie Liang. 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... | apache-2.0 |
KRMAssociatesInc/eHMP | ehmp/product/production/soap-handler/src/main/java/us/vistacore/vxsync/config/VlerConfiguration.java | 2853 | package us.vistacore.vxsync.config;
import com.fasterxml.jackson.annotation.JsonProperty;
public class VlerConfiguration {
@JsonProperty
private String host;
@JsonProperty
private String protocol;
@JsonProperty
private int port;
@JsonProperty
private String docquery... | apache-2.0 |
roomorama/google-adwords-api | lib/adwords_api/v201008/targeting_idea_service.rb | 1068 | #!/usr/bin/ruby
# This is auto-generated code, changes will be overwritten.
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
# License:: Licensed under the Apache License,Version 2.0 (the "License").
#
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:33:54.
require 'ads_common/savon_service'
... | apache-2.0 |
eugeneiiim/AndroidCollections | src/com/google/common/collect/ImmutableClassToInstanceMap.java | 5253 | /*
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |
EXEM-OSS/flamingo | flamingo-web/src/main/java/org/exem/flamingo/web/oozie/workflow/tree/TreeService.java | 4423 | /**
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
* <p/>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ... | apache-2.0 |
alipay/SoloPi | src/common/src/main/java/com/alipay/hulu/common/service/TouchService.java | 2175 | /*
* Copyright (C) 2015-present, Ant Financial Services Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
hirohanin/sqoop-1.1.0hadoop21 | src/java/com/cloudera/sqoop/mapreduce/db/DBConfiguration.java | 8526 | /**
* Licensed to Cloudera, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Cloudera, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... | apache-2.0 |
markus1978/citygml4emf | de.hub.citygml.emf.ecore/src/org/w3/_2001/smil20/SyncBehaviorDefaultType.java | 6137 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.w3._2001.smil20;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Sync Behavior Defau... | apache-2.0 |
floviolleau/vector-android | vector/src/main/java/im/vector/fragments/VectorMessageListFragment.java | 34338 | /*
* Copyright 2015 OpenMarket 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 agreed ... | apache-2.0 |
samueltardieu/cgeo | main/src/cgeo/geocaching/connector/gc/IconDecoder.java | 18560 | package cgeo.geocaching.connector.gc;
import cgeo.geocaching.models.Geocache;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.settings.Settings;
import android.graphics.Bitmap;
/**
* icon decoder for cache icons
*
*/
final class IconDecoder {
private static final int CT_TRADITIONAL = 0;
... | apache-2.0 |
spsnk/sky | sky/admin/ui/client-add - Copy.php | 705 | <script type="text/javascript">
clientAdd();
</script>
<form id="client" action="../core/query.php" method="post">
<input type="hidden" name="nya" value="client" />
<input type="hidden" name="act" value="add" />
<input type="text" name="name" value="Nombre" id="name" minlength="3" maxlength="40" clas... | apache-2.0 |
enaml-ops/omg-product-bundle | products/p-rabbitmq/enaml-gen/rabbitmq-haproxy/syslogaggregator.go | 345 | package rabbitmq_haproxy
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type SyslogAggregator struct {
/*Address - Descr: Syslog drain hostname Default: <nil>
*/
Address interface{} `yaml:"address,omitempty"`
/*Port - Descr: Syslog drain port Default: <nil>
*/
Port interface{} `... | apache-2.0 |
batmancn/TinySDNController | ACE_wrappers/examples/Logger/simple-server/Logging_Acceptor.cpp | 2066 | // $Id: Logging_Acceptor.cpp 91671 2010-09-08 18:39:23Z johnnyw $
#include "ace/WFMO_Reactor.h"
#include "ace/Log_Msg.h"
#include "Logging_Acceptor.h"
#include "Logging_Handler.h"
#include "Reactor_Singleton.h"
// Initialize peer_acceptor object.
int
Logging_Acceptor::open (const ACE_INET_Addr &addr)
{
// Reuse... | apache-2.0 |
spring-projects/spring-framework | spring-test/src/test/java/org/springframework/test/context/configuration/interfaces/SqlConfigInterfaceTests.java | 2029 | /*
* Copyright 2002-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
imasahiro/armeria | core/src/test/java/com/linecorp/armeria/client/EndpointTest.java | 12327 | /*
* Copyright 2018 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
racker/cassandra-syncer | node_modules/nodelint/lib/reporters/textmate_full.js | 2694 | /*
* Nodelint Textmate full HTML reporter
*
* Outputs to a TextMate HTML window printing JSLint results.
*
* The Command:
* . "$TM_SUPPORT_PATH/lib/webpreview.sh"
* html_header "JSLint Results"
* node "/path/to/nodelint/nodelint" "$TM_FILEPATH" \
* --config "$TM_BUNDLE_SUPPORT/bin/path/to/config.js" \
* ... | apache-2.0 |
JDoIt/jreaper | jreaper-view/src/main/webapp/resources/js/app/custom.js | 3478 |
// niceScroll
jQuery("html").niceScroll({
scrollspeed: 50,
mousescrollstep: 38,
cursorwidth: 7,
cursorborder: 0,
cursorcolor: '#f99200',
autohidemode: false,
zindex: 9999999,
horizrailenabled: false,
cursorborderradius: 0
});
//sticky header on scroll
$(window).load(function() {
$(".sticky").sti... | apache-2.0 |
rbattenfeld/dmr-statistics | src/main/java/org/jrbsoft/statistic/protocol/jmx/model/MBeanModelUpdater.java | 5698 | package org.jrbsoft.statistic.protocol.jmx.model;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.management.Attribute;
import javax.management.AttributeChangeNotification;
import javax.management.AttributeList;
import javax.management.AttributeNotFoundException;
... | apache-2.0 |
rabidgremlin/legal-beagle | src/main/java/com/rabidgremlin/legalbeagle/maven/MavenJarIdentifier.java | 3299 | /*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not ... | apache-2.0 |
ConsecroMUD/ConsecroMUD | com/suscipio_solutions/consecro_mud/Abilities/Prayers/Prayer_Monolith.java | 11008 | package com.suscipio_solutions.consecro_mud.Abilities.Prayers;
import java.util.Vector;
import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg;
import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats;
import com.suscipio... | apache-2.0 |
blazsolar/rondel | api/src/main/java/solar/blaz/rondel/ServiceScope.java | 846 | /*
* Copyright 2016 Blaž Šolar
*
* 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 |
mkurdziel/BitHome-Hub-CSharp-V1 | SyNet Controller/GuiControls/ResizingCanvas.cs | 6108 | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using SyNet.GuiHelpers;
namespace SyNet.GuiControls
{
/// <summary>
/// Derives from Canvas and provides designing functionality
/// </summary>
public partial class Re... | apache-2.0 |
jyonger/Job | app/src/main/java/com/yong/job/three/MyProvider.java | 3626 | package com.yong.job.three;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
/**
* Created by jyong on 2016/3/29.
*/
public class MyProvider extends ... | apache-2.0 |
cncduLee/bbks-crawer | extract/bimoku/extract/main/MainChinapub.java | 1546 | package bimoku.extract.main;
import java.io.File;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import bimoku.extract.common.PropertyUtil;
import bimo... | apache-2.0 |
radicalbit/ambari | ambari-web/app/controllers/wizard/step3_controller.js | 29808 | /**
* 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 |
mhansonp/geode-native | examples/dotnet/Apache.Geode.Examples.Cache/Program.cs | 1617 | /*
* 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 |
gleb619/hotel_shop | src/main/java/org/test/shop/model/service/view/DocDocumentsViewService.java | 3026 | package org.test.shop.model.service.view;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.test.shop.controller.data.types.ScrollableSettings;
import org.test... | apache-2.0 |
etechi/ServiceFramework | Projects/Server/Test/DBSetup/Migrations/AppContextModelSnapshot.cs | 4457 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using DBSetup;
using SF;
using SF.Data;
using SF.Auth.Users;
namespace DBSetup.Migrations
{
[DbContext(typeof(AppCont... | apache-2.0 |
springfox/springfox | springfox-core/src/main/java/springfox/documentation/service/ResolvedMethodParameter.java | 3023 | /*
*
* Copyright 2015-2019 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 req... | apache-2.0 |
helloavery/hello-itavery | js/popup.js | 1082 | $('#open-popup').magnificPopup({
items: [
{
src: 'videos/Pulling-the-Plug.mp4',
type: 'iframe' // this overrides default type
},
],
gallery: {
enabled: true
},
type: 'image' // this is a default type
});
$('#open-popup2').magnificPopup({
items: [
... | apache-2.0 |
dubenju/javay | src/java/org/xiph/libvorbis/alloc_chain.java | 506 | /*
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.
*
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-200... | apache-2.0 |
greycat-incubator/Paw | src/main/java/paw/graph/customTypes/tokenizedContent/Word.java | 1236 | /**
* Copyright 2017 Matthieu Jimenez. All rights reserved.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless req... | apache-2.0 |
EuregJUG-Maas-Rhine/site | src/main/java/eu/euregjug/site/posts/PostRepository.java | 2364 | /*
* Copyright 2015-2016 EuregJUG.
*
* 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... | apache-2.0 |
cloudfoundry/php-buildpack | fixtures/symfony_5_local_deps/vendor/symfony/console/Helper/QuestionHelper.php | 16379 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Helper;
use Symfony\Component\Console\Cursor;... | apache-2.0 |
mariaig/intellij-code-analysis-plugin | src/thesis/plugin/impl/RedundantChainExpressionGraph.java | 3955 | package thesis.plugin.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
/**
* Copyright Maria Igescu
* <p>
* 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 |
NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Persistor.Entity.Test.AdventureWorksCodeOnly/ProductCostHistory.cs | 1323 | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 |
JesusM/SmartLock-Sample | app/src/androidTest/java/com/jesusm/smartlocksample/MainMenuNavigationTest.java | 2224 | package com.jesusm.smartlocksample;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.SmallTest;
import com.jesusm.smartlocksample.ui.MainActivity;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
imp... | apache-2.0 |
InspectorConstructor/lemon-webgl | a6.php | 4385 | <!DOCTYPE html>
<!--
Nicholas St.Pierre
Student of UML CS course 91.461, GUI Programming
nstpierr@cs.uml.edu
10.22.2013
Assignment number six
This file was adapted from Jesse Heines' HTML template. Original header block follows:
Copied File: /~heines/91.461/91.461-2012-13f/461-lecs/code/j1.html
Jesse M... | apache-2.0 |
technige/py2neo | test/unit/cypher/test_queries.py | 14947 | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Copyright 2011-2021, Nigel Small
#
# 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
#
# Unle... | apache-2.0 |
NAUMEN-GP/saiku | saiku-core/saiku-web/src/main/java/org/saiku/web/rest/resources/ExporterResource.java | 11999 | /*
* Copyright 2012 OSBI 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... | apache-2.0 |
hanguokai/youku | test/config.py | 368 | # -*- coding: utf-8 -*-
import json
# data for test, please replace it to yours
CLIENT_ID = 'your client id'
CLIENT_SECRET = 'your client secret'
REDIRECT_URI = 'http://127.0.0.1:5000/youku/authorize'
ACCESS_TOKEN = 'your access token'
USER_ID = '419384312'
USER_NAME = u'\u97e9\u56fd\u607a'
def print_json(obj):
... | apache-2.0 |
cc387885389/Test | codegeneration/src/main/java/code/TempFactory.java | 929 | package code;
import java.util.List;
public class TempFactory {
public void createTemp(String name){
TempInfoManager tif = new TempInfoManager();
List<Info> listInfo = tif.analysis(name);
for(Info info : listInfo){
String outPutPath = info.getOutPutfilePath()+info.getPath();
String outPutFileName = info... | apache-2.0 |
mengxr/spark-pr-dashboard | static/js/views/TableView.js | 4073 | define([
'react',
'jquery',
'underscore'
],
function(React, $, _) {
"use strict";
var ColumnHeader = React.createClass({displayName: 'ColumnHeader',
propTypes: {
name: React.PropTypes.string.isRequired,
sortable: React.PropTypes.bool.isRequired,
onSort: React.PropT... | apache-2.0 |
google/vr180 | java/com/google/vr180/api/internal/CameraInternalApiHandler.java | 3918 | // Copyright 2018 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 ... | apache-2.0 |
JasonJunjian/FishWeather | app/src/main/java/com/fishweather/android/gson/Weather.java | 423 | package com.fishweather.android.gson;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by jason on 2017/8/22.
*/
public class Weather {
public AQI aqi;
public Basic basic;
@SerializedName("daily_forecast")
public List<Forecast> forecastList;
public Now... | apache-2.0 |
grbd/GBD.Build.BlackJack | docs/doxygen/html/classblackjack_1_1cmake_1_1target_1_1_lib_target___imported_1_1_lib_target___imported.js | 1177 | var classblackjack_1_1cmake_1_1target_1_1_lib_target___imported_1_1_lib_target___imported =
[
[ "__init__", "classblackjack_1_1cmake_1_1target_1_1_lib_target___imported_1_1_lib_target___imported.html#a12189d2083c5ceeabac4722c5d765b0f", null ],
[ "LibType", "classblackjack_1_1cmake_1_1target_1_1_lib_target___imp... | apache-2.0 |
webhost/mod_pagespeed | net/instaweb/rewriter/mobilize_rewrite_filter_test.cc | 20787 | /*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 |
midoks/WordPressPlugins | wp-spider/wp-spider-option.php | 6117 | <?php
class wp_spider_option{
//架构函数
public function __construct(){
if(is_admin()){
add_action('admin_menu', array(&$this, 'spider_menu'));
}
}
//设置面板
public function spider_menu(){
define('SPIDER_URL', plugins_url('', __FILE__));
//添加主目录
add_menu_page('蜘蛛记录',
'蜘蛛记录',
'manage_options',
'wp-... | apache-2.0 |
gquintana/metrics-sql | src/test/java/com/github/gquintana/metrics/sql/ResultSetTest.java | 4151 | package com.github.gquintana.metrics.sql;
/*
* #%L
* Metrics SQL
* %%
* Copyright (C) 2014 Open-Source
* %%
* 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 |
dangdangdotcom/sharding-jdbc | sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/dialect/oracle/sql/OracleInsertParser.java | 1488 | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* 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 l... | apache-2.0 |
durban/exp-reagents | bench/src/main/scala/dev/tauri/choam/kcas/bench/GlobalCompareBench.scala | 2539 | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2016-2020 Daniel Urban and contributors listed in NOTICE.txt
*
* 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.ap... | apache-2.0 |
spinnaker/clouddriver | clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/deploy/converters/CloneCloudFoundryServerGroupAtomicOperationConverter.java | 1868 | /*
* Copyright 2018 Pivotal, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 |
eugene-chow/keycloak | integration/adapter-spi/src/main/java/org/keycloak/adapters/HttpFacade.java | 2446 | package org.keycloak.adapters;
import javax.security.cert.X509Certificate;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public interface HttpFacade {
Request getRequest();
Re... | apache-2.0 |
pollitosabroson/pycarribean | fabfile.py | 6624 | # -*- coding: utf-8 -*-
from fabric.api import cd, env, require, run, task
from fabric.colors import green, white
from fabric.context_managers import contextmanager, shell_env
from fabric.utils import puts
from fabutils import arguments, join, options
from fabutils.env import set_env_from_json_file
from fabutils.conte... | apache-2.0 |
kapilt/cloud-custodian | c7n/actions/autotag.py | 6092 | # Copyright 2017-2018 Capital One Services, 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 ... | apache-2.0 |
SnappyDataInc/snappy-store | gemfire-core/src/main/java/com/gemstone/gemfire/HeapDumper.java | 3357 | /*
* Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req... | apache-2.0 |
consulo/consulo-python | python-impl/src/main/java/com/jetbrains/python/psi/impl/PyExecStatementImpl.java | 908 | /*
* Copyright 2000-2013 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 agre... | apache-2.0 |
aquarius520/effective-java-practices | src/com/aquarius/effectivejava/practices/chapter04/item19/PhysicalConstants.java | 678 | package com.aquarius.effectivejava.practices.chapter04.item19;
/**
* Created by aquarius on 2017/5/8.
*/
//在类中定义常量,接口只应该被用于定义类型,而不应用被用于定义常量
public class PhysicalConstants {
private PhysicalConstants() {
throw new RuntimeException("not allow instantiation, even through the reflection call!");
}
... | apache-2.0 |
ymex/cocc.cute | kits/src/test/java/cn/ymex/kits/ExampleUnitTest.java | 305 | package cn.ymex.kits;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | apache-2.0 |
leapframework/framework | base/core/src/main/java/leap/core/security/UserPrincipal.java | 1031 | /*
* Copyright 2013 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 |
fusepoolP3/p3-silk | silk-core/src/main/scala/de/fuberlin/wiwiss/silk/runtime/task/TaskStatus.scala | 3076 | /*
* 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
* distrib... | apache-2.0 |
opetrovski/development | oscm-apiversioning-soapmgmt-unittests/javasrc/org/oscm/apiversioning/adapter/AdapterFactoryTest.java | 2900 | /*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
* ... | apache-2.0 |
zkzxc/MovieMemos | app/src/main/java/com/zk/moviememos/contract/TopContract.java | 320 | package com.zk.moviememos.contract;
import com.zk.moviememos.presenter.BasePresenter;
import com.zk.moviememos.view.BaseView;
/**
* Created by zk <zkzxc1988@163.com>.
*/
public interface TopContract {
interface View extends BaseView<Presenter> {
}
interface Presenter extends BasePresenter {
}
}
| apache-2.0 |
verma7/dcos-cassandra-service | cassandra-scheduler/src/test/java/com/mesosphere/dcos/cassandra/scheduler/CassandraSchedulerTest.java | 20157 | package com.mesosphere.dcos.cassandra.scheduler;
import com.fasterxml.jackson.datatype.guava.GuavaModule;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.google.common.eventbus.EventBus;
import com.google.common.io.Resources;
import com.mesosphere.dcos.cassandra.common.config.*;
import com.mesosphere... | apache-2.0 |
Hitooooo/RVPractice | app/src/main/java/com/hito/rvpractice/factory/ListTypeFactory.java | 968 | package com.hito.rvpractice.factory;
import android.view.View;
import com.hito.rvpractice.R;
import com.hito.rvpractice.adapter.holder.BasicHolder;
import com.hito.rvpractice.adapter.holder.DogHolder;
import com.hito.rvpractice.adapter.holder.PigHolder;
import com.hito.rvpractice.model.Dog;
import com.hito.rvpractice... | apache-2.0 |
caskdata/cdap | cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/runtime/batch/dataset/output/AppWithMapReduceUsingMultipleOutputs.java | 4821 | /*
* Copyright © 2016 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
bakenezumi/domala | meta/src/main/scala/domala/internal/macros/meta/generator/DeleteGenerator.scala | 2448 | package domala.internal.macros.meta.generator
import domala.Delete
import domala.internal.macros.meta.QueryDefDecl
import domala.internal.macros.meta.args.DaoMethodCommonArgs
import scala.collection.immutable.Seq
import scala.meta._
object DeleteGenerator extends DaoMethodGenerator {
override def annotationClass: ... | apache-2.0 |
vivitc/publication-manager | publications/apps.py | 140 | from __future__ import unicode_literals
from django.apps import AppConfig
class PublicationsConfig(AppConfig):
name = 'publications'
| apache-2.0 |
spring-projects/spring-data-solr | src/test/java/org/springframework/data/solr/repository/ITestSimpleSolrRepository.java | 3858 | /*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 |
leppa/home-assistant | homeassistant/components/automation/litejet.py | 3463 | """Trigger an automation when a LiteJet switch is released."""
import logging
import voluptuous as vol
from homeassistant.const import CONF_PLATFORM
from homeassistant.core import callback
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.event import track_point_in_utc_time
import homea... | apache-2.0 |
blackcathacker/kc.preclean | coeus-code/src/main/java/org/kuali/kra/coi/disclosure/CoiDisclosureAction.java | 65675 | /*
* 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 |
aws/aws-sdk-java | aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/waiters/DescribeInstancesFunction.java | 1968 | /*
* 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 |
LearnLib/automatalib | api/src/main/java/net/automatalib/automata/transducers/StateOutputAutomaton.java | 1609 | /* Copyright (C) 2013-2022 TU Dortmund
* This file is part of AutomataLib, http://www.automatalib.net/.
*
* 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/li... | apache-2.0 |
MehdiSfr/tensor-flow | tensorflow/g3doc/tutorials/mnist/input_data.py | 6582 | # Copyright 2015 Google Inc. 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 |
opensim-org/opensim-gui | Gui/opensim/K12Utils/src/org/opensim/k12utils/CreateLabDialog.java | 36703 | /* -------------------------------------------------------------------------- *
* OpenSim: CreateLabDialog.java *
* -------------------------------------------------------------------------- *
* OpenSim is a toolkit for musculoskeletal modeling and simulation, *
... | apache-2.0 |
diabolicallabs/vertx-kieserver-client | src/main/java/com/diabolicallabs/kie/server/model/KieWorkItemInstance.java | 2302 | package com.diabolicallabs.kie.server.model;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
@DataObject
public class KieWorkItemInstance {
public Long id;
public String name;
public Integer state;
public JsonObject parameters = new JsonObject();
public Long processIns... | apache-2.0 |
kennknowles/go-yid | src/yid/nullable_test.go | 740 |
package yid
import "testing"
var nullable_tests = []struct {
grammar *Grammar
nullable bool
}{
{ Empty, false },
{ Eps, true },
{ Token("foo"), false },
{ Cat(Empty, Eps), false },
{ Cat(Eps, Empty), false },
{ Cat(Eps, Eps), true },
{ Cat(Eps, Token("baz")), false },
{ Alt(Eps, Empty), true },
{ Alt(E... | apache-2.0 |
lsinfo3/onos | web/gui/src/main/webapp/tests/app/view/topo/topoPanel-spec.js | 4885 | /*
* Copyright 2015-present Open Networking Laboratory
*
* 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 |
loresoft/FluentHtml | Source/FluentHtml.Web/App_Start/FilterConfig.cs | 269 | using System.Web;
using System.Web.Mvc;
namespace FluentHtml.Web
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| apache-2.0 |
Neft-io/neft | packages/neft-runtime-android/app/src/main/jni/timers.cpp | 2343 | #include <jni.h>
#include "include/v8.h"
#include "js.cpp"
#include "java.cpp"
using namespace v8;
namespace timers {
static jobject jniObject;
static jmethodID jniShotMethod;
Persistent<Function, CopyablePersistentTraits<Function>> callback;
void registerCallback(const FunctionCallbackInfo<Value>& ... | apache-2.0 |
corestoreio/csfw | net/jwt/doc.go | 1190 | // Copyright 2015-present, Cyrill @ Schumacher.fm and the CoreStore contributors
//
// 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 |
suwa-sh/swagger-spec-mgr | src/main/java/me/suwash/swagger/spec/manager/sv/domain/gen/UserGen.java | 993 | package me.suwash.swagger.spec.manager.sv.domain.gen;
import org.hibernate.validator.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import me.suwash.swagger.spec.manager.infra.validation.group.Create;
import... | apache-2.0 |
MiguelCatalan/head-first-design-patterns | src/main/java/info/miguelcatalan/headfirst/designpatterns/facade/DVDPlayer.java | 499 | package info.miguelcatalan.headfirst.designpatterns.facade;
class DVDPlayer implements Playable {
private boolean isOn;
private String film;
DVDPlayer() {
this.isOn = false;
}
public void on() {
isOn = true;
}
public void off() {
isOn = false;
}
public bo... | apache-2.0 |
phogue/Potato | src/Potato.Database.Shared.Test/MongoDb/TestSerializerMongoDbSaveExplicit.cs | 2465 | #region Copyright
// Copyright 2014 Myrcon Pty. 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 appl... | apache-2.0 |
KarloKnezevic/Ferko | src/java/hr/fer/zemris/jcms/web/navig/builders/course/applications/ApplicationMainBuilder.java | 1457 | package hr.fer.zemris.jcms.web.navig.builders.course.applications;
import hr.fer.zemris.jcms.service.has.HasCourseInstance;
import hr.fer.zemris.jcms.web.actions.data.support.AbstractActionData;
import hr.fer.zemris.jcms.web.navig.ActionNavigationItem;
import hr.fer.zemris.jcms.web.navig.Navigation;
import hr.fer.zemr... | apache-2.0 |
gustavoanatoly/hbase | hbase-shell/src/test/ruby/hbase/table_test.rb | 22751 | #
#
# 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 n... | apache-2.0 |
NJUJYB/disYarn | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java | 30406 | /*
* 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 |
comdexxsolutionsllc/dcas-laravel55 | config/sitemap.php | 1547 | <?php
use GuzzleHttp\RequestOptions;
use Spatie\Sitemap\Crawler\Profile;
return [
/*
* These options will be passed to GuzzleHttp\Client when it is created.
* For in-depth information on all options see the Guzzle docs:
*
* http://docs.guzzlephp.org/en/stable/request-options.html
*/
'... | apache-2.0 |
ufcpp/UfcppSample | Demo/2017/Ạṇạḷỵẓẹṛ/Ạṇạḷỵẓẹṛ/Ạṇạḷỵẓẹṛ.Test/ẠṇạḷỵẓẹṛUnitTests.cs | 735 | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using TestHelper;
using Xunit;
using Ạṇạḷỵẓẹṛ;
namespace Ạṇạḷỵẓẹṛ.Test
{
public class ẠṇạḷỵẓẹṛUnitTests : ConventionCodeFixVerifier
{
[Fact]
public void EmptySource() =... | apache-2.0 |