repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
ckwen/jeet | jeet-core/src/test/java/com/dev118/jeet/core/SpringJunitTest.java | 1186 | package com.dev118.jeet.core;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import or... | apache-2.0 |
wangjingfei/now-code | php/wp-content/themes/bombax/admin/template/header.php | 5125 | <?php if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
extract(itx_get_option('header'));?>
<div id="itx-header">
<h3>Custom Header</h3>
<p><b>Preview</b>: <small>(might not accurate)</small></p>
<p>The dotted line indicates the scope. (defined in: header options item number 6).</p>
<div class="outerwrap">
<?p... | apache-2.0 |
chuckatkins/legion | runtime/realm/custom_serdez.h | 6884 | /* Copyright 2016 Stanford University, NVIDIA 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 app... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/transform/UpdateGameSessionRequestProtocolMarshaller.java | 2719 | /*
* 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 |
vespa-engine/vespa | vespamalloc/src/tests/allocfree/producerconsumer.cpp | 2082 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "producerconsumer.h"
namespace vespalib {
Consumer::Consumer(uint32_t maxQueue, bool inverse) :
_queue(NULL, maxQueue),
_inverse(inverse),
_operations(0)
{
}
Consumer::~Consumer()
{
}
Producer:... | apache-2.0 |
lessthanoptimal/BoofCV | main/boofcv-feature/src/test/java/boofcv/alg/segmentation/slic/GeneralSegmentSlicColorChecks.java | 5813 | /*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | apache-2.0 |
sqlparser/sql2xml | sql2xml/src/gudusoft/gsqlparser/sql2xml/model/binary_factor.java | 269 |
package gudusoft.gsqlparser.sql2xml.model;
import org.simpleframework.xml.Element;
public class binary_factor
{
@Element
private binary_primary binary_primary = new binary_primary( );
public binary_primary getBinary_primary( )
{
return binary_primary;
}
}
| apache-2.0 |
mufaddalq/cloudstack-datera-driver | engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java | 11734 | // 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 |
Twinklebear/OSPRay | scripts/release/win.sh | 2152 | ## ======================================================================== ##
## Copyright 2015-2016 Intel Corporation ##
## ##
## Licensed under the Apache License, Version 2.0 (the "License"); ##
## y... | apache-2.0 |
openssl/openssl | include/crypto/dh.h | 2705 | /*
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | apache-2.0 |
tgdavies/codeworld | funblocks-client/src/Blockly/Event.hs | 3031 | {-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE JavaScriptFFI #-}
{-
Copyright 2018 The CodeWorld Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | apache-2.0 |
hopecee/texsts | samples/src/java/org/jpox/samples/interfaces/Circle.java | 3009 | /**********************************************************************
Copyright (c) 2003 Andy Jefferson and others. 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
h... | apache-2.0 |
appbaseio/reactivesearch | packages/web/examples/CustomSelectedFilters/src/index.js | 3322 | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import {
ReactiveBase,
DataSearch,
ResultList,
ReactiveList,
SelectedFilters,
} from '@appbaseio/reactivesearch';
import './index.css';
class Main extends Component {
render() {
return (
<ReactiveBase
app="good-books-ds"
u... | apache-2.0 |
Symantec/Dominator | fleetmanager/hypervisors/ipmi.go | 1243 | package hypervisors
import (
"math/rand"
"os/exec"
"strings"
"time"
)
const powerOff = "Power is off"
func (m *Manager) probeUnreachable(h *hypervisorType) probeStatus {
if m.ipmiPasswordFile == "" || m.ipmiUsername == "" {
return probeStatusUnreachable
}
var hostname string
if len(h.machine.IPMI.HostIpAdd... | apache-2.0 |
guofengrong/HomeworkOfJikexueyuan | Lesson7/百度图片瀑布流布局/js/baidu-pic.js | 3505 | /**
* Created by guofengrong on 15/10/26.
*/
var dataImg = {
"data": [{
"src": "1.jpg"
}, {
"src": "1.jpg"
}, {
"src": "2.jpg"
}, {
"src": "3.jpg"
}, {
"src": "4.jpg"
}, {
"src": "10.jpg"
}]
};
$(document).ready(function() {
$(window).on(... | apache-2.0 |
ripcurld0/moby | daemon/start.go | 8522 | package daemon
import (
"context"
"runtime"
"time"
"github.com/docker/docker/api/types"
containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/container"
"github.com/docker/docker/errdefs"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
// ContainerStart starts a cont... | apache-2.0 |
reaction1989/roslyn | src/Compilers/VisualBasic/Test/Symbol/SymbolsTests/WellKnownTypeValidationTests.vb | 47763 | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Xml.Linq
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Roslyn.Test.Utilities
Namespace Microso... | apache-2.0 |
lAnubisl/PostTrack | Posttrack.BLL.Tests/PackagePresentationSetviceTests.cs | 11739 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using Posttrack.BLL.Helpers.Interfaces;
using Posttrack.BLL.Interfaces;
using Posttrack.BLL.Interfac... | apache-2.0 |
1987yama3/power-analytics.appspot.com | test/unit/utilities.test.js | 1060 | import { expect } from 'chai';
import * as utilities from '../../src/utilities';
describe('utilities.capitalize()', () => {
it('capitalize', () => {
expect( utilities.capitalize('capitalize') == 'Capitalize' );
});
it('Capitalize', () => {
expect( utilities.capitalize('Capitalize') == 'Capitalize' );
}... | apache-2.0 |
weijiancai/metaui | fxbase/src/main/java/com/metaui/fxbase/view/desktop/MUTabsDesktop.java | 3558 | package com.metaui.fxbase.view.desktop;
import com.metaui.fxbase.model.AppModel;
import com.metaui.fxbase.model.NavMenuModel;
import com.metaui.fxbase.ui.IDesktop;
import com.metaui.fxbase.ui.view.MUTabPane;
import com.metaui.fxbase.view.tree.MUTree;
import javafx.collections.ListChangeListener;
import javafx.geometry... | apache-2.0 |
NationalSecurityAgency/timely | server/src/main/java/timely/configuration/Configuration.java | 3399 | package timely.configuration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.validation.Valid;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframew... | apache-2.0 |
MICommunity/psi-jami | jami-mitab/src/main/java/psidev/psi/mi/jami/tab/io/writer/extended/Mitab26ModelledWriter.java | 3389 | package psidev.psi.mi.jami.tab.io.writer.extended;
import psidev.psi.mi.jami.binary.ModelledBinaryInteraction;
import psidev.psi.mi.jami.binary.expansion.ComplexExpansionMethod;
import psidev.psi.mi.jami.model.ModelledInteraction;
import psidev.psi.mi.jami.tab.MitabVersion;
import java.io.File;
import java.io.IOExcep... | apache-2.0 |
scalatest/scalatest-website | public/scaladoc/3.0.0/org/scalatest/FlatSpecLike$ItWord.html | 37176 | <!DOCTYPE html >
<html>
<head>
<title>ItWord - ScalaTest 3.0.0 - org.scalatest.FlatSpecLike.ItWord</title>
<meta name="description" content="ItWord - ScalaTest 3.0.0 - org.scalatest.FlatSpecLike.ItWord" />
<meta name="keywords" content="ItWord ScalaTest 3.0.0 org.scalatest.FlatSpec... | apache-2.0 |
qinjin/mdtc-cassandra | src/java/org/apache/cassandra/io/sstable/SSTableDeletingTask.java | 4449 | /*
* 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 |
jamesmundy/Xamarin.AndroidSVG | README.md | 124 | Xamarin.AndroidSVG
==================
Xamarin Bindings for the [AndroidSVG Library](https://code.google.com/p/androidsvg/)
| apache-2.0 |
headwirecom/aem-ide-tooling-4-intellij | src/main/java/com/headwire/aem/tooling/intellij/config/ModuleManagerImpl.java | 13569 | /*
* 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 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Mammillaria/Mammillaria centricirrha/Mammillaria centricirrha macracantha/README.md | 206 | # Mammillaria centricirrha var. macracantha (DC.) K.Schum. VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Grindelia/Grindelia exilifolia/README.md | 190 | # Grindelia exilifolia A.Nelson ex Schmoll SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Cullumia setosa/ Syn. Berkheya setosa/README.md | 184 | # Berkheya setosa (L.) Willd. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Sapindales/Rutaceae/Diosma/Diosma pilosa/README.md | 174 | # Diosma pilosa I.Williams 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/Cyperaceae/Carpha/README.md | 184 | # Carpha Banks & Sol. ex R.Br. GENUS
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Euryops asparagoides/ Syn. Jacobaeastrum asparagoides/README.md | 208 | # Jacobaeastrum asparagoides (Licht. ex Less.) Kuntze 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/Chromista/Haptophyta/Prymnesiophyceae/Stephanolithiaceae/Stradnerlithus/Stradnerlithus escovillensis/README.md | 228 | # Stradnerlithus escovillensis (Rood & Barnard, 1972) Medd, 1979 SPECIES
#### 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/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Acanthostyles/Acanthostyles buniifolius/Eupatorium buniifolium buniifolium/README.md | 181 | # Eupatorium buniifolium var. buniifolium VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Scorzonera rupicola/README.md | 178 | # Scorzonera rupicola Hausskn. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Saccharomycetes/Saccharomycetales/Wickerhamomyces/Wickerhamomyces canadensis/README.md | 290 | # Wickerhamomyces canadensis (Wick.) Kurtzman, Robnett & Basehoar-Powers, 2008 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
FEMS Yeast Res. 8(6): 952 (2008)
#### Original name
Hansenula canadensis Wick., 1951
### Remarks
null | apache-2.0 |
AnonymousProductions/MineFantasy2 | src/main/java/minefantasy/mf2/api/knowledge/client/EntryPageImage.java | 1405 | package minefantasy.mf2.api.knowledge.client;
import org.lwjgl.opengl.GL11;
import minefantasy.mf2.api.helpers.RenderHelper;
import minefantasy.mf2.api.helpers.TextureHelperMF;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.util.StatCollector;
public class Entr... | apache-2.0 |
geniusgithub/KJFrameForAndroid | PluginExample/src/org/kymjs/aframe/plugin/example/TestBindService.java | 809 | package org.kymjs.aframe.plugin.example;
import org.kymjs.aframe.plugin.service.CJService;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;
/**
* 作为插件Service必须继承CJService
*/
public class TestBindService extends CJ... | apache-2.0 |
missedone/testng | src/main/java/org/testng/xml/TestNGContentHandler.java | 26284 | package org.testng.xml;
import static org.testng.internal.Utils.isStringBlank;
import org.testng.ITestObjectFactory;
import org.testng.TestNGException;
import org.testng.collections.Lists;
import org.testng.collections.Maps;
import org.testng.internal.RuntimeBehavior;
import org.testng.internal.Utils;
import org.test... | apache-2.0 |
lazyarea/umbrella | templates/api/index.html | 129 | <html>
<head lang="ja">
<meta charset="UTF-8">
<title>{{ title }}</title>
</head>
<body>
api/index.html
</body>
</html>
| apache-2.0 |
phil-brown/javaQuery | src/org/jdesktop/core/animation/timing/TimingTargetAdapter.java | 2073 | package org.jdesktop.core.animation.timing;
import self.philbrown.javaQuery.Modified;
import com.surelogic.ThreadSafe;
/**
* Implements the {@link TimingTarget} interface, providing stubs for all timing
* target methods. Subclasses may extend this adapter rather than implementing
* the {@link TimingTarget} interf... | apache-2.0 |
RoboJackets/apiary | app/Http/Requests/StoreNotificationTemplateRequest.php | 982 | <?php
declare(strict_types=1);
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class StoreNotificationTemplateRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}... | apache-2.0 |
mdoering/backbone | life/Plantae/Lomandraceae/Xerotes/Xerotes echinata/README.md | 173 | # Xerotes echinata Benth. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
praetoriandroid/sony-camera-remote-java | sony-camera-remote-lib/src/main/java/com/praetoriandroid/cameraremote/ServiceNotSupportedException.java | 279 | package com.praetoriandroid.cameraremote;
public class ServiceNotSupportedException extends RpcException {
private static final long serialVersionUID = -4740335873344202486L;
public ServiceNotSupportedException(String serviceType) {
super(serviceType);
}
}
| apache-2.0 |
kstilwell/tcex | tests/batch/test_indicator_interface_3.py | 6925 | """Test the TcEx Batch Module."""
# third-party
import pytest
# pylint: disable=no-self-use
class TestIndicator3:
"""Test the TcEx Batch Module."""
def setup_class(self):
"""Configure setup before all tests."""
@pytest.mark.parametrize(
'indicator,description,label,tag',
[
... | apache-2.0 |
monoman/cnatural-language | tests/resources/LibraryTest/sources/ToIntTMap5.stab.cs | 467 | using java.lang;
using java.util;
using stab.query;
public class ToIntTMap5 {
public static bool test() {
var map1 = new HashMap<Integer, string> { { 1, "V1" }, { 2, "V2" }, { 3, "V3" }};
var list = new ArrayList<string> { "V1", "V2", "V3" };
var key = 1;
var map2 = list.toMap(p => key++);
int i = 0;
fore... | apache-2.0 |
google/resultstoreui | resultstoresearch/client/src/components/InvocationTable/types.ts | 821 | import invocation_pb from '../../api/invocation_pb';
import { State as PageWrapperState } from '../SearchWrapper';
export interface Data {
status: string;
name: string;
labels: string;
date: string;
duration: string;
user: string;
}
export interface Column {
id: 'status' | 'name' | 'labels... | apache-2.0 |
fenik17/netty | example/src/main/java/io/netty/example/http2/helloworld/frame/client/Http2ClientStreamFrameResponseHandler.java | 2568 | /*
* Copyright 2020 The Netty Project
*
* The Netty Project 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | apache-2.0 |
brenthub/brent-console | brent-console-interface/src/main/java/cn/brent/console/table/TSysUidSysid.java | 388 | package cn.brent.console.table;
/**
* <p>
* 实体类-
* </p>
* <p>
* Table: sys_uid_sysid
* </p>
*
* @since 2015-08-18 05:00:27
*/
public class TSysUidSysid {
/** */
public static final String UID = "UID";
/** */
public static final String SYS = "SYS";
/** */
public static final String SysID = "SysID";... | apache-2.0 |
VincentFxz/EAM | src/main/java/com/dc/smarteam/test/entity/TestTree.java | 1652 | /**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.dc.smarteam.test.entity;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import co... | apache-2.0 |
obarnet/Teste | SearchMonkeySRC/engine/SearcherFactory.cpp | 952 | #include "ContentSearcher.h"
#include "FileNameSearcher.h"
#include "FileSizeSearcher.h"
#include "FileTimeSearcher.h"
#include "Searcher.h"
#include "SearcherFactory.h"
#include "../SearchParameter.h"
Searcher* SearcherFactory::BuildSearcher(const SearchParameter& param)
{
PhaseOneParameter oneParam = *... | apache-2.0 |
couchbase/perfrunner | perfrunner/tests/dcp.py | 4121 | from perfrunner.helpers import local
from perfrunner.helpers.cbmonitor import timeit, with_stats
from perfrunner.helpers.profiler import with_profiles
from perfrunner.helpers.worker import java_dcp_client_task
from perfrunner.tests import PerfTest
class DCPThroughputTest(PerfTest):
def _report_kpi(self, time_ela... | apache-2.0 |
howbigbobo/com.lianyu.tech | website/src/main/java/com/lianyu/tech/website/web/controller/verify/VerifyCodeValidator.java | 978 | package com.lianyu.tech.website.web.controller.verify;
import com.lianyu.tech.core.platform.exception.InvalidRequestException;
import com.lianyu.tech.core.util.StringUtils;
import com.lianyu.tech.website.web.SessionConstants;
import com.lianyu.tech.website.web.SiteContext;
import org.springframework.stereotype.Service... | apache-2.0 |
prebid/prebid-server | metrics/metrics_mock.go | 4060 | package metrics
import (
"time"
"github.com/prebid/prebid-server/openrtb_ext"
"github.com/stretchr/testify/mock"
)
// MetricsEngineMock is mock for the MetricsEngine interface
type MetricsEngineMock struct {
mock.Mock
}
// RecordRequest mock
func (me *MetricsEngineMock) RecordRequest(labels Labels) {
me.Called... | apache-2.0 |
javabits/yar | yar-api/src/main/java/org/javabits/yar/SupplierListener.java | 886 | /*
* Copyright 2013 Romain Gilles
*
* 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 |
mdoering/backbone | life/Fungi/Ascomycota/Arthoniomycetes/Arthoniales/Arthoniaceae/Arthonia/Arthonia esculenta/README.md | 183 | # Arthonia esculenta (Pall.) Ach. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lichen esculentus Pall.
### Remarks
null | apache-2.0 |
Shynixn/PetBlocks | docs/build/html/customizing/ai.html | 18539 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=devi... | apache-2.0 |
JetBrains/resharper-unity | resharper/resharper-unity/src/Unity/CSharp/Feature/Services/CallGraph/PerformanceAnalysis/PerformanceAnalysisContextActionBase.cs | 1574 | using JetBrains.Annotations;
using JetBrains.Diagnostics;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon;
using JetBrains.ReSharper.Feature.Services.CSharp.ContextActions;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.PerformanceCriticalCodeAnalysis.ContextSystem;
using JetBrains.ReSharpe... | apache-2.0 |
kbabioch/arx | doc/gui/org/deidentifier/arx/gui/view/impl/menu/DialogSeparator.html | 19025 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>DialogSeparator (ARX GUI Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script t... | apache-2.0 |
consulo/consulo | modules/base/core-impl/src/main/java/com/intellij/extapi/psi/ASTWrapperPsiElement.java | 1314 | /*
* Copyright 2000-2009 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 |
adolfmc/zabbix-parent | zabbix-sisyphus/src/main/java/com/zabbix/sisyphus/contract/entity/CreditPro.java | 4070 | package com.zabbix.sisyphus.contract.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
... | apache-2.0 |
xLeitix/jcloudscale | docs/javadoc/apidocs/at/ac/tuwien/infosys/jcloudscale/vm/localVm/package-use.html | 7980 | <!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_12-ea) on Wed Feb 05 23:03:20 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Package ... | apache-2.0 |
xqbase/util | util/src/test/java/Shutdown.java | 269 | import java.io.IOException;
import java.net.Socket;
public class Shutdown {
public static void main(String[] args) throws IOException {
try (Socket socket = new Socket("localhost", 8005)) {
socket.getOutputStream().write("SHUTDOWN".getBytes());
}
}
} | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2018.5.0/apidocs/org/wildfly/swarm/config/security/security_domain/ClassicACLConsumer.html | 11886 | <!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 May 02 00:35:06 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClassicACLConsumer (BOM: *... | apache-2.0 |
sword42/react-ui-helpers | src/input/InputModel.js | 4219 | import { forOwn, forEach, keys, values, isNil, isEmpty as _isEmpty, isObject, bind } from 'lodash'
import { Promise } from 'bluebird'
function InputModel(vals) {
let modelValue = (vals['value'] ? vals['value'] : null )
let viewValue = modelValue
let valid = true
let pristine = true
let listeners = setupListeners(... | apache-2.0 |
Intel-EPID-SDK/epid-sdk | ext/ipp-crypto/sources/ippcp/pcparcfourencrypt.c | 2074 | /*******************************************************************************
* Copyright 2005-2020 Intel 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.apa... | apache-2.0 |
tensorflow/docs-l10n | site/zh-cn/community/contribute/code.md | 7554 | # 为 TensorFlow 代码做贡献
无论您是添加损失函数、提高测试覆盖率还是为重大设计变更编写 RFC,本部分贡献者指南将帮助您快速入门。感谢您为改进 TensorFlow 所做的工作和给予的关注。
## 准备工作
在为 TensorFlow 项目贡献源代码之前,请查看该项目的 GitHub 仓库中的 `CONTRIBUTING.md` 文件。(例如,请参阅[核心 TensorFlow 仓库的 CONTRIBUTING.md 文件](https://github.com/tensorflow/tensorflow/blob/master/CONTRIBUTING.md)。)所有代码贡献者都需要签署[贡献者许可协议](ht... | apache-2.0 |
serious6/HibernateSimpleProject | javadoc/hibernate_Doc/org/hibernate/annotations/class-use/Generated.html | 6519 | <!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_45) on Mon Mar 03 10:44:37 EST 2014 -->
<title>Uses of Class org.hibernate.annotations.Generated (Hibernate JavaDocs)</title>
<meta nam... | apache-2.0 |
hoangelos/Herd | demo/misc/manager_node1.py | 209 | from herd.manager.server import HerdManager
manager = HerdManager(address=None, port=8339, ip='127.0.0.1', config=None,
stream_ip='127.0.0.1', stream_port=8338)
manager.start_listener()
| apache-2.0 |
domeos/server | src/main/java/org/domeos/framework/api/model/deployment/related/DeploymentAccessType.java | 163 | package org.domeos.framework.api.model.deployment.related;
/**
* Created by xupeng on 16-2-25.
*/
public enum DeploymentAccessType {
K8S_SERVICE,
DIY
}
| apache-2.0 |
mapr/impala | thirdparty/hive-0.12.0-cdh5.1.2/src/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb | 33420 | #
# Autogenerated by Thrift Compiler (0.9.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
require 'thrift'
require 'fb303_types'
module HiveObjectType
GLOBAL = 1
DATABASE = 2
TABLE = 3
PARTITION = 4
COLUMN = 5
VALUE_MAP = {1 => "GLOBAL", 2 => "DATABASE", 3 => "TABLE", 4 => "PART... | apache-2.0 |
mydearxym/mastani | src/containers/content/SubscribeContent/index.tsx | 1040 | /*
*
* SubscribeContent
*
*/
import { FC } from 'react'
import type { TMetric } from '@/spec'
import { METRIC } from '@/constant'
import { buildLog } from '@/utils/logger'
import { pluggedIn } from '@/utils/mobx'
import Content from './Content'
import Actions from './Actions'
import type { TStore } from './store... | apache-2.0 |
plusplusjiajia/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemOverloadSchemeHdfsFileSystemContract.java | 4295 | /**
* 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 |
roxans-studio/project-tarnhelm | maps.html | 1421 | <div>
<strong>Start: </strong>
<select id="start" onchange="calcRoute();">
<option value="chicago, il">Chicago</option>
<option value="st louis, mo">St Louis</option>
<option value="joplin, mo">Joplin, MO</option>
<option value="oklahoma city, ok">Oklahoma City</option>
<option value="amarillo, tx">Ama... | apache-2.0 |
steerapi/KichenSinkLive | Resources/examples/contacts_picker.js | 3139 | setTimeout(function(){
(function(){
id = Ti.App.Properties.getString("tisink", "");
var param, xhr;
file = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,"examples/contacts_picker.js");
text = (file.read()).text
xhr = Titanium.Network.createHTTPClient();
xhr.open("POST", "h... | apache-2.0 |
stdlib-js/stdlib | lib/node_modules/@stdlib/ndarray/safe-casts/docs/types/test.ts | 982 | /*
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib 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 ap... | apache-2.0 |
eschwert/ontop | ontop-protege/src/main/java/org/semanticweb/ontop/protege/utils/DatasourceSelectorListener.java | 922 | package org.semanticweb.ontop.protege.utils;
/*
* #%L
* ontop-protege4
* %%
* Copyright (C) 2009 - 2013 KRDB Research Centre. Free University of Bozen Bolzano.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | apache-2.0 |
KvanTTT/BaseNcoding | BaseNcoding.Tests/BaseNTests.cs | 4051 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace BaseNcoding.Tests
{
[TestFixture]
public class BaseNTests
{
[Test]
public void BaseNCompareToBase64()
{
string s = "aaa";
var converter = new BaseN(Base64.DefaultAlphabet);
s... | apache-2.0 |
joel-costigliola/assertj-core | src/test/java/org/assertj/core/api/atomic/referencearray/AtomicReferenceArrayAssert_areExactly_Test.java | 1432 | /*
* 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 |
sdc1234/zhihu-spider | src/main/java/com/wei/you/zhihu/spider/task/SpiderTask.java | 720 | package com.wei.you.zhihu.spider.task;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.wei.you.zhihu.spider.service.IZhihuRecommendationService;
/**
* 定时任务
*
* @author sunzc
*
... | apache-2.0 |
ChamNDeSilva/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.rest.api.commons/src/main/java/org/wso2/carbon/apimgt/rest/api/common/impl/OAuth2Authenticator.java | 17387 | /*
*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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
*
* http://... | apache-2.0 |
MyRobotLab/myrobotlab | src/test/java/org/myrobotlab/service/data/PinTest.java | 566 | package org.myrobotlab.service.data;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import org.myrobotlab.test.AbstractTest;
public class PinTest extends AbstractTest {
@Test
public void testPin() {
Pin p = new Pin();
assertNotNull(p);
... | apache-2.0 |
HaStr/kieker | kieker-common/test-gen/kieker/test/common/junit/api/system/TestResourceUtilizationRecordPropertyOrder.java | 5766 | /***************************************************************************
* Copyright 2015 Kieker Project (http://kieker-monitoring.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 a... | apache-2.0 |
redmeros/Lean | Common/SymbolRepresentation.cs | 11972 | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | apache-2.0 |
nghiant2710/base-images | balena-base-images/node/qemux86-64/ubuntu/eoan/15.7.0/run/Dockerfile | 2915 | # AUTOGENERATED FILE
FROM balenalib/qemux86-64-ubuntu:eoan-run
ENV NODE_VERSION 15.7.0
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.com -... | apache-2.0 |
arpg/Gazebo | gazebo/sensors/SensorFactory.hh | 3223 | /*
* Copyright (C) 2012-2014 Open Source Robotics 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... | apache-2.0 |
AlanBarber/CodeKatas | src/PiCalculator.Tests/PiCalculatorTestsPart1.cs | 654 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PiCalculator.Tests
{
[TestClass]
public class PiCalculatorTestsPart1
{
private PiCalculator piCalculator;
[TestInitialize]
public void TestInitialize()
{
piCalculator = new PiCalculator... | apache-2.0 |
jcmturner/java-kerberos-utils | KerberosUtils/src/main/java/uk/co/jtnet/security/kerberos/pac/PacConstants.java | 716 | package uk.co.jtnet.security.kerberos.pac;
public interface PacConstants {
static final int PAC_VERSION = 0;
static final int LOGON_INFO = 1;
static final int KERB_VALIDATION_INFO = 1;
static final int PAC_CREDENTIALS = 2;
static final int SERVER_CHECKSUM = 6;
static final int KDC_PRIVSERVER_CHECKSUM = ... | apache-2.0 |
ludovicc/testng-debian | src/main/org/testng/reporters/util/StackTraceTools.java | 1406 | package org.testng.reporters.util;
import org.testng.ITestNGMethod;
/**
* Functionality to allow tools to analyse and subdivide stack traces.
*
* @author Paul Mendelson
* @since 5.3
* @version $Revision$
*/
public class StackTraceTools {
// ~ Methods ----------------------------------------------------------... | apache-2.0 |
dukechain/Qassandra | interface/thrift/gen-java/org/apache/cassandra/thrift/CqlRow.java | 16258 | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.cassandra.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import ... | apache-2.0 |
Ensembl/ensembl-compara | conf/citest/production_init_reg_conf.pl | 2152 | #!/usr/bin/env perl
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:... | apache-2.0 |
mklab/taskit | src/main/java/org/mklab/taskit/shared/UserRequest.java | 1428 | /*
* 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
* distribu... | apache-2.0 |
lioutasb/CSCartApp | app/src/main/java/gr/plushost/prototypeapp/fragments/NavigationDrawerFragment.java | 18920 | package gr.plushost.prototypeapp.fragments;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v4.app.Fragment;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar... | apache-2.0 |
dmilos/color | src/color/cmyk/akin/xyz.hpp | 1053 | #ifndef color_cmyk_akin_xyz
#define color_cmyk_akin_xyz
#include "../../generic/akin/cmyk.hpp"
#include "../category.hpp"
#include "../../xyz/category.hpp"
namespace color
{
namespace akin
{
template< >struct cmyk< ::color::category::xyz_uint8 >{ typedef ::color::category::cmyk_uint8 akin_t... | apache-2.0 |
lakshmiDRIP/DRIP | Javadoc/org/drip/sample/fundingfeed/AUDSmoothReconstitutor.html | 9709 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Wed Jan 04 22:31:18 EST 2017 -->
<title>AUDSmoothReconstitutor</title>
<meta name="date" content="2017-01-04">
<link rel="stylesheet" t... | apache-2.0 |
xin053/xin053.github.io | archives/index.html | 26107 | <!doctype html>
<html class="theme-next mist use-motion">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equi... | apache-2.0 |
strubell/Parser | bin/plot_attn.py | 3315 | from __future__ import division
from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
import os
import string
plt.ioff()
data = np.load("attn_weights.npz")
lines = map(lambda x: x.split('\t'), open("sanitycheck.txt", 'r').readlines())
save_dir = "attn_plots3"
sentences = []
current_... | apache-2.0 |
openstack/smaug | karbor/tests/unit/api/v1/test_quotas.py | 4032 | # 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
# d... | apache-2.0 |
Syncleus/aparapi | src/test/java/com/aparapi/codegen/test/EmptyIfBlock.java | 802 | /**
* Copyright (c) 2016 - 2018 Syncleus, 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 la... | apache-2.0 |
play2-maven-plugin/play2-maven-plugin.github.io | play2-maven-plugin/1.0.0-beta6/play2-source-watchers/play2-source-watcher-jnotify/apidocs/com/google/code/play2/watcher/jnotify/class-use/JNotifyFileWatchService.html | 4872 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.code.play2.watcher.jnotify.JNotifyFileWatchSer... | apache-2.0 |