repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/MineService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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... | 2,846 | 32.494118 | 90 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/MutantsService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eithe... | 2,366 | 37.177419 | 119 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/PasswordService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eithe... | 1,774 | 33.134615 | 97 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/ResultService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eithe... | 4,124 | 38.285714 | 160 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/RowService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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... | 4,420 | 33.007692 | 114 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/TranslationsService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eithe... | 1,857 | 34.056604 | 116 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/application/service/UserService.java | package org.codecritters.code_critters.application.service;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eithe... | 11,856 | 39.467577 | 150 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/customDataTypes/CoordinateDataType.java | package org.codecritters.code_critters.persistence.customDataTypes;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 Foundatio... | 4,368 | 30.431655 | 158 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/customDataTypes/LevelDataType.java | package org.codecritters.code_critters.persistence.customDataTypes;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 Foundatio... | 4,181 | 29.086331 | 158 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/customDataTypes/LevelResultType.java | package org.codecritters.code_critters.persistence.customDataTypes;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 Foundatio... | 931 | 27.242424 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/CritterRow.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 1,860 | 23.168831 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Game.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundatio... | 4,803 | 24.151832 | 109 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Level.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 4,859 | 23.795918 | 172 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Mine.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundatio... | 2,268 | 22.635417 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Mutant.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 2,451 | 22.132075 | 81 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Result.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 3,023 | 20.913043 | 94 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/Score.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 1,822 | 21.7875 | 72 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/entities/User.java | package org.codecritters.code_critters.persistence.entities;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 4,556 | 22.25 | 192 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/GameRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundat... | 1,221 | 32.027027 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/LevelRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 3,108 | 43.414286 | 253 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/MineRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundat... | 1,083 | 32.875 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/MutantRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 1,477 | 34.190476 | 88 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/ResultRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 1,533 | 30.958333 | 74 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/RowRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 1,325 | 32.15 | 75 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/ScoreRepository.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 1,458 | 31.422222 | 78 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/persistence/repository/UserRepositiory.java | package org.codecritters.code_critters.persistence.repository;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, ei... | 1,696 | 29.303571 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/CustomAuthentication.java | package org.codecritters.code_critters.spring;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 o... | 2,034 | 23.518072 | 77 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/CustomAuthenticationProvider.java | package org.codecritters.code_critters.spring;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 o... | 3,143 | 38.797468 | 103 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/CustomErrorAttributes.java | package org.codecritters.code_critters.spring;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 o... | 1,582 | 32.680851 | 101 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/HtmlResponseWrapper.java | package org.codecritters.code_critters.spring;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 o... | 3,528 | 27.459677 | 83 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/configuration/ErrorHandlingConfiguration.java | package org.codecritters.code_critters.spring.configuration;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 2,065 | 40.32 | 107 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/configuration/JpaTestConfiguration.java | package org.codecritters.code_critters.spring.configuration;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundatio... | 3,668 | 38.880435 | 109 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/configuration/SecurityConfig.java | package org.codecritters.code_critters.spring.configuration;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 4,231 | 38.551402 | 115 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/configuration/SecurityTestConfig.java | package org.codecritters.code_critters.spring.configuration;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 Foundatio... | 1,684 | 34.104167 | 101 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/configuration/StaticResourceConfiguration.java | package org.codecritters.code_critters.spring.configuration;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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, eith... | 3,362 | 56 | 144 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/filter/CookieAuthFilter.java | package org.codecritters.code_critters.spring.filter;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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... | 2,445 | 34.449275 | 132 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/filter/PolymerResourceCacheFilter.java | package org.codecritters.code_critters.spring.filter;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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... | 4,804 | 40.068376 | 144 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/spring/filter/RequestLoggingFilter.java | package org.codecritters.code_critters.spring.filter;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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... | 1,690 | 29.745455 | 132 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/CustomErrorController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ver... | 1,829 | 36.346939 | 144 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/GameController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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, eit... | 2,910 | 34.938272 | 91 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/GeneratorController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ver... | 6,641 | 30.932692 | 113 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/LevelController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ver... | 4,014 | 32.739496 | 98 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/ResultController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ver... | 2,534 | 31.5 | 91 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/controller/UserController.java | package org.codecritters.code_critters.web.controller;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ver... | 8,829 | 39.691244 | 182 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/GameDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 ver... | 3,212 | 22.282609 | 106 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/LevelDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 4,765 | 23.822917 | 246 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/MineDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 ver... | 1,439 | 21.857143 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/MinesDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 - 2021 Michael Gruber
* %%
* 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 ver... | 1,197 | 23.958333 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/MutantDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 1,573 | 21.485714 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/MutantsDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 1,372 | 23.517857 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/ResultDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 1,484 | 22.203125 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/RowDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 1,705 | 22.054054 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/ScoreDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 2,319 | 23.946237 | 92 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/dto/UserDTO.java | package org.codecritters.code_critters.web.dto;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 3,356 | 23.866667 | 107 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/enums/Language.java | package org.codecritters.code_critters.web.enums;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 1,575 | 24.419355 | 71 | java |
code-critters | code-critters-master/src/main/java/org/codecritters/code_critters/web/enums/Role.java | package org.codecritters.code_critters.web.enums;
/*-
* #%L
* Code Critters
* %%
* Copyright (C) 2019 Michael Gruber
* %%
* 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 ... | 844 | 28.137931 | 71 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/GameServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.IncompleteDataException;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.persistence.entities.Game;
import org.codecritters.code_c... | 4,786 | 33.941606 | 118 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/LevelServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.AlreadyExistsException;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.c... | 12,354 | 42.04878 | 132 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/MineServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.IncompleteDataException;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.persistence.entities.Game;
import org.codecritters.code_c... | 2,667 | 31.938272 | 114 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/MutantsServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.persistence.entities.Mutant;
import org.codecritters.code_critters.persistence.repository.LevelRepository;
import org.codecritters.code_critters.persistence.repository.MutantRepository;
import org.codecritters.code_critte... | 1,684 | 32.039216 | 88 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/PasswordServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.persistence.entities.User;
import org.codecritters.code_critters.web.enums.Language;
import org.codecritters.code_critters.web.enums.Role;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectM... | 1,886 | 41.886364 | 161 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/ResultServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.persistence.entities.Level;
import org.codecritters.code_critters.persistence.entities.Result;
import org.codecritters.code_critters.persisten... | 5,133 | 39.746032 | 80 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/RowServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.AlreadyExistsException;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.c... | 3,806 | 32.104348 | 107 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/application/service/UserServiceTest.java | package org.codecritters.code_critters.application.service;
import org.codecritters.code_critters.application.exception.AlreadyExistsException;
import org.codecritters.code_critters.application.exception.IllegalActionException;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.c... | 17,846 | 46.847185 | 168 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/GameRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.code_critters.persistence.entities.Game;
import org.codecritters.code_critters.persistence.entities.Level;
import org.codecritters.code_critters.persistence.repository.Game... | 3,586 | 39.303371 | 115 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/LevelRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.code_critters.persistence.entities.Level;
import org.codecritters.code_critters.persistence.repository.LevelRepository;
import org.codecritters.code_critters.persistence.re... | 4,263 | 34.533333 | 116 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/MutantRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.code_critters.persistence.entities.Level;
import org.codecritters.code_critters.persistence.entities.Mutant;
import org.codecritters.code_critters.persistence.repository.Le... | 2,751 | 33.4 | 105 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/ResultRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.customDataTypes.LevelResultType;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.code_critters.persistence.entities.Level;
import org.codecritters.code_critters.persisten... | 6,702 | 41.157233 | 160 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/RowRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.repository.RowRepository;
import org.codecritters.code_critters.persistence.entities.CritterRow;
import org.codecritters.code_critters.spring.configuration.JpaTestConfiguration;
import org.junit.Test;
import org.junit... | 2,232 | 35.606557 | 80 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/ScoreRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.entities.Score;
import org.codecritters.code_critters.persistence.repository.ScoreRepository;
import org.codecritters.code_critters.spring.configuration.JpaTestConfiguration;
import org.junit.Test;
import org.junit.ju... | 3,568 | 39.101124 | 141 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/persistence/UserRepositoryTest.java | package org.codecritters.code_critters.persistence;
import org.codecritters.code_critters.persistence.entities.User;
import org.codecritters.code_critters.persistence.repository.UserRepositiory;
import org.codecritters.code_critters.spring.configuration.JpaTestConfiguration;
import org.codecritters.code_critters.web.e... | 5,619 | 39.431655 | 161 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/web/controller/GameControllerTest.java | package org.codecritters.code_critters.web.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.codecritters.code_critters.application.service.GameService;
import org.codecritters.code_critters.application.service.MineService;
import org.codecritters.code_critters.spring.configuration.SecurityTes... | 4,458 | 42.291262 | 125 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/web/controller/GeneratorControllerTest.java | package org.codecritters.code_critters.web.controller;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.codecritters.code_critters.application.exception.AlreadyExistsException;
import org.codecritters.code_critters.application.exception.NotFoundE... | 13,960 | 38.661932 | 125 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/web/controller/LevelControllerTest.java | package org.codecritters.code_critters.web.controller;
import org.codecritters.code_critters.application.service.LevelService;
import org.codecritters.code_critters.spring.configuration.SecurityTestConfig;
import org.codecritters.code_critters.web.dto.LevelDTO;
import org.codecritters.code_critters.web.dto.MutantDTO;
... | 5,504 | 42.690476 | 125 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/web/controller/ResultControllerTest.java | package org.codecritters.code_critters.web.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.codecritters.code_critters.application.service.ResultService;
import org.codecritters.code_critters.spring.configuration.SecurityTestConfig;
import org.codecritters.code_critters.web.dto.ResultDTO;
imp... | 4,808 | 43.943925 | 125 | java |
code-critters | code-critters-master/src/test/java/org/codecritters/code_critters/web/controller/UserControllerTest.java | package org.codecritters.code_critters.web.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.codecritters.code_critters.application.exception.NotFoundException;
import org.codecritters.code_critters.application.service.UserService;
import org.codecritters.code_critters.spring.configuration.Sec... | 10,753 | 44.184874 | 125 | java |
openalpr | openalpr-master/src/bindings/java/src/Main.java | import com.openalpr.jni.Alpr;
import com.openalpr.jni.AlprPlate;
import com.openalpr.jni.AlprPlateResult;
import com.openalpr.jni.AlprResults;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.Files;
public class Main {
public static void main(String[] args) throws Exception {
... | 2,062 | 33.383333 | 128 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/Alpr.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONException;
public class Alpr {
static {
// Load the OpenALPR library at runtime
// openalprjni.dll (Windows) or libopenalprjni.so (Linux/Mac)
System.loadLibrary("openalprjni");
}
private native void initialize(String count... | 2,538 | 24.908163 | 117 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprCoordinate.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONException;
import com.openalpr.jni.json.JSONObject;
public class AlprCoordinate {
private final int x;
private final int y;
AlprCoordinate(JSONObject coordinateObj) throws JSONException
{
x = coordinateObj.getInt("x");
y = co... | 451 | 17.08 | 65 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprException.java | package com.openalpr.jni;
public class AlprException extends Exception {
public AlprException(String s) {
super(s);
}
}
| 139 | 13 | 46 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprPlate.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONException;
import com.openalpr.jni.json.JSONObject;
public class AlprPlate {
private final String characters;
private final float overall_confidence;
private final boolean matches_template;
AlprPlate(JSONObject plateObj) throws JSONException... | 760 | 23.548387 | 70 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprPlateResult.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONArray;
import com.openalpr.jni.json.JSONException;
import com.openalpr.jni.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
public class AlprPlateResult {
// The number requested is always >= the topNPlates count
private final int... | 3,040 | 28.813725 | 99 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprRegionOfInterest.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONException;
import com.openalpr.jni.json.JSONObject;
public class AlprRegionOfInterest {
private final int x;
private final int y;
private final int width;
private final int height;
AlprRegionOfInterest(JSONObject roiObj) throws JSONExcep... | 699 | 17.918919 | 64 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/AlprResults.java | package com.openalpr.jni;
import com.openalpr.jni.json.JSONArray;
import com.openalpr.jni.json.JSONException;
import com.openalpr.jni.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
public class AlprResults {
private final long epoch_time;
private final int img_width;
private final in... | 2,083 | 27.944444 | 84 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSON.java | /*
* Copyright (C) 2010 The Android 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 app... | 3,897 | 32.316239 | 80 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSONArray.java | /*
* Copyright (C) 2010 The Android 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 app... | 19,400 | 32.107509 | 99 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSONException.java | /*
* Copyright (C) 2010 The Android 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 app... | 1,665 | 32.32 | 84 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSONObject.java | /*
* Copyright (C) 2010 The Android 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 app... | 25,009 | 33.687933 | 93 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSONStringer.java | /*
* Copyright (C) 2010 The Android 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 app... | 13,199 | 29.484988 | 95 | java |
openalpr | openalpr-master/src/bindings/java/src/com/openalpr/jni/json/JSONTokener.java | /*
* Copyright (C) 2010 The Android 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 app... | 20,681 | 32.794118 | 87 | java |
openwhisk | openwhisk-master/core/scheduler/src/main/java/Empty.java | /*
* 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 ... | 1,055 | 44.913043 | 103 | java |
openwhisk | openwhisk-master/tests/dat/actions/src/java/sleep/src/main/java/Sleep.java | /*
* 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 ... | 2,074 | 38.150943 | 101 | java |
openwhisk | openwhisk-master/tests/dat/actions/unicode.tests/src/java/unicode/src/main/java/Unicode.java | /*
* 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 ... | 1,233 | 40.133333 | 80 | java |
openwhisk | openwhisk-master/tests/performance/gatling_tests/src/gatling/resources/data/src/java/src/main/java/JavaAction.java | /*
* 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 ... | 1,426 | 33.804878 | 75 | java |
openwhisk | openwhisk-master/tests/src/test/scala/common/Pair.java | /*
* 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 ... | 989 | 33.137931 | 75 | java |
openwhisk | openwhisk-master/tests/src/test/scala/common/TestUtils.java | /*
* 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 ... | 13,197 | 37.034582 | 161 | java |
openwhisk | openwhisk-master/tests/src/test/scala/common/WhiskProperties.java | /*
* 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 ... | 13,806 | 30.74023 | 112 | java |
openwhisk | openwhisk-master/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetector.java | /*
* 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 ... | 1,565 | 36.285714 | 96 | java |
openwhisk | openwhisk-master/tests/src/test/scala/org/apache/openwhisk/core/database/cosmosdb/RecordingLeakDetectorFactory.java | /*
* 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 ... | 1,535 | 41.666667 | 121 | java |
criu | criu-master/test/javaTests/src/org/criu/java/tests/CheckpointRestore.java | package org.criu.java.tests;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import java.io.*;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java... | 14,846 | 31.847345 | 204 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.