Dataset Viewer
Auto-converted to Parquet Duplicate
file_id
int64
1
250k
content
stringlengths
0
562k
repo
stringlengths
6
115
path
stringlengths
1
147
1
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.cips.wifilocalizationdemo; public final class R { public static final class attr { } public static fi...
jiangqideng/WiFiLocalizationDemo
R.java
2
/*--- iGeo - http://igeo.jp Copyright (c) 2002-2013 Satoru Sugihara This file is part of iGeo. iGeo is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3. iGeo is distri...
sghr/iGeo
Ir.java
3
import java.util.*; class Fathe { public void call() { System.out.println("Call"); } } class Chill extends Fathe { public void debit() { System.out.println("debit"); } } class Ot { public static void main(String s[]) { Fathe f=new Chill(); f.call();//gets successfully call...
asad9711/Key-Points-in-Java
Ot.java
4
//******************************************************* // C.java // the class reprsents C // Author: liron mizrahi //******************************************************* public class C { public void foo(D d) { System.out.println("cd"); } }// end of class C
lironmiz/Computer-Science-in-Java
C.java
5
package StudentInformationSystem; import java.awt.Color; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatemen...
CrLn-66/Butete
a.java
6
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { public ListNode mergeKLists(ListNode[] lists) { //FBIP 3R //divide and conquer if (lists == null || lists.length == 0) retu...
EdwardHXu/FBIP-LC
23.java
7
/* * Decompiled with CFR 0.152. * * Could not load the following classes: * net.minecraft.util.math.MathHelper */ import i.gishreloaded.deadcode.wrappers.Wrapper; import net.minecraft.util.math.MathHelper; public class d { public double a; public double b; public double c; public d() { ...
n3xtbyte/deadcode-source
d.java
8
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
wangweij/ktest
K.java
9
/* This file does nothing but load the SBML library */ import org.sbml.libsbml.*; public class A { public Model getModel() { return new Model(0,0); } /** * The following static block is needed in order to load the * the libSBML Java module when the application starts. */ static { String va...
bio-ontology-research-group/sbml-harvester
A.java
10
import java.io.File; import java.io.FileWriter; import java.text.SimpleDateFormat; import java.util.Collections; import java.util.Date; import java.util.List; import net.minecraft.server.MinecraftServer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class x extends i { ...
MCLabyMod/LabyMod-1.9
x.java
11
public static void splitTheBlop(Monster curr) { if (!curr.canSplit()) { players[BLOPSPLIT] = new Player(); // Assuming Player is the appropriate class for players array curr.setHealth((int)(Math.random() * (101 - 50 + 1) + 50)); curr.setCanSplit(true); } else { if (curr.getHealth...
1588974/Array-List
e.java
12
import java.io.InputStream; import java.io.FileInputStream; public class Main { public static void main(String args[]) { try { // file input.txt is loaded as input stream // input.txt file contains: // This is a content of the file input.txt InputStream input = new FileInputStream("inp...
Hansajith98/hacktoberfest2021-Excluded
Java/FileTextAsInputStream.java
13
// Program to print BFS traversal from a given // source vertex. BFS(int s) traverses vertices // reachable from s. #include<bits/stdc++.h> using namespace std; // This class represents a directed graph using // adjacency list representation class Graph { int V; // No. of vertices // Pointer to an array...
manan-shxrma/dsalgo
graphs/bFSgraph.cpp
14
class Solution { public List<List<Integer>> threeSum(int[] nums) { if (nums.length < 3) return new ArrayList<>(); List<List<Integer>> ans = new ArrayList<>(); Arrays.sort(nums); for (int i = 0; i + 2 < nums.length; ++i) { if (i > 0 && nums[i] == nums[i - 1]) continue; // c...
Next-Gen-UI/Code-Dynamics
Leetcode/0015. 3Sum/0015.java
15
// AI class, a main component of the CFM Project // This component is really the brains of the program since it is used to simplify expressions and solve equations // and to determine if student answers are algebraically equivalent with the correct answers. // By G. Baugher package cfm_files; import java...
gabaugher/CFM
AI.java
16
import java.net.*; import java.io.*; import java.util.Scanner; class IP{ public static void main(String args[]) throws IOException{ Scanner sc = new Scanner(System.in); System.out.println("Enter the name of website"); String web = sc.nextLine(); try{ InetAddress ip =InetAddress.getByName(web); // ip.getB...
karan9970/Web
IP.java
17
public class Solution { public int numOfArrays(int n, int m, int k) { final int mod = 1000000007; int[][] dp = new int[m+1][k+1]; int[][] prefix = new int[m+1][k+1]; int[][] prevDp = new int[m+1][k+1]; int[][] prevPrefix = new int[m+1][k+1]; for (int j = 1; j <= m; ...
chirag1261/Leetcode
DP/Build Array Where You Can Find The Maximum Exactly K Comparisons
18
package com.example.lf; public final class R { public static final class attr { } public static final class dimen { /** Default screen margins, per the Android Design guidelines. Example customization of dimensions originally defined in res/values/dimens.xml (such as screen m...
ShriKrishnaTS/JITS-To-Track-a-School-vehicle
R.java
19
package rpgGridBrawl; public class Flee extends GridBrawl { GameData game; public Flee() {} public GameData execute(GameData crt) { game = crt; interact.tellPlayer(7, 4, false); // "Choose a Brawler to be removed from the brawl:" boolean[] cowards = this.sortCowards(game); String options = interact.rep...
JKisling/RPG_Grid_Brawl
Flee.java
20
import java.io.IOException; import java.math.BigInteger; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ...
l-wang/Twitter-Analytics-Web-Services
Q1.java
21
/* * 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. */ /** * * @author prate */ import java.io.*; import java.util.*; import javax.swing.JOptionPane; public class ProfessorGUI extends j...
pAditya198/OOP_Project
j.java
22
/** * Contains all the Constants used in HiJynx */ import java.awt.*; public class c{ public static final int MARGIN = 25; public static final int SMALL = 30; public static final int MED = 50; public static final int LARGE = 70; public static final int HUGE = 200; public static final int UP = 0; public stati...
nixhope/MockFish
c.java
23
//Write a program for error detecting code using CRC-CCITT(16-bits) import java.util.Scanner; public class CRC { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("At Sender Side: "); // Input Data Stream System.out.print("Enter mes...
saadhussain01306/computer_net_lab
2.Crc.java
24
/*Write a program to implement random early detection (RED) congestion control algorithm*/ import java.util.Random; import java.util.Scanner; public class RedCongestionControl { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter the maxi...
saadhussain01306/computer_net_lab
8.RED.java
25
import java.io.*; import java.lang.*; class X1 { public static void main(String[]args) throws IOException { BufferedReader venki=new BufferedReader(new InputStreamReader(System.in)); long comp,Cos=0,COs=0,COS=0; double dis; System.out.println("\nEnter the Number of Computers you want to buy : "); ...
flick-23/JAVA-Programs
X1.java
26
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class J here. * * @author (your name) * @version (a version number or a date) */ public class J extends VirtualKeyboard { /** * Act - do whatever the J wants to do...
singhalsurbhi07/202-Hangman
J.java
27
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class Y here. * * @author (your name) * @version (a version number or a date) */ public class Y extends VirtualKeyboard { /** * Act - do whatever the Y wants to do. This method...
singhalsurbhi07/202-Hangman
Y.java
28
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class X here. * * @author (your name) * @version (a version number or a date) */ public class X extends VirtualKeyboard { /** * Act - do whatever the X wants to do. This method...
singhalsurbhi07/202-Hangman
X.java
29
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class W here. * * @author (your name) * @version (a version number or a date) */ public class W extends VirtualKeyboard { /** * Act - do whatever the W wants to do. This method...
singhalsurbhi07/202-Hangman
W.java
30
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class N here. * * @author (your name) * @version (a version number or a date) */ public class N extends VirtualKeyboard { /** * Act - do whatever the N wants to do. This method...
singhalsurbhi07/202-Hangman
N.java
31
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class Q here. * * @author (your name) * @version (a version number or a date) */ public class Q extends VirtualKeyboard { /** * Act - do whatever the Q wants to do. This method...
singhalsurbhi07/202-Hangman
Q.java
32
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class E here. * * @author (your name) * @version (a version number or a date) */ public class E extends VirtualKeyboard { /** * Act - do whatever the E wants to do. This method...
singhalsurbhi07/202-Hangman
E.java
33
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class F here. * * @author (your name) * @version (a version number or a date) */ public class F extends VirtualKeyboard { /** * Act - do whatever the F wants to do. ...
singhalsurbhi07/202-Hangman
F.java
34
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class V here. * * @author (your name) * @version (a version number or a date) */ public class V extends VirtualKeyboard { /** * Act - do whatever the V wants to do. This method...
singhalsurbhi07/202-Hangman
V.java
35
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class D here. * * @author (your name) * @version (a version number or a date) */ public class D extends VirtualKeyboard { /** * Act - do whatever the D wants to do. ...
singhalsurbhi07/202-Hangman
D.java
36
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class P here. * * @author (your name) * @version (a version number or a date) */ public class P extends VirtualKeyboard { /** * Act - do whatever the P wants to do. This method...
singhalsurbhi07/202-Hangman
P.java
37
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class S here. * * @author (your name) * @version (a version number or a date) */ public class S extends VirtualKeyboard { /** * Act - do whatever the S wants to do. ...
singhalsurbhi07/202-Hangman
S.java
38
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class U here. * * @author (your name) * @version (a version number or a date) */ public class U extends VirtualKeyboard { /** * Act - do whatever the U wants to do. This method...
singhalsurbhi07/202-Hangman
U.java
39
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class I here. * * @author (your name) * @version (a version number or a date) */ public class I extends VirtualKeyboard { /** * Act - do whatever the I wants to do. This method...
singhalsurbhi07/202-Hangman
I.java
40
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class L here. * * @author (your name) * @version (a version number or a date) */ public class L extends VirtualKeyboard { /** * Act - do whatever the L wants to do. ...
singhalsurbhi07/202-Hangman
L.java
41
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class H here. * * @author (your name) * @version (a version number or a date) */ public class H extends VirtualKeyboard { /** * Act - do whatever the H wants to do. ...
singhalsurbhi07/202-Hangman
H.java
42
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class Z here. * * @author (your name) * @version (a version number or a date) */ public class Z extends VirtualKeyboard { /** * Act - do whatever the Z wants to do. This method...
singhalsurbhi07/202-Hangman
Z.java
43
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class M here. * * @author (your name) * @version (a version number or a date) */ public class M extends VirtualKeyboard { /** * Act - do whatever the M wants to do. This method...
singhalsurbhi07/202-Hangman
M.java
44
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class O here. * * @author (your name) * @version (a version number or a date) */ public class O extends VirtualKeyboard { /** * Act - do whatever the O wants to do. This method...
singhalsurbhi07/202-Hangman
O.java
45
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.awt.*; /** * Write a description of class T here. * * @author (your name) * @version (a version number or a date) */ public class T extends VirtualKeyboard { /** * Act - do whatever the T wants to do. This method...
singhalsurbhi07/202-Hangman
T.java
46
package UnionFind; import edu.princeton.cs.algs4.*; // Below is the syntax highlighted version of UnionFind.UF.java from §1.5 Case Study: Union-Find. public class UF { private int[] parent; // parent[i] = parent of i private byte[] rank; // rank[i] = rank of subtree rooted at i (never more than 3...
Simply-divine/Union-Find
UF.java
47
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int val, ListNode next) { this.val = val; this.next = next; } * } */ class Solution { public ListNode middleNode(ListNode hea...
japygo/LeetCode
0876-middle-of-the-linked-list/0876-middle-of-the-linked-list.java
48
class Solution { public String longestPalindrome(String s) { int left = 0, right = 0, strL = s.length(); String returnStr = ""; for (int i = 0; i < strL; i++) { char charAtI = s.charAt(i); left = i; right = i; // remove dupes for left side cha...
kalongn/LeetCode_Solution
5.java
49
class Solution { public String convert(String s, int numRows) { // Get the length of the String input int lenOfS = s.length(); // edge Cases if (lenOfS <= 1 || numRows <= 1) { return s; } // Create a String array String[] strArr = new String[num...
kalongn/LeetCode_Solution
6.java
50
import java.util.*; class p { /* / The Java version of the PL/Vision p package. / Version 2.0 / / Author: Steven Feuerstein / Date: 12/25/98 */ // Delimiter used between data elements. private static String Gdelim = " - "; // Get and Set for delimiter public static void setDelim (String newDelim) ...
jayvdb/PLSQL-demo-scripts
p.java
51
package gpfinance; import java.util.Random; /** * @date 14-July-2013 * @author Sudheesh Singanamalla */ public class U { /** * Utility class configuration parameters. */ public static final double MAX = 100.0; public static final double MIN = -100.0; public static final ...
sudheesh001/YahooHackIndia
U.java
52
import java.io.File; // Import the File class import java.io.IOException; // Import the IOException class to handle errors public class CreateFile { public static void main(String[] args) { try { File myObj = new File("filename.txt"); if (myObj.createNewFile()) { System.out.println("File cr...
GDSC-MITS/Contribute-To-HacktoberFest
Java Programs/Createfile.java
53
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Codechef { public static void main (String[] args) throws java.lang.Exception { // your code goes here Scanner sc = new Scann...
asthanegi14/CodeChef-Contest
SONGS
54
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.*; import javax.sound.midi.*; public class F { public static void main(String[] args) throws MidiUnavailableException, InvalidMidiDataException, IOExcept...
Texas-Waitlisters/SXSW-2019
F.java
55
import greenfoot.*; /** * Write a description of class Rh here. * * @author (your name) * @version (a version number or a date) */ public class Rh extends Buildings { /** * Act - do whatever the Rh wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in ...
cookiedancer/TCCDirectory
Rh.java
56
package Edureka; public class Fibonacci { public static void main(String[] args) { //initializing the constants int n = 100, t1 = 0, t2 = 1; System.out.print("Upto " + n + ": "); //while loop to calculate fibonacci series upto n numbers while (t1<= n) { System.out.print(t1 + " + "); int sum = t1 + t2; t1 = t2; t2 = sum...
Srutiverma123/Hacktoberfest-2021
Fibonacci.java
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
2