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 |
|---|---|---|---|---|---|
/**
* 'highlight.js' instance with plugins
*
* @var {highlight.js} $markdown
*/
var $hljs = require('highlight.js');
module.exports = $hljs | bb-drummer/node-patternlibrary | lib/vendor/highlightjs.js | JavaScript | apache-2.0 | 146 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2014 IBM Corporation
# Copyright 2015 Lenovo
#
# 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/LI... | michaelfardu/thinkconfluent | confluent_server/confluent/messages.py | Python | apache-2.0 | 21,993 |
package com.finance.datamodel;
public class Money {
private static final Currency DEFAULT_CURRENCY = Currency.EUR;
public static final Money MONEY0 = new Money(0D, DEFAULT_CURRENCY);
private Double amount;
private final Currency currency;
public Money(final Double amount, final Currency currency) {
... | arpadszocs/budgetmanager | datamodel/src/main/java/com/finance/datamodel/Money.java | Java | apache-2.0 | 904 |
<!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-ea) on Wed Jan 04 17:08:18 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... | wildfly-swarm/wildfly-swarm-javadocs | 2017.1.1/apidocs/org/wildfly/swarm/config/infinispan/cache_container/class-use/StateTransferThreadPoolConsumer.html | HTML | apache-2.0 | 13,113 |
# Copyright (c) 2014 Cisco Systems, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | CiscoSystems/nova-solver-scheduler | nova/tests/scheduler/solvers/constraints/test_aggregate_image_properties_isolation.py | Python | apache-2.0 | 2,908 |
<!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_65) on Wed Sep 03 20:05:59 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | lshain/hbase-0.98.6-hadoop2 | docs/devapidocs/org/apache/hadoop/hbase/client/class-use/HTableMultiplexer.html | HTML | apache-2.0 | 4,573 |
/*
* Copyright 2005 FBK-irst (http://www.fbk.eu)
*
* 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 ... | BlueBrain/bluima | modules/bluima_jsre/src/main/java/org/itc/irst/tcc/sre/data/MergeVectorSet.java | Java | apache-2.0 | 3,218 |
namespace CDMservers.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("CITY.CONFIG")]
public partial class CONFIG
{
[Key]
... | hedulewei/cdm | CDMservers/CDMservers/Models/CONFIG.cs | C# | apache-2.0 | 512 |
/*
* Copyright 2014-2019 Real Logic 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 agree... | galderz/Aeron | aeron-client/src/test/java/io/aeron/CommonContextTest.java | Java | apache-2.0 | 959 |
/**
* 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... | dmvolod/camel | camel-core/src/main/java/org/apache/camel/support/TokenXMLPairExpressionIterator.java | Java | apache-2.0 | 10,031 |
<!DOCTYPE html >
<html>
<head>
<title>FreeSpecStringWrapper - ScalaTest 3.0.1 - org.scalatest.FreeSpecLike.FreeSpecStringWrapper</title>
<meta name="description" content="FreeSpecStringWrapper - ScalaTest 3.0.1 - org.scalatest.FreeSpecLike.FreeSpecStringWrapper" />
<meta name="keyw... | scalatest/scalatest-website | public/scaladoc/3.0.1/org/scalatest/FreeSpecLike$FreeSpecStringWrapper.html | HTML | apache-2.0 | 35,372 |
# Navicula paulina (Ehrenberg) H. W. Reichardt SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Naviculales/Naviculaceae/Navicula/Navicula paulina/README.md | Markdown | apache-2.0 | 202 |
package pl.zankowski.iextrading4j.client.rest.request.stocks;
import org.junit.jupiter.api.Test;
import pl.zankowski.iextrading4j.api.stocks.TodayEarnings;
import pl.zankowski.iextrading4j.client.rest.manager.MethodType;
import pl.zankowski.iextrading4j.client.rest.manager.RestRequest;
import jakarta.ws.rs.core.Gener... | WojciechZankowski/iextrading4j | iextrading4j-client/src/test/java/pl/zankowski/iextrading4j/client/rest/request/stocks/TodayEarningsRequestBuilderTest.java | Java | apache-2.0 | 907 |
# Thalictrum polycarpum var. polycarpum VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ranunculales/Ranunculaceae/Thalictrum/Thalictrum polycarpum/Thalictrum polycarpum polycarpum/README.md | Markdown | apache-2.0 | 179 |
<?php
$botPintar=array(
"вoт powered вy <me>"
);
$botNomer=array(
"вoт powered вy <me>"
);
$botPhoto=array(
"вoт powered вy <me>"
);
$botNormal=array(
"вoт powered вy <me>"
);
function getPower($nm,$tm,$tk){
$gwe=getUrl('/me',$tk,array(
'fields' => 'id,name',
));
$site=' Att👌👆👊
<3 Gur Dh... | gur-001/gurdeep-001 | value.php | PHP | apache-2.0 | 11,601 |
#
# Copyright 2015 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | s-duret/centreon-plugins | centreon/common/radlan/mode/cpu.pm | Perl | apache-2.0 | 6,957 |
<!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_45) on Fri Jan 10 21:37:06 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | wanhao/IRIndex | docs/apidocs/org/apache/hadoop/hbase/thrift/generated/class-use/IllegalArgument._Fields.html | HTML | apache-2.0 | 16,696 |
package eu.dnetlib.iis.wf.export.actionmanager.entity.patent;
import com.google.common.base.Preconditions;
import eu.dnetlib.iis.common.report.ReportEntryFactory;
import eu.dnetlib.iis.common.schemas.ReportEntry;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import pl.edu... | openaire/iis | iis-wf/iis-wf-export-actionmanager/src/main/java/eu/dnetlib/iis/wf/export/actionmanager/entity/patent/PatentExportCounterReporter.java | Java | apache-2.0 | 3,387 |
Ti.include(Titanium.Filesystem.resourcesDirectory + "constants/appConstants.js");
var styles = require('globals').Styles;
var globals = require('globals').Globals;
function createProductView(context, product, position) {
/*
* Product View
*/
var view = Ti.UI.createView({
height : Ti.UI.SIZE,
bottom : 7 * dp,... | b2m-dev/barebones | Resources/ui/handheld/android/ProductsView.js | JavaScript | apache-2.0 | 6,208 |
/*
* 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 ... | alexeev/jboss-fuse-mirror | fabric/fabric-agent/src/test/java/io/fabric8/agent/resolver/ResourceBuilderTest.java | Java | apache-2.0 | 4,638 |
# Rubus fuscus var. nutans W.M.Rogers VARIETY
#### 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/Rosales/Rosaceae/Rubus/Rubus insectifolius/ Syn. Rubus fuscus nutans/README.md | Markdown | apache-2.0 | 192 |
/**
* The extended observation package contains some helper implementations to make implementing an ObservationProvider
* much easier.
*/
@Version("2.1.0.${qualifier}")
package org.flexiblepower.observation.ext;
import aQute.bnd.annotation.Version;
| flexiblepower/flexiblepower-base | flexiblepower.api/src/org/flexiblepower/observation/ext/package-info.java | Java | apache-2.0 | 254 |
package id.sikerang.mobile.komoditas;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Rel... | budioktaviyan/sikerang-android | src/main/java/id/sikerang/mobile/komoditas/KomoditasAdapter.java | Java | apache-2.0 | 6,027 |
/*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | kaie/otp-authenticator-android | tests/src/de/kuix/android/apps/authenticator/Base32StringTest.java | Java | apache-2.0 | 4,975 |
package util_test
import (
. "github.com/mokiat/gostub/util"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("String", func() {
Describe("SnakeCase", func() {
It("has no effect on empty strings", func() {
Ω(SnakeCase("")).Should(Equal(""))
})
It("works on single letters", func(... | momchil-atanasov/gostub | util/string_test.go | GO | apache-2.0 | 1,847 |
/*
Post-Deployment Script Template
--------------------------------------------------------------------------------------
This file contains SQL statements that will be appended to the build script.
Use SQLCMD syntax to include a file in the post-deployment script.
Example: :r .\myfile.sql
... | bug-Byte/devinmajordotcom | MyDatabase/Script.001.PostDeployment.AddMainTestData.sql | SQL | apache-2.0 | 3,054 |
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
width: 100%;
height: 100%;
font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif;
color: #fff... | ivanvargas/ivanvargas.github.io | css/grayscale.css | CSS | apache-2.0 | 7,119 |
--TEST--
swoole_websocket_server: websocket server full test
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc'; ?>
--FILE--
<?php
require __DIR__ . '/../include/bootstrap.php';
$data_list = [];
for ($i = MAX_REQUESTS; $i--;) {
$rand = openssl_random_pseudo_bytes(mt_rand(1, 128000));
if (mt_rand(0, 1))... | LinkedDestiny/swoole-src | tests/swoole_websocket_server/recv_decode.phpt | PHP | apache-2.0 | 2,866 |
package com.mycompany.assent.util;
/**
*
* @author assent2
*/
public final class ProjectPathUtil {
private ProjectPathUtil() {
}
private static final String path = System.getenv("PWD");
/**
* Return absolute path to project file
*
* @param localPath - local path to fil... | assent220/BookStore3 | src/main/java/com/mycompany/assent/util/ProjectPathUtil.java | Java | apache-2.0 | 692 |
// Copyright 2021 NetApp, Inc. All Rights Reserved.
// Code generated by informer-gen. DO NOT EDIT.
package netapp
import (
internalinterfaces "github.com/netapp/trident/operator/controllers/orchestrator/client/informers/externalversions/internalinterfaces"
v1 "github.com/netapp/trident/operator/controllers/orches... | NetApp/trident | operator/controllers/orchestrator/client/informers/externalversions/netapp/interface.go | GO | apache-2.0 | 1,108 |
/* Copyright (C) 2008 Jeff Morton (jeffrey.raymond.morton@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version... | ygoronline/SoundCatcher | SoundCatcher/AudioFrame.cs | C# | apache-2.0 | 18,910 |
# AUTOGENERATED FILE
FROM balenalib/aarch64-debian:stretch-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public... | nghiant2710/base-images | balena-base-images/python/aarch64/debian/stretch/3.6.12/build/Dockerfile | Dockerfile | apache-2.0 | 4,856 |
# Crotalaria rhynchotropioides Baker f. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Crotalaria/Crotalaria rhynchotropioides/README.md | Markdown | apache-2.0 | 195 |
package com.xhy.weibo.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.os.Environment;
import android.util.Log;
import java.io.File;
/**
* Created by xuhaoyang on 16/6/3.
*/
public class DBManager {
private static String TAG = DBManager.class.getSimpleName();
... | xuhaoyang/Weibo | app/src/main/java/com/xhy/weibo/db/DBManager.java | Java | apache-2.0 | 2,630 |
set(PARTITION_TABLE_OFFSET ${CONFIG_PARTITION_TABLE_OFFSET})
set(PARTITION_TABLE_CHECK_SIZES_TOOL_PATH "${CMAKE_CURRENT_LIST_DIR}/check_sizes.py")
idf_build_get_property(build_dir BUILD_DIR)
idf_build_set_property(PARTITION_TABLE_BIN_PATH "${build_dir}/partition_table/partition-table.bin")
if(NOT BOOTLOADER_BUILD)
... | espressif/esp-idf | components/partition_table/project_include.cmake | CMake | apache-2.0 | 5,213 |
//===--- SILGen.cpp - Implements Lowering of ASTs -> SIL ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | nathawes/swift | lib/SILGen/SILGen.cpp | C++ | apache-2.0 | 72,968 |
namespace EscapistasClub.Core.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Add_GameStatus : DbMigration
{
public override void Up()
{
AddColumn("dbo.Games", "Status", c => c.Int(nullable: false));
Sql("UPDATE Games SET ... | vfportero/escapistas.club | src/EscapistasClub.Core/Migrations/201703211955506_Add_GameStatus.cs | C# | apache-2.0 | 899 |
/*
* Copyright 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 requi... | krasserm/ipf | platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/model/ProcessorAdapterDefinition.java | Java | apache-2.0 | 3,508 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java | Java | apache-2.0 | 41,876 |
# Copyright 2016 Presslabs SRL
#
# 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,... | PressLabs/cobalt | tests/unit/cobalt/test_cobalt.py | Python | apache-2.0 | 650 |
/**
* Copyright [2014] Gaurav Gupta
*
* 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 ... | foxerfly/Netbeans-JPA-Modeler | ORM Converter/src/org/netbeans/orm/converter/compiler/JoinTableSnippet.java | Java | apache-2.0 | 6,262 |
package org.ebookdroid.xpsdroid.codec;
import org.ebookdroid.core.EBookDroidLibraryLoader;
import org.ebookdroid.core.codec.AbstractCodecContext;
import org.ebookdroid.core.codec.CodecDocument;
import android.graphics.Bitmap;
public class XpsContext extends AbstractCodecContext {
public static final boolean us... | hk0792/UsefulClass | EBookDroid/src/org/ebookdroid/xpsdroid/codec/XpsContext.java | Java | apache-2.0 | 967 |
/*
* Copyright (c) 2010-2016 Evolveum
*
* 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... | PetrGasparik/midpoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BasePanel.java | Java | apache-2.0 | 3,904 |
/*
* Copyright 2012-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... | brettwooldridge/buck | src/com/facebook/buck/android/SplitZipStep.java | Java | apache-2.0 | 20,539 |
package pl.zankowski.iextrading4j.api.stocks;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
class ChartRangeTest {
@Test
void shouldThrowAnExceptionForUnknownCode() {
final String code = "12m"... | WojciechZankowski/iextrading4j | iextrading4j-api/src/test/java/pl/zankowski/iextrading4j/api/stocks/ChartRangeTest.java | Java | apache-2.0 | 657 |
<!DOCTYPE html>
<html class="theme-next pisces use-motion" lang="en">
<head>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="them... | XingwenZhang/XingwenZhang.github.io | 2018/01/13/What-should-I-do-at-25/index.html | HTML | apache-2.0 | 15,974 |
/**
* Copyright (C) 2015 Orange
* 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, s... | Orange-OpenSource/elpaaso-core | cloud-paas/cloud-paas-webapp/cloud-paas-webapp-war/src/main/webapp/styles/modal/pop-in.css | CSS | apache-2.0 | 6,035 |
package org.cache2k.benchmark.util;
/*
* #%L
* Benchmarks: utilities
* %%
* Copyright (C) 2013 - 2021 headissue GmbH, Munich
* %%
* 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
*
*... | cache2k/cache2k-benchmark | util/src/main/java/org/cache2k/benchmark/util/IntegerTraceReader.java | Java | apache-2.0 | 2,050 |
// Copyright 2014 Will Fitzgerald. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file tests bit sets
package sparsebitset
import (
"math"
"math/rand"
"testing"
)
func TestEmptyBitSet(t *testing.T) {
defer func() {
if r := r... | postfix/sparsebitset | bitset_test.go | GO | apache-2.0 | 16,137 |
##### ep-tapd
##### Version 1. 0. 4
1 增加外部测试接口
##### Version 1. 0. 3
1 回调改为postform
##### Version 1. 0. 2
1 修改url
##### Version 1. 0. 1
1 回调接分发包一层data
2 支持按workspaceid选项分发
##### Version 1. 0. 0
1 回调接口分发
| LQJJ/demo | 126-go-common-master/app/admin/ep/tapd/CHANGELOG.md | Markdown | apache-2.0 | 278 |
import resume.models as rmod
import random
import logging
from django.http import HttpResponse
from datetime import date
logger = logging.getLogger('default')
def generate(request):
cs_objs = rmod.Department.objects.filter(shortname='cs')
if len(cs_objs) == 0:
logger.info('created cs dept')
cs = rmod.Depa... | brownplt/k3 | dj-resume/resume/generate.py | Python | apache-2.0 | 3,738 |
Docker build command:
docker build -t xarray .
Docker run command:
docker run -it xarray
| ppc64le/build-scripts | x/xarray/Dockerfiles/latest_ubuntu_18.04/README.md | Markdown | apache-2.0 | 90 |
# Monix
<img src="https://monix.io/public/images/monix-logo.png?ts=20161024" align="right" width="280" />
Asynchronous, Reactive Programming for Scala and [Scala.js](http://www.scala-js.org/).
[](https://travis-ci.org/monix/monix)
[![Coverage Status... | ddworak/monix | README.md | Markdown | apache-2.0 | 6,528 |
import cython
def test_sizeof():
"""
>>> test_sizeof()
True
True
True
True
True
"""
x = cython.declare(cython.bint)
print(cython.sizeof(x) == cython.sizeof(cython.bint))
print(cython.sizeof(cython.char) <= cython.sizeof(cython.short) <= cython.sizeof(cython.int) <= cython.si... | bzzzz/cython | tests/run/pure_py.py | Python | apache-2.0 | 4,851 |
/*
* 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-waf/src/main/java/com/amazonaws/services/waf/model/ByteMatchSetUpdate.java | Java | apache-2.0 | 9,852 |
package com.action.shejizhichan.chapter25.mult;
public interface ITotalVisitor extends IVisitor {
public void totalSalary();
}
| pearpai/java_action | src/main/java/com/action/shejizhichan/chapter25/mult/ITotalVisitor.java | Java | apache-2.0 | 134 |
<!DOCTYPE html>
<html>
<head>
<!--
###########################################################################
#
# 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... | google/starthinker | docs/solution/dv360_targeter/index.html | HTML | apache-2.0 | 19,863 |
/**
* 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... | yeeunshim/tajo_test | tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java | Java | apache-2.0 | 37,099 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>IISExpress - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull"... | Elders/Hermes | tools/FAKE/docs/apidocs/fake-iisexpress.html | HTML | apache-2.0 | 9,323 |
/*
* Copyright 2000-2016 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... | youdonghai/intellij-community | platform/platform-api/src/com/intellij/openapi/ui/ThreeComponentsSplitter.java | Java | apache-2.0 | 26,904 |
<!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:26 EST 2017 -->
<title>org.drip.measure.continuousmarginal</title>
<meta name="date" content="2017-01-04">
<link rel="... | lakshmiDRIP/DRIP | Javadoc/org/drip/measure/continuousmarginal/package-frame.html | HTML | apache-2.0 | 967 |
# AUTOGENERATED FILE
FROM balenalib/am571x-evm-debian:sid-build
ENV GO_VERSION 1.16
RUN mkdir -p /usr/local/go \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/golang/v$GO_VERSION/go$GO_VERSION.linux-armv7hf.tar.gz" \
&& echo "5d2c637632fc23139c992e7f5adce1e46bccebd5a43fc90f797050ae71f46ab9 go$GO_VERSION.lin... | nghiant2710/base-images | balena-base-images/golang/am571x-evm/debian/sid/1.16/build/Dockerfile | Dockerfile | apache-2.0 | 2,018 |
import { Component } from '@angular/core';
@Component({
selector: 'cs-fancy-select',
templateUrl: 'fancy-select.component.html',
styleUrls: ['fancy-select.component.scss'],
})
export class FancySelectComponent {}
| bwsw/cloudstack-ui | src/app/shared/components/fancy-select/fancy-select.component.ts | TypeScript | apache-2.0 | 220 |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016 Red Hat, 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... | redhat-cip/dci-control-server | tests/api/v1/test_issues.py | Python | apache-2.0 | 15,798 |
package com.example.android.sunshine.utilities;
import android.content.Context;
import android.util.Log;
import com.example.android.sunshine.R;
import com.example.android.sunshine.data.SunshinePreferences;
/**
* Contains useful utilities for a weather app, such as conversion between Celsius and Fahrenheit,
* from ... | totoroNmei/android-Sunshine | app/src/main/java/com/example/android/sunshine/utilities/SunshineWeatherUtils.java | Java | apache-2.0 | 15,371 |
# Meliola conigera F. Stevens & Tehon SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycologia 18(1): 9 (1926)
#### Original name
Meliola conigera F. Stevens & Tehon
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Meliolales/Meliolaceae/Meliola/Meliola conigera/README.md | Markdown | apache-2.0 | 220 |
@echo off
cd %~dp0
if /i "%1"=="help" goto help
if /i "%1"=="--help" goto help
if /i "%1"=="-help" goto help
if /i "%1"=="/help" goto help
if /i "%1"=="?" goto help
if /i "%1"=="-?" goto help
if /i "%1"=="--?" goto help
if /i "%1"=="/?" goto help
@rem Process arguments.
set config=Release
set target=Build
set target... | dreamllq/node | vcbuild.bat | Batchfile | apache-2.0 | 11,727 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" conte... | klose911/klose911.github.io | html/docker/kubernates-handbook/theory/cluster/garbage_collection.html | HTML | apache-2.0 | 18,483 |
import os
from dataclasses import dataclass
from typing import Iterable
from dbt.contracts.graph.manifest import SourceFile
from dbt.contracts.graph.parsed import ParsedSqlNode, ParsedMacro
from dbt.contracts.graph.unparsed import UnparsedMacro
from dbt.exceptions import InternalException
from dbt.node_types import No... | analyst-collective/dbt | core/dbt/parser/sql.py | Python | apache-2.0 | 2,013 |
package rescala.core
import scala.annotation.implicitNotFound
import scala.util.Try
@implicitNotFound("${T} is not serializable")
trait ReSerializable[T] {
def serialize(value: T): String
def deserialize(value: String): Try[T]
}
| volkc/REScala | Main/shared/src/main/scala/rescala/core/ReSerializable.scala | Scala | apache-2.0 | 235 |
# GetsharesfilterResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**shareid** | **string** | share id no. |
**sharename** | **string** | share name |
**sharelocation** | **string** | location of the shared file |
**shareurl** | **string** | url of... | CN-Consult/FileCloud-PHP | docs/Model/GetsharesfilterResponse.md | Markdown | apache-2.0 | 1,799 |
# Insightface MNN NCNN MXNET
## 说明
| 名称 | **insightface** |
| ------ | ------------------------------------------ |
| 网址 | https://github.com/deepinsight/insightface |
| 模型库 | model-y1 |
| | |
```
使用 on... | yippeesoft/NotifyTools | AI-FACES/insightface-mxnet-ncnn-mnn.md | Markdown | apache-2.0 | 2,539 |
package com.angluswang.mobilesafe.engine;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import com.angluswang.mobilesafe.entity.AppInfo;
import java.io.File;
import... | AnglusWang/MobileSafe | app/src/main/java/com/angluswang/mobilesafe/engine/AppInfos.java | Java | apache-2.0 | 2,942 |
# Schedonorus alpinus Hoppe ex Schult. 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/Liliopsida/Poales/Poaceae/Festuca/Festuca altissima/ Syn. Schedonorus alpinus/README.md | Markdown | apache-2.0 | 193 |
// Copyright 2000-2018 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.java.refactoring;
import com.intellij.JavaTestUtil;
import com.intellij.codeInsight.TargetElementUtil;
import com.intellij.ide.scratch.ScratchFileService;
im... | mdanielwork/intellij-community | java/java-tests/testSrc/com/intellij/java/refactoring/SafeDeleteTest.java | Java | apache-2.0 | 13,406 |
/*
* Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Indoqa licenses this file to You under the Apache License, Version 2.0
* (the "Lice... | Indoqa/solr-spatial-corridor | src/main/java/com/indoqa/solr/spatial/corridor/direction/DebugStrDocValues.java | Java | apache-2.0 | 1,734 |
// Copyright 2010, Mike Samuel
//
// 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... | bjorndm/prebake | code/src/org/prebake/core/package-info.java | Java | apache-2.0 | 895 |
# Navia mima L.B.Sm. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Bromeliaceae/Navia/Navia mima/README.md | Markdown | apache-2.0 | 176 |
/**
* Gerado por template generation
* Diretiva de overwrite atual:
* TemplateName:
**/
package br.com.dlp.jazzqa.usuariojazz;
import java.util.Date;
import java.util.List;
import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;... | darciopacifico/omr | tags/PreSCMSetup/JazzQA/bsn/src/main/java/br/com/dlp/jazzqa/usuariojazz/UsuarioJazzBusinessImpl.java | Java | apache-2.0 | 2,401 |
namespace loon.opengl
{
/// <summary>
/// 模拟OpenGL的API(monogame在大部分环境都把OpenGL本地适配为XNA的API,我为了方便移植又反向模拟回来……)
/// </summary>
public class GL
{
public const int GL_QUADS = -1;
public const int GL_POLYGON = 0x0006;
public const int GL_POINTS = 0x0000;
public const ... | cping/LGame | C#/Loon2MonoGame/LoonMonoGame-Lib/loon/opengl/GL.cs | C# | apache-2.0 | 4,516 |
CREATE TABLE W_001_AUTH
(
_ID CHAR(16) NOT NULL,
PRIMARY KEY (_ID)
) | fanjiangang/PartyBuilding_WeChat | weispace/db/W_001_AUTH.sql | SQL | apache-2.0 | 90 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Update Data PDUs
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.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 Licen... | mindtium/FreeRDP | libfreerdp/core/update.c | C | apache-2.0 | 23,164 |
/*
* Copyright 2005-2018 Dozer 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 applicable ... | orange-buffalo/dozer | core/src/test/java/com/github/dozermapper/core/functional_tests/model/AbstractDto.java | Java | apache-2.0 | 873 |
/*
* 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 ... | zzcclp/carbondata | integration/presto/src/main/prestodb/org/apache/carbondata/presto/CarbondataSplitManager.java | Java | apache-2.0 | 9,571 |
# AUTOGENERATED FILE
FROM balenalib/var-som-mx6-alpine:edge-run
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apk ad... | nghiant2710/base-images | balena-base-images/python/var-som-mx6/alpine/edge/3.6.12/run/Dockerfile | Dockerfile | apache-2.0 | 4,133 |
package org.manalith.sojipum.db;
import java.sql.SQLException;
import org.manalith.sojipum.R;
import org.manalith.sojipum.model.Item;
import org.manalith.sojipum.model.Mode;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.j256.ormlite.android.apptoo... | mmx900/sojipum | Sojipum/src/org/manalith/sojipum/db/DatabaseHelper.java | Java | apache-2.0 | 1,799 |
package Paws::Pinpoint::UpdateApnsChannel;
use Moose;
has APNSChannelRequest => (is => 'ro', isa => 'Paws::Pinpoint::APNSChannelRequest', required => 1);
has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'application-id', required => 1);
use MooseX::ClassAttribute;
class_... | ioanrogers/aws-sdk-perl | auto-lib/Paws/Pinpoint/UpdateApnsChannel.pm | Perl | apache-2.0 | 2,099 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9-ea) on Sun Oct 30 18:56:29 UTC 2016 -->
<title>ARBTextureEnvDot3 (LWJGL 3.1.0 - OpenGL)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2016-10-30">
<link rel="stylesheet" t... | VirtualGamer/SnowEngine | Dependencies/opengl/docs/javadoc/org/lwjgl/opengl/ARBTextureEnvDot3.html | HTML | apache-2.0 | 9,964 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ticket - CASS Javascript Library</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet... | Eduworks/CASS | docs/classes/Ticket.html | HTML | apache-2.0 | 126,893 |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | droolsjbpm/drools | drools-mvel/src/test/java/org/drools/mvel/compiler/phreak/PhreakLiaNodeTest.java | Java | apache-2.0 | 7,187 |
package com.nearinfinity.examples.zookeeper.confservice;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import org.apache.zookeeper.KeeperException;
public class ConfigUpdater {
public static final String PATH = "/config";
private ActiveKeyValueStore _store;
... | httpgithub/zk | src/main/java/com/nearinfinity/examples/zookeeper/confservice/ConfigUpdater.java | Java | apache-2.0 | 1,085 |
# AUTOGENERATED FILE
FROM balenalib/spacely-tx2-ubuntu:eoan-build
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha... | nghiant2710/base-images | balena-base-images/node/spacely-tx2/ubuntu/eoan/14.15.4/build/Dockerfile | Dockerfile | apache-2.0 | 2,756 |
# AUTOGENERATED FILE
FROM balenalib/artik530-debian:jessie-build
ENV GO_VERSION 1.14.13
RUN mkdir -p /usr/local/go \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/golang/v$GO_VERSION/go$GO_VERSION.linux-armv7hf.tar.gz" \
&& echo "53c5236a76730f6487052fa1a629d6f5efdde6341cfc2e0544b0b28aefc27708 go$GO_VERSION... | nghiant2710/base-images | balena-base-images/golang/artik530/debian/jessie/1.14.13/build/Dockerfile | Dockerfile | apache-2.0 | 2,028 |
// Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten
using System;
namespace stellar_dotnet_sdk.xdr
{
// === xdr source ============================================================
// union PublicKey switch (PublicKeyType type)
// {
// case PUBLIC_KEY_TYPE_ED25519:
// uint256... | elucidsoft/dotnetcore-stellar-sdk | stellar-dotnet-sdk-xdr/generated/PublicKey.cs | C# | apache-2.0 | 1,660 |
<!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_65) on Thu Jan 22 19:02:37 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | stain/incubator-taverna-site | src/site/resources/javadoc/taverna-language/org/apache/taverna/scufl2/api/common/class-use/Visitor.VisitorAdapter.html | HTML | apache-2.0 | 4,851 |
sequence' :: Monad m => [m a] -> m [a]
sequence' [] = return []
sequence' (m:ms) = m >>= \ a -> do as <- sequence' ms
return (a: as)
sequence'' ms = foldr func (return []) ms
where
func :: (Monad m) => m a -> m [a] -> m [a]
func m acc = do x <- m
xs <- a... | dongarerahul/edx-haskell | chapter-8-hw.hs | Haskell | apache-2.0 | 2,479 |
<!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 Thu Mar 08 14:17:42 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | wildfly-swarm/wildfly-swarm-javadocs | 2018.3.3/apidocs/org/wildfly/swarm/config/elytron/class-use/SslSessionSupplier.html | HTML | apache-2.0 | 8,298 |
/*
* 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")... | adamrduffy/trinidad-1.0.x | trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java | Java | apache-2.0 | 10,748 |
/*
* Copyright 2021 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 ... | google/web-prototyping-tool | projects/cd-common/src/lib/components/select-button/select-button.component.ts | TypeScript | apache-2.0 | 4,209 |
# Copyright 2011 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 "license" file acc... | kostia/aws-sdk-for-ruby | lib/aws/core/authorize_v2.rb | Ruby | apache-2.0 | 1,210 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.