text
stringlengths
3.52k
24k
package net.mariottini.layout; import java.awt.*; /** * A layout manager that implements an extensible grid (mesh): cells in the same row get the same * height and cells in the same column get the same width. The row heights/column widths are * calculated calling getPreferredSize on the components of the row/colum...
package org.usfirst.frc.team1806.robot.game; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.usfirst.frc.team1806.robot.Constants; import org.usfirst.frc.team1806.robot.util.InterpolatingDouble; import org.usfirst.frc.team1806.robot.util.InterpolatingTreeMap; import edu.wpi.fir...
/* * 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")...
package io.quarkus.deployment.logging; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.FieldVisitor; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; import org.objectweb.a...
package Excel_classes; import Gui.*; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.GeneralSecurityException; import java.text.SimpleDate...
package com.gkh.stock; import android.content.Context; import android.hardware.SensorManager; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.util.Log; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.View; impor...
package org.oliot.epcis.service.query; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.oliot.epcis.service.query.mongodb.MongoQueryService; import org.oliot.model.epcis.ImplementationException; import org.oliot.model.epcis.NoSu...
package com.example.loravisual.screens.ExploreScreens; import android.Manifest; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageManager; import android.location.Location; import android.locati...
/******************************************************************************* * Copyright (c) 2009, 2015 Mountainminds GmbH & Co. KG and Contributors * 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...
package com.codepath.apps.restclienttemplate.adapters; import android.content.Context; import android.content.Intent; import android.os.Parcel; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.Te...
package org.paluchlab.agentcortex.analysis; import org.paluchlab.agentcortex.CortexModel; import org.paluchlab.agentcortex.io.SimulationReader; import org.paluchlab.agentcortex.io.TimePoint; import java.io.*; import java.nio.file.Files; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections...
/** Copyright (c) 2015, <NAME> and <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 conditions and t...
package com.teamlucidic.hax.entity.inventory; import org.lwjgl.opengl.GL11; import com.teamlucidic.hax.Main; import com.teamlucidic.hax.entity.living.Living; import com.teamlucidic.hax.entity.living.Player; import com.teamlucidic.hax.render.Texture; import com.teamlucidic.hax.render.gui.menu.Hud; public cl...
package com.king.demo; import com.king.demo.util.PriceUtil; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.util.TypedValue; import android.v...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
/* * Copyright (c) 2015, the IRMA Team * 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 conditio...
/* * Copyright (c) 2014-2016 <NAME> <jan[at]over9000.eu> * * 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, m...
/* * Copyright DISCO Open Source. All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of co...
package com.nicky.viewer; import com.nicky.brdfs.BRDF; import com.nicky.engine.*; import com.nicky.resources.Utilities; import com.nicky.viewer.Items.Rectangle; import com.nicky.viewer.Items.Sphere; import javafx.util.Pair; import org.joml.Vector2f; import org.joml.Vector3f; import java.io.BufferedReader; import java...
/* * Copyright (c) 2014. Real Time Genomics Limited. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notice...
/* * Licensed under the MIT license (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/MIT * * Unless required by applicable law or agreed to in writing, software * distributed under the License is ...
package goalplanner; import java.util.ArrayList; public abstract class TreeNode { public static final String PATH_SEPARATOR = "."; public enum Status { SUCCESS("success"), FAILURE("failure"), ACTIVE("active"), DEFAULT("default"); private String name; private Status(String name)...
package opener15; import tasks.AbstractTask; import tasks.Tester; import utils.OtherUtils; import utils.log.Logger; import java.util.*; import static utils.MyMath.isBitSet; import static utils.MyMath.setBit; //Answer: 2032707264 @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") public class Task_32 extends ...
/* * Copyright 2021 The University of Pennsylvania and Penn Medicine * * Originally created at the University of Pennsylvania and Penn Medicine by: * Dr. <NAME>; Dr. <NAME>; Dr. <NAME>; <NAME>; and Dr. <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/** * Copyright 2013-2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourie...