repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
LQJJ/demo | 126-go-common-master/app/admin/main/search/dao/mng_v2_test.go | 4229 | package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoBusinessAllV2(t *testing.T) {
convey.Convey("BusinessAllV2", t, func(convCtx convey.C) {
var (
c = context.Background()
)
convCtx.Convey("When everything goes positive", func(convCtx convey.C) {
list, er... | apache-2.0 |
JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs | 316 | using UnityEngine;
namespace DefaultNamespace
{
public class FieldGenerationWithRespectToCodeStyleTest : MonoBehaviour
{
public void Update()
{
int[,] test = new int[2,2];
test[0, 0] = 5;
test[test[0,{caret} 1], test[0, test[0,1]]] = 5;
}
}
} | apache-2.0 |
JCERTIFLab/jcertif-android-2013 | src/main/java/com/jcertif/android/fragments/SessionListFragment.java | 12340 | /*
* Copyright 2013 JCertifLab.
*
* 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 |
soabase/soabase | soabase-core/src/main/java/io/soabase/core/features/attributes/DynamicAttributes.java | 2045 | /**
* Copyright 2014 Jordan Zimmerman
*
* 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 |
StephanEwen/incubator-flink | flink-runtime-web/web-dashboard/src/app/share/common/dagre/svg-container.component.ts | 3657 | /*
* 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 |
hotpads/datarouter | datarouter-instrumentation/src/main/java/io/datarouter/instrumentation/trace/Traceparent.java | 4663 | /*
* Copyright © 2009 HotPads (admin@hotpads.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | apache-2.0 |
GolvenH/PocketCampus | app/src/main/java/com/bzu/yhd/pocketcampus/bottomnav/user/view/AnimateImageView.java | 3350 | package com.bzu.yhd.pocketcampus.bottomnav.user.view;
import android.content.Context;
import android.util.AttributeSet;
import com.facebook.rebound.SimpleSpringListener;
import com.facebook.rebound.Spring;
import com.facebook.rebound.SpringSystem;
import de.hdodenhof.circleimageview.CircleImageView;
/**
* Created ... | apache-2.0 |
BigBoss424/portfolio | v6/node_modules/@nuxt/vue-app-edge/template/mixins/fetch.client.js | 1830 | import Vue from 'vue'
import { hasFetch, normalizeError, addLifecycleHook } from '../utils'
const isSsrHydration = (vm) => vm.$vnode && vm.$vnode.elm && vm.$vnode.elm.dataset && vm.$vnode.elm.dataset.fetchKey
const nuxtState = window.<%= globals.context %>
export default {
beforeCreate () {
if (!hasFetch(this))... | apache-2.0 |
trasa/aws-sdk-java | aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DeleteAssociationRequestMarshaller.java | 3452 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | apache-2.0 |
resin-io-library/base-images | balena-base-images/node/zc702-zynq7/ubuntu/xenial/14.18.3/run/Dockerfile | 2913 | # AUTOGENERATED FILE
FROM balenalib/zc702-zynq7-ubuntu:xenial-run
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.c... | apache-2.0 |
helifu/kudu | src/kudu/util/flags.h | 3254 | // 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 |
voke/google-ads-common | lib/ads_common/results_extractor.rb | 8192 | # Encoding: utf-8
#
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
#
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
#
# License:: 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 ... | apache-2.0 |
nasa/CrisisMappingToolkit | cmt/modis/simple_modis_algorithms.py | 6672 | # -----------------------------------------------------------------------------
# Copyright * 2014, United States Government, as represented by the
# Administrator of the National Aeronautics and Space Administration. All
# rights reserved.
#
# The Crisis Mapping Toolkit (CMT) v1 platform is licensed under the Apache
#... | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Ustilaginomycetes/Urocystidiales/Urocystidaceae/Urocystis/Urocystis poae/README.md | 245 | # Urocystis poae (Liro) Padwick & A. Khan, 1944 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycol. Pap. 10: 2 (1944)
#### Original name
Tuburcinia poae Liro, 1922
### Remarks
null | apache-2.0 |
lingyi2017/wxmp | src/main/java/com/qmx/wxmp/common/web/MediaTypes.java | 1306 | package com.qmx.wxmp.common.web;
/**
* 带UTF-8 charset 定义的MediaType.
*
* Jax-RS和Spring的MediaType没有UTF-8的版本,
* Google的MediaType必须再调用toString()函数而不是常量,不能用于Restful方法的annotation。
*
* @author free lance
*/
public class MediaTypes {
public static final String APPLICATION_XML = "application/xml";
public static fin... | apache-2.0 |
PennState/directory-fortress-core-1 | src/test/java/org/apache/directory/fortress/core/samples/CreateUserOrgHierarchySample.java | 15806 | /*
* 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
* "Lic... | apache-2.0 |
LimitPointSystems/SheafSystem | tools/viewer/user/HedgeHogFieldActorPropertiesPanel.java | 4423 |
//
// Copyright (c) 2014 Limit Point Systems, 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 ... | apache-2.0 |
davidokun/Angular-js | cmp-databinding-assignment/src/app/even/even.component.html | 31 | <p>
Even - {{ number }}
</p>
| apache-2.0 |
Loopring/looper | src/utils/balance-text-field.html | 1346 | <link rel="import" href="../../bower_components/polymer/polymer-element.html">
<dom-module id="balance-text-field">
<script>
class BalanceTextField extends Vaadin.TextFieldElement {
static get is() {
return 'balance-text-field';
}
static get properties() {
return... | apache-2.0 |
Coenego/3akai-ux | ui/js/group.js | 5033 | /*!
* Copyright 2012 Sakai Foundation (SF) 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 applicable... | apache-2.0 |
applicationsky/MyCoolWeather | app/src/main/java/cn/oeaom/CoolWeather/WeatherActivity.java | 12783 | package cn.oeaom.CoolWeather;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Typeface;
import android.media.Image;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.design.widget.FloatingActionButton;
import android.support.d... | apache-2.0 |
driftyco/ionic-site | content/docs/v3/3.9.2/api/components/toast/ToastController/index.md | 11615 | ---
layout: "fluid/docs_base"
version: "3.9.2"
versionHref: "/docs/v3/3.9.2"
path: ""
category: api
id: "toastcontroller"
title: "ToastController"
header_sub_title: "Ionic API Documentation"
doc: "ToastController"
docType: "class"
show_preview_device: true
preview_device_url: "/docs/v3/demos/src/toast/www/"
angular_con... | apache-2.0 |
Garuda-1/RealityGateway | ESP_SOFTWARE/IMU-LIB Fixed/Troyka-IMU-master/TroykaIMU.h | 1103 | #include <Wire.h>
#include "lis331dlh.h"
#include "l3g4200d.h"
#include "lis3mdl.h"
#include "LPS331.h"
#include "MadgwickAHRS.h"
// Accelerometer
#define ACCEL_ADDRESS_V1 LIS331DLH_TWI_ADDRESS
#define ACCEL_ADDRESS_V2 LIS331DLH_TWI_ADDRESS_V2
// Gyroscope
#define GYRO_ADDRESS_V1 L3G4200D_TWI_ADDRESS
#defin... | apache-2.0 |
hgqislub/hybird-orchard | code/cloudmanager/install/hws/hws_cascaded_configer.py | 4081 | # -*- coding:utf-8 -*-
__author__ = 'q00222219@huawei'
import time
from heat.openstack.common import log as logging
import heat.engine.resources.cloudmanager.commonutils as commonutils
import heat.engine.resources.cloudmanager.constant as constant
import heat.engine.resources.cloudmanager.exception as exception
impor... | apache-2.0 |
mirceamt/MPACK | jni/MPACK/Input/Desktop/Windows/WindowsInputService.cpp | 764 | #ifdef WINDOWS_PLATFORM
#include "WindowsInputService.hpp"
#include "WindowsMouseInterface.hpp"
#include "WindowsKeyboardInterface.hpp"
namespace MPACK
{
namespace Input
{
WindowsInputService::WindowsInputService()
{
m_pMouse = new WindowsMouseInterface;
m_pKeyboard = new WindowsKeyboardInterface;
Res... | apache-2.0 |
tkem/mopidy-mobile | www/app/services/services.js | 324 | angular.module('app.services', [
'app.services.actions',
'app.services.connection',
'app.services.coverart',
'app.services.locale',
'app.services.logging',
'app.services.mopidy',
'app.services.paging',
'app.services.platform',
'app.services.router',
'app.services.servers',
'app.services.settings'
... | apache-2.0 |
aelij/roslyn | src/Compilers/VisualBasic/Portable/Lowering/LocalRewriter/LocalRewriter_NullableHelpers.vb | 24667 | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports Microsoft.CodeAnalysis.PooledObjects
Imports Mi... | apache-2.0 |
grantcolley/wpfcontrols | DevelopmentInProgress.WPFControls/FilterTree/FilterTreeDragDropArgs.cs | 1316 | //-----------------------------------------------------------------------
// <copyright file="FilterTreeDragDropArgs.cs" company="Development In Progress Ltd">
// Copyright © Development In Progress Ltd 2015. All rights reserved.
// </copyright>
//-------------------------------------------------------------------... | apache-2.0 |
JDriven/structurizr-java | structurizr-core/src/com/structurizr/view/View.java | 5965 | package com.structurizr.view;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.structurizr.model.*;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.stream.Collectors;
@JsonIgnoreProperties(ign... | apache-2.0 |
stankovski/azure-sdk-for-net | sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/ErrorDetails.Serialization.cs | 1613 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.Management.Network.Models
{
internal partial class ErrorDetails
{
internal static ErrorDetails DeserializeE... | apache-2.0 |
ruslansennov/vertx-consul-client | src/main/java/io/vertx/ext/consul/Coordinate.java | 4253 | /*
* Copyright (c) 2016 The original author or authors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
*... | apache-2.0 |
Legostaev/xmlsec-gost | src/test/java/org/apache/xml/security/test/dom/transforms/implementations/TransformBase64DecodeTest.java | 5574 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | apache-2.0 |
ShawnDongAi/AEASSISTANT | AEAssistant/src/com/zzn/aeassistant/zxing/decoding/FinishListener.java | 1311 | /*
* Copyright (C) 2010 ZXing 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 agr... | apache-2.0 |
HiP-App/HiP-CmsAngularApp | app/notifications/notifications-list/notifications-list.component.ts | 2139 | import { Component, Input, EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
import { ToasterService } from 'angular2-toaster';
import { TranslateService } from 'ng2-translate';
import { Notification } from '../notification.model';
import { NotificationService } from '../notification.service';
import { Pa... | apache-2.0 |
moparisthebest/beehive | beehive-netui-core/src/main/java/org/apache/beehive/netui/util/ParamHelper.java | 5988 | /*
* 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 |
raphaelning/resteasy-client-android | jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyUriInfo.java | 10699 | package org.jboss.resteasy.spi;
import org.jboss.resteasy.specimpl.MultivaluedMapImpl;
import org.jboss.resteasy.specimpl.PathSegmentImpl;
import org.jboss.resteasy.specimpl.ResteasyUriBuilder;
import org.jboss.resteasy.util.Encode;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.PathSegment;
import j... | apache-2.0 |
wangning82/CabinetMS | src/main/java/com/cabinetms/client/TacticMediaCommand.java | 1292 | package com.cabinetms.client;
import java.util.List;
import com.google.common.collect.Lists;
public class TacticMediaCommand {
private String command; // 指令
private String clientIp; // 终端IP地址
private String destination; // 终端队列地址
private Integer startDate;// 策略开始日期
private Integer endDate;// 策略结束日期
private Li... | apache-2.0 |
mdoering/backbone | life/Plantae/Leckenbya/README.md | 191 | # Leckenbya A.C. Seward, 1894 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Pucciniomycetes/Pucciniales/Pucciniaceae/Uromyces/Uromyces ciceris-soongaricae/README.md | 203 | # Uromyces ciceris-soongaricae S. Ahmad SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Uromyces ciceris-soongaricae S. Ahmad
### Remarks
null | apache-2.0 |
Qesy/Q-Frame | Static/bootstrap/Highcharts-7.1.1/modules/treemap.src.js | 92176 | /**
* @license Highcharts JS v7.1.1 (2019-04-09)
*
* (c) 2014-2019 Highsoft AS
* Authors: Jon Arild Nygard / Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.e... | apache-2.0 |
mlperf/training_results_v0.6 | Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/op/nn/nn.py | 10085 | """Neural network operations."""
from __future__ import absolute_import as _abs
from . import _make
def conv2d(data,
weight,
strides=(1, 1),
padding=(0, 0),
dilation=(1, 1),
groups=1,
channels=None,
kernel_size=None,
data_layout="... | apache-2.0 |
StoneDot/map-board | database/create_benchmark_fixture.php | 3675 | <?php
/**
* Project Name: map-board
* File Name: create_benchmark_fixture.php
* Last modified: 2017/11/20 12:51
* Author: Hiroaki Goto
*
* Copyright (c) 2017 Hiroaki Goto. All rights reserved.
*/
require_once __DIR__.'/../vendor/autoload.php';
$db = connectDB();
$redis = connectRedis();
const USER_SIZE = 1000... | apache-2.0 |
fuyongde/jason | showcase/src/main/java/com/jason/showcase/lambdas/Lambda.java | 342 | package com.jason.showcase.lambdas;
/**
* Created by Qinjianf on 2016/7/19.
*/
public class Lambda {
public void execute(Action action) {
action.run("Hello Lambda!");
}
public void test() {
execute(System.out::println);
}
public static void main(String[] args) {
new Lam... | apache-2.0 |
cbaenziger/oozie | sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkArgsExtractor.java | 22247 | /**
* 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 |
ServicioReparaciones/ServicioReparaciones | ServicioReparaciones-ejb/src/main/java/com/common/dao/BaseDAO.java | 2856 |
package com.common.dao;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.logging.Logger;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.PersistenceException;
/**
* La Clase BaseDAO implementa las operaciones... | apache-2.0 |
lyft/envoy | test/common/config/grpc_mux_impl_test.cc | 39581 | #include <memory>
#include "envoy/config/endpoint/v3/endpoint.pb.h"
#include "envoy/config/endpoint/v3/endpoint.pb.validate.h"
#include "envoy/service/discovery/v3/discovery.pb.h"
#include "source/common/common/empty_string.h"
#include "source/common/config/api_version.h"
#include "source/common/config/grpc_mux_impl.... | apache-2.0 |
dremio/dremio-oss | sabot/kernel/src/main/java/com/dremio/exec/planner/sql/parser/SqlTruncateTable.java | 3280 | /*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Inga/Inga lallensis/README.md | 179 | # Inga lallensis Benth. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
yusuke/twtr-api-pocket-reference | at_anywhere/hovercards6.html | 626 | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Hovercards6 userオプション</title>
<script src="http://platform.twitter.com/anywhere.js?id=[APIキー]&v=1" type="text/javascript"></script>
</head>
<body>
@twitterapi をフォローしましょう<br>
<img src=".... | apache-2.0 |
bit-zyl/Alluxio-Nvdimm | core/server/src/test/java/alluxio/StorageTierAssocTest.java | 3480 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | apache-2.0 |
parshimers/incubator-asterixdb | asterix-maven-plugins/lexer-generator-maven-plugin/src/main/java/edu/uci/ics/asterix/lexergenerator/rules/RuleAnythingUntil.java | 2007 | /*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
WengJunFeng/hackerrank_java | src/main/java/com/netwebx/hackerrank/rpc/client/RpcImporter.java | 2053 | package com.netwebx.hackerrank.rpc.client;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.net.InetSocketAddress;
import java.net.Socket;
/**
* Created by apple on 2017/2/26.
... | apache-2.0 |
staugaard/adrian | lib/adrian/directory_queue.rb | 2384 | require 'adrian/queue'
require 'fileutils'
module Adrian
class DirectoryQueue < Adrian::Queue
include Filters
def self.create(options = {})
queue = new(options)
FileUtils.mkdir_p(queue.available_path)
FileUtils.mkdir_p(queue.reserved_path)
queue
end
attr_reader :available_pa... | apache-2.0 |
christkv/mongo-shell | test/jstests/core/update_find_and_modify_id.js | 1313 | // SERVER-4516 and SERVER-6913: test that update and findAndModify tolerate
// an _id in the update document, as long as the _id will not be modified
var t = db.jstests_server4516;
var startingDoc = {_id: 1, a: 1};
function prepare() {
t.drop();
t.save(startingDoc);
}
function update_succeeds(updateDoc, qid,... | apache-2.0 |
aol/cyclops | cyclops/src/main/java/com/oath/cyclops/internal/stream/spliterators/push/GroupedByTimeOperator.java | 4567 | package com.oath.cyclops.internal.stream.spliterators.push;
import com.oath.cyclops.types.persistent.PersistentCollection;
import java.util.Collection;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Supplier;
/**
* Created by j... | apache-2.0 |
sandymariscal22/BrandsCsCart | public_html/app/Tygh/Exceptions/ClassNotFoundException.php | 1012 | <?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* This... | apache-2.0 |
mikebrow/cri-containerd | vendor/github.com/containerd/containerd/linux/runtime.go | 14104 | // +build linux
/*
Copyright The containerd Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... | apache-2.0 |
zhangxx0/Java_Topic_prictice | src/net/tcp/socket/Server.java | 1059 | package net.tcp.socket;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
/**
* 必须先启动服务器 后连接 1、创建服务器 指定端口 ServerSocket(int port) 2、接收客户端连接 3、发送数据+接收数据
*
*/
public class Server {
/**
* @param args
* @throws IOException
*/
public static void ... | apache-2.0 |
HuangLS/neo4j | advanced/management/src/main/java/org/neo4j/management/impl/KernelProxy.java | 8016 | /*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Fo... | apache-2.0 |
wuhaoxiangfau/wechat | wechat_location/public/details/header2.html | 339 | <!--//页头-->
<div class="contanier">
<div class="link right">
<span>第一次使用微信?</span>
<a href="#">立即注册</a>
<a href="#">腾讯客服</a>
</div>
<div class="logo">
<img src="../img/talk_bg.png" alt="">
<span>微信,是一种生活方式</span>
</div>
</div> | apache-2.0 |
nghiant2710/base-images | balena-base-images/node/bananapi-m1-plus/ubuntu/disco/10.23.1/build/Dockerfile | 2767 | # AUTOGENERATED FILE
FROM balenalib/bananapi-m1-plus-ubuntu:disco-build
ENV NODE_VERSION 10.23.1
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyser... | apache-2.0 |
mhus/mhus-inka | de.mhus.hair/hair3/de.mhus.cha.app/src/de/mhus/cha/cao/action/CopyToOperation.java | 3411 | package de.mhus.cha.cao.action;
import java.io.File;
import de.mhus.lib.cao.CaoElement;
import de.mhus.lib.cao.CaoException;
import de.mhus.lib.cao.CaoList;
import de.mhus.lib.cao.CaoMonitor;
import de.mhus.lib.cao.CaoOperation;
import de.mhus.cap.core.Access;
import de.mhus.cha.cao.ChaConnection;
import de.mhus.cha.... | apache-2.0 |
ohadshacham/phoenix | phoenix-core/src/main/java/org/apache/phoenix/util/csv/CsvUpsertExecutor.java | 10075 | /*
* 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 |
mrietveld/drools | drools-reteoo/src/main/java/org/drools/reteoo/common/ReteWorkingMemory.java | 9985 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Ligularia/Ligularia veitchiana/ Syn. Senecillis veitchiana/README.md | 194 | # Senecillis veitchiana (Hemsl.) Kitam. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
datastax/cpp-driver | tests/src/integration/tests/test_prepared_metadata.cpp | 3220 | /*
Copyright (c) DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | apache-2.0 |
knutwalker/google-closure-library | closure/goog/ui/sliderbase_test.html | 31256 | <!DOCTYPE html>
<html>
<!--
Copyright 2008 The Closure Library Authors. All Rights Reserved.
Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<!--
-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Closure Unit Tests - goog.ui.SliderBase... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Eurotiomycetes/Verrucariales/Verrucariaceae/Verrucaria/Verrucaria floerkeana/Verrucaria floerkeana congregata/README.md | 243 | # Verrucaria floerkeana f. congregata (Hepp) Zahlbr. FORM
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Cat. Lich. Univers. 1: 40 (1921)
#### Original name
Verrucaria papillosa f. congregata Hepp
### Remarks
null | apache-2.0 |
hashiwa000/Elasticsearch-Auth-Plugin | src/jp/hashiwa/elasticsearch/authplugin/AuthRestHandler.java | 2877 | package jp.hashiwa.elasticsearch.authplugin;
import org.apache.logging.log4j.Logger;
import org.elasticsearch.client.node.NodeClient;
import org.elasticsearch.common.bytes.BytesArray;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.logging.Loggers;
import org.elasticsearch.rest.*;... | apache-2.0 |
moixxsyc/Unity3dLearningDemos | 01Dongzuo/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T4035712581.h | 801 | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
// System.IAsyncResult
struct IAsyncResult_t537683269;
// System.AsyncCallback
struct AsyncCallback_t1363551830;
#include "mscorlib_System_Multi... | apache-2.0 |
s4/core | src/main/java/io/s4/persist/ConMapPersister.java | 5403 | /*
* Copyright (c) 2010 Yahoo! 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 |
MichaelLZF/MichaelLZF.github.io | _posts/2018-01-17-Spring-Spring配置文件.md | 4111 | ---
layout: post
title: Spring基础
subtitle:
date: 2017-12-19
author: Felix
header-img: img/home-bg-art.jpg
catalog: true
tags:
- hibernate
---
# 说明
以下内容为初学hibernate的体会,该框架的深入使用还未了解
## 什么是hibernate
1.hibernate是一个对象关系映射框架,是对JDBC的轻量级封装。基于这两个问题,所以在以下的jar包使用中,要使用到的至少包括hibernate相关包,以及数据库处理相关包。
2.关系和... | apache-2.0 |
crowbar/crowbar-client | spec/support/request_examples.rb | 1652 | #
# Copyright 2015, SUSE Linux GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | apache-2.0 |
swoole/swoole-src | tests/swoole_server/ssl/dtls.phpt | 1266 | --TEST--
swoole_server/ssl: dtls
--SKIPIF--
<?php require __DIR__ . '/../../include/skipif.inc'; ?>
--FILE--
<?php
require __DIR__ . '/../../include/bootstrap.php';
$pm = new SwooleTest\ProcessManager;
$pm->parentFunc = function ($pid) use ($pm) {
$client = new Swoole\Client(SWOOLE_SOCK_UDP | SWOOLE_SSL, SWOOLE_S... | apache-2.0 |
googleapis/java-orchestration-airflow | proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java | 23250 | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |
DeMaCS-UNICAL/I-DLV | src/grounder/statement/GroundingPreferences.h | 4920 | /*******************************************************************************
* Copyright 2016 Francesco Calimeri, Davide Fusca', Simona Perri and Jessica Zangari
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Saccharomycetes/Saccharomycetales/Candida/Candida albicans/ Syn. Zymonema album/README.md | 188 | # Zymonema album C.W. Dodge, 1935 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
dsukhoroslov/bagri | bagri-server/bagri-server-hazelcast/src/main/java/com/bagri/server/hazelcast/task/schema/SchemaUpdater.java | 2552 | package com.bagri.server.hazelcast.task.schema;
import static com.bagri.core.Constants.pn_schema_password;
import static com.bagri.server.hazelcast.serialize.TaskSerializationFactory.cli_UpdateSchemaTask;
import static com.bagri.support.security.Encryptor.encrypt;
import java.io.IOException;
import java.util.P... | apache-2.0 |
caveman-frak/java-core | core-swing/src/test/java/uk/co/bluegecko/core/swing/table/rendering/RenderingHintTest.java | 4586 | package uk.co.bluegecko.core.swing.table.rendering;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.awt.Color;
import java.awt.Font;
import org.junit.Before;
import ... | apache-2.0 |
nghiant2710/base-images | balena-base-images/python/beaglebone-green-gateway/ubuntu/cosmic/3.5.10/build/Dockerfile | 4847 | # AUTOGENERATED FILE
FROM balenalib/beaglebone-green-gateway-ubuntu:cosmic-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key ... | apache-2.0 |
devcon5io/common | cli/src/test/java/io/devcon5/cli/CLIExample.java | 1919 | /*
* Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch
*
* 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 |
wateraccounting/wa | Collect/MOD17/__init__.py | 860 | # -*- coding: utf-8 -*-
"""
Authors: Tim Hessels
UNESCO-IHE 2016
Contact: t.hessels@unesco-ihe.org
Repository: https://github.com/wateraccounting/wa
Module: Collect/MOD17
Description:
This module downloads MOD17 GPP data from
http://e4ftl01.cr.usgs.gov/. Use the MOD17.GPP_8daily function to
download and creat... | apache-2.0 |
dbflute-session/lastaflute-test-catalog | src/main/java/org/docksidestage/app/web/product/ProductSearchForm.java | 1252 | /*
* Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
Datamart/Glize | src/compressors/index.js | 1646 | /**
* @fileoverview Defines compressors utility methods.
*
* @see https://google.github.io/styleguide/javascriptguide.xml
* @see https://developers.google.com/closure/compiler/docs/js-for-compiler
* @module glize/compressors
*/
import * as lzw from 'lzw-compressor';
/**
* Enumeration of available compression t... | apache-2.0 |
thestinger/rust-core | core/arc.rs | 3527 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
nghiant2710/base-images | balena-base-images/node/imx8mm-var-dart/fedora/33/15.6.0/build/Dockerfile | 2756 | # AUTOGENERATED FILE
FROM balenalib/imx8mm-var-dart-fedora:33-build
ENV NODE_VERSION 15.6.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver h... | apache-2.0 |
liqilun/flora | src/main/java/com/flora/support/VelocityTemplate.java | 1644 | package com.flora.support;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Map;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.context.Context;
impor... | apache-2.0 |
lpxz/grail-lucene358684 | src/java/org/apache/lucene/search/WildcardTermEnum.java | 5708 | package org.apache.lucene.search;
/**
* Copyright 2004 The Apache Software 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.... | apache-2.0 |
libra/libra | language/testing-infra/e2e-tests/src/lib.rs | 1883 | // Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0
#![forbid(unsafe_code)]
//! Test infrastructure for the Diem VM.
//!
//! This crate contains helpers for executing tests against the Diem VM.
use diem_types::{transaction::TransactionStatus, vm_status::KeptVMStatus};
pub mod account;... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Carlina/Carlina rhopalachyron/README.md | 190 | # Carlina rhopalachyron Cadevall & Sallent SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
ayltai/Foscam-CGI-Client | app/src/main/java/com/github/ayltai/foscam/client/RxBus.java | 2141 | package com.github.ayltai.foscam.client;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import android.support.annotation.NonNull;
import android.support.annotation.VisibleForTesting;
import android.support.v4.util.Pair;
import rx.Subscriber;
import rx.Subscription;
import rx.subjects.Publ... | apache-2.0 |
google/timesketch | timesketch/lib/aggregators/term.py | 7953 | # Copyright 2019 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 |
elrafael/web2py-test | applications/examples/static/epydoc/gluon.validators.IS_IN_DB-class.html | 15504 | <?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gluon.validators.IS_IN_DB</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" ... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-retail/v2/1.31.0/com/google/api/services/retail/v2/CloudRetailScopes.java | 1411 | /*
* 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 |
swiftstack/swift | test/unit/common/middleware/test_memcache.py | 17061 | # Copyright (c) 2010-2012 OpenStack 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 applicable law or agree... | apache-2.0 |
hipay/hipay-fullservice-sdk-magento2 | Model/Request/ThreeDS/BrowserInfoFormatter.php | 4402 | <?php
/**
* HiPay fullservice Magento2
*
* NOTICE OF LICENSE
*
* This source file is subject to the Apache 2.0 Licence
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* http://www.apache.org/licenses/LICENSE-2.0
*
* @copyright Copyrig... | apache-2.0 |
andriell/craftyfox | src/test/java/com/github/andriell/collection/HashThreeTest.java | 2540 | package com.github.andriell.collection;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Created by Andrey on 13.02.2016
*/
public class HashThreeTest {
public static void main(String[] args) {
HashThreeTest test = new HashThreeTest();
test.test1();
}
@Test
... | apache-2.0 |
Edwardvi/edwardvi.github.io | about.md | 846 | ---
layout: page
title: "About"
description: "你是你周围关系的反映 "
header-img: "img/green.jpg"
---
我是Edward,通过建立博客,希望能够学习互联网语言,read 这个时代
现在正在学习**python** 。
###remind
- 正确的激励产生正确的行为
- 解释宇宙需要不仅仅一个真理
- 你是你周围关系的反映
- 广末凉子很漂亮
###关注:
- [Python](http://liaoxuefeng.com)
###代表作:
... | apache-2.0 |
ostlerc/nurikabe | README.md | 1265 | nurikabe
========
This project is a qml graphical UI for playing the logic puzzle nurikabe.
Requirements
------------
* golang >= 1.3
To install golang visit: https://golang.org/doc/install
* Qt >= 5
To install Qt visit: http://qt-project.org/downloads
* go-qml
run 'go get github.com/gopkg.in/qml.v1'
... | apache-2.0 |
google/syzkaller | pkg/testutil/norace.go | 243 | // Copyright 2018 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
//go:build !race
// +build !race
package testutil
const RaceEnabled = false
| apache-2.0 |