file_id stringlengths 5 10 | content stringlengths 110 36.3k | repo stringlengths 7 108 | path stringlengths 8 204 | token_length int64 37 8.19k | original_comment stringlengths 4 5.74k | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 46 36.2k |
|---|---|---|---|---|---|---|---|---|
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... |
8393_6 | //todo: fix de 2d array hier pls.
/*
* 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 prte1.vraag.pkg1;
import java.util.Arrays;
/**
*
* @author
*/
public class PRTE1Vraag... | 0974201/code-bin | java/array.java | 1,061 | //final int LENGTH = 10; //maakt 1d array waar values zelf ingevuld moeten worden | line_comment | nl | //todo: fix de 2d array hier pls.
/*
* 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 prte1.vraag.pkg1;
import java.util.Arrays;
/**
*
* @author
*/
public class PRTE1Vraag... |
65262_6 | package com.example.idek;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.util.Log;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.WriterException;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.qrcode.QRCodeWriter;
import com.google.zxing.EncodeHintType... | 0974201/qr-ding | app/src/main/java/com/example/idek/qrGenerator.java | 1,153 | //hoe groot de qr code moet zijn in pixels | line_comment | nl | package com.example.idek;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.util.Log;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.WriterException;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.qrcode.QRCodeWriter;
import com.google.zxing.EncodeHintType... |
87789_4 |
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 | // Forloop dient als een generator die gebruik maakt van een random method | 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_85 | 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> ... |
21772_5 | package gameapplication.model.chess;
import gameapplication.model.MoveManager;
import gameapplication.model.chess.piece.Piece;
import gameapplication.model.chess.piece.PieceColor;
import gameapplication.model.chess.piece.PieceSets;
import gameapplication.model.chess.piece.pieces.King;
import gameapplication.model.che... | 0xBienCuit/ChessGame | src/gameapplication/model/chess/Board.java | 2,895 | //Creer 2 pieceSets | line_comment | nl | package gameapplication.model.chess;
import gameapplication.model.MoveManager;
import gameapplication.model.chess.piece.Piece;
import gameapplication.model.chess.piece.PieceColor;
import gameapplication.model.chess.piece.PieceSets;
import gameapplication.model.chess.piece.pieces.King;
import gameapplication.model.che... |
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_27 | 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 | //Windrichting in graden, geldige waardes van 0 t/m 359 alleen gehele getallen | 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... |
23688_1 | package hoofdmenu.laadprofiel;
import hoofdmenu.ToonHoofdmenu;
import spel.ToonSpelbord;
import utils.Computer;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
/**
*... | 0xbart/QuixoJavaGame | src/hoofdmenu/laadprofiel/LaadProfiel.java | 1,547 | //De utils klassen is nodig om te kijken of het op een Linux of op een Windows computer draait. | line_comment | nl | package hoofdmenu.laadprofiel;
import hoofdmenu.ToonHoofdmenu;
import spel.ToonSpelbord;
import utils.Computer;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
/**
*... |
185101_1 | package dev.bearz.whattodo;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bun... | 1070rik/What-To-Do | app/src/main/java/dev/bearz/whattodo/events.java | 1,422 | //nijdeken.com/wtd/api.php"; | line_comment | nl | package dev.bearz.whattodo;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bun... |
142662_1 | package bpp_sim.Functions;
import bpp_sim.Doos;
import bpp_sim.Product;
import java.util.ArrayList;
/*
Onze eigen bedachte functie - FullNFD
Ofwel - Even/uneven-functie
*/
public class FirstFullNFD implements BPP{
@Override
public ArrayList<Doos> berekenOplossing(ArrayList<Product> producten) {
... | 13r1ckz/KBS-Magazijn | BPP-SIMULATOR/src/bpp_sim/Functions/FirstFullNFD.java | 600 | /* Voor elk product, gooi het in een EVEN of ONEVEN-lijst. */ | block_comment | nl | package bpp_sim.Functions;
import bpp_sim.Doos;
import bpp_sim.Product;
import java.util.ArrayList;
/*
Onze eigen bedachte functie - FullNFD
Ofwel - Even/uneven-functie
*/
public class FirstFullNFD implements BPP{
@Override
public ArrayList<Doos> berekenOplossing(ArrayList<Product> producten) {
... |
28344_26 | package org.firstinspires.ftc.teamcode.autonomousroutes;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.teamcode.autonomousclasses.BezierCurveRoute;
import org.firstinspires.ftc.teamcode.robots.CompetitionRobot;
/**... | 16788-TheEncryptedGentlemen/FtcRobotController | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autonomousroutes/BlueStart2VisionPushParkB.java | 1,714 | //Rij naar de backstage en parkeer. | line_comment | nl | package org.firstinspires.ftc.teamcode.autonomousroutes;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.teamcode.autonomousclasses.BezierCurveRoute;
import org.firstinspires.ftc.teamcode.robots.CompetitionRobot;
/**... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 8