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 |
|---|---|---|---|---|---|
'use strict';
var test = require('tap').test;
var fs = require('fs');
var path = require('path');
var temp = require('temp');
var streamBuffers = require("stream-buffers");
var unzip = require('../');
var Stream = require('stream');
// Backwards compatibility for node 0.8
if (!Stream.Writable)
Stream = require('rea... | maddiraz/nodejs-demo | node_modules/unzipper/test/streamSingleEntry.js | JavaScript | apache-2.0 | 1,177 |
namespace FunctionalityLibrary
{
class TranslatePicture
{
}
}
| Manicca/Interiora | Interiora/FunctionalityLibrary/TranslatePicture.cs | C# | apache-2.0 | 77 |
<?php
class MylifeserviceAction extends CommonAction {
public function index() {
$Houseworksetting = D('Houseworksetting');//类目表
$Housework = D('Housework');//报名表
import('ORG.Util.Page'); // 导入分页类
$map = array('user_id' => $this->uid);
$count = $Housework->where($map)->co... | ksyydream/api_llx | Baocms/Lib/Action/Member/MylifeserviceAction.class.php | PHP | apache-2.0 | 1,111 |
/**
* 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... | anshuiisc/storm-Allbolts-wiring | external/storm-kafka/src/test/org/apache/storm/kafka/DynamicBrokersReaderTest.java | Java | apache-2.0 | 10,234 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | ClogenyTechnologies/azure-powershell | src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/RemoveAzureVMSqlServerExtensionCommand.cs | C# | apache-2.0 | 3,476 |
/*
* 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 ... | jnhagelberg/incubator-atlas | typesystem/src/main/scala/org/apache/atlas/typesystem/builders/InstanceBuilder.scala | Scala | apache-2.0 | 6,607 |
/*
* 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/incubator-systemml | src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java | Java | apache-2.0 | 2,698 |
/**
* @copyright
* ====================================================================
* 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. ... | YueLinHo/Subversion | subversion/bindings/javahl/native/jniwrapper/jni_exception.hpp | C++ | apache-2.0 | 7,879 |
/*
* 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 ... | ubikloadpack/jmeter | src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java | Java | apache-2.0 | 12,241 |
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsRenderingContext.h"
#... | sergecodd/FireFox-OS | B2G/gecko/gfx/src/nsRenderingContext.cpp | C++ | apache-2.0 | 15,100 |
/*
* Copyright 2021 Scheer PAS Schweiz AG
*
* 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... | msavy/apiman | common/es/src/main/java/io/apiman/common/es/util/builder/index/EsTypeEntry.java | Java | apache-2.0 | 2,090 |
package io.cattle.platform.inator.unit;
import io.cattle.platform.core.constants.InstanceConstants;
import io.cattle.platform.core.model.Account;
import io.cattle.platform.core.model.Service;
import io.cattle.platform.core.util.PortSpec;
import io.cattle.platform.inator.Inator;
import io.cattle.platform.inator.InatorC... | rancherio/cattle | modules/caas/backend/src/main/java/io/cattle/platform/inator/unit/PortUnit.java | Java | apache-2.0 | 6,187 |
package com.ctrip.zeus.auth.impl;
import com.ctrip.zeus.auth.util.AuthUserUtil;
import com.ctrip.zeus.auth.util.AuthUtil;
import com.ctrip.zeus.util.MessageUtil;
import com.netflix.config.DynamicPropertyFactory;
import org.jasig.cas.client.util.AbstractCasFilter;
import org.jasig.cas.client.validation.Assertion... | sdgdsffdsfff/zeus | slb/src/main/java/com/ctrip/zeus/auth/impl/IPAuthenticationFilter.java | Java | apache-2.0 | 4,654 |
/*
Copyright (C) 2012 Anthony Foster, https://github.com/aantthony/contextmenu (v0.1)
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 without restriction, including without limita... | ms123s/simpl4-src | surface2/js/libs/contextmenu.js | JavaScript | apache-2.0 | 22,574 |
/*
* sxg's debug macro
*
* @2007-2008, China
* @song.xian-guang@hotmail.com (MSN Accounts)
*
* This code is licenced under the GPL
* Feel free to contact me if any questions
*
*/
#ifndef _SXG_DEBUG_H_
#define _SXG_DEBUG_H_
/* debug macro*/
#ifdef _sxg_debug_
# define sxg_debug(fmt, args...) printk(... | Seitran/ksocket | src/sxgdebug.h | C | apache-2.0 | 469 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Transport Layer Security
*
* Copyright 2011-2012 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... | eledoux/FreeRDP | libfreerdp/crypto/tls.c | C | apache-2.0 | 38,471 |
package com.clarkparsia.pellet.datatypes.types.real;
import edu.javax.xml.bind.DatatypeConverter;
import org.mindswap.pellet.utils.ATermUtils;
import org.mindswap.pellet.utils.Namespaces;
import com.clarkparsia.pellet.datatypes.exceptions.InvalidLiteralException;
/**
* <p>
* Title: <code>xsd:short</code>
* </p>
... | edlectrico/Pellet4Android | src/com/clarkparsia/pellet/datatypes/types/real/XSDShort.java | Java | apache-2.0 | 1,329 |
/*
* 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 ... | larroy/mxnet | src/c_api/c_api_ndarray.cc | C++ | apache-2.0 | 15,089 |
/*
* Copyright (c) 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | mirzak/zephyr-os | samples/sensor/bmi160/x86/src/x86_bmi160.c | C | apache-2.0 | 1,901 |
/*
$Id: $
@file AjaxHelperMapImpl.java
@brief Contains the AjaxHelperMapImpl.java class
@author Rahul Singh [rsingh]
Copyright (c) 2013, Distelli Inc., All Rights Reserved.
*/
package com.distelli.europa.guice;
import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
import javax.inject.Singl... | Distelli/europa | src/main/java/com/distelli/europa/guice/AjaxHelperMapImpl.java | Java | apache-2.0 | 1,582 |
# Usergrid Perl Client 
Usergrid::Client provides an easy to use Perl API for Apache Usergrid.
## Quickstart
Install Usergrid::Client from CPAN:
$ sudo cpan Usergrid::Client
Write a perl script that uses the Perl API t... | mdunker/usergrid | sdks/other/perl/README.md | Markdown | apache-2.0 | 9,335 |
/*
* Copyright 2010-2014 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 "l... | rafd123/aws-sdk-net | sdk/src/Services/AutoScaling/Generated/Model/Internal/MarshallTransformations/RecordLifecycleActionHeartbeatResponseUnmarshaller.cs | C# | apache-2.0 | 4,804 |
<?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>
<head>
<title>inputEx - Autocomplete Usage</title>
<!-- YUI CSS -->
<link rel="stylesheet" type="text/css" href="../lib/yui/reset/reset-min.css">
<link rel="sty... | festradasolano/mashment | mashment-frontend/WebContent/lib/inputex/examples/autocomplete.html | HTML | apache-2.0 | 8,612 |
---
title: filterNot -
---
//[Kotlin utilities](../../index.html)/[it.czerwinski.kotlin.util](../index.html)/[Failure](index.html)/[filterNot](filter-not.html)
# filterNot
[common]
Brief description
Returns the same [Success](../-success/index.html) if the predicate is not satisfied for the value. Otherwise ... | sczerwinski/sczerwinski.github.io | projects/kotlin-util/1.4.20/docs/it.czerwinski.kotlin.util/-failure/filter-not.md | Markdown | apache-2.0 | 982 |
#!/usr/bin/env python
"""A module with functions for working with GRR packages."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import importlib
import inspect
import logging
import os
import sys
import pkg_resources
from typing import Text
from grr_... | dunkhong/grr | grr/core/grr_response_core/lib/package.py | Python | apache-2.0 | 2,986 |
import { Component, HostListener, Inject } from '@angular/core';
import { MdlDialogReference } from '@angular-mdl/core';
import * as _ from 'lodash';
@Component({
selector: 'app-new-entity',
templateUrl: './new-entity.component.html',
styleUrls: ['./new-entity.component.scss']
})
export class NewEntityComponen... | marklogic/data-hub-in-a-box | web/src/main/ui/app/components/new-entity/new-entity.component.ts | TypeScript | apache-2.0 | 1,131 |
// Copyright (c) 2001-2011 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(SPIRIT_STRICT_RELAXED_APR_22_2010_0959AM)
#define SPIRIT_STRICT_RELAXED_APR_22_2010_0959AM
#if... | pennwin2013/netsvr | include/boost/spirit/home/karma/directive/strict_relaxed.hpp | C++ | apache-2.0 | 2,438 |
<script type='text/javascript' src='{template_url}/js/jquery-1.10.2.js'></script>
<script type='text/javascript' src='{template_url}/js/bootstrap.min.js'></script>
<script type='text/javascript' src='{template_url}/js/tip-image.js'></script>
<script type='text/javascript' src='{template_url}/js/mytip.js'></script>
<scr... | megablogging/megablogging | template/default/javascript.php | PHP | apache-2.0 | 947 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# encoding: utf-8
# Copyright 2014 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
#
# Un... | murat1985/bagpipe-bgp | bagpipe/bgp/bgp_daemon.py | Python | apache-2.0 | 11,381 |
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2008,2009,2010,2011,2012,2013 Contributor
#
# 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... | stdweird/aquilon | lib/python2.6/aquilon/worker/commands/update_interface_machine.py | Python | apache-2.0 | 7,493 |
<h3>
<!-- START Language list-->
<div class="pull-right">
<div class="btn-group" uib-dropdown="" is-open="language.listIsOpen">
<button class="btn btn-default" type="button" uib-dropdown-toggle="">{{language.selected}}
<span class="caret"></span>
</button>
<ul class="d... | gbhu/studynotes-projects | mybatispractice/target/MybatisPractice/app/views/dashboard_v2.html | HTML | apache-2.0 | 13,722 |
#!/usr/bin/env python2.7
# Copyright 2015 Cisco Systems, 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 applicabl... | tbarrongh/cosc-learning-labs | src/learning_lab/01_inventory_not_connected.py | Python | apache-2.0 | 1,219 |
---
layout: vakit_dashboard
title: KLØFTA, NORVEC için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /NORVEC/KLØFTA/
---
<script type="text/javascript">
var GLOBAL_COUNTRY = 'NORVEC';
var GLOBAL_CITY = 'KLØFTA';
var GLOBAL_STATE = '';
var lat = 72;
var lon = 21;
</script>
| hakanu/iftar | _posts_/vakit/NORVEC/KLØFTA/2017-02-01-.markdown | Markdown | apache-2.0 | 311 |
/*
* 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 ... | chuckchen/spark | sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/orc/OrcTable.scala | Scala | apache-2.0 | 2,682 |
<!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_43) on Fri Apr 19 11:40:07 CEST 2013 -->
<TITLE>
PuntosSecureAPI
</TITLE>
<META NAME="date" CONTENT="2013-04-19">
<LINK REL ="stylesheet" TYPE="tex... | cictourgune/apptrack-web | doc/org/tourgune/apptrack/controller/api/secure/PuntosSecureAPI.html | HTML | apache-2.0 | 12,715 |
package org.marketcetera.photon.ui.databinding;
import java.util.Collections;
import org.apache.commons.lang.StringUtils;
import org.marketcetera.photon.commons.databinding.ITypedObservableValue;
import org.marketcetera.photon.commons.databinding.TypedObservableValueDecorator;
import org.marketcetera.trade.Equ... | nagyist/marketcetera | trunk/photon/plugins/org.marketcetera.photon/src/main/java/org/marketcetera/photon/ui/databinding/EquityObservable.java | Java | apache-2.0 | 2,105 |
package org.aksw.mlbenchmark.languages;
/**
* Framework values specific to owl
*/
public class OwlLanguageInfo extends LanguageInfoBase {
@Override
public String exampleExtension() {
return ".txt";
}
}
| AKSW/SML-Bench | src/main/java/org/aksw/mlbenchmark/languages/OwlLanguageInfo.java | Java | apache-2.0 | 210 |
/*
* Copyright (C) 2004-2006 Autodesk, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser
* General Public License as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
... | SuperMap/Fdo_SuperMap | 源代码/Thirdparty/FDO/Inc/GdalFile/Override/FdoGrfpRasterImageDefinition.h | C | apache-2.0 | 4,029 |
/****************************************************************************
** Meta object code from reading C++ file 'finddialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | ChanJLee/ChanSpreadSheet | ChanSpreadsheet/GeneratedFiles/Release/moc_finddialog.cpp | C++ | apache-2.0 | 5,506 |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 3.7.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... | zzsoszz/metronicv37 | theme_rtl/templates/admin4_material_design/form_layouts.html | HTML | apache-2.0 | 171,674 |
/**
* Simple financial systemic risk simulator for Java
* http://code.google.com/p/systemic-risk/
*
* Copyright (c) 2011, CIMNE and Gilbert Peffer.
* All rights reserved
*
* This software is open-source under the BSD license; see
* http://code.google.com/p/systemic-risk/wiki/SoftwareLicense
*/
pack... | gitwitcho/var-agent-model | simulator_utilities/src/info/financialecology/finance/utilities/datastruct/Datastore.java | Java | apache-2.0 | 5,290 |
package container
import (
"io"
"os"
"path/filepath"
"golang.org/x/net/context"
log "github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/strslice"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/system"
"github.com/maliceio/malice/malice... | maliceio/malice | malice/docker/client/container/copy.go | GO | apache-2.0 | 3,759 |
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>25-Hydroxyvitamin D and Parathyroid Hormone Are Not Associated With C... | sachsmc/sachsmc.github.io | reference/Blondon201325-Hydroxyvitamin.html | HTML | apache-2.0 | 6,753 |
# -*- coding: utf-8 -*-
#
# 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
#... | akosel/incubator-airflow | airflow/operators/oracle_operator.py | Python | apache-2.0 | 2,130 |
package water.hive;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier;
import org.apache.hadoop.security.Credentials;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.... | michalkurka/h2o-3 | h2o-hive/src/main/java/water/hive/HiveTokenGenerator.java | Java | apache-2.0 | 6,399 |
// Copyright 2014 Serilog 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 law or ... | vossad01/serilog | src/Serilog.Sinks.NLog/LoggerConfigurationsNLogExtensions.cs | C# | apache-2.0 | 2,030 |
---
layout: vakit_dashboard
title: BOGOR, ENDONEZYA için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /ENDONEZYA/BOGOR
---
## BOGOR (ENDONEZYA) için iftar, namaz vakitleri ve hava durumu görmek için bir ilçe/eyalet seç
Aşağıdaki listeden bir şehir ya da semt seçin
* [ (BOGOR, ENDONEZYA) için i... | hakanu/iftar | _posts_/vakit/ENDONEZYA/BOGOR/2017-02-01-BOGOR.markdown | Markdown | apache-2.0 | 516 |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>IndexReader.Norms Method (String)</title>
<xml>
</xml>
<link rel="stylesheet" type="text/cs... | Mpdreamz/lucene.net | doc/core/Lucene.Net.Index.IndexReader.Norms_overload_1.html | HTML | apache-2.0 | 2,164 |
/*
* 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 ... | poffuomo/spark | core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala | Scala | apache-2.0 | 50,570 |
package org.ray.api.test;
import org.ray.api.Ray;
import org.ray.api.RayPyActor;
import org.ray.api.TestUtils;
import org.ray.runtime.context.WorkerContext;
import org.ray.runtime.object.NativeRayObject;
import org.ray.runtime.object.ObjectSerializer;
import org.testng.Assert;
import org.testng.annotations.Test;
publ... | ujvl/ray-ng | java/test/src/main/java/org/ray/api/test/RaySerializerTest.java | Java | apache-2.0 | 981 |
package test
import (
"io/ioutil"
"os"
"testing"
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
)
func TestLookupBalanceRewriteCacheDnssec(t *testing.T) {
t.Parallel()
name, rm, err := test.TempFile(".", exampleOrg)
if err != nil {
t.Fatalf("Failed to create zone: %s", err)
}
defer rm()... | miekg/coredns | test/plugin_dnssec_test.go | GO | apache-2.0 | 1,614 |
var searchData=
[
['paikallaan',['PAIKALLAAN',['../namespace_julkinen.html#a81b50e3c6f21c0c1c46e186592107c3cafa60a1b03bc49af14fb90b7026f94957',1,'Julkinen']]]
];
| WhiteDeathFIN/Labyrinttipeli | html/search/enumvalues_7.js | JavaScript | apache-2.0 | 164 |
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
* Copyright 2015-2016 University of Szeged.
*
* 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/... | tilmannOSG/jerryscript | jerry-core/vm/opcodes-ecma-arithmetics.c | C | apache-2.0 | 5,994 |
// Copyright 2015 CoreOS, 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... | juliengk/os | config/cloudinit/datasource/metadata/ec2/metadata.go | GO | apache-2.0 | 5,591 |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | jskeet/google-cloud-dotnet | apis/Google.Cloud.VpcAccess.V1/Google.Cloud.VpcAccess.V1.GeneratedSnippets/VpcAccessServiceClient.CreateConnectorResourceNamesSnippet.g.cs | C# | apache-2.0 | 2,807 |
/*
Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it
Institute of Information Science and Technologies
of the Italian National Research Council
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed under the Apache License, Version 2.0 (the... | smulikHakipod/zb4osgi | zb4o-GUI-tester/src/main/java/org/persona/zigbee/tester/gui/Command.java | Java | apache-2.0 | 7,719 |
<?php
/**
* @file
* Definition of Drupal\taxonomy\Plugin\views\field\LinkEdit.
*/
namespace Drupal\taxonomy\Plugin\views\field;
use Drupal\views\Plugin\views\field\FieldPluginBase;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ResultRow;
use Drupal\views\ViewExecutable;
use Drupal\Comp... | nickopris/musicapp | www/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php | PHP | apache-2.0 | 2,153 |
package net.bytebuddy.implementation.bind;
import net.bytebuddy.description.method.MethodDescription;
/**
* Implementation of an
* {@link net.bytebuddy.implementation.bind.MethodDelegationBinder.AmbiguityResolver}
* that resolves conflicting bindings by considering equality of a target method's internalName as an ... | CodingFabian/byte-buddy | byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/MethodNameEqualityResolver.java | Java | apache-2.0 | 1,272 |
---
description: expose, port, docker, bind publish
keywords: Examples, Usage, network, docker, documentation, user guide, multihost, cluster
title: Bind container ports to the host
---
The information in this section explains binding container ports within the Docker default bridge. This is a `bridge` network named `... | shin-/docker.github.io | engine/userguide/networking/default_network/binding.md | Markdown | apache-2.0 | 4,552 |
/*
* Copyright 2013 The Closure Compiler 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... | pauldraper/closure-compiler | test/com/google/javascript/jscomp/NewTypeInferenceES5OrLowerTest.java | Java | apache-2.0 | 413,768 |
// Copyright 2015 go-swagger maintainers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | enj/origin | vendor/github.com/go-openapi/analysis/analyzer_test.go | GO | apache-2.0 | 31,632 |
# 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 by app... | PaddlePaddle/Paddle | python/paddle/fluid/tests/unittests/test_executor_check_feed.py | Python | apache-2.0 | 3,210 |
##############################################################################
##############################################################################
### T E S T I N G ###
##############################################################################
###... | opencb/hpg-pore | src/main/third-party/hdf5-1.8.14/tools/h5diff/CMakeTests.cmake | CMake | apache-2.0 | 58,625 |
package com.belling.admin.service;
import java.util.List;
import com.belling.admin.model.RolePermission;
import com.belling.base.service.BaseService;
/**
* 角色权限映射服务接口
*
* @author Sunny
*/
public interface RolePermissionService extends BaseService<RolePermission, Integer> {
/**
* 根据角色ID查询映射
* @param roleI... | butter-fly/belling-admin | src/main/java/com/belling/admin/service/RolePermissionService.java | Java | apache-2.0 | 935 |
<?php
/**
* This file is part of PHP Mess Detector.
*
* Copyright (c) 2008-2017, Manuel Pichler <mapi@phpmd.org>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistribution... | MasaharuKomuro/kitakupics | vendor/phpmd/phpmd/src/main/php/PHPMD/Node/Annotations.php | PHP | apache-2.0 | 3,274 |
import { Component } from '@angular/core';
import { TooltipModule } from 'ngx-bootstrap';
import { Contexts } from 'ngx-fabric8-wit';
import { AuthenticationService, UserService } from 'ngx-login-client';
import { empty, of, throwError } from 'rxjs';
import { initContext } from 'testing/test-context';
import { Provider... | fabric8-ui/fabric8-ui | packages/fabric8-ui/src/app/profile/settings/connected-accounts/connected-accounts.spec.ts | TypeScript | apache-2.0 | 4,868 |

Example Go (golang) web app with dependency injection and graceful shutdown. Acts like a mini Twitter clone.
## Dependencies
Building requires [Go](https://golang.org/doc/install), [Godep](https://github.com/too... | mesosphere/oinker-go | README.md | Markdown | apache-2.0 | 2,783 |
/*
* Copyright (C) 2018 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... | MaTriXy/ExoPlayer | library/core/src/main/java/com/google/android/exoplayer2/analytics/DefaultAnalyticsListener.java | Java | apache-2.0 | 5,397 |
<div class="padding-15">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<pfng-action class="my-actions"
[config]="actionConfig"
[template]="menuTemplate"
(onActionSelect)="handleAction($event)">
<ng-template... | dlabrecq/patternfly-ng | src/app/action/example/action-basic-example.component.html | HTML | apache-2.0 | 2,312 |
Install coap-cli. Assuming you have Node.js and NPM installed on your Windows/Linux/MacOS machine, execute the following command:
```bash
npm install coap-cli -g
```
{: .copy-code}
Replace $THINGSBOARD_HOST_NAME and $ACCESS_TOKEN with corresponding values.
```bash
echo -n '{"temperature": 25}' | coap post coap://$TH... | volodymyr-babak/thingsboard.github.io | _includes/templates/helloworld/coap.md | Markdown | apache-2.0 | 823 |
@extends('master')
@section('header')
@stop
@section('content')
{{ Notification::showAll() }}
<div class='col-md-2 text-center slidbar_bg'>
<h3 class="acolor">
专业搜索
</h3>
<p class='t1'>九子高考志愿匹配网为您提供全面的专业数据库搜索功能,以便于您可以根据搜索结果,查询所需要的专业信息。</p>
</div>
<div class='col-md-7 bottom top'>
<div class="inpu... | wtdragon/gxzypp | app/views/specialties/search/index.blade.php | PHP | apache-2.0 | 3,351 |
"""Test the IPython.kernel public API
Authors
-------
* MinRK
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed ... | noslenfa/tdjangorest | uw/lib/python2.7/site-packages/IPython/kernel/tests/test_public_api.py | Python | apache-2.0 | 1,308 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>parse_example (Spec::Runner::Options)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"... | turbine-rpowers/gocd-add-agent-sandbox-config | tools/jruby/lib/ruby/gems/1.8/doc/rspec-1.2.6/rdoc/classes/Spec/Runner/Options.src/M000444.html | HTML | apache-2.0 | 1,501 |
<!DOCTYPE html>
<html>
<head>
<script>
// TOC: This test isn't so meaningful any more, since we're not
// actually automatic addition of numbering. Perhaps add a TOC,
// to test that it's reflected?
function performTest(api)
{
api.tests.TestLib.setupOutlineNumbering();
api.Outline.init();
api.PostponedAct... | corinthia/corinthia-editorlib | tests/outline/changeHeadingType-input.html | HTML | apache-2.0 | 669 |
// 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.jetbrains.python.psi.search;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.QueryExecutorBase;
import com.intelli... | jk1/intellij-community | python/src/com/jetbrains/python/psi/search/PyInitReferenceSearchExecutor.java | Java | apache-2.0 | 2,095 |
/*
* Copyright 2014 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 applica... | pkdevbox/spring-social-linkedin | spring-social-linkedin/src/main/java/org/springframework/social/linkedin/api/impl/json/UpdateContentMixin.java | Java | apache-2.0 | 1,483 |
/**
* 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... | apurtell/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/fpga/FpgaDevice.java | Java | apache-2.0 | 3,672 |
# $NetBSD: Makefile,v 1.12 2011/07/10 08:43:50 mrg Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.include <bsd.own.mk>
# Build ELF to ecoff tools on mips, for old bootblocks/PROMs.
.if ${MACHINE_CPU} == "mips"
PROG= elf2ecoff
.endif
MAN= elf2ecoff.1
.include <bsd.prog.mk>
| execunix/vinos | usr.bin/elf2ecoff/Makefile | Makefile | apache-2.0 | 281 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for Fresco." />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>
No... | weiwenqiang/GitHub | expert/fresco/docs/javadoc/reference/com/facebook/common/disk/NoOpDiskTrimmableRegistry.html | HTML | apache-2.0 | 28,731 |
/*<![CDATA[*/
function criaLocalStorageLogin() {
var linhas = document.getElementById("tabelaUsuario")
.getElementsByTagName("tbody")[0].getElementsByTagName("tr");
var table = document.getElementById("tabelaUsuario");
for (i = 0; i < linhas.length; i++) {
linhas[i].onclick = function(... | rubenscorrea20/Centinyx | target/classes/static/javascript/buscaDados.js | JavaScript | apache-2.0 | 6,985 |
/**
* Copyright (C) 2013 – 2017 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.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... | dswarm/dswarm | converter/src/main/java/org/dswarm/converter/flow/ObservableTripleReceiver.java | Java | apache-2.0 | 1,535 |
<?php
/**
* This file has been @generated by a phing task by {@link GeneratePhonePrefixData}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... | giggsey/libphonenumber-for-php | src/geocoding/data/en/19.php | PHP | apache-2.0 | 134,060 |
/*
* 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 ... | implydata/druid | integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractS3InputSourceParallelIndexTest.java | Java | apache-2.0 | 4,697 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoCore;
using ProtoCore.Utils;
namespace GraphToDSCompiler
{
public class AstCodeBlockTraverse
{
//private AST.AssociativeAST.BinaryExpressionNode ben;
/// <summary>
/// This is used during ... | DynamoDS/designscript-archive | Core/GraphToDSCompiler/AstCodeBlockTraverse.cs | C# | apache-2.0 | 13,253 |
/**
* 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
* distribu... | mschenck/aurora | commons/src/main/java/org/apache/aurora/common/net/http/handlers/QuitHandler.java | Java | apache-2.0 | 2,198 |
/**
* 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... | punkhorn/camel-upstream | core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/RouteError.java | Java | apache-2.0 | 1,226 |
package org.apache.cassandra.io.sstable;
/*
*
* 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 ... | lvasselt/cassandra-shawn | test/unit/org/apache/cassandra/io/sstable/SSTableWriterTest.java | Java | apache-2.0 | 4,468 |
/*
* 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... | gsoundar/mambo-ec2-deploy | packages/tachyon-0.5.0/core/src/test/java/tachyon/UnderFileSystemTest.java | Java | apache-2.0 | 2,856 |
.example {
position: relative;
padding: 20px;
border-style: solid;
background-color: #fff;
border: 1px solid #ddd;
outline: none;
transition: all 0.3s;
height: 75px;
}
.pad0 {
padding: 0;
}
.description {
padding: 15px 18px 25px;
}
| ljh50/thinkphp-agile-dev | Addons/Report/_static/css/report.css | CSS | apache-2.0 | 252 |
package javasmmr.zoowsome.models.animals;
public class Dolphin extends Aquatic {
public Dolphin(Integer nrOfLegs, String name,Integer avgSwimDepth, Water waterType) {
setNrOfLegs(nrOfLegs);
setName(name);
setAvgSwimDepth(avgSwimDepth);
setWaterType(waterType);
}
public Dolphin() {
this(new Integer(0),"... | JavaSummer/JavaMainRepo | Students/Pop P. Roxana/assignment3.1/src/javasmmr/zoowsome/models/animals/Dolphin.java | Java | apache-2.0 | 372 |
<!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.5.0_09) on Wed Aug 01 14:02:17 EEST 2007 -->
<TITLE>
datechooser.beans.customizer.edit (DateChooser javadoc)
</TITLE>
<META NAME="keywords" CON... | AndresJMM/Proyecto | Proyecto/librerias/jdatechooser_bin_doc_1_1_1/javadoc/datechooser/beans/customizer/edit/package-frame.html | HTML | apache-2.0 | 1,163 |
/*
* 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 ... | arenadata/ambari | ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariPrivilegeResourceProvider.java | Java | apache-2.0 | 7,894 |
#
# %CopyrightBegin%
#
# Copyright Ericsson AB 2009. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
# compliance with the License. You should have received a copy of the
# Erlang Public License along with... | jtimberman/omnibus | source/otp_src_R14B02/lib/wx/examples/demo/Makefile | Makefile | apache-2.0 | 1,868 |
<?php declare(strict_types=1);
/*.
require_module 'standard';
.*/
/**
* @OA\Get(
* tags={"registration"},
* path="/registration/open/{event}",
* summary="Returns if event registration is open or not..",
* @OA\Parameter(
* description="Event ID",
* in="path",
* ... | CON-In-A-Box/ConComSignIn | api/src/Modules/registration/Controller/GetOpen.php | PHP | apache-2.0 | 3,828 |
-- @author prabhd
-- @created 2014-04-01 12:00:00
-- @modified 2012-04-01 12:00:00
-- @tags dml MPP-21090 ORCA
-- @optimizer_mode on
-- @description Tests for MPP-21090
\echo --start_ignore
set gp_enable_column_oriented_table=on;
\echo --end_ignore
DROP TABLE IF EXISTS mpp21090_drop_lastcol_dml_timestamptz;
CREATE TA... | lintzc/gpdb | src/test/tinc/tincrepo/dml/functional/sql_partition/mpp21090_drop_lastcol_dml_timestamptz_ao.sql | SQL | apache-2.0 | 1,170 |
/* $NetBSD: atomic_and_16_cas.c,v 1.3 2014/06/23 21:53:45 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* Redistribution and use in source and binary forms, with or wi... | execunix/vinos | common/lib/libc/atomic/atomic_and_16_cas.c | C | apache-2.0 | 1,979 |
package org.xtuml.bp.mc.java;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
imp... | cortlandstarrett/bridgepoint | src/org.xtuml.bp.mc.java/src/org/xtuml/bp/mc/java/McJavaBuilder.java | Java | apache-2.0 | 16,498 |
/*
* Copyright 2013 - 2020 Outworkers 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... | outworkers/phantom | phantom-dsl/src/main/scala/com/outworkers/phantom/builder/query/engine/CQLQuery.scala | Scala | apache-2.0 | 3,502 |
/*
* Copyright 2014 Peter Heisig
*
* 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... | dpint/LicensesDialog | library/src/main/java/de/psdev/licensesdialog/licenses/CreativeCommonsAttributionShareAlike30Unported.java | Java | apache-2.0 | 1,505 |
require File.expand_path('../boot', __FILE__)
#require 'rails/all'
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
require "sprockets/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use t... | smc-ssiddiqui/pophealthv2 | config/application.rb | Ruby | apache-2.0 | 2,451 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.