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
import React, { useEffect, useState, forwardRef, useImperativeHandle, ForwardRefRenderFunction, useCallback, } from 'react'; import * as WorkflowJobNodes from './JobNodes'; import { ChartNodeType, JobNode, ChartNodeStatus, ChartNodes, ChartElements, JobNodeRawData, } from './types'; import { con...
bytedance/fedlearner
web_console_v2/client/src/components/WorkflowJobsCanvas/index.tsx
TypeScript
apache-2.0
8,401
import {downgradeInjectable} from '@angular/upgrade/static'; import {Http} from '@angular/http'; import 'rxjs/add/operator/toPromise'; import {API} from '../../../constants'; import {Injectable} from "@angular/core"; declare var angular : any; @Injectable() class CommandService { constructor(private http : Http) {...
orientechnologies/orientdb-studio
src/app/core/services/command.service.ts
TypeScript
apache-2.0
893
/* * Copyright (c) 2016 Mastermay * * 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 ...
mastermay/Spectre
src/main/java/com/lostg/spectre/annotation/Param.java
Java
apache-2.0
1,052
/* * Copyright (C) 2017-2019 Dremio 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 l...
dremio/dremio-oss
common/src/main/java/com/dremio/common/StackTrace.java
Java
apache-2.0
2,127
/*global QUnit */ sap.ui.define([ "sap/m/Button", "sap/m/CheckBox", "sap/m/OverflowToolbar", "sap/m/OverflowToolbarButton", "sap/m/Panel", "sap/ui/dt/DesignTime", "sap/ui/dt/OverlayRegistry", "sap/ui/fl/write/api/ChangesWriteAPI", "sap/ui/rta/command/CommandFactory", "sap/ui/rta/plugin/Combine", "sap/ui/rta...
SAP/openui5
src/sap.ui.rta/test/sap/ui/rta/qunit/plugin/Combine.qunit.js
JavaScript
apache-2.0
14,533
using System; using System.IO; using System.Web.Mvc; namespace FileCounterMVC.Controllers { public class HomeController : Controller { public ActionResult Index() { string siteFolder; int fileCount; if (Environment.GetEnvironmentVariable("home") != null) ...
projectkudu/FileCounterMVC
FileCounterMVC/Controllers/HomeController.cs
C#
apache-2.0
891
/* * Copyright 2008-2009 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by...
Ariah-Group/Finance
af_webapp/src/main/java/org/kuali/kfs/module/purap/document/validation/impl/PurchaseOrderProcessVendorStipulationValidation.java
Java
apache-2.0
2,352
package org.asteriskjava.manager.internal; import org.asteriskjava.manager.event.UserEvent; import org.asteriskjava.util.AstUtil; import org.asteriskjava.util.Log; import org.asteriskjava.util.LogFactory; import org.asteriskjava.util.ReflectionUtil; import java.lang.reflect.Constructor; import java.lang.reflect.Metho...
xvart/asterisk-java
src/main/java/org/asteriskjava/manager/internal/AbstractBuilder.java
Java
apache-2.0
5,390
package com.eeontheway.android.applocker.main; import android.os.Bundle; import android.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.eeontheway.android.applocker.R; /** * A simple {@link Fragment} subclass. */ public...
lhzheng880828/AndroidApp
AppLockPro/app/src/main/java/com/eeontheway/android/applocker/main/SummaryFragment.java
Java
apache-2.0
730
'use strict'; const _ = require('lodash'); /** A location. @param options.address string The top address line of the delivery pickup options. @param options.address_2 string The second address line of the delivery pickup options such as the apartment number. This field is optional. @param options.city string...
mjk/uber-rush
lib/Location.js
JavaScript
apache-2.0
871
/** * hub-detect * * Copyright (C) 2019 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 copyrig...
blackducksoftware/hub-detect
hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/detector/sbt/SbtDependencyResolver.java
Java
apache-2.0
3,713
#!/usr/bin/env python import os import sys import time sys.path.append(os.path.join(os.path.dirname(__file__), "../../pox")) import argparse from collections import defaultdict import networkx as nx from pox.lib.packet.ethernet import ethernet from pox.openflow.libopenflow_01 import ofp_flow_mod_command_rev_map from...
jmiserez/sts
sts/happensbefore/hb_graph.py
Python
apache-2.0
72,338
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import os import thr...
dbentley/pants
src/python/pants/cache/cache_setup.py
Python
apache-2.0
11,380
package org.sagebionetworks.repo.manager.backup.daemon; import java.io.File; import java.io.IOException; import java.util.List; import org.sagebionetworks.repo.manager.backup.Progress; import org.sagebionetworks.repo.model.UserInfo; import org.sagebionetworks.repo.model.migration.MigrationType; /** * Abs...
hhu94/Synapse-Repository-Services
services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/backup/daemon/BackupDriver.java
Java
apache-2.0
1,183
# -*- coding: utf-8 -*- ''' The match module allows for match routines to be run and determine target specs ''' # Import python libs import logging # Import salt libs import salt.minion __func_alias__ = { 'list_': 'list' } log = logging.getLogger(__name__) def compound(tgt): ''' Return True if the min...
victorywang80/Maintenance
saltstack/src/salt/modules/match.py
Python
apache-2.0
4,350
/* * Copyright 2020 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 ...
googleapis/java-orgpolicy
proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/Constraint.java
Java
apache-2.0
108,172
// Copyright 2013 Michel Kraemer // // 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 ...
Klortho/citeproc-java
citeproc-java/templates/Object.java
Java
apache-2.0
8,535
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/DescribeOrderableDBInstanceOptionsResult.java
Java
apache-2.0
8,644
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
Jiri-Kremser/hawkular-inventory
api/src/test/java/org/hawkular/inventory/api/test/InventoryMock.java
Java
apache-2.0
13,519
package com.blooms.kingsite.common.persistence.dialect.db; import com.blooms.kingsite.common.persistence.dialect.Dialect; /** * DB2的分页数据库方言实现 * * @author poplar.yfyang * @version 1.0 2010-10-10 下午12:31 * @since JDK 1.5 */ public class DB2Dialect implements Dialect { @Override public boolean supportsLimi...
kailee2014/kingsite
src/main/java/com/blooms/kingsite/common/persistence/dialect/db/DB2Dialect.java
Java
apache-2.0
3,132
package com.cowthan.algrithm.algs4; /*********************************************************************************** * Compilation: javac MSD.java * Execution: java MSD < input.txt * * Reads extended ASCII string from standard input and MSD radix sorts them. * * % java MSD < shells.txt * are * by ...
cowthan/JavaAyo
src/com/cowthan/algrithm/algs4/MSD.java
Java
apache-2.0
3,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"...
toddlipcon/helenus
src/java/com/facebook/infrastructure/io/DataInputBuffer.java
Java
apache-2.0
12,501
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
thaysmelo/mobile_maravilhas-pe
sistema/vendor/cakephp/cakephp/src/Console/ConsoleOutput.php
PHP
apache-2.0
9,166
package com.privatecloud.constants; public class AppConstants { public static final String ROLE_USER = "ROLE_USER"; public static final String ROLE_ADMIN = "ROLE_ADMIN"; }
rashmithajajur/PrivateCloud-master
src/main/java/com/privatecloud/constants/AppConstants.java
Java
apache-2.0
184
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; using Microsoft.CodeAnalysis.Text; ...
brettfo/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/EmbeddedLanguages/Common/EmbeddedSyntaxHelpers.cs
C#
apache-2.0
980
package com.dmelnyk.workinukraine.utils.di; import android.content.Context; import com.dmelnyk.workinukraine.utils.CityUtils; import dagger.Module; import dagger.Provides; /** * Created by dmitry on 30.03.17. */ @Module public class CityModule { @Provides CityUtils provideCityUtils(Context context) { ...
DmitryMelnyk/WorkInUkraine
app/src/main/java/com/dmelnyk/workinukraine/utils/di/CityModule.java
Java
apache-2.0
390
/* * 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 ...
TheRingbearer/HAWKS
ode/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelEngineImpl.java
Java
apache-2.0
39,004
# Copyright 2018 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 writing, s...
google/google-ctf
2018/quals/re-basics/src/byteops.py
Python
apache-2.0
922
package storage import ( "bytes" "encoding/gob" "encoding/json" "fmt" "github.com/APTrust/exchange/models" "github.com/boltdb/bolt" "io" "strings" "time" ) const FILE_BUCKET = "files" const OBJ_BUCKET = "objects" // BoltDB represents a bolt database, which is a single-file key-value // store. Our validator ...
APTrust/exchange
util/storage/boltdb.go
GO
apache-2.0
8,253
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
weld/core
tests-arquillian/src/test/java/org/jboss/weld/tests/instance/destroy/normal/CustomAlterableContext.java
Java
apache-2.0
1,375
package net.savantly.sprout.starter.security.permissions; import java.util.ArrayList; import java.util.List; import lombok.Getter; import lombok.Setter; @Getter @Setter public class PermissionsHolder { private List<BootstrapPermission> permissions = new ArrayList<>(); }
savantly-net/sprout-platform
backend/starters/sprout-spring-boot-starter/src/main/java/net/savantly/sprout/starter/security/permissions/PermissionsHolder.java
Java
apache-2.0
276
#include <string> #include <iostream> #include <sstream> #include <memory> #include <iomanip> #include <fstream> #include <cstring> using namespace std; #define k 7919 #define Hsize 1009 #define a 321 #define b 43112 #define BLANK " " #define MIN_TABLE_SIZE 100 /* * Node Declaration */ struct HashNode { int...
Stivens73/2016_hash_project
jimmy.cpp
C++
apache-2.0
1,385
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/dists/logistic/cdf/lib/index.js
JavaScript
apache-2.0
1,237
package com.inari.glue.impl; public class GlueServiceImplTest { }
Inari-Soft/inari-glue
src/test/java/com/inari/glue/impl/GlueServiceImplTest.java
Java
apache-2.0
68
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace canadaPostResearchAPI.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; ...
Kiandr/MS
Languages/CSharp/poc/canadaPostResearchApi/canadaPostResearchAPI/canadaPostResearchAPI/Models/ManageViewModels.cs
C#
apache-2.0
2,667
# !/usr/bin/env ruby # Encoding: utf-8 # # Copyright:: Copyright 2011, Google Inc. All Rights Reserved. # # License:: 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 # # ...
kjvarga/google-api-ads-ruby
dfp_api/examples/v201608/company_service/update_companies.rb
Ruby
apache-2.0
3,117
package com.evolveum.midpoint.prism; import com.evolveum.midpoint.prism.xnode.RootXNode; import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.util.exception.SchemaException; import org.jetbrains.annotations.NotNull; /** * @author mederly */ public class SerializerXNodeTarget extends Serializ...
PetrGasparik/midpoint
infra/prism/src/main/java/com/evolveum/midpoint/prism/SerializerXNodeTarget.java
Java
apache-2.0
619
/* Copyright 2011-2021 Frederic Langlet 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 ...
flanglet/kanzi
java/src/main/java/kanzi/io/NullOutputStream.java
Java
apache-2.0
736
/* * Copyright 2017 João Pedro Sacheti * * 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 athttp://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writ...
jpsacheti/nfe-fema
src/main/java/br/edu/fema/nfe/xml/TVeiculo.java
Java
apache-2.0
3,913
package org.ovirt.engine.ui.webadmin.section.main.view.popup.vm; import org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView; import org.ovirt.engine.ui.common.widget.uicommon.popup.vm.VmChangeCDPopupWidget; import org.ovirt.engine.ui.uicommonweb.models.userportal.AttachCdModel; import org.ovirt.eng...
derekhiggins/ovirt-engine
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/vm/VmChangeCDPopupView.java
Java
apache-2.0
897
// Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
googleinterns/knative-source-mongodb
vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go
GO
apache-2.0
101,661
/** * This file is part of the Iritgo/Aktario Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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 ...
iritgo/iritgo-aktario
aktario-framework/src/main/java/de/iritgo/aktario/framework/base/action/PingAction.java
Java
apache-2.0
2,259
package com.qlm.similitude.lsh; import com.google.common.hash.HashFunction; import com.google.common.hash.Hashing; import com.google.common.io.BaseEncoding; import java.io.Serializable; import java.nio.charset.Charset; import java.util.*; /** * Takes an array of Strings and produces and LSH keys * based on the num...
engrean/similitude
lsh/src/main/java/com/qlm/similitude/lsh/LshBlocking64Bit.java
Java
apache-2.0
5,864
/* * Copyright 2013-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 ap...
nebhale/build-monitor
src/test/java/com/nebhale/buildmonitor/web/resource/AbstractResourceAssemblerTest.java
Java
apache-2.0
1,307
<?php namespace php\gdx; /** * Class Clipboard * @package php\gdx */ class Clipboard { private function __construct() { } /** * gets the current content of the clipboard if it contains text * @return string the clipboard content or null */ public function getContent() { } /** *...
livingvirus/jphp
jphp-gdx-ext/src/main/resources/JPHP-INF/sdk/php/gdx/Clipboard.php
PHP
apache-2.0
454
# -*- coding: utf-8 -*- # Copyright 2020 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-dialogflow
samples/generated_samples/dialogflow_generated_dialogflow_v2_contexts_list_contexts_async.py
Python
apache-2.0
1,522
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Runtime.InteropServices.ComTypes; using System.Threading.Tasks; using System.Web; namespace WebMinder.Core { public static class RequestUtility { public static string GetCurrentIpAddress() { retu...
chrismckelt/WebMinder
Core/RequestUtility.cs
C#
apache-2.0
4,461
package com.funnyhatsoftware.spacedock.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fr...
spacedockapp/spacedock
android/app/src/main/java/com/funnyhatsoftware/spacedock/activity/RootTabActivity.java
Java
apache-2.0
9,376
<?php /** * ShopEx licence * * @copyright Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn) * @license http://ecos.shopex.cn/ ShopEx License * * */ class wap_errorpage_get { public function getConf($key='') { if( $key ) return app::get('wap')->getCo...
liuguogen/Ecstore
app/wap/lib/errorpage/get.php
PHP
apache-2.0
364
/* * 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")...
adamrduffy/trinidad-1.0.x
trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java
Java
apache-2.0
1,736
/** * Copyright 2011 Vecna 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...
vecnatechnologies/dbDiff
core/src/main/java/com/vecna/dbDiff/builder/RelationalDatabaseBuilderImpl.java
Java
apache-2.0
11,089
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.4. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
kleinzh/PythonBlog
mysite/mysite/settings.py
Python
apache-2.0
3,558
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace SampleServer.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { retur...
onovotny/dynamodb-geo-csharp
SampleServer/Controllers/ValuesController.cs
C#
apache-2.0
779
/* * Copyright 2014 CELAR. * * 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 w...
CELAR/app-orchestrator
orchestrator-daemon/src/main/java/gr/ntua/cslab/orchestrator/cache/AbstractCache.java
Java
apache-2.0
1,233
(function () { 'use strict'; angular .module('wordsearchApp') .config(pagerConfig); pagerConfig.$inject = ['uibPagerConfig', 'paginationConstants']; function pagerConfig(uibPagerConfig, paginationConstants) { uibPagerConfig.itemsPerPage = paginationConstants.itemsPerPage; ...
hillwater/wordsearch
src/main/webapp/app/blocks/config/uib-pager.config.js
JavaScript
apache-2.0
412
class CheckPriceYDPage: def __init__(self, driver): self.driver = driver def get_page_yellow_duck(self): self.driver.find_element_by_xpath( "//a[@href='http://localhost/litecart/en/rubber-ducks-c-1/subcategory-c-2/yellow-duck-p-1']").click() def get_compaign_price_yd(self): ...
skostya64/Selenium_tasks
pages/check_price_yd_page.py
Python
apache-2.0
622
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/GetCallerIdentityRequest.java
Java
apache-2.0
2,159
def brancher( # noqa: E302 self, branches=None, all_branches=False, tags=None, all_tags=False ): """Generator that iterates over specified revisions. Args: branches (list): a list of branches to iterate over. all_branches (bool): iterate over all available branches. tags (list): a ...
dataversioncontrol/dvc
dvc/repo/brancher.py
Python
apache-2.0
1,700
package com.wisedu.cpdaily.ui.contact.teacher; import com.wisedu.cpdaily.di.components.NetComponent; import com.wisedu.cpdaily.di.modules.ApiModule; import com.wisedu.cpdaily.di.scope.ScopeFragment; import dagger.Component; /** * 注入器 */ @ScopeFragment @Component(dependencies = NetComponent.class, modules = {Teach...
Gagarinwjj/Cpdaily
app/src/main/java/com/wisedu/cpdaily/ui/contact/teacher/TeacherComponent.java
Java
apache-2.0
434
package czsem.fs.query.restrictions; import czsem.fs.query.QueryNode; import czsem.fs.query.constants.MetaAttribute; import czsem.fs.query.eval.obsolete.IterateSubtreeEvaluator; public abstract class OtherPrintableRestriction implements PrintableRestriction { protected final QueryNode n; public OtherPrintableRes...
datlowe/czsem-gate-tools
modules/fs-query/src/main/java/czsem/fs/query/restrictions/OtherPrintableRestriction.java
Java
apache-2.0
1,941
/* * 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...
ebyhr/presto
lib/trino-plugin-toolkit/src/main/java/io/trino/plugin/base/security/QueryAccessRule.java
Java
apache-2.0
4,722
// This file was created automatically, do not modify the contents of this file. // ReSharper disable InvalidXmlDocComment // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable MemberCanBePrivate.Global using System; using System.Runtime.InteropServices; // Source...
mrkriv/UnrealDotNet
Plugins/UnrealDotNet/Source/UnrealEngineSharp/Generate/Manage/ManageBTTask_RunEQSQuery.cs
C#
apache-2.0
8,609
<?php /** * @created Alexey Kutuzov <lexus27.khv@gmail.com> * @Project: php-abac */ namespace Jungle\ABAC; class Generator{ public function a(){ $ctx=new \stdClass(); // target(any_of, all_of; n-conditions) // rule(1-condition) // if target->conformed===true /** /* FULL condition code genera...
lexus27/php-abac
src/Generator.php
PHP
apache-2.0
1,720
/* * 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...
joewalnes/idea-community
java/java-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightUtil.java
Java
apache-2.0
95,504
'use strict'; /** * Removes server error when user updates input */ angular.module('fluxApp') .directive('mongooseError', function () { return { restrict: 'A', require: 'ngModel', link: function(scope, element, attrs, ngModel) { element.on('keydown', function() { return ngMo...
mysmartcity/flux
client/components/mongoose-error/mongoose-error.directive.js
JavaScript
apache-2.0
388
/* * 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...
brettwooldridge/buck
src/com/facebook/buck/cxx/CxxLinkableEnhancer.java
Java
apache-2.0
17,412
flavor = node[:openvpn][:community_repo_flavor] case node[:platform] when "debian" case node[:platform_version].to_i when 5 apt_repository "openvpn-lenny" do uri "http://repos.openvpn.net/repos/apt/lenny-#{flavor}" components ["lenny", "main"] key "http://repos.openvpn.net/repos/repo-public....
ClodoCorp/cookbook-openvpn
recipes/use_community_repos.rb
Ruby
apache-2.0
1,639
package com.cdd.allpay.callback; import android.app.Activity; import android.widget.Toast; import com.cdd.allpay.Pay; /** * 泡泡龙2015 * * @author lei */ public class PaoPaoLong2015Pay extends ActivityCallback { public PaoPaoLong2015Pay(Activity activity) { super(activity); } @Override pub...
hsoftxl/PlayProject
app/src/main/java/com/cdd/allpay/callback/PaoPaoLong2015Pay.java
Java
apache-2.0
958
# Copyright 2010 OpenStack Foundation # Copyright 2012 University Of Minho # # 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....
felixma/nova
nova/tests/unit/virt/libvirt/test_driver.py
Python
apache-2.0
670,986
package com.evolveum.midpoint.schrodinger.component; import com.codeborne.selenide.SelenideElement; /** * Created by Viliam Repan (lazyman). */ public abstract class Component<T> { private T parent; private SelenideElement parentElement; public Component(T parent) { this(parent, null); } ...
arnost-starosta/midpoint
tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/Component.java
Java
apache-2.0
660
package org.apache.archiva.scheduler.repository; /* * 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 Ap...
hiredman/archiva
archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/TestConsumer.java
Java
apache-2.0
3,731
package com.evilco.configuration.xml.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @auhtor Johannes Donath <johannesd@evil-co.com> * @copyright Copyright (C) 2014 Evil-Co <ht...
Evil-Co-Legacy/XMLConfiguration
src/main/java/com/evilco/configuration/xml/annotation/Property.java
Java
apache-2.0
533
// ------------------------------------------------------------------------------ // Copyright (c) 2000 Cadenza New Zealand Ltd // Distributed under the Boost Software License, Version 1.0. (See accompany- // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // ----------------------------------...
basho-labs/riak-cxx-client
deps/boost-1.47.0/boost/functional.hpp
C++
apache-2.0
18,951
#coding=utf-8 import sys import optparse if len(sys.argv )!= 3: sys.stderr.write("usage: python %s inputfile outputfile\n" % sys.argv[0]) #raise SystemExit(1) p = optparse.OptionParser() p.add_option("-o", action="store",dest="outfile") p.add_option("--output", action="store", dest="outfile") p.set_defaults(d...
wufengwhu/my_blog
exercise/io/std_in_out.py
Python
apache-2.0
399
//===--- CSDiag.cpp - Constraint Diagnostics ------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
frootloops/swift
lib/Sema/CSDiag.cpp
C++
apache-2.0
323,270
package dns // Copyright (c) Microsoft and contributors. 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 ...
linzhaoming/origin
vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2017-09-01/dns/models.go
GO
apache-2.0
21,335
// Lexer.cpp // Copyright (c) 2014 - The Foreseeable Future, zhiayang@gmail.com // Licensed under the Apache License Version 2.0. #include <string> #include <ctype.h> #include <cassert> #include <iostream> #include "../include/parser.h" // #include "../Utf8String/String.h" namespace Parser { static void skipWhitespa...
Philpax/flax
source/Parser/Lexer.cpp
C++
apache-2.0
10,743
define(['jquery'], function($){ var internals = {}; internals.createTooltip = function(){ internals.tooltip = internals.settings.el.find('.tooltip'); internals.onLoad(); }; internals.updateTooltip = function(e){ if (e.countyDisplay){ internals.tooltip.html(e.statist...
ssylvia/living-wage-map
src/javascript/ui/Tooltip.js
JavaScript
apache-2.0
2,186
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- /// <reference path="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.W...
manimaranm7/azure-mobile-services
sdk/Javascript/test/winJS/tests/winJsOnly/push.js
JavaScript
apache-2.0
17,764
// Package problems provides an RFC 7807 (https://tools.ietf.org/html/rfc7807) // compliant implementation of HTTP problem details. Which are defined as a // means to carry machine-readable details of errors in an HTTP response to // avoid the need to define new error response formats for HTTP APIs. // // The problem d...
moogar0880/problems
doc.go
GO
apache-2.0
719
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/impl/cmd/AbstractLaunchGdbCommand.java
Java
apache-2.0
1,907
/* scjurgen@yahoo.com */ #include <avr/pgmspace.h> #include <wire.h> #include "DS1307.h" #define DS1307_SEC 0 #define DS1307_MIN 1 #define DS1307_HR 2 #define DS1307_DOW 3 #define DS1307_DATE 4 #define DS1307_MTH 5 #define DS1307_YR 6 #define DS1307_CTRLREG 7 #define DS1307_CTRL_ID 0B1101000...
scjurgen/jayduino
DS1307/DS1307.cpp
C++
apache-2.0
3,525
package com.metaui.tools.socket.client; import com.metaui.tools.socket.transport.CmdTransport; import com.metaui.tools.socket.transport.ISocketTransport; import com.metaui.tools.socket.transport.ITransportEvent; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import ja...
weijiancai/metaui
metatools/src/main/java/com/metaui/tools/socket/client/ServerConnect.java
Java
apache-2.0
2,316
/* * Copyright 2016 Maroš Šeleng * * 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 ...
SymphoniaIO/Symphonia.io-Mobile
www/js/service/SaveAndSendService.js
JavaScript
apache-2.0
6,208
package com.deange.githubstatus.dagger; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import com.deange.githubstatus.BuildConfig; import com.deange.githubstatus.converter.LocalDateTimeConverterFactory; import com.deange....
cdeange/hubbub
app/src/main/java/com/deange/githubstatus/dagger/AppModule.java
Java
apache-2.0
3,277
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by appl...
Ariah-Group/Finance
af_webapp/src/main/java/org/kuali/kfs/module/ld/businessobject/lookup/PositionFundingLookupableHelperServiceImpl.java
Java
apache-2.0
3,747
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-analyticsreporting/v4/1.26.0/com/google/api/services/analyticsreporting/v4/AnalyticsReporting.java
Java
apache-2.0
16,867
package com.jmw.konfman.dao; import java.util.Date; import java.util.List; import com.jmw.konfman.model.Reservation; import com.jmw.konfman.model.Room; import com.jmw.konfman.model.User; public interface ReservationDao extends Dao { /** * Returns all reservations stored in the system * @r...
NoraFarahin/konfman
src/main/java/com/jmw/konfman/dao/ReservationDao.java
Java
apache-2.0
2,751
<?php /** * ShopEx licence * * @copyright Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn) * @license http://ecos.shopex.cn/ ShopEx License */ class express_ctl_admin_delivery_printer extends desktop_controller{ public $workground = 'ectools_ctl_admin_order'; public function __c...
liuguogen/Ecstore
app/express/controller/admin/delivery/printer.php
PHP
apache-2.0
30,570
/** * Copyright (C) 2014 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Microsoft-CISL/MLSS
BGD/src/main/java/com/microsoft/reef/examples/nggroup/bgd/data/Example.java
Java
apache-2.0
1,514
package Controller.Request; import java.awt.Desktop; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.URI; import j...
TweetDeleter/TweetDeleterProject
src/Controller/Request/RequestManager.java
Java
apache-2.0
5,701
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/transform/DeleteApnsChannelRequestMarshaller.java
Java
apache-2.0
2,053
/* * Copyright 2015-2018 Igor Maznitsa. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not usne 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 ...
raydac/netbeans-mmd-plugin
mind-map/mind-map-swing-panel/src/main/java/com/igormaznitsa/mindmap/plugins/exporters/PNGImageExporter.java
Java
apache-2.0
10,309
#!/usr/bin/env python import os from MentalUs import create_app, db from MentalUs.models import MTUser, MTScale, MTAnnouncement, \ MTExtendFields, MTUserExtendInfo, MTScaleResult, MTUnfinishedScale from flask.ext.script import Manager, Shell from flask.ext.migrate import Migrate, MigrateCommand app = create_app(...
realityone/MentalUs
manage.py
Python
apache-2.0
1,169
export function foo() { return 'hello world'; }
ampproject/rollup-plugin-closure-compiler
test/hashbang/fixtures/hashbang-banner.js
JavaScript
apache-2.0
49
/** * Copyright (c) 2016 Rory Hool * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
hoolrory/VideoInfoViewer
app/src/main/java/com/roryhool/videoinfoviewer/atomfragments/AtomStructureFragment.java
Java
apache-2.0
14,715
<?php namespace Point\PointFinance\Http\Controllers; use Point\Core\Models\Master\RoleUser; use Point\Core\Traits\ValidationTrait; use Point\Framework\Models\Journal; use Point\Framework\Models\Master\Coa; use Point\Framework\Models\Master\Person; use Point\PointFinance\Models\Bank\Bank; use Point\PointFinance\Models...
bgd-point/point-app-test
packages/point/point-finance/src/Http/Controllers/ReportController.php
PHP
apache-2.0
13,507
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ /** * Contains the API of the view for the search. * <a name="documentation"></a><h2>Search View API</h2> * This package contains the API of the view that can be used to present the * s...
m-m-m/search
search/engine/api/src/main/java/net/sf/mmm/search/view/api/package-info.java
Java
apache-2.0
492
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.10....
leonmaybe/eLong-OpenAPI-JAVA-demo
src/elong/NameValue.java
Java
apache-2.0
2,402
# # Cookbook Name:: nginx # Attributes:: geoip # # Author:: Jamie Winsor (<jamie@vialstudios.com>) # # Copyright 2012-2013, Riot Games # # 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 # # ...
luishdez/nginx-cookbook
attributes/geoip.rb
Ruby
apache-2.0
1,602