code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* 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 |
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 |
package org.hyperimage.connector.fedora3.ws;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface ... | bitgilde/HyperImage3 | hi3-editor/src/org/hyperimage/connector/fedora3/ws/ObjectFactory.java | Java | apache-2.0 | 21,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... | apache/pig | src/org/apache/pig/backend/hadoop/hbase/HBaseTableInputFormat.java | Java | apache-2.0 | 7,754 |
// Copyright (c) 2015 Alachisoft
//
// 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... | modulexcite/NCache | Src/NCWebCache/Web/RemoteClient/Command/CommandOptions.cs | C# | apache-2.0 | 771 |
package app
import (
"net/http"
"time"
"golang.org/x/net/context"
"github.com/weaveworks/scope/probe/host"
"github.com/weaveworks/scope/report"
)
// Raw report handler
func makeRawReportHandler(rep Reporter) CtxHandlerFunc {
return func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
report, ... | kinvolk/scope | app/api_report.go | GO | apache-2.0 | 1,643 |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | NiteshKant/RxJava | src/main/java/io/reactivex/internal/operators/maybe/MaybeSwitchIfEmptySingle.java | Java | apache-2.0 | 3,840 |
# -------------------------------------------------------------
#
# 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 unde... | apache/incubator-systemml | src/main/python/systemds/operator/algorithm/builtin/garch.py | Python | apache-2.0 | 3,230 |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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... | Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/ObservationStatusEnumFactory.java | Java | apache-2.0 | 3,374 |
/*
* Copyright 2013 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | gsheldon/optaplanner | optaplanner-examples/src/test/java/org/optaplanner/examples/nqueens/app/BrokenNQueensBenchmarkTest.java | Java | apache-2.0 | 2,156 |
/*
* 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 ... | adamjshook/accumulo | server/monitor/src/main/java/org/apache/accumulo/monitor/util/celltypes/CellType.java | Java | apache-2.0 | 1,314 |
package io.cattle.platform.process.dao.impl;
import static io.cattle.platform.core.model.tables.AccountTable.*;
import io.cattle.platform.core.model.Account;
import io.cattle.platform.db.jooq.dao.impl.AbstractJooqDao;
import io.cattle.platform.process.dao.AccountDao;
public class AccountDaoImpl extends AbstractJooqDa... | cloudnautique/cloud-cattle | code/iaas/logic/src/main/java/io/cattle/platform/process/dao/impl/AccountDaoImpl.java | Java | apache-2.0 | 551 |
package net.ros.client.render;
import com.google.common.collect.ImmutableList;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.BakedQuad;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minecraft.client.rende... | mantal/Qbar | content/logistic/src/main/java/net/ros/client/render/ModelPipeInventory.java | Java | apache-2.0 | 4,971 |
import React, { Component, Fragment } from 'react';
import { navigate } from '@reach/router';
import PropTypes from 'prop-types';
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
import { siteRoot, gettext, orgID } from '../../utils/constants';
import { seafileAPI } from '../../utils/s... | miurahr/seahub | frontend/src/pages/org-admin/org-groups.js | JavaScript | apache-2.0 | 8,470 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package io.github.jass2125.locadora.jpa;
import javax.persistence.EntityManager;
import javax.persistence.Persistence;
/**
*
* @au... | ifpb-disciplinas-2015-2/locadora-jpa-web | src/main/java/io/github/jass2125/locadora/jpa/EntityManagerJPA.java | Java | apache-2.0 | 740 |
import {boolean, number, object, text, withKnobs} from '@storybook/addon-knobs';
import {
BentoAccordion,
BentoAccordionContent,
BentoAccordionHeader,
BentoAccordionSection,
} from '#bento/components/bento-accordion/1.0/component';
import {BentoVideo} from '#bento/components/bento-video/1.0/component';
import... | ampproject/amphtml | extensions/amp-video/1.0/storybook/Basic.js | JavaScript | apache-2.0 | 4,420 |
/*******************************************************************************
* Copyright 2012 Apigee 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.... | futur/usergrid-stack | core/src/main/java/org/usergrid/persistence/query/tree/ContainsOperand.java | Java | apache-2.0 | 1,697 |
/*
* 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/directory-server | core-api/src/main/java/org/apache/directory/server/core/api/subtree/SubtreeEvaluator.java | Java | apache-2.0 | 6,471 |
namespace SmartyStreets
{
public class RequestEntityTooLargeException : SmartyException
{
public RequestEntityTooLargeException()
{
}
public RequestEntityTooLargeException(string message)
: base(message)
{
}
}
} | smartystreets/smartystreets-csharp-sdk | src/sdk/Exceptions/RequestEntityTooLargeException.cs | C# | apache-2.0 | 233 |
package io.cattle.platform.configitem.server.model.impl;
import java.io.IOException;
import io.cattle.platform.configitem.server.model.RefreshableConfigItem;
import io.cattle.platform.configitem.server.resource.ResourceRoot;
import io.cattle.platform.configitem.version.ConfigItemStatusManager;
public abstract class ... | alena1108/cattle | code/iaas/config-item/server/src/main/java/io/cattle/platform/configitem/server/model/impl/AbstractResourceRootConfigItem.java | Java | apache-2.0 | 945 |
/*
* 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 ... | objectiser/camel | tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonArray.java | Java | apache-2.0 | 19,042 |
/*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | Jasig/NotificationPortlet | notification-portlet-webapp/src/main/java/org/jasig/portlet/notice/util/UsernameFinder.java | Java | apache-2.0 | 3,039 |
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import * as utils from '../src/utils.js';
import { config } from '../src/config.js';
const BIDDER_CODE = 'gothamads';
const ACCOUNTID_MACROS = '[account_id]';
const URL_ENDPOINT = `https://u... | tchibirev/Prebid.js | modules/gothamadsBidAdapter.js | JavaScript | apache-2.0 | 9,383 |
<?php
/**
* @category SchumacherFM
* @package SchumacherFM_FastIndexer
* @copyright Copyright (c) http://www.schumacher.fm
* @license see LICENSE.md file
* @author Cyrill at Schumacher dot fm @SchumacherFM
*/
class SchumacherFM_FastIndexer_Model_Lock_Session
extends SchumacherFM_FastIndexer_Model_Loc... | mssyogi/Magento-FastIndexer | src/app/code/community/SchumacherFM/FastIndexer/Model/Lock/Session.php | PHP | apache-2.0 | 1,917 |
/*
* 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 ... | gianm/druid | indexing-service/src/main/java/org/apache/druid/indexing/input/DruidInputSource.java | Java | apache-2.0 | 17,743 |
//
// immer: immutable data structures for C++
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
#include "fuzzer_gc_guard.hpp"
#include "fuzzer_in... | arangodb/arangodb | 3rdParty/immer/v0.7.0/extra/fuzzer/set-gc.cpp | C++ | apache-2.0 | 2,591 |
package pod
import (
"fmt"
"strings"
lru "github.com/hashicorp/golang-lru"
"github.com/rancher/norman/api/access"
"github.com/rancher/norman/types"
"github.com/rancher/norman/types/values"
"github.com/rancher/rancher/pkg/controllers/managementagent/workload"
"github.com/rancher/rancher/pkg/ref"
schema "githu... | rancher/rancher | pkg/api/norman/store/pod/owner.go | GO | apache-2.0 | 3,140 |
import java.io.File;
import java.io.FilenameFilter;
class A {
{
new java.io.File("aaa").list(new FilenameFilter() {
public boolean accept(File dir, String name) {
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
}
... | joewalnes/idea-community | java/java-tests/testData/codeInsight/completion/style/AfterNew15-out.java | Java | apache-2.0 | 329 |
/*
* Copyright (C) 2008 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... | YAJATapps/FlickLauncher | src/com/android/launcher3/FolderInfo.java | Java | apache-2.0 | 4,146 |
/*
* Copyright 2014 BrightTag, 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... | BrightTag/agathon | agathon-manager/src/main/java/com/brighttag/agathon/dao/CassandraInstanceDao.java | Java | apache-2.0 | 2,133 |
/*
* MainActivity.java
*
* Copyright (C) 2013 6 Wunderkinder GmbH.
*
* @author Jose L Ugia - @Jl_Ugia
* @author Antonio Consuegra - @aconsuegra
* @author Cesar Valiente - @CesarValiente
* @author Benedikt Lehnert - @blehnert
* @author Timothy Achumba - @iam_timm
* @version 1.0
... | yadihaoku/android-sliding-layer-lib | SlidingLayerSample/src/main/java/com/wunderlist/slidinglayersample/MainActivity.java | Java | apache-2.0 | 6,768 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | AuxMon/azure-sdk-for-node | lib/services/dataLake.Analytics/lib/catalog/models/uSqlExternalDataSourceList.js | JavaScript | apache-2.0 | 1,673 |
/**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
CLASS({
name... | jlhughes/foam | js/foam/flow/LogEntryView.js | JavaScript | apache-2.0 | 1,487 |
(function() {
function LandingCtrl() {
this.heroTitle = "Turn the Music Up!";
}
angular
.module('blocJams')
.controller('LandingCtrl', LandingCtrl);
})();
| ganaraja/bloc-jams-angular | dist/scripts/controllers/LandingCtrl.js | JavaScript | apache-2.0 | 195 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | intalio/axis2 | modules/adb/test/org/apache/axis2/databinding/ClientInfo.java | Java | apache-2.0 | 6,169 |
<?php
require_once '../autoload.php';
use Qiniu\Auth;
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
$auth = new Auth($accessKey, $secretKey);
$bucket = 'Bucket_Name';
$upToken = $auth->uploadToken($bucket);
echo $upToken;
| 976112643/manor | php-sdk-master/examples/upload_token.php | PHP | apache-2.0 | 234 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | datavec/datavec-api/src/main/java/org/datavec/api/transform/transform/time/DeriveColumnsFromTimeTransform.java | Java | apache-2.0 | 15,108 |
package com.humbinal.ssm.test;
public class User {
private long user_Id;
private String user_name;
private int user_age;
public User() {
}
public long getUser_Id() {
return user_Id;
}
public void setUser_Id(long user_Id) {
this.user_Id = user_Id;
}
public St... | Humbinal/java-items | hum-web/hum-ssm/src/test/java/com/humbinal/ssm/test/User.java | Java | apache-2.0 | 616 |
/**
Copyright (c) 2013 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.
**/
require("../base/extension_registry.js");
require("./event.js");
require("./object_snapshot.js");
require("../base/range.js");
require("../base/sorted_... | googlearchive/node-big-rig | lib/third_party/tracing/model/object_instance.js | JavaScript | apache-2.0 | 6,147 |
// 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... | tgroh/incubator-beam | sdks/go/pkg/beam/core/runtime/graphx/coder.go | GO | apache-2.0 | 11,649 |
// Copyright 2004 The Apache Software 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 ... | apache/tapestry3 | tapestry-examples/VlibBeans/src/org/apache/tapestry/vlib/ejb/impl/OperationsBean.java | Java | apache-2.0 | 33,019 |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* 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
*
* Unles... | niklasteichmann/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/matching/transactional/function/package-info.java | Java | apache-2.0 | 802 |
package org.sakaiproject.scorm.ui.player.behaviors;
import org.adl.api.ecmascript.SCORM13APIInterface;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.scorm.model.api.ScoBean;
import org.sakaiproject.scorm.model.api.SessionBean;
import org.sakaiproject.scorm... | marktriggs/nyu-sakai-10.4 | scorm/scorm-tool/src/java/org/sakaiproject/scorm/ui/player/behaviors/SCORM13API.java | Java | apache-2.0 | 3,425 |
/*
* Copyright DbMaintain.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/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | fcamblor/dbmaintain-maven-plugin | dbmaintain/src/main/java/org/dbmaintain/script/parser/impl/DefaultScriptParser.java | Java | apache-2.0 | 5,339 |
import logging
import re
import socket
from mopidy.config import validators
from mopidy.internal import log, path
def decode(value):
if isinstance(value, bytes):
value = value.decode(errors="surrogateescape")
for char in ("\\", "\n", "\t"):
value = value.replace(
char.encode(enco... | kingosticks/mopidy | mopidy/config/types.py | Python | apache-2.0 | 9,146 |
//-----------------------------------------------------------------------
// <copyright file="NUnitAssertions.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | skotzko/akka.net | src/contrib/testkits/Akka.TestKit.NUnit/NUnitAssertions.cs | C# | apache-2.0 | 1,786 |
/**
* 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 distributed under ... | ChrisCanCompute/assertj-core | src/main/java/org/assertj/core/util/diff/DeleteDelta.java | Java | apache-2.0 | 1,820 |
/*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | psiroky/optaplanner | optaplanner-core/src/main/java/org/optaplanner/core/impl/constructionheuristic/greedyFit/decider/ConstructionHeuristicPickEarlyType.java | Java | apache-2.0 | 779 |
#
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: Tyler Cloke (<tyler@chef.io>)
# Copyright:: Copyright 2008-2017, Chef Software 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... | Ppjet6/chef | spec/unit/resource/remote_file_spec.rb | Ruby | apache-2.0 | 7,638 |
/*
* 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 ... | dhalperi/beam | runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/UnboundedSourceWrapper.java | Java | apache-2.0 | 18,014 |
/*
* Copyright (c) 2014 DataTorrent, 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... | DataTorrent/malhar-angular-widgets | src/widgets/nvd3LineChart/nvd3LineChart.js | JavaScript | apache-2.0 | 2,754 |
/*
Copyright 2018 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 agreed to in writing, softwa... | Ylianst/MeshCentral | agents/modules_meshcore/smbios.js | JavaScript | apache-2.0 | 13,897 |
/*
* Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... | susinda/product-mss | carbon-mss/components/org.wso2.carbon.mss/src/test/java/org/wso2/carbon/mss/internal/mime/MimeMapperTest.java | Java | apache-2.0 | 1,232 |
/**
* vue app
* Created by HC on 2016/7/19.
*/
var header = Vue.extend({
template: '#header'
});
// 全局注册组件
Vue.component('my-header', header);
var footer = Vue.extend({
template: '#footer'
});
// 全局注册组件
Vue.component('my-footer', footer);
var index = Vue.extend({
template: '#index'
});
var App = Vu... | jlkm2010/blog | src/main/resources/static/front/app.js | JavaScript | apache-2.0 | 653 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
using... | STAH/OpenRiaServices | OpenRiaServices.DomainServices.Server/Framework/Data/DomainOperationEntry.cs | C# | apache-2.0 | 20,260 |
/*
* 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 ... | dangdangdotcom/elastic-job | elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-namespace/src/test/java/org/apache/shardingsphere/elasticjob/lite/spring/namespace/job/AbstractOneOffJobSpringIntegrateTest.java | Java | apache-2.0 | 3,370 |
/*-
* #%L
* ELK Reasoner Core
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford
* %%
* 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 Lice... | liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/entailments/impl/DerivedClassInclusionEntailsObjectPropertyAssertionAxiomImpl.java | Java | apache-2.0 | 2,181 |
/**
* Copyright (C) 2009-2014 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | OSS-TheWeatherCompany/dasein-cloud-core | src/main/java/org/dasein/cloud/AbstractCloud.java | Java | apache-2.0 | 3,068 |
package migrations
import "github.com/BurntSushi/migration"
func ReplaceStepLocationWithPlanID(tx migration.LimitedTx) error {
_, err := tx.Exec(`
ALTER TABLE containers DROP COLUMN step_location;
`)
if err != nil {
return err
}
_, err = tx.Exec(`
ALTER TABLE containers ADD COLUMN plan_id text;
`)
... | homedepot/github-webhook | vendor/github.com/concourse/atc/db/migrations/61_replace_step_location_with_plan_id.go | GO | apache-2.0 | 333 |
#--
# Author:: Daniel DeLeo (<dan@chef.io>)
# Copyright:: Copyright 2012-2018, Chef Software 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
#
# ... | juliandunn/chef | lib/chef/node/attribute_collections.rb | Ruby | apache-2.0 | 5,477 |
'use strict';
/* global describe, it */
var fs = require('fs');
var expect = require('chai').expect;
var bigrig = require('../');
describe('Big Rig', function () {
it ('throws if no processes are found', function () {
expect(function () {
bigrig.analyze(null);
}).to.throw('Zero processes (tabs) fou... | googlearchive/node-big-rig | test/bigrig_tests.js | JavaScript | apache-2.0 | 6,062 |
#
# 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... | nathanielvarona/airflow | airflow/contrib/operators/qubole_operator.py | Python | apache-2.0 | 1,158 |
function TorneoGolfWindow(Window) {
window1 = Titanium.UI.createWindow({
tabBarHidden : true,
backgroundColor : "white",
width : '100%',
height : '100%',
layout : 'vertical'
});
table = Ti.UI.createTableView({
width : '90%',
height : '100%'
});
scrollView_1 = Titanium.UI.createView(... | emobile/expomobile_mobile | Resources/ui/tablet/TorneoGolfWindow.js | JavaScript | apache-2.0 | 2,863 |
package eu.atos.sla.dao.jpa;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityNotFoundException;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence... | Atos-FiwareOps/sla-framework | sla-core/sla-repository/src/main/java/eu/atos/sla/dao/jpa/TemplateDAOJpa.java | Java | apache-2.0 | 5,164 |
/*--------------------------------------------------------------------------
* linq.js - LINQ for JavaScript
* ver 3.0.3-Beta4 (Oct. 9th, 2012)
*
* created and maintained by neuecc <ils@neue.cc>
* licensed under MIT License
* http://linqjs.codeplex.com/
*--------------------------------------------------... | codemonkeychris/rainbow | linqjs/linq.js | JavaScript | apache-2.0 | 107,573 |
package org.apereo.cas.ticket.code;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ticket.TicketFactory;
import org.apereo.cas.ticket.UniqueTicketIdGen... | gabedwrds/cas | support/cas-server-support-oauth/src/main/java/org/apereo/cas/ticket/code/DefaultOAuthCodeFactory.java | Java | apache-2.0 | 1,592 |
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.daemon.impl;
import com.intellij.codeHighlighting.EditorBoundHighlightingPass;
import com.intellij.codeHighlighting.HighlightingPass;
import com... | jwren/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/PassExecutorService.java | Java | apache-2.0 | 25,837 |
// 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.Channel.V1/Google.Cloud.Channel.V1.GeneratedSnippets/CloudChannelServiceClient.DeleteCustomerRequestObjectSnippet.g.cs | C# | apache-2.0 | 1,748 |
/*
* Copyright 2015-2016 Red Hat, Inc, and individual 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | hpehl/hal.next | app/src/main/java/org/jboss/hal/client/runtime/subsystem/elytron/wizardpassword/PasswordState.java | Java | apache-2.0 | 787 |
/*
* 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 ... | kidaa/rave | rave-components/rave-jpa/src/main/java/org/apache/rave/portal/repository/impl/JpaApplicationDataRepository.java | Java | apache-2.0 | 7,525 |
# Copyright 2017 Battelle Energy Alliance, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | idaholab/raven | framework/SupervisedLearning/ScikitLearn/LinearModel/LassoLarsIC.py | Python | apache-2.0 | 6,386 |
/*
* Copyright 2015 John Ahlroos
*
* 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 ... | dimone-kun/cuba | modules/web-widgets/src/com/haulmont/cuba/web/widgets/client/addons/dragdroplayouts/ui/tabsheet/DDTabSheetState.java | Java | apache-2.0 | 1,315 |
/*
* 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/pdfbox | fontbox/src/main/java/org/apache/fontbox/ttf/HorizontalMetricsTable.java | Java | apache-2.0 | 4,062 |
/*
* 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-asterixdb | asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/library/java/base/JComplexObject.java | Java | apache-2.0 | 1,245 |
/*
Copyright AppsCode Inc. 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 required by applicable law or agreed to in writing... | k8sdb/apimachinery | vendor/stash.appscode.dev/apimachinery/apis/stash/v1alpha1/workload.go | GO | apache-2.0 | 4,090 |
package com.cloudhopper.commons.charset.demo;
/*
* #%L
* ch-commons-charset
* %%
* Copyright (C) 2012 Cloudhopper by Twitter
* %%
* 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
*
*... | twitter/cloudhopper-commons | ch-commons-charset/src/test/java/com/cloudhopper/commons/charset/demo/Charset5Main.java | Java | apache-2.0 | 1,291 |
/* COPYRIGHT (c) 2014 Umut Acar, Arthur Chargueraud, and Michael
* Rainey
* All rights reserved.
*
* \file adjlist.hpp
* \brief Adjacency-list graph format
*
*/
#ifndef _PASL_GRAPH_ADJLIST_H_
#define _PASL_GRAPH_ADJLIST_H_
#include "../../graph/include/graph.hpp"
/*********************************************... | laxmandhulipala/PWSA-Star | xytheta/pwsa_project/PWSA/pasl/graph/include/adjlist.hpp | C++ | apache-2.0 | 8,982 |
package org.anddev.andengine.opengl.texture;
import java.util.*;
import org.anddev.andengine.opengl.texture.source.*;
import org.anddev.andengine.util.*;
import org.anddev.andengine.opengl.texture.builder.*;
import android.graphics.*;
public class BuildableTexture extends Texture
{
private final ArrayList<Texture... | rLadia/AttacknidPatch | decompiled_src/Procyon/org/anddev/andengine/opengl/texture/BuildableTexture.java | Java | apache-2.0 | 4,239 |
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS 2.1.15 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
//Not using strict: uneven strict support in browsers, #392, and causes
//problems with requ... | suttonj/YoutubePlaylistCuratorChromeExtension | src/js/thirdParty/require.js | JavaScript | apache-2.0 | 83,052 |
/* 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... | stefan-ziel/Activiti | modules/activiti-dmn-engine/src/main/java/org/activiti/dmn/engine/impl/parser/DmnParse.java | Java | apache-2.0 | 6,382 |
import application = require("application");
// Specify custom UIApplicationDelegate.
/*
class MyDelegate extends UIResponder implements UIApplicationDelegate {
public static ObjCProtocols = [UIApplicationDelegate];
applicationDidFinishLaunchingWithOptions(application: UIApplication, launchOptions: NSDiction... | hdeshev/NativeScript | apps/tests/app/app.ts | TypeScript | apache-2.0 | 5,921 |
//// [variadicTuples1.ts]
// Variadics in tuple types
type TV0<T extends unknown[]> = [string, ...T];
type TV1<T extends unknown[]> = [string, ...T, number];
type TV2<T extends unknown[]> = [string, ...T, number, ...T];
type TV3<T extends unknown[]> = [string, ...T, ...number[], ...T];
// Normalization
type TN1 = T... | Microsoft/TypeScript | tests/baselines/reference/variadicTuples1.js | JavaScript | apache-2.0 | 30,820 |
/*
Derby - Class org.apache.derbyBuild.MessageVetter
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 A... | apache/derby | java/build/org/apache/derbyBuild/MessageVetter.java | Java | apache-2.0 | 7,276 |
/*
* 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")... | IAMTJW/Tomcat-8.5.20 | tomcat-8.5.20/java/org/apache/tomcat/util/http/parser/MediaTypeCache.java | Java | apache-2.0 | 2,331 |
package io.agrest.it.fixture.cayenne;
import io.agrest.it.fixture.cayenne.auto._E15E1;
public class E15E1 extends _E15E1 {
private static final long serialVersionUID = 1L;
}
| AbleOne/link-rest | agrest/src/test/java/io/agrest/it/fixture/cayenne/E15E1.java | Java | apache-2.0 | 183 |
#pragma once
#include "generator/collector_interface.hpp"
#include <fstream>
#include <functional>
#include <memory>
#include <string>
struct OsmElement;
namespace base
{
class GeoObjectId;
} // namespace base
namespace generator
{
namespace cache
{
class IntermediateDataReaderInterface;
} // namespace cache
// ... | mpimenov/omim | generator/collector_tag.hpp | C++ | apache-2.0 | 1,262 |
################################################################################
# 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... | clarkyzl/flink | flink-python/pyflink/fn_execution/timerservice_impl.py | Python | apache-2.0 | 4,824 |
/*
* 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 distributed under t... | xasx/assertj-core | src/test/java/org/assertj/core/error/ShouldOnlyHaveFields_create_Test.java | Java | apache-2.0 | 8,163 |
@extends('dashboard.main')
@section('styles')
<meta name="lang" content="{{ \Session::get('locale') }}">
<link rel="stylesheet" href="{{ URL::to('libs/vendor/iCheck/skins/square/blue.css') }}">
<link rel="stylesheet" href="{{ URL::to('libs/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css')... | artemsky/EvartFM | resources/views/dashboard/pages/schedule/index.blade.php | PHP | apache-2.0 | 6,950 |
package rule
import (
"fmt"
"github.com/mgechev/revive/lint"
)
// ImportsBlacklistRule lints given else constructs.
type ImportsBlacklistRule struct {
blacklist map[string]bool
}
// Apply applies the rule to given file.
func (r *ImportsBlacklistRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failur... | nalind/buildah-1 | tests/tools/vendor/github.com/mgechev/revive/rule/imports-blacklist.go | GO | apache-2.0 | 1,377 |
<?php
/**
* 模板操作
*
* [WeEngine System] Copyright (c) 2013 WE7.CC
*/
defined('IN_IA') or exit('Access Denied');
/**
* 导入全局变量,并直接显示模板页内容。
* @var int
*/
define('TEMPLATE_DISPLAY', 0);
/**
* 导入全局变量,并返回模板页内容的字符串
* @var int
*/
define('TEMPLATE_FETCH', 1);
/**
* 返回模板编译文件的包含路径
* @var int
*/
define('TEMPLATE_INCLU... | royalwang/saivi | tpl/User/default/common/wxq/source/function/template.func.php | PHP | apache-2.0 | 3,255 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.diff.impl.settings;
import com.intellij.icons.AllIcons;
import com.intellij.idea.ActionsBundle;
import com.intellij.openapi.actionSystem.ActionGroup;... | goodwinnk/intellij-community | platform/platform-impl/src/com/intellij/openapi/diff/impl/settings/DiffMergeSettingsAction.java | Java | apache-2.0 | 3,098 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | asolntsev/selenium | java/server/test/org/openqa/selenium/grid/node/local/CreateSessionTest.java | Java | apache-2.0 | 7,428 |
package frc.team5333.lib;
import java.util.HashMap;
/**
* A static class that contains all kinds of Launch data for the robot,
* such as network ports, current state and more
*
* @author Jaci
*/
public class RobotData {
/**
* A blackboard containing objects that are common throughout the
* program... | FRC-Team5333/2015-RecycleRush | FRC2015/src/main/java/frc/team5333/lib/RobotData.java | Java | apache-2.0 | 455 |
function ChangeTo(to) {
if (to == "text") {
$('#admincommentlinks').ghide();
$('#admincomment').gshow();
resize('admincomment');
var buttons = document.getElementsByName('admincommentbutton');
for (var i = 0; i < buttons.length; i++) {
buttons[i].setAttribute('onclick',"ChangeTo('links'); return false;");... | tisnats/tisnats.com | static/functions/user.js | JavaScript | apache-2.0 | 8,556 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syst... | EricArndt/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | C# | apache-2.0 | 126,286 |
/*******************************************************************************
* Copyright 2015 Software Evolution and Architecture Lab, University of Zurich
*
* 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 ... | harinigunabalan/PerformanceHat | cw-feedback-handler/src/main/java/CloudWave/CloudWaveJNI.java | Java | apache-2.0 | 3,270 |