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
// Copyright 2021 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/dotnet-spanner-entity-framework
Google.Cloud.EntityFrameworkCore.Spanner.Tests/MigrationTests/GenerateCreateScriptTest.cs
C#
apache-2.0
5,850
/** * <copyright> * * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
adbrucker/SecureBPMN
designer/src/org.activiti.designer.model.edit/src/org/eclipse/bpmn2/provider/FormValueItemProvider.java
Java
apache-2.0
5,555
///done, not debug __g_qrmCmatsize__ = [ undefined, 11, 13, 15, 17 ]; /// __g_qrmCdatacodewords__ = { L:[ undefined, 3, 5, 11, 16 ], M:[ undefined, 0, 4, 9, 14 ], Q:[ undefined, 0, 0, 0, 10 ] }; /// __g_qrmCtotalcodewords__ = { L:[ undefined, ...
qnq777/matrixcode.js-legacy
public_html/js/qrcode/qrmcdata.js
JavaScript
apache-2.0
2,139
<?php /* * Copyright 2014 Stefan Lorenz * * 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...
stlrnz/PHPJsonConverter
lib/stlrnz/json/converter/exception/ConverterException.php
PHP
apache-2.0
886
/* * Licensed to the Ted Dunning under one or more contributor license * agreements. See the NOTICE file that may be * distributed with this work for additional information * regarding copyright ownership. Ted Dunning licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may n...
tdunning/log-synth
src/main/java/com/mapr/anomaly/Event.java
Java
apache-2.0
4,105
# -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations ######################################################################### ## This is a samples controller ## - index is the default action of any application ## - user is required for authentication and authorizatio...
dmnfarrell/epitopemap
controllers/default.py
Python
apache-2.0
49,804
package apimanagement // 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 // ...
stubey/azure-sdk-for-go
arm/apimanagement/loggers.go
GO
apache-2.0
20,774
// Copyright 2015 The Prometheus 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...
wu8685/prometheus
retrieval/discovery/kubernetes/discovery.go
GO
apache-2.0
21,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 file to You under the Apache License, Version 2.0 * (the "License"); you may ...
windwardadmin/android-awt
src/main/java/org/apache/commons/imaging/common/ImageMetadata.java
Java
apache-2.0
2,989
<?php header("location:Login.php"); ?>
ThanakornDN/WorkShopI
Logout.php
PHP
apache-2.0
38
package io.intercom.api; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; @SuppressWarnings("UnusedDeclaration") @JsonIgnoreProperties(ignoreUnknown = true) public class NoteCollection extends TypedDataCollection<Note> { ...
intercom/intercom-java
intercom-java/src/main/java/io/intercom/api/NoteCollection.java
Java
apache-2.0
617
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requi...
gravitee-io/graviteeio-access-management
gravitee-am-ui/src/app/domain/components/emails/email/email.component.ts
TypeScript
apache-2.0
6,286
/* * $Header$ * $Revision: 1228 $ * $Date: 2006-11-08 08:00:22 -0800 (Wed, 08 Nov 2006) $ * * ==================================================================== * * Copyright 2000-2002 bob mcwhirter & James Strachan. * All rights reserved. * * Redistribution and use in source and binary forms, wit...
hidekatsu-izuno/xmlic
src/main/java/net/arnx/xmlic/internal/org/jaxen/expr/UnionExpr.java
Java
apache-2.0
3,019
/* Copyright 2019 Esri 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, ...
Esri/arcobjects-sdk-community-samples
Net/Framework/RecentFilesCommands/CSharp/RecentFilesRegistryHelper.cs
C#
apache-2.0
1,930
// Copyright 2017 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 // // Unless required by applicabl...
GoogleCloudPlatform/stackdriver-reverse-proxy
cmd/stackdriver-reverse-proxy/main.go
GO
apache-2.0
3,169
/* * 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-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DescribeInventoryDeletionsRequestProtocolMarshaller.java
Java
apache-2.0
2,897
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
asakusafw/asakusafw
core-project/asakusa-runtime/src/main/java/com/asakusafw/runtime/flow/ListBuffer.java
Java
apache-2.0
3,339
/** * Copyright (c) 2012-2013, Michael Yang 杨福海 (www.yangfuhai.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
luoqii/osgi_android_demos_from_network
apkplug/apkplugDemo/bundle/BundleDemoApkplugService/src/net/tsz/afinal/bitmap/core/BaseMemoryCacheImpl.java
Java
apache-2.0
1,471
using UnityEngine; using System.Collections; public class monkey7 : MonoBehaviour { public float speed = 100f;//英雄速度 public Vector2 current_position; Animator animator; public Grid grid = new Grid(14,10); public AStar astar; public float time = 0; public bool finish = false;//是否已经完成 public bool walk = false...
renmaoting/maze-storm
maze storm/Assets/script/level7/monkey7.cs
C#
apache-2.0
4,277
package org.develnext.jphp.swing.loader.support.propertyreaders; import org.develnext.jphp.swing.loader.support.PropertyReader; import org.develnext.jphp.swing.loader.support.Value; import javax.swing.*; import java.util.HashMap; import java.util.Map; public class JToolBarPropertyReaders extends PropertyReaders<JToo...
livingvirus/jphp
jphp-swing-ext/src/org/develnext/jphp/swing/loader/support/propertyreaders/JToolBarPropertyReaders.java
Java
apache-2.0
1,566
package android.nfc; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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.apac...
Orange-OpenSource/matos-profiles
matos-android/src/main/java/android/nfc/NfcEvent.java
Java
apache-2.0
842
define(function (require, exports) { var ko = require('knockout') var expressionViewer = require('./components/CohortExpressionViewer'); ko.components.register('cohort-expression-viewer', expressionViewer); var criteriaGroup = require('./components/CriteriaGroup'); ko.components.register('criteria-group-view...
OHDSI/Circe
js/modules/cohortdefinitionviewer/main.js
JavaScript
apache-2.0
2,914
/* * Copyright 2010 John Hopper * * 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 writ...
zinic/jliocc
src/main/java/net/jps/lioc/context/ContextReferenceAliaser.java
Java
apache-2.0
860
package com.sushe.service; import com.sushe.entity.School; import java.util.List; /** * Created by jiangbin on 15/4/23. */ public interface SchoolService { /** * 查询学校 * @return */ public List<School> selectAll(); public School selectByName(String name); }
Guitjerry/schoolApp
src/com/sushe/service/SchoolService.java
Java
apache-2.0
296
/* * Copyright (C) 2011 The Guava 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 agre...
wspeirs/sop4j-base
src/main/java/com/sop4j/base/google/common/util/concurrent/FutureCallback.java
Java
apache-2.0
1,509
/** * Copyright 2012 GroupDocs. * * 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...
liosha2007/temporary-groupdocs-java-sdk
src/main/java/com/groupdocs/sdk/common/FileStream.java
Java
apache-2.0
2,541
# # Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. # import argparse, os, ConfigParser, sys, re from pysandesh.sandesh_base import * from pysandesh.gen_py.sandesh.ttypes import SandeshLevel from sandesh_common.vns.constants import SERVICE_ALARM_GENERATOR, \ ServicesDefaultConfigurationFiles class ...
nischalsheth/contrail-controller
src/opserver/alarmgen_cfg.py
Python
apache-2.0
11,029
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
carnegiespeech/translations
az/book.php
PHP
apache-2.0
4,904
package com.coderli.shurnim.storage.plugin; import java.io.File; /** * 插件资源<br> * 定义了插件的描述信息以及对应的处理器信息(例如: 文件解析器。{@code PluginParser}) * * @author OneCoder * @date 2014年4月20日 下午8:53:17 * @website http://www.coderli.com */ public interface PluginResource { /** * 获取对应的配置文件解析器 * * @return * @author On...
lihongzheshuai/shurnim-storage
src/main/java/com/coderli/shurnim/storage/plugin/PluginResource.java
Java
apache-2.0
648
package migrations import ( "github.com/fnproject/fn/api/datastore/sql/migratex" ) // Migrations is the list of fn specific sql migrations to run var Migrations []migratex.Migration func vfunc(v int64) func() int64 { return func() int64 { return v } }
fnproject/fn
api/datastore/sql/migrations/migs.go
GO
apache-2.0
256
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; // using System.ServiceProcess; using System.Text; using System.Threading; using System.Security.Cryptography.X509Certificates; using System.ServiceModel; using System.ServiceMod...
renyh1013/dp2
dp2LibraryXE/LibraryHost.cs
C#
apache-2.0
17,502
/* * Copyright 2013 Netherlands eScience Center * * 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 ...
NLeSC/Xenon
src/main/java/nl/esciencecenter/xenon/filesystems/FileSystem.java
Java
apache-2.0
63,280
maintainer 'Wesleyan University' maintainer_email 'software@wesleyan.edu' license 'Apache 2.0' description 'Manages file type associations' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.0' depends 'common' depends 'homebrew'
wesleyan/chef-cookbooks
cookbooks/launch_association/metadata.rb
Ruby
apache-2.0
311
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.NVR.Interfaces.Elements { public interface IElement : IUnit { void SetColor(string color); void SetPosition(float pos); } }
tsvetie/nativescript-cli
resources/vr/Assets/NVR/Interfaces/Elements/IElement.cs
C#
apache-2.0
278
package org.infinispan.protostream; /** * An interface to be implemented by marshaller objects of type {@link MessageMarshaller}) that are able to handle * unknown fields by storing them into an {@link UnknownFieldSet}. * * @author anistor@redhat.com * @since 3.0 */ public interface UnknownFieldSetHandler<T> { ...
jmarkos/protostream
core/src/main/java/org/infinispan/protostream/UnknownFieldSetHandler.java
Java
apache-2.0
445
public struct SomeValue { public static SomeValue operator-(SomeValue someValue, SomeValue someValue2) { return new SomeValue(); } } public class Program { public static void Main() { SomeValue? nullable = new SomeValue(); SomeValue someValue = new SomeValue(); nullable -= someValue; } }
consulo/consulo-csharp
csharp-impl/src/test/resources/resolve/other/Issue424.cs
C#
apache-2.0
306
package com.fasterxml.jackson.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation that can be used to define one or more alternative names for * a property, accepted during deser...
FasterXML/jackson-annotations
src/main/java/com/fasterxml/jackson/annotation/JsonAlias.java
Java
apache-2.0
1,130
package com.example.linxj.tool; public interface RequestListener { public static final int EVENT_BASE = 0x100; /** * 没有网络的信息提示 * */ public static final int EVENT_NOT_NETWORD = EVENT_BASE + 1; /** * 网络异常的信息提示 * */ public static final int EVENT_NETWORD_EEEOR = EVENT_...
lab702-flyme/sweo_android
app/src/main/java/com/example/linxj/tool/RequestListener.java
Java
apache-2.0
787
package net.joelinn.riot.staticdata.dto; /** * Joe Linn * 2/1/14 */ public class RuneType { public boolean isrune; public String tier; public String type; }
jlinn/riot-api-java
src/main/java/net/joelinn/riot/staticdata/dto/RuneType.java
Java
apache-2.0
173
package com.example.mohit.tpomnnit.tpo; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bun...
mkfeuhrer/TPO-MNNIT
app/src/main/java/com/example/mohit/tpomnnit/tpo/TpoHome.java
Java
apache-2.0
15,187
namespace Husky { public enum OnOff { [Label("关闭", CssClass = "text-danger")] Off, [Label("开启", CssClass = "text-success")] On } }
cwx521/Husky
src/Husky.Helpers/Enums/OnOff.cs
C#
apache-2.0
154
package com.packt.sfjd.ch11; import java.io.Serializable; import scala.runtime.AbstractFunction2; public class AbsFunc2 extends AbstractFunction2<Object, String, Object> implements Serializable{ @Override public Object apply(Object arg0, String arg1) { return true; } }
kumarsumit1/learning
src/main/java/com/packt/sfjd/ch11/AbsFunc2.java
Java
apache-2.0
283
'use strict'; import express from 'express'; import passport from 'passport'; import config from '../config/environment'; import {User} from '../sqldb'; // Passport Configuration require('./local/passport').setup(User, config); require('./facebook/passport').setup(User, config); require('./google/passport').setup(Use...
jintou/jintou-backend
server/auth/index.js
JavaScript
apache-2.0
664
// Copyright 2006 Konrad Twardowski // // 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...
stuffer2325/Makagiga
src/org/makagiga/commons/swing/MWindow.java
Java
apache-2.0
3,865
import { TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { AssistanceReviewComponent } from './review.component'; import { MspDataService } from '../../../../services/msp-data.service'; import { LocalStorageModule } from 'angular-2-local-storage'; import {RouterTestingModule...
bcgov/MyGovBC-MSP
src/app/modules/assistance/pages/review/review.component.spec.ts
TypeScript
apache-2.0
1,356
export default class Shared { getPrettyDate(time) { const date = new Date((time || '').replace(/-/g,'/').replace(/[TZ]/g,' ')); const diff = (((new Date()).getTime() - date.getTime()) / 1000); const day_diff = Math.floor(diff / 86400); // return date for anything greater than a day if (i...
beckettkev/react-chat-back
src/utils/shared.js
JavaScript
apache-2.0
867
package com.amazonaws.fps.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. ...
DomDerrien/amazon-fps-gaej
src/com/amazonaws/fps/model/WriteOffDebtResult.java
Java
apache-2.0
7,331
/* Copyright 2010 Zhengmao HU (James) 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 writ...
james-hu/jabb-core
src/main/java/net/sf/jabb/util/db/impl/TryDataSourceProvider.java
Java
apache-2.0
1,868
package org.jboss.resteasy.reactive.server.vertx.test.customproviders; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class UniExceptionMapper implements ExceptionMapper<UniException> { @Override public Response toResponse(UniExcept...
quarkusio/quarkus
independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/customproviders/UniExceptionMapper.java
Java
apache-2.0
409
package utils import ( "math/rand" "time" ) const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" const ( letterIdxBits = 6 // 6 bits to represent a letter index letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits letterIdxMax = 63 / let...
fiatjaf/summadb
utils/random.go
GO
apache-2.0
964
# Copyright 2011 OpenStack Foundation # Copyright 2011 - 2012, Red Hat, 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-...
redhat-cip/openstack-logcollector
openstack-logcollector/openstack/common/rpc/impl_qpid.py
Python
apache-2.0
29,688
/* * TestTracker.cs * SnowplowTrackerTests * * Copyright (c) 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 Apach...
snowplow/snowplow-unity-tracker
SnowplowTracker.Tests/Assets/Tests/TestTracker.cs
C#
apache-2.0
5,574
package com.skyrocketgwt.core.client.layouts.layoutpanel.appearance; import com.google.gwt.dom.client.Element; /** * Created by v on 2/22/2015. */ public interface SkySplitterAppearance { Element render(double splitterSize); }
SkyRocketGWT/skyrocketgwt
skyrocket-core/src/main/java/com/skyrocketgwt/core/client/layouts/layoutpanel/appearance/SkySplitterAppearance.java
Java
apache-2.0
237
package com.example.chengqi.mycoderepo.layouts; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.chengqi.mycoderepo.R; public class RelativeLayoutActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onC...
firstbytegithub/MyCodeRepo
app/src/main/java/com/example/chengqi/mycoderepo/layouts/RelativeLayoutActivity.java
Java
apache-2.0
415
## # Copyright (c) 2009-2014 Apple Inc. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
trevor/calendarserver
twistedcaldav/test/test_memcacheprops.py
Python
apache-2.0
14,385
package ru.stqa.pft.sandbox; /** * Created by Yulia on 3/1/2017. */ public class Equality { public static void main(String [] args){ String s1 = "firefox"; String s2 = new String(s1); System.out.println(s1 == s2); System.out.println(s1.equals(s2)); } }
yvasilevskaya/java_pft
sandbox/src/main/java/ru/stqa/pft/sandbox/Equality.java
Java
apache-2.0
279
# -*- coding: utf-8 -*- from selenium import webdriver from fixture.session import SessionHelper from fixture.group import GroupHelper from fixture.address import AddressHelper class Application(object): def __init__(self, browser, base_url): if browser == "firefox": self.wd = webdriver.Firef...
vpalex999/python_training
fixture/application.py
Python
apache-2.0
1,165
jQuery(document).ready(function($){ $("a[data-upvote-id]").click(function(){ var id = $(this).attr('data-upvote-id'); $.ajax( { url: WP_API_Settings.root + 'goodmorning-news/1.0/upvote/' + id, method: 'GET', beforeSend: function ( xhr ) { xhr.setRequestHeader( 'X-WP-Nonce', WP_API_Settings.nonce ...
Luehrsen/good_morning_news
www/wp-content/plugins/goodmorning_plugin/js/admin.js
JavaScript
apache-2.0
787
<?php include 'db.php';?> <?php if(isset($_POST["login-submit"])) { $sql="SELECT `email`, `passwd` FROM `register` WHERE email ='".$_POST['email']."';"; if($res = $mysqli->query($sql)) { if ($res->num_rows > 0) { // output data of each row while($row = $res->fetch_as...
hkbhkb7/online_complaitbox
login.php
PHP
apache-2.0
672
/** * */ package edu.mycourses.adt.st; /** * @author Ibrahima Diarra * */ public class BasicST<Key, Value> extends AbstractST<Key, Value> { @Override public void put(Key key, Value value) { } @Override public Value get(Key key) { return null; } @Override public int size() { ...
githubdiarra/playground-repo
playground/src/main/java/edu/mycourses/adt/st/BasicST.java
Java
apache-2.0
407
#!/usr/bin/python from __future__ import absolute_import, print_function import argparse import csv import os import re import sys try: from plistlib import load as load_plist # Python 3 from plistlib import dump as dump_plist except ImportError: from plistlib import readPlist as load_plist # Python 2 ...
nmcspadden/PrinterGenerator
print_generator.py
Python
apache-2.0
10,809
package jp.co.altxt2db.dto; /** * 環境情報保持DTO * */ public class EnvironmentDto { /** 実行用アクションクラスパス */ public String actionClass; /** 実行時引数 */ public String[] args; }
hisataka/altxt2db
src/main/java/jp/co/altxt2db/dto/EnvironmentDto.java
Java
apache-2.0
236
package org.gradle.test.performance.mediummonolithicjavaproject.p438; import org.junit.Test; import static org.junit.Assert.*; public class Test8764 { Production8764 objectUnderTest = new Production8764(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p438/Test8764.java
Java
apache-2.0
2,111
#include <iostream> #include <ctime> class Stos { private: int dane[100]; int n; int id; public: Stos(int id){ this->id = id; n=0; std::cout << "["<< id <<"] Pojawiam sie!" << std::endl; } ~Stos(){ std::cout << "["<< id <<"] Znikam!" << std::endl; } ...
grzegorz2047/UAMRepo
POB/po-c1/po-c1.cpp
C++
apache-2.0
2,750
// Copyright (C) 2019 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...
google/agi
gapis/resolve/delete_test.go
GO
apache-2.0
5,365
package org.onvif.ver10.schema; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.ToStrin...
fpompermaier/onvif
onvif-ws-client/src/main/java/org/onvif/ver10/schema/IOCapabilitiesExtension2.java
Java
apache-2.0
2,379
/* * Copyright (C) 2011 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 requir...
soeminnminn/LatinIME_ICS_ported
src/com/android/inputmethod/compat/ArraysCompatUtils.java
Java
apache-2.0
2,027
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/inspector2/model/GetFindingsReportStatusResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #in...
aws/aws-sdk-cpp
aws-cpp-sdk-inspector2/source/model/GetFindingsReportStatusResult.cpp
C++
apache-2.0
1,854
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
asomya/test
horizon/test.py
Python
apache-2.0
14,512
package com.joyue.tech.gankio.mvp.history; import com.joyue.tech.core.mvp.listener.OnLoadDataListListener; import com.joyue.tech.gankio.api.GankApi; import rx.Observer; public class HistoryModel implements HistoryContract.Model { @Override public void history(OnLoadDataListListener listener) { GankA...
skyofthinking/AndRapid
gankio/src/main/java/com/joyue/tech/gankio/mvp/history/HistoryModel.java
Java
apache-2.0
764
module Amigrind class Repo include Amigrind::Core::Logging::Mixin attr_reader :path def initialize(path) @path = File.expand_path path raise "'path' (#{path}) is not a directory." unless Dir.exist?(path) raise "'path' is not an Amigrind root (lacks .amigrind_root file)." \ unl...
eropple/amigrind
lib/amigrind/repo.rb
Ruby
apache-2.0
6,902
require_relative '../../test_helper' class TestVersion < Minitest::Test def test_version assert_equal( false, SendWithUs::VERSION.nil? ) end end
sendwithus/sendwithus_ruby
test/lib/send_with_us/version_test.rb
Ruby
apache-2.0
156
package com.google.ratel.deps.jackson.databind.ser.std; import java.io.IOException; import java.lang.reflect.Type; import com.google.ratel.deps.jackson.core.*; import com.google.ratel.deps.jackson.databind.JavaType; import com.google.ratel.deps.jackson.databind.JsonMappingException; import com.google.ratel.deps.jack...
sabob/ratel
ratel/src/com/google/ratel/deps/jackson/databind/ser/std/StringSerializer.java
Java
apache-2.0
1,752
/** * Copyright 2016 Sebastien Pelletier * * 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...
pellse/decorator
src/test/java/io/github/pellse/decorator/collection/InitializedBoundedList.java
Java
apache-2.0
772
import Ember from 'ember'; import HasIdMixin from '../mixins/has-id'; const { computed, Mixin, assert, defineProperty } = Ember; /* A mixin that enriches a component that is attached to a model property. The property name by default is taken from the formComponent, computed unless explictly defined in the `prope...
slannigan/computed_input_errors
addon/mixins/has-property.js
JavaScript
apache-2.0
1,005
using DotvvmAcademy.Meta.Syntax; using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace DotvvmAcademy.Meta { internal class MetaMemberInfoVisitor : MemberInfoVisitor<NameNode> { public override NameNode DefaultVisit(MemberInfo info) { throw ne...
riganti/dotvvm-samples-academy
src/DotvvmAcademy.Meta/MetaMemberInfoVisitor.cs
C#
apache-2.0
2,764
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading; namespace NetworkUtility { #pragma warning disable CS1591 // Missing XML comment...
lerwine/PowerShell-Modules
src/NetworkUtility/UriPathSegmentList.cs
C#
apache-2.0
21,377
package botservice.schedule; import botservice.model.system.UserLogEntity; import botservice.model.system.UserLogEntity_; import botservice.properties.BotServiceProperty; import botservice.properties.BotServicePropertyConst; import botservice.service.SystemService; import botservice.service.common.BaseParam; i...
dev-comp/botservice
botservice-ejb/src/main/java/botservice/schedule/MsgToUserResender.java
Java
apache-2.0
2,890
package com.unit16.z.indexed; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.function.Function; import java.util.function.Predicate; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import com.google.common.collect.UnmodifiableIterator...
vincentk/unit16-z
src/main/java/com/unit16/z/indexed/DSL.java
Java
apache-2.0
3,250
<h1>This is an taxonomy</h1> <ul> <li>id: {{ $taxonomy->id }}</li> <li>slug: {{ $taxonomy->slug }}</li> <li>hierarchical: {{ $taxonomy->hierarchical }}</li> {{ dump($taxonomy->terms) }} </ul>
Datahjelpen/PEAK
resources/views/item/taxonomy/content-main.blade.php
PHP
apache-2.0
206
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Elasticsearch.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Nest { [JsonConverter(typeof(GetAliasResponseConverter))] public interface IGetAliasResponse : IResponse { IReadOnlyDictionary<st...
CSGOpenSource/elasticsearch-net
src/Nest/Indices/AliasManagement/GetAlias/GetAliasResponse.cs
C#
apache-2.0
2,661
/* * #%L * FlatPack Demonstration Client * %% * Copyright (C) 2012 Perka 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...
perka/flatpack-java
demo-client/src/test/java/com/getperka/flatpack/demo/client/ClientSmokeTest.java
Java
apache-2.0
8,420
#!/usr/bin/env python # Copyright 2016 VMware, 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 ...
shivanshu21/docker-volume-vsphere
esx_service/utils/vmdk_utils.py
Python
apache-2.0
19,851
package com.example.testconnectionappmart; public class Service { private int id; private String discountEndDt; private String discountPrice; private String logoImagePath; private String discountAmount; private String saveType; private String appmartPrice; private String serviceName; private String appNa...
info-appmart/OthersMethods
src/com/example/testconnectionappmart/Service.java
Java
apache-2.0
3,650
package com.animerom.filemanager.commands.shell; import com.animerom.filemanager.commands.ChangePermissionsExecutable; import com.animerom.filemanager.console.CommandNotFoundException; import com.animerom.filemanager.console.ExecutionException; import com.animerom.filemanager.console.InsufficientPermissionsException; ...
AnimeROM/android_package_AnimeManager
src/com/animerom/filemanager/commands/shell/ChangePermissionsCommand.java
Java
apache-2.0
2,364
<?php /** * This example updates a proposal's notes. To determine which proposals exist, * run GetAllProposals.php. * * PHP version 5 * * Copyright 2014, 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 th...
Getsidecar/googleads-php-lib
examples/Dfp/v201702/ProposalService/UpdateProposals.php
PHP
apache-2.0
2,856
/* * Copyright © 2014 - 2019 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...
rostam/gradoop
gradoop-flink/src/test/java/org/gradoop/flink/model/impl/operators/matching/single/cypher/common/functions/ReverseEdgeEmbeddingTest.java
Java
apache-2.0
1,568
/* * Copyright 2013 Gunnar Kappei. * * 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...
moosbusch/xbLIDO
src/net/opengis/gml/MultiSurfaceDomainType.java
Java
apache-2.0
8,916
package o; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.util.TypedValue; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView.LayoutParams; import android.widget.Base...
mmmsplay10/QuizUpWinner
quizup/o/ฯ.java
Java
apache-2.0
2,925
<?php /** * 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"); y...
d-ulyanov/log4php-graylog2
src/main/php/layouts/LoggerLayoutGelf.php
PHP
apache-2.0
8,053
package com.datagre.apps.omicron.core.dto; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; /** * Created by zengxiaobo on 2017/3/24. */ @Data @NoArgsConstructor @ToString public class OmicronConfigNotification { private String namespaceName; private long notificationId; public Omi...
ycaihua/omicron
omicron-core/src/main/java/com/datagre/apps/omicron/core/dto/OmicronConfigNotification.java
Java
apache-2.0
476
<?php namespace MonologCreator\Processor; /** * Class ExtraFieldProcessor * * Allows adding additional high-level or special fields to the log output. * * @package MonologCreator\Processor * @author Sebastian Götze <s.goetze@bigpoint.net> */ class ExtraFieldProcessor implements \Monolog\Processor\ProcessorInter...
Bigpoint/monolog-creator
src/MonologCreator/Processor/ExtraFieldProcessor.php
PHP
apache-2.0
1,014
#include "common/router/upstream_request.h" #include <chrono> #include <cstdint> #include <functional> #include <memory> #include <string> #include "envoy/event/dispatcher.h" #include "envoy/event/timer.h" #include "envoy/grpc/status.h" #include "envoy/http/conn_pool.h" #include "envoy/runtime/runtime.h" #include "en...
envoyproxy/envoy-wasm
source/common/router/upstream_request.cc
C++
apache-2.0
22,548
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import...
bozimmerman/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Spells/Spell_Erase.java
Java
apache-2.0
3,338
/******************************************************************************* * Copyright 2020 Tremolo Security, 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://...
TremoloSecurity/OpenUnison
unison/unison-applications-gitlab/src/main/java/com/tremolosecurity/unison/gitlab/provisioning/targets/GitlabUserProvider.java
Java
apache-2.0
21,837
package com.xebia.xtime.test.shared.model; import android.os.Parcel; import com.xebia.xtime.shared.model.WorkType; import junit.framework.TestCase; public class WorkTypeTest extends TestCase { private WorkType mWorkType; @Override protected void setUp() throws Exception { super.setUp(); ...
smuldr/xtime-android
app/src/androidTest/java/com/xebia/xtime/test/shared/model/WorkTypeTest.java
Java
apache-2.0
1,185
package com.github.gserv.serv.wx.message; /** * 消息解析异常 * * @author shiying * */ public class XmlMessageParseException extends RuntimeException { /** * */ private static final long serialVersionUID = 6648701329524322380L; public XmlMessageParseException() { super(); // TODO Auto-generated constructo...
gserv/serv
serv-wx/src/main/java/com/github/gserv/serv/wx/message/XmlMessageParseException.java
Java
apache-2.0
700
/* * Copyright (c) 2020 EmeraldPay Inc, All Rights Reserved. * Copyright (c) 2016-2017 Infinitape 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 * * ...
ethereumproject/etherjar
etherjar-abi/src/main/java/io/emeraldpay/etherjar/abi/UFixedType.java
Java
apache-2.0
3,629
<?php /** * @var \Ecommerce\Item $item ; */ ?> <div class="ecommerce"> <div class="row"> <div class="col-md-3 item-sidebar"> <div class="sidebar-block"> <div class="items"> <?php $this->widget('Ecommerce\categorys'); ?> </div> </d...
injitools/cms-Inji
system/modules/Ecommerce/appControllers/content/view.php
PHP
apache-2.0
3,001
// Copyright 2016 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 // // Unless required by applicabl...
ivannaranjo/google-cloud-visualstudio
GoogleCloudExtension/GoogleCloudExtension/CloudExplorerSources/Gae/VersionItem.cs
C#
apache-2.0
3,463