code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ha... | Hazlo/hazlo-web | Hazlo/hazlo.api/Properties/AssemblyInfo.cs | C# | unlicense | 1,412 |
/**
* @defgroup Win Win
* @ingroup Elementary
*
* @image html win_inheritance_tree.png
* @image latex win_inheritance_tree.eps
*
* @image html img/widget/win/preview-00.png
* @image latex img/widget/win/preview-00.eps
*
* The window class of Elementary. Contains functions to manipulate
* windows. The Evas en... | maikodaraine/EnlightenmentUbuntu | core/elementary/src/lib/elm_win.h | C | unlicense | 5,226 |
/**
******************************************************************************
* @file USB_Host/MSC_RTOS/Src/menu.c
* @author MCD Application Team
* @version V1.3.0
* @date 18-December-2015
* @brief This file implements Menu Functions
**************************************************... | hyller/CodeLibrary | stm32cubef1/STM32Cube_FW_F1_V1.3.0/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/menu.c | C | unlicense | 9,254 |
/*
FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... | hyller/GladiatorCots | QP/v5.4.2/qpcpp/3rd_party/FreeRTOS/Source/portable/MemMang/heap_5.c | C | unlicense | 20,516 |
package com.yao.spring_hello_world_demo.controller;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.http.MediaType;
import org.springframework.test.context.junit4.SpringRunner;
import org.springfram... | xiaoxiaoyao/MyApp | JAVA/spring_hello_world_demo/src/test/java/com/yao/spring_hello_world_demo/controller/UserControllerRESTfultest.java | Java | unlicense | 2,876 |
from h2o.estimators.xgboost import *
from h2o.estimators.gbm import *
from tests import pyunit_utils
def xgboost_vs_gbm_monotone_test():
assert H2OXGBoostEstimator.available() is True
monotone_constraints = {
"AGE": 1
}
xgboost_params = {
"tree_method": "exact",
"seed": 123,
... | michalkurka/h2o-3 | h2o-py/tests/testdir_misc/pyunit_xgboost_gbm_monotone.py | Python | apache-2.0 | 1,780 |
/*
* Copyright 2016 Alexey Andreev.
*
* 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... | jtulach/teavm | core/src/main/java/org/teavm/model/optimization/UnreachableBasicBlockEliminator.java | Java | apache-2.0 | 3,402 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fi_FI">
<context>
<name>AboutBox</name>
<message>
<location filename="aboutbox.ui" line="14"/>
<source>About Q Light Controller Plus</source>
<oldsource>About Q Light Controller</oldsource>
<translat... | peternewman/qlcplus | ui/src/qlcplus_fi_FI.ts | TypeScript | apache-2.0 | 315,616 |
<!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_55) on Fri Jun 20 06:34:21 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | BibAlex/bhl_rails_4_solr | docs/solr-core/org/apache/solr/rest/class-use/SolrConfigRestApi.html | HTML | apache-2.0 | 4,769 |
<!DOCTYPE html>
<!--
@license
Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | WANdisco/gerrit | polygerrit-ui/app/elements/shared/gr-account-label/gr-account-label_test.html | HTML | apache-2.0 | 4,082 |
## FFPOJO - Flat File POJO Parser ## [](https://travis-ci.org/ffpojo/ffpojo)
The **FFPOJO Project** is a **Flat-File Parser**, POJO based, library for Java applications. It's a **Object-Oriented** approach to work to flat-files, because the libray is based on **P... | ffpojo/ffpojo | readme.md | Markdown | apache-2.0 | 35,865 |
<!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_91) on Thu Jun 30 16:22:00 BST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.tav... | apache/incubator-taverna-site | content/javadoc/taverna-common-activities/org/apache/taverna/activities/rest/class-use/HTTPRequest.html | HTML | apache-2.0 | 8,292 |
package liquibase.database.core;
import java.math.BigInteger;
import liquibase.CatalogAndSchema;
import liquibase.database.AbstractJdbcDatabase;
import liquibase.database.DatabaseConnection;
import liquibase.database.OfflineConnection;
import liquibase.statement.core.RawSqlStatement;
import liquibase.structure.Databa... | gquintana/liquibase | liquibase-core/src/main/java/liquibase/database/core/MSSQLDatabase.java | Java | apache-2.0 | 12,030 |
// Copyright 2022 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 in ... | googleapis/google-cloud-dotnet | apis/Google.Cloud.DataLabeling.V1Beta1/Google.Cloud.DataLabeling.V1Beta1.GeneratedSnippets/DataLabelingServiceClient.ExportDataRequestObjectSnippet.g.cs | C# | apache-2.0 | 3,120 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ml.action;
import org.elasticsearch.action.Ac... | nknize/elasticsearch | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java | Java | apache-2.0 | 2,337 |
package com.sino.scaffold.bean.acl;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import com.sino.scaffold.bean.Entity;
/**
*
* @author kerbores
*
* @email kerbores@gmail.com
... | Kerbores/Falsework | boot-nutz-vue/src/main/java/com/sino/scaffold/bean/acl/Permission.java | Java | apache-2.0 | 2,903 |
# ===============================================================================
# Copyright 2015 Jake Ross
#
# 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... | USGSDenverPychron/pychron | pychron/pipeline/tasks/panes.py | Python | apache-2.0 | 28,668 |
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
const CC = Components.Constructor;
const BinaryInputStream = CC("@mozilla.org/binaryinputstream;1",
"nsIBinaryInputStream",
"setInputStr... | wilebeast/FireFox-OS | B2G/gecko/netwerk/test/unit/socks_client_subprocess.js | JavaScript | apache-2.0 | 1,633 |
class EventSerializer < Serializer
def self.serialize(event, container=nil)
@serializers = {
transaction_open: method(:serialize_transaction_open),
invoice_push: method(:serialize_invoice_push),
transformation_add: method(:serialize_transformation_add),
tran... | Xalgorithms/xa-elegans | app/serializers/event_serializer.rb | Ruby | apache-2.0 | 4,008 |
package com.beecavegames.poker.bot.strategies;
import com.beecavegames.poker.PokerSeat;
import com.beecavegames.poker.PokerTable;
import com.beecavegames.poker.bot.PokerBot;
import com.beecavegames.poker.fsm.Event;
public class BailStrategy extends AbstractPlayStrategy {
private static final long serialVersionUID =... | sgmiller/hiveelements | gameelements/src/main/java/poker/bot/strategies/BailStrategy.java | Java | apache-2.0 | 686 |
/**
* 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... | massakam/pulsar | pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/metrics/AuthenticationMetrics.java | Java | apache-2.0 | 2,257 |
/**
* 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... | rafaelgarrote/metamodel | core/src/test/java/org/apache/metamodel/query/FilterItemTest.java | Java | apache-2.0 | 20,420 |
/*
* Copyright 2000-2015 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... | Soya93/Extract-Refactoring | platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogRefresherImpl.java | Java | apache-2.0 | 18,836 |
package de.yogularm.minecraft.itemfinder.region;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import com.google.common.collect.ImmutableList;
/**
* Represents the terrain of one minecraft world
*/
public class World {
private List<Dimension> dimensions ... | Yogu/itemfinder | src/main/java/de/yogularm/minecraft/itemfinder/region/World.java | Java | apache-2.0 | 2,112 |
/*
* Copyright 2003-2009 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... | komalsukhani/debian-groovy2 | src/main/org/codehaus/groovy/transform/sc/transformers/MethodCallExpressionTransformer.java | Java | apache-2.0 | 7,966 |
/*
Copyright 2020 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | knative/serving | vendor/knative.dev/pkg/depcheck/depcheck.go | GO | apache-2.0 | 5,205 |
$packageName = 'ums'
$installerType = 'exe'
$silentArgs = '/S'
# hack to workaround limitation with chocopkgup/ketarin
$url = 'http://sourceforge.net/projects/unimediaserver/files/Official%20Releases/Windows/UMS-5.0.0-Java7.exe/download'
$validExitCodes = @(0)
Install-ChocolateyPackage "$packageName" "$installerType"... | dtgm/chocolatey-packages | automatic/_output/ums/5.0.0/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 375 |
/*
* 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/geronimo-yoko | yoko-core/src/test/java/test/retry/RetryPOA.java | Java | apache-2.0 | 4,450 |
package br.com.empresa.infrastructure.config;
import java.util.EnumSet;
import java.util.List;
import javax.servlet.DispatcherType;
import javax.servlet.FilterRegistration;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import org.springframework.context.annotation.Bean;
import org.sprin... | GUMGA/piloto | piloto-infrastructure/src/main/java/br/com/empresa/infrastructure/config/WebConfig.java | Java | apache-2.0 | 4,931 |
/*
* Copyright 2006-2008 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 re... | youjava/easyjweb | src/ext/src/main/java/com/easyjf/core/support/GenericPageList.java | Java | apache-2.0 | 1,718 |
from java.lang import Long, Object
from clamp import clamp_base, Constant
TestBase = clamp_base("org")
class ConstSample(TestBase, Object):
myConstant = Constant(Long(1234), Long.TYPE) | jythontools/clamp | tests/integ/clamp_samples/const_.py | Python | apache-2.0 | 191 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | vvcephei/elasticsearch | core/src/test/java/org/elasticsearch/client/node/NodeClientHeadersTests.java | Java | apache-2.0 | 2,853 |
package org.kie.server.integrationtests;
import org.junit.BeforeClass;
import org.junit.Test;
import org.kie.server.api.model.KieContainerResource;
import org.kie.server.api.model.ReleaseId;
import org.kie.server.api.model.ServiceResponse;
public class RuleFlowIntegrationTest extends KieServerBaseIntegrationTest {
... | hxf0801/droolsjbpm-integration | kie-server-parent/kie-server-tests/kie-server-rest-tests/src/test/java/org/kie/server/integrationtests/RuleFlowIntegrationTest.java | Java | apache-2.0 | 1,706 |
// bdlat_enumfunctions.h -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | che2/bde | groups/bdl/bdlat/bdlat_enumfunctions.h | C | apache-2.0 | 17,798 |
# Copyright 2016 Google LLC 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 ag... | dhermes/google-cloud-python | spanner/google/cloud/spanner_v1/client.py | Python | apache-2.0 | 11,355 |
package org.ovirt.engine.core.common.queries;
public enum ImportCandidateSourceEnum {
KVM,
VMWARE;
public int getValue() {
return this.ordinal();
}
public static ImportCandidateSourceEnum forValue(int value) {
return values()[value];
}
}
| jbeecham/ovirt-engine | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ImportCandidateSourceEnum.java | Java | apache-2.0 | 281 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.tuple;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
class AbstractHas1<V1> implements Tuple, Has1<V1> {
final V1 v1;
protected AbstractHas1(V1 v1) {
thi... | permazen/permazen | permazen-util/src/main/java/io/permazen/tuple/AbstractHas1.java | Java | apache-2.0 | 1,919 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen;
import io.permazen.annotation.JField;
import io.permazen.annotation.JMapField;
import io.permazen.annotation.PermazenType;
import io.permazen.test.TestSupport;
import java.util.Arrays;
import java.util.List;
import java.util.Map... | permazen/permazen | permazen-main/src/test/java/io/permazen/FieldTypesConflictTest.java | Java | apache-2.0 | 5,747 |
package net.finmath.montecarlo;
import java.text.DecimalFormat;
import org.apache.commons.math3.complex.Complex;
import org.junit.Test;
import net.finmath.stochastic.RandomVariable;
import net.finmath.time.TimeDiscretization;
import net.finmath.time.TimeDiscretizationFromArray;
/**
* We test the Variance Gamma pro... | finmath/finmath-lib | src/test/java8/net/finmath/montecarlo/VarianceGammaTest.java | Java | apache-2.0 | 2,965 |
/**
* 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... | beysims/reef | lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/remote/transport/netty/NettyChannelHandlerFactory.java | Java | apache-2.0 | 1,182 |
goog.provide('nclosure.examples.animals.IAnimal');
/**
* This is the base animal interface that will be inherited by all animals.
*
* @interface
*/
nclosure.examples.animals.IAnimal = function() {};
/**
* Makes the animal talk in its own special way
*/
nclosure.examples.animals.IAnimal.prototype.talk = goog... | rakyll/nclosure | examples/animals/ianimal.js | JavaScript | apache-2.0 | 337 |
<?php
/*
* 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 t... | googleapis/google-api-php-client-services | src/DataLabeling/GoogleCloudDatalabelingV1beta1ImageClassificationConfig.php | PHP | apache-2.0 | 1,957 |
<!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_60) on Mon Mar 28 17:12:20 AEST 2016 -->
<title>Uses of Interface org.apache.river.fiddler.Fiddler (River-Internet vtrunk API Documentation (in... | pfirmstone/JGDMS | JGDMS/src/site/resources/old-static-site/doc/internals/org/apache/river/fiddler/class-use/Fiddler.html | HTML | apache-2.0 | 44,666 |
/*
* Copyright 2016 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 agr... | floviolleau/vector-android | vector/src/main/java/im/vector/activity/VectorSettingsActivity.java | Java | apache-2.0 | 2,063 |
require 'slim'
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, tables: true, no_intra_emphasis: true, with_toc_data: true
require 'lib/lexer_habitat_studio'
activate :vegas
###
# Page options, layouts, aliases and proxies
###
# Per-page layout changes:
#
# With no layout
page '/*.xml', lay... | georgemarshall/habitat | www/config.rb | Ruby | apache-2.0 | 12,210 |
# API Docs - v4.2.4
## Core
### and *<a target="_blank" href="https://wso2.github.io/siddhi/documentation/siddhi-4.0/#aggregate-function">(Aggregate Function)</a>*
<p style="word-wrap: break-word">Returns the results of AND operation for all the events.</p>
<span id="syntax" class="md-typeset" style="display: block... | ksdperera/siddhi | docs/api/4.2.4.md | Markdown | apache-2.0 | 100,432 |
/*
* $Header: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/BaseForm.java,v 1.1.1.1 2002/07/18 16:48:22 remm Exp $
* $Revision: 1.1.1.1 $
* $Date: 2002/07/18 16:48:22 $
*
* ====================================================================
*
* The Apache Software... | devjin24/howtomcatworks | bookrefer/jakarta-tomcat-5.0.18-src/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/BaseForm.java | Java | apache-2.0 | 5,654 |
package org.apache.commons.jcs3.auxiliary;
/*
* 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 A... | apache/commons-jcs | commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AbstractAuxiliaryCacheMonitor.java | Java | apache-2.0 | 5,842 |
/**
* @provides phabricator-remarkup-css
*/
.phabricator-remarkup {
line-height: 1.51em;
word-break: break-word;
}
.phabricator-remarkup p {
margin: 0 0 12px;
}
.PhabricatorMonospaced,
.phabricator-remarkup .remarkup-code-block .remarkup-code {
font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;
}
.... | huangjimmy/phabricator-1 | webroot/rsrc/css/core/remarkup.css | CSS | apache-2.0 | 18,339 |
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | kamalmarhubi/bazel | src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/ArmCrosstools.java | Java | apache-2.0 | 18,157 |
// 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.Search.Documents.Indexes.Models
{
public partial class PhoneticTokenFilter : IUtf8JsonSerializable
{
void I... | stankovski/azure-sdk-for-net | sdk/search/Azure.Search.Documents/src/Generated/Models/PhoneticTokenFilter.Serialization.cs | C# | apache-2.0 | 2,523 |
package com.cattong.sns.impl.facebook;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.cattong.commons.LibException;
import com.cattong.commons.LibResultCode;
import com.cattong.commons.ServiceProvider;
im... | 0359xiaodong/YiBo | YiBoLibrary/src/com/cattong/sns/impl/facebook/FacebookPhotoAdapter.java | Java | apache-2.0 | 2,404 |
#
# Author:: Adam Jacob (<adam@opscode.com>)
# Copyright:: Copyright (c) 2008 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# htt... | BackSlasher/chef | spec/unit/knife/node_delete_spec.rb | Ruby | apache-2.0 | 2,147 |
/**
* 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 ... | BUPTAnderson/apache-hive-2.1.1-src | ql/src/test/org/apache/hadoop/hive/ql/io/parquet/serde/TestAbstractParquetMapInspector.java | Java | apache-2.0 | 3,638 |
/**
* 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"); yo... | eschwert/Wicket-tutorial-examples | LocalizedChoicesExample/src/test/java/org/wicketTutorial/localizechoices/TestHomePage.java | Java | apache-2.0 | 1,476 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0137)http://demo.Saivi.cn/index.php?g=Wap&m=Index&a=index&token=vemmyj1400164325&wecha_id=oKhaVjqgLaKArgt56avxkHtsuPtI&sgssz=mp.weixin.qq.com -->
<html xmlns="http://www.w3.or... | taobataoma/saivi | tpl/Wap/default/Index_1116.html | HTML | apache-2.0 | 8,958 |
package com.starlight36.yar.client;
import java.io.IOException;
/**
* com.starlight36.yar.client.Main
*/
public class Main {
public static void main(String[] args) throws IOException {
YarClient client = new YarClient("http://localhost/yar.php");
DummyTimeDto time = client.call("doSomething", Du... | starlight36/yar-client-java | src/test/java/com/starlight36/yar/client/Main.java | Java | apache-2.0 | 466 |
// Copyright 2000-2017 JetBrains s.r.o.
// Use of this source code is governed by the Apache 2.0 license that can be
// found in the LICENSE file.
package com.intellij.refactoring.extractMethod;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.util.P... | jk1/intellij-community | java/java-impl/src/com/intellij/refactoring/extractMethod/JavaDuplicatesExtractMethodProcessor.java | Java | apache-2.0 | 10,856 |
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford
* %%
* 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... | liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/taxonomy/impl/AbstractUpdateableGenericInstanceTaxonomy.java | Java | apache-2.0 | 9,522 |
package org.activiti.spring.test.components.scope;
import org.flowable.engine.runtime.ProcessInstance;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.Assert;
... | robsoncardosoti/flowable-engine | modules/flowable5-spring-test/src/test/java/org/activiti/spring/test/components/scope/StatefulObject.java | Java | apache-2.0 | 2,646 |
/**
* Copyright (c) 2018 Texas Instruments, Incorporated
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "simplelink_log.h"
LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include <zephyr.h>
#include <kernel.h>
#include <device.h>
#include <net/net_if.h>
#include <net/wifi_mgmt.h>
#include <net/net_offload.h>
#ifdef C... | Vudentz/zephyr | drivers/wifi/simplelink/simplelink.c | C | apache-2.0 | 7,562 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.FindSymbols;... | nguerrera/roslyn | src/Features/Core/Portable/AddImport/SearchScopes/SearchScope.cs | C# | apache-2.0 | 3,483 |
/*
* Copyright 2014 Effektif 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 i... | jblankendaal/effektif | effektif-workflow-impl/src/main/java/com/effektif/workflow/impl/template/Hints.java | Java | apache-2.0 | 996 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>discover_yadis (OpenID)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link re... | agoragames/ruby-openid-oauth-hybrid | doc/classes/OpenID.src/M000033.html | HTML | apache-2.0 | 4,658 |
/*
* 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/commons-email | src/test/java/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java | Java | apache-2.0 | 1,718 |
## kubectl
kubectl controls the Kubernetes cluster manager
### Synopsis
kubectl controls the Kubernetes cluster manager.
Find more information at https://github.com/GoogleCloudPlatform/kubernetes.
```
kubectl
```
### Options
```
--alsologtostderr=false: log to standard error as well as files
--api-v... | guoshimin/kubernetes | docs/kubectl.md | Markdown | apache-2.0 | 4,009 |
@echo off
rem
rem Copyright (c) 1999-2011 Luca Garulli @www.orientechnologies.com
rem
rem Guess ORIENTDB_HOME if not defined
set CURRENT_DIR=%cd%
if exist "%JAVA_HOME%\bin\java.exe" goto setJavaHome
set JAVA="java"
goto okJava
:setJavaHome
set JAVA="%JAVA_HOME%\bin\java"
:okJava
if not "%ORIENTDB_HOME... | cloudsmith/orientdb | graphdb/script/console.bat | Batchfile | apache-2.0 | 1,082 |
package org.springside.modules.utils.base.type;
import org.springside.modules.utils.base.ExceptionUtil;
/**
* 适用于异常信息需要变更的情况, 可通过clone(),不经过构造函数(也就避免了获得StackTrace)地从之前定义的静态异常中克隆,再设定新的异常信息
*
* @see CloneableException
*/
public class CloneableRuntimeException extends RuntimeException implements Cloneable {
priva... | mosoft521/springside4 | modules/utils/src/main/java/org/springside/modules/utils/base/type/CloneableRuntimeException.java | Java | apache-2.0 | 1,717 |
/*
* 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 ... | AriaLyy/Aria | FtpComponent/src/main/java/aria/apache/commons/net/io/CopyStreamException.java | Java | apache-2.0 | 2,595 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.debezium;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Configu... | gnodet/camel | components/camel-debezium-postgres/src/generated/java/org/apache/camel/component/debezium/DebeziumPostgresEndpointConfigurer.java | Java | apache-2.0 | 37,665 |
package com.ybproject.DiaryMemoUtile.Utile;
import java.util.Locale;
import android.app.Activity;
import android.content.Context;
import android.telephony.TelephonyManager;
import android.util.Log;
public class CommonUtil {
private static final String TAG = "CommonUtil";
/**
* 이동 통신사 이름 얻어 오기
* @param acti... | tina0430/leejihee- | leejihee--master/diarymemo/app/src/main/java/com/ybproject/DiaryMemoUtile/Utile/CommonUtil.java | Java | apache-2.0 | 2,234 |
#include "redis_store_handler_op.h"
#include <caffe2/core/context_gpu.h>
namespace caffe2 {
REGISTER_CUDA_OPERATOR(
RedisStoreHandlerCreate,
RedisStoreHandlerCreateOp<CUDAContext>);
} // namespace caffe2
| xzturn/caffe2 | caffe2/distributed/redis_store_handler_op_gpu.cc | C++ | apache-2.0 | 216 |
<!DOCTYPE html>
<html>
<head>
<title>{% translate language, 'terms-and-conditions' %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
#te... | rogerthat-platform/rogerthat-backend | src/rogerthat/templates/terms_and_conditions.html | HTML | apache-2.0 | 2,260 |
/*
* 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 ... | glyptodon/guacamole-client | extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserLDAPConfiguration.java | Java | apache-2.0 | 2,961 |
//
// Copyright (c) Microsoft. 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 app... | SarahRogers/azure-powershell | src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs | C# | apache-2.0 | 2,415 |
/* Copyright 2010-2014 MongoDB 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 writi... | antonnik/code-classifier | naive_bayes/resources/c#/GeoJsonLinearRingCoordinates.cs | C# | apache-2.0 | 2,202 |
<?php
/**
* PEAR_Validate
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to ... | HladikBox/Console | libs/PEAR/PEAR/Validate.php | PHP | apache-2.0 | 22,969 |
/*
* Licensed to GraphHopper and Peter Karich under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you... | heisenpai/GraphHopper | tools/src/main/java/com/graphhopper/tools/Measurement.java | Java | apache-2.0 | 12,750 |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: '00977cdb-163f-435f-9c32-39ec8ae61f4d',
name: 'node',
user: {
name:... | colrack/azure-xplat-cli | test/recordings/arm-cli-group-tests/arm_group_log_show_should_fail_when_an_invalid_deployment_name_is_provided.nock.js | JavaScript | apache-2.0 | 2,675 |
package de.japkit.metaannotations;
/**Annotation value.*/
public @interface AV {
/**
* By default, this rule is active.
* To switch it on or of case by case, a boolean expression can be used here.
*
* @return
*/
String cond() default "";
/**
* The expression language for the cond expression.
* ... | japkit/japkit | japkit-annotations/src/main/java/de/japkit/metaannotations/AV.java | Java | apache-2.0 | 2,114 |
package com.snakerflow.framework.security.dao;
import com.snakerflow.framework.orm.hibernate.HibernateDao;
import com.snakerflow.framework.security.entity.Org;
import org.springframework.stereotype.Component;
/**
* 部门持久化类
* @author yuqs
* @since 0.1
*/
@Component
public class OrgDao extends HibernateDao<Org, Long... | snakerflow/snaker-web | src/main/java/com/snakerflow/framework/security/dao/OrgDao.java | Java | apache-2.0 | 339 |
/*
* 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... | f7753/ignite | modules/platforms/dotnet/Apache.Ignite.Benchmarks/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,488 |
/*!
* Start Bootstrap - Portfolio Item HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if he... | gizboslice/gizboslice.github.io | css/portfolio-item.css | CSS | apache-2.0 | 541 |
/**
* Copyright (C) 2015 Anthony K. Trinh
*
* 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... | psquickitjayant/loggly-client | src/test/java/com/github/tony19/loggly/LogglyClientTest.java | Java | apache-2.0 | 4,666 |
@echo off
setlocal
rem Use dynamic shaders to build .inc files only
rem set dynamic_shaders=0
rem == Setup path to nmake.exe, from vc 2005 common tools directory ==
call "%VS100COMNTOOLS%vsvars32.bat"
rem ================================
rem ==== MOD PATH CONFIGURATIONS ===
rem == Set the absolute path to your mod's... | jonathonracz/swarm-deferred | materialsystem/swarmshaders/bdef.bat | Batchfile | apache-2.0 | 1,859 |
public class IntConstantXor {
public final static int test(int arg) {
return arg ^ 0xF0F0;
}
}
| monoman/cnatural-language | tests/resources/ExpressionsTest/sources/IntConstantXor.stab.cs | C# | apache-2.0 | 99 |
export interface AIMonthlySummary {
successCount: number;
failedCount: number;
}
export interface AIInvocationTrace {
timestamp: string;
timestampFriendly: string;
id: string;
name: string;
success: boolean;
resultCode: string;
duration: number;
operationId: string;
invocationId: st... | projectkudu/AzureFunctions | client/src/app/shared/models/application-insights.ts | TypeScript | apache-2.0 | 987 |
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | google/quic-trace | tools/render/trace_program.cc | C++ | apache-2.0 | 13,529 |
---
layout: documentation
---
The native dependencies are only needed on actual Storm clusters. When running Storm in local mode, Storm uses a pure Java messaging system so that you don't need to install native dependencies on your development machine.
Installing ZeroMQ and JZMQ is usually straightforward. Sometimes, ... | techdocscn/storm | source/documentation/Installing-native-dependencies.md | Markdown | apache-2.0 | 2,042 |
package com.amazonaws.eclipse.opsworks;
import java.util.LinkedList;
import java.util.List;
import com.amazonaws.services.opsworks.AWSOpsWorks;
import com.amazonaws.services.opsworks.model.App;
import com.amazonaws.services.opsworks.model.DescribeAppsRequest;
import com.amazonaws.services.opsworks.model.DescribeInsta... | zhangzhx/aws-toolkit-eclipse | bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/ServiceAPIUtils.java | Java | apache-2.0 | 2,139 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | ryoenji/libgdx | extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btConvexPointCloudShape.java | Java | apache-2.0 | 3,604 |
/*
* Copyright (c) 2009 - 2020 CaspersBox Web Services
*
* 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... | cwsus/esolutions | eSolutionsSecurity/src/main/java/com/cws/esolutions/security/config/xml/SecurityReturningAttributes.java | Java | apache-2.0 | 12,684 |
/*
* Copyright 2014-present Facebook, 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... | shs96c/buck | src/com/facebook/buck/features/ocaml/OcamlYaccStep.java | Java | apache-2.0 | 2,008 |
# Status: ported, except for tests and --abbreviate-paths.
# Base revision: 64070
#
# Copyright 2001, 2002, 2003 Dave Abrahams
# Copyright 2006 Rene Rivera
# Copyright 2002, 2003, 2004, 2005, 2006 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.... | flingone/frameworks_base_cmds_remoted | libs/boost/tools/build/src/build/property.py | Python | apache-2.0 | 19,263 |
Sample SAI Pipeline (v0.1)
==========================
This target implements a logical pipeline which can be used to generate v0.9.1 of SAI API.
Details
=======
1. Basic SAI header file autogeneration from the sai_p4.p4
2. Makefile to
a. Build the SAI wrappers
b. Auto-generate the handlers to run the softswitch... | Peilong/p4factory | targets/sai_p4/README.md | Markdown | apache-2.0 | 1,295 |
/*
* Copyright 2012 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 applicab... | spyhak/mac_gazebo | plugins/ForceTorquePlugin.hh | C++ | apache-2.0 | 1,782 |
package nkp.pspValidator.shared.engine.evaluationFunctions;
import nkp.pspValidator.shared.engine.Engine;
import nkp.pspValidator.shared.engine.ValueEvaluation;
import nkp.pspValidator.shared.engine.ValueType;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.File;
import java.util.ArrayList;
import... | NLCR/komplexni-validator | sharedModule/src/test/java/nkp/pspValidator/shared/engine/evaluationFunctions/EfGetFirstFileFromFileListTest.java | Java | apache-2.0 | 4,066 |
package org.radargun.service;
import java.util.Collections;
import java.util.List;
import org.infinispan.query.dsl.FilterConditionContext;
import org.infinispan.query.dsl.FilterConditionEndContext;
import org.infinispan.query.dsl.QueryFactory;
import org.radargun.traits.Query;
import org.radargun.traits.Queryable;
/... | rmacor/radargun | plugins/infinispan60/src/main/java/org/radargun/service/AbstractInfinispanQueryable.java | Java | apache-2.0 | 8,017 |
/**
* Copyright (C) 2010-2012 LShift 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... | 0x6e6562/diffa | kernel/src/main/scala/net/lshift/diffa/kernel/config/JooqServiceLimitsStore.scala | Scala | apache-2.0 | 8,247 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
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.a... | apache/tapestry4 | contrib/src/java/org/apache/tapestry/contrib/jdbc/package.html | HTML | apache-2.0 | 1,240 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.