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 |
|---|---|---|---|---|---|
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"><ShortName>National Water Supply and Drainage Board</ShortName><Description>National Water Supply and Drainage Board</Description><InputEncoding>UTF-8</InputEncoding><Image type="image/vnd.microsoft.icon" width="1... | cmaere/lwb | templates/protostar/index2082.php | PHP | apache-2.0 | 808 |
/*
define(['angular','angularMocks', 'app/app'], function (angular, mocks) {
describe('MainCtrl', function () {
var $scope, ctrl;
beforeEach(module('myApp'))
beforeEach(inject(function ($controller, $rootScope) {
$scope = $rootScope.$new();
ctrl = $controller('MainCtrl', {
'$scope'... | jeremydmiller/Postgres.Projections | test/MainCtrlSpec.js | JavaScript | apache-2.0 | 456 |
/*
* 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... | aws/aws-sdk-java | aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/transform/CancelOrderResultJsonUnmarshaller.java | Java | apache-2.0 | 1,581 |
/*
* 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... | aws/aws-sdk-java | aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/transform/StandardJsonUnmarshaller.java | Java | apache-2.0 | 3,376 |
/**
* Copyright 2011 Microsoft 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 law or agreed to i... | egamma/azure-sdk-for-node | test/serviceruntime/runtimeversionmanager-tests.js | JavaScript | apache-2.0 | 2,285 |
/**
* $RCSfile: ,v $
* $Revision: $
* $Date: $
*
* Copyright (C) 2004-2011 Jive Software. 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.a... | joshuairl/toothchat-client | src/plugins/fastpath/src/java/org/jivesoftware/fastpath/workspace/panes/BackgroundPane.java | Java | apache-2.0 | 2,778 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.service.base;
import java.io.Serializable;
import java.util.Collection;
import net.sf.mmm.service.api.CsrfToken;
/**
* This is the transfer-object for the generic respo... | m-m-m/service | base/src/main/java/net/sf/mmm/service/base/GenericRemoteInvocationResponse.java | Java | apache-2.0 | 3,295 |
dc.w word_18AFC-Map_Invincibility
dc.w word_18AFE-Map_Invincibility
dc.w word_18B06-Map_Invincibility
dc.w word_18B0E-Map_Invincibility
dc.w word_18B16-Map_Invincibility
dc.w word_18B1E-Map_Invincibility
dc.w word_18B26-Map_Invincibility
dc.w word_18B2E-Map_Invincibility
dc.w word_18B36-Map_Invincibil... | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | Working Disassembly/General/Sprites/Shields/Map - Invincibility.asm | Assembly | apache-2.0 | 1,061 |
// 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.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.S... | Hosch250/roslyn | src/EditorFeatures/CSharpTest/SignatureHelp/InvocationExpressionSignatureHelpProviderTests.cs | C# | apache-2.0 | 67,861 |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Trading\Types;
/**
*
* @property \DTS\eBaySDK\Trading\Enums\DiscountNameCodeType $Discou... | davidtsadler/ebay-sdk-php | src/Trading/Types/FlatShippingDiscountType.php | PHP | apache-2.0 | 1,735 |
/*
* 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 ... | jamiemccrindle/bpmscript | bpmscript-core/src/main/java/org/bpmscript/web/DefaultNameOperationStrategy.java | Java | apache-2.0 | 2,606 |
describe ApplicationHelper::Button::MiqTemplateTimeline do
let(:view_context) { setup_view_context_with_sandbox({}) }
let(:record) { FactoryBot.create(:template_redhat) }
let(:button) { described_class.new(view_context, {}, {'record' => record}, {}) }
it_behaves_like 'a timeline button', :entity => 'Template'
... | ManageIQ/manageiq-ui-classic | spec/helpers/application_helper/buttons/miq_template_timeline_spec.rb | Ruby | apache-2.0 | 324 |
# 3rd party imports
from bidi.algorithm import get_display as apply_bidi
# Django imports
from django.conf import settings
# Project imports
from .base import TestGeneratePdfBase
from .factories import create_voters
from .utils_for_tests import extract_pdf_page, extract_textlines, clean_textlines, unwrap_lines
from .... | SmartElect/SmartElect | rollgen/tests/test_generate_pdf.py | Python | apache-2.0 | 11,178 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Gate.Middleware;
using Gate.Middleware.StaticFiles;
using Owin;
using System.Threading.Tasks;
namespace Owin
{
using AppFunc = Func<IDictionary<string, object>, Task>;
// Serves static files from the given r... | owin/museum-piece-gate | src/Main/Gate.Middleware/Static.cs | C# | apache-2.0 | 3,697 |
using System;
namespace Nest
{
public abstract class CoordinatedRequestObserverBase<T> : IObserver<T>
{
private readonly Action<T> _onNext;
private readonly Action<Exception> _onError;
private readonly Action _completed;
protected CoordinatedRequestObserverBase(Action<T> onNext = null, Action<Exception> on... | TheFireCookie/elasticsearch-net | src/Nest/CommonAbstractions/CoordinatedRequestObserverBase.cs | C# | apache-2.0 | 664 |
using System;
using UnityEditor;
using UnityEngine;
namespace UnityShell
{
[Serializable]
public class AutocompleteBox
{
static class Styles
{
public const float resultHeight = 20f;
public const float resultsBorderWidth = 2f;
public const float resultsMargin = 15f;
public const float resultsLabelOf... | gradylorenzo/Quadrant9 | Assets/ThirdParty/UnityShell/Editor/Scripts/AutocompleteBox.cs | C# | apache-2.0 | 6,207 |
/**
* <p>Title: SubmitterDocument</p>
*
* <p>Description: this is the data structure for storing the information of a crawled document</p>
*
* <p>Copyright: Copyright Madian Khabsa @ Penn State(c) 2009</p>
*
* <p>Company: Penn State</p>
*
* @author Madian Khabsa
* @version 1.0
*/
package edu.psu.... | shiftdirector/youseer | src/main/java/edu/psu/ist/youseer/SubmitterDocument.java | Java | apache-2.0 | 3,156 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Valency-Changing Operations</ti... | UniversalDependencies/universaldependencies.github.io | workgroups/newdoc/valency_changing_operations.html | HTML | apache-2.0 | 99,933 |
/*
* Copyright (C) 2019 The Calrissian 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... | calrissian/mango | mango-criteria/src/main/java/org/calrissian/mango/criteria/domain/OrNode.java | Java | apache-2.0 | 1,472 |
/*
* Copyright 2017 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | kahboom/apiman | gateway/engine/vertx-polling/src/main/java/io/apiman/gateway/engine/vertx/polling/ThreeScaleURILoadingRegistry.java | Java | apache-2.0 | 15,720 |
# Copyright 2020, Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | googleads/google-ads-perl | lib/Google/Ads/GoogleAds/V10/Resources/QualityInfo.pm | Perl | apache-2.0 | 1,220 |
package org.opl.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class OplUtils {
private static final Logger LOGGER_CLOSE = LoggerFactory.getLogger(OplUtils.class.getName() + ".close");
private OplUtils() {
// nothing to do in an utility class
}
public static voi... | mazurkin/opl | src/main/java/org/opl/util/OplUtils.java | Java | apache-2.0 | 1,074 |
/**
* 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... | kevinearls/camel | camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java | Java | apache-2.0 | 21,353 |
/*
* IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2007 Dennis Reil
*
* 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 cop... | awilhelm/izpack-with-ips | src/lib/com/izforge/izpack/rules/Condition.java | Java | apache-2.0 | 1,868 |
/* Test regular cases
*/
result = ${library_name}_${type_name}_copy_from_byte_stream(
${type_name},
${library_name_suffix}_test_${type_name}_data1,
${test_data_size},
${library_name_upper_case}_CODEPAGE_WINDOWS_1252,
&error );
${library_name_suffix_upper_case... | libyal/libyal | data/source/tests/yal_test_type/function-body-copy_from_byte_stream-with_codepage.c | C | apache-2.0 | 2,328 |
-- 22295 replicates from 22294
UPDATE database_instance SET last_seen=last_checked - interval 1 minute where port=22294;
UPDATE database_instance SET last_check_partial_success = 1 where port=22294;
| github/orchestrator | tests/integration/analysis-unreachable-intermediate-master-partial-success/create.sql | SQL | apache-2.0 | 199 |
<!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 Jul 17 13:50:43 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LdapKeyStoreConsumer (BOM: ... | wildfly-swarm/wildfly-swarm-javadocs | 2.5.0.Final/apidocs/org/wildfly/swarm/config/elytron/LdapKeyStoreConsumer.html | HTML | apache-2.0 | 11,269 |
#include <stdio.h>
#include "db.h"
class CDB : public IDB
{
// Interfaces
public:
// Interface for data access
virtual HRESULT _stdcall Read(short nTable, short nRow, LPTSTR lpszData);
virtual HRESULT _stdcall GetNumRows(short nTable, short &nRows);
virtual HRESULT _stdcall QueryInterface(REFII... | dbremner/ulib-win | demo/com/cxx2com/db_com/db.cpp | C++ | apache-2.0 | 4,321 |
/*
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | ReactiveX/RxJava | src/test/java/io/reactivex/rxjava3/internal/subscribers/BlockingSubscriberTest.java | Java | apache-2.0 | 3,554 |
# Copyright 2014 IBM
#
# 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,... | myhong0/SEC-ASP-myhong1023-2117 | Dockerfile | Dockerfile | apache-2.0 | 643 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package summarizer.receiver;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author N... | REMDJESS/SUMMARIZER | src/test/java/summarizer/receiver/FileTest.java | Java | apache-2.0 | 1,458 |
package io.github.mapstream;
import java.util.HashMap;
import java.util.Map;
class Main {
public static void main(String[] args) {
Map<Integer, Integer> intMap = new HashMap<>();
intMap.put(10, 10);
intMap.put(20, 50);
Map<Integer, Integer> map = MapStream.from(intMap)
... | mapstream/mapstream | src/main/java/io/github/mapstream/Main.java | Java | apache-2.0 | 762 |
package com.hubspot.jinjava.lib.filter;
import static org.assertj.core.api.Assertions.assertThat;
import com.hubspot.jinjava.BaseInterpretingTest;
import com.hubspot.jinjava.interpret.InvalidArgumentException;
import com.hubspot.jinjava.interpret.InvalidInputException;
import java.math.BigDecimal;
import org.junit.Be... | HubSpot/jinjava | src/test/java/com/hubspot/jinjava/lib/filter/LogFilterTest.java | Java | apache-2.0 | 1,736 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Tue Jul 19 23:14:39 CEST 2011 -->
<TITLE>
PersistenceUnitRefTypeImpl
</TITLE>
<META NAME="date" CONTENT="2011-07-19">
<LINK REL ="stylesheet... | shrinkwrap/descriptors | gen/doc/org/jboss/shrinkwrap/descriptor/impl/javaee5/PersistenceUnitRefTypeImpl.html | HTML | apache-2.0 | 48,036 |
body {font-family:Verdana Arial sans-serif;
font-size:18px;
}
.main {max-width:900px;
margin:0 auto 0 auto;
}
.tabs {margin:0;
padding:0;
}
.tabs li {float:left;
list-style:none;
margin-right:10px;
}
.tabs a {display:block;
text-decora... | donahuedtg/dtg | styleTabs.css | CSS | apache-2.0 | 2,498 |
<!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:12 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2018.5.0/apidocs/org/wildfly/swarm/config/infinispan/cache_container/class-use/DistributedCache.html | HTML | apache-2.0 | 17,039 |
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | kubernetes-client/java | fluent/src/main/java/io/kubernetes/client/openapi/models/V1beta1EndpointFluentImpl.java | Java | apache-2.0 | 17,836 |
package com.talentica.androidkotlin.customcamera.dagger;
import android.app.Activity;
import android.app.Application;
import androidx.annotation.NonNull;
import com.talentica.androidkotlin.customcamera.BaseApplication;
public class Components {
private Components() {
throw new AssertionError("No instanc... | Talentica/AndroidWithKotlin | customcamera/src/main/java/com/talentica/androidkotlin/customcamera/dagger/Components.java | Java | apache-2.0 | 611 |
# Gloeomucro yakusimensis (Kobayasi) R.H. Petersen, 1980 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycologia 72(2): 303 (1980)
#### Original name
Myxomycidium yakusimense Kobayasi, 1954
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Cantharellales/Hydnaceae/Gloeomucro/Gloeomucro yakusimensis/README.md | Markdown | apache-2.0 | 270 |
# Tremolecia atrata (Ach.) Hertel SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Ergebn. Forsch. Unternehmens Nepal Himal. 6(3): 351 (1977)
#### Original name
Gyalecta atrata Ach.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Hymeneliaceae/Tremolecia/Tremolecia atrata/README.md | Markdown | apache-2.0 | 259 |
# Macrolomia Schrad. ex Nees GENUS
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Macrolomia/README.md | Markdown | apache-2.0 | 174 |
# Polygonum camporum Meisn. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Polygonaceae/Polygonum/Polygonum striatulum/ Syn. Polygonum camporum/README.md | Markdown | apache-2.0 | 182 |
# Rhizoctonia solani var. cichorii-endiviae Schultz VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Arb. biol. Reichsanst. Land-u. Forstw. 22: 30 (1936)
#### Original name
Rhizoctonia solani var. cichorii-endiviae Schultz
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Cantharellales/Ceratobasidiaceae/Thanatephorus/Thanatephorus cucumeris/Rhizoctonia solani cichorii-endiviae/README.md | Markdown | apache-2.0 | 275 |
# Hieracium sparsum subsp. chromolepium (Zahn) Zahn SUBSPECIES
#### Status
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Murorum/Murorum murorum/Murorum murorum stenocranum/Hieracium sparsum chromolepium/README.md | Markdown | apache-2.0 | 189 |
# Placocarpus schaereri (Fr.) Breuss SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Pl. Syst. Evol. 148(3-4): 314 (1985)
#### Original name
Parmelia schaereri Fr.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Eurotiomycetes/Verrucariales/Verrucariaceae/Placocarpus/Placocarpus schaereri/README.md | Markdown | apache-2.0 | 242 |
# Acineta quadripartita Claparède & Lachmann SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Protozoa/Ciliophora/Kinetofragminophora/Suctorida/Acinetidae/Acineta/Acineta quadripartita/README.md | Markdown | apache-2.0 | 201 |
# Polygonium clarum (Fombella, 1978) Sarjeant & Stancliffe, 1994 SPECIES
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Protozoa/Acritarcha/Polygonium/Polygonium clarum/README.md | Markdown | apache-2.0 | 228 |
# Tristaniopsis elliptica (Stapf) Peter G.Wilson & J.T.Waterh. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Tristania elliptica Stapf
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Myrtales/Myrtaceae/Tristaniopsis/Tristaniopsis elliptica/README.md | Markdown | apache-2.0 | 239 |
"""
This example demonstrate how status works
"""
from juju import jasyncio
from juju import loop
import logging
import sys
from logging import getLogger
from juju.model import Model
from juju.status import formatted_status
LOG = getLogger(__name__)
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
async d... | juju/python-libjuju | examples/status.py | Python | apache-2.0 | 1,149 |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googleapis/api-linter | rules/aip0131/http_uri_name_test.go | GO | apache-2.0 | 1,833 |
// Copyright 2017 Twitter. 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... | lucperkins/heron | heron/api/src/java/com/twitter/heron/api/utils/TupleUtils.java | Java | apache-2.0 | 1,848 |
package com.yuqirong.rxnews;
import de.greenrobot.daogenerator.DaoGenerator;
import de.greenrobot.daogenerator.Entity;
import de.greenrobot.daogenerator.Schema;
public class GreenDaoGeneration {
public static void main(String[] arg0) {
try {
Schema schema = new Schema(2, "com.yuqirong.greend... | yuqirong/RxNews | greendaogeneration/src/main/java/com/yuqirong/rxnews/GreenDaoGeneration.java | Java | apache-2.0 | 1,002 |
//===--- ModuleFile.cpp - Loading a serialized module ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | dduan/swift | lib/Serialization/ModuleFile.cpp | C++ | apache-2.0 | 53,259 |
// Copyright 2015 The Cockroach 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 ag... | nieyy/cockroach | client/txn.go | GO | apache-2.0 | 21,209 |
// I think this file has more useless features than the Toshiba Tablet.
#include "inject.h"
#include <mach/mach.h>
#include <mach/mach_vm.h>
#include <dlfcn.h>
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#inclu... | RyanTech/shadow_Tianxing | AppProxyCap/lib/inject_and_interpose/inject.c | C | apache-2.0 | 17,511 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clock</title>
<link rel="stylesheet" type="text/css" href="style/clock.css">
<link rel="stylesheet" type="text/css" h... | telefonicaid/CrossPlatform-ClockApp | index.html | HTML | apache-2.0 | 14,673 |
package com.google.api.ads.dfp.jaxws.v201602;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotati... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201602/Content.java | Java | apache-2.0 | 8,939 |
@(task: Task)(content: Html)
<ul>
<li>@task._id.toString</li>
<li>@task.taskset_id.toString</li>
<li>@content</li>
</ul>
| BonarBeavis/veritask | app/views/template.scala.html | HTML | apache-2.0 | 134 |
package ru.stqa.pft.addressbook.model;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import org.hibernate.annotations.Type;
import javax.persistence.*;
import java.io.File;
@XStreamAlias("contact")
@Entity
@Table(name = "addressbook")
public c... | volter239/java_pft | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/model/ContactData.java | Java | apache-2.0 | 9,235 |
/*
* Copyright (C) 2014 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | MaTriXy/auto | value/src/main/java/com/google/auto/value/processor/AutoValueBuilderProcessor.java | Java | apache-2.0 | 3,187 |
using System.Threading;
using System.Threading.Tasks;
namespace Ditto.AsyncInit
{
/// <summary>
/// Interface for asynchronously initialized types supporting cancellation.
/// </summary>
/// <conceptualLink target="c731bb1a-010a-40c6-856b-421ebbd05a26" />
[System.Diagnostics.CodeAnalysis.SuppressMess... | dmitry-shechtman/AsyncInit | AsyncInit/Portable/ICancelableAsyncInit.cs | C# | apache-2.0 | 10,663 |
/*
* Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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... | xasx/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/ModificationBatchJobHandler.java | Java | apache-2.0 | 4,497 |
FROM kollaglue/fedora-rdo-base
MAINTAINER Dan Radez <dradez@redhat.com>
RUN yum -y install \
openstack-utils \
openstack-glance \
python-keystoneclient \
mariadb; yum clean all
RUN mkdir /opt/glance
COPY config-glance.sh /opt/glance/config-glance.sh
| jlabocki/superhappyfunshow | docker/glance/glance-base/Dockerfile | Dockerfile | apache-2.0 | 257 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Tue Aug 02 10:49:04 KST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Package org.jboss.netty.h... | whg333/netty-3.2.5.Final | doc/api/org/jboss/netty/handler/codec/http/websocket/package-use.html | HTML | apache-2.0 | 7,650 |
package org.apache.taverna.mobile;
import android.util.Log;
import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;
import java.io.InputStream;
import java.io.InputStreamReader;
public class TestDataFactory {
private static final String TAG = TestDataFactory.class.getSimpleNam... | sagar15795/incubator-taverna-mobile | app/src/commonTest/java/org/apache/taverna/mobile/TestDataFactory.java | Java | apache-2.0 | 768 |
great(h1,cc1).
great(e1,aa1).
great(u1,bb1).
great(j1,y1).
great(cc1,s1).
great(a1,v1).
great(c1,r1).
great(d1,j1).
great(d1,r1).
great(c1,ll1).
great(l1,z1).
great(dd1,ll1).
great(i1,v1).
great(l1,ll1).
great(r1,kk1).
great(ee1,w1).
great(kk1,aa1).
great(c1,s1).
great(a1,i1).
great(g1,t1).
great(ii1,v1).
great(l1,a1).... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_0.3noisyOnTest/test6.f | FORTRAN | apache-2.0 | 961 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_16) on Sat Mar 06 22:12:21 IST 2010 -->
<TITLE>
API Help
</TITLE>
<META NAME="date" CONTENT="2010-03-06">
<LINK REL ="stylesheet" TYPE="... | DeuceSTM/DeuceSTM | doc/help-doc.html | HTML | apache-2.0 | 9,957 |
/**
* Copyright (C) 2016 Oliver Schünemann
*
* 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 ... | oschuen/ballin_midi | midi.pad/src/main/java/midi/pad/ui/Color.java | Java | apache-2.0 | 2,862 |
/*
* Copyright 2016 The BigDL 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... | zhangxiaoli73/BigDL | spark/dl/src/test/scala/com/intel/analytics/bigdl/integration/torch/SpatialCrossMapLRNSpec.scala | Scala | apache-2.0 | 5,250 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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/LICE... | Sargul/dbeaver | plugins/org.jkiss.dbeaver.ext.sqlite/src/org/jkiss/dbeaver/ext/sqlite/model/SQLiteTable.java | Java | apache-2.0 | 3,168 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | hibernate/hibernate-metamodelgen | src/main/java/org/hibernate/jpamodelgen/model/MetaAttribute.java | Java | apache-2.0 | 1,047 |
--[[
Copyright (c) 2011-2016, Vsevolod Stakhov <vsevolod@highsecure.ru>
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... | andrejzverev/rspamd | rules/forwarding.lua | Lua | apache-2.0 | 3,994 |
/*
* Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A.
*
* 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... | BBVA/mirrorgate | mirrorgate-backoffice/src/test.ts | TypeScript | apache-2.0 | 1,264 |
package org.d2rq.db.op;
import java.util.Collection;
import java.util.Collections;
import org.d2rq.db.schema.ColumnList;
import org.d2rq.db.schema.ColumnName;
import org.d2rq.db.schema.TableName;
import org.d2rq.db.types.DataType;
/**
* An operator or operand in a relational algebra expression
* over SQL-style t... | d2rq/r2rml-kit | src/main/java/org/d2rq/db/op/DatabaseOp.java | Java | apache-2.0 | 3,149 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Oct 01 00:28:20 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapreduce.lib.map.TokenCounterMapper (Hadoop 1.0.3.16 API)
</TITLE>
... | davidl1/hortonworks-extension | docs/api/org/apache/hadoop/mapreduce/lib/map/class-use/TokenCounterMapper.html | HTML | apache-2.0 | 6,262 |
#!/usr/bin/env python
# Cloudsnake Application server
# Licensed under Apache License, see license.txt
# Author: Markus Gronholm <markus@alshain.fi> Alshain Oy
class Luokka( object ):
def __init__( self, N ):
self.luku = N
def test( self ):
return self.luku
def test_001( data ):
#print >> cloudSnake.ou... | Alshain-Oy/Cloudsnake-Application-Server | code_examples/class_test_01.py | Python | apache-2.0 | 546 |
package android.scanner.decode;
import android.graphics.Bitmap;
import com.google.zxing.LuminanceSource;
public class BitmapLuminanceSource extends LuminanceSource {
private byte bitmapPixels[];
protected BitmapLuminanceSource(Bitmap bitmap) {
super(bitmap.getWidth(), bitmap.getHeight());
// 首先,要取得该图片的像素数组内... | qwinner/SmartKey | SmartKeyDevice/app/src/main/java/android/scanner/decode/BitmapLuminanceSource.java | Java | apache-2.0 | 837 |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>PrivateMethod - ScalaTest 2.2.6 - org.scalatest.PrivateMethodTester.PrivateMethod</title>
<meta name="description" content="PrivateMet... | scalatest/scalatest-website | public/scaladoc/2.2.6/org/scalatest/PrivateMethodTester$PrivateMethod$.html | HTML | apache-2.0 | 23,942 |
// Copyright 2017 Jose Luis Rovira Martin
//
// 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 ... | jlroviramartin/Essence | Essence.Geometry.Core/IOpVector2.cs | C# | apache-2.0 | 2,907 |
package org.ovirt.engine.ui.uicommonweb.models.datacenters;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*... | anjalshireesh/gluster-ovirt-poc | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/datacenters/DataCenterListModel.java | Java | apache-2.0 | 21,885 |
/*
* Copyright 2012-2017 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... | dagnir/aws-sdk-java | aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/AmazonPinpointClientBuilder.java | Java | apache-2.0 | 2,353 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Automatic config nagios configurations.
Copyright (C) 2015 Canux CHENG
All rights reserved
Name: __init__.py
Author: Canux canuxcheng@gmail.com
Version: V1.0
Time: Wed 09 Sep 2015 09:20:51 PM EDT
Exaple:
./nagios -h
"""
__version__ = "3.1.0.0"
__description__ = "... | crazy-canux/xnagios | nagios/__init__.py | Python | apache-2.0 | 451 |
package de.mycrobase.ssim.ed.helper;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import com.jme3.app.SimpleApplication;
import com.jme3.app.state.AppState;
import de.mycrobase.ssim.ed.GameMode;
import de.mycrobase.ssi... | cmur2/ssim-ed | test/de/mycrobase/ssim/ed/helper/SteppedSSimApplication.java | Java | apache-2.0 | 3,552 |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.14.0
// source: envoy/config/common/matcher/v4alpha/matcher.proto
package envoy_config_common_matcher_v4alpha
import (
_ "github.com/cncf/xds/go/udpa/annotations"
v4alpha1 "github.com/envoyproxy/go-control-p... | istio/go-control-plane | envoy/config/common/matcher/v4alpha/matcher.pb.go | GO | apache-2.0 | 87,395 |
<!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_25) on Fri Jun 05 10:51:21 EDT 2015 -->
<title>org.apache.cassandra.repair (apache-cassandra API)</title>
<meta name="date" content="2015-06-05... | Jcamilorada/Cassandra | Instalacion/javadoc/org/apache/cassandra/repair/package-summary.html | HTML | apache-2.0 | 11,593 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/InsightResultValue.java | Java | apache-2.0 | 6,890 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/Type.java | Java | apache-2.0 | 9,182 |
/*
* Copyright 2016 Dennis Vriend
*
* 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... | dnvriend/sbt-scaffold-play | src/main/scala/com/github/dnvriend/scaffold/play/enabler/EnablerResult.scala | Scala | apache-2.0 | 5,383 |
package com.ibm.wuhan;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
/**
* Servl... | junhuwh/whbusapp-01 | src/main/java/com/ibm/wuhan/TestSessionlogout.java | Java | apache-2.0 | 1,430 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/transform/CreateThreatIntelSetRequestProtocolMarshaller.java | Java | apache-2.0 | 2,748 |
/*
* 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Salaboy/uberfire | uberfire-security/uberfire-security-api/src/main/java/org/uberfire/security/impl/authz/DefaultAuthorizationManager.java | Java | apache-2.0 | 5,517 |
# Team10182
## DRW Trading College Prep - FTC Robotics Team
A new season begins!
#### The 2017-18 game is called Relic Recovery.
- [Video explanation](https://www.youtube.com/watch?v=4xBHfwjfQGs)
- [One page overview](https://firstinspiresst01.blob.core.windows.net/ftc/first-kj-relic-recovery-onepage.pdf)
- [Train... | rwoodley/Team10182 | archive/2017-18/README.md | Markdown | apache-2.0 | 3,116 |
<?php /* Smarty version Smarty-3.1.13, created on 2014-02-27 00:04:36
compiled from "./templates/mpos/login/default.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1858245259530e1094ecd619-87351301%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_de... | capslockLtsPool/qbc | public/templates/compile/3273bee5274e88a8ab10e873a087bafc7a2dbd32.file.default.tpl.php | PHP | apache-2.0 | 2,132 |
# coding=utf-8
# Copyright 2022 The Google Research 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 applicab... | google-research/google-research | aloe/aloe/rfill/utils/program_struct.py | Python | apache-2.0 | 6,121 |
// Actions specific to an NPC.
#include "../../common/resource/CResourceLock.h"
#include "../../common/CException.h"
#include "../../network/receive.h"
#include "../clients/CClient.h"
#include "../CWorldGameTime.h"
#include "../CWorldMap.h"
#include "../triggers.h"
#include "CCharNPC.h"
//////////////////////////
//... | Sphereserver/Source2 | src/game/chars/CCharNPCAct.cpp | C++ | apache-2.0 | 68,664 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/array/int16/benchmark/benchmark.sort.length.js | JavaScript | apache-2.0 | 2,057 |
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
namespace Aardvark.Base
{
public class EventSourceSlim<T> : IEvent<T>
{
private Subject<T> m_subject;
private T m_latest;
public EventSourceSlim(T defaul... | vrvis/aardvark.base | src/Aardvark.Base.Essentials/System/EventSource.cs | C# | apache-2.0 | 10,191 |
package com.jianma.xtdm.util;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Random;
import javax.imageio.ImageIO;
public class CaptchaUtil {
private static final String RANDOM_ST... | jianmakeji/XTDM_Backend | src/main/java/com/jianma/xtdm/util/CaptchaUtil.java | Java | apache-2.0 | 2,471 |
package command
import (
"fmt"
"github.com/urfave/cli"
)
func (f *CommandFactory) Upgrade() cli.Command {
return cli.Command{
Name: "upgrade",
Usage: "upgrade a Layer0 instance to a new version",
ArgsUsage: "NAME VERSION",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "force",
Usage: "skips ... | quintilesims/layer0 | setup/command/upgrade.go | GO | apache-2.0 | 756 |
//
// AudioStreamer.h
// StreamingAudioPlayer
//
// Created by Matt Gallagher on 27/09/08.
// Copyright 2008 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that a... | EXDary/lookpage | build/iphone/Classes/AudioStreamer/AudioStreamer.h | C | apache-2.0 | 4,448 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.