hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
f13c767d94d4b2abf8207387ede0a111f310f762
1,274
package com.fractions.operations; import com.fractions.models.Fraction; import org.junit.Assert; import org.junit.Test; public class MultiplyOperationTest { private final IOperation multiplyOperation = new MultiplyOperation(); @Test public void testMultiplyOperationForTwoFractions() { String expe...
37.470588
141
0.720565
01b2e0aba869aa7a03a5ff293fb6ca15d98f4ac4
179
package com.flipabit.apple.music.model.relationship; import com.flipabit.apple.music.model.resource.Station; public class StationRelationship extends Relationship<Station> { }
19.888889
62
0.826816
3ede0a827cbc028d1c2872d859acabab2ec995ac
1,702
/* * Copyright 2011-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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
27.015873
102
0.691539
8fcea8575fedb3f80bef1e34b1ae7433f4ce79bd
855
package com.bolyartech.forgeexamples.basic.units.main; import com.bolyartech.forge.android.app_unit.ResidentComponentAdapter; import java.util.Random; /** * On creation a random int is generated and kept. * * Activity can use {@link #getStored()} to retrieve the value or {@link #newValue()} to generate a new one...
23.75
117
0.695906
2b39113d5b372d85c13c58e1b549ad72b9536417
2,273
package exnihilocreatio.recipes.defaults; import exnihilocreatio.ModBlocks; import exnihilocreatio.blocks.BlockSieve.MeshType; import exnihilocreatio.items.ore.ItemOre; import exnihilocreatio.registries.manager.ExNihiloRegistryManager; import exnihilocreatio.registries.registries.HeatRegistry; import exnihilocreatio.r...
39.877193
123
0.713594
a76db1e4321884fc6d6739f0e75bcf12b2af11e6
318
package com.schibsted.security.labs.jack.types; public class Pid { public int pid; public Pid(int pid) { if (pid < 0 || pid > 2 << 16) { throw new RuntimeException("Invalid pid + " + pid); } this.pid = pid; } @Override public String toString() { return Integer.toString(pid); } }
16.736842
57
0.603774
c3aaf10dcb8946a259500e4cc161a2d6aa22ed23
498
package com.roysmond.loafer.api.domain; import lombok.Getter; import lombok.Setter; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import java.io.Serializable; /** * Created by wuyuexin on 2017/6/3. */ @Gette...
20.75
61
0.789157
01e399f7f7f84496703586244c5cdeb53ef78940
588
package net.teaho.demo.spring.cloud.context.named; import lombok.Data; import lombok.NoArgsConstructor; import lombok.RequiredArgsConstructor; import org.springframework.cloud.context.named.NamedContextFactory; /** * @author teaho2015@gmail.com * @date 2020-06 * @since 1.0.0 */ @Data @NoArgsConstructor public cla...
22.615385
84
0.743197
b98cf159ecf1b136ec81950efe4f7c43f0985772
2,124
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 1998-2004, International Business Machines Corporation and * * others. All Rights Reserved. ...
32.181818
97
0.537194
189fa3698458d9afad3b458688efe79b4a914dc3
2,105
package com.afollestad.bridge; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.*; import java.net.URLConnection; /** @author Aidan Follestad (afollestad) */ @SuppressWarnings("WeakerAccess") public final class FilePipe extends Pipe { private String filePath; p...
23.920455
98
0.653682
63d3074690788c7e44bd1d3f4498d6503b19124e
1,547
/** * Given an array <tt>nums</tt> containing <tt>n + 1</tt> integers where each integer is between <tt>1</tt> and <tt>n</tt> (inclusive), prove that at * least one duplicate number must exist. Assume that there is only one duplicate number, find the duplicate one. * <p> * <b>Example 1:</b> * <pre> * Input: [1,3,...
28.648148
149
0.553975
3078bb513126dd9f9a1f6c9cc9e508ab0fa4cd94
6,731
package openblocks.common; import com.google.common.base.Preconditions; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Bloc...
32.205742
125
0.702273
789f803dcf9240305c622b8e2bb8fe8ed88c32ff
2,762
package jet.opengl.demos.amdfx.shadows; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Readable; import org.lwjgl.util.vector.Vector3f; import org.lwjgl.util.vector.Vector4f; import org.lwjgl.util.vector.Writable; import java.nio.ByteBuffer; final class Camera implements Readable, Writable{ fin...
29.382979
74
0.639754
4576049f8157d85fe428926ffcef00da7f2fd037
476
package detailedTechnology.recipe.general; import net.minecraft.item.Item; public class ShapedRecipe { public Item[] ingredients; public int[] ingredientsNum; public Item result; public int resultNum; public ShapedRecipe(Item[] ingredients, int[] ingredientsNum, Item result, int resultNum) { ...
26.444444
95
0.69958
0a5eefcd1b8d0474d60933febca8283f147f6c8d
6,305
/** * Copyright (C) 2011-2017 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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/L...
37.981928
132
0.642506
bab94020918fe87ccd2cc21138d7e07bc0382ded
2,958
import edu.princeton.cs.algs4.WeightedQuickUnionUF; public class Percolation { private final WeightedQuickUnionUF uf; private boolean[] grid; private final int n; private int numOpen; // creates n-by-n grid, with all sites initially blocked public Percolation(final int n) { if (n <= 0...
30.8125
71
0.492901
b5289e037d80b09df3eb61e04caaafe9c2e7e16b
2,604
package com.brabbit.springboot.app.models.service; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.stereotype.Repository; ...
32.55
113
0.71851
cbc280d8286d7943b31b13e2c884843fb2a23bb0
10,123
/* * Copyright (c) 2004-2022, University of Oslo * 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 cond...
42.004149
117
0.682308
7ef62d6849ba22b63dadf9aafeb05b23adc61825
596
package com.sallyf.sallyf.JTwig; import com.sallyf.sallyf.Annotation.Route; import com.sallyf.sallyf.Controller.BaseController; import java.util.HashMap; import java.util.Map; public class TestController extends BaseController { @Route(path = "/jtwig-response") public JTwigResponse jtwigResponse() { ...
22.923077
58
0.674497
db39c28a670e85c77b3b74e53f5e3877fbfdabab
3,088
package com.erp.sales.sl.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.s...
49.806452
107
0.84456
6058e82827994210d990b545ae1c35e489b3420f
223
package com.nodlee.theogony.ui.adapter; import android.view.View; public interface ItemClickedListener { /** * 在单元格被点击的时候调用 * * @param position */ void onItemClicked(View view, int position); }
18.583333
48
0.668161
dc1c1bc48aae96d44d6c6a28773eb8edfe5bda24
1,567
package models; import mvc.security.PasswordHasher; /** * * @author Colin Bundervoet * */ public class User { private int id; private String name; private String username; private String password; private String email; private String avatar; public String getAvatar() { return avatar; } public void ...
15.828283
98
0.696873
6c49fce656111b8fee5d771c6e806eb5f35d0703
1,332
/* * Copyright 2017 Apereo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
25.615385
76
0.736486
a9e78c5ee7a02676eb68d632edda5335a511f4be
5,516
/* * * 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"); y...
52.533333
120
0.756889
589e2af0469c6a7e96ffde4404cb8b4ccd4bbe80
792
package com.bingohuang; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories; import org.springframework.tr...
33
80
0.80303
c7c60194da7cf5c5eb2e4f96c84704d3209aa345
1,359
package com.hover.stax.transactions; import com.hover.sdk.actions.HoverAction; import com.hover.sdk.transactions.Transaction; import java.util.ArrayList; import java.util.List; public class UssdCallResponse { String enteredValue, responseMessage; public UssdCallResponse(String sent, String response) { ...
36.72973
152
0.602649
901eb0505c600355a499669315d8cb37a0f94263
565
public abstract class Statement extends Element { public Statement Next = null; public @Override String toString() { return toStringStmt()+(Next == null ? "": "\n"+Next.toString()); } public String toStringFormatAfterCond() { return (this instanceof Scope ? "\n":" ")+this+"\n"; } ...
25.681818
101
0.555752
48150a1b280ce34eb0baee66acf71b370d28cac2
2,068
package com.github.tvmazesample.ui.fragment.recycler.data; import android.os.Parcel; import com.github.tvmazesample.R; import java.util.Date; public class SeasonData extends BaseRecyclerData { public static final int VIEW_TYPE = R.layout.season; private String url; private String name; private Stri...
22
109
0.609284
6d8170bbc8b9a23dcb4c81a0e6f74ae43d7f2453
459
package com.aor.numbers; import java.util.ArrayList; import java.util.List; public class ListFilterer { List<Integer> list; ListFilterer(List<Integer> list){ this.list = list; } public List<Integer> filter(IListFilter filter){ List<Integer> newList = new ArrayList<>(); for(In...
20.863636
52
0.603486
2faa69b83b820b0b30a887887e8f4db9dc4c2fe5
4,935
package lol.maki.socks.config; import java.net.URI; import lol.maki.socks.cart.CartClient; import lol.maki.socks.cart.web.MergeCartServerAuthenticationSuccessHandler; import lol.maki.socks.security.LoginPageWebFilter; import lol.maki.socks.security.RedirectToServerRedirectStrategy; import org.thymeleaf.extras.springs...
51.947368
186
0.839311
6846504fb3df8002bb61d2eaa7d4b5f908fbe0da
20,363
package com.google.android.gms.internal; import android.content.Context; import android.os.Bundle; import com.google.android.gms.common.internal.zzbo; import com.google.android.gms.common.util.zze; import com.google.android.gms.measurement.AppMeasurement.Event; import com.google.android.gms.measurement.AppMeasurement....
36.889493
97
0.490203
76ae964f8b3ef599a0367ca85dde4dccb9b3ba9d
3,569
package org.wtrader.cep.processor; import javax.inject.Inject; import javax.inject.Named; import org.apache.log4j.Logger; import org.wtrader.cep.utils.data.interfaces.IDataSearch; import org.wtrader.cep.utils.enums.AbsolutePriceOscillatorMAType; import org.wtrader.cep.utils.interfaces.IAbsolutePriceOscillator...
39.655556
137
0.64724
ce813dd97d74ee19d13949bb8b60c2252d981337
1,203
/** * Written by Azul Systems, and released to the public domain, * as explained at http://creativecommons.org/publicdomain/zero/1.0/ */ package org.HdrHistogram.HistogramLogAnalyzer.properties; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; public class ScaleProperties { ...
26.733333
79
0.691604
6bfb01da4617d1fab7cdb62926458ce224cbc7f9
3,377
package me.ramswaroop.arrays; import me.ramswaroop.common.MaxHeap; import java.util.ArrayDeque; import java.util.Arrays; /** * Created by IntelliJ IDEA. * * @author: ramswaroop * @date: 9/3/15 * @time: 9:21 PM */ public class MaxInAllSubArrays { /** * Naive approach. * <p/> * Finds the maxi...
32.786408
124
0.546639
6097f7c8649788eb494ffacb42eee06b1677fb2c
1,361
package mage.cards.b; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.commo...
30.244444
141
0.73108
20609d64d1ebbc25cbacbb1e16584525dbbcb4f0
909
package foundation.fluent.api.dry; import org.testng.annotations.Test; import java.util.Arrays; import java.util.function.Function; import static foundation.fluent.api.dry.DryRun.*; public class DryRunInvocationHandlerTest { DryRunInvocationHandler next = resolveReturnType(proxy(UNDEFINED)); User user = Dr...
33.666667
116
0.69857
89b026e5641e31a160b1095c076de0cdc402b5f2
4,229
/** * Copyright (c) 2002-2007 IBM Corporation 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 * * Contrib...
26.765823
154
0.699693
5aa498e58de65c13a091add8b4f79356b9bc0a73
2,152
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
33.625
114
0.777416
ab4ec09bf2b342b826d4862cf393e652550d828f
2,349
package creditsuisse.interview.alex; import creditsuisse.interview.alex.order.Order; import creditsuisse.interview.alex.order.OrderPool; import creditsuisse.interview.alex.order.OrderType; import creditsuisse.interview.alex.order.Side; import java.io.BufferedReader; import java.io.IOException; import java.io.StringRe...
38.508197
120
0.687101
fcf94f0f6466406d045d0b3b7f231c0758bac509
3,655
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.tensorfl...
50.068493
157
0.719562
c437ecd1c9d4019db46cc31cc718f538eea5f3db
8,310
package org.vaadin.erik.views.data; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.HasStyle; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.button.ButtonVariant; import com.vaadin.flow.component.checkbox.Checkbox; import com.vaadin.flow.component.datepick...
39.383886
387
0.659807
24bb6c825a43e9de9d9bc07d59f00f8b10a2967b
16,659
package net.minecraft.client.multiplayer; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.PositionedSoundRecord; import net.minecraft.cl...
34.997899
287
0.76085
61b00426cc47c020533f70ef195ab93fd51b9ebe
14,677
/* * Copyright (c) 1998-2021 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.internal.ncml; import java.io.IOException; import java.io.StringReader; import java.lang.invoke.MethodHandles; import org.junit.Test; import org.slf4j.Logger...
35.366265
104
0.654085
22070aa5b656b310c83dbb8139c616d61a1f8fd0
5,740
package com.andarb.simplyforreddit; 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.design.widget.TabLayout; import android.support.v4.content.LocalBroa...
35.214724
98
0.670035
30556af631f3677e78a21c4e54148d03b381d02e
262
package iteach.eaap.assignments.submission.application.port.outbound; import iteach.eaap.assignments.submission.domain.Submission; import java.util.List; public interface QueryUserSubmissionRepository { List<Submission> queryAllByUserId(String userId); }
26.2
69
0.832061
71784b6ad120927494a32d04e825ca3775d2d012
2,342
package org.kilocraft.essentials.extensions.warps.playerwarps; import net.minecraft.nbt.CompoundTag; import org.jetbrains.annotations.NotNull; import org.kilocraft.essentials.api.world.location.Location; import org.kilocraft.essentials.extensions.warps.Warp; import org.kilocraft.essentials.util.nbt.NBTUtils; import j...
25.736264
100
0.629804
22a52f3122f14c43c6c2e16c37f00776d0e82b6e
3,886
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.gui.app.core.showinfo; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.cuba.client.ClientConfig; import com....
30.359375
117
0.658775
ee25e79e9483b00721947cf99c1230d32fad3ebb
3,170
/* * 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 ...
24.198473
99
0.651104
cd9c667fa7f015f7a40966ef25c840c0b3e314a3
858
package com.bartek.library.model.book; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.*; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.time.LocalDateTime; /** * @author Bartlomiej Janik ...
22.578947
80
0.757576
01540ed7c86dffff3b2f7c244e6df83e1041bf59
396
package com.github.veysiertekin.turkish_noun_cases.annotation; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvFileSource; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @ParameterizedTest @CsvFileSource(resources = "/dative-case.csv...
28.285714
62
0.838384
f3caef05d7f0e7aa3be0d7c8d4b86b7adde1a29f
280
#if (${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end import javax.inject.Singleton; import dagger.Component; #parse("File Header.java") @Singleton @Component(modules = {${NAME}Module.class}) public interface ${NAME}Component { void inject(${NAME}Activity activity); }
18.666667
55
0.714286
755c67eb94ffdca2acba33d9cf01e97cda0463b6
5,357
package com.martin.ads.omoshiroilib.flyu.openglfilter.gpuimage.changeface; import android.net.Uri; import android.opengl.GLES20; import com.martin.ads.omoshiroilib.flyu.sdk.utils.MiscUtils; /** * Created by Ads on 2017/6/6. */ public class ChangeFaceNet extends ChangeFaceBaseFilter { ChangeFaceInfo bU; St...
30.611429
258
0.49636
2e049a44cb2ce82faeb3f0e57827698aba9479ab
7,946
/* * Copyright 2014 Alexey Andreev. * * 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...
38.572816
111
0.542663
6e84b5ca4c09bd49c42f0411e9d9b6a402439f93
7,291
package com.swingsane.installer; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.RenderingHints; import ...
37.777202
108
0.670416
1501c1d6b06ea492f466d9b949d8e9b4d15d30a8
614
package com.glacier.evo.app.sys.service; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; /** * date 2021-12-15 15:19 * * @a...
18.058824
62
0.741042
998df1c2eb5afc4683d078feb3b5ee2529277498
6,473
package com.ct.android.marvelcomics.view; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v4.content.ContextCompat; import android.support.v7.widget.Toolbar; import android.support.v7.app.AppCompatActivity; import android.sup...
36.365169
122
0.700603
654179741ff7d12166659eb4e844b1c819eaf045
265
package com.ryanharter.auto.value.moshi.example.hexcolor; import com.squareup.moshi.JsonQualifier; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @JsonQualifier public @interface HexColor {}
33.125
64
0.833962
3c6d85aa4a0fdec4149eb79e2de9f0272f64629c
5,067
package com.atlassian.plugin.connect.plugin.auth.oauth; import com.atlassian.oauth.ServiceProvider; import com.atlassian.plugin.Plugin; import com.atlassian.plugin.connect.api.auth.AuthorizationGenerator; import com.atlassian.plugin.connect.api.request.HttpContentRetriever; import com.atlassian.plugin.connect.api.requ...
47.801887
149
0.683837
b5ac18c1d37c9979ad3f6032225254012b16fd45
935
public class BubbleSort { public static void main(String[] args){ int[] numbers = new int[15]; for(int i = 0; i < numbers.length; i++){ numbers[i] = (int)(Math.random() * 100); } print(numbers); sort(numbers); print(numbers); } public static void ...
24.605263
52
0.429947
03f4b12fa5454705b30a2f9306a2708b6ce05f31
2,318
/** * * Copyright 2017 Florian Erhard * * 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 applica...
20.333333
87
0.700604
604fdb3a27b6c6ceee201221e91e3104e503d9db
8,642
package com.tokelon.toktales.android.application; import com.tokelon.toktales.android.engine.AndroidLauncherFactory; import com.tokelon.toktales.android.engine.IAndroidEngineLauncher; import com.tokelon.toktales.android.engine.IAndroidLauncherFactory; import com.tokelon.toktales.android.engine.inject.MasterAndroidInje...
34.158103
169
0.762208
eedb6ae0f89cf99f0f3bf69a7b9ecfa46701921f
2,079
package xyz.gnarbot.gnar.textadventure.enums; /* http://imgur.com/a/IknLm Album here */ public enum LOCATION { LAKE("Lake", "lily-pads", "http://i.imgur.com/PPv0U1d.png"), RIVER("River", "river", "http://i.imgur.com/CLQJSOE" + ".png"), FOREST("Forest", "forest", "http://i.imgur.com/B6UMHjs.png"), CLEAR...
45.195652
119
0.569505
5b1b88b0ebde9613c344ec603fb84efb9c27a223
837
package so.macalu.sync; import org.zeromq.ZContext; import org.zeromq.ZMQ; import java.io.Closeable; import java.io.IOException; import java.net.URI; import java.nio.file.Path; import java.util.List; import org.json.JSONObject; import org.json.JSONTokener; import so.macalu.sync.ISyncService; /** * Service for dea...
19.465116
71
0.684588
5ccb02f70cf9bf5ac3951cfdcdcd900a7c7a566f
350
package com.nsb.practice.jvm.classcode; /** * * @author Dorae * */ public class AMethod { private int j; public String tMethod(AMethod i) { return "nsb"; } public int tMethod2(int i) { int a = 0; return 123 + a; } public Object tMethod3(String str) {...
14
40
0.525714
c037cbe5e2082f3312548b7b34958d9334244d01
4,727
/* Copyright (c) 2006-2007, Vladimir Nikic All rights reserved. Redistribution and use of this software 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 copy...
36.361538
118
0.674
9568935bb10d330335362219544366e3a523afc4
4,501
package com.tms.recyclerviewdemo; import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGro...
26.791667
89
0.637192
ed47d9d6d277b9ebf3d682aa91725c158e822dc0
5,708
// Copyright 2021 The KeepTry 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 applicable...
47.566667
158
0.683952
43a3c19f0eb7dd86cbb877521287a3fd5d8d086d
9,468
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package com.archimatetool.editor.diagram.editparts; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.List; i...
31.45515
107
0.587664
87771df13ff918e5777288429869fa7393680b18
1,032
package com.skyeye.service; import com.skyeye.common.object.InputObject; import com.skyeye.common.object.OutputObject; public interface StatisticsService { public void queryWarehousingDetails(InputObject inputObject, OutputObject outputObject) throws Exception; public void queryOutgoingDetails(InputObject inputOb...
41.28
117
0.863372
630c2d00c572d95a201bdd85d71061e9fc4532ae
385
package com.n11.graduationproject.dto.response; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.time.LocalDateTime; @NoArgsConstructor @AllArgsConstructor @Data public class CreditScoreDto { private String nationalIdNumber; pri...
18.333333
47
0.812987
6be1cb7494038477aa729a0f1c9662ed369541a5
5,456
package jet.opengl.demos.nvidia.rain; import java.io.IOException; import java.nio.ByteBuffer; import jet.opengl.postprocessing.buffer.AttribDesc; import jet.opengl.postprocessing.buffer.BufferBinding; import jet.opengl.postprocessing.buffer.BufferGL; import jet.opengl.postprocessing.buffer.VertexArrayObject; import j...
36.373333
133
0.631782
8bc27ff953e866dd12f3c95ce8fb7a2e59e5b67c
8,371
package com.mrh0.buildersaddition.blocks; import com.mrh0.buildersaddition.blocks.base.BaseDerivativeBlock; import com.mrh0.buildersaddition.state.MountState; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.HorizontalBlock; import n...
51.042683
187
0.758213
0c52f3236b191095f71b005cad30d2ce5c38173b
10,545
package cs213.photoAlbum.GuiView; import java.awt.BorderLayout; import java.awt.Color; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import java.awt....
34.016129
266
0.702703
cc255896275a965c8e7defd385905f08441cd259
1,449
package cn.tangxinyao.thrift.business; import org.apache.thrift.TProcessor; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.server.TServer; import org.apache.thrift.server.TThreadedSelectorServer; import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TNonbl...
45.28125
104
0.808834
e145cb6ac1566653f640809b8bc04a99c7e2936f
1,389
package com.alibaba.rsocket.reactive; import com.alibaba.rsocket.MutableContext; import org.jetbrains.annotations.Nullable; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.util.concurrent.CompletableFuture; /** * Reactive Adapter for CompletableFuture * * @author leijuan */ @S...
26.711538
99
0.684665
c14f0864d7b3992ba9cfdba45260845dd2c20968
6,476
package CSharp.editor; /*Generated by MPS */ import jetbrains.mps.nodeEditor.DefaultNodeEditor; import jetbrains.mps.openapi.editor.cells.EditorCell; import jetbrains.mps.openapi.editor.EditorContext; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.nodeEditor.cells.EditorCell_Collection; import jet...
56.313043
410
0.800957
90950ccf8fd40130bdef92003fb7637ebd9e2a54
613
package com.cloud.legacymodel.communication.command; import com.cloud.legacymodel.to.DataStoreTO; public class ListVolumeCommand extends StorageCommand { private DataStoreTO store; private String secUrl; public ListVolumeCommand() { } public ListVolumeCommand(final DataStoreTO store, final Stri...
19.774194
76
0.668842
18dd11bc69440876623efd6338dbc4b4d299a7f1
5,648
package org.hadoop.graphiterator; // // Author - Jack Hebert (jhebert@cs.washington.edu) // Copyright 2007 // Distributed under GPLv3 // //Modified - Dino Konstantopoulos //Distributed under the "If it works, remolded by Dino Konstantopoulos, //otherwise no idea who did! And by the way, you're free to do whatever ...
39.222222
116
0.658817
db4fdad0ce7acced696e6370ffdc16617479e157
685
package com.dxr.apply.entity; import com.dawnwing.framework.supers.entity.AbstractEntity; /** * @description: <投诉/举报照片实体类> * @author: w.xL * @date: 2018-3-14 */ public class ComplaintPhotoInfo extends AbstractEntity { private static final long serialVersionUID = -4670655270534894257L; private String com...
20.147059
71
0.677372
e9da1ee8ad9cb36f3048a657bcf9348c828369b1
4,903
package com.gsd.jme3.character; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import com.gsd.jme3.npcs.Npc; import com.gsd.jme3.utils.Utils; import com.gsd.jme3.utils.Utils.CharacterStatus; import com.gsd.jme3.utils.Utils.PhysicalCharacterType; import com.jme3.asset.AssetManager;...
25.670157
80
0.685295
7d4051d5d08330dad45fb522d07d6c1a3f1a9a03
307
package com.qunar.im.base.jsonbean; /** * Created by saber on 15-8-20. */ public class AutoDestroyMessageExtention extends BaseResult { public int msgType; public String descStr; public String message; // the value is true or false public String hasRead; public int duration; }
21.928571
61
0.703583
c159b9362fadca03dc1c267ae5efc4f947338ee6
1,042
package com.adriencadet.droidagainsthumanity.ui.routers; import com.lyft.scoop.ScreenScooper; import javax.inject.Named; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * RouterFactory * <p> */ @Module public class RouterFactory { @Provides @Named("main") @Singleton ...
20.038462
61
0.667946
16840d7d13adce30fdcf14fad8b684ec20f77491
279
package org.nico.util.date; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtils { public static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); public static String getDateFormat(){ return sdf.format(new Date()); } }
18.6
82
0.741935
44b23855ab0859992f75c7617060242d956a8a77
514
package com.hbm.blocks.machine; import com.hbm.blocks.ModBlocks; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; public class BlockHadronPlating extends Block { public BlockHadronPlating(Material materialIn, String s) { super(materialIn); th...
20.56
59
0.776265
3d05e7f8e587d725d6e3bc253f66cb152d6880b9
4,916
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.security.models; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core....
54.622222
117
0.74939
db8b346fa830a8bad0ab9320473b27d13316265e
1,980
package models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import play.db.ebean.Model; @Entity public class Book extends Model{ @Id @GeneratedValue public long id; public String title; public String author; public String year; public String publi...
20.412371
68
0.719697
63c7bbe27fae2fe6e80e10c2c7008c490a6c5424
484
package models.users; import models.strategies.ClientStrategy; public class Client extends User { private ClientStrategy strategy; public Client(String username, String firstName, String lastName, String email, String password) { super(username, firstName, lastName, email, password); } publ...
22
102
0.706612
3a6a4872d958f0fc43376818eb2cf039bbbb7b89
3,135
package su.knst.lokutils.input; import org.lwjgl.BufferUtils; import org.lwjgl.glfw.GLFWMouseButtonCallback; import org.lwjgl.glfw.GLFWScrollCallback; import org.lwjgl.util.vector.Vector2f; import su.knst.lokutils.objects.Point; import su.knst.lokutils.render.context.GLContext; import java.nio.DoubleBuffer; import s...
32.319588
107
0.663158
61506f3cfb8ca72100e05c89fbca1bc3f109fff4
4,750
/* * WiFi Analyzer * Copyright (C) 2016 VREM Software Development <VREMSoftwareDevelopment@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or...
35.984848
109
0.666947
3fe07b11b1f06f6b7c3beed27212a8684b3299f1
302
package org.onosproject.net.sensorpacket; /** * Created by aca on 9/26/15. */ public class SensorPacketTypeExistsException extends Exception { public SensorPacketTypeExistsException(int givenId, String name) { super("Packet " + name + " with id " + givenId + " already exists"); } }
27.454545
76
0.698675
7dac1183bf929a6487e1d8cee5e69775fe8ba93e
564
package com.coolcr.taobaocoupon.presenter; import com.coolcr.taobaocoupon.base.IBasePresenter; import com.coolcr.taobaocoupon.view.ISearchCallback; public interface ISearchPresenter extends IBasePresenter<ISearchCallback> { /** * 获取搜索历史 */ void getHistories(); /** * 删除搜索历史 */ voi...
14.842105
75
0.578014
8b3112fc3d9cbc6892d00acc191fb66d06de04e2
1,153
package app.coolweather.com.myapplication.presenter.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.Window; import android.view.WindowManager; import app.coolweather.com.myapplication.R; /** * 闪屏 * Created by 绯若虚无(https:...
30.342105
92
0.671292
a22c1c7d650fe1ee32b160fff3c50eb6964207b2
2,673
package org.hidetake.stubyaml.model; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.hidetake.stubyaml.model.yaml.Route; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestMethod; import java.io.File; import jav...
34.714286
110
0.616536
b04a7c282fbaa6927cae8c610148d06d60fc3fcc
2,319
package org.walkframework.base.tools.utils; import java.text.SimpleDateFormat; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fa...
24.935484
97
0.688228
7dc3e3232cd72f4382ffce2c53645476b4712445
3,121
package jeelab.setup; import java.util.LinkedHashMap; import java.util.Map; import org.wildfly.swarm.config.security.Flag; import org.wildfly.swarm.config.security.SecurityDomain; import org.wildfly.swarm.config.security.security_domain.ClassicAuthentication; import org.wildfly.swarm.config.security.security_domain.a...
40.532468
236
0.669016
143f1518ff4f460761764568550cc9fab5b50bd4
4,213
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
40.12381
121
0.776169
4829f416dc3cee2c5f9f41773731facb84224b6a
15,807
/* * 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")...
36.932243
115
0.479092
8fe9e76298a2fa27f2fd38dca51b7603a53f27f6
1,521
package com.rideaustin.ui.drawer.settings; import android.databinding.ObservableField; import android.graphics.drawable.Drawable; import com.rideaustin.App; import com.rideaustin.R; import com.rideaustin.api.model.User; import com.rideaustin.entities.GeoPosition; import com.rideaustin.ui.common.RxBaseViewModel; impor...
29.25
92
0.671269
74d0bd639d363ebeb284aff14bdaf25ce35a349c
4,111
package cn.ibizlab.core.uaa.filter; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.HashMap; import lombok.*; import lombok.extern.slf4j.Slf4j; import com.fasterxml.jackson.annotation.JsonFor...
34.838983
83
0.721722
3dd480dafddfc9b609269876ec05e1bf94da693c
1,567
package com.study.controller.sys; import com.study.service.sys.LoginInfoService; import com.study.utils.sys.DataGridView; import com.study.utils.sys.ResultObj; import com.study.vo.sys.LoginInfoVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapp...
27.491228
77
0.702616