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 |
|---|---|---|---|---|---|
/*
* Copyright (C) 2014-2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @defgroup boards_iotlab-m3 IoT-LAB M3 open node
* @ingroup boards
* @b... | LudwigKnuepfer/RIOT | boards/iotlab-a8-m3/include/board.h | C | lgpl-2.1 | 1,274 |
/**
* @class UITile
* @extends UIElement
* 是瓦片游戏地图控件,只需要放一个UITile到场景中,地图自动与场景关联。UITile支持由Map Editor Tiled制作的地图。场景中有多个地图时,可以通过UITile的setEnable函数,或用场景的setMap来设置场景当前的地图。
*
* 注意:
*
* 1.在新建地图时请选择CSV格式作为tile layer format,保存时使用JSON格式保存,图片与数据放在同一目录下。
*
* 2.启用物理引擎的方法:在tiled中新建立一个图层,给图层加几个自定义的属性。physics为true表示启用物理引擎,fri... | drawapp8/cantk | cantk/docs/source/backup/2016_02_29/zh/ui-tile.js | JavaScript | lgpl-2.1 | 1,684 |
/*
* Copyright (C) 2008-2012 Free Software Foundation, Inc.
*
* Author: Simon Josefsson
*
* This file is part of GnuTLS.
*
* GnuTLS 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 3 of ... | komh/gnutls-os2 | tests/mini-x509.c | C | lgpl-2.1 | 10,744 |
#!/usr/bin/env python
import sys, math
if len(sys.argv) != 3:
print("Usage:")
print("%s [RA HH:MM:SS] [DEC Deg:Arcmin:Arcsec] " % sys.argv[0])
exit(0)
ra = sys.argv[1]
dec = sys.argv[2]
rai = ra.split(":")
deci = dec.split(":")
radeg = float(rai[0]) * 15.0 + float(rai[1]) * (1.0 / 60.0) + float(rai[2])... | ari-zah/gaiasky | core/scripts/radec-conv.py | Python | lgpl-3.0 | 472 |
/* mpfr_signbit -- Signbit of a MPFR number
Copyright 2007-2016 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Publ... | comius/haskell-mpfr | deps/mpfr/src/signbit.c | C | lgpl-3.0 | 1,095 |
/*
SnoreNotify is a Notification Framework based on Qt
Copyright (C) 2014-2015 Hannah von Reth <vonreth@kde.org>
SnoreNotify is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either vers... | KDE/snorenotify | src/libsnore/alert_p.cpp | C++ | lgpl-3.0 | 1,009 |
package com.arcusys.learn.persistence.liferay.service.persistence;
import com.arcusys.learn.persistence.liferay.model.LFConditionRule;
import com.arcusys.learn.persistence.liferay.service.LFConditionRuleLocalServiceUtil;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.ke... | ViLPy/Valamis | learn-persistence-liferay620/src/main/java/com/arcusys/learn/persistence/liferay/service/persistence/LFConditionRuleActionableDynamicQuery.java | Java | lgpl-3.0 | 859 |
/*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2019 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | dgasmith/psi4 | psi4/src/psi4/libdpd/buf4_mat_irrep_rd.cc | C++ | lgpl-3.0 | 21,803 |
/**
* This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12
* 09:21:06 CET 2011.
*/
package org.opennaas.extensions.router.model;
import java.io.*;
import java.lang.Exception;
/**
* This Class contains accessor and mutator methods for all properties defined in the CIM class PeerIDPayloadFilterEn... | eenbp/OpenNaaS-0.14-Marketplace | utils/old-cim/PeerIDPayloadFilterEntry.java | Java | lgpl-3.0 | 5,913 |
/****************************************************************************
**
** Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees ho... | alesegdia/qt3d | src/collision/qgeometrycollider_p.h | C | lgpl-3.0 | 2,155 |
-- Copyright (c) 2014 James King [metapyziks@gmail.com]
--
-- This file is part of Final Frontier.
--
-- Final Frontier is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the Lic... | benloz10/FinalFrontier | gamemodes/finalfrontier/entities/entities/info_ff_roomcorner/init.lua | Lua | lgpl-3.0 | 1,345 |
package android.database.sqlite;
//import android.os.ParcelFileDescriptor;
public final class SQLiteStatement
extends SQLiteProgram
{
SQLiteStatement()
{
throw new RuntimeException("Stub!");
}
public void execute()
{
throw new RuntimeException("Stub!");
}
public i... | MaxNad/find-sec-bugs | plugin-deps/src/main/java/android/database/sqlite/SQLiteStatement.java | Java | lgpl-3.0 | 908 |
/**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, e... | sklaxel/inera-axel | shs/shs-protocol/src/main/java/se/inera/axel/shs/xml/agreement/ShsAgreement.java | Java | lgpl-3.0 | 4,780 |
/** \file
\brief Definition of basic types used by muParserX
<pre>
__________ ____ ___
_____ __ _\______ \_____ _______ ______ __________\ \/ /
/ \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ /
| Y Y \ | / | / __ \| |... | shouze/muparser | parser/mpScriptTokens.h | C | lgpl-3.0 | 1,974 |
define(function (require) {
var bdd = require('intern!bdd');
require('../helpers/test-page');
bdd.describe('Custom Measures Page', function () {
var projectId = 'eb294572-a6a4-43cf-acc2-33c2fe37c02e';
bdd.it('should show list', function () {
return this.remote
.open()
.mockFrom... | abbeyj/sonarqube | server/sonar-web/test/medium/custom-measures.spec.js | JavaScript | lgpl-3.0 | 7,167 |
<!-- WallacePOS: Copyright (c) 2014 WallaceIT <micwallace@gmx.com> <https://www.gnu.org/licenses/lgpl.html> -->
<div class="page-header">
<h1>
Invoice Settings
<small>
<i class="icon-double-angle-right"></i>
Manage invoice & accounts settings
</small>
</h1>
</div>... | farukham/wallacepos | admin/content/invoicesettings.php | PHP | lgpl-3.0 | 5,623 |
#include "testutils/FuseFlushTest.h"
using ::testing::Eq;
using ::testing::WithParamInterface;
using ::testing::Values;
using ::testing::Return;
using std::string;
// The fuse behaviour is: For each open(), there will be exactly one call to release().
// Directly before this call to release(), flush() will be called... | davesteele/cryfs | test/fspp/fuse/flush/FuseFlushFileDescriptorTest.cpp | C++ | lgpl-3.0 | 1,391 |
/* ode-initval/rk8pd.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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 3 of the License, or (at
* your opt... | PeterWolf-tw/NeoPraat | sources_5401/external/gsl/gsl_ode-initval__rk8pd.c | C | lgpl-3.0 | 12,064 |
/* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2010 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundat... | airwzz999/osgearth-for-android | src/osgEarthDrivers/label_annotation/AnnotationLabelSource.cpp | C++ | lgpl-3.0 | 6,635 |
/************************************************************
**
** file: btreeif.cpp
** author: Andreas Steffens
** license: LGPL v3
**
** description:
**
** This file contains code for the b-tree frameworks base class
** on the iterator interface level.
**
************************************************************/... | andreas-steffens/btree-framework-demonstration | src/btreetest/btree_framework/base_class_stack/btreeif.cpp | C++ | lgpl-3.0 | 1,598 |
/*
* Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2003, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Licen... | nawawi/wkhtmltopdf | webkit/Source/JavaScriptCore/runtime/JSCell.cpp | C++ | lgpl-3.0 | 6,870 |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from MessageHeader.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
#ifndef MessageHeaderPl... | osrf/librpcdds | examples/C++/ddsTypes/CalculatorTCP/MessageHeaderPlugin.h | C | lgpl-3.0 | 39,291 |
FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD listen-1.0-SNAPSHOT.jar app.jar
RUN sh -c 'touch /app.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ] | AJauffre/trackr | listen/src/main/docker/Dockerfile | Dockerfile | unlicense | 227 |
<!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.6.0_30) on Sat Mar 22 15:15:54 EDT 2014 -->
<title>SeriesChangeEvent (JFreeChart Class Library (version 1.0.17))</title>
<meta name="date" ... | GliderWinchItems/GliderWinchj2 | lib/JFreeChart-1.0.17/javadoc/org/jfree/data/general/SeriesChangeEvent.html | HTML | unlicense | 9,103 |
/*
_____ __ ___ __ ____ _ __
/ ___/__ ___ _ ___ / |/ /__ ___ / /_____ __ __/ __/_______(_)__ / /_
/ (_ / _ `/ ' \/ -_) /|_/ / _ \/ _ \/ '_/ -_) // /\ \/ __/ __/ / _ \/ __/
\___/\_,_/_/_/_/\__/_/ /_/\___/_//_/_/\_\\__/\_, /___/\__/_/ /_/ .__/\__/
... | r-lyeh/scriptorium | gamemonkey/src/gm/gmByteCode.h | C | unlicense | 3,241 |
package com.dstevens.user.patronage;
import com.dstevens.utilities.Identified;
public enum PaymentType implements Identified<Integer> {
OTHER(0),
PAYPAL(1),
AWARD(2),
GIFT(3)
;
public static PaymentType forId(int id) {
for (PaymentType paymentType : values()) {
if(paymentType.id == id)... | tsal/ElysiumFrontend | src/java/com/dstevens/user/patronage/PaymentType.java | Java | unlicense | 585 |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__B8C4E1DD_5404_4CDD_B748_AFC934CC44BC__INCLUDED_)
#define AFX_STDAFX_H__B8C4E1DD_5404_4CDD_B748_AFC934CC44BC__INCLUDED_
... | hyller/CodeLibrary | Visual C++ Example/第17章 多媒体开发/实例394——在OpenGL中,使用纹理显示图形/OpenGLTexture/StdAfx.h | C | unlicense | 1,054 |
/**
* 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... | mistercrunch/panoramix | superset-frontend/src/explore/components/controls/DateFilterControl/index.ts | TypeScript | apache-2.0 | 854 |
/**
* InventoryServiceSoapBindingStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201405;
public class InventoryServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.google.api.... | ya7lelkom/googleads-java-lib | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201405/InventoryServiceSoapBindingStub.java | Java | apache-2.0 | 69,915 |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | kalley/pdf.js | src/display/annotation_helper.js | JavaScript | apache-2.0 | 9,506 |
#!/usr/bin/python
#
# Copyright 2013 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 b... | caioserra/apiAdwords | examples/adspygoogle/dfp/v201306/deactivate_placements.py | Python | apache-2.0 | 2,253 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | model-api/bpmn-model/src/test/java/org/camunda/bpm/model/bpmn/CamundaExtensionsTest.java | Java | apache-2.0 | 57,428 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | engine/src/test/java/org/camunda/bpm/engine/test/jobexecutor/JobDefinitionDeploymentTest.java | Java | apache-2.0 | 9,640 |
/*
* 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 ... | DariusX/camel | components/camel-atomix/src/test/java/org/apache/camel/component/atomix/client/map/AtomixMapNodesProducerTest.java | Java | apache-2.0 | 3,520 |
package com.ibm.kdd.core;
public enum DataType {
STR,
INT,
FLOAT,
DATE,
TIME,
TIMESTAMP,
UNKNOWN;
public static DataType getDataType(String typeName) {
if (typeName.equalsIgnoreCase("string") || typeName.equalsIgnoreCase("str")) {
return STR;
}
else if (typeName.equalsIgnoreCase("inte... | wliu015/event_miner | pages/temporal-pattern/WEB-INF/classes/com/ibm/kdd/core/DataType.java | Java | apache-2.0 | 967 |
"""The tests for hls streams."""
from datetime import timedelta
from io import BytesIO
from unittest.mock import patch
from homeassistant.setup import async_setup_component
from homeassistant.components.stream.core import Segment
from homeassistant.components.stream.recorder import recorder_save_worker
import homeassi... | auduny/home-assistant | tests/components/stream/test_recorder.py | Python | apache-2.0 | 2,235 |
/*
* Copyright 2014 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... | emilianoandre/jbpm-console-ng | jbpm-console-ng-executor-service/jbpm-console-ng-executor-service-client/src/main/java/org/jbpm/console/ng/es/client/editors/servicesettings/JobServiceSettingsPopup.java | Java | apache-2.0 | 9,936 |
#ifndef BWA_H_
#define BWA_H_
#include <stdint.h>
#include "bntseq.h"
#include "bwt.h"
#define BWA_IDX_BWT 0x1
#define BWA_IDX_BNS 0x2
#define BWA_IDX_PAC 0x4
#define BWA_IDX_ALL 0x7
typedef struct {
bwt_t *bwt; // FM-index
bntseq_t *bns; // information on the reference sequences
uint8_t *pac; // the actual 2... | ytchen0323/cloud-scale-bwamem | src/main/native/bwa.h | C | apache-2.0 | 1,799 |
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
#include "kwsysPrivate.h"
#include KWSYS_HEADER(MD5.h)
/* Work-around CMake dependency scanning limitation. This must
duplicate the above list of headers. */
#i... | LucasGandel/ITK | Modules/ThirdParty/KWSys/src/KWSys/MD5.c | C | apache-2.0 | 16,195 |
/*
* 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 ... | mxm/incubator-beam | runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/ParDoTranslation.java | Java | apache-2.0 | 28,033 |
---
title: Jesus College MCR (Private)
superTitle: This is where you
subTitle: for Jesus MCR events and services
layout: private
---
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
... | JCMCR/JesusMCRsite | private/index.html | HTML | apache-2.0 | 4,159 |
require 'spec_helper'
describe Capistrano::DSL do
let(:dsl) { Class.new.extend Capistrano::DSL }
before do
Capistrano::Configuration.reset!
end
describe 'setting and fetching hosts' do
describe 'when defining a host using the `server` syntax' do
before do
dsl.server 'example1.com', rol... | Coolnesss/Coordinates | vendor/cache/ruby/2.2.0/gems/capistrano-3.4.0/spec/integration/dsl_spec.rb | Ruby | apache-2.0 | 18,027 |
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | emk/rust | src/test/compile-fail/regions-bounded-by-send.rs | Rust | apache-2.0 | 2,414 |
/* $Id: QueryRetrieveScpService.java 1004 2004-02-21 22:32:43Z gunterze $
* Copyright (c) 2002,2003 by TIANI MEDGRAPH AG
*
* This file is part of dcm4che.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the F... | medicayun/medicayundicom | dcm4jboss-all/tags/dcm4jboss_0_7_1/dcm4jboss-sar/src/java/org/dcm4chex/service/QueryRetrieveScpService.java | Java | apache-2.0 | 8,887 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
<helpset version="2.0" xml:lang="ko-KR">
<title>Revisit | ZAP Extension</title>
<maps>
<homeID>top</homeID>
<mapref loc... | 0xkasun/security-tools | src/org/zaproxy/zap/extension/revisit/resources/help_ko_KR/helpset_ko_KR.hs | Haskell | apache-2.0 | 969 |
/*
* 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 ... | apigee/apigee-ios-sdk | source/Classes/Services/NSURLConnection+Apigee.h | C | apache-2.0 | 4,939 |
import { NodeMaterialBlock } from '../nodeMaterialBlock';
import { NodeMaterialBlockConnectionPointTypes } from '../Enums/nodeMaterialBlockConnectionPointTypes';
import { NodeMaterialBuildState } from '../nodeMaterialBuildState';
import { NodeMaterialConnectionPoint } from '../nodeMaterialBlockConnectionPoint';
imp... | RaananW/Babylon.js | src/Materials/Node/Blocks/waveBlock.ts | TypeScript | apache-2.0 | 3,379 |
/*
* 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... | dpursehouse/elasticsearch | client/benchmark/src/main/java/org/elasticsearch/client/benchmark/metrics/Sample.java | Java | apache-2.0 | 1,742 |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package com.google.zxing.datamatrix.detector (ZXing 3.4.1 API)<... | zxing/zxing | docs/apidocs/com/google/zxing/datamatrix/detector/package-use.html | HTML | apache-2.0 | 4,246 |
/*
* Copyright (C) 2013 Manuel Peinado
*
* 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... | fedefernandez/RefreshActionItem-ActionBarCompat | library/src/main/java/com/manuelpeinado/refreshactionitem/ProgressIndicator.java | Java | apache-2.0 | 5,766 |
/**
* 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 l... | akarnokd/RxJava | src/test/java/io/reactivex/internal/operators/single/SingleDoAfterTerminateTest.java | Java | apache-2.0 | 3,785 |
table.sortable1 {
font-family: verdana, arial, sans-serif;
font-size: 11px;
color: #333333;
align: center;
}
table.sortable1 td {
vertical-align: top;
}
table.sortable {
font-family: verdana, arial, sans-serif;
font-size: 11px;
color: #333333;
border-width: 1px;
border-color: #999999;
align: center;
borde... | calsoftcapella/MedecisionTimeEffort | MedecisionTimeEffort/WebContent/css/time_entry_page_style.css | CSS | apache-2.0 | 1,996 |
//! # Token Streams
//!
//! `TokenStream`s represent syntactic objects before they are converted into ASTs.
//! A `TokenStream` is, roughly speaking, a sequence of [`TokenTree`]s,
//! which are themselves a single [`Token`] or a `Delimited` subsequence of tokens.
//!
//! ## Ownership
//!
//! `TokenStream`s are persiste... | graydon/rust | compiler/rustc_ast/src/tokenstream.rs | Rust | apache-2.0 | 23,640 |
// Copyright 2016, EMC, Inc.
/* jshint node: true */
'use strict';
describe(require('path').basename(__filename), function() {
var schemaFileName = 'install-esxi.json';
var canonical = {
"osType": "esx",
"profile": "install-esx.ipxe",
"installScript": "esx-ks",
"installScriptU... | nortonluo/on-tasks | spec/lib/task-data/schemas/install-esxi-spec.js | JavaScript | apache-2.0 | 4,856 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Context</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Context">
<link rel="ne... | ryancoleman/autodock-vina | boost_1_54_0/libs/context/doc/html/index.html | HTML | apache-2.0 | 3,581 |
/*
* 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
* distribut... | stewartpark/presto | presto-main/src/main/java/com/facebook/presto/metadata/MetadataUtil.java | Java | apache-2.0 | 10,472 |
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Provides information on a particular property during an assertion for structural equality of two object graphs.
/// </summary>
public interface IEquivalencyValidationContext : ISubjectInfo
{
/// <summary>
/// Gets the value o... | ben-m-lucas/FluentAssertions | Src/Core/Equivalency/IEquivalencyValidationContext.cs | C# | apache-2.0 | 1,540 |
---
id: version-2.7.3-admin-api-namespaces
title: Managing Namespaces
sidebar_label: Namespaces
original_id: admin-api-namespaces
---
Pulsar [namespaces](reference-terminology.md#namespace) are logical groupings of [topics](reference-terminology.md#topic).
Namespaces can be managed via:
* The [`namespaces`](referenc... | massakam/pulsar | site2/website/versioned_docs/version-2.7.3/admin-api-namespaces.md | Markdown | apache-2.0 | 22,974 |
/*
* Copyright 2017 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 app... | etirelli/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-case-mgmt/kie-wb-common-stunner-case-mgmt-api/src/test/java/org/kie/workbench/common/stunner/cm/factory/CaseManagementDiagramFactoryImplTest.java | Java | apache-2.0 | 2,654 |
package netlink
import (
"fmt"
"net"
)
type Filter interface {
Attrs() *FilterAttrs
Type() string
}
// FilterAttrs represents a netlink filter. A filter is associated with a link,
// has a handle and a parent. The root filter of a device should have a
// parent == HANDLE_ROOT.
type FilterAttrs struct {
LinkInde... | cilium/cilium | vendor/github.com/vishvananda/netlink/filter.go | GO | apache-2.0 | 7,078 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_raw_socket::message_peek</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_a... | NixaSoftware/CVis | venv/bin/doc/html/boost_asio/reference/basic_raw_socket/message_peek.html | HTML | apache-2.0 | 3,508 |
/**
* Licensed to Big Data Genomics (BDG) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The BDG licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | allenday/adam | adam-core/src/test/scala/org/bdgenomics/adam/algorithms/consensus/ConsensusGeneratorFromReadsSuite.scala | Scala | apache-2.0 | 1,536 |
/*
* #%L
* SparkCommerce Common Libraries
* %%
* Copyright (C) 2015 Spark Commerce
* %%
*/
package org.sparkcommerce.common.email.service.message;
import java.util.Map;
public interface EmailServiceProducer {
public void send(final Map props);
}
| akdasari/SparkCommon | src/main/java/org/sparkcommerce/common/email/service/message/EmailServiceProducer.java | Java | apache-2.0 | 265 |
// Note: Consider the API unstable until the code supports at least three different image formats or transports.
// NOTE: Keep this in sync with docs/atomic-signature.md and docs/atomic-signature-embedded.json!
package signature
import (
"encoding/json"
"fmt"
"time"
"github.com/containers/image/v5/version"
dig... | TomSweeneyRedHat/buildah | vendor/github.com/containers/image/v5/signature/signature.go | GO | apache-2.0 | 11,181 |
package gov.hhs.onc.dcdt.data;
import org.springframework.dao.DataAccessException;
public class ToolBeanDataAccessException extends DataAccessException {
private final static long serialVersionUID = 0L;
public ToolBeanDataAccessException() {
super(null);
}
public ToolBeanDataAccessException(... | mkotelba/dcdt | dcdt-core/src/main/java/gov/hhs/onc/dcdt/data/ToolBeanDataAccessException.java | Java | apache-2.0 | 559 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | KeyNexus/netty | src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java | Java | apache-2.0 | 1,462 |
/*
* ******************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. 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 i... | rpmoore/ds3_java_sdk | ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/ClearSuspectBlobTapesSpectraS3ResponseParser.java | Java | apache-2.0 | 2,153 |
/**
* Copyright 2007-2015, Kaazing Corporation. 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 require... | jfallows/k3po | driver/src/main/java/org/kaazing/k3po/driver/internal/netty/bootstrap/agrona/DefaultAgronaServerChannelConfig.java | Java | apache-2.0 | 1,132 |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [mouse](./puppeteer.page.mouse.md)
## Page.mouse property
<b>Signature:</b>
```typescript
get mouse(): Mouse;
```
| puppeteer/puppeteer | website/versioned_docs/version-9.1.1/puppeteer.page.mouse.md | Markdown | apache-2.0 | 289 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | apache/santuario-java | src/test/java/org/apache/xml/security/test/dom/transforms/TransformTest.java | Java | apache-2.0 | 1,911 |
<?php
/**
* COSPLAYPROP.COM 字符集转换类
* @author: 未知
* @version: v2.2
* ---------------------------------------------
* $Id: cls_iconv.php 17063 2010-03-25 06:35:46Z liuhui $
*/
class Chinese
{
/**
* 存放 GB <-> UNICODE 对照表的内容
* @变量类型
* @访问 内部
*/
var $unicode_tabl... | zhaoshengloveqingqing/fenxiao | lib/class/class-iconv.php | PHP | apache-2.0 | 24,435 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/robomaker/model/SourceConfig.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namesp... | awslabs/aws-sdk-cpp | aws-cpp-sdk-robomaker/source/model/SourceConfig.cpp | C++ | apache-2.0 | 1,729 |
// Autogenerated by gameplay-luagen
#ifndef LUA_MATERIAL_H_
#define LUA_MATERIAL_H_
namespace gameplay
{
void luaRegister_Material();
}
#endif
| reven86/GamePlay | gameplay/src/lua/lua_Material.h | C | apache-2.0 | 147 |
# Copyright 2019 The Oppia 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 applicable ... | kevinlee12/oppia | scripts/run_presubmit_checks.py | Python | apache-2.0 | 3,619 |
/*
* 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 ... | jzonthemtn/opennlp | opennlp-tools/src/main/java/opennlp/tools/util/StringUtil.java | Java | apache-2.0 | 11,195 |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.34209
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... | modulexcite/msgpack-cli | test/MsgPack.UnitTest/gen/map/MsgPack_Serialization_PolymorphicMemberTypeRuntimeType_PrimitiveReadWriteFieldAsObjectSerializer.cs | C# | apache-2.0 | 6,892 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http... | susinda/product-mss | samples/petstore/frontend-util/src/main/java/org/wso2/carbon/mss/examples/petstore/util/fe/client/PetCategoryServiceClient.java | Java | apache-2.0 | 5,196 |
package ca.uhn.fhir.rest.server;
import static org.hamcrest.Matchers.startsWith;
import static org.junit.Assert.*;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.client.method... | eug48/hapi-fhir | hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/BinaryTest.java | Java | apache-2.0 | 7,677 |
# Copyright 2015-2017 Capital One Services, 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 ... | jimmyraywv/cloud-custodian | tests/test_offhours.py | Python | apache-2.0 | 21,903 |
/**
* Package contains filter for wicket data tables
*/
package org.orienteer.core.component.table.component; | OrienteerBAP/Orienteer | orienteer-core/src/main/java/org/orienteer/core/component/table/component/package-info.java | Java | apache-2.0 | 111 |
/**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | hekonsek/fabric8 | sandbox/fabric8-etcd/core/src/main/java/io/fabric8/etcd/core/ImmutableNode.java | Java | apache-2.0 | 5,684 |
/*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. You may obtain a copy of the License at
*
* http://www.apache.org/li... | hpelabs/supersim | src/workload/stencil/Application.h | C | apache-2.0 | 1,626 |
/**
* 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... | aaronwalker/camel | components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZookeeperProducer.java | Java | apache-2.0 | 7,870 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fms/model/SecurityGroupRemediationAction.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace ... | awslabs/aws-sdk-cpp | aws-cpp-sdk-fms/source/model/SecurityGroupRemediationAction.cpp | C++ | apache-2.0 | 2,555 |
/*
* 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")... | apache/aries | proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceCombiningClassAdapter.java | Java | apache-2.0 | 6,805 |
// @flow
import * as React from 'react'
import { shallow } from 'enzyme'
import { SlotMap } from '../SlotMap'
import { Icon } from '../../icons'
describe('SlotMap', () => {
it('component renders 11 slots', () => {
const wrapper = shallow(<SlotMap occupiedSlots={['1']} />)
expect(wrapper.find('rect')).toHav... | Opentrons/labware | components/src/slotmap/__tests__/SlotMap.test.js | JavaScript | apache-2.0 | 1,020 |
import { Nullable } from "babylonjs/types";
import * as React from "react";
import { GlobalState } from "../../../../../../globalState";
import { Context, IActiveAnimationChangedOptions } from "../context";
import { Observer } from "babylonjs/Misc/observable";
// x distance between consecutive ticks on the frame... | RaananW/Babylon.js | inspector/src/components/actionTabs/tabs/propertyGrids/animations/curveEditor/graph/frameBarComponent.tsx | TypeScript | apache-2.0 | 4,934 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-62
description: >
Object.defineProperty - both desc.value and name.value are null
(8.12.9 step 6)
includes: [propertyHelper.js]
---*/
var obj = {};
O... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperty/15.2.3.6-4-62.js | JavaScript | apache-2.0 | 560 |
// Lucene version compatibility level 8.2.0
using System;
using Lucene.Net.TestFramework;
#if TESTFRAMEWORK_MSTEST
using Test = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute;
using Assert = Lucene.Net.TestFramework.Assert;
#elif TESTFRAMEWORK_NUNIT
using Test = NUnit.Framework.TestAttribute;
using ... | jeme/lucenenet | src/Lucene.Net.Tests.TestFramework/Analysis/TestMockCharFilter.cs | C# | apache-2.0 | 2,771 |
/*
* Copyright 2002-2012 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 ap... | qobel/esoguproject | spring-framework/spring-context/src/test/java/org/springframework/tests/sample/beans/Employee.java | Java | apache-2.0 | 840 |
package net.sourceforge.squirrel_sql.client;
/*
* Copyright (C) 2001-2006 Colin Bell
* colbell@users.sourceforge.net
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* vers... | sdgdsffdsfff/bigtable-sql | src/main/java/net/sourceforge/squirrel_sql/client/DummyAppPlugin.java | Java | apache-2.0 | 1,677 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
namespace Google\Cloud\ContactCenterInsights\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
... | googleapis/google-cloud-php-contact-center-insights | src/V1/ListIssueModelsResponse.php | PHP | apache-2.0 | 2,228 |
# rfkill tests
# Copyright (c) 2014, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
import logging
logger = logging.getLogger()
import time
import hostapd
from hostapd import HostapdGlobal
import hwsim_utils
from wpasupplicant import Wpa... | wangybgit/Chameleon | hostapd-OpenWrt/tests/hwsim/test_rfkill.py | Python | apache-2.0 | 6,236 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Management.Network.Models
{
/// <summary> Private dns zone group resource. </summary>
public partial class PrivateDnsZoneGr... | stankovski/azure-sdk-for-net | sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/PrivateDnsZoneGroup.cs | C# | apache-2.0 | 2,172 |
/*
*
* Copyright 2013 the original author or authors.
* Copyright 2013 SorcerSoft.org.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | s13372/SORCER | core/sorcer-platform/src/main/java/sorcer/core/exertion/AltMogram.java | Java | apache-2.0 | 4,815 |
package com.s4game.server.bus.stagecontroll;
import com.s4game.server.bus.stagecontroll.position.AbsRolePosition;
import com.s4game.server.bus.stagecontroll.position.RoleNormalPosition;
public class RoleState {
private String roleId;
private AbsRolePosition curPosition;
private AbsRolePosition read... | zuesgooogle/HappyMj | mj-game/src/main/java/com/s4game/server/bus/stagecontroll/RoleState.java | Java | apache-2.0 | 1,193 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/uima-addons | ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/ConfigPackage.java | Java | apache-2.0 | 67,486 |
# Copyright 2014 The Oppia 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 applicable ... | kennho/oppia | scripts/install_third_party.py | Python | apache-2.0 | 13,118 |
package spork.internal;
import java.util.ArrayList;
import java.util.List;
import spork.extension.FieldBinder;
import spork.extension.MethodBinder;
import spork.extension.TypeBinder;
/**
* The Catalog holds a reference to all known field/method/type binder instances.
*/
public final class Catalog {
private final... | SporkLibrary/Spork-Android | spork/src/main/java/spork/internal/Catalog.java | Java | apache-2.0 | 1,135 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
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... | Resly/pipeline | loadtest.ml/apache-jmeter-3.0/printable_docs/mail2.html | HTML | apache-2.0 | 10,380 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.