text stringlengths 3.08k 15.2k |
|---|
package com.alibaba.alink.operator.batch.evaluation;
import com.alibaba.alink.common.MLEnvironmentFactory;
import com.alibaba.alink.operator.common.clustering.DistanceType;
import com.alibaba.alink.operator.common.distance.*;
import com.alibaba.alink.operator.common.evaluation.*;
import com.alibaba.alink.common.utils.... |
/*
* Copyright 2017-2018, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.systemtest.standard;
import io.enmasse.systemtest.Destination;
import io.enmasse.systemtest.TestUtils;
import io.enmasse.systemtest.ability.ITestBaseS... |
package fousfous;
import java.io.Serializable;
/**
* Classe utilisée pour avoir une mémoïzation efficasse :
* Le plateau est enregistré de manière compacte et les transformations précalculées
* pour permettre de vérifier les égalitées en 4 calculs.
*
* Dans PlateauMemoizeFousFous, equal et hashCode travaillent ... |
package cucumber.table;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.converters.Converter;
import com.thoughtworks.xstream.converters.MarshallingContext;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import com... |
package eu.the5zig.mod.chat.network.packets;
import eu.the5zig.mod.chat.GroupMember;
import eu.the5zig.mod.chat.entity.Friend;
import eu.the5zig.mod.chat.entity.Group;
import eu.the5zig.mod.chat.entity.Rank;
import eu.the5zig.mod.chat.entity.User;
import io.netty.buffer.ByteBuf;
import org.apache.commons.codec.Charset... |
/*
* Variman RETS Server
*
* Author: <NAME>
* Copyright (c) 2004, The National Association of REALTORS
* Distributed under a BSD-style license. See LICENSE.TXT for details.
*/
package org.realtors.rets.server.tomcat;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.net.InetAddr... |
package org.jzy3d.plot3d.text.renderers.jogl;
import java.awt.Font;
import java.awt.geom.Rectangle2D;
import org.jzy3d.colors.AWTColor;
import org.jzy3d.colors.Color;
import org.jzy3d.maths.BoundingBox3d;
import org.jzy3d.maths.Coord2d;
import org.jzy3d.maths.Coord3d;
import org.jzy3d.painters.IPainter;
import org.jzy... |
package org.edx.mobile.util;
import android.content.Context;
import androidx.annotation.NonNull;
import android.text.TextUtils;
import android.view.accessibility.CaptioningManager;
import org.edx.mobile.R;
import org.edx.mobile.annotation.Nullable;
import org.edx.mobile.model.api.TranscriptModel;
import org.edx.mobil... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
package com.yzc35326.runningassistant.activity;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentPagerAdapter;
import androidx.viewpager.widget.ViewPager;
import android.os.Bundle;
import android.util.Spars... |
package com.simibubi.create.foundation.gui;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.matrix.MatrixStack.Entry;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import com.simibubi.create.Create;
import com.simibubi.create.foundation.utility.ColorHelper;
import net.minecraft.client.Minec... |
package it.busstops.utils;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.par... |
/*
* Copyright 2018 jd.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
*
* Unless required by applicable law or agreed t... |
package me.goverse.blelinker.scan;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.S... |
package io.dongtai.iast.core.handler.hookpoint.controller.impl;
import io.dongtai.iast.core.EngineManager;
import io.dongtai.iast.core.handler.hookpoint.models.MethodEvent;
import io.dongtai.iast.core.utils.StackUtils;
import io.dongtai.log.DongTaiLog;
import java.lang.reflect.Method;
import java.util.*;
import java.... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
/*
* Copyright 2017 ~ 2025 the original author or authors. <<EMAIL>, <EMAIL>>
*
* 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
*
* ... |
package org.cryptomator.ui.model;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.StandardOpenOption;
import java.nio.f... |
package org.broadinstitute.hellbender.tools.walkers.haplotypecaller.graphs;
import org.broadinstitute.hellbender.utils.test.BaseTest;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.util.*;
public final class LowWeightChainPrunerUnitTest extends B... |
package mekanism.additions.client.model;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import javax.annotation.Nonnull;
import mekanism.additions.common.MekanismAdditions;
import mekanism.api.text.EnumColor;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import... |
package april.tag;
import april.jmat.*;
public class CameraUtil
{
/** Given a 3x3 homography matrix and the focal lengths of the
* camera, compute the pose of the tag. The focal lengths should
* be given in pixels. For example, if the camera's focal length
* is twice the width of the sensor, and th... |
package graphical_user_interface;
import controller.AccessController;
import controller.PlannerController;
import controller.TemplateController;
import javax.swing.*;
import java.awt.*;
/**
* Fetches data from controllers and put it inside JScrollPane.
*/
public class ViewData {
private final AccessController ... |
package org.gafs.flutter_plugin_playlist.playlist;
import org.gafs.flutter_plugin_playlist.data.AudioTrack;
import org.gafs.flutter_plugin_playlist.manager.PlaylistManager;
import org.gafs.flutter_plugin_playlist.notification.PlaylistNotificationProvider;
import android.app.Service;
import android.content.Context;
im... |
/**
* Copyright (C) 2014 Stratio (http://stratio.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
*
* Unless required by ap... |
/*
* Copyright (c) 2004-2010, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of
* c... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package superRainbowReef;
import superRainbowReef.Creature;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Rec... |
package edu.isi.wubble.physics.entity;
import static com.jme.input.InputHandler.AXIS_NONE;
import com.jme.bounding.BoundingBox;
import com.jme.input.InputHandler;
import com.jme.input.action.InputAction;
import com.jme.input.action.InputActionEvent;
import com.jme.input.util.SyntheticButton;
import com.jme.math.Quate... |
/* 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... |
/*
* Copyright (c) 2020 nacamar GmbH - Ybrid®, a Hybrid Dynamic Live Audio Technology
*
* 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 ... |
package de.fu_berlin.cdv.chasingpictures;
import android.app.Activity;
import android.content.Context;
import android.support.annotation.DrawableRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.ViewGroup;
import android.widget.TextView;
import com.mapbox.... |
package com.brenohff.whazzup.whazzup.models;
import com.brenohff.whazzup.whazzup.enums.*;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Created by breno.franco on 03/01/2019
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IvaoPilot extends IvaoClient {
private Integer groundspeed;
... |
package org.n3r.eql.eqler.generators;
import com.google.common.collect.Lists;
import lombok.Getter;
import lombok.Setter;
import lombok.val;
import org.n3r.eql.EqlPage;
import org.n3r.eql.EqlTran;
import org.n3r.eql.config.EqlConfig;
import org.n3r.eql.eqler.annotations.SqlId;
import org.n3r.eql.impl.EqlBatch;
import ... |
/*
The MIT License
Copyright (c) 2014 kong <<EMAIL>>
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, modify, merge, publ... |
/*
* GraphHopper Directions API
* You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time wind... |
/*
* 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 ... |
/*
* Gomoku 4 Android
* https://github.com/makaw/gomoku-droid
*
*/
package pl.net.kaw.gomoku_droid.app;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import an... |
/*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
/**
* 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... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the Licen... |
/*
* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) <2019> eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* is availa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
package com.gmail.chibitopoochan.soqlexec.soql;
import java.util.regex.Pattern;
/**
* WHEREあり
select id, username from user where profileid = '00748914CdSc'and isActive = true or company__c = 'ABCDE'
* サブクエリ、複雑なクエリあり
select id, username, (select id,name from ABC__r),company__c from Quote__c where createddat... |
package org.apache.ddlutils.platform.db2;
/*
* 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... |
/*
* $Id: TCPtoUART.java 793 2008-09-17 02:09:28Z takaya $
* Copyright (C) 2008 AIST, National Institute of Advanced Industrial Science and Technology
*
*/
package jp.go.aist.utils;
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.Seri... |
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-present, b3log.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the ... |
package euclidean_algorithm;
/**
* TODO: <br>
* <ul>
* <li> GCD calculation should be fine when either of the <br>
* numbers are zero </li>
* <li> Need to test more edge cases (larger numbers for example) </li>
* <li> Need to test with negative numbers </li>
* <li> 13x + 11y = 2, the algorithm comes up x = -10... |
// 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... |
package trabalhando.com.collections;
import java.util.*;
public class ExercicioOrdenacaoSetConjunto {
public static void main(String[] args) {
System.out.println("---Exibir ordem aleatoria----");
Set<CorArcoIris> corArcoIriss = new HashSet<>() {{ // HashSet-> ordem aleatoria
add(new... |
/*
* 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 ... |
package sorting.priorityQueues;
import libs.StdOut;
/********************************************************************
*
* Compilation: javac DoubleEndedPQ.java
* Execution: java DoubleEndedPQ
* Dependencies: StdOut.java
*
* Double-ended priority queue implemented with two heaps
*
* Limitations:
* - no o... |
package edu.nju.bl.serviceImpl;
import edu.nju.bl.service.AccountService;
import edu.nju.bl.service.AuthService;
import edu.nju.bl.service.HotelService;
import edu.nju.bl.service.RoomService;
import edu.nju.bl.strategy.DiscountStrategy;
import edu.nju.bl.vo.*;
import edu.nju.data.dao.AuthorityDao;
import edu.nju.data.... |
package cn.ehome.cart.controller;
import cn.ehome.cart.service.CartService;
import cn.ehome.common.util.CookieUtils;
import cn.ehome.common.util.EhomeResult;
import cn.ehome.common.util.JsonUtil;
import cn.ehome.pojo.TbItem;
import cn.ehome.pojo.TbUser;
import cn.ehome.service.ItemService;
import org.apache.commons.la... |
/*
* Copyright (c) 2018, hiwepy (https://github.com/hiwepy).
*
* 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... |
/**
* Copyright (c) 2011-2017, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
* <p/>
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package build... |
package Vistas;
import Controllers.ControladorEmpleado;
import Modelos.Empleado;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import java.util.Objects;
public class DatosEmpleado {
//Paneles
/**
* @param JPGeneral -> contenedor d... |
package mage.cards.d;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
import mage.abilities.common.LeavesBattlefieldAllTriggeredAbility;
import mage.abilities.common.ZoneChangeTriggeredAbility;
imp... |
package com.inputdata;
import com.graph.elements.edge.EdgeElement;
import com.graph.elements.vertex.VertexElement;
import com.graph.graphcontroller.Gcontroller;
import com.graph.graphcontroller.impl.GcontrollerImpl;
import com.inputdata.elements.Source;
import com.inputdata.elements.TrafficClass;
import com.inputdata.... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* http://www.project-hop.org
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
package br.com.zupacademy.lucaslacerda.mercadolivre.produto.cadastro;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
import javax.persistence.CascadeType;
import javax.persistence.Column;
imp... |
package net.cogzmc.core;
import lombok.Getter;
import lombok.NonNull;
import net.cogzmc.core.config.YAMLConfigurationFile;
import net.cogzmc.core.effect.TitleManager;
import net.cogzmc.core.effect.enderBar.EnderBarManager;
import net.cogzmc.core.effect.npc.SoftNPCManager;
import net.cogzmc.core.modular.ModularPlugin;
... |
package org.apache.taverna.mobile.adapters;
/**
* Apache Taverna Mobile
* Copyright 2015 The Apache Software Foundation
* This product includes software developed at
* The Apache Software Foundation (http://www.apache.org/).
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor lice... |
package com.quickserverlab.quickcached.binary;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.quickserverlab.quickcached.HexUtil;
import com.quickserverlab.quickcached.QuickCached;
import com.quickserverlab.quickcache... |
package frc.robot;
import frc.robot.AgencySystem;
import com.revrobotics.CANDigitalInput;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMax.IdleMode;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
import edu.wpi.first.wpilibj.DigitalInput;
public class Carousel extends AgencySystem{
... |
package erogenousbeef.bigreactors.common.multiblock.helpers;
import erogenousbeef.bigreactors.api.data.ReactantData;
import erogenousbeef.bigreactors.api.registry.Reactants;
import erogenousbeef.bigreactors.common.BigReactors;
import erogenousbeef.bigreactors.common.multiblock.MultiblockReactor;
import erogenousbeef.b... |
package org.irisa.genouest.logol;
import org.irisa.genouest.logol.utils.LogolUtils;
/**
* Expression class is used to manage logol expression using variables and integer combinations.
* <br/>It can be made of:
* <li>an interger: 3</li>
* <li>a variable reference: #SX1</li>
* <li>a combination of both: #... |
package org.apache.hadoop.hdfs;
import java.io.IOException;
import org.apache.hadoop.mapred.ReadMapper;
import org.apache.hadoop.mapred.Reduce;
import org.apache.hadoop.mapred.WriteMapper;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.FSDataInputStr... |
package nc.util;
import static nc.config.NCConfig.processor_particles;
import java.util.Random;
import nc.block.property.BlockProperties;
import nc.tile.fluid.ITileFluid;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
package controllers;
import helpers.FileHelper;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URLEncoder;
import java.util.Date;
import java.util.UUID;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurat... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the repository root.
package com.microsoft.tfs.client.common.ui.vc.serveritem;
import java.text.MessageFormat;
import org.eclipse.core.resources.IResource;
import com.microsoft.tfs.client.common.repository.TFSRepo... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ExtraFeatures;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.pers... |
/**
* Copyright (C) 2012-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (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/asl/
* or in the "license" file a... |
// Copyright 2010, <NAME>
//
// 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... |
package org.openxmlformats.schemas.wordprocessingml.x2006.main;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.net.URL;
import javax.xml.stream.XMLStreamReader;
import org.apache.poi.POIXMLTypeLoader;
import org.apache.xmlbeans.SchemaType;
import org.apa... |
package redhat.org.ipark.ui;
import android.os.Bundle;
import android.view.View;
import android.widget.ExpandableListView;
import androidx.appcompat.app.AppCompatActivity;
import java.util.ArrayList;
import java.util.List;
import butterknife.BindView;
import butterknife.ButterKnife;
import redhat.org.ipark.R;
impor... |
/*
* Copyright 2019 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 w... |
/*
* Filename: CameraCalib.java
* Author: <NAME>
* Team Name: Level Up
* Date: 8/24/19
*/
package org.firstinspires.ftc.teamcode.util.calib;
import android.util.Log;
import org.firstinspires.ftc.robotcontroller.internal.FtcRobotControllerActivity;
import org.firstinspires.ftc.teamcode.system.source.BaseRobot.Ro... |
package edu.isi.karma.cleaning;
import java.util.Vector;
public class Template implements GrammarTreeNode {
public static final int temp_limit = 2048;
public int supermode = 1;
public Vector<GrammarTreeNode> body = new Vector<GrammarTreeNode>();
public Vector<Vector<Integer>> indexes = new Vector<Vector<Integer>>... |
package org.apache.flex.forks.velocity.runtime.directive;
/*
* Copyright 2000-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... |
package com.justransform.model;
import java.security.Principal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
imp... |
package nl.weeaboo.styledtext.layout;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import nl.weeaboo.styledtext.StyledText;
import nl.weeaboo.styledtext.TextStyle;
import nl.weeaboo.styledtext.layout.RunSplitter.RunHandler;
import nl.weeaboo.styledtext.layout.RunSplitter.RunState;... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package scraping.sources;
import com.google.gson.JsonObject;
import common.Http;
import common.MyLogger.LEVEL;
import java.io.Unsuppor... |
/*
* Copyright (c) 2013-2019 <NAME>
*
* 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... |
/*
* Copyright 2015-2017 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... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2017 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
/*
* Copyright (C) 2020-2022 OpenPeppol AISBL (www.peppol.eu)
*
* 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... |
package ws.temple.conway;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferStrategy;
import java.util.Ar... |
package com.zyh.controller;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.H... |
package com.example.arthur.cabraldrums11.Class.Principais;
import android.app.Activity;
import android.app.AlertDialog;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
import android.content.DialogInterface;
... |
/*
* File: FunctionMinimizer.java
* Authors: <NAME>
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright November 5, 2007, Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000, there is a non-exclusive license for us... |
package sk.henrichg.phoneprofilesplus;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanResult;
import android.content.Context;
import android.os.Handler;
import android.os.PowerManager;
import java.util.List;
//@TargetApi(Build.VERSION_CODES.LOLLIPO... |
//Program to assemble Phi-X174 Genome from its K-Mer Composition.
import java.util.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
public class GenomeAssembly{
//class for reading the k-mers of the genome.
st... |
package videocache.m3u8;
import android.net.Uri;
import android.text.TextUtils;
import videocache.utils.ProxyCacheUtils;
import java.io.File;
import java.util.Locale;
import java.util.Map;
/**
* @author jeffmony
*
* M3U8文件中TS文件的结构
*/
public class M3U8Seg implements Comparable<M3U8Seg> {
private String mPare... |
import java.io.*;
import java.math.*;
import java.nio.file.*;
public class gamal {
private final String textFile = "Text.txt"; // z tekstowego(Text.txt)/z binarnego(binText.bin)
// private final String cryptedTextFile = "Crypted.txt";
private final int bitLength = 11;
private String text;
public User... |
/*
* 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 ... |
/*
* Copyright (C) 2017 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... |
package com.dotterbear.jobad.reader.html;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import org.jsoup.nodes.Document;
import org.slf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.