Dataset Viewer
Auto-converted to Parquet Duplicate
file_id
stringlengths
5
10
content
stringlengths
110
36.3k
repo
stringlengths
7
108
path
stringlengths
8
192
token_length
int64
37
8.19k
original_comment
stringlengths
6
5.72k
comment_type
stringclasses
2 values
detected_lang
stringclasses
1 value
prompt
stringlengths
47
36.2k
198409_23
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2024 Evan Debenham * * 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 vers...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/utils/Holiday.java
4,421
//Halloween
line_comment
nl
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2024 Evan Debenham * * 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 vers...
11193_0
package com.steen.controllers; import com.steen.models.*; import com.steen.velocity.VelocityTemplateEngine; import spark.ModelAndView; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static com.steen.Main.p_layout; import static com.steen.Main.sfp; import static...
0912293/PythonMasterRace
src/main/java/com/steen/controllers/CartController.java
802
// return "Kon de geselecteerde producten niet verwijderen. " +
line_comment
nl
package com.steen.controllers; import com.steen.models.*; import com.steen.velocity.VelocityTemplateEngine; import spark.ModelAndView; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static com.steen.Main.p_layout; import static com.steen.Main.sfp; import static...
8482_0
JFileChooser fc = new JFileChooser(); fc.addChoosableFileFilter(new FileNameExtensionFilter("Excel sheets", "xlsx", "xls")); //maakt een filter zodat alleen excel sheets ingelezen kunnen worden fc.setAcceptAllFileFilterUsed(false); //zorgt ervoor dat je alleen excel bestanden kan kiezen int exce...
0974201/code-bin
java/idk.java
557
//maakt een filter zodat alleen excel sheets ingelezen kunnen worden
line_comment
nl
JFileChooser fc = new JFileChooser(); fc.addChoosableFileFilter(new FileNameExtensionFilter("Excel sheets", "xlsx", "xls")); //ma<SUF> fc.setAcceptAllFileFilterUsed(false); //zorgt ervoor dat je alleen excel bestanden kan kiezen int excelSheet = fc.showOpenDialog(this); //roept de file chooser a...
111409_1
package com.example.idek; import com.google.zxing.BinaryBitmap; import com.google.zxing.ChecksumException; import com.google.zxing.DecodeHintType; import com.google.zxing.FormatException; import com.google.zxing.NotFoundException; import com.google.zxing.Result; import com.google.zxing.qrcode.QRCodeReader; import jav...
0974201/qr-ding
app/src/main/java/com/example/idek/qrReader.java
719
//alvast een string aanmaken waarin later de gedecodeerde zooi in gestopt wordt
line_comment
nl
package com.example.idek; import com.google.zxing.BinaryBitmap; import com.google.zxing.ChecksumException; import com.google.zxing.DecodeHintType; import com.google.zxing.FormatException; import com.google.zxing.NotFoundException; import com.google.zxing.Result; import com.google.zxing.qrcode.QRCodeReader; import jav...
87789_6
package mongodbtest; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoClient; import com.mongodb.util.JSON; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Array...
0NightBot0/DevDatabase
assignment 2/MongoDB/src/mongodbtest/MongoDBTest.java
1,285
// creëren hiermee bsn nummers van 5 cijfers
line_comment
nl
package mongodbtest; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; import com.mongodb.MongoClient; import com.mongodb.util.JSON; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Array...
158349_80
package com.spaceproject.math; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector3; import java.math.BigDecimal; import java.util.Arrays; /** * Disclaimer: I am not a physicist. There may be errata but I will do my best. * Sources: * https://en.wikipedia...
0XDE57/SpaceProject
core/src/com/spaceproject/math/Physics.java
6,565
//5772K = 502nm = 597 THz = green light
line_comment
nl
package com.spaceproject.math; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector3; import java.math.BigDecimal; import java.util.Arrays; /** * Disclaimer: I am not a physicist. There may be errata but I will do my best. * Sources: * https://en.wikipedia...
194699_31
/** * Mengen nichtnegativer ganzer Zahlen in kompakter * Speicherrepraesentation: ob eine Zahl in der Menge enthalten * ist, wird durch EIN BIT im Speicher erfasst! * * <br> * Beispiel: * <br> * <code> * <br>IntSet set = new IntSet(8); * <br>int a[] = { 1, 3, 4, 5 }; * <br>set.include( a ); * <br> * <br> ...
0dentitaet/gdp
gdp/IntSet.java
2,233
/** * IntSet Mengen-Iterator */
block_comment
nl
/** * Mengen nichtnegativer ganzer Zahlen in kompakter * Speicherrepraesentation: ob eine Zahl in der Menge enthalten * ist, wird durch EIN BIT im Speicher erfasst! * * <br> * Beispiel: * <br> * <code> * <br>IntSet set = new IntSet(8); * <br>int a[] = { 1, 3, 4, 5 }; * <br>set.include( a ); * <br> * <br> ...
13786_11
package gameapplication.model; import gameapplication.model.chess.Board; import gameapplication.model.chess.piece.Piece; import gameapplication.model.chess.piece.pieces.Pawn; import gameapplication.model.chess.piece.pieces.Piecetype; import gameapplication.model.chess.spot.Spot; import java.util.ArrayList; import jav...
0xBienCuit/ChessGame
src/gameapplication/model/MoveManager.java
2,777
// als er op een andere piece gecklicked werd, doe ook niks.
line_comment
nl
package gameapplication.model; import gameapplication.model.chess.Board; import gameapplication.model.chess.piece.Piece; import gameapplication.model.chess.piece.pieces.Pawn; import gameapplication.model.chess.piece.pieces.Piecetype; import gameapplication.model.chess.spot.Spot; import java.util.ArrayList; import jav...
183866_29
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. 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...
0xRustlang/keepass2android
src/java/JavaFileStorage/app/src/main/java/com/jcraft/jsch/jzlib/Tree.java
6,522
// heap index
line_comment
nl
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. 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...
23167_21
package XML; import Correction.Correction; import Correction.Corrector; import java.awt.geom.FlatteningPathIterator; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; public class XML...
0xSMN/2.2-Leertaak_3
Data_Processor/XML/XML_Parser.java
2,525
// Regen, geeft aan of het geregend heeft.
line_comment
nl
package XML; import Correction.Correction; import Correction.Corrector; import java.awt.geom.FlatteningPathIterator; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; public class XML...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
10