file_id stringlengths 5 10 | content stringlengths 57 33.1k | repo stringlengths 8 77 | path stringlengths 6 174 | token_length int64 19 8.19k | original_comment stringlengths 7 10.6k | comment_type stringclasses 2
values | detected_lang stringclasses 1
value | prompt stringlengths 21 33.1k |
|---|---|---|---|---|---|---|---|---|
8341_42 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | // elementem kolekcji aktualnie pracujemy. U nas jest to zwykły int, ale czasami to może być coś bardziej | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_43 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | //Pozwoliłem sobie założyć, że rozmiar mojej kolekcji nie będzie zmieniał się w trakcie pracy iteratora | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_44 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | // (np. przez usunięcie elementu w innym wątku); bardziej "kompletna" implementacja powinna to uwzględniać. | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_45 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | //Czy element wskazany przez 'index' istnieje w obrębie kolekcji? | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_46 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | //Zwróć "obecny" element i przesuń 'index'. | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_48 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | //Prawidłowa implementacja .remove() jest nieco bardziej skomplikowana, ale w sumie nie jest niezbędna do | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_49 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | // zrozumienia tego Wzorca, więc sobie darowałem. Jeśli Was ciekawią wewnętrzne szczegóły działania kolekcji | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_50 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | // w Javie, polecam poczytać sobie klasę ArrayList: wbrew pozorom nie jest *aż tak* trudna. | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_51 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | //Alternatywny iterator, który przeskakuje po co drugim "chlebku". Innym przykładem dodatkowego | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8341_52 | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... | dehydrogenaza/design-patterns-examples | src/main/java/iterator/example/Shelf.java | 2,196 | // iteratora byłby np. "iterator cykliczny", czyli taki, który przechodzi po elementach w kółko, w nieskończoność. | line_comment | pl | package iterator.example;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
//Shelf jest nową kolekcją. Tak naprawdę wykorzystuję tu "ArrayList", co oczywiście nie ma większego sensu (ArrayList
// jest już Iterable), ale w praktycznym kodzie moglibyście tu zaimplementować jakąś kolekcję z... |
8343_1 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | /**
* Serwer do sprawdzanie ważności licencji.
*
* Sprawdzanie ważności licencji odbywa się przez przesłanie do serwera prośby o
* udzielenie odpowiedzi (zgody na uruchomienie programu).
*
* @author Sławomir Marczyński
*/ | block_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_2 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Uwaga: to uproszczona wersja, ale tym razem otwierany jest wątek roboczy | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_3 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // - bo jednocześnie musimy obsługiwać zgłoszenia przez Internet (klientów) | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_4 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // oraz sprawdzać czy program serwera ma nadal pracować. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_5 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Różne rzeczy mogą się zdarzyć, a ponieważ run() będzie w osobnym | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_6 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // wątku to konieczne jest załatwienie (w tym osobnym wątku) wszelkich | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_7 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // kłopotów w obrębie samego run(). | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_8 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Numer portu i wielkość bufora mają być takie same tu i w programach | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_9 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // które będą się pytały o ważność swojej licencji. Chociaż obecnie | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_10 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // program serwera i programy będące klientami serwera są po prostu | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_11 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // odrębnymi projektami, to niemal równie łatwo byłoby połączyć je | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_12 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // w jeden (i to akurat nie jest dobry pomysł) jak i stworzyć | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_13 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // współdzieloną klasę "opakowującą" numer portu, długość bufora, sposób | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_14 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // kodowania danych - czyli to co musi być takie samo w obu programach. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_15 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Bardzo prymitywne rozwiązanie - niekończąca się pętla while - nadaje | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_16 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // się tylko jako przykład - bo aby zakończyć program trzeba będzie | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_17 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // zrobić to "ręcznie" za pomocą systemu - kill/terminate. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_18 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Ustawienie time-out dla gniazda socket jest konieczne, bo jeżeli | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_19 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // jest wartość domyślna (czyli 0) to receive() poniżej będzie | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_20 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // czekać bez końca, czyli pętla się zablokuje i nieskuteczne będzie | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_21 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // sprawdzanie warunku while, tzn. czy wątek nie jest zatrzymany. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_22 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Uwaga: gdzieś kiedyś ktoś może poznał metodę stop() służącą do | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_23 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // zatrzymywania wątków w Javie; owszem była, ale obecnie nie stosuje | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_24 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // się jej, bo jest przestarzała. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_26 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // IP pod którym nadawca datagramu (jaki tu odbieramy) czeka na | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_27 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Uwaga: nie ma gwarancji że to co przyjdzie do nas przez sieć, | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_28 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // czyli po prostu z Internetu, to jest naprawdę to co miało | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_29 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // przyjść... każdy może próbować wysyłać nam różne rzeczy. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_30 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Prymitywne i niezbyt skuteczne rozwiązanie: gdy serwer zgadza się | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_31 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // na uruchomienie programu (licencja jest ważna) to odsyłamy yes, | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_32 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // gdy serwer odmawia uruchomienia to informuje o tym wysyłając no. | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_33 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // Oczywiście serwer może decyzję zgodzie uzależniać np. od już | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_34 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // uruchomionych instancji programu (np. sprawdzać czy program | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8343_35 | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... | slawomirmarczynski/java | udp/src/licensecontrolserver/LicenseControlServerThreaded.java | 1,857 | // z danym kluczem/id nie jest już uruchomiony więcej niż założoną | line_comment | pl | /*
* The MIT License
*
* Copyright 2022 PI_stanowisko_1.
*
* 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, including without limitation the rights
* to use, copy,... |
8347_0 | package WARSZTATY.Warsztat_13_SPRING_BEANS.P2_IoC;
public class ExampleBean {
private InjectedBean injectedBean;
/*
Jest to przykład kontroli nie odwróconej, bo to ExampleBean decyduje niejako na sztywno jaka instancja zostanie
stworzona w konstruktorze (new InjectionBean()) trochę na sztyw... | Morswin12/zajavka-warsztaty | src/main/java/WARSZTATY/Warsztat_13_SPRING_BEANS/P2_IoC/ExampleBean.java | 285 | /*
Jest to przykład kontroli nie odwróconej, bo to ExampleBean decyduje niejako na sztywno jaka instancja zostanie
stworzona w konstruktorze (new InjectionBean()) trochę na sztywno, bo nie mamy możliwości paratryzowania co
tu tak naprawdę zostanie stworzone i do tej zależności przypisane.
... | block_comment | pl | package WARSZTATY.Warsztat_13_SPRING_BEANS.P2_IoC;
public class ExampleBean {
private InjectedBean injectedBean;
/*
Jest to przykład <SUF>*/
/*
public ExampleBean() {
this.injectedBean = new InjectedBean();
}
*/
/*
A teraz kontrola odwrócona gdzie dajemy elastyczność ... |
8347_2 | package WARSZTATY.Warsztat_13_SPRING_BEANS.P2_IoC;
public class ExampleBean {
private InjectedBean injectedBean;
/*
Jest to przykład kontroli nie odwróconej, bo to ExampleBean decyduje niejako na sztywno jaka instancja zostanie
stworzona w konstruktorze (new InjectionBean()) trochę na sztyw... | Morswin12/zajavka-warsztaty | src/main/java/WARSZTATY/Warsztat_13_SPRING_BEANS/P2_IoC/ExampleBean.java | 285 | /*
A teraz kontrola odwrócona gdzie dajemy elastyczność poprzez przymus wstrzyknięcia w konstruktorze instancje
klasy InjectedBean
*/ | block_comment | pl | package WARSZTATY.Warsztat_13_SPRING_BEANS.P2_IoC;
public class ExampleBean {
private InjectedBean injectedBean;
/*
Jest to przykład kontroli nie odwróconej, bo to ExampleBean decyduje niejako na sztywno jaka instancja zostanie
stworzona w konstruktorze (new InjectionBean()) trochę na sztyw... |
8350_0 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | // AppLoginManager pośredniczy w dostępie do danych użytkownika w shared preferences | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8350_1 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | //Jeśli użytkownik ma połączenie z internetem: | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8350_2 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | //Jeśli użytkownik już zalogowany: | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8350_3 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | // Po prostu przechodzimy do ekranu głównego, bo użytkownik jest zalogowany - posiada aktualny accessToken. | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8350_10 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | //Zachowujemy dane z fejsa do sharedPreferences: | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8350_13 | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... | michalszmyt95/itmProj | ITMproj/app/src/main/java/com/uwm/wmii/student/michal/itmproj/LoginActivity.java | 3,425 | // <-- ta metoda tak naprawdę wykonuje metodę asynchroniczną, tzw. callback opisany wyżej funkcją (userDTO, response) -> {...} | line_comment | pl | package com.uwm.wmii.student.michal.itmproj;
import android.accounts.Account;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widge... |
8352_0 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | /** Aktualny jump stage gracza */ | block_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_1 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | /**Liczba pakietów w których gracz spadał, jest używane dla rzadkich false-positive
* gdy czasami rejestrujemy że gracz powinien zacząć spadać, a tak naprawdę zaczyna skok.
* @see #tryEnterFallingStage()
*/ | block_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_2 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | /** Lokacja gdzie entity zaczęło skok lub upadek */ | block_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_3 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | /** Informacje o ticku w którym zaczęto wznoszenie lub upadek */ | block_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_4 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | /** Startowe velocity, moze byc ustawione przez zewnetrzne zrodlo lub obliczone w #getStartVelocity() */ | block_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_5 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // metoda wejsciowa analizujaca event | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_6 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | //Bukkit.broadcastMessage("wystartowano z ziemi"); | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_7 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // todo klientowi czasami odwala i wyglada jakby chodzil szybciej niz moze | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_9 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | //Bukkit.broadcastMessage("velocity zmienione w powietrzu + reset jump controllera"); | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_10 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // gracz odrywa sie od ziemi. Skacze lub spada. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_11 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // rejestrujemy pierwsza pozycje startowa, nawet jak klient wysle kilka pakietow | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_15 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // gracz jest w powietrzu | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_16 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // gracz podczas gdy powinien opadac zaczal sie unosic | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_17 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // na razie wszystko jest dobrze. teraz weryfikujemy czy gracz może skakać na taką wysokość. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_18 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // resetujemy ilosc pakietów o opadaniu. Bo się w końcu unosimy. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_19 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Gracz zaczyna się unosić gdy jest w stage GROUND, oznacza to problemy z flagą onGround. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_20 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Teoretycznie możnaby triggerowac jakies violation, ale zajmuje sie tym OnGroundManipulationChecker | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_21 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // ok, sprawdzamy wysokosc/szybkosc | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_22 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Gracz podczas lotu w górę zaczął opadać, to oznacza że mógł osiągnąć maksymalną wysokość skoku. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_25 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Gracz zaczyna opadać gdy jest w stage GROUND, oznacza to problemy z flagą onGround. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_26 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Teoretycznie możnaby triggerowac jakies violation, ale zajmuje sie tym OnGroundManipulationChecker | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_30 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // gracz laduje na ziemi | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_32 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // próbujemy rozpoczac opadanie, ale mozemy to zrobic dopiero po kilku pakietach dla pewnosci | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_33 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // bo inaczej lapiemy false-positive podczas energicznego skakania. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_34 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // weryfikuje etap unoszenia się gracza | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_37 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // sprawdzamy czy i o ile gracz przekroczył maksymalną wysokość | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_38 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // sprawdzamy czy gracz sie wysunął się zbyt daleko na osiach xz | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_39 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // porównujemy wektor ruchu w tym evencie do początkowego wektora ruchu | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_40 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // dodatkowo zwiekszamy wymagania zeby uniknac bolesnych false-positives | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_46 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // staramy sie obliczyc wektor z jakim wystartował gracz | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_47 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // uznajemy że gracz zawsze może osiągnąć wysokość normalnego skoku. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_48 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // Bez tego czasami łapiemy dziwne false-positives przy intensywnym skakaniu z piruetami. | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_49 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // obliczamy wektor startowy z poczatkowego ruchu gracza i go zapisujemy | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8352_50 | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... | northpl93/NorthPlatform | Sources/AntyCheat/src/main/java/pl/north93/northplatform/antycheat/cheat/movement/JumpController.java | 5,684 | // policzone z dupy | line_comment | pl | package pl.north93.northplatform.antycheat.cheat.movement;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
import pl.north93.northplatform.antycheat.analysis.FalsePositiveProbability;
import pl.north93.northplatform.ant... |
8354_0 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | /**
* Model z reprezentacją nieciągłości jako bardzo krótkich mikropasków (dla N nieciągłości 2N+1 elementów)
* Szerokości miejsc nieciągłości są również uzmiennione
* <p>
* Data utworzenia: 25.02.16, 13:51
*
* @author Michał Toporowski
*/ | block_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8354_1 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | // Pasek reprezentujący element | line_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8354_2 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | // Pasek reprezentujący przerwę | line_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8354_3 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | // TODO:: tak naprawdę to nie biggerW, tylko lesserL - zmienić, jeśli działać będzie | line_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8354_4 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | // Ostatni element - zakładamy taki sam, jak pierwszy | line_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8354_5 | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... | siekiera/cevolver | src/main/java/pl/edu/pw/elka/mtoporow/cevolver/lib/model/microstrip/ShortbreakLineModel.java | 828 | // jeśli impedancja dopasowana (z0 ~ z01), dł. nie wpływa na wynik | line_comment | pl | package pl.edu.pw.elka.mtoporow.cevolver.lib.model.microstrip;
import org.apache.commons.math3.complex.Complex;
import org.apache.commons.math3.linear.RealVector;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.AbstractCanalModel;
import pl.edu.pw.elka.mtoporow.cevolver.lib.model.Distances;
import pl.edu.pw.elka.mto... |
8357_0 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | //Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się" | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora <SUF>
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elastyczna.
//
//Konstruktor jest PRYWATNY, co oznacza, że nie można go wywołać spoz... |
8357_1 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | // tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elastyczna. | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, <SUF>
//
//Konstruktor jest PRYWATNY, co oznacza, że nie można go wywoła... |
8357_2 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | //Konstruktor jest PRYWATNY, co oznacza, że nie można go wywołać spoza tej klasy. W ten sposób upewniamy się, że | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
8357_3 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | // użytkownicy będą konstruować obiekty poprzez Builder, a nie bezpośrednio, co może być niepożądane jeśli np. | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
8357_4 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | // nasz proces tworzenia wiąże się z weryfikacją jakichś danych. | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
8357_5 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | //Jeżeli naprawdę chcemy zabezpieczyć klasę przed wywołaniem konstruktora, powinniśmy ją uczynić FINAL -> będzie | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
8357_6 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | // bardziej "zamknięta na modyfikacje", ale też zamknie się na "rozszerzenie", więc jest to taki tradeoff. ;) | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
8357_7 | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... | dehydrogenaza/design-patterns-examples | src/main/java/builder/example/PersonWithBuilder.java | 1,942 | //Builder jest statyczny, dzięki czemu możemy się do niego łatwo dostać notacją PersonWithBuilder.Builder() | line_comment | pl | package builder.example;
import java.time.LocalDate;
public class PersonWithBuilder extends PersonBase {
//Do konstruktora przekazujemy tylko Builder, z którego następnie wyciągamy potrzebne wartości. "Męczymy się"
// tylko raz, robiąc tę klasę - późniejsza praca z nią jest już wygodniejsza i bardziej elasty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.