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) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-08-24 chinesebear first version
*/
#include <rtthread.h>
#include <rtdef.h>
//#include <lwip/pbuf.h>
#include "synopGMAC.h"
#include "mii.c"
#inclu... | wolfgangz2013/rt-thread | bsp/ls1cdev/drivers/net/synopGMAC.c | C | apache-2.0 | 32,096 |
/*
Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419.
*/
OSF.OUtil.setNamespace("XLS", OSF.DDA);
OSF.OUtil.augmentList(Microsoft.Office.WebExtension.FilterType, {
OnlyVisible: "onlyVisible"
});
OSF.OUtil.augmentList(Microsoft.Office.WebExtension.Event... | CodeMoggy/ngOutlookApp | SocialERPWeb/Scripts/Office/1.1/excelwebapp-15.debug.js | JavaScript | apache-2.0 | 15,322 |
#ifndef ANDROID_NDK_VERSION_H
#define ANDROID_NDK_VERSION_H
/**
* Major vision of this NDK.
*
* For example: 16 for r16.
*/
#define __NDK_MAJOR__ 16
/**
* Minor vision of this NDK.
*
* For example: 1 for r16b.
*/
#define __NDK_MINOR__ 1
/**
* Beta vision of this NDK.
*
* For example: 1 for r16 beta 1, 0 f... | qpython-android/QPython3-core | mk/tinycc/sysinculde/android/ndk-version.h | C | apache-2.0 | 604 |
#!/bin/bash
if ! whoami &>/dev/null; then
if [ -w /etc/passwd ]; then
echo "${USER_NAME:-molecule}:x:$(id -u):$(id -g):${USER_NAME:-molecule} user:${HOME}:/sbin/nologin" >> /etc/passwd
fi
fi
exec $@
| eriknelson/ansible-service-broker | operator/build/entrypoint.sh | Shell | apache-2.0 | 209 |
<?php
$GLOBALS['PHP_IMPALA_CLASSMAP'] = require_once 'lib/autoload_classmap.php';
spl_autoload_register(function ($class) {
if(array_key_exists($class, $GLOBALS['PHP_IMPALA_CLASSMAP'])) {
require $GLOBALS['PHP_IMPALA_CLASSMAP'][$class];
}
});
use Thrift\Transport\TBufferedTransport;
use Thrift\Transport\TSocket;
... | pozypakya/php-impala | test.php | PHP | apache-2.0 | 744 |
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | ilivoo/ilivoo | java_tools/src/com/sun/tools/classfile/EnclosingMethod_attribute.java | Java | apache-2.0 | 2,881 |
package helper
import (
"errors"
"encoding/json"
log "github.com/sirupsen/logrus"
"github.com/Cepave/open-falcon-backend/modules/f2e-api/app/model/uic"
"github.com/Cepave/open-falcon-backend/modules/f2e-api/config"
"github.com/gin-gonic/gin"
)
type WebSession struct {
Name string
Sig string
}
func GetSes... | masato25/open-falcon-backend | modules/f2e-api/app/helper/session.go | GO | apache-2.0 | 2,348 |
/****************************************************************************
*
* Copyright 2018 Samsung Electronics 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... | HONGCHAEHEE/TizenRT | external/mbedtls/rsa_internal.c | C | apache-2.0 | 15,074 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache/incubator-shardingsphere | shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/base/AbstractSQLTest.java | Java | apache-2.0 | 2,963 |
/*
* Licensed to ElasticSearch and Shay Banon 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... | dongaihua/highlight-elasticsearch | src/main/java/org/elasticsearch/index/query/RangeQueryParser.java | Java | apache-2.0 | 5,206 |
// config-utils.js -- helpers for coordinating Application runtime vs. Settings configuration
//
// * ApplicationConfig -- Menu items and API values.
// * SettingsConfig -- scoped Settings values.
"use strict";
/* eslint-env commonjs */
/* global log */
module.exports = {
version: '0.0.1a',
ApplicationConf... | RebeccaStankus/hifi-content | Marketplace/camera-move/modules/config-utils.js | JavaScript | apache-2.0 | 10,355 |
<!DOCTYPE html>
<html lang="en" manifest="/offline/ovs.appcache">
<head>
<!--
Copyright 2014 CloudFounders NV
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... | mflu/openvstorage_centos | webapps/frontend/offline/cache.html | HTML | apache-2.0 | 1,222 |
using System;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.MockData;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
namespace Tests.Mapping.Types.Core.Binary
{
public class BinaryPropertyTests : PropertyTestsBase
{
public BinaryProperty... | CSGOpenSource/elasticsearch-net | src/Tests/Mapping/Types/Core/Binary/BinaryPropertyTests.cs | C# | apache-2.0 | 1,057 |
-- Copyright (c) 2013-2015 Snowplow Analytics Ltd. All rights reserved.
--
-- This program is licensed to you under the Apache License Version 2.0,
-- and you may not use this file except in compliance with the Apache License Version 2.0.
-- You may obtain a copy of the Apache License Version 2.0 at http://www.apache.o... | rogervaas/snowplow | 5-data-modeling/sql-runner/redshift/sql/incremental/06-page-views/06-04-merge-part-3.sql | SQL | apache-2.0 | 2,663 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-redshift/include/aws/redshift/model/ClusterVersion.h | C | apache-2.0 | 6,143 |
/*
* 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 ... | w2ogroup/incubator-streams | streams-contrib/streams-persist-console/src/main/java/org/apache/streams/console/ConsolePersistWriter.java | Java | apache-2.0 | 2,248 |
<!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/page_contact.html | HTML | apache-2.0 | 47,451 |
/*
* 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... | coding0011/elasticsearch | plugins/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3RepositoryPlugin.java | Java | apache-2.0 | 4,783 |
/*
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... | Squeegee/batik | sources/org/apache/batik/ext/awt/image/rendered/TileBlock.java | Java | apache-2.0 | 8,134 |
---
layout: global
title: CACHE TABLE
displayTitle: CACHE TABLE
license: |
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 Yo... | kiszk/spark | docs/sql-ref-syntax-aux-cache-cache-table.md | Markdown | apache-2.0 | 896 |
Schoolbus Inspection Tracking System
======================
OpenShift Configuration and Deployment
----------------
The tran-schoolbus-tools (Tools) project contains the Build Configurations (bc) and Image Streams (is) that are referenced by the Deployment Configurations.
The following projects contain the Deploymen... | WadeBarnes/schoolbus | openshift/templates/README.md | Markdown | apache-2.0 | 10,644 |
package com.morcinek.android.codegenerator.plugin.layouts.activity;
import com.morcinek.android.codegenerator.codegeneration.providers.factories.ActivityResourceProvidersFactory;
import com.morcinek.android.codegenerator.plugin.Activator;
import com.morcinek.android.codegenerator.plugin.layouts.LayoutActionHandler;
/... | tmorcinek/android-codegenerator-plugin-eclipse | com.morcinek.android.codegenerator.plugin/src/main/java/com/morcinek/android/codegenerator/plugin/layouts/activity/ActivityActionHandler.java | Java | apache-2.0 | 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")... | apache/incubator-openaz | openaz-xacml-pap-admin/src/main/java/org/apache/openaz/xacml/admin/jpa/Category.java | Java | apache-2.0 | 5,308 |
/*
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, ... | cheapRoc/kubernetes | staging/src/k8s.io/kube-apiextensions-server/pkg/apiserver/apiserver.go | GO | apache-2.0 | 6,174 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
util.PrecacheSound( "apc_engine_start" )
util.PrecacheSound( "apc_engine_stop" )
util.PrecacheSound( "common/warning.wav" )
include('shared.lua')
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.Active = 0
self.damaged = 0
self:CreateEnviro... | spacebuild/sbep | lua/entities/livable_module/init.lua | Lua | apache-2.0 | 22,756 |
package org.omg.dmn.tck.validation;
import javax.xml.XMLConstants;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Unmarshaller;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import java.io.File;
import java.net.URI;
/**
* Created by opatrascoiu on 10/04/2017.
*/
public cla... | etirelli/tck | runners/dmn-tck-marshaller/src/main/java/org/omg/dmn/tck/validation/SchemaValidator.java | Java | apache-2.0 | 2,143 |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ProductType'
db.create_table('inventory_producttype', (
('id', self.gf('django... | codepython/CollectorCity-Market-Place | stores/apps/inventory/migrations/0001_initial.py | Python | apache-2.0 | 13,952 |
namespace MediatR.Examples.StructureMap.WebAPI.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} | darbio/MediatR | src/MediatR.Examples.StructureMap.WebAPI/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs | C# | apache-2.0 | 303 |
package org.wikidata.wdtk.rdf.values;
/*
* #%L
* Wikidata Toolkit RDF
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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
*
* ... | GlorimarCastro/glorimar-wikidata-toolkit | wdtk-rdf/src/main/java/org/wikidata/wdtk/rdf/values/EntityIdValueConverter.java | Java | apache-2.0 | 1,824 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-config/source/model/DescribeRetentionConfigurationsResult.cpp | C++ | apache-2.0 | 1,981 |
/*
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Artistic License
* as publish... | meitar/zaproxy | zap/src/main/java/org/parosproxy/paros/db/paros/ParosTableAlert.java | Java | apache-2.0 | 22,718 |
/* 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/. */
/* ===== textbox.css ==================================================
== Styles used by the XUL textbox elemen... | sergecodd/FireFox-OS | B2G/gecko/toolkit/themes/gnomestripe/global/textbox.css | CSS | apache-2.0 | 3,761 |
<div class="main-content">
<h2>ApplicationInfo</h2>
<table class="table table-hover">
<colgroup>
<col style="width: 10%;"/>
<col style="width: 30%;"/>
<col style="width: 10%;"/>
<col style="width: 20%;"/... | nuwand/carbon-apimgt | docs/apidocs/store/v1/models/ApplicationInfo.html | HTML | apache-2.0 | 7,307 |
package ca.uhn.fhir.rest.gclient;
/*-
* #%L
* HAPI FHIR - Core Library
* %%
* 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 of the License at
*
* ... | jamesagnew/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/BaseClientParam.java | Java | apache-2.0 | 1,496 |
/* 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... | robsoncardosoti/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/impl/cmd/CancelJobsCmd.java | Java | apache-2.0 | 2,926 |
/*
* 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 ... | jior/glaf | workspace/glaf-base/src/main/java/com/glaf/base/modules/sys/model/RealmInfo.java | Java | apache-2.0 | 1,242 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | haoch/druid | indexing-hadoop/src/test/java/io/druid/indexer/HadoopDruidIndexerConfigTest.java | Java | apache-2.0 | 8,179 |
describe('Core.selectCell', () => {
beforeEach(function() {
this.$container = $('<div id="testContainer"></div>').appendTo('body');
});
afterEach(function() {
if (this.$container) {
destroy();
this.$container.remove();
}
});
it('should mark single cell visually (default selectionMode... | victorbrodsky/order-lab | orderflex/public/orderassets/AppUserdirectoryBundle/handsontable-5/test/e2e/core/selectCell.spec.js | JavaScript | apache-2.0 | 21,243 |
/*
* 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... | jk1/intellij-community | platform/platform-impl/src/com/intellij/openapi/editor/impl/event/EditorEventMulticasterImpl.java | Java | apache-2.0 | 8,310 |
/*
* Copyright 2022 ThoughtWorks, 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 agr... | gocd/gocd | server/src/main/webapp/WEB-INF/rails/webpack/views/pages/pipelines/server_errors.tsx | TypeScript | apache-2.0 | 1,740 |
/*
* Copyright 2000-2014 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... | ernestp/consulo | platform/lang-impl/src/com/intellij/execution/RunManagerEx.java | Java | apache-2.0 | 4,258 |
//// [tests/cases/compiler/importHelpersNoModule.ts] ////
//// [external.ts]
export class A { }
export class B extends A { }
declare var dec: any;
@dec
class C {
method(@dec x: number) {
}
}
//// [script.ts]
class A { }
class B extends A { }
declare var dec: any;
@dec
class C {
method(@dec x: num... | mihailik/TypeScript | tests/baselines/reference/importHelpersNoModule.js | JavaScript | apache-2.0 | 3,297 |
/**
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and conditio... | deleidos/digitaledge-platform | webapp-ingestapi/src/main/java/com/deleidos/rtws/webapp/ingestapi/model/ParserService.java | Java | apache-2.0 | 12,676 |
/*
* Copyright 2002-2019 Drew Noakes and 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 req... | drewnoakes/metadata-extractor | Source/com/drew/metadata/mp4/media/Mp4SoundDirectory.java | Java | apache-2.0 | 2,219 |
// Copyright (c) 2017 Uber Technologies, 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 a... | teamsaas/meq | ui/src/plugins/built-in/panel/jaeger-panel/TraceView/JaegerComponents/types/archive.tsx | TypeScript | apache-2.0 | 849 |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | neonichu/buck | test/com/facebook/buck/android/AndroidBuildConfigTest.java | Java | apache-2.0 | 4,898 |
package com.hubspot.singularity.scheduler;
import com.hubspot.mesos.Resources;
import com.hubspot.singularity.SingularityTaskCurrentUsage;
import com.hubspot.singularity.SingularityTaskId;
class TaskIdWithUsage {
private final SingularityTaskId taskId;
private final Resources requestedResources;
private final S... | hs-jenkins-bot/Singularity | SingularityService/src/main/java/com/hubspot/singularity/scheduler/TaskIdWithUsage.java | Java | apache-2.0 | 807 |
/*
* Copyright 2013-2017 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... | orange-cloudfoundry/cf-java-client | cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/uaa/identityzones/ReactorIdentityZonesTest.java | Java | apache-2.0 | 37,125 |
/*
* 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 ... | ascherbakoff/ignite | modules/core/src/main/java/org/apache/ignite/internal/processors/platform/services/PlatformServices.java | Java | apache-2.0 | 27,586 |
public class Date {
private int month;
private int day;
private int year;
private static final int[] daysPerMonth = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
public Date (){
}
public Date ( int theMonth, int theDay, int theYear ) {
month = checkMonth ( theMonth );
... | DexDevs/educate-for-oop | java/book-dietel/kinza/10_8_b_Date.java | Java | apache-2.0 | 1,526 |
/*
* Copyright 2015 ThoughtWorks, 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 agre... | xli/gocd | server/src/com/thoughtworks/go/server/service/TimerScheduler.java | Java | apache-2.0 | 7,349 |
/*!
* ${copyright}
*/
// Provides the base implementation for all model implementations
sap.ui.define(['jquery.sap.global', 'sap/ui/core/format/DateFormat', 'sap/ui/model/SimpleType', 'sap/ui/model/FormatException', 'sap/ui/model/ParseException', 'sap/ui/model/ValidateException'],
function(jQuery, DateFormat, Simpl... | SQCLabs/openui5 | src/sap.ui.core/src/sap/ui/model/type/Date.js | JavaScript | apache-2.0 | 6,346 |
program t
implicit none
C inquire stmt 'delim' specifier (quote)
c and character variable in open stmt
character*10::a
character*5::write='quote'
open (56, status='new', file='tmpfile', delim=write)
inquire (56, delim=a)
print *,a
close (56,status='delete')
endprogr... | thender/ppp | tests/t0317x/t.f | FORTRAN | apache-2.0 | 325 |
package eu.uqasar.web.dashboard.projectqualitygooglechart;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* 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
... | schlotze/u-qasar.platform | src/main/java/eu/uqasar/web/dashboard/projectqualitygooglechart/ProjectQualityGoogleChartFactory.java | Java | apache-2.0 | 840 |
module Coppertone
# A helper class for finding SPF records for a domain.
class RecordEvaluator
attr_reader :record
def initialize(record)
@record = record
end
def evaluate(macro_context, request_context)
result = directive_result(macro_context, request_context)
return result unle... | petergoldstein/coppertone | lib/coppertone/record_evaluator.rb | Ruby | apache-2.0 | 2,012 |
/*************************************************************************************************/
/*!
* \file
*
* \brief AES and random number security service implemented using HCI.
*
* Copyright (c) 2010-2018 Arm Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"... | betzw/mbed-os | features/FEATURE_BLE/targets/TARGET_CORDIO/stack/cordio_stack/ble-host/sources/sec/common/sec_cmac.c | C | apache-2.0 | 9,270 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | bf8086/alluxio | core/client/fs/src/main/java/alluxio/client/block/stream/UfsFallbackLocalFileDataWriter.java | Java | apache-2.0 | 6,756 |
/*
* Copyright 2008 ZXing 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 ... | ben-upsilon/exp-aqr | src/com/google/zxing/qrcode/QRCodeWriter.java | Java | apache-2.0 | 4,790 |
# frozen_string_literal: true
class CreateLeaveApplications < ActiveRecord::Migration[5.0]
def change
create_table :leave_applications do |t|
t.integer :user_id
t.string :leave_type
t.integer :hours, default: 0
t.datetime :start_time
t.datetime :end_time
t.text :description, nu... | 5xRuby/daikichi | db/migrate/20160714090133_create_leave_applications.rb | Ruby | apache-2.0 | 553 |
/*
* Copyright (C) 2008 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 ... | mcculls/guice | core/test/com/google/inject/spi/InjectionPointTest.java | Java | apache-2.0 | 20,295 |
var ListCache = require('./_ListCache'),
stackClear = require('./_stackClear'),
stackDelete = require('./_stackDelete'),
stackGet = require('./_stackGet'),
stackHas = require('./_stackHas'),
stackSet = require('./_stackSet');
/**
* Creates a stack cache object to store key-value pairs.
*
* @priv... | ionutbarau/petstore | petstore-app/src/main/resources/static/node_modules/form-data/node_modules/lodash/_Stack.js | JavaScript | apache-2.0 | 738 |
<html>
<head>
<title>NetBSD & Google's Summer of Code: Martin Schuette - Improve syslogd (syslogd)</title>
</head>
<body>
<h1>Testing syslogd</h1>
<h2>Compiling</h2>
<p>A (hopefully) stable version for testing is available by <a href="http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/syslogd/src/">CVS</a> and as a ... | execunix/vinos | usr.sbin/syslogd/howto.html | HTML | apache-2.0 | 4,458 |
# The Zulip browser window
There are three major components the your Zulip browser window.
## Central panel
Some features for viewing, sending, or searching for messages are located in the
central panel of your browser window.

### Search bar
The **search bar**... | jphilipsen05/zulip | templates/zerver/help/the-zulip-browser-window.md | Markdown | apache-2.0 | 4,956 |
/*
* DefaultConversionService.java
*/
package org.ngbw.sdk.conversion;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.Collection;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/sdk/src/main/java/org/ngbw/sdk/conversion/DefaultConversionService.java | Java | apache-2.0 | 11,940 |
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.customize;
import com.intellij.CommonBundle;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.WelcomeWizardUtil;
import com.intellij.ide.cloudConfig.CloudConfigPro... | jwren/intellij-community | platform/platform-impl/src/com/intellij/ide/customize/CustomizeUIThemeStepPanel.java | Java | apache-2.0 | 7,842 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | calonso-conabio/intranet | protected/vendors/Zend/Tool/Project/Context/Zf/LayoutScriptsDirectory.php | PHP | apache-2.0 | 1,598 |
import json
from decimal import Decimal
class CustomEncoder(json.JSONEncoder):
def default(self, object):
if isinstance(object, set):
return list(object)
if isinstance(object, Decimal):
if object % 1 > 0:
return float(object)
else:
... | apoclyps/pyrestful | pyrestful/encoders.py | Python | apache-2.0 | 399 |
package org.mindinformatics.gwt.domeo.plugins.persistence.json.model;
import java.util.Date;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.i18n.client.DateTimeFormat;
/**
* @author Paolo Ciccarese <paolo.ciccarese@gmail.com>
*/
public class JsPublicationArticleReference extends JavaScri... | rkboyce/DomeoClient | src/org/mindinformatics/gwt/domeo/plugins/persistence/json/model/JsPublicationArticleReference.java | Java | apache-2.0 | 1,552 |
/*
* Copyright 2008 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 ... | rgpower/closure-templates | java/src/com/google/template/soy/basetree/AbstractNode.java | Java | apache-2.0 | 2,883 |
#ifndef STRINGS_H
#define STRINGS_H
#endif /* STRINGS_H */
| Wapaul1/ray | src/common/shims/windows/strings.h | C | apache-2.0 | 60 |
// 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 ... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Datastream.V1/Google.Cloud.Datastream.V1.GeneratedSnippets/DatastreamClient.GetRouteRequestObjectAsyncSnippet.g.cs | C# | apache-2.0 | 1,787 |
/*
* 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... | superbderrick/ExoPlayer | library/core/src/test/java/com/google/android/exoplayer2/extractor/ts/TsDurationReaderTest.java | Java | apache-2.0 | 3,537 |
package com.coleman.util;
import android.widget.Toast;
public class ToastUtil {
public static void show(String msg) {
showMsg(msg, Toast.LENGTH_SHORT);
}
public static void show(String msg, int length) {
showMsg(msg, length);
}
private static void showMsg(final String msg, fina... | 79144876/WordReviewProject | src/com/coleman/util/ToastUtil.java | Java | apache-2.0 | 535 |
<?php
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); yo... | thexerteproject/xerteonlinetoolkits | website_code/php/error_library.php | PHP | apache-2.0 | 6,455 |
/*
* 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... | yanjunh/elasticsearch | core/src/test/java/org/elasticsearch/index/search/MultiMatchQueryTests.java | Java | apache-2.0 | 8,792 |
from copy import copy
import pytest
from plenum.common.stacks import nodeStackClass
from plenum.common.util import randomString
from stp_core.loop.eventually import eventually
from stp_core.network.auth_mode import AuthMode
from stp_core.network.port_dispenser import genHa
from stp_core.test.helper import Printer, pr... | evernym/zeno | stp_zmq/test/test_node_to_node_quota.py | Python | apache-2.0 | 3,525 |
# encoding: utf-8
module RailsBestPractices
module Core
# Method container.
class Methods
def initialize
@methods = {}
@possible_methods = {}
end
# Add a method.
#
# @param [String] class name
# @param [String] method name
# @param [Hash] method meta,... | masukomi/mobtvse | vendor/bundle/gems/rails_best_practices-1.9.0/lib/rails_best_practices/core/methods.rb | Ruby | apache-2.0 | 5,785 |
# Copyright 2015 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 required by applicable law or ... | magic0704/oslo.messaging | oslo_messaging/_drivers/zmq_driver/client/publishers/zmq_req_publisher.py | Python | apache-2.0 | 3,103 |
<!DOCTYPE html>
<html>
<head>
<script>
function performTest(api)
{
api.Cursor.insertCharacter(" ");
api.tests.TestLib.showSelection();
}
</script>
</head>
<body>
<p><b></b>[]<br/></p>
</body>
</html>
| corinthia/corinthia-editorlib | tests/cursor/insertCharacter-space05-input.html | HTML | apache-2.0 | 208 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | nolanamy/zxing | symbian/QZXing/examples/QQrDecoder/button.cpp | C++ | apache-2.0 | 4,133 |
/*
* 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/kylin | core-metadata/src/main/java/org/apache/kylin/source/SourcePartition.java | Java | apache-2.0 | 3,845 |
<?php
/*******************************************************************************
* Copyright 2009-2016 Amazon Services. 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 ... | enkay83/mws | src/MWSMerchantFulfillmentService/Model/GetShipmentResponse.php | PHP | apache-2.0 | 6,870 |
/*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | LiangYue1981816/CrossEngine | PhysX-3.3/PhysXSDK/Source/PhysXExtensions/src/serialization/Binary/SnConvX_Error.cpp | C++ | apache-2.0 | 1,766 |
/**
* Copyright 2019 The AMP HTML 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 require... | cory-work/amphtml | src/multidoc-manager.js | JavaScript | apache-2.0 | 19,226 |
/*
* Copyright 2015-2016 USEF Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | USEF-Foundation/ri.usef.energy | usef-build/usef-simulation/usef-simulation-dso/src/main/java/energy/usef/dso/workflow/step/DsoLimitConnectionsStub.java | Java | apache-2.0 | 3,060 |
/*
* Copyright 2002-2007 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... | cbeams-archive/spring-framework-2.5.x | test/org/springframework/beans/factory/xml/ShortcutTests.java | Java | apache-2.0 | 2,428 |
# Copyright 2014 PerfKitBenchmarker 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 appli... | syed/PerfKitBenchmarker | perfkitbenchmarker/static_virtual_machine.py | Python | apache-2.0 | 10,858 |
/*
* Copyright 2012-2016 the Flamingo Community.
*
* 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... | hyokun31/wisekb-management-platform | wisekb-web/src/main/webapp/flamingo/app/view/workflowdesigner/canvas/Canvas.js | JavaScript | apache-2.0 | 9,828 |
# Copyright 2012 OpenStack Foundation
# 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 requ... | priya-pp/Tacker | tacker/tests/unit/test_auth.py | Python | apache-2.0 | 4,418 |
/*
* Copyright 2000-2017 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... | FHannes/intellij-community | java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/SuppressModuleInfoInspectionsTest.java | Java | apache-2.0 | 2,162 |
/*
============================================================================
Author : Ztiany
Description : 标准输入输出
============================================================================
*/
#include <iostream>
using namespace std;
int main() {
string line;
cin.getline(line); //最后换行丢弃
c... | Ztiany/CodeRepository | C&C++/cpp-program/010-io/06_stdio.cpp | C++ | apache-2.0 | 404 |
---
layout: vakit_dashboard
title: GHAZNI, AFGANISTAN için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /AFGANISTAN/GHAZNI/
---
<script type="text/javascript">
var GLOBAL_COUNTRY = 'AFGANISTAN';
var GLOBAL_CITY = 'GHAZNI';
var GLOBAL_STATE = '';
var lat = 72;
var lon = 21;
</script>
| hakanu/iftar | _posts_/vakit/AFGANISTAN/GHAZNI/2017-02-01-.markdown | Markdown | apache-2.0 | 320 |
/*
* Copyright 2014, The Sporting Exchange Limited
* Copyright 2015, Simon Matić Langford
*
* 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/LICENS... | betfair/cougar | cougar-framework/cougar-core-api/src/main/java/com/betfair/cougar/core/api/OperationBindingDescriptor.java | Java | apache-2.0 | 954 |
//===- LoopPass.cpp - Loop Pass and Loop Pass Manager ---------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | google/llvm-propeller | llvm/lib/Analysis/LoopPass.cpp | C++ | apache-2.0 | 13,649 |
using System;
using System.Data;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using CPTT.DataAccess;
using CPTT.SystemFramework;
namespace CPTT.BusinessRule
{
/// <summary>
/// FinanInfoRules µÄժҪ˵Ã÷¡£
/// </summary>
public class FinanInfoRules
{
private double getMessRe... | zesus19/c4.v2.T | CPTT.BusinessRule/FinanInfoRules.cs | C# | apache-2.0 | 19,039 |
var t = new Map();
var objectKey = {};
var stringKey = 'keykeykey';
var numberKey = 42.24;
var booleanKey = true;
var undefinedKey = undefined;
var nullKey = null;
var nanKey = NaN;
var zeroKey = 0;
var frozenKey = Object.freeze({});
assert.equal(t.size, 0);
assert.isUndefined(t.get(objectKey));
assert.isUndefined(t... | arv/traceur-compiler | test/feature/Collections/Map.js | JavaScript | apache-2.0 | 4,965 |
<?php
/**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OC\Files\Storage;
class FTP extends \OC\Files\Storage\StreamWrapper{
private $password;
private $user;
private ... | kebenxiaoming/owncloudRedis | apps/files_external/lib/ftp.php | PHP | apache-2.0 | 3,100 |
/*
* Copyright 2016 org.NLP4L
*
* 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... | fubuki/nlp4l | app/org/nlp4l/framework/builtin/lucene/LuceneSpellcheckIndexingProcessor.scala | Scala | apache-2.0 | 2,996 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | kurtwalker/data-access | core/src/test/java/org/pentaho/platform/dataaccess/datasource/wizard/service/impl/DatasourceResourceTest.java | Java | apache-2.0 | 1,813 |
/*
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/vt/binlog/binlogplayer/fake_dbclient.go | GO | apache-2.0 | 2,015 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.