repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
josdem/client
client-view/src/main/java/com/all/client/view/dnd/ModelTreeTransferHandler.java
13535
/** * Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use...
apache-2.0
twcook/siscolo
src/generator/ccd_19e452e8_8e2d_46ba_a88c_2afd34ca8d71.py
41849
# -*- coding: UTF-8 -*- import datetime import shortuuid from randomstuff import upper_bool, lower_bool def ccd_19e452e8_8e2d_46ba_a88c_2afd34ca8d71(recno,dobstr,agestr,examdate): examdatestr = str(examdate.strftime('%Y-%m-%d')) fname = 'data/'+recno+'/'+shortuuid.uuid()+'.xml' f = open(fname,'w') ...
apache-2.0
bambooforest/segments
setup.py
1528
from setuptools import setup, find_packages setup( name='segments', version="2.1.4.dev0", description='', long_description=open("README.md").read(), long_description_content_type="text/markdown", author='Steven Moran and Robert Forkel', author_email='steven.moran@uzh.ch', url='https://...
apache-2.0
echohn/send_email
test/test_email.rb
369
#!/usr/bin/env ruby # encoding: utf-8 require 'send_email' SendEmail.smtp = '192.168.12.1' mail = SendEmail::Mail.new( :from => 'from@testmail.com' , :to => 'to@testmail.com' , :cc => 'cc@testmail.com', :subject => 'Test Mail Subject', :msg => "<h1>Hellow world!</h1>", :attacheme...
apache-2.0
karussell/fastutil
src/it/unimi/dsi/fastutil/doubles/Double2ObjectLinkedOpenHashMap.java
47126
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /* St...
apache-2.0
liangdas/mqantserver
bin/chat/js/client.js
7274
var mqant=window.mqant var username; var users; var roomName; var base = 1000; var increase = 25; var reg = /^[a-zA-Z0-9_\u4e00-\u9fa5]+$/; var LOGIN_ERROR = "There is no server to log in, please wait."; var LENGTH_ERROR = "Name/Channel is too long or too short. 20 character max."; var NAME_ERROR = "Bad charac...
apache-2.0
zibhub/GNDMS
neomodel/src/de/zib/gndms/neomodel/common/Session.java
6259
package de.zib.gndms.neomodel.common; /* * Copyright 2008-2010 Zuse Institute Berlin (ZIB) * * 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/LICEN...
apache-2.0
caseykramer/libphonenumber-csharp
csharp/PhoneNumbers/Properties/AssemblyInfo.cs
590
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("PhoneNumbers")] [assembly: AssemblyDescriptionAttribute("Google's libphonenumber")] [assembly: AssemblyProductAttribute("PhoneNumbers")] [assembly: AssemblyCopyrightAttribute("Copyright © 2015-2016 Google")] [assembly: AssemblyVer...
apache-2.0
korfuri/goref
testprograms/interfaces/lib/lib.go
965
// Package lib contains interfaces and types that implement them. It // is very similar to package main, whose interfaces its types also // implements. package lib // IfaceLibA is a simple test interface. type IfaceLibA interface { A() } // IfaceLibB is a simple test interface. type IfaceLibB interface { B() } // ...
apache-2.0
reportportal/service-api
src/main/java/com/epam/ta/reportportal/core/analyzer/auto/client/model/cluster/ClusterData.java
1313
/* * Copyright 2021 EPAM Systems * * 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 ...
apache-2.0
ewill15/usfx
vista/login/nuevo_usuario_admin.html.php
7313
<div style="width: 40%; margin: 4% 0px 0px 33%;"> <h2 class="title">Registrar nuevo usuario</h2> </div> <div class="post"> <div class="entry"> <form id="registrar" class="nuevo" action="control/index.php" method="post"> <div> <label class="required" style="width: 25%">Nombre </label> <input id="nombre" ...
apache-2.0
badlogicmanpreet/aura
aura-integration-test/src/test/java/org/auraframework/integration/test/security/CSRFTokenValidationHttpTest.java
6517
/* * Copyright (C) 2013 salesforce.com, 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 ...
apache-2.0
DeeJaVu/tvstreamscript
includes/show.class.php
86683
<?php class Show{ public $episode_schema = array("show_id","season","episode","title","description","date_added","thumbnail","views","checked"); public $embed_schema = array("episode_id","embed","link","lang","weight"); public $show_schema = array("title","description","thumbnail","permalink","sideree...
apache-2.0
centreon/centreon-broker
bam/src/bool_xor.cc
1134
/* ** Copyright 2014 Centreon ** ** 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 ...
apache-2.0
DaniPix/Countries
app/src/main/java/com/readr/ro/countries/service/DownloadManagerListener.java
266
package com.readr.ro.countries.service; /** * Created by Domnica on 12/9/2016. */ public interface DownloadManagerListener { enum CompletionStatus { SUCCESS, FAILED, CANCELED } void onMediaComplete(Object mid, CompletionStatus status); }
apache-2.0
jmullercuber/siemens2014
siemens2014/src/driver.js
4165
#!/usr/bin/env rhino print("Hello, World!"); //importClass(Packages.org.model.Board); // driver shouldn't interact with Boards importClass(Packages.org.samjoey.parse.Parser); importClass(Packages.org.samjoey.model.Game); importPackage(Packages.org.samjoey.calculator); importClass(Packages.org.samjoey.pattern.Patter...
apache-2.0
opetrovski/development
oscm-portal/javasrc/org/oscm/ui/converter/PaymentTypeConverter.java
1670
/******************************************************************************* * Copyright FUJITSU LIMITED 2017 *******************************************************************************/ package org.oscm.ui.converter; import org.oscm.internal.intf.AccountService; import org.oscm.internal.vo.VOPaymentInfo; ...
apache-2.0
prometheus/node_exporter
collector/fibrechannel_linux.go
6534
// Copyright 2021 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...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/AWSGreengrass.java
63087
/* * 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...
apache-2.0
CarpOrange/CarpDoctor
MPChartLib/src/com/github/mikephil/charting/renderer/PieChartRenderer.java
16318
package com.github.mikephil.charting.renderer; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.Paint.Style; import android.graphics.PointF; import android.graphics.RectF; import a...
apache-2.0
mF2C/COMPSs
compss/runtime/adaptors/agent/CommAgent/commons/src/main/java/es/bsc/compss/agent/comm/messages/LostNodeCommand.java
1842
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
apache-2.0
RadekKoubsky/SilverWare
cdi-microservice-provider/src/main/java/io/silverware/microservices/providers/cdi/CdiMicroserviceProvider.java
13836
/* * -----------------------------------------------------------------------\ * SilverWare *   * Copyright (C) 2010 - 2013 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 c...
apache-2.0
yzsme/Linux-KIT-3
server/bin/plugins/apache.php
144
<?php /** * Created by PhpStorm. * User: zhensheng * Date: 16-8-27 * Time: 上午11:14 */ namespace linuxkit3\plugins; class apache { }
apache-2.0
francisrod01/udacity-android-sunshine-app
app/src/main/java/com/example/android/sunshine/app/sync/SunshineSyncAdapter.java
23948
package com.example.android.sunshine.app.sync; import android.accounts.Account; import android.accounts.AccountManager; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.AbstractThreadedSyncAdapter; import android.content.ContentProviderClient; import android.content.Cont...
apache-2.0
niklasteichmann/gradoop
gradoop-flink/src/test/java/org/gradoop/flink/model/impl/operators/matching/common/query/predicates/compareables/ElementSelectorComparableTest.java
2619
/* * Copyright © 2014 - 2018 Leipzig University (Database Research Group) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
apache-2.0
b2ihealthcare/snow-owl
core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/domain/ValueSetMembers.java
1383
/* * Copyright 2020-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
apache-2.0
cloudfoundry-incubator/bosh-vsphere-cpi-release
src/vsphere_cpi/lib/nsxt/nsxt_client/models/node_service_status_properties.rb
9033
=begin #NSX-T Manager API #VMware NSX-T Manager REST API OpenAPI spec version: 2.3.0.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1 =end require 'date' module NSXT # Node service status properties class NodeServiceStatusProperties # Link to this resourc...
apache-2.0
NationalSecurityAgency/ghidra
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/AsciiFormatModel.java
4511
/* ### * IP: GHIDRA * REVIEWED: YES * * 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...
apache-2.0