code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
# # Copyright 2015, SUSE Linux GmbH # # 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 wr...
SUSE-Cloud/crowbar-client
spec/crowbar/client/command/proposal/create_spec.rb
Ruby
apache-2.0
1,440
/* * 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 ...
alanfgates/hive
ql/src/java/org/apache/hadoop/hive/ql/exec/AbstractFileMergeOperator.java
Java
apache-2.0
15,244
package com.code5team.web.servlet; import java.io.IOException; import java.io.PrintWriter; public class HelloServlet { public void test() { } }
Code5Team/JavaCode
study/src/com/code5team/web/servlet/HelloServlet.java
Java
apache-2.0
152
%% these imports are added to all gx files :- if(current_prolog_flag(dialect, ciao)). :- use_module(library(terms_vars)). :- else. varset(A,B) :- term_variables(A,B). :- endif.
leuschel/logen
gxmodules.pl
Perl
apache-2.0
177
/*! Pixel buffers are buffers that contain two-dimensional texture data. Contrary to textures, pixel buffers are stored in a client-defined format. They are used to transfer data to or from the video memory, before or after being turned into a texture. */ use std::borrow::Cow; use std::cell::Cell; use std::ops::{Deref...
TyOverby/glium
src/pixel_buffer.rs
Rust
apache-2.0
2,208
<ion-header> <ion-navbar core-back-button> <ion-title><core-format-text *ngIf="quiz" [text]="quiz.name"></core-format-text></ion-title> </ion-navbar> </ion-header> <ion-content> <ion-refresher [enabled]="loaded" (ionRefresh)="doRefresh($event)"> <ion-refresher-content pullingText="{{ 'core.p...
jleyva/moodlemobile2
src/addon/mod/quiz/pages/attempt/attempt.html
HTML
apache-2.0
2,564
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=type.P194.html"> </head> <body> <p>Redirecting to <a href="type.P194.html">type.P194.html</a>...</p> <script>location.replace("type.P194.html" + location.search + location.hash);</script> </body> </html>
nitro-devs/nitro-game-engine
docs/typenum/consts/P194.t.html
HTML
apache-2.0
297
package se.l4.dust.core.internal.expression.ast; /** * Node for an operation that adds the right side to the left. * * @author Andreas Holstenson * */ public class AddNode extends LeftRightNode { public AddNode(int line, int position, Node left, Node right) { super(line, position, left, right); } }
LevelFourAB/dust
dust-core/src/main/java/se/l4/dust/core/internal/expression/ast/AddNode.java
Java
apache-2.0
314
namespace Test.NDatabase.Odb.Test.VO.Inheritance { public class OutdoorPlayer : Player { private string groundName; //1 public string GroundName { get { return groundName; } set { groundName = value; } } } }
WaltChen/NDatabase
tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/VO/Inheritance/OutdoorPlayer.cs
C#
apache-2.0
288
#include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int vec[50], i,aux,suma,promedio,mayor,menor; mayor=-999; menor=999; srand(time(0)); for(i=0;i<50;i++) { vec[i]=rand()%90+10; } for(i=0;i<50;i++) { aux=vec[i]; vec[i]=vec[i+1]; vec[i+1]=aux; suma=suma+vec...
moises1747/Unidad-2
Ejercicio 3.c
C
apache-2.0
765
/** * Copyright 2011-2016 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...
akirakw/asakusafw-compiler
compiler-project/extension-directio/src/main/java/com/asakusafw/lang/compiler/extension/directio/DirectFileIoPortProcessor.java
Java
apache-2.0
30,587
"""cmput404project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') ...
CMPUT404Team/CMPUT404-project-socialdistribution
cmput404project/cmput404project/urls.py
Python
apache-2.0
1,075
# Ganoderma subrenatum (Murrill) Sacc. & Trotter SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Amauroderma subrenatum Murrill ### Remarks null
mdoering/backbone
life/Fungi/Basidiomycota/Agaricomycetes/Polyporales/Ganodermataceae/Ganoderma/Ganoderma subrenatum/README.md
Markdown
apache-2.0
205
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
igodip/NetAnim
animxmlparser.cpp
C++
apache-2.0
26,765
package org.codelogger.utils; import static org.junit.Assert.assertEquals; import org.codelogger.utils.ValueUtils; import org.junit.Test; public class ValueUtilsTest { @Test public void getValue() { Long testLong = null; Long expectedLongValue = 0L; Long longValueOrNull = ValueUtils...
defei/codelogger-utils
src/test/java/org/codelogger/utils/ValueUtilsTest.java
Java
apache-2.0
2,862
using System; using System.Reflection; namespace Foundation.ExtensionMethods { public static class TypeExtensions { /// <summary> /// Looks for a property of the specified type. If more than 1 matching property is found, an exception is thrown. /// </summary> /// <para...
DavidMoore/Foundation
Code/Foundation/ExtensionMethods/TypeExtensions.cs
C#
apache-2.0
1,150
# AUTOGENERATED FILE FROM balenalib/firefly-rk3288-debian:bookworm-build # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # key 63C7CC90...
resin-io-library/base-images
balena-base-images/python/firefly-rk3288/debian/bookworm/3.6.15/build/Dockerfile
Dockerfile
apache-2.0
4,862
/* * Copyright (C) 2014 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...
101010b/ADWatchFaceAnalog
Application/src/main/java/com/alphadraco/watchface/analog/AnalogConfigActivity.java
Java
apache-2.0
1,358
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class iOSCallbackScheduler | Sensus Documentation </title> <meta name="viewport" content="width=device-width"> <meta name="title" con...
jtb8vm/sensus
docs/api/Sensus.iOS.Callbacks.iOSCallbackScheduler.html
HTML
apache-2.0
24,025
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #include "thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/MyServiceAsyncClient.h" #include <thrift/lib/cpp2/gen/client_cpp.h> namespace cpp2 { t...
facebook/fbthrift
thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/MyServiceAsyncClient.cpp
C++
apache-2.0
18,918
package com.happy.business.service; import java.util.List; import com.happy.business.User; /** * * @author Administrator * */ public interface UserService { public List<User> selectAll(); }
zyl-githab/happy
test-manager/manager-service/src/main/java/com/happy/business/service/UserService.java
Java
apache-2.0
200
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE> DOM XSS Active Scan Rule - About </TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>DOM XSS Active Scan Rule - About</H1> <H2>Source Code</H2> <a href="https://github.com/zaproxy/zap-extensions/tree/master/addOns/domxss">https://github.com/zaprox...
veggiespam/zap-extensions
addOns/domxss/src/main/javahelp/org/zaproxy/zap/extension/domxss/resources/help/contents/about.html
HTML
apache-2.0
1,153
// Copyright 2020 DeepMind Technologies Limited // // 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 l...
deepmind/dm_robotics
cpp/controllers/lsqp/tests/integration_test.cc
C++
apache-2.0
14,587
package com.github.upelsin.streamProxy; import com.squareup.okhttp.Headers; import com.squareup.okhttp.OkHttpClient; import com.squareup.okhttp.Request; import com.squareup.okhttp.Response; import okio.BufferedSink; import okio.BufferedSource; import okio.Okio; import java.io.IOException; import java.io.UnsupportedEn...
upelsin/MediaStreamProxy
src/main/java/com/github/upelsin/streamProxy/StreamProxy.java
Java
apache-2.0
8,255
package com.zxh.ssm.module.dynamicOutbreak.mapper; import com.zxh.ssm.module.dynamicOutbreak.pojo.Pretreatment; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Created by 郑晓辉 on 2016/10/20. */ public interface PretreatmentMapper { List<Pretreatment> selectStandardPosition(@Param("provi...
Harveychn/MalariaProject
src/main/java/com/zxh/ssm/module/dynamicOutbreak/mapper/PretreatmentMapper.java
Java
apache-2.0
425
namespace NugetVisualizer.Core.FileSystem { using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using NugetVisualizer.Core.Domain; public class FileSystemRepositoryReader : IRepositoryReader { public List<IProjectIdentifier> GetProje...
sepharg/NugetVisualizer
NugetVisualizer/Core/FileSystem/FileSystemRepositoryReader.cs
C#
apache-2.0
1,650
package cn.edu.chd.adapter; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Point; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; ...
Rowandjj/yitu
Yitu/src/cn/edu/chd/adapter/GroupAdapter.java
Java
apache-2.0
2,580
package com.example.eventbustest; import de.greenrobot.event.EventBus; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public class MainA...
happyjie/eventBusTest
src/com/example/eventbustest/MainActivity.java
Java
apache-2.0
1,270
package org.visallo.webster; import org.visallo.webster.parameterProviders.ParameterProvider; import org.visallo.webster.parameterProviders.ParameterProviderFactory; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.lang.annotation.Annotation; import java.lang.re...
v5analytics/webster
webster/src/test/java/org/visallo/webster/TestUserParameterProviderFactory.java
Java
apache-2.0
1,093
import { DataEntity, get, set } from '@terascope/utils'; import { PostProcessConfig, InputOutputCardinality } from '../../../interfaces'; import TransformOpBase from './base'; export default class MakeArray extends TransformOpBase { private fields!: string[]; static cardinality: InputOutputCardinality = 'many...
terascope/teraslice
packages/ts-transforms/src/operations/lib/transforms/array.ts
TypeScript
apache-2.0
1,722
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty date_format modifier plugin * Type: modifier<br> * Name: date_format<br> * Purpose: format datestamps via strftime<br> * Input:<br> * - string: input date string * - format: strftime fo...
songdent/PandaPHP
framework/sysvender/smarty/plugins/modifier.date_format.php
PHP
apache-2.0
2,487
# Copyright 2016-2017 Capital One Services, 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 ...
kapilt/cloud-custodian
c7n/handler.py
Python
apache-2.0
6,491
#import "ViewController.h" @protocol MWMSearchDownloadProtocol <NSObject> - (void)selectMapsAction; @end @interface MWMSearchDownloadViewController : ViewController - (nonnull instancetype)init __attribute__((unavailable("init is not available"))); - (nonnull instancetype)initWithDelegate:(nonnull id<MWMSearchDown...
Endika/omim
iphone/Maps/Classes/CustomViews/MapViewControls/Search/DownloadView/MWMSearchDownloadViewController.h
C
apache-2.0
466
<?php namespace service; require_once(__DIR__.'/../../lib.url.php'); require_once(__DIR__.'/../../class.exception.php'); class dispatch { function __construct($params) { $this->rules = $params; $this->root($_SERVER['REQUEST_URI']); } // // Getter for the matched parameters // public functi...
jotaen/yawf
core/service/dispatch/dispatch.php
PHP
apache-2.0
1,757
// THIS FILE WAS AUTO-GENERATED BY ADKGEN -- DO NOT MODIFY! // // Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s). // All rights reserved. // using System; using System.Text; using System.Security.Permissions; using System.Runtime.Serialization; using OpenADK.Library; using OpenADK.Library.Global; ...
open-adk/OpenADK-csharp
src/au/sdo/Sif3assessment/FormAccommodationList.cs
C#
apache-2.0
2,473
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_12-ea) on Wed Feb 05 23:03:17 CET 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>NoMigration (JCl...
xLeitix/jcloudscale
docs/javadoc/apidocs/at/ac/tuwien/infosys/jcloudscale/migration/annotations/NoMigration.html
HTML
apache-2.0
7,677
/* * Copyright 2014 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 agreed to...
xliux/chess
folly/experimental/io/HugePages.h
C
apache-2.0
2,248
# -*- coding: utf-8 -*- # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-grafeas
grafeas/grafeas_v1/types/intoto_provenance.py
Python
apache-2.0
7,148
namespace kafka4net.Protocols.Requests { class MessageData { /// <summary>This byte holds metadata attributes about the message. The lowest 2 bits contain /// the compression codec used for the message. The other bits should be set to 0</summary> //public byte Attributes; ...
vikmv/kafka4net
src/Protocols/Requests/MessageData.cs
C#
apache-2.0
765
// Copyright 2010 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 applicable...
adambyram/bite-project-mod
tools/rpf/extension/src/libs/settingdialog.js
JavaScript
apache-2.0
8,888
package com.box.boxjavalibv2.requests; import java.io.IOException; import junit.framework.Assert; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import org.apache.http.entity.StringEntity; import org.junit.Test; import com.box.boxjavalibv2.BoxConfig; import com.box.boxjavalibv2.exceptions.Aut...
ElectroJunkie/box-java-sdk-v2-master
BoxJavaLibraryV2/tst/com/box/boxjavalibv2/requests/AddEmailAliasRequestTest.java
Java
apache-2.0
1,746
# https://djangosnippets.org/snippets/690/ import re from django.template.defaultfilters import slugify def unique_slugify(instance, value, slug_field_name='slug', queryset=None, slug_separator='-'): """ Calculates and stores a unique slug of ``value`` for an instance. ``slug_field_nam...
thelabnyc/wagtail_blog
blog/utils.py
Python
apache-2.0
2,644
'''Trains a simple convnet on the Fashion MNIST dataset. Gets to % test accuracy after 12 epochs (there is still a lot of margin for parameter tuning). ''' from __future__ import print_function import keras from keras.datasets import fashion_mnist from keras.models import Sequential from keras.layers import Dense, Dr...
erramuzpe/seattle-perceptual-learning
perclearn/scripts/fashion_mnist_cnn.py
Python
apache-2.0
2,248
<!DOCTYPE html> <html> <head> <title>Shortify.me</title> <link rel="stylesheet" href="css/style.css" /> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> </head> <body> <div id="container" class="centered"> <div class="animated fad...
GruppoPBDMNG-7/shortify.me
ClientAngular/404.html
HTML
apache-2.0
704
/* * Copyright 2016 Hippo Seven * * 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 ...
seven332/EhViewer
app/src/main/java/com/hippo/ehviewer/client/EhUtils.java
Java
apache-2.0
6,944
/** * This script is a demonstration of how you can use a basic spritesheet. This covers loading of spritesheets and changing the cell gameobjects will use. **/ var Spritesheets = new Kiwi.State('Spritesheets'); Spritesheets.preload = function () { //Just making the stage smaller this.game.stage.resize(800, 25...
dfu23/swim-meet
lib/kiwi.js/examples/Introduction/Spritesheets.js
JavaScript
apache-2.0
1,998
Description =========== Installs kafka 0.7.1 Requirements ============ * Java cookbook version >= 1.5 * Runit cookbook Attributes ========== * kafa.version - The Kafka version to pull and use * kafa.install_dir - Location for Kafka to be installed * kafa.data_dir - Location for Kafka logs * kafa.log_dir - Location ...
jreichhold/chef-repo
site-cookbooks/kafka/README.md
Markdown
apache-2.0
1,969
from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import torch import torch.utils.data import ray from ray.experimental.sgd.pytorch import pytorch_utils from ray.experimental.sgd import utils logger = logging.getLogger(__name__) class PyTorc...
ujvl/ray-ng
python/ray/experimental/sgd/pytorch/pytorch_runner.py
Python
apache-2.0
4,800
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Wed Jan 29 10:36:10 GMT 2014 --> <title>Uses of Class com.gravspace.bases.TaskBase</title> <meta name="date" content="2014-01-29...
ranoble/Megapode
javadocs/com/gravspace/bases/class-use/TaskBase.html
HTML
apache-2.0
5,727
package com.grafixartist.bottomnav; import android.app.Application; import android.support.v7.app.AppCompatDelegate; /** * BottomNav * Created by Suleiman19 on 8/2/16. * Copyright (c) 2016. Suleiman Ali Shakir. All rights reserved. */ public class MyApp extends Application { static { AppCompatDelega...
Suleiman19/Bottom-Navigation-Demo
app/src/main/java/com/grafixartist/bottomnav/MyApp.java
Java
apache-2.0
413
/******************************************************************************* * In the Hi-WAY project we propose a novel approach of executing scientific * workflows processing Big Data, as found in NGS applications, on distributed * computational infrastructures. The Hi-WAY software stack comprises the func- * ...
joergen7/cuneiform-legacy
src/main/java/de/huberlin/cuneiform/dag/Container.java
Java
apache-2.0
1,621
from django.db import models from django.contrib.auth.models import User from datetime import date # Create your models here. class Genre(models.Model): """ Model representing a book genre (e.g. Science Fiction, Non Fiction). """ name = models.CharField(max_length=200, help_text="Enter a book genre (e...
byronlin92/django_local_library
catalog/models.py
Python
apache-2.0
4,639
# dl-twitch-series Notebook from the Deep Learning Twitch Series on AWS (https://twitch.tv/aws) * Episode 1: Neural Network Basics and Sentiment Analysis with Multi Layer Perceptron * Episode 2: Sequence Modeling: Model learns to do basic math and model to pronounce english words * Episode 3: Convolutional Neural Net...
sunilmallya/dl-twitch-series
README.md
Markdown
apache-2.0
949
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
petewarden/tensorflow
tensorflow/core/grappler/optimizers/arithmetic_optimizer_test_utils.h
C
apache-2.0
10,639
/* * 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 * dis...
afs/lizard
lizard-node-server/src/main/java/lizard/node/DistributorNodesBySegment.java
Java
apache-2.0
6,963
// // OldStuff.h // MacNagios // // Created by Kiko Albiol on 21/11/15. // Copyright © 2015 BGP. All rights reserved. // #import <Foundation/Foundation.h> /** * @brief Old stuff */ @interface AppDelegateOld : NSObject <NSApplicationDelegate, NSUserNotificationCenterDelegate> @property (assign) IBOutlet NSWi...
kikoalbiol/IFICNagios
IFICNagios/OldStuff.h
C
apache-2.0
974
def benchmark_hash_data(): """ CommandLine: python ~/code/ubelt/dev/bench_hash.py --convert=True --show python ~/code/ubelt/dev/bench_hash.py --convert=False --show """ import ubelt as ub #ITEM = 'JUST A STRING' * 100 ITEM = [0, 1, 'a', 'b', ['JUST A STRING'] * 4] HASHERS = ...
Erotemic/ubelt
dev/bench/bench_hash.py
Python
apache-2.0
2,805
#!/usr/bin/python # # 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 ag...
GoogleCloudPlatform/datacatalog-connectors-rdbms
google-datacatalog-rdbms-connector/src/google/datacatalog_connectors/rdbms/prepare/datacatalog_entry_factory.py
Python
apache-2.0
7,500
package io.quarkus.smallrye.health.test; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.is; import org.jboss.shrinkwrap.api.asset.EmptyAsset; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import io.quarkus.test.QuarkusUnitTest; import ...
quarkusio/quarkus
extensions/smallrye-health/deployment/src/test/java/io/quarkus/smallrye/health/test/HealthUnitTest.java
Java
apache-2.0
1,184
Bloc Jams Angular ========= Bloc Jams Angular is [Bloc Jams](https://github.com/ipaulson/bloc-jams) refactored using Angular - HTML - CSS - Javascript - Angular & other resources: - Buzz Library - Fonts from Google - Icons from [Ionic](https://ionicframework.com/docs/ionicons/) - jQuery Clone It and Run It Yoursel...
ipaulson/bloc-jams-angular
README.md
Markdown
apache-2.0
520
/* * 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 ...
tknandu/CommonsMath_Modifed
math (trunk)/src/main/java/org/apache/commons/math3/util/MedianOf3PivotingStrategy.java
Java
apache-2.0
2,399
#!/usr/bin/env python # -*- python -*- #BEGIN_LEGAL # #Copyright (c) 2016 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
intelxed/mbuild
mbuild/doxygen.py
Python
apache-2.0
12,057
package ma.glasnost.orika.generated; /** * This interface is used as a parameter during class generation in order to be able to avoid Illegal reflective access */ public interface GeneratedPackageClass { }
orika-mapper/orika
core/src/main/java/ma/glasnost/orika/generated/GeneratedPackageClass.java
Java
apache-2.0
209
/* * 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-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/DeleteUsagePlanResult.java
Java
apache-2.0
2,187
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/kernel/tags/sakai-10.6/kernel-impl/src/main/java/org/sakaiproject/user/impl/UserServiceSql.java $ * $Id: UserServiceSql.java 105077 2012-02-24 22:54:29Z ottenhoff@longsight.com $ **********...
eemirtekin/Sakai-10.6-TR
kernel/kernel-impl/src/main/java/org/sakaiproject/user/impl/UserServiceSql.java
Java
apache-2.0
2,946
/* GObject - GLib Type, Object, Parameter and Signal Library * Copyright (C) 2000-2001 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the Lice...
easion/os_sdk
uclibc/include/glib-2.0/gobject/gclosure.h
C
apache-2.0
5,890
# mtgz [![Build Status](https://travis-ci.org/jefperito/mtgz.svg?branch=master)](http://travis-ci.org/#!/jefperito/mtgz) # Installation * Requires Python 3.x, setuptools and pip * execute: pip install .
jefperito/mtgz
README.md
Markdown
apache-2.0
206
package com.tjazi.infra.turbineserver.core; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(class...
tjazi-com/infra_turbine_server
core/src/test/java/com/tjazi/infra/turbineserver/core/TurbineServerApplicationTests.java
Java
apache-2.0
446
package com.qdong.hcp.activity;/** * Created by AA on 2016/7/7. */ import android.app.Activity; import android.app.Application; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import com.baidu.mapapi.SDKInitializer; import com.qdong.communal.library.BuildConf...
506954774/android_communal_library
HCP/src/main/java/com/qdong/hcp/activity/AppLoader.java
Java
apache-2.0
8,754
--- layout: base title: 'Statistics of cop in UD_Slovenian' udver: '2' --- ## Treebank Statistics: UD_Slovenian: Relations: `cop` This relation is universal. 2826 nodes (2%) are attached to their parents as `cop`. 2540 instances of `cop` (90%) are right-to-left (child precedes parent). Average distance between par...
UniversalDependencies/docs
treebanks/sl_ssj/sl-dep-cop.md
Markdown
apache-2.0
4,055
--- layout: default id: 2016-08-23-Qian-Xinyuan surname: Qian name: Xinyuan university: Queen Mary University of London date: 23/08/2016 aboutme: from: China research_topic: Queen Mary University of London abstract: advisor: Omologo Maurizio keywords: website: img: qian.jpg email: qian<i class="fa fa-at" aria-hidd...
phdfbk/phdfbk.github.io
students/_posts/2016-08-23-qian.md
Markdown
apache-2.0
381
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CenturyLinkCloudSDK.ServiceModels { public class ServerState { public string ServerId { get; set; } public string ServerName { get; set; } public bool InMaint...
CenturyLinkCloud/clc-net-sdk
src/CenturyLinkCloudSDK/ServiceModels/Domain/ServerState.cs
C#
apache-2.0
447
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
floodlight/loxigen-artifacts
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver13/OFOxmConnTrackingNwSrcMaskedVer13.java
Java
apache-2.0
10,963
// // ViewController.h // adfadsf // // Created by lisongfa on 16/6/16. // Copyright © 2016年 lisongfa. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
hgjlsongfa/02ARepository01
adfadsf/adfadsf/ViewController.h
C
apache-2.0
213
/* * 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 ...
jamiemccrindle/bpmscript
bpmscript-core/src/test/java/org/bpmscript/test/hibernate/SpringSessionFactoryTestSupport.java
Java
apache-2.0
4,756
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/services/ad_group_ad_label_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Googl...
googleads/google-ads-dotnet
src/V8/Services/AdGroupAdLabelService.g.cs
C#
apache-2.0
51,766
/* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
hmrc/ct-calculations
src/test/scala/uk/gov/hmrc/ct/computations/calculations/LossesSetAgainstOtherProfitsCalculatorSpec.scala
Scala
apache-2.0
2,854
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_151) on Sat Jan 27 21:26:54 CST 2018 --> <title>DefaultMessageCallbackHandler</title> <meta name="date" content="2018-01-27"> <link rel="styles...
dsngroup/broke
docs/javadoc/org/dsngroup/broke/client/handler/callback/DefaultMessageCallbackHandler.html
HTML
apache-2.0
13,200
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
tensorflow/java
tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/SoftsignGrad.java
Java
apache-2.0
3,743
/* * 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...
jtransc/jtransc
jtransc-rt/src/java/nio/channels/FileChannel.java
Java
apache-2.0
3,632
public class Foo { { <caret> x = 3; } }
joewalnes/idea-community
java/java-tests/testData/codeInsight/completeStatement/BeforeStatement_after.java
Java
apache-2.0
63
/* * Copyright (c) 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 appli...
werval/werval
io.werval/io.werval.api/src/test/java/io/werval/util/MapsTest.java
Java
apache-2.0
4,769
# audiospool The <a href="http://epeus.blogspot.com/2003/10/bloggercon-live-video.html">original podcast downloading script</a>, when they were still called audioblogs. This downloads a feed and puts the audio files into a playlist in iTunes, for you to sync with your iPod. You'll need a copy of <a href="https://githu...
kevinmarks/audiospool
README.md
Markdown
apache-2.0
503
/** * Copyright (C) 2014 Next Generation Mobile Service JSC., (NMS). All rights * reserved. */ package com.nms.vnm.eip.web.util; import com.nms.vnm.eip.exception.AppException; import java.util.Iterator; import java.util.List; import java.util.function.Consumer; import javax.ejb.EJBException; import javax...
nms-htc/eip-vnm
src/main/java/com/nms/vnm/eip/web/util/JsfUtil.java
Java
apache-2.0
6,580
import React from 'react'; import { Box, Button, CheckBox, FileInput, Form, FormField, Grommet, RadioButtonGroup, RangeInput, Select, TextArea, } from 'grommet'; import { grommet } from 'grommet/themes'; export const FieldWithComponentProp = () => ( <Grommet full theme={grommet}> <Box fill...
HewlettPackard/grommet
src/js/components/Form/stories/FieldWithComponentProp.js
JavaScript
apache-2.0
2,735
'use strict'; var DEFAULT_ICON_SIZE = 22; // px var SUPPORTED_TYPES = ['Link', 'Text', 'Widget']; var Annotation = (function AnnotationClosure() { // // 12.5.5: Algorithm: Appearance streams // function getTransformMatrix(rect, bbox, matrix) { // var bounds = Util.getAxialAlignedBoundingBox(bbox, matrix); // ...
luisvt/jsparser
bin/sample.js
JavaScript
apache-2.0
20,493
/* Copyright 2010-2013 SourceGear, 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 writing, softwar...
glycerine/vj
src/veracity/src/libraries/include/sg_variant.h
C
apache-2.0
4,580
// SmoothScroll v1.2.1 // Licensed under the terms of the MIT license. // People involved // - Balazs Galambosi (maintainer) // - Patrick Brunner (original idea) // - Michael Herf (Pulse Algorithm) // - Justin Force (Resurect) if (navigator.appVersion.indexOf("Mac") == -1) { // Scroll Variables (tweakab...
cmuhirwa/uplus
casual/vendors/smooth-scroll/SmoothScroll.js
JavaScript
apache-2.0
12,102
<div class="row"> <div class="col-xs-12"> <form class="form-horizontal" role="form" name="myForm" > <div class="form-group"> <label for="destination" class="col-xs-2 control-label">Destino</label> <div class="col-xs-7"> <select id="destination"...
AxelCB/TripSplitterClone
web/app/views/trip/createTrip.html
HTML
apache-2.0
3,911
/* * Created on Jul 16, 2008 * * 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...
google/fest
third_party/fest-swing/src/test/java/org/fest/swing/core/matcher/JTextComponentMatcher_matches_byText_Test.java
Java
apache-2.0
1,973
/** * @author ${kekkaishivn} - dattl@ifi.uio.no * * ${tags} */ #ifndef SGX_SYSSTAT_UTIL_H #define SGX_SYSSTAT_UTIL_H #include <sgx/sys/types.h> #ifdef __cplusplus extern "C" { #endif extern int sgx_wrapper_stat(const char *path, struct stat *buf); extern int sgx_wrapper_fstat(int fd, struct stat *buf); extern i...
shwetasshinde24/Panoply
benchmarks/lmbench/src/MyEnclave/include/sgx_sysstat_util.h
C
apache-2.0
1,437
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("As...
dotnetcurry/web-api-performance-dncmag-08
AsyncWebApiPerformance/AsyncWebApiPerformance/Properties/AssemblyInfo.cs
C#
apache-2.0
1,380
from invoke import task, run #from fabric.api import local, lcd, get, env #from fabric.operations import require, prompt #from fabric.utils import abort import requests import rdflib import getpass import os.path import os import setlr from os import listdir from rdflib import * import logging CHEAR_DIR='chear.d/' H...
tetherless-world/chear-ontology
tasks.py
Python
apache-2.0
3,872
-------------------------------- -- @module Motion -- @extend Ref -- @parent_module cc -------------------------------- -- -- @function [parent=#Motion] isRemoving -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#Motion] i...
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/Motion.lua
Lua
apache-2.0
3,225
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
fred84/elasticsearch
server/src/main/java/org/elasticsearch/indices/recovery/RecoverySourceHandler.java
Java
apache-2.0
38,100
/* * 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")...
oscarbou/isis
core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/panels/PromptFormAbstract.java
Java
apache-2.0
13,645
--- external help file: Microsoft.Azure.Commands.ContainerInstance.dll-Help.xml Module Name: AzureRM.ContainerInstance online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.containerinstance/new-azurermcontainergroup schema: 2.0.0 --- # New-AzureRmContainerGroup ## SYNOPSIS Creates a container gr...
naveedaz/azure-powershell
src/ResourceManager/ContainerInstance/Commands.ContainerInstance/help/New-AzureRmContainerGroup.md
Markdown
apache-2.0
14,729
/** * Licensed to niosmtpproxy developers ('niosmtpproxy') under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * niosmtpproxy licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
normanmaurer/niosmtpproxy
src/main/java/me/normanmaurer/niosmtpproxy/handlers/SMTPProxyCmdHandler.java
Java
apache-2.0
2,701
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import firebase from 'firebase'; import ReduxThunk from 'redux-thunk'; import reducers from './src/reducers'; // import LoginForm from './src/components/LoginForm'; import Router from ...
parammehta/TravLendar
mobile/mock ups/manager/App.js
JavaScript
apache-2.0
958
# -*- coding: ISO-8859-1 -*- # Copyright 2010 Dirk Holtwick, holtwick.it # # 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...
rcucui/Pisa-util-fix
sx/pisa3/pisa_util.py
Python
apache-2.0
26,330