blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
e9e79c6019df8ec893ee607616a2e8884d4415f7 | Java | qiuchili/ggnn_graph_classification | /program_data/JavaProgramData/80/182.java | UTF-8 | 4,923 | 2.5625 | 3 | [
"MIT"
] | permissive | //====================================================================================================
//The Free Edition of C++ to Java Converter limits conversion output to 100 lines per snippet.
//To purchase the Premium Edition, visit our website:
//https://www.tangiblesoftwaresolutions.com/order/order-cplus-to-ja... | true |
97c17eedaf00872719dc7454a448c6ffad69ac5c | Java | andew-Forche/2020Projects | /ForcheGuessWho/Chewbacca.java | UTF-8 | 271 | 2.796875 | 3 | [] | no_license | public class Chewbacca extends Smuggler implements Pilot{
public Chewbacca(){
super("Chewbacca","Light Side","Rebel, Resistance",true);
}
public boolean pilot(){
return true;
}
public String wookie(){
return "wookie";
}
} | true |
24490ea17581556c5f2c4e45617985a6756d10e9 | Java | dansel55/Matricula_Documental | /src/main/java/ec/edu/espe/distribuidas/Sist_Matricula_Doc/dao/AsignaturaRepository.java | UTF-8 | 1,266 | 1.726563 | 2 | [] | no_license | /*
* Copyright (c) 2021 Usuario.
* 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:
* Usuario - init... | true |
78ae07cab3e6b51067ae6b5e56bd12de0ed8dfa7 | Java | RomanMorozov88/Managing_users_and_roles | /src/main/java/morozov/ru/services/validateservice/ValidateService.java | UTF-8 | 3,776 | 2.75 | 3 | [] | no_license | package morozov.ru.services.validateservice;
import morozov.ru.models.Role;
import morozov.ru.models.createupdateanswers.NegativeAnswer;
import morozov.ru.models.users.UserWithRoles;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.u... | true |
da7af4e235b5c966bb49d2fed8f9368e550ef539 | Java | admindxh/test7oa | /src/com/oa/manager/crm/client/bean/Info.java | UTF-8 | 8,831 | 1.875 | 2 | [] | no_license | package com.oa.manager.crm.client.bean;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
/**
* Info entity. @author MyEc... | true |
be08393855c9a0e27d1fb500607aaaa89cc2eb31 | Java | kanwhile/Project54IT | /app/src/main/java/com/projects/mypillapp/Model/EventModel.java | UTF-8 | 436 | 1.664063 | 2 | [] | no_license | package com.projects.mypillapp.Model;
/**
* Created by นนทรักษ์ on 29/10/2558.
*/
public class EventModel {
public int id = -1;
public String name_event;
public String location;
public String name_docter;
public String detail_event;
public int hour;
public int minute;
public int day;
... | true |
99fdfc8e86450912fe2e7354ca361de55c96c64f | Java | ajodochus/joomlaPageFactory | /src/test/java/pages/AuthorLogoutPage.java | UTF-8 | 409 | 1.585938 | 2 | [] | no_license | package pages;
import org.apache.log4j.Logger;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import utils.BasePage;
public class AuthorLogoutPage extends BasePage {
final static Logger logger = Logger.getLogger(AuthorLogoutPage.class);... | true |
cc0062999a75fe6e6d9b6ee0de65981828d673cc | Java | jimibue/cs1410 | /src/assign7/StringListTester.java | UTF-8 | 3,330 | 3.671875 | 4 | [] | no_license | package assign7;
/**
* This class test the StringList class
* @author James Yeates
*
*/
public class StringListTester {
public static void main(String[] args) {
StringList sList = new StringList();
if(sList.size() != 0)
System.out.println(getLine()+ " sList.size() != 0, sList.size() equals should ... | true |
32d2064df4ba4a34155e307554d0e59233ff9307 | Java | jitchow/WebaleChess | /GameManagement.java | UTF-8 | 4,309 | 3.21875 | 3 | [] | no_license | import java.util.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.Image;
import java.awt.event.*;
import java.text.*;
import java.io.*;
//This class is used to save, load and delete games from files
public class GameManagement
{
//This is the file ... | true |
ba7280425d6bafd0a8962943696fb13ac46aedb4 | Java | Krith-10/Java-Programs | /JDBC/DatabaseDemo.java | UTF-8 | 3,677 | 3.109375 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.sql.*;
public class DatabaseDemo {
public static void retrieveAll(String url, String uname, String pwd) throws Exception {
//To retrieve all data from the MySQL
String query = "SELECT * "
+ "FROM student ";
Class.... | true |
988b92be8f3ef26ebb28d8a4e0af347351914aab | Java | keramist/zmailserver | /ZmailServer/src/java/org/zmail/cs/account/accesscontrol/PresetRight.java | UTF-8 | 1,815 | 1.757813 | 2 | [
"MIT"
] | permissive | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2009, 2010, 2011, 2012 VMware, 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... | true |
05c825e2d3c4f1b006501b4f13aa48d506cda842 | Java | SkippyNor/nvdb-api-client | /src/main/java/no/vegvesen/nvdbapi/client/clients/RoadObjectClient.java | UTF-8 | 11,412 | 1.78125 | 2 | [
"BSD-2-Clause"
] | permissive | /*
* Copyright (c) 2015-2017, Statens vegvesen
* 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 ... | true |
c8d041a9e0c777311ddfd6b253b35470a7377da5 | Java | cutipiee/projects | /basicPrograms/src/com/java/threads/FileSearch.java | UTF-8 | 1,233 | 3.546875 | 4 | [] | no_license | package com.java.threads;
import java.io.File;
public class FileSearch implements Runnable{
private String initPath, fileName;
public FileSearch(String initPath, String fileName) {
this.initPath=initPath;
this.fileName=fileName;
}
@Override
public void run() {
File file=new File(init... | true |
5dbc46bcfe65e8e432ceacdb5795841f7532f682 | Java | TheEricLam/LamE_APCS_Spring2k17 | /TextExcel/src/textExcel/TextCell.java | UTF-8 | 483 | 2.859375 | 3 | [] | no_license | package textExcel;
public class TextCell implements Cell {
private String values;
public TextCell(String strValue){
values = strValue;
}
public TextCell(){
}
@Override
public String abbreviatedCellText() {
// TODO Auto-generated method stub
return " ";
}
@Override
public String fullC... | true |
95f3247002367967623de2db390bbfe423a824cc | Java | xinjieyanlearner/estore | /src/main/java/com/briup/app/estore/service/impl/LineService.java | UTF-8 | 923 | 1.953125 | 2 | [] | no_license | package com.briup.app.estore.service.impl;
import org.apache.ibatis.session.SqlSession;
import com.briup.app.estore.bean.Orderline;
import com.briup.app.estore.mapper.CustomerMapper;
import com.briup.app.estore.mapper.OrderlineMapper;
import com.briup.app.estore.service.ILineService;
import com.briup.app.estore.util.... | true |
66aae496b80e1afb3ac5eafbc463b0ee7585247f | Java | zneb97/DSA-17 | /search-engine/day02/src/WikiSearch.java | UTF-8 | 4,928 | 3.03125 | 3 | [] | no_license | import java.io.IOException;
import java.util.*;
import java.util.Map.Entry;
import redis.clients.jedis.Jedis;
public class WikiSearch {
// map from URLs that contain the term(s) to relevance score
private Map<String, Integer> map;
private Index index;
public WikiSearch(Map<String, Integer> map) {
... | true |
937b59adbc50a8e27caaad9ce2b4e9ac96b7718c | Java | hxfirefox/hangman | /src/test/java/HangmanGameTest.java | UTF-8 | 2,700 | 2.71875 | 3 | [] | no_license | import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Created by hx on 16-1-22.
*/
public class HangmanGameTest {
private HangmanGame hangmanGame;
@Before
public void setUp() throws Exception {
hangmanGame = new ... | true |
79cc6897fea29375f034f8d000e64201cdf70f53 | Java | bcdev/calvalus2 | /calvalus-wps-impl/src/test/java/com/bc/calvalus/wps/cmd/CommandLineWrapperTest.java | UTF-8 | 1,500 | 2.421875 | 2 | [] | no_license | package com.bc.calvalus.wps.cmd;
/**
* @author hans
*/
public class CommandLineWrapperTest {
// @Ignore
// @Test
// public void canExecute() throws Exception {
// CommandLineWrapper cmd = new CommandLineWrapper();
//// String workingDirectoryPath = "C:\\Projects\\calvalus\\calvalus-wps-impl\\... | true |
4b60486c64c2165f566e026da45aaac5d5e02726 | Java | MakamuEvans/MyNote | /app/src/main/java/layout/NotesFragment.java | UTF-8 | 11,812 | 1.78125 | 2 | [] | no_license | package layout;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.su... | true |
b5280499592bf70b346c23902d27a3ee79dd3a84 | Java | renclav/SampleAppFragmentless | /app/src/main/java/com/touchnote/renclav/touchnotesampleapp/data/Clue.java | UTF-8 | 3,717 | 2.609375 | 3 | [] | no_license | package com.touchnote.renclav.touchnotesampleapp.data;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Renclav on 2016/11/04.
*/
public class Clue implements Parcelable {
private String id;
private String description;
private... | true |
cb7e89a841eb81a958d8716ae5e81bb9424ee190 | Java | a124001/DataStrucutres | /src/mathematics/LCMTest.java | UTF-8 | 507 | 2.390625 | 2 | [] | no_license | package mathematics;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class LCMTest {
@Test
void test() {
LCM lcm = new LCM();
assertEquals(lcm.getLCMNaive(4, 6), 12);
assertEquals(lcm.getLCMNaive(12, 15), 60);
assertEquals(lcm.getLCMNaive(2, 8), 8);
assertEquals(lcm.g... | true |
176ea1e5b414f16d234313cf518c15a0b5d69cff | Java | batfish/batfish | /projects/batfish-common-protocol/src/main/java/org/batfish/specifier/ReferenceAddressGroupIpSpaceSpecifier.java | UTF-8 | 2,643 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package org.batfish.specifier;
import static com.google.common.base.MoreObjects.firstNonNull;
import com.google.common.base.MoreObjects;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.stream.Collectors;
import org.batfish.datamodel.AclIpSpace;
import org.batfish.datamodel.EmptyIpS... | true |
7407ee7d2f8f6a2a0f6957d3184d9435ab27877d | Java | baraabilal/cmps252_hw4.2 | /src/cmps252/HW4_2/UnitTesting/record_3207.java | UTF-8 | 2,436 | 2.71875 | 3 | [
"MIT"
] | permissive | package cmps252.HW4_2.UnitTesting;
import static org.junit.jupiter.api.Assertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import cmps252.HW4_2.... | true |
fb68ab6b754564ee94cafc81f72251709463861a | Java | Thegixe/Evaluacion3 | /Evaluacion3JavaMedico/src/java/modelos/Atencion.java | UTF-8 | 3,853 | 2.53125 | 3 | [] | no_license | /*
* 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 modelos;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
/**
*
* @author ... | true |
a4068120a14c7137910303063307d0578e708767 | Java | amercier/selenese-maven-plugin | /src/main/java/com/github/amercier/selenium/selenese/document/TestCaseDocument.java | UTF-8 | 3,124 | 2.59375 | 3 | [] | no_license | package com.github.amercier.selenium.selenese.document;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import org.w3c.dom.DOMException;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import com.github.amercie... | true |
b9c34b74b4d56f2d9523b899240773d8bad1fbdd | Java | zohrearani/Text-processing | /semantic /src/main/java/ir/mitrc/corpus/api/Term.java | UTF-8 | 409 | 2.5625 | 3 | [] | no_license | package ir.mitrc.corpus.api;
public class Term {
String lemma="";
String pos="";
int frequency=0;
public Term(String lemma,String pos,int frequency){
this.lemma=lemma;
this.pos=pos;
this.frequency=frequency;
}
public String getLemma(){
return this.lemma;
}
public String getPos(){
re... | true |
aeb3a5bd17c0c2279d86b6f586413232509ef077 | Java | ezio341/Java-Socket | /src/practicum/PortScanner.java | UTF-8 | 1,869 | 2.953125 | 3 | [] | no_license | /*
* 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 practicum;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.util.ArrayList;
... | true |
ae386567f7dfe4ac2db24014bc44ce0238dc0939 | Java | PrathyushaLakshmi10/Dxc_hyd_2020 | /Dxc first/src/com/dxc/studentfee/Admin.java | UTF-8 | 1,843 | 2.71875 | 3 | [] | no_license | package com.dxc.studentfee;
import java.io.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement ;
public class Admin
{
public void addaccountant(BufferedReader ObjBufferedReader,Connection connection)
{
try... | true |
b4c22be819199c22b84a104b02f7a0d30b9fab07 | Java | pydawan/marmitas | /src/main/java/br/com/saborgoiano/marmitas/controller/AutenticacaoController.java | UTF-8 | 719 | 1.929688 | 2 | [
"Apache-2.0"
] | permissive | package br.com.saborgoiano.marmitas.controller;
import javax.inject.Inject;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import br.com.caelum.vraptor.Controller;
import br.com.caelum.vraptor.Get;
import br.com.caelum.vraptor.Post;
import br.com.caelum.vraptor.Result;
/**
* @autho... | true |
2a4e5cba5de2d6cfc67fb2601042549972a92103 | Java | paragmahajan29/Book-Shop-simulation | /src/Movie.java | UTF-8 | 3,078 | 3.5625 | 4 | [] | no_license |
/**
* Movie class defines each movies information.
*
* @author Parag Mahajan
* @version 1.1 14 Sept 2014
*/
public class Movie extends Media
{
// instance variables
private String director;
private String producer;
private String fileType;
//constructer of movie
public Movie(String tit... | true |
cf02978f8f3e33c54f286046fc01618e30ba1d5c | Java | developer-os/whh | /src/main/java/com/whh/patterns/observer/Subject.java | UTF-8 | 229 | 2.53125 | 3 | [] | no_license | package com.whh.patterns.observer;
/**
*
* @desc:
*/
public interface Subject {
public void registerObserver(Observer observer) ;
public void removeObserver(Observer observer) ;
public void notifyObserver();
}
| true |
7688de41e4580c8af7766f374b77edd04dc72a1b | Java | pescuma/swt-paperclips | /net.sf.paperclips.tests/src/net/sf/paperclips/SimplePageDecorationTest.java | UTF-8 | 730 | 2.03125 | 2 | [] | no_license | /*
* Copyright (c) 2007 Matthew Hall and others.
* 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
*
* Contributo... | true |
ba6976b2638c7c8bdf4ce0aaaedd0a233544a837 | Java | vrakoto/Android-medecin | /app/src/main/java/com/example/sio/android_medecin/MedAdapter.java | UTF-8 | 1,298 | 2.4375 | 2 | [] | no_license | package com.example.sio.android_medecin;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;
import modele.Med;
public class MedAdapter extends BaseAdapt... | true |
2be7fa7b62ff7da6e3b9e6db11133dfd0c26b55d | Java | voghoei/DawgTrades | /src/java/edu/uga/dawgtrades/persistence/impl/MembershipIterator.java | UTF-8 | 2,214 | 2.75 | 3 | [] | no_license | package edu.uga.dawgtrades.persistence.impl;
import java.sql.ResultSet;
import java.util.Date;
import java.util.Iterator;
import java.util.NoSuchElementException;
import edu.uga.dawgtrades.DTException;
import edu.uga.dawgtrades.model.Membership;
import edu.uga.dawgtrades.model.ObjectModel;
public class MembershipIte... | true |
0ef83774fa9595d9bdb4b48423ee8534940bb7d5 | Java | zhangxiaoxu132113/hadoop-mapreduce | /src/main/java/com/water/hadoop/mapreduce/demo02_wordCount_hbase/MyMapper.java | UTF-8 | 1,168 | 2.578125 | 3 | [] | no_license | package com.water.hadoop.mapreduce.demo02_wordCount_hbase;
import org.apache.hadoop.hbase.client.Result;
import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
import org.apache.hadoop.hbase.mapreduce.TableMapper;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.io.IntWritable;
import org.apache.... | true |
73fa7114fdf8276e3d94ee62e634f4a2f0d308b7 | Java | Hopding/MERP | /rpi-code/src/main/java/com/hopding/merp/rpi/ClientConnection.java | UTF-8 | 4,278 | 3.390625 | 3 | [
"MIT"
] | permissive | package com.hopding.merp.rpi;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
* Represents the current Client connection. Information can be received from the client
* using this Class.... | true |
d02335c24b886fd3c4b5ad3e64a50eb076f25e12 | Java | rmetzger/flink | /flink-python/src/main/java/org/apache/flink/table/runtime/arrow/readers/ArrowFieldReader.java | UTF-8 | 1,684 | 2.265625 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"OFL-1.1",
"MIT",
"BSD-3-Clause",
"ISC"
] | permissive | /*
* 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 ... | true |
75d1c915e521bed9e5ba4985e5e1683125df637b | Java | i3mainz/spring-netatmo | /social/src/main/java/org/springframework/social/netatmo/api/PublicWeatherParameter.java | UTF-8 | 1,561 | 2.265625 | 2 | [] | no_license | /**
*
*/
package org.springframework.social.netatmo.api;
import java.util.List;
/**
* @author Nikolai Bock
*
*/
public class PublicWeatherParameter {
private double latSW;
private double lonSW;
private double latNE;
private double lonNE;
private List<String> requiredData;
private Boolea... | true |
9c600781481a8759c72c4e93bb48def0e337a970 | Java | iantal/AndroidPermissions | /apks/apks_from_phone/data_app_com_monefy_app_lite-2/source/a/a/a/g.java | UTF-8 | 104 | 1.734375 | 2 | [
"Apache-2.0"
] | permissive | package a.a.a;
public abstract interface g<T, TResult>
{
public abstract TResult select(T paramT);
}
| true |
dfaa424a0f90ce6526e12a6012d2deac0f4231c9 | Java | happyjianguo/pay-1 | /Common/FO/fo-jar/fo-intra-web/src/main/java/com/pay/fo/controller/channel/mode/FoModeController.java | UTF-8 | 4,640 | 2.140625 | 2 | [] | no_license | /**
* File: FoModeController.java
* Description:
* Copyright 2010 -2010 pay Corporation. All rights reserved.
* 2010-10-28 Sunsea.Li Changes
*
*/
package com.pay.fo.controller.channel.mode;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;... | true |
cef647ba74a809649f53b411d1e7c3bbd0174885 | Java | hayworks/currency-exchange-app | /src/test/java/com/searchmetrics/currencyexchange/controller/CurrencyRatesControllerTest.java | UTF-8 | 2,590 | 2.328125 | 2 | [] | no_license | package com.searchmetrics.currencyexchange.controller;
import com.searchmetrics.currencyexchange.exception.DateValidationException;
import com.searchmetrics.currencyexchange.facade.CurrencyRateFacade;
import com.searchmetrics.currencyexchange.model.CurrencyRate;
import com.searchmetrics.currencyexchange.model.dto.Curr... | true |
75fd4298aa665ed9922a736be733c8d4994fd1f7 | Java | namtruong244/shop-management | /src/main/java/com/shopmanagement/entity/BaseEntity.java | UTF-8 | 319 | 1.875 | 2 | [] | no_license | package com.shopmanagement.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
public abstract class BaseEntity implements Serializable {
protected String id;
protected int deleteFlg = 0;
protected Date createAt = new Date();
protected Date updateAt = new Date();
}
| true |
74816f92815560ae77e385cd94de600b6aed2af7 | Java | motthoangnhove/Branch | /adcsaleagrotech2020/ADCSaleAgrotechFinal/app/src/main/java/com/adcvn/adcsaleagrotech/common/ToJsonString.java | UTF-8 | 1,683 | 2.5625 | 3 | [] | no_license | package com.adcvn.adcsaleagrotech.common;
import java.lang.reflect.Method;
import java.math.BigDecimal;
public class ToJsonString {
// list order to string json
public static String getJSONList(java.util.List<Object> list, String classObject, String segNum, String productCode, String quantity, String unitPrice... | true |
391777588473d7d00155153809e4abb983864fac | Java | FRCTeam4069/FTC2020 | /TeamCode/src/main/java/org/firstinspires/ftc/teamcode/tutorials/BasicTankDrive.java | UTF-8 | 1,554 | 2.71875 | 3 | [
"BSD-3-Clause"
] | permissive | package org.firstinspires.ftc.teamcode.tutorials;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
... | true |
0f31733fc1ecc5fa36db879db600439fb7359329 | Java | elaghs/jkind | /jkind/src/jkind/engines/pdr/Lustre2Term.java | UTF-8 | 7,509 | 2.140625 | 2 | [
"BSD-3-Clause"
] | permissive | package jkind.engines.pdr;
import java.util.ArrayList;
import java.util.List;
import de.uni_freiburg.informatik.ultimate.logic.Script;
import de.uni_freiburg.informatik.ultimate.logic.Term;
import jkind.lustre.ArrayAccessExpr;
import jkind.lustre.ArrayExpr;
import jkind.lustre.ArrayUpdateExpr;
import jkind.lustre.Bin... | true |
2951397fc16a1f0bfb4ce7bdf25a4418fb9535cf | Java | morrisbrandon2493/moca-language-server | /src/main/java/com/github/mrglassdanny/mocalanguageserver/util/lsp/PositionUtils.java | UTF-8 | 3,923 | 2.734375 | 3 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | package com.github.mrglassdanny.mocalanguageserver.util.lsp;
import java.util.Comparator;
import java.util.regex.Pattern;
import org.eclipse.lsp4j.Position;
import org.eclipse.lsp4j.Range;
public class PositionUtils {
public static final Comparator<Position> COMPARATOR = (Position p1, Position p2) -> {
... | true |
0cd1831e75454ed83b351b8508160eecc2244150 | Java | jiyulongxu/jbone | /jbone-cms/jbone-cms-portal/src/main/java/cn/jbone/cms/portal/WebConfig.java | UTF-8 | 907 | 1.914063 | 2 | [
"Apache-2.0"
] | permissive | package cn.jbone.cms.portal;
import cn.jbone.cms.portal.intercepter.CommonInterceptor;
import cn.jbone.cms.portal.ui.JboneDialect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Bean;
... | true |
c444918bbf0fdb1463fc403a9ced010cc555f75d | Java | boanergepro/pago-movil-banco-venezuela-unofficial | /app/src/main/java/com/boanergepro/pagomovil/resources/Bank.java | UTF-8 | 1,248 | 2.296875 | 2 | [] | no_license | package com.boanergepro.pagomovil.resources;
/**
* Created by boanergepro on 18/04/18.
*/
public class Bank {
public static final String[] bancos = {
"BANCO DE VENEZUELA (BDV)",
"BFC Banco Fondo Común",
"Mercantil",
"Provincial",
"Banesco",
... | true |
4a418e56b845dd5322251d751477c6de488f9c02 | Java | soloyes/geekbrains | /JavaLevel2/geekbrains_day6/src/ru/geekbrains/server/Server.java | UTF-8 | 1,135 | 2.9375 | 3 | [] | no_license | package ru.geekbrains.server;
import ru.geekbrains.CrossMonitor;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
private Socket socket;
private ServerSocket serverSocket;
public Server() {
try {
serverSocket = new ServerSocket(8888);
... | true |
3e90eee66b623ed38cb7e29d2cc6abd1bb117e6f | Java | mehmetozanguven/Programming-Fundemantals | /Homework 5/src/main/EstateAgentApp.java | UTF-8 | 375 | 1.835938 | 2 | [] | no_license | package main;
import java.io.FileNotFoundException;
import domain.*;
import fileAccessLayer.*;
import presentation.*;
public class EstateAgentApp {
public static void main(String[] args) throws FileNotFoundException{
EstateAgent estateAgent = new EstateAgent();
SwingPresentation s1 = new SwingPrese... | true |
be4171e3b226cff7780a881120bec19674e7ed27 | Java | duttpatel/Library-System-java-console | /src/View/Author.java | UTF-8 | 1,079 | 3.078125 | 3 | [] | no_license | package View;
public class Author {
private String authorId;
private String authorName;
private String authorDescription;
private static int authorCount = 101;
public Author(String authorName, String authorDescription) {
super();
this.authorId = autoIncrementId();
this.authorName = authorName;
thi... | true |
21f7241dbfd54c6e4e9cde8012668e859d542453 | Java | atharvaspatkar/smartparkingsystem | /android/app/src/main/java/com/example/dell/intelligentparkingsystem/MainActivity.java | UTF-8 | 1,204 | 2.046875 | 2 | [] | no_license | package com.example.dell.intelligentparkingsystem;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.content.Intent;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCr... | true |
f97b0d64d5b3fc9157ecc8a70868cbe197f19e7e | Java | apache/nifi | /nifi-commons/nifi-security-utils/src/test/java/org/apache/nifi/security/util/crypto/CipherUtilityTest.java | UTF-8 | 14,120 | 1.976563 | 2 | [
"CC0-1.0",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | /*
* 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 ... | true |
21a92b4594e91bf60730d735dda7d6d6c62a2890 | Java | yxzandra/EvaTaxi | /app/src/main/java/com/ismcenter/evataxiapp/Adaptador/MontoPorServicioAdapter.java | UTF-8 | 2,053 | 2.34375 | 2 | [] | no_license | package com.ismcenter.evataxiapp.Adaptador;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.ismcenter.evataxiapp.Modelos.Response.ResponseHistoryAcceptService... | true |
adbd4f1b93520bd3499df4c64fdf342f58b982ea | Java | DMalonas/ArrayManipulations | /ArrayRotations/src/RotateMethods.java | UTF-8 | 142 | 1.960938 | 2 | [] | no_license |
public interface RotateMethods {
int[] rotateLeftXpositions(int[] arr, int pos);
int[] rotateRightXpositions(int[] arr, int pos);
}
| true |
7df3f9c50c8ff3b054f659e16f6f7d4181976846 | Java | Anany-Gupta/DSA_codes | /CodeForces/800-1000/BeautifulMartrix.java | UTF-8 | 533 | 3 | 3 | [] | no_license | import java.util.Scanner;
public class BeautifulMartrix {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int m[][] = new int[5][5];
int a=0;
int b=0;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
m[i][j... | true |
691dc92246487913e450f437e909c2bc9c485146 | Java | pili-engineering/PLDroidShortVideo | /ShortVideoUIDemo/app/src/main/java/com/qiniu/shortvideo/app/utils/GlideImageLoader.java | UTF-8 | 411 | 2.046875 | 2 | [
"Apache-2.0"
] | permissive | package com.qiniu.shortvideo.app.utils;
import android.content.Context;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.youth.banner.loader.ImageLoader;
public class GlideImageLoader extends ImageLoader {
@Override
public void displayImage(Context context, Object path, ImageView... | true |
93600d75f0ee37dcc55ac390aa78436f4ab82329 | Java | GiamoE/DiscordBot | /src/main/java/emily/command/administrative/BanCommand.java | UTF-8 | 1,654 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2017 github.com/kaaz
*
* 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... | true |
f6737f9a2d8e718e012215ad02330e4a42feeba8 | Java | eexxyyq/task-solutions | /src/test/java/ru/eexxyyq/solutions/tasks/week2/Task8Test.java | UTF-8 | 534 | 2.203125 | 2 | [
"MIT"
] | permissive | package ru.eexxyyq.solutions.tasks.week2;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class Task8Test {
@Test
void solution() {
assertEquals(0, Task8.solution(new int[][]{}));
assertEquals(0, Task8.solution(new int[][]{{0}}));
assertEquals(1, ... | true |
e55109b9cbe3f4d439d26bfccbfc3696d2d1626c | Java | JacobGonzales116/Demo1 | /src/main/java/javafx/Demo1.java | UTF-8 | 742 | 2.65625 | 3 | [] | no_license | package javafx;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.net.URL;
public class Demo1 extends Application {
public static void main(String[] args){
// maybe do other startup here
... | true |
9c4599e4c8afbb2ee5f96af4791e1ac7b905c17d | Java | mateuslima2/LAB5_PARTE1_MATEUS_DE_LIMA_OLIVEIRA | /src/models/CenarioWithBonus.java | UTF-8 | 2,047 | 3.25 | 3 | [] | no_license | package models;
public class CenarioWithBonus extends Cenario {
private int bonus;
public CenarioWithBonus(String descricao, int bonus) {
super(descricao);
if(bonus == 0)
throw new IllegalArgumentException("Erro no cadastro de cenario: Bonus invalido");
this.bonus = bonus;
}
/**
*soma valores de ap... | true |
f4558449e4f052a4052a7f47db7d37161773ebfc | Java | gaganadeeputs/CorporateHealthPro | /src/main/java/org/gagan/sap/messanger/model/AssesmentQuestionChoiceDTO.java | UTF-8 | 643 | 2.234375 | 2 | [] | no_license | package org.gagan.sap.messanger.model;
public class AssesmentQuestionChoiceDTO {
private int id;
private String value;
private String type;
public AssesmentQuestionChoiceDTO() {
}
public AssesmentQuestionChoiceDTO(int id, String value, String type) {
super();
this.id = id;
this.value = value;
this.ty... | true |
7cf3162a2cddf31164e80dda45f796172b19585f | Java | IT-CAMP4/2021.04.25-ioc | /src/main/java/pl/camp/it/App.java | UTF-8 | 552 | 1.867188 | 2 | [] | no_license | package pl.camp.it;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import pl.camp.it.configuration.AppConfiguration;
import pl.camp.it.configuration.AppConfiguration2;
import pl.camp.it.gui.GUI;
public class App {
public sta... | true |
e62ee6ca9054a9934d41655a614ed76ebf320842 | Java | nscharrenberg/DOG-Sanctuary | /auth/src/main/java/com/nscharrenberg/dogsanctuary/auth/AuthApplication.java | UTF-8 | 1,523 | 2.328125 | 2 | [
"MIT"
] | permissive | package com.nscharrenberg.dogsanctuary.auth;
import com.nscharrenberg.dogsanctuary.auth.model.AppUser;
import com.nscharrenberg.dogsanctuary.auth.repositories.UserRepository;
import com.nscharrenberg.dogsanctuary.auth.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... | true |
5def38ba71078b0a5653adf50e54ab14fef20af1 | Java | rupashrimohan/Inheritance-concepts--Java | /InheritanceConcept/src/example/two/superkeyword/SuperClass.java | UTF-8 | 257 | 2.25 | 2 | [] | no_license | package example.two.superkeyword;
public class SuperClass {
public static void main(String[] args) {
// TODO Auto-generated method stub
Two example=new Two();
{
example.valueOfx();
example.printxvalue();
example.valueofy();
}
}
}
| true |
6d1d706a9994da8d14d39e5acf3661d04bc0b6ef | Java | jnlycklama/mustela | /app/src/main/java/com/example/jnlycklama/mustela/MainActivity.java | UTF-8 | 4,525 | 2.1875 | 2 | [] | no_license | package com.example.jnlycklama.mustela;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
... | true |
b594b1163024fe50822d689e136bbbc804743e41 | Java | SergRocket/LearnOOP | /src/main/java/Bird_Pigeon.java | UTF-8 | 244 | 2.921875 | 3 | [] | no_license | public class Bird_Pigeon extends Bird {
public static void main (String[] args){
Bird_Pigeon bP = new Bird_Pigeon();
bP.Sign();
}
public void Sign(){
System.out.print("Голуб курликає");
}
}
| true |
4fd5c0821dbd7db7a8b7b058cd7c794ee0f90aa9 | Java | killvxk/graphicsfuzz | /reducer/src/main/java/com/graphicsfuzz/reducer/reductionopportunities/GlobalDeclarationReductionOpportunity.java | UTF-8 | 1,662 | 2.046875 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | /*
* Copyright 2018 The GraphicsFuzz Project 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | true |
fe472d2ed452446b355da6780ce550b3c0e9ed8a | Java | AttiaRoi/MyNotes | /app/src/main/java/roiattia/com/mynotes/database/DateTimeTypeConverter.java | UTF-8 | 535 | 2.359375 | 2 | [] | no_license | package roiattia.com.mynotes.database;
import android.arch.persistence.room.TypeConverter;
import org.joda.time.LocalDate;
import org.joda.time.LocalDateTime;
public class DateTimeTypeConverter {
@TypeConverter
public static LocalDateTime toLocalDateTime(Long timeStamp){
return timeStamp == null ? n... | true |
c2d8d215111edc917cda746996b1a74866d34f0f | Java | betterdevstomorrow/tdd | /tdd-example/src/test/java/SubDateTest.java | UTF-8 | 943 | 2.609375 | 3 | [] | no_license | import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class SubDateTest {
private SubDate subDate;
@Before
public void init() {
subDate = new SubDate();
}
@Test
public void testGetYearDay() {
... | true |
c5fb375b3ffcd4931fdeb877d6e1ba22e03249ea | Java | Padepokan79/BootCampG7 | /Ryan/07052018/Exercise4/Drill/PrintingChoicesEscapes.java | UTF-8 | 668 | 3.703125 | 4 | [] | no_license | public class PrintingChoicesEscapes {
public static void main(String[] args) {
// Latihan ini menunjukan cara keluar dari komen dan rangkaian (Seperti berikut)!
System.out.print("Learn\tJava\n\tthe\nHard\tWay\n\n\tLearn Java the \"Hard\" Way!\nHeloo\nJello\by\nHard to belive, eh?\nSurprised? /* abade */ Or what di... | true |
a4433040480825314764a15bf3270685c6d41878 | Java | Grandexing/leetcode-java | /src/Caculator1.java | UTF-8 | 6,355 | 3.359375 | 3 | [] | no_license | import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
public class Caculator1 {
public static void main(String[] args) {
List<Object> postfix = infixToPostfix("3+(2-5)*6/3");
for (Object p:postfix
) {
System.out.print(p);
... | true |
0e2f4017f2cc376a58473f3409603cd446de2595 | Java | vuminhquanvanthanh/nopbaiproject | /MINF15_VUMINHQUAN_Automata/src/presentation/Vertex.java | UTF-8 | 2,605 | 3 | 3 | [] | no_license | package presentation;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import automata.CoordinateState;
/**
* @author VuMinhQuan
*
*/
public class Vertex {
private Point2D position;
private CoordinateState info;
private VertexType typeVe... | true |
a43a785e960d5385c2d5dc14578b65e3953535f7 | Java | jorgeluis1245/proyectoAppFinal | /TEACHINGLINExddd/app/src/main/java/com/material/lineteachin3/Profesor.java | UTF-8 | 1,475 | 1.976563 | 2 | [] | no_license | package com.material.lineteachin3;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import... | true |
a92c3ff0ec2387c864626bb89a83d134f91d2710 | Java | NCIP/cagrid2 | /cagrid-gts/cagrid-gts-service-tools/src/main/java/org/cagrid/gts/service/tools/CreateHostCertificate.java | UTF-8 | 3,745 | 2.390625 | 2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | package org.cagrid.gts.service.tools;
import java.io.File;
import java.security.GeneralSecurityException;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.security.Security;
import java.security.cert.X509Certificate;
import java.util.Calendar;
import java.util.Date;
import java.util.Gregorian... | true |
d71faf91d725e52e34e84b434fbca7cbf7d12f21 | Java | Tyf0n/CS_Coursework | /CS334-Programming_Languages/hw8/EditCommand.java | UTF-8 | 875 | 3.328125 | 3 | [] | no_license | /*
* Nathaniel Lim CS334 HW8
*/
/**
* An abstract super class of all Edit Commands on Buffers. This
* class simply specifies the interface to all commands and stores the
* target buffer of the command.
*/
public abstract class EditCommand {
/** buffer to operate on */
protected Buffer target;... | true |
6e3e5049b44823104d071e567a9231bcfb7c5405 | Java | Ashishkvs/springboot_crud_mysql_scheduler_mail | /src/main/java/com/imagegrafia/service/EmailService.java | UTF-8 | 534 | 2.046875 | 2 | [] | no_license | package com.imagegrafia.service;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.imagegrafia.model.EmailTemplate;
import com.imagegrafia.repository.EmailRepository;
@Service
public class EmailService {
@Autowired
p... | true |
1122fa1cc84e00c923d42aabe54cfa8d15aea321 | Java | alexwang66/hands-on-spring-cloud | /jparest-service/src/main/java/com/handson/treinamento/jparest/repositories/AccountRepository.java | UTF-8 | 322 | 1.890625 | 2 | [] | no_license | package com.handson.treinamento.jparest.repositories;
import com.handson.treinamento.jparest.entities.model.AccountModel;
import org.springframework.data.jpa.repository.JpaRepository;
public interface AccountRepository extends JpaRepository<AccountModel, Long> {
AccountModel findByNumber(Integer numerAccount);
... | true |
43f3c8a27ff24fe0c78a13faa847788fbca92e2a | Java | heenasalim/Advanced_Java | /karishma112/core/Struts/akash/Employee_Project/src/Change.java | UTF-8 | 4,772 | 2.5625 | 3 | [] | no_license | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class Change extends JFrame implements ActionListener{
JLabel l0,l1,l2,l3,l4;
JTextField t1,t2,t3,t4;
JButton b1,b2,b3;
Connection con;
Statement st;
ResultSet rs;
public Change()
{
Panel p=new Panel();
p.setLa... | true |
9189aa01c70dbbb72a0238efb83f0a1fb8a67a02 | Java | urazovm/GoCook-O2O | /O2O/src/com/m6/model/biz/CLoginInfo.java | UTF-8 | 983 | 2.203125 | 2 | [] | no_license | package com.m6.model.biz;
import org.json.JSONException;
import org.json.JSONObject;
import com.m6.model.base.BaseData;
import com.m6.util.SecurityUtils;
public class CLoginInfo extends BaseData {
private String account;
private String password;
public CLoginInfo(String account, String password) {
this.ac... | true |
486f2629b35f721378896c82f0e4e0e1d9a71525 | Java | DISA20072007/email | /src/main/java/ru/kkb/isimple/dao/EmailTopicDao.java | UTF-8 | 1,600 | 2.265625 | 2 | [] | no_license | package ru.kkb.isimple.dao;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.query.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import ru.kk... | true |
7728ab816ba93cc104dc0126d56bd3fc8664741e | Java | JaehongLee111/SimplisafeProject | /main/java/com/example/gui/StatusPage.java | UTF-8 | 1,452 | 2.34375 | 2 | [] | no_license | package com.example.gui;
import android.content.Intent;
import android.graphics.Color;
import android.view.View;
import android.widget.RadioButton;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class StatusPage extends AppCompatActivity {
... | true |
d22ef3af17845f790f6655bd40f0043da8c872a0 | Java | cckmit/QcAndroid | /staff/src/main/java/cn/qingchengfit/staffkit/views/wardrobe/choose/ChooseRegionFragment.java | UTF-8 | 6,471 | 1.539063 | 2 | [] | no_license | package cn.qingchengfit.staffkit.views.wardrobe.choose;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.... | true |
f190709301b4963ca4946943500be02378511582 | Java | gdromard/dromardcommon | /dromard.common.web/trunk/src/main/java/net/dromard/web/mock/test/MockServletContext.java | UTF-8 | 7,284 | 2.46875 | 2 | [] | no_license | /**
* File : TestTagServletContext.java 12 juin 07
*/
package net.dromard.web.mock.test;
import java.io.File;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.Set;
import javax.servlet.RequestDispatcher;
import jav... | true |
72d57af0c58c117189a21b9a9a1f774302e8b42e | Java | chongtianfeiyu/JavaStudyProject | /JavaStudyProject/src/com/manzhizhen/spring/aop/JobLogHandler.java | UTF-8 | 698 | 2.734375 | 3 | [] | no_license | /**
*
*/
package com.manzhizhen.spring.aop;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/**
* 日志服务类
* 代表横切逻辑,需要加入到JobService的doJob方法前后
* @author Manzhizhen
*
*/
public class JobLogHandler implements InvocationHandler{
private Object target; // 被代理的目标类
public JobLogHandler(Ob... | true |
d07a46ef3455094dc3903ec1ed39d51847873f1e | Java | Deoxynum/InceptionSerius | /app/src/main/java/com/example/sebastianlimaco/inceptionserius/JavaModelling/Video/FeedVideo.java | UTF-8 | 1,840 | 1.96875 | 2 | [] | no_license | package com.example.sebastianlimaco.inceptionserius.JavaModelling.Video;
import com.example.sebastianlimaco.inceptionserius.JavaModelling.Video.SubTreeFeedVideo.Items;
import com.example.sebastianlimaco.inceptionserius.JavaModelling.Video.SubTreeFeedVideo.PageInfo;
import com.google.gson.annotations.Expose;
import com... | true |
f78a187b45008cba85e1d5a1bc1253b90a631e36 | Java | googleapis/google-api-java-client-services | /clients/google-api-services-contentwarehouse/v1/2.0.0/com/google/api/services/contentwarehouse/v1/model/RegistrationInfo.java | UTF-8 | 3,804 | 2.21875 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 distributed under t... | true |
d396291eff8e926e96cc5ee37439c89569b8b7c0 | Java | tanoss/test | /src/main/java/ec/com/informega/prueba/dao/implement/SecuenciaImplement.java | UTF-8 | 1,239 | 1.929688 | 2 | [] | no_license | package ec.com.informega.prueba.dao.implement;
import ec.com.informega.prueba.dao.SecuencialRepository;
import ec.com.informega.prueba.model.Secuencial;
import ec.com.informega.prueba.service.SecuencialService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.S... | true |
c064c40d545373d1202e3d0f9d75580ff0cf33ce | Java | jgmatu/PL | /Compilador/src/com/urjc/master/semv/cup/parser.java | WINDOWS-1250 | 71,098 | 1.820313 | 2 | [] | no_license |
//----------------------------------------------------
// The following code was generated by CUP v0.11b 20160615 (GIT 4ac7450)
//----------------------------------------------------
package com.urjc.master.semv.cup;
import java_cup.runtime.Symbol;
import com.urjc.master.semv.types.Type;
import com.urjc.master.semv.... | true |
808f01449501c88d72f7fd3c1857aa0e2b2cbce5 | Java | ralphbrodriguez/jworld-engine | /src/com/chrisali/openglworld/entities/Player.java | UTF-8 | 2,476 | 2.890625 | 3 | [] | no_license | package com.chrisali.openglworld.entities;
import org.lwjgl.input.Keyboard;
import org.lwjgl.util.vector.Vector3f;
import com.chrisali.openglworld.models.TexturedModel;
import com.chrisali.openglworld.renderengine.DisplayManager;
import com.chrisali.openglworld.terrain.Terrain;
public class Player extends E... | true |
d93f3c25dfe5666f425bf8fe2843e73a4ea077af | Java | Cog-EduardM/java-homework | /src/com/example/homework/week5/Week5Homework.java | UTF-8 | 4,807 | 3.859375 | 4 | [] | no_license | package com.example.homework.week5;
import com.example.homework.Runnable;
import com.example.utils.HomeworkUtils;
public class Week5Homework extends HomeworkUtils implements Runnable {
public void runHomework() {
this.printHomeworkHeading(5);
this.printExerciseHeading("Quick Test");
runSc... | true |
d073ef1c49dd134197bf076d9610beb56e4cce87 | Java | CodeMechanix/JUnit-TestCase | /src/main/java/com/rashed/testcaseproject/model/Office.java | UTF-8 | 718 | 1.898438 | 2 | [] | no_license | package com.rashed.testcaseproject.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;
import lombok.experimental.Accessors;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Entity
@Ta... | true |
30be02180b916814ac44377f6d452a54962ffcfb | Java | op1995/OOP-Ex3-Pacman | /src/gameClient/Robot.java | UTF-8 | 3,470 | 2.921875 | 3 | [] | no_license | package gameClient;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONObject;
import dataStructure.*;
import utils.Point3D;
public class Robot extends Thread{
private int id;
private double value; // Gained value of acquired fruits.
private int src; //current node (location)
private int d... | true |
8644a021d50b3e30f6c0c8807183bfbadb8bb84a | Java | Bokseunghyun/Java_spring | /spring_source/simplebook_mybatis2/src/main/java/com/spring/mapper/BookMapper.java | UTF-8 | 383 | 1.8125 | 2 | [] | no_license | package com.spring.mapper;
import java.util.List;
import com.spring.domain.BookVO;
public interface BookMapper {
public int insertBook(BookVO vo);
public int updateBook(BookVO vo);
public int deleteBook(String code);
public List<BookVO> getBookList();
public BookVO getBook(String code);
public List<BookVO> get... | true |
0c1fa5e6daff1fb86ba73f0adca5e88eec0b3c6b | Java | caohuutruong/1821085750 | /1821085750/bai8.java | UTF-8 | 419 | 2.671875 | 3 | [] | no_license | package baitaptet;
import java.util.Scanner;
public class bai8 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int n, tong=0;
Scanner scanner= new Scanner (System.in);
System.out.println("Nhap vao so nguyen: ");
while (true) {
n=scanner.nextInt();
tong=tong+n... | true |
0c885b28297481d93034a983b88b9f3af469d9cd | Java | tlf-AF233/spring-security-jwt-demo | /src/main/java/com/af/security/exception/UserUnableException.java | UTF-8 | 304 | 2.046875 | 2 | [] | no_license | package com.af.security.exception;
import com.af.security.enums.ErrorCode;
/**
* 用户不可用异常
* @author AF
* @date 2021/5/14 14:00
*/
public class UserUnableException extends BaseException {
public UserUnableException(Object data) {
super(ErrorCode.USER_UNABLE, data);
}
}
| true |
d669ebb605399ba4f6ef3fac0aadd83d102f22ff | Java | Avinash-Bhat/Blink-sample | /app/src/main/java/com/sample/blinkid/BroadcastingImageListener.java | UTF-8 | 2,268 | 2.15625 | 2 | [
"MIT"
] | permissive | package com.sample.blinkid;
import com.microblink.image.Image;
import com.microblink.image.ImageListener;
import com.microblink.image.ImageType;
import android.content.Intent;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.content.LocalBroadcastManager;
import static com.microblink... | true |
9cf4adc85ec64ce35cecd73547271a0ce07a5196 | Java | iOperator/FueliFinTS | /src/main/java/net/petafuel/fuelifints/protocol/fints3/segments/deg/Bezugsnachricht.java | UTF-8 | 1,648 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package net.petafuel.fuelifints.protocol.fints3.segments.deg;
import net.petafuel.fuelifints.protocol.fints3.segments.Element;
import net.petafuel.fuelifints.protocol.fints3.segments.ElementDescription;
import net.petafuel.fuelifints.protocol.fints3.validator.validators.id;
import net.petafuel.fuelifints.protocol.fint... | true |
32c1c98d981654fb89442680d8571964ba19693c | Java | SingularityZed/AppleZed | /everything/zed-common/src/main/java/com/zed/common/validate/ValidationUtils.java | UTF-8 | 1,803 | 2.46875 | 2 | [] | no_license | package com.zed.common.validate;
import com.zed.common.constant.StatusCode;
import lombok.extern.slf4j.Slf4j;
/**
* 校验工具状态码
*
* @author zed
*/
@Slf4j
public class ValidationUtils {
/**
* 将校验字段的注解类型对应上状态码
*
* @param validateType
* @return
*/
public static Integer validateType(Str... | true |
b7d29a38e48a2c4e4d0340f54dbfcc4044ba0a0f | Java | PablooHenrique/VanRemessa | /src/main/java/br/com/netsuprema/dominio/parametros/Parametros.java | UTF-8 | 3,061 | 2.21875 | 2 | [] | no_license | package br.com.netsuprema.dominio.parametros;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
impor... | true |