index int64 130 4.67k | file_id stringlengths 6 9 | content stringlengths 407 11.9k | repo stringlengths 11 72 | path stringlengths 11 133 | token_length int64 146 3.59k | original_comment stringlengths 17 507 | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 362 11.8k | Inclusion stringclasses 1
value | Exclusion stringclasses 1
value | __index_level_0__ int64 1.95k 2.15k | file-tokens-Qwen/CodeQwen1.5-7B int64 146 3.59k | comment-tokens-Qwen/CodeQwen1.5-7B int64 6 144 | comment_tail_length_Qwen/CodeQwen1.5-7B int64 4 101 | file-tokens-bigcode/starcoder2-7b int64 141 3.69k | comment-tokens-bigcode/starcoder2-7b int64 7 145 | comment_tail_length_bigcode/starcoder2-7b int64 5 104 | file-tokens-google/codegemma-7b int64 130 3.6k | comment-tokens-google/codegemma-7b int64 5 125 | comment_tail_length_google/codegemma-7b int64 3 82 | file-tokens-ibm-granite/granite-8b-code-base int64 141 3.69k | comment-tokens-ibm-granite/granite-8b-code-base int64 7 145 | comment_tail_length_ibm-granite/granite-8b-code-base int64 5 104 | file-tokens-meta-llama/CodeLlama-7b-hf int64 146 3.96k | comment-tokens-meta-llama/CodeLlama-7b-hf int64 7 161 | comment_tail_length_meta-llama/CodeLlama-7b-hf int64 5 106 | excluded-based-on-tokenizer-Qwen/CodeQwen1.5-7B bool 2
classes | excluded-based-on-tokenizer-bigcode/starcoder2-7b bool 2
classes | excluded-based-on-tokenizer-google/codegemma-7b bool 2
classes | excluded-based-on-tokenizer-ibm-granite/granite-8b-code-base bool 2
classes | excluded-based-on-tokenizer-meta-llama/CodeLlama-7b-hf bool 2
classes | include-for-inference bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
882 | 111092_3 | package nl.hva.ict.data.MongoDB;
import com.mongodb.MongoException;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import nl.hva.ict.MainApplication;
import nl.hva.ict.data.Data;
import org.bson.Document... | JuniorBrPr/DB2V2 | src/nl/hva/ict/data/MongoDB/MongoDB.java | 477 | // Verbind alleen als er nog geen actieve verbinding is. | line_comment | nl | package nl.hva.ict.data.MongoDB;
import com.mongodb.MongoException;
import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import nl.hva.ict.MainApplication;
import nl.hva.ict.data.Data;
import org.bson.Document... | True | False | 1,952 | 477 | 14 | 12 | 392 | 17 | 15 | 401 | 13 | 11 | 392 | 17 | 15 | 455 | 15 | 13 | false | false | false | false | false | true |
1,899 | 88062_9 | package bin.model;
import java.util.List;
import bin.logic.Field;
import bin.logic.Location;
/**
* A simple model of a grass.
* Grasss age, move, breed, and die.
*
* @author Ieme, Jermo, Yisong
* @version 2012.01.29
*/
public class Grass extends Plant
{
// Characteristics shared by all grass (class vari... | X08/Vossen-en-Konijnen | bin/model/Grass.java | 1,593 | /**
* Zorgt er voor dat er geen nakomeling worden geboren als er te weinig voesel zijn.
* @return true als genoeg voedsel zijn
* @return false als niet genoeg voedsel zijn
*/ | block_comment | nl | package bin.model;
import java.util.List;
import bin.logic.Field;
import bin.logic.Location;
/**
* A simple model of a grass.
* Grasss age, move, breed, and die.
*
* @author Ieme, Jermo, Yisong
* @version 2012.01.29
*/
public class Grass extends Plant
{
// Characteristics shared by all grass (class vari... | True | False | 1,957 | 1,593 | 56 | 40 | 1,441 | 60 | 48 | 1,486 | 49 | 33 | 1,443 | 60 | 48 | 1,646 | 60 | 44 | false | false | false | false | false | true |
3,043 | 70446_1 | package ap.be.backend.security.jwt;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.... | iDeebSee/LEAP | backend/src/main/java/ap/be/backend/security/jwt/AuthTokenFilter.java | 845 | /**
* Controleert of de gebruiker en token bij elkaar horen.
* @param request interface dat wordt gebruikt om authenticatie details aan te vragen.
* @param response interface dat wordt gebruikt om HTTP specifieke functionaliteiten binnen te krijgen.
* @param filterChain vuurt de volgende filter in... | block_comment | nl | package ap.be.backend.security.jwt;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.... | True | False | 1,962 | 845 | 132 | 96 | 724 | 129 | 102 | 731 | 118 | 82 | 724 | 129 | 102 | 839 | 142 | 106 | true | false | true | false | true | false |
348 | 56970_2 | /*
* Commons eID Project.
* Copyright (C) 2008-2013 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be usef... | Corilus/commons-eid | commons-eid-consumer/src/main/java/be/fedict/commons/eid/consumer/DocumentType.java | 1,169 | /**
* Bewijs van inschrijving in het vreemdelingenregister ??? Tijdelijk
* verblijf
*/ | block_comment | nl | /*
* Commons eID Project.
* Copyright (C) 2008-2013 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be usef... | True | False | 1,967 | 1,169 | 33 | 21 | 1,108 | 32 | 24 | 1,073 | 27 | 16 | 1,108 | 32 | 24 | 1,275 | 34 | 22 | false | false | false | false | false | true |
307 | 97783_17 | /**
* Copyright (C) 2012 GridLine <info@gridline.nl>
*
* 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 th... | CatchPlus/User-Profile-Repository | upr-api/src/main/java/nl/gridline/model/upr/Visit.java | 2,436 | // URL waarop actie is uitgevoerd | line_comment | nl | /**
* Copyright (C) 2012 GridLine <info@gridline.nl>
*
* 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 th... | True | False | 1,970 | 2,436 | 10 | 9 | 2,244 | 11 | 10 | 2,281 | 6 | 5 | 2,244 | 11 | 10 | 2,671 | 11 | 10 | false | false | false | false | false | true |
1,336 | 83193_1 | package customComponents;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
p... | ProjectgroepA8/BroBot | gui/customComponents/Filehandling.java | 1,100 | //route file schrijven | line_comment | nl | package customComponents;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
p... | True | False | 1,971 | 1,100 | 6 | 4 | 931 | 7 | 5 | 954 | 5 | 3 | 931 | 7 | 5 | 1,150 | 7 | 5 | false | false | false | false | false | true |
1,863 | 71894_2 | package Domain.Task;
import Domain.DataClasses.Time;
import Domain.User.Role;
import Domain.User.User;
import Domain.User.UserAlreadyAssignedToTaskException;
/**
* Task state class governing the task transitions from the PENDING state
*/
public class PendingState implements TaskState {
@Override
public voi... | WardGr/SWOP | src/Domain/Task/PendingState.java | 522 | // terug available wordt bij het verwijderen van deze | line_comment | nl | package Domain.Task;
import Domain.DataClasses.Time;
import Domain.User.Role;
import Domain.User.User;
import Domain.User.UserAlreadyAssignedToTaskException;
/**
* Task state class governing the task transitions from the PENDING state
*/
public class PendingState implements TaskState {
@Override
public voi... | True | False | 1,972 | 522 | 13 | 12 | 447 | 13 | 12 | 477 | 9 | 8 | 447 | 13 | 12 | 529 | 12 | 11 | false | false | false | false | false | true |
1,255 | 62851_21 | /*_x000D_
* To change this license header, choose License Headers in Project Properties._x000D_
* To change this template file, choose Tools | Templates_x000D_
* and open the template in the editor._x000D_
*/_x000D_
package conversion.pdf.util;_x000D_
_x000D_
import java.io.ByteArrayInputStream;_x000D_
import java.... | OpenWebslides/conversion-tool | WebslideConversionLib/src/conversion/pdf/util/PDFTextExtractor.java | 2,619 | /*Hier wordt onderzocht welke soort delimiter je hebt, is het een ander teken dan gewone tekst dan splits je daarop ook...*/ | block_comment | nl | /*_x000D_
* To change this license header, choose License Headers in Project Properties._x000D_
* To change this template file, choose Tools | Templates_x000D_
* and open the template in the editor._x000D_
*/_x000D_
package conversion.pdf.util;_x000D_
_x000D_
import java.io.ByteArrayInputStream;_x000D_
import java.... | True | False | 1,976 | 3,519 | 35 | 31 | 3,691 | 39 | 35 | 3,599 | 28 | 24 | 3,691 | 39 | 35 | 3,963 | 36 | 32 | false | false | false | false | false | true |
1,865 | 19764_4 | import java.util.Scanner;
import java.util.*;
public class Main {
static class Metingen {
String linkerSchaal, rechterSchaal, weegResul;
Metingen(String linkerSchaalC, String rechterSchaalC, String weegResulC){
this.linkerSchaal=linkerSchaalC;
this.rechterSchaal=rechterSchaalC;
this.weegResul=weegResu... | Waterboy1602/DatastructurenEnAlgoritmen_VPW | ValsGeld/src/Main.java | 1,993 | //Of de munt is rechts en de schaal gaat naar boven ==> lichter | line_comment | nl | import java.util.Scanner;
import java.util.*;
public class Main {
static class Metingen {
String linkerSchaal, rechterSchaal, weegResul;
Metingen(String linkerSchaalC, String rechterSchaalC, String weegResulC){
this.linkerSchaal=linkerSchaalC;
this.rechterSchaal=rechterSchaalC;
this.weegResul=weegResu... | True | False | 1,985 | 1,993 | 18 | 15 | 1,904 | 24 | 22 | 1,741 | 16 | 14 | 1,904 | 24 | 22 | 2,195 | 20 | 18 | false | false | false | false | false | true |
747 | 55362_0 | package main.application;
/**
* De schimmel F. ellipsoidea wordt erg groot. De fibonacci reeks bepaald het aantal
* centimeters dat de schimmel dagelijks in diameter toeneemt.
* Bereken de omtrek van de schimmel na 1000 dagen groeien.
* Antwoord in centimeters en gebruik de wetenschappelijke notatie,
* rond af o... | Igoranze/Martyrs-mega-project-list | tweakers-devv-contest/src/main/application/VraagQuattro.java | 396 | /**
* De schimmel F. ellipsoidea wordt erg groot. De fibonacci reeks bepaald het aantal
* centimeters dat de schimmel dagelijks in diameter toeneemt.
* Bereken de omtrek van de schimmel na 1000 dagen groeien.
* Antwoord in centimeters en gebruik de wetenschappelijke notatie,
* rond af op 4 cijfers achter de komm... | block_comment | nl | package main.application;
/**
* De schimmel F.<SUF>*/
public class VraagQuattro {
public static void main(String[] args) {
double a = 0;
double b = 1;
double c = 0;
double d = 2;
for (int i = 3; i <= 1000; i++) {
c = a + b;
d += c;
a = b;
b = c;
}
System.out.println(formatToString(d*Math... | True | False | 1,989 | 396 | 117 | 83 | 405 | 135 | 97 | 376 | 101 | 61 | 405 | 135 | 97 | 439 | 125 | 85 | false | true | false | true | false | false |
3,128 | 13751_3 | package afvink3;
/**
* Race class
* Class Race maakt gebruik van de class Paard
*
* @author Martijn van der Bruggen
* @version alpha - aanroep van cruciale methodes ontbreekt
* (c) 2009 Hogeschool van Arnhem en Nijmegen
*
* Note: deze code is bewust niet op alle punten generiek
* dit om nog onbekende construc... | itbc-bin/1819-owe5a-afvinkopdracht3-Casvanrijbroek | afvink3/Race.java | 2,009 | /* (2) Declareer hier h1, h2, h3, h4 van het type Paard
* Deze paarden instantieer je later in het programma
*/ | block_comment | nl | package afvink3;
/**
* Race class
* Class Race maakt gebruik van de class Paard
*
* @author Martijn van der Bruggen
* @version alpha - aanroep van cruciale methodes ontbreekt
* (c) 2009 Hogeschool van Arnhem en Nijmegen
*
* Note: deze code is bewust niet op alle punten generiek
* dit om nog onbekende construc... | True | False | 1,994 | 2,009 | 44 | 26 | 1,856 | 41 | 25 | 1,804 | 41 | 23 | 1,856 | 41 | 25 | 2,044 | 42 | 24 | false | false | false | false | false | true |
1,503 | 39015_0 | /*
- De private functies die doen een operatie van source naar destination,
waarna destination de nieuwe fileWriter is.
- De public tegenhangers kopieren de file naar een tijdelijke kopie, en
doen de operatie daarna van de tijdelijke kopie naar de originele file,
zodat de checkpointFile ongewijzigd ... | RvanNieuwpoort/satin | src/main/java/ibis/satin/impl/checkPointing/CheckpointFile.java | 3,558 | /*
- De private functies die doen een operatie van source naar destination,
waarna destination de nieuwe fileWriter is.
- De public tegenhangers kopieren de file naar een tijdelijke kopie, en
doen de operatie daarna van de tijdelijke kopie naar de originele file,
zodat de checkpointFile ongewijzigd ... | block_comment | nl | /*
- De private<SUF>*/
package ibis.satin.impl.checkPointing;
import ibis.ipl.IbisIdentifier;
import ibis.satin.impl.faultTolerance.GlobalResultTable;
import ibis.satin.impl.spawnSync.ReturnRecord;
import ibis.satin.impl.spawnSync.Stamp;
import java.io.EOFException;
import java.io.IOException;
import java.io.Object... | True | False | 1,995 | 3,558 | 119 | 93 | 3,106 | 116 | 99 | 3,302 | 101 | 75 | 3,106 | 116 | 99 | 3,655 | 118 | 92 | false | false | false | false | false | true |
1,610 | 122913_5 | package be.uantwerpen.sc.controllers.mqtt;
import be.uantwerpen.sc.services.JobService;
import be.uantwerpen.sc.tools.Terminal;
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.slf4j.Logger;
impor... | SmartCity-UAntwerpen/RobotCore | src/main/java/be/uantwerpen/sc/controllers/mqtt/MqttJobSubscriberCallback.java | 579 | //ontvangen bericht toevoegen aan de jobs | line_comment | nl | package be.uantwerpen.sc.controllers.mqtt;
import be.uantwerpen.sc.services.JobService;
import be.uantwerpen.sc.tools.Terminal;
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.slf4j.Logger;
impor... | True | False | 1,996 | 579 | 12 | 11 | 482 | 14 | 13 | 496 | 9 | 8 | 482 | 14 | 13 | 586 | 12 | 11 | false | false | false | false | false | true |
2,290 | 58043_6 | /*
* This file is part of wegenenverkeer common-resteasy.
* Copyright (c) AWV Agentschap Wegen en Verkeer, Vlaamse Gemeenschap
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package be.wegenenverkeer.com... | bramp/common-resteasy | resteasy/src/main/java/be/wegenenverkeer/common/resteasy/logging/PreProcessLoggingInterceptor.java | 2,965 | /**
* Implementatie van de MessageBodyReaderInterceptor interface.
*
* @param context de service context
* @return deze methode geeft gewoon het antwoord van de volgende reader in de chain terug
* @throws IOException indien de vorige reader deze exception gooit
*/ | block_comment | nl | /*
* This file is part of wegenenverkeer common-resteasy.
* Copyright (c) AWV Agentschap Wegen en Verkeer, Vlaamse Gemeenschap
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package be.wegenenverkeer.com... | True | False | 2,000 | 2,965 | 70 | 47 | 2,519 | 67 | 50 | 2,655 | 62 | 39 | 2,519 | 67 | 50 | 2,950 | 72 | 49 | false | false | false | false | false | true |
1,875 | 22054_14 | /**
*
* CVS: $Header: /export/home0/cvsroot/socsg/DRAMA/Sources/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java,v 1.1.1.1 2001/09/07 09:41:38 dirkw Exp $
*
* (C) 2000
* Katholieke Universiteit Leuven
* Developed at Dept. Computer Science
*
*/
package be.ac.kuleuven.cs.drama.simulator.devices.CVO;
import... | WillemDeGroef/drama | src/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java | 1,211 | /**zet de waarde van de geheugen beheer eenheid
@param value de nieuwe waarde van de geheugen beheer eenheid
*/ | block_comment | nl | /**
*
* CVS: $Header: /export/home0/cvsroot/socsg/DRAMA/Sources/be/ac/kuleuven/cs/drama/simulator/devices/CVO/PTW.java,v 1.1.1.1 2001/09/07 09:41:38 dirkw Exp $
*
* (C) 2000
* Katholieke Universiteit Leuven
* Developed at Dept. Computer Science
*
*/
package be.ac.kuleuven.cs.drama.simulator.devices.CVO;
import... | True | False | 2,003 | 1,211 | 39 | 31 | 1,117 | 41 | 36 | 1,078 | 31 | 24 | 1,117 | 41 | 36 | 1,218 | 37 | 30 | false | false | false | false | false | true |
856 | 159134_16 | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... | JonathanBrouwer/UltimateCore | src/main/java/bammerbom/ultimatecore/sponge/api/module/Modules.java | 2,482 | //Mogelijkheid om meerdere commands te maken | line_comment | nl | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... | True | False | 2,005 | 2,482 | 12 | 11 | 2,079 | 12 | 11 | 2,203 | 9 | 8 | 2,079 | 12 | 11 | 2,546 | 13 | 12 | false | false | false | false | false | true |
572 | 186805_2 | package be.intecbrussel;
import be.intecbrussel.DO_NOT_TOUCH.ErrorSystem;
import be.intecbrussel.DO_NOT_TOUCH.InternalApp;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
new InternalApp().start(); // DO NOT TOUCH
// Hieronder plaats je de code.
// ... | Gabe-Alvess/Opdracht_ErrorSystem | src/be/intecbrussel/Main.java | 837 | // Met de methode getError(), krijg je een error, | line_comment | nl | package be.intecbrussel;
import be.intecbrussel.DO_NOT_TOUCH.ErrorSystem;
import be.intecbrussel.DO_NOT_TOUCH.InternalApp;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
new InternalApp().start(); // DO NOT TOUCH
// Hieronder plaats je de code.
// ... | True | False | 2,006 | 837 | 14 | 11 | 690 | 15 | 12 | 742 | 12 | 9 | 690 | 15 | 12 | 840 | 16 | 13 | false | false | false | false | false | true |
4,558 | 158781_6 | /*
* Copyright 2022 Topicus Onderwijs Eduarte B.V..
*
* 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 applicable ... | topicusonderwijs/tribe-krd-quarkus | src/main/java/nl/topicus/eduarte/model/entities/participatie/enums/UitnodigingStatus.java | 631 | /**
* Participant heeft zich ingeschreven voor een inloopcollege.
*/ | block_comment | nl | /*
* Copyright 2022 Topicus Onderwijs Eduarte B.V..
*
* 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 applicable ... | True | False | 2,012 | 631 | 21 | 13 | 623 | 22 | 16 | 547 | 19 | 11 | 623 | 22 | 16 | 678 | 22 | 14 | false | false | false | false | false | true |
4,177 | 129519_5 | import Classes.Gebruiker;
import Classes.Kamer;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java... | rickvanw/WebApp2 | src/ShowPersonsServlet.java | 755 | // HTML pagina met alle gebruikers in het model | line_comment | nl | import Classes.Gebruiker;
import Classes.Kamer;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java... | True | False | 2,020 | 755 | 13 | 12 | 630 | 10 | 9 | 641 | 9 | 8 | 630 | 10 | 9 | 747 | 12 | 11 | false | false | false | false | false | true |
1,032 | 34559_0 | import java.lang.*;
/**
* De klasse StudentWerknemer is een Java klasse.
* @author Jolita Grazyte
*
*/
public class StudentWerknemer extends PartTimeWerknemer {
public int urenGewerkt;
public StudentWerknemer ( String voornaam, String achternaam, int nr, float sal, int urengw)
{
su... | MTA-Digital-Broadcast-2/O-Van-den-Broeck-Jeroen-Gurbuz-Hasan-Project-MHP | Gurbuz_Hasan/Labojava/blz31/Oef7/StudentWerknemer.java | 146 | /**
* De klasse StudentWerknemer is een Java klasse.
* @author Jolita Grazyte
*
*/ | block_comment | nl | import java.lang.*;
/**
* De klasse StudentWerknemer<SUF>*/
public class StudentWerknemer extends PartTimeWerknemer {
public int urenGewerkt;
public StudentWerknemer ( String voornaam, String achternaam, int nr, float sal, int urengw)
{
super(voornaam, achternaam, nr, sal, urengw );
... | True | False | 2,022 | 146 | 31 | 20 | 141 | 32 | 21 | 130 | 27 | 16 | 141 | 32 | 21 | 146 | 31 | 20 | false | false | false | false | false | true |
4,314 | 115356_1 | package datajungle.scenes;
import datajungle.components.Enemy;
import datajungle.components.Player;
import datajungle.systems.CollisionManager;
import java.util.List;
public abstract class Scene {
private String name;
private boolean isRunning;
public Player player;
// Initialiseer een Scene objec... | siloonk/It-s-in-the-game | Sandbox/BasicGame/src/datajungle/scenes/Scene.java | 336 | // Wordt gecalled wanneer de scene geinitaliseert wordt. | line_comment | nl | package datajungle.scenes;
import datajungle.components.Enemy;
import datajungle.components.Player;
import datajungle.systems.CollisionManager;
import java.util.List;
public abstract class Scene {
private String name;
private boolean isRunning;
public Player player;
// Initialiseer een Scene objec... | True | False | 2,026 | 336 | 16 | 14 | 289 | 17 | 15 | 304 | 15 | 13 | 289 | 17 | 15 | 357 | 18 | 16 | false | false | false | false | false | true |
130 | 129153_2 | package org.firstinspires.ftc.teamcode;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.disnodeteam.dogecv.CameraViewDisplay;
import com.disnodeteam.dogecv.detectors.*;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
im... | ArjanB2001/FTC_Robot | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/DogeCVTest.java | 842 | //Naar rechts draaien | line_comment | nl | package org.firstinspires.ftc.teamcode;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.disnodeteam.dogecv.CameraViewDisplay;
import com.disnodeteam.dogecv.detectors.*;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
im... | True | False | 2,029 | 842 | 7 | 6 | 678 | 10 | 9 | 698 | 6 | 5 | 678 | 10 | 9 | 850 | 8 | 7 | false | false | false | false | false | true |
1,670 | 43891_10 | package gui;_x000D_
_x000D_
import javafx.event.ActionEvent;_x000D_
import javafx.event.EventHandler;_x000D_
import javafx.geometry.HPos;_x000D_
import javafx.geometry.Insets;_x000D_
import javafx.geometry.Pos;_x000D_
import javafx.scene.Scene;_x000D_
import javafx.scene.control.Button;_x000D_
import javafx.scene.contr... | Swesje/OO-Software-Development-II | H5 - JavaFX/Werkcollege/Voorbeelden/FXVoorbeeld7/src/gui/LoginScherm.java | 1,350 | // We koppelen een event handler aan de knop Sign In_x000D_ | line_comment | nl | package gui;_x000D_
_x000D_
import javafx.event.ActionEvent;_x000D_
import javafx.event.EventHandler;_x000D_
import javafx.geometry.HPos;_x000D_
import javafx.geometry.Insets;_x000D_
import javafx.geometry.Pos;_x000D_
import javafx.scene.Scene;_x000D_
import javafx.scene.control.Button;_x000D_
import javafx.scene.contr... | True | False | 2,031 | 1,875 | 19 | 17 | 1,914 | 21 | 17 | 1,878 | 19 | 15 | 1,914 | 21 | 17 | 2,045 | 21 | 17 | false | false | false | false | false | true |
4,145 | 40042_15 | package com.reinder42.TodoApp.model;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
public class TodoServicePersisted implements TodoServiceInterface
{
... | reinder42/V1OOP-TodoApp | src/main/java/com/reinder42/TodoApp/model/TodoServicePersisted.java | 889 | // Sluit de stream naar het bestand | line_comment | nl | package com.reinder42.TodoApp.model;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
public class TodoServicePersisted implements TodoServiceInterface
{
... | True | False | 2,032 | 889 | 8 | 7 | 772 | 9 | 8 | 786 | 8 | 7 | 772 | 9 | 8 | 900 | 9 | 8 | false | false | false | false | false | true |
1,386 | 4793_10 | import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class level4 here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class level4 extends World
{
private CollisionEngine ce;
Counter counter = new Counter();
/**
... | ROCMondriaanTIN/project-greenfoot-game-Mathijs01 | level4.java | 2,780 | // zodat de camera weet welke tiles allemaal moeten meebewegen met de camera | line_comment | nl | import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class level4 here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class level4 extends World
{
private CollisionEngine ce;
Counter counter = new Counter();
/**
... | True | False | 2,043 | 2,780 | 17 | 16 | 3,203 | 24 | 23 | 3,251 | 15 | 14 | 3,203 | 24 | 23 | 3,344 | 24 | 23 | false | false | false | false | false | true |
3,390 | 20475_8 | package model;
import java.util.ArrayList;
/**
* <p>
* Presentation
* </p>
* <p>
* Presentation holds the data of the current presentation.
* </p>
*
* @author Ian F. Darwin, ian@darwinsys.com, Gert Florijn, Sylvia Stuurman
* @version 1.1 2002/12/17 Gert Florijn
* @version 1.2 2003/11/19 Sylvia Stuurman
* ... | koenvandensteen/Vincent_Koen_JabberPoint | src/model/Presentation.java | 616 | // Voeg een slide toe aan de presentatie | line_comment | nl | package model;
import java.util.ArrayList;
/**
* <p>
* Presentation
* </p>
* <p>
* Presentation holds the data of the current presentation.
* </p>
*
* @author Ian F. Darwin, ian@darwinsys.com, Gert Florijn, Sylvia Stuurman
* @version 1.1 2002/12/17 Gert Florijn
* @version 1.2 2003/11/19 Sylvia Stuurman
* ... | True | False | 2,044 | 616 | 10 | 9 | 642 | 10 | 9 | 580 | 10 | 9 | 642 | 10 | 9 | 678 | 10 | 9 | false | false | false | false | false | true |
1,400 | 41349_15 |
import greenfoot.*;
import java.util.List;
/**
*
* @author R. Springer
*/
public class TileEngine {
public static int TILE_WIDTH;
public static int TILE_HEIGHT;
public static int SCREEN_HEIGHT;
public static int SCREEN_WIDTH;
public static int MAP_WIDTH;
public static int MAP_HEIGHT;
... | ROCMondriaanTIN/project-greenfoot-game-Tommie01 | TileEngine.java | 1,948 | // het toevoegen van het object. | line_comment | nl |
import greenfoot.*;
import java.util.List;
/**
*
* @author R. Springer
*/
public class TileEngine {
public static int TILE_WIDTH;
public static int TILE_HEIGHT;
public static int SCREEN_HEIGHT;
public static int SCREEN_WIDTH;
public static int MAP_WIDTH;
public static int MAP_HEIGHT;
... | True | False | 2,047 | 1,948 | 9 | 7 | 1,664 | 10 | 8 | 1,807 | 8 | 6 | 1,678 | 10 | 8 | 1,991 | 9 | 7 | false | false | false | false | false | true |
1,502 | 94298_2 | package masterMind;
public class masterMind7
{
public static void main(String args[])
{
vergelijken check = new vergelijken();
String[] controleVak = new String[4];
String[] codeMaker = check.codeAanMaken();
String[] codeBrekerArray = new String[4];
int poging = 1;
do
{
System.out.println("Dit i... | Ruveydabal/MasterMind | src/masterMind/masterMind7.java | 550 | // zegt of het zwart pin, wit pin of geen pin is | line_comment | nl | package masterMind;
public class masterMind7
{
public static void main(String args[])
{
vergelijken check = new vergelijken();
String[] controleVak = new String[4];
String[] codeMaker = check.codeAanMaken();
String[] codeBrekerArray = new String[4];
int poging = 1;
do
{
System.out.println("Dit i... | True | False | 2,052 | 550 | 14 | 12 | 509 | 18 | 16 | 511 | 13 | 11 | 509 | 18 | 16 | 576 | 16 | 14 | false | false | false | false | false | true |
1,201 | 21680_0 | package nl.novi.eindopdracht.LoginAndSecurity.Model;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
import nl.novi.eindopdracht.Image.ImageData;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name="users")
public class User {
@Column
@NotBlank
private Stri... | NickN1994/eindopdracht-backend | src/main/java/nl/novi/eindopdracht/LoginAndSecurity/Model/User.java | 748 | // Deze eerste 3 variabelen zijn verplicht om te kunnen inloggen met een username, password en rol. | line_comment | nl | package nl.novi.eindopdracht.LoginAndSecurity.Model;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
import nl.novi.eindopdracht.Image.ImageData;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name="users")
public class User {
@Column
@NotBlank
private Stri... | True | False | 2,061 | 748 | 28 | 23 | 642 | 30 | 25 | 657 | 23 | 18 | 642 | 30 | 25 | 761 | 26 | 21 | false | false | false | false | false | true |
3,084 | 7496_50 | package BarChart;
/**
* Dit programma leest gegevens in van een demoprogramma en geeft het terug als een grafiek.
*
* @version 07/01/2019
* @author Elian Van Cutsem
*/
public class BarChart {
//initialiseren
/**
* bevat de titel van de grafiek
*/
public final String TITLE;
/**
* bev... | ikdoeict-notes/programmeren-1 | labo/ILE BarChart/src/BarChart/BarChart.java | 3,561 | //geeft de titel | line_comment | nl | package BarChart;
/**
* Dit programma leest gegevens in van een demoprogramma en geeft het terug als een grafiek.
*
* @version 07/01/2019
* @author Elian Van Cutsem
*/
public class BarChart {
//initialiseren
/**
* bevat de titel van de grafiek
*/
public final String TITLE;
/**
* bev... | True | False | 2,075 | 3,561 | 7 | 5 | 3,245 | 7 | 5 | 3,161 | 6 | 4 | 3,245 | 7 | 5 | 3,456 | 7 | 5 | false | false | false | false | false | true |
569 | 11567_5 | package be.intecbrussel;
public class Person {
/*
Access Modifiers:
* Public -> Overal toegankelijk, vanuit elke klas, package of buiten de package.
* Private -> Toegankelijk binnen de klassen waar deze gedefinieerd is. Niet toegankelijk van buiten uit de klas.
* Protected -> Alleen toegankelijk vo... | Gabe-Alvess/LesClassesManuel | src/be/intecbrussel/Person.java | 1,170 | // Het gaat dit waarde niet terug geven. VB: setter. | line_comment | nl | package be.intecbrussel;
public class Person {
/*
Access Modifiers:
* Public -> Overal toegankelijk, vanuit elke klas, package of buiten de package.
* Private -> Toegankelijk binnen de klassen waar deze gedefinieerd is. Niet toegankelijk van buiten uit de klas.
* Protected -> Alleen toegankelijk vo... | True | False | 2,077 | 1,170 | 17 | 13 | 1,103 | 18 | 14 | 1,049 | 13 | 9 | 1,103 | 18 | 14 | 1,203 | 17 | 13 | false | false | false | false | false | true |
3,973 | 173211_0 | package nl.ordina.jtech.ws.jerseyjaxrs;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
import javax.ws.rs.ServiceUnavailableException;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.W... | petereijgermans11/websockets_http2 | cursus-websockets-server-push-master/workspace/jersey-jaxrs-async/src/main/java/nl/ordina/jtech/ws/jerseyjaxrs/AsyncEntityClient.java | 865 | /**
* JAX-RS client die RESTful requests afvuurt op een server-side AsyncEntityResource.
* Client is zelf synchroon, maar is vrij eenvoudig asynchroon te maken.
*/ | block_comment | nl | package nl.ordina.jtech.ws.jerseyjaxrs;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
import javax.ws.rs.ServiceUnavailableException;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.W... | True | False | 2,078 | 865 | 53 | 41 | 826 | 53 | 41 | 815 | 45 | 33 | 826 | 53 | 41 | 949 | 52 | 40 | false | false | false | false | false | true |
3,413 | 31988_2 | package agenda;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.*;
import java.util.ArrayList;
public class Program
{
private ArrayList <Act> AllActs = new ArrayList<>();
/**
* In deze methode kan een Act object toegevoegd worden aan de AllActs ArrayList.
* @param artist nn a... | kuriye/Festivalplanner | src/agenda/Program.java | 767 | /**
* De methode geeft Act objecten uit de AllActs ArrayList
* @param index Een objecten in de arraylist
* @return Act Objecten
*/ | block_comment | nl | package agenda;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.*;
import java.util.ArrayList;
public class Program
{
private ArrayList <Act> AllActs = new ArrayList<>();
/**
* In deze methode kan een Act object toegevoegd worden aan de AllActs ArrayList.
* @param artist nn a... | True | False | 2,082 | 767 | 43 | 28 | 649 | 39 | 28 | 685 | 39 | 24 | 651 | 39 | 28 | 786 | 43 | 28 | false | false | false | false | false | true |
1,332 | 81724_2 | /**
* Dit programma in Java geeft kledingadvies
* op basis van de temperatuur
*/
public class MyClass {
public static void main(String args[]) {
// Variabele initialiseren
int temperatuur = 19;
/* If-else statement waarin check wordt gedaan of gebruiker
zomerkleren kan aandoen *... | Programmeerplaats/snelcursus-leren-programmeren | Code voorbeelden/H8.5.2-Commentaar_voorbeelden/Java_Commentaar.java | 186 | /* If-else statement waarin check wordt gedaan of gebruiker
zomerkleren kan aandoen */ | block_comment | nl | /**
* Dit programma in Java geeft kledingadvies
* op basis van de temperatuur
*/
public class MyClass {
public static void main(String args[]) {
// Variabele initialiseren
int temperatuur = 19;
/* If-else statement waarin<SUF>*/
if (temperatuur > 20) {
System.out.printl... | True | False | 2,086 | 186 | 27 | 21 | 185 | 27 | 22 | 167 | 24 | 18 | 185 | 27 | 22 | 197 | 29 | 22 | false | false | false | false | false | true |
3,134 | 18189_8 | import java.awt.*;
import javax.swing.*;
import java.io.BufferedReader;
import javax.swing.JPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
/**
* JAVA GCcalculator jaar 2 blok 1
* Dit programm... | itbc-bin/bi5a-test-Anton489 | GCcalculator.java | 2,907 | /**
* Verkrijgt het GC percentage van de ingebrachte sequentie.
* @param dna De DNA sequentie waar het GC percentage van verkregen word.
* @return Returned de double genaamd gc_perc.
*/ | block_comment | nl | import java.awt.*;
import javax.swing.*;
import java.io.BufferedReader;
import javax.swing.JPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
/**
* JAVA GCcalculator jaar 2 blok 1
* Dit programm... | True | False | 2,099 | 2,907 | 63 | 45 | 2,447 | 59 | 45 | 2,526 | 54 | 36 | 2,447 | 59 | 45 | 2,936 | 64 | 46 | false | false | false | false | false | true |
917 | 173007_1 | package timeutil;
import java.util.LinkedList;
import java.util.List;
/**
* Deze klasse maakt het mogelijk om opeenvolgende tijdsperiodes een naam te
* geven, deze op te slaan en deze daarna te printen (via toString).
*
* Tijdsperiodes worden bepaald door een begintijd en een eindtijd.
*
* begintijd van een per... | KevinvdBurg/JSF31 | Week3/src/timeutil/TimeStamp.java | 1,270 | /**
* initialiseer klasse. begin met geen tijdsperiodes.
*/ | block_comment | nl | package timeutil;
import java.util.LinkedList;
import java.util.List;
/**
* Deze klasse maakt het mogelijk om opeenvolgende tijdsperiodes een naam te
* geven, deze op te slaan en deze daarna te printen (via toString).
*
* Tijdsperiodes worden bepaald door een begintijd en een eindtijd.
*
* begintijd van een per... | True | False | 2,104 | 1,270 | 22 | 13 | 1,176 | 20 | 13 | 1,118 | 18 | 9 | 1,176 | 20 | 13 | 1,289 | 23 | 14 | false | false | false | false | false | true |
559 | 67390_0 | package main;
import org.opencv.core.Core;
import org.opencv.highgui.VideoCapture;
import com.robotica.nxt.remotecontrol.Command;
import com.robotica.nxt.remotecontrol.CommandCommunicator;
import com.robotica.nxt.remotecontrol.NXTCommand;
import com.robotica.pc.keyboardInput.KeyboardInput;
import com.robotica.pc.mode... | GSamuel/Robotica-2014-2015-Pacman | Robotica_2014_Pacman_PC/src/main/PacmanMain.java | 641 | /*
in herhaling:
uitlezen camera ->
bouw model met behulp van camera data ->
gebruik model in de AI om een pad te generen ->
vertaal pad naar NXT Commands ->
stuur commands naar de juiste brick ->
pas settings van robots aan afhankelijk van feedback
weergeven:
doolhof met up to date posities van en... | block_comment | nl | package main;
import org.opencv.core.Core;
import org.opencv.highgui.VideoCapture;
import com.robotica.nxt.remotecontrol.Command;
import com.robotica.nxt.remotecontrol.CommandCommunicator;
import com.robotica.nxt.remotecontrol.NXTCommand;
import com.robotica.pc.keyboardInput.KeyboardInput;
import com.robotica.pc.mode... | True | False | 2,108 | 641 | 144 | 101 | 569 | 145 | 104 | 551 | 125 | 82 | 569 | 145 | 104 | 689 | 161 | 104 | true | true | true | true | true | false |
875 | 86358_0 | package org.example.missies;
import java.util.Scanner;
public class NullPointerMissie extends Missie {
final int TE_BEHALEN_PUNTEN = 3;
int behaaldePunten = 0;
@Override
int voerUit(boolean sloper) {
GebruikerInteractie.toonBericht("een NullPointerException.", sloper);
String tekst = G... | Jules95Game/JavaOpdrachtenSlides | h7_exceptions/org/example/missies/NullPointerMissie.java | 372 | // Simuleert een situatie waar een variabele null kan zijn. | line_comment | nl | package org.example.missies;
import java.util.Scanner;
public class NullPointerMissie extends Missie {
final int TE_BEHALEN_PUNTEN = 3;
int behaaldePunten = 0;
@Override
int voerUit(boolean sloper) {
GebruikerInteractie.toonBericht("een NullPointerException.", sloper);
String tekst = G... | True | False | 2,116 | 372 | 16 | 14 | 331 | 16 | 14 | 310 | 14 | 12 | 331 | 16 | 14 | 363 | 16 | 14 | false | false | false | false | false | true |
3,087 | 52531_21 | package be.kuleuven.opdracht6.model;
import be.kuleuven.opdracht6.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.*;
import java.util.stream.Stream;
public class CandyCrushModel {
private String speler;
private Board<Candy> speelbord;
private BoardSize board... | ilfer/opdrachten_candycrush | Opdracht6/src/main/java/be/kuleuven/opdracht6/model/CandyCrushModel.java | 2,507 | // Als row buiten het bord is of een niet-lege positie heeft gevonden, verplaats dan het snoepje | line_comment | nl | package be.kuleuven.opdracht6.model;
import be.kuleuven.opdracht6.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.*;
import java.util.stream.Stream;
public class CandyCrushModel {
private String speler;
private Board<Candy> speelbord;
private BoardSize board... | True | False | 2,118 | 2,507 | 27 | 24 | 2,233 | 33 | 30 | 2,217 | 24 | 21 | 2,233 | 33 | 30 | 2,538 | 28 | 25 | false | false | false | false | false | true |
227 | 4395_1 | package io.Buttons;
import game.enemies.Enemy;
/**
* Created by sander on 14-11-2017.
*/
public class Button1 extends Button {
public Button1(){
PinNumber = 6;
}
@Override
public void effect() {
setGame(); //de game moet geset worden zodat deze functie toegang heeft tot de huidige ar... | Borf/TowerDefence | src/io/Buttons/Button1.java | 169 | //de game moet geset worden zodat deze functie toegang heeft tot de huidige arrays van alles. | line_comment | nl | package io.Buttons;
import game.enemies.Enemy;
/**
* Created by sander on 14-11-2017.
*/
public class Button1 extends Button {
public Button1(){
PinNumber = 6;
}
@Override
public void effect() {
setGame(); //de game<SUF>
enemies = game.GetEnemies();
for (Enemy e: enem... | True | False | 2,122 | 169 | 25 | 23 | 162 | 28 | 26 | 159 | 19 | 17 | 162 | 28 | 26 | 186 | 28 | 26 | false | false | false | false | false | true |
4,151 | 56022_21 | package yolo;
import java.util.*;
public class KantineSimulatie_2 {
//Array van personen
public ArrayList<Persoon> personen = new ArrayList<>();
// kantine
private Kantine kantine;
// kantineaanbod
private KantineAanbod kantineaanbod;
// random generator
private Random random;
... | reneoun/KantineUnit | src/main/java/yolo/KantineSimulatie_2.java | 2,903 | // genereer de "artikelnummers", dit zijn indexen | line_comment | nl | package yolo;
import java.util.*;
public class KantineSimulatie_2 {
//Array van personen
public ArrayList<Persoon> personen = new ArrayList<>();
// kantine
private Kantine kantine;
// kantineaanbod
private KantineAanbod kantineaanbod;
// random generator
private Random random;
... | True | False | 2,124 | 2,903 | 15 | 12 | 2,682 | 14 | 11 | 2,578 | 13 | 10 | 2,685 | 15 | 12 | 2,983 | 15 | 12 | false | false | false | false | false | true |
3,542 | 1612_6 | /*
* _______ _____ _____ _____
* |__ __| | __ \ / ____| __ \
* | | __ _ _ __ ___ ___ ___| | | | (___ | |__) |
* | |/ _` | '__/ __|/ _ \/ __| | | |\___ \| ___/
* | | (_| | | \__ \ (_) \__ \ |__| |____) | |
* |_|\__,_|_| ... | malbanGit/Vide | src/be/tarsos/dsp/mfcc/MFCC.java | 2,805 | //Per frame zijn er dan CEPSTRA coëficienten | line_comment | nl | /*
* _______ _____ _____ _____
* |__ __| | __ \ / ____| __ \
* | | __ _ _ __ ___ ___ ___| | | | (___ | |__) |
* | |/ _` | '__/ __|/ _ \/ __| | | |\___ \| ___/
* | | (_| | | \__ \ (_) \__ \ |__| |____) | |
* |_|\__,_|_| ... | True | False | 2,126 | 2,805 | 15 | 14 | 2,474 | 15 | 14 | 2,613 | 12 | 11 | 2,474 | 15 | 14 | 2,900 | 15 | 14 | false | false | false | false | false | true |
4,665 | 167657_0 | package ap.edu.schademeldingap.activities;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.os.Bundl... | wa1id/Schade-Rapportering-AP | app/src/main/java/ap/edu/schademeldingap/activities/NieuweMeldingActivity.java | 2,081 | //variabelen linken aan de UI | line_comment | nl | package ap.edu.schademeldingap.activities;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.os.Bundl... | True | False | 2,129 | 2,081 | 9 | 8 | 1,687 | 9 | 8 | 1,694 | 8 | 7 | 1,687 | 9 | 8 | 2,019 | 9 | 8 | false | false | false | false | false | true |
1,808 | 65844_1 | package be.ucll.java.ent.model;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.Query;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
public class StudentDAO implements Dao<StudentEntity> {
// JPA EntityManager
privat... | UcllJavaEnterprise/stubs-vaadin-demo | src/main/java/be/ucll/java/ent/model/StudentDAO.java | 946 | // Gebruik Optional om aanroepende code af te dwingen en rekening te houden met NULL | line_comment | nl | package be.ucll.java.ent.model;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.Query;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
public class StudentDAO implements Dao<StudentEntity> {
// JPA EntityManager
privat... | True | False | 2,133 | 946 | 25 | 24 | 795 | 24 | 23 | 840 | 18 | 17 | 795 | 24 | 23 | 926 | 25 | 24 | false | false | false | false | false | true |
825 | 60700_2 | package model;
import global.Globals;
import global.Logger;
import global.Misc;
import java.net.InetSocketAddress;
import java.sql.Connection;
import java.sql.SQLException;
import model.intelligence.Intelligence.ClosedException;
import model.intelligence.ManagerIntelligence;
/**
* Represents a clustermanager in th... | JeroenBrinkman/ontwerpproject | ontwerpproject/src/model/Manager.java | 710 | // regels met w[X] erin komen als het goed is alleen voor na alle | line_comment | nl | package model;
import global.Globals;
import global.Logger;
import global.Misc;
import java.net.InetSocketAddress;
import java.sql.Connection;
import java.sql.SQLException;
import model.intelligence.Intelligence.ClosedException;
import model.intelligence.ManagerIntelligence;
/**
* Represents a clustermanager in th... | True | False | 2,134 | 710 | 19 | 16 | 629 | 23 | 20 | 610 | 17 | 14 | 629 | 23 | 20 | 762 | 22 | 19 | false | false | false | false | false | true |
4,161 | 172125_7 | //function 1 score:
//function 2 score:
//function 3 score:
import org.vu.contest.ContestSubmission;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartFrame;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.xy.XYSeries;
import org.jfree.data.xy... | reuelbrion/EvolutionaryComputing | EvolutionaryComputing/src/player17.java | 3,384 | //procent kans dat een gen totaal random muteert | line_comment | nl | //function 1 score:
//function 2 score:
//function 3 score:
import org.vu.contest.ContestSubmission;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartFrame;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.xy.XYSeries;
import org.jfree.data.xy... | True | False | 2,136 | 3,384 | 14 | 13 | 3,023 | 15 | 14 | 2,976 | 11 | 10 | 3,022 | 14 | 13 | 3,761 | 15 | 14 | false | false | false | false | false | true |
816 | 96246_11 | package be.hvwebsites.itembord;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
imp... | JavaAppsJM/appItemBord | src/main/java/be/hvwebsites/itembord/Logboek.java | 3,585 | // selection listener activeren, moet gebueren nadat de adapter gekoppeld is aan de spinner !! | line_comment | nl | package be.hvwebsites.itembord;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
imp... | True | False | 2,138 | 3,585 | 24 | 21 | 2,969 | 23 | 20 | 2,968 | 21 | 18 | 2,969 | 23 | 20 | 3,502 | 25 | 22 | false | false | false | false | false | true |
1,316 | 115916_0 | package be.pietervandendriessche.magnifier;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.accessibility.AccessibilityManager;
import android.widget.Magnifier;
import android.widge... | PieterVandendriessche/Bachelorproef-HoGent | code/Android/magnifier/app/src/main/java/be/pietervandendriessche/magnifier/MainActivity.java | 423 | //Bij indrukken element vergroten | line_comment | nl | package be.pietervandendriessche.magnifier;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.accessibility.AccessibilityManager;
import android.widget.Magnifier;
import android.widge... | True | False | 2,139 | 423 | 10 | 9 | 348 | 11 | 10 | 351 | 9 | 8 | 348 | 11 | 10 | 406 | 11 | 10 | false | false | false | false | false | true |
509 | 48663_0 | package nl.geostandaarden.imx.orchestrate.source.rest.executor;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import nl.geostandaarden.imx.orchestrate.engine.exchange.AbstractDataRequest;
import nl.geostandaarden.imx.orchestrate.source.rest.Result.AbstractResult;
import nl.geostandaarden.imx.orches... | Faalangst26/imx-orchestrate-quadaster | source-rest/src/main/java/nl/geostandaarden/imx/orchestrate/source/rest/executor/RemoteExecutor.java | 1,307 | //Haal het eerste item uit de map, je kunt immers maar 1 ding in het URI plakken om op te zoeken | line_comment | nl | package nl.geostandaarden.imx.orchestrate.source.rest.executor;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import nl.geostandaarden.imx.orchestrate.engine.exchange.AbstractDataRequest;
import nl.geostandaarden.imx.orchestrate.source.rest.Result.AbstractResult;
import nl.geostandaarden.imx.orches... | True | False | 2,141 | 1,307 | 29 | 25 | 1,115 | 34 | 30 | 1,171 | 26 | 22 | 1,115 | 34 | 30 | 1,311 | 31 | 27 | false | false | false | false | false | true |
4,160 | 12491_4 | package com.epic.score_app.viewlayer;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.epic.score_app.servic... | reuben313/Score_app | src/com/epic/score_app/viewlayer/ViewPlayer.java | 1,463 | //hier moet je de andere atributen can de speler toevoegrn | line_comment | nl | package com.epic.score_app.viewlayer;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.epic.score_app.servic... | True | False | 2,153 | 1,463 | 18 | 17 | 1,238 | 18 | 17 | 1,274 | 17 | 16 | 1,234 | 18 | 17 | 1,611 | 19 | 18 | false | false | false | false | false | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.