code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
using System.Xml.Serialization; namespace Geo.Gps.Serialization.Xml.Gpx.Gpx10 { [XmlType(AnonymousType=true, Namespace="http://www.topografix.com/GPX/1/0")] public class GpxTrackPoint : GpxPoint { public decimal course { get; set; } [XmlIgnore] public bool courseSpecified { get; se...
asapostolov/Geo
Geo/Gps/Serialization/Xml/Gpx/Gpx10/GpxTrackPoint.cs
C#
lgpl-3.0
446
<?php /** * 信息中心默认语言包 zh_cn * * @package application.modules.officialdoc.language.zh_cn * @version $Id: default.php 481 2013-05-30 08:04:10Z gzwwb $ * @author gzwwb <gzwwb@ibos.com.cn> */ return array( //----------------golabs------------------- 'Information center' => '信息中心', 'Officialdoc' => '通知公告'...
SeekArt/IBOS
system/modules/officialdoc/language/zh_cn/default.php
PHP
lgpl-3.0
5,779
/** * 基于jquery.select2扩展的select插件,基本使用请参考select2相关文档 * 默认是多选模式,并提供了input模式下的初始化方法,对应的数据格式是{ id: 1, text: "Hello" } * 这里的参数只对扩展的部分作介绍 * filter、includes、excludes、query四个参数是互斥的,理论只能有其一个参数 * @method ibosSelect * @param option.filter * @param {Function} option.filter 用于过滤源数据的函数 * @param {Array} option.includes...
SeekArt/IBOS
static/js/src/base/ibos.select2.js
JavaScript
lgpl-3.0
5,038
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as f...
Distrotech/qtquick1
examples/declarative/tutorials/extending/chapter5-listproperties/main.cpp
C++
lgpl-3.0
2,394
#pragma once #include "Session.h" #pragma once #include "NetPacket.h" class ChatSession: public Session { public: void HandlePing(NetPacket * NetPacket); void HandleEnterRoom(NetPacket * recvPack); void HandleLevaeRoom(NetPacket * recvPack); void HandlePlayerMessage(NetPacket * recvPack); uns...
thomashuang/clover
cpp/clover/ChatSession.h
C
lgpl-3.0
433
#include <cstdio> #include <cstring> #define MAXX 50 #define MAXY 50 #define MAXLEN 100 #define Zero(v) memset((v), 0, sizeof(v)) int X, Y; char ins[MAXLEN + 1]; int x, y, d; bool scent[MAXX + 1][MAXY + 1]; const char dirs_str[] = "NESW"; const int dirs[4][2] = { { 0, 1 }, { 1, 0 }, { 0, -1 }, ...
lbv/pc-code
solved/l-n/mutant-flatworld-explorers/explorers.cpp
C++
unlicense
1,276
/** ****************************************************************************** * @file DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c * @author MCD Application Team * @version V1.3.0 * @date 18-December-2015 * @brief Main Interrupt Service Routines. * This file provides template for al...
hyller/CodeLibrary
stm32cubef1/STM32Cube_FW_F1_V1.3.0/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c
C
unlicense
5,715
[SDS-2.2, Scalable Data Science](https://lamastex.github.io/scalable-data-science/sds/2/2/) =========================================================================================== This is an elaboration of the <http://spark.apache.org/docs/latest/sql-programming-guide.html> by Ivan Sadikov and Raazesh Sainudiin. ...
raazesh-sainudiin/scalable-data-science
gb/sds-2-2/007d_SparkSQLProgGuide_HW.md
Markdown
unlicense
35,754
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; function Square(props) { return ( <button className="square" onClick={props.onClick}> {props.value} </button> ); } class Board extends React.Component { renderSquare(i) { return ( <Square value={thi...
xiaoxiaoyao/MyApp
HTML/前端/my-react-app-spring-boot-yao/src/index.js
JavaScript
unlicense
2,690
/********************************************************************************** Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software w...
Grulfen/air_guitar
ciUI/src/ciUIRotarySlider.h
C
unlicense
13,486
require('babel-core/register')({plugins: ['babel-plugin-rewire']}) import packageJson from '../package.json' import conformToMask from '../src/conformToMask' import {placeholderChar} from '../src/constants' const createTextMaskInputElement = (isVerify()) ? require(`../${packageJson.main}`).createTextMaskInputElemen...
CrisDan1905/text-mask
core/test/createTextMaskInputElement.spec.js
JavaScript
unlicense
13,794
Take a distributed lock in a shared SQL Server database. In F#: Example ------- Take a distributed lock in a shared SQL Server database. In F#: #r "Sproc.Lock.dll" open System open Sproc.Lock.Fun let connString = "sql server connection string" let lock1 = GetGlobalLock connString (TimeSpan.Fr...
octoberclub/Sproc.Lock
README.md
Markdown
unlicense
2,172
GoogleElectionMap.shapeReady({name:"28_05",type:"state",state:"28_05",bounds:[],centroid:[],shapes:[ {points:[ {x:32.8810559124534,y: 24.5253494052583} , {x:32.8804366855404,y: 24.5250018993236} , {x:32.8804349320052,y: 24.5250021192127} , {x:32.8800699675051,y: 24.52504787811} , {x:32.880107603168,y: 24.5253602242076}...
amounir86/amounir86-2011-elections
voter-info/shapes/old_json/28_05.js
JavaScript
unlicense
52,858
<?php /** * An exception when an fActiveRecord is not found in the database * * @copyright Copyright (c) 2007-2008 Will Bond * @author Will Bond [wb] <will@flourishlib.com> * @license http://flourishlib.com/license * * @package Flourish * @link http://flourishlib.com/fNotFoundExcepti...
ksa46/work
library/Flourish/lib/fNotFoundException.php
PHP
unlicense
1,655
/** ****************************************************************************** * @file main.h * @author MCD Application Team * @version V1.3.0 * @date 18-December-2015 * @brief Header for main.c module ****************************************************************************** *...
hyller/CodeLibrary
stm32cubef1/STM32Cube_FW_F1_V1.3.0/Projects/STM3210E_EVAL/Applications/STemWin/STemWin_HelloWorld/Inc/main.h
C
unlicense
3,241
*DECK PRWPGE SUBROUTINE PRWPGE (KEY, IPAGE, LPG, SX, IX) C***BEGIN PROLOGUE PRWPGE C***SUBSIDIARY C***PURPOSE Subsidiary to SPLP C***LIBRARY SLATEC C***TYPE SINGLE PRECISION (PRWPGE-S, DPRWPG-D) C***AUTHOR Hanson, R. J., (SNLA) C Wisniewski, J. A., (SNLA) C***DESCRIPTION C C PRWPGE LIMITS ...
andremirt/v_cond
slatec/src/prwpge.f
FORTRAN
unlicense
2,500
#include "buffer_manager.hh" #include "assert.hh" #include "buffer.hh" #include "client_manager.hh" #include "exception.hh" #include "file.hh" #include "ranges.hh" #include "string.hh" namespace Kakoune { BufferManager::~BufferManager() { // Move buffers to avoid running BufClose with buffers remaining in that l...
casimir/kakoune
src/buffer_manager.cc
C++
unlicense
3,157
# Talking points ## Start of Class 0. Remind students that we do not have class on MLK day 1. Remind students of the assignment that will be due 2. Alert students that there is a guest speaker tonight -- a web developer 3. Mention to students that class will keep ramping up 4. Be sure to tell students to regularly ch...
machinelearningdeveloper/lc101-kc
January 12, 2017/talking-points.md
Markdown
unlicense
405
// // Mixer.h // Tonic // // Created by Nick Donaldson on 2/9/13. // // See LICENSE.txt for license and usage information. // //! A mixer is like an adder but acts as a source and allows dynamic removal #ifndef __Tonic__Mixer__ #define __Tonic__Mixer__ #include "Synth.h" #include "CompressorLimiter.h" using s...
TonicAudio/ofxTonic
src/Tonic/Mixer.h
C
unlicense
1,553
// Implements http://rosettacode.org/wiki/N-queens_problem #![feature(test)] extern crate test; use std::vec::Vec; use std::thread::spawn; use std::sync::mpsc::channel; #[cfg(test)] use test::Bencher; #[cfg(not(test))] fn main() { for num in 0i32..16 { println!("Sequential: {}: {}", num, n_queens(num));...
ghotiphud/rust-rosetta
src/n_queens.rs
Rust
unlicense
5,630
# -*- encoding: utf-8 -*- # # Copyright © 2013 IBM Corp # # Author: Tong Li <litong01@us.ibm.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/LICEN...
tanglei528/ceilometer
ceilometer/tests/dispatcher/test_file.py
Python
apache-2.0
3,762
/* * Copyright 2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
jsbattig/mongo-c-driver
src/mongoc/mongoc-iovec.h
C
apache-2.0
916
/* * 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")...
kidaa/isis
core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/callbacks/remove/RemovingCallbackFacetViaMethod.java
Java
apache-2.0
2,249
<!DOCTYPE html> <html itemscope lang="en-us"> <head><meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="utf-8"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g...
gomex/devopsdays-web
static/events/2017-vancouver/registration/index.html
HTML
apache-2.0
15,807
/* Copyright 2020 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 in writing, software ...
skia-dev/oss-fuzz
projects/xpdf/fuzz_pdfload.cc
C++
apache-2.0
3,787
using System; using System.IO; using EnvDTE; namespace NuGet.VisualStudio { public class NativeProjectSystem : VsProjectSystem { public NativeProjectSystem(Project project, IFileSystemProvider fileSystemProvider) : base(project, fileSystemProvider) { } public overr...
chester89/nugetApi
src/VisualStudio/ProjectSystems/NativeProjectSystem.cs
C#
apache-2.0
2,947
/** * 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...
alibaba/jstorm
jstorm-core/src/main/java/com/alibaba/jstorm/message/netty/NettyContext.java
Java
apache-2.0
4,482
#!/bin/bash ## # Copyright (c) 2008-2012 Marius Zwicker # All rights reserved. # # @LICENSE_HEADER_START:Apache@ # # 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....
JackieXie168/libdispatch
doc/xdispatch/build/genQtCreator_ProjectFiles.sh
Shell
apache-2.0
1,222
/*! * ${copyright} */ // Provides class sap.ui.rta.plugin.Combine. sap.ui.define([ 'sap/ui/rta/plugin/Plugin', 'sap/ui/dt/Selection', 'sap/ui/dt/OverlayRegistry', 'sap/ui/rta/Utils' ], function( Plugin, Selection, OverlayRegistry, Utils ) { "use strict"; /** * Constructor for a new Combine Plugin. * ...
SQCLabs/openui5
src/sap.ui.rta/src/sap/ui/rta/plugin/Combine.js
JavaScript
apache-2.0
5,703
package helpers import ( "fmt" "github.com/SpectraLogic/ds3_go_sdk/ds3" ds3Models "github.com/SpectraLogic/ds3_go_sdk/ds3/models" helperModels "github.com/SpectraLogic/ds3_go_sdk/helpers/models" "github.com/SpectraLogic/ds3_go_sdk/sdk_log" "sync" "time" ) type putProducer struct { JobM...
SpectraLogic/ds3_go_sdk
helpers/putProducer.go
GO
apache-2.0
13,579
package org.jboss.resteasy.test.providers.multipart.resource; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "customer") @XmlAccessorType(XmlAccessTyp...
awhitford/Resteasy
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/resource/ContextProvidersCustomer.java
Java
apache-2.0
607
//// [typeGuardFunctionOfFormThis.ts] class RoyalGuard { isLeader(): this is LeadGuard { return this instanceof LeadGuard; } isFollower(): this is FollowerGuard { return this instanceof FollowerGuard; } } class LeadGuard extends RoyalGuard { lead(): void {}; } class FollowerGuard ...
synaptek/TypeScript
tests/baselines/reference/typeGuardFunctionOfFormThis.js
JavaScript
apache-2.0
8,326
/* * Copyright 2015 The Kythe 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 ap...
kythe/kythe
kythe/cxx/indexer/cxx/KytheVFS.h
C
apache-2.0
7,086
/* * Copyright 2017 PayPal * * 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 ...
akara/squbs
squbs-actormonitor/src/test/scala/org/squbs/actormonitor/TestCube/TestCube.scala
Scala
apache-2.0
930
/* * Copyright (C) 2013 nohana, 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 app...
KeithYokoma/Amalgam
amalgam/src/main/java/com/amalgam/database/CursorUtils.java
Java
apache-2.0
5,998
# -*- coding: utf-8 -*- # # Copyright 2013 - Mirantis, 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 requir...
TimurNurlygayanov/mistral
mistral/api/controllers/v1/workbook_definition.py
Python
apache-2.0
1,511
require 'spec_helper' require 'pureftpd_helper' describe 'PureFTPd' do include_examples 'PureFTPd', 'postgresql' end
Aigeruth/pure-ftpd
test/integration/backend-postgresql/serverspec/default_spec.rb
Ruby
apache-2.0
120
// Copyright(C) David W. Jeske, 2013 // Released to the public domain. Use, modify and relicense at will. using System; using System.Threading; using System.Globalization; using System.Drawing; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using OpenTK.Audio; using OpenTK.Audio.OpenAL; using Ope...
RealRui/SimpleScene
Demos/TestBench1/TestBench1.cs
C#
apache-2.0
1,698
from trex_astf_lib.api import * # IPV6 tunable example # # ipv6.src_msb # ipv6.dst_msb # ipv6.enable # class Prof1(): def __init__(self): pass def get_profile(self, **kwargs): # ip generator ip_gen_c = ASTFIPGenDist(ip_range=["16.0.0.0", "16.0.0.255"], distribution="seq") ...
kisel/trex-core
scripts/astf/param_tcp_rxbufsize_8k.py
Python
apache-2.0
1,298
declare module ioc { /** * A base class for applications using an IOC Container */ abstract class ApplicationContext implements IApplicationContext { /** * A base class for applications using an IOC Container * @param appName The name of your application */ c...
Marvin-Brouwer/QR-Redirect
Source/QR-Reader/Scripts/typings/SIOCC-TS.d.ts
TypeScript
apache-2.0
7,284
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
vivantech/kc_fixes
src/main/java/org/kuali/kra/irb/ProtocolDaoOjb.java
Java
apache-2.0
6,383
/** * Copyright (c) 2005-20010 springside.org.cn * * Licensed under the Apache License, Version 2.0 (the "License"); * * $Id: PropertyFilter.java 1205 2010-09-09 15:12:17Z calvinxiu $ */ package com.snakerflow.framework.orm; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.u...
snakerflow/snaker-web
src/main/java/com/snakerflow/framework/orm/PropertyFilter.java
Java
apache-2.0
4,884
/* * Copyright 2019 MovingBlocks * * 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...
immortius/gestalt
gestalt-module/src/main/java/org/terasology/gestalt/module/exceptions/MissingModuleMetadataException.java
Java
apache-2.0
1,036
#pragma once #ifndef UTIL_LOGGER_HPP #define UTIL_LOGGER_HPP #include <gsl/span> #include <string> #include <iterator> #include <vector> #include <cstdlib> /** * @brief A utility which logs a limited amount of entries * @details Logs strings inside a ringbuffer. * * If the buffer is full, the oldest entry will b...
hioa-cs/IncludeOS
api/util/logger.hpp
C++
apache-2.0
2,818
/*! * Start Bootstrap - Freelancer 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 { overflow-x: hidden; } p { font-size: 20px; } p.small { font-size: 16px; } a, a:hover, a:focus, a:active, a.act...
therebelbeta/fontonite
css/freelancer.css
CSS
apache-2.0
8,057
<?php namespace Scalr\Service\CloudStack\Services\Vpn\DataType; use Scalr\Service\CloudStack\DataType\AbstractDataType; /** * AddVpnUserData * * @author Vlad Dobrovolskiy <v.dobrovolskiy@scalr.com> * @since 4.5.2 */ class AddVpnUserData extends AbstractDataType { /** * Required * Password fo...
kikov79/scalr
app/src/Scalr/Service/CloudStack/Services/Vpn/DataType/AddVpnUserData.php
PHP
apache-2.0
1,253
/* * 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/avro
lang/java/avro/src/main/java/org/apache/avro/SchemaBuilderException.java
Java
apache-2.0
1,094
/* * 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 ...
tgroh/incubator-beam
sdks/java/harness/src/test/java/org/apache/beam/fn/harness/state/MultimapSideInputTest.java
Java
apache-2.0
2,861
"use strict"; describe("Brisket server", function() { var Brisket = require("../../lib/brisket"); var MockBrisketApp = require("../mock/MockBrisketApp"); var nock = require("nock"); var supertest = require("supertest"); var brisketServer; beforeEach(function() { MockBrisketApp.initial...
wawjr3d/brisket
spec/server/brisketServerSpec.js
JavaScript
apache-2.0
3,439
/** * @projectDescription The SDX controller library for the PatientRecordSet data-type. * @namespace i2b2.sdx.TypeControllers.ENS * @inherits i2b2.sdx.TypeControllers * @author Mike Mendis * @version 1.6 * @see i2b2.sdx * ------------------------------------------------------------------------------...
rdalej/i2b2-shibboleth
build/web/webclient/js-i2b2/cells/CRC/CRC_sdx_ENS.js
JavaScript
apache-2.0
17,357
from pony.orm.core import *
buddyli/private2w
libs/pony/orm/__init__.py
Python
apache-2.0
28
package com.mc.phonefinder.usersettings; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import and...
Rakesh627/PhoneFinder
ParseStarterProject/src/main/java/com/mc/phonefinder/usersettings/FindPhoneInterface.java
Java
apache-2.0
10,791
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Mon Mar 28 17:12:17 AEST 2016 --> <title>Uses of Class org.apache.river.constants.TxnConstants (River-Internet vtrunk API Documentation ...
pfirmstone/river-internet
JGDMS/src/site/resources/old-static-site/doc/internals/org/apache/river/constants/class-use/TxnConstants.html
HTML
apache-2.0
4,793
import AttributeCompression from "../Core/AttributeCompression.js"; import Cartesian3 from "../Core/Cartesian3.js"; import Cartographic from "../Core/Cartographic.js"; import Ellipsoid from "../Core/Ellipsoid.js"; import IndexDatatype from "../Core/IndexDatatype.js"; import CesiumMath from "../Core/Math.js"; import Rec...
progsung/cesium
Source/WorkersES6/createVectorTilePolylines.js
JavaScript
apache-2.0
6,753
/* * 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 not ...
jdeppe-pivotal/geode
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreAttributes.java
Java
apache-2.0
8,257
/* Copyright 2017 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, ...
linzhaoming/origin
vendor/k8s.io/kubernetes/pkg/controller/certificates/signer/cfssl_signer_test.go
GO
apache-2.0
4,691
/* * SVG Salamander * Copyright (c) 2004, Mark McKay * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above * copy...
Longri/cachebox3.0
launcher/desktop_lwjgl/src/com/kitfox/svg/pathcmd/Arc.java
Java
apache-2.0
9,856
// Copyright (C) 2011-2012 the original author or authors. // See the LICENCE.txt file distributed with this work for additional // information regarding copyright ownership. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
scalastyle/scalastyle
src/test/scala/org/scalastyle/file/HeaderMatchesCheckerTest.scala
Scala
apache-2.0
6,008
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
mdogan/hazelcast
hazelcast/src/test/java/com/hazelcast/cache/CacheSerializationTest.java
Java
apache-2.0
7,031
'use strict'; angular.module('publisherApp') .config(function ($stateProvider) { $stateProvider .state('settings', { parent: 'account', url: '/settings', data: { roles: ['ROLE_USER'], pageTitle: 'global.menu...
GIP-RECIA/esup-publisher-ui
src/main/webapp/scripts/app/account/settings/settings.js
JavaScript
apache-2.0
949
package com.sean.im.client.push.handler; import com.alibaba.fastjson.JSON; import com.sean.im.client.constant.Global; import com.sean.im.client.core.ApplicationContext; import com.sean.im.client.core.PushHandler; import com.sean.im.client.form.MainForm; import com.sean.im.client.tray.TrayManager; import com.sean.im.cl...
seanzwx/tmp
seatalk/im/im-client/src/main/java/com/sean/im/client/push/handler/KickOutFlockHandler.java
Java
apache-2.0
1,004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Mon Mar 28 17:12:30 AEST 2016 --> <title>Uses of Class org.apache.river.start.SharedActivatableServiceDescriptor (River-Internet vtrunk ...
pfirmstone/JGDMS
JGDMS/src/site/resources/old-static-site/doc/internals/org/apache/river/start/class-use/SharedActivatableServiceDescriptor.html
HTML
apache-2.0
9,436
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
jexp/idea2
xml/impl/src/com/intellij/psi/impl/cache/impl/idCache/XHtmlIdIndexer.java
Java
apache-2.0
1,077
/* * 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 ...
xin3liang/platform_external_xerces-cpp
tests/XSValueTest/XSValueTest.cpp
C++
apache-2.0
286,961
# =============================================================================== # Copyright 2013 Jake Ross # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licens...
USGSDenverPychron/pychron
pychron/pipeline/plot/flow_label.py
Python
apache-2.0
3,470
CREATE CONSTRAINT ON (c:Concept) ASSERT c.name IS UNIQUE; ##Creating all the nodes from CSV file USING PERIODIC COMMIT 50 LOAD CSV WITH HEADERS FROM "file:///food.csv" AS Line WITH Line WHERE Line.name IS NOT NULL MERGE (c:Concept {name:Line.name}) SET c.conceptid = Line.`node id` SET c.context = Line.context SET c.d...
stackroute/oxygen
notes/graphDB/importingFoodConceptGraph.md
Markdown
apache-2.0
1,576
/* * 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")...
asanka88/apache-synapse
modules/core/src/main/java/org/apache/synapse/deployers/TaskDeployer.java
Java
apache-2.0
7,123
/* Copyright 2017 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, ...
mindprince/test-infra
prow/plugins/milestone/milestone.go
GO
apache-2.0
5,550
// Copyright (c) 2020 PaddlePaddle 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...
PaddlePaddle/Paddle
paddle/fluid/framework/ir/mkldnn/fc_act_mkldnn_fuse_pass.h
C
apache-2.0
1,338
/* * Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP * * 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 * * Unle...
rolandomar/stheno
stheno/src/org/cracs/stheno/core/p2p/discovery/peer_provider/PeerProvider.h
C
apache-2.0
1,840
// // Copyright 2014, Sander van Harmelen // // 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 a...
benjvi/go-cloudstack
cloudstack44/StoragePoolService.go
GO
apache-2.0
9,719
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
consulo/consulo-android
android/android/src/com/android/tools/idea/lang/rs/RenderscriptParser.java
Java
apache-2.0
1,189
module m integer::i=3 integer::j=4 end module m program t use m,only:i integer::j=77 print '(i0)',i,j end program t
thender/ppp
tests/t0223r/t.f90
FORTRAN
apache-2.0
127
--TEST-- Deregisters UDF module at the Aerospike DB which is present. --FILE-- <?php include dirname(__FILE__)."/../../astestframework/astest-phpt-loader.inc"; aerospike_phpt_runtest("Udf", "testUdfDeregisterModulePositive"); --EXPECT-- OK
aerospike/aerospike-client-php
src/tests/phpt/Udf/TestUdfDeregisterModulePositive.phpt
PHP
apache-2.0
241
--- layout: base title: 'Dependencies' generated: 'true' permalink: uk/dep/all.html --- {% capture lcode %}{{ page.permalink | split:"/" | first }}{% endcapture %} # Dependencies <span about="." property="rdf:type" resource="owl:Ontology"> <span property="owl:imports" resource=" https://www.w3.org/2012/pyRdfa/extr...
fginter/docs-fginterfork
_uk-overview/dep-all.md
Markdown
apache-2.0
2,011
<?php namespace edu\wisc\services\caos; class GetCourseByCatalogNumberRequest { /** * @var termCodeType $termCode */ protected $termCode = null; /** * @var string $subjectCode */ protected $subjectCode = null; /** * @var string $catalogNumber */ protected $cata...
ahoffmann-wi/caos-php-client
src/main/GetCourseByCatalogNumberRequest.php
PHP
apache-2.0
1,771
/** * 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...
asoldano/wss4j
ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/UsernameSecurityTokenImpl.java
Java
apache-2.0
7,035
# # Author:: Adam Jacob (<adam@opscode.com>) # Copyright:: Copyright (c) 2008 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # htt...
BackSlasher/chef
lib/chef/resource/bash.rb
Ruby
apache-2.0
930
/********************************************************************** Copyright (c) 2005 Erik Bengtson 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/l...
datanucleus/tests
jdo/general/src/java/org/datanucleus/samples/metadata/datastoreidentity/D3.java
Java
apache-2.0
1,143
package com.mic.log.spouts; import java.util.Map; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.base.BaseRichSpout; import backtype.storm.tuple.Fields; import backtype.storm.tup...
yifzhang/storm-miclog
src/jvm/com/mic/log/spouts/AppLogWriterSpout.java
Java
apache-2.0
885
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/nix/mime_util_xdg.h" #include <cstdlib> #include <list> #include <map> #include <vector> #include "base/environment.h" #include "base...
elvestar/chromium-base-library
base/nix/mime_util_xdg.cc
C++
apache-2.0
20,684
package ca.uhn.fhir.cql.dstu3.builder; /*- * #%L * HAPI FHIR JPA Server - Clinical Quality Language * %% * Copyright (C) 2014 - 2022 Smile CDR, 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 ...
jamesagnew/hapi-fhir
hapi-fhir-jpaserver-cql/src/main/java/ca/uhn/fhir/cql/dstu3/builder/MeasureReportBuilder.java
Java
apache-2.0
2,503
<!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_102) on Thu Sep 29 16:37:39 CEST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class energy...
USEF-Foundation/ri.usef.energy
usef-javadoc/energy/usef/agr/model/class-use/SynchronisationConnection.html
HTML
apache-2.0
15,970
/* * Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) 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 * ...
kasungayan/carbon-analytics-common
components/event-publisher/event-output-adapters/org.wso2.carbon.event.output.adapter.wso2event/src/main/java/org/wso2/carbon/event/output/adapter/wso2event/WSO2EventAdapter.java
Java
apache-2.0
8,571
""" websocket - WebSocket client library for Python Copyright (C) 2010 Hiroki Ohtani(liris) 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 version 2.1 of the License, ...
vert-x3/vertx-web
vertx-web/src/test/sockjs-protocol/websocket/_logging.py
Python
apache-2.0
2,165
# -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson AB # # 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 ...
les69/calvin-base
calvin/tests/test_actor.py
Python
apache-2.0
7,248
#!/var/www/horizon/.venv/bin/python # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Docutils XML. """ try: import locale locale.setloc...
neumerance/deploy
.venv/bin/rst2xml.py
Python
apache-2.0
619
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search &mdash; Paramiko documentation</title> ...
mytliulei/DCNRobotInstallPackages
windows/win32/paramiko-1.14.0/docs/search.html
HTML
apache-2.0
6,532
<?xml version="1.0" encoding="UTF-8"?> <html xmlns:extrep="http://www.sun.com/japex/extendedTestSuiteReport" xmlns:rep="http://www.sun.com/japex/testSuiteReport" xmlns="http://www.w3.org/1999/xhtml"> <link href="report.css" type="text/css" rel="stylesheet"/> <body> <table border="0" cellpadding="2"> <tr> <td valign="mi...
aadamowski/fi.java.net
www/performance-reports/General/serialize/report.html
HTML
apache-2.0
18,005
/** * @author caspar - chengzhihang * @contact 279397942@qq.com * @date 2016/12/29 * @file admin/view-partial/main/order/widget/form/value-widget/TpNameText */ define([ 'zh/widget/text/ValidationTextBox', 'admin/services/enums/OrderPropertyEnum', "dojo/_base/declare" ], function (TextBox, OrderProperty...
Caspar12/zh.sw
zh-site-manager-web-ui-admin/target/classes/static/app/admin/view-partial/main/order/widget/form/value-widget/TpNameText.js
JavaScript
apache-2.0
590
/* * 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 n...
codescale/logging-log4j2
log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
Java
apache-2.0
13,711
import logging import threading import time from ballast.discovery import ServerList from ballast.rule import Rule, RoundRobinRule from ballast.ping import ( Ping, SocketPing, PingStrategy, SerialPingStrategy ) class LoadBalancer(object): DEFAULT_PING_INTERVAL = 30 MAX_PING_TIME = 3 def ...
thomasstreet/ballast
ballast/core.py
Python
apache-2.0
4,607
import os, re, csv # regular expressions for capturing the interesting quantities noise_pattern = 'noise: \[(.+)\]' res_pattern = '^([0-9.]+$)' search_dir = "output" results_file = '../results.csv' os.chdir( search_dir ) files = filter( os.path.isfile, os.listdir( '.' )) #files = [ os.path.join( search_dir, f ) for ...
jiminliang/msda-denoising
spearmint_variable_noise/output2csv.py
Python
apache-2.0
1,028
/* * 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 not u...
ptupitsyn/ignite
modules/core/src/main/java/org/apache/ignite/internal/visor/verify/VisorValidateIndexesJobResult.java
Java
apache-2.0
4,517
/* * (c) Copyright 2021 Micro Focus * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
CloudSlang/cs-actions
cs-active-directory/src/main/java/io/cloudslang/content/active_directory/entities/CreateUserInputInterface.java
Java
apache-2.0
1,364
/* Copyright 2019 The Vitess Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
mahak/vitess
go/test/endtoend/encryption/encryptedtransport/encrypted_transport_test.go
GO
apache-2.0
14,700
--- title: "DEFINED" layout: "function" isPage: "true" link: "/warpscript/functions" desc: "Check whether or not a symbol is defined" categoryTree: ["reference","functions"] oldPath: ["30-functions","30-logic-structures","15-function_DEFINED.html.md"] category: "reference" --- The `DEFINED` function checks whether o...
slambour/www.warp10.io
reference/functions/function_DEFINED.md
Markdown
apache-2.0
947
import os import logging from mongodb_consistent_backup.Common import LocalCommand from mongodb_consistent_backup.Pipeline import PoolThread class TarThread(PoolThread): def __init__(self, backup_dir, output_file, compression='none', verbose=False, binary="tar"): super(TarThread, self).__init__(self.__cl...
Percona-Lab/mongodb_consistent_backup
mongodb_consistent_backup/Archive/Tar/TarThread.py
Python
apache-2.0
2,555
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
huihoo/olat
olat7.8/src/main/java/org/olat/presentation/group/area/BGAreaEditController.java
Java
apache-2.0
10,780
/* * 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...
pfirmstone/JGDMS
qa/src/org/apache/river/test/spec/javaspace/conformance/TransactionWriteTakeIfExistsTest.java
Java
apache-2.0
3,650