code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
# Copyright (C) 2012 The Libphonenumber Authors
#
# 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 applicable law or agreed ... | 2301_81045437/third_party_libphonenumber | tools/cpp/gtest.cmake | CMake | unknown | 1,913 |
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_BASICTYPES_H_
#define BASE_BASICTYPES_H_
#pragma once
#include <limits.h> // So we can set the bounds of our types
#include <std... | 2301_81045437/third_party_libphonenumber | tools/cpp/src/base/basictypes.h | C++ | unknown | 12,140 |
/*
* Copyright (C) 2009 The Libphonenumber Authors
*
* 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 applicable la... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/BuildMetadataFromXml.java | Java | unknown | 40,022 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 applica... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/Command.java | Java | unknown | 1,645 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 applica... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/CommandDispatcher.java | Java | unknown | 2,601 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 applica... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/CopyrightNotice.java | Java | unknown | 2,248 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 ap... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/FileUtils.java | Java | unknown | 1,480 |
/*
* Copyright (C) 2016 The Libphonenumber Authors
*
* 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 applicable la... | 2301_81045437/third_party_libphonenumber | tools/java/common/src/com/google/i18n/phonenumbers/MetadataFilter.java | Java | unknown | 14,906 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 applicable la... | 2301_81045437/third_party_libphonenumber | tools/java/data/src/com/google/i18n/phonenumbers/CombineGeoData.java | Java | unknown | 10,706 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 applicable la... | 2301_81045437/third_party_libphonenumber | tools/java/data/src/com/google/i18n/phonenumbers/CombineGeoDataServlet.java | Java | unknown | 1,690 |
<html>
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8"></head>
<body>
<form action="/combine" method="post" accept-charset="UTF-8">
<h2>Geocoding Prefix Reducer</h2>
<p>Please paste your geocoding data below. Each line should be in the format
"prefix|description". Li... | 2301_81045437/third_party_libphonenumber | tools/java/data/webapp/index.html | HTML | unknown | 682 |
#! /bin/sh
# Copyright (C) 2011 The Libphonenumber Authors
#
# 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 applicable la... | 2301_81045437/third_party_libphonenumber | tools/script/continuous-integration.sh | Shell | unknown | 2,984 |
cmake_minimum_required (VERSION 3.5)
project (webrtc-streamer)
set (WEBRTCROOT "${CMAKE_CURRENT_SOURCE_DIR}/../webrtc" CACHE STRING "WEBRTC root directory")
set (WEBRTCDESKTOPCAPTURE "ON" CACHE STRING "WEBRTC Desktop capture")
set (WEBRTCCHROMEBRANDED "ON" CACHE STRING "WEBRTC Chrome branded")
if(NOT CMAKE_BUILD_TYPE... | 2301_81045437/webrtc-streamer | CMakeLists.txt | CMake | unlicense | 15,629 |
# build
FROM ubuntu:24.04 as builder
LABEL maintainer=michel.promonet@free.fr
ARG USERNAME=dev
WORKDIR /webrtc-streamer
COPY . /webrtc-streamer
ENV PATH /depot_tools:$PATH
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates wget git python3 python3-pkg-resou... | 2301_81045437/webrtc-streamer | Dockerfile | Dockerfile | unlicense | 1,606 |
#
# configure application to run on Heroku
#
web: ./webrtc-streamer -a -C config.json -N10 -o
| 2301_81045437/webrtc-streamer | Procfile | Procfile | unlicense | 94 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** CapturerFactory.h
**
** -------------------------------------... | 2301_81045437/webrtc-streamer | inc/CapturerFactory.h | C++ | unlicense | 10,744 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** EncodedVideoFrameBuffer.h
**
** ----------------------------... | 2301_81045437/webrtc-streamer | inc/EncodedVideoFrameBuffer.h | C++ | unlicense | 1,689 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** HttpServerRequestHandler.h
**
** ---------------------------... | 2301_81045437/webrtc-streamer | inc/HttpServerRequestHandler.h | C++ | unlicense | 1,223 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** NullDecoder.h
**
** -----------------------------------------... | 2301_81045437/webrtc-streamer | inc/NullDecoder.h | C++ | unlicense | 2,422 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** NullEncoder.h
**
** -----------------------------------------... | 2301_81045437/webrtc-streamer | inc/NullEncoder.h | C++ | unlicense | 3,522 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** PeerConnectionManager.h
**
** -------------------------------... | 2301_81045437/webrtc-streamer | inc/PeerConnectionManager.h | C++ | unlicense | 18,791 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** V4l2AlsaMap.h
**
** -----------------------------------------... | 2301_81045437/webrtc-streamer | inc/V4l2AlsaMap.h | C++ | unlicense | 3,936 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** V4l2Capturer.h
**
** ----------------------------------------... | 2301_81045437/webrtc-streamer | inc/V4l2Capturer.h | C++ | unlicense | 5,815 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VcmCapturer.h
**
** -----------------------------------------... | 2301_81045437/webrtc-streamer | inc/VcmCapturer.h | C++ | unlicense | 3,508 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VideoDecoder.h
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | inc/VideoDecoder.h | C++ | unlicense | 13,518 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VideoDecoderFactory.h
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | inc/VideoDecoderFactory.h | C++ | unlicense | 1,205 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VideoEncoderFactory.h
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | inc/VideoEncoderFactory.h | C++ | unlicense | 1,312 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VideoScaler.h
**
** ----------------------------------... | 2301_81045437/webrtc-streamer | inc/VideoScaler.h | C++ | unlicense | 6,541 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** VideoSource.h
**
** -----------------------------------------... | 2301_81045437/webrtc-streamer | inc/VideoSource.h | C++ | unlicense | 922 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** screencapturer.h
**
** --------------------------------------... | 2301_81045437/webrtc-streamer | inc/desktopcapturer.h | C++ | unlicense | 1,813 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspaudiocapturer.h
**
** ----------------------------... | 2301_81045437/webrtc-streamer | inc/fileaudiocapturer.h | C++ | unlicense | 1,128 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** filecapturer.h
**
** ----------------------------------------... | 2301_81045437/webrtc-streamer | inc/filevideocapturer.h | C++ | unlicense | 942 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** liveaudiosource.h
**
** ------------------------------... | 2301_81045437/webrtc-streamer | inc/liveaudiosource.h | C++ | unlicense | 7,495 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** livevideosource.h
**
** ------------------------------... | 2301_81045437/webrtc-streamer | inc/livevideosource.h | C++ | unlicense | 13,961 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtmpvideosource.h
**
** ------------------------------... | 2301_81045437/webrtc-streamer | inc/rtmpvideosource.h | C++ | unlicense | 12,169 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspvideocapturer.h
**
** -----------------------------------... | 2301_81045437/webrtc-streamer | inc/rtpvideocapturer.h | C++ | unlicense | 1,056 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspaudiocapturer.h
**
** -----------------------------------... | 2301_81045437/webrtc-streamer | inc/rtspaudiocapturer.h | C++ | unlicense | 1,116 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspvideocapturer.h
**
** -----------------------------------... | 2301_81045437/webrtc-streamer | inc/rtspvideocapturer.h | C++ | unlicense | 1,289 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** screencapturer.h
**
** --------------------------------------... | 2301_81045437/webrtc-streamer | inc/screencapturer.h | C++ | unlicense | 1,635 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** windowcapturer.h
**
** --------------------------------------... | 2301_81045437/webrtc-streamer | inc/windowcapturer.h | C++ | unlicense | 1,657 |
#!/usr/bin/env node
/*
* NodeJS example to send a webrtc-streamer stream to janus-gateway
*/
// decode arguments
if (process.argv.length < 4) {
console.log("Usage: " + __filename + " <webrtc-streamer url> <videourl> <janus url> <janus room>");
process.exit(-1);
}
var webrtcstreamerurl = process.argv[2];
consol... | 2301_81045437/webrtc-streamer | joinjanusvideoroom.js | JavaScript | unlicense | 838 |
#!/usr/bin/env node
/*
* NodeJS example to send a webrtc-streamer stream to jitsi
*/
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
// decode arguments
if (process.argv.length <= 4) {
console.log("Usage: " + __filename + " <webrtc-streamer url> <videourl> <xmpp url> <xmpp room>");
process.exit(-1);
}
var webrt... | 2301_81045437/webrtc-streamer | joinxmpproom.js | JavaScript | unlicense | 1,645 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** HttpServerRequestHandler.cpp
**
** -------------------------... | 2301_81045437/webrtc-streamer | src/HttpServerRequestHandler.cpp | C++ | unlicense | 11,639 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** PeerConnectionManager.cpp
**
** -----------------------------... | 2301_81045437/webrtc-streamer | src/PeerConnectionManager.cpp | C++ | unlicense | 50,943 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** screencapturer.cpp
**
** ------------------------------------... | 2301_81045437/webrtc-streamer | src/desktopcapturer.cpp | C++ | unlicense | 2,958 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** fileaudiocapturer.cpp
**
** --------------------------... | 2301_81045437/webrtc-streamer | src/fileaudiocapturer.cpp | C++ | unlicense | 817 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** filevideocapturer.cpp
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | src/filevideocapturer.cpp | C++ | unlicense | 793 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** main.cpp
**
** ----------------------------------------------... | 2301_81045437/webrtc-streamer | src/main.cpp | C++ | unlicense | 13,808 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtpvideocapturer.cpp
**
** ----------------------------------... | 2301_81045437/webrtc-streamer | src/rtpvideocapturer.cpp | C++ | unlicense | 935 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspaudiocapturer.cpp
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | src/rtspaudiocapturer.cpp | C++ | unlicense | 744 |
/* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspvideocapturer.cpp
**
** ---------------------------------... | 2301_81045437/webrtc-streamer | src/rtspvideocapturer.cpp | C++ | unlicense | 1,007 |
package controller.academy;
import entity.AcademyEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servle... | 2301_81295389/student-java-web-backend | src/main/java/controller/academy/AddAcademyInfoServlet.java | Java | unknown | 2,394 |
package controller.academy;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/academy/BatchDeleteAcademyServlet.java | Java | unknown | 2,249 |
package controller.academy;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/academy/DeleteAcademyServlet.java | Java | unknown | 2,268 |
package controller.academy;
import entity.AcademyEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/academy/GetAcademyInfoServlet.java | Java | unknown | 2,039 |
package controller.academy;
import entity.AcademyEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servle... | 2301_81295389/student-java-web-backend | src/main/java/controller/academy/UpdateAcademyServlet.java | Java | unknown | 2,497 |
package controller.classServlet;
import entity.ClassEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.ser... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/AddClassInfoServlet.java | Java | unknown | 2,590 |
package controller.classServlet;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRespon... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/BatchDeleteClassServlet.java | Java | unknown | 2,250 |
package controller.classServlet;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRespon... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/DeleteClassServlet.java | Java | unknown | 2,263 |
package controller.classServlet;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFa... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/GetClassInfoBySpecialtyIdServlet.java | Java | unknown | 2,140 |
package controller.classServlet;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFa... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/GetClassInfoServlet.java | Java | unknown | 2,015 |
package controller.classServlet;
import entity.StudentEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logg... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/GetClassStudentInfoServlet.java | Java | unknown | 1,995 |
package controller.classServlet;
import com.fasterxml.jackson.databind.ObjectMapper;
import dto.GetSameGradeClassDTO;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/GetSameGradeClassServlet.java | Java | unknown | 2,191 |
package controller.classServlet;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRespon... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/RemoveClassStudentServlet.java | Java | unknown | 2,227 |
package controller.classServlet;
import entity.ClassEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.ser... | 2301_81295389/student-java-web-backend | src/main/java/controller/classServlet/UpdateClassServlet.java | Java | unknown | 2,639 |
package controller.login;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
imp... | 2301_81295389/student-java-web-backend | src/main/java/controller/login/LoginServlet.java | Java | unknown | 2,411 |
package controller.login;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
imp... | 2301_81295389/student-java-web-backend | src/main/java/controller/login/RegisteredServlet.java | Java | unknown | 3,119 |
package controller.specialty;
import entity.SpecialtyEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.se... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/AddSpecialtyInfoServlet.java | Java | unknown | 2,504 |
package controller.specialty;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/BatchDeleteSpecialtyServlet.java | Java | unknown | 2,265 |
package controller.specialty;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/DeleteSpecialtyServlet.java | Java | unknown | 2,290 |
package controller.specialty;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/GetSpecialtyByAcademyId.java | Java | unknown | 2,107 |
package controller.specialty;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/GetSpecialtyInfoServlet.java | Java | unknown | 2,048 |
package controller.specialty;
import entity.SpecialtyEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.se... | 2301_81295389/student-java-web-backend | src/main/java/controller/specialty/UpdateSpecialtyServlet.java | Java | unknown | 2,609 |
package controller.student;
import entity.StudentEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpSe... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/AddStudentServlet.java | Java | unknown | 2,051 |
package controller.student;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/BatchDeleteStudentServlet.java | Java | unknown | 2,167 |
package controller.student;
import com.fasterxml.jackson.databind.ObjectMapper;
import dto.ChooseClassDTO;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServ... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/ChooseClassServlet.java | Java | unknown | 2,060 |
package controller.student;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/DeleteStudentServlet.java | Java | unknown | 2,153 |
package controller.student;
import service.impl.StudentServiceImpl;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/StudentServlet.java | Java | unknown | 1,882 |
package controller.student;
import entity.StudentEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
... | 2301_81295389/student-java-web-backend | src/main/java/controller/student/UpdateStudentServlet.java | Java | unknown | 2,002 |
package controller.teacher;
import entity.TeacherEntity;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servle... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/AddTeacherInfoServlet.java | Java | unknown | 2,653 |
package controller.teacher;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/BatchDeleteTeacherServlet.java | Java | unknown | 2,249 |
package controller.teacher;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/DeleteTeacherServlet.java | Java | unknown | 2,268 |
package controller.teacher;
import entity.TeacherEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/GetInfoByAcademyIdServlet.java | Java | unknown | 2,085 |
package controller.teacher;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/GetTeacherInfoServlet.java | Java | unknown | 2,044 |
package controller.teacher;
import entity.TeacherEntity;
import com.fasterxml.jackson.databind.ObjectMapper;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
i... | 2301_81295389/student-java-web-backend | src/main/java/controller/teacher/UpdateTeacherServlet.java | Java | unknown | 2,703 |
package dao;
import entity.AcademyEntity;
import java.util.List;
import java.util.Map;
public interface AcademyDao {
List<Map<String,Object>> getAcademyInfo(String name);
int addAcademyInfo(AcademyEntity academy);
int updateAcademyInfo(AcademyEntity academy);
int deleteAcademy(String academyId);
... | 2301_81295389/student-java-web-backend | src/main/java/dao/AcademyDao.java | Java | unknown | 423 |
package dao;
import entity.ClassEntity;
import dto.GetSameGradeClassDTO;
import java.util.List;
import java.util.Map;
public interface ClassDao {
List<Map<String, Object>> getClassInfo(String name);
int addClassInfo(ClassEntity classEntity);
int updateClassInfo(ClassEntity classEntity);
int delet... | 2301_81295389/student-java-web-backend | src/main/java/dao/ClassDao.java | Java | unknown | 733 |
package dao;
import entity.SpecialtyEntity;
import java.util.List;
import java.util.Map;
public interface SpecialtyDao {
List<Map<String,Object>> getSpecialtyInfo(String name);
int addSpecialtyInfo(SpecialtyEntity specialty);
int updateSpecialtyInfo(SpecialtyEntity specialty);
int deleteSpecialty(... | 2301_81295389/student-java-web-backend | src/main/java/dao/SpecialtyDao.java | Java | unknown | 583 |
package dao;
import entity.StudentEntity;
import dto.ChooseClassDTO;
import java.util.List;
import java.util.Map;
public interface StudentDao {
List<Map<String,Object>> getAll(String name);
int addStudent(StudentEntity student);
int deleteStudent(String id);
int updateStudent(StudentEntity studen... | 2301_81295389/student-java-web-backend | src/main/java/dao/StudentDao.java | Java | unknown | 415 |
package dao;
import entity.TeacherEntity;
import java.util.List;
import java.util.Map;
public interface TeacherDao {
List<Map<String,Object>> getTeacherInfo(String name);
int addTeacherInfo(TeacherEntity teacher);
int updateTeacherInfo(TeacherEntity teacher);
int deleteTeacher(String teacherId);
... | 2301_81295389/student-java-web-backend | src/main/java/dao/TeacherDao.java | Java | unknown | 499 |
package dao;
import entity.UserEntity;
public interface UserDao {
int insert(UserEntity user);
UserEntity findByUsername(String username);
}
| 2301_81295389/student-java-web-backend | src/main/java/dao/UserDao.java | Java | unknown | 151 |
package dao.impl;
import entity.AcademyEntity;
import dao.AcademyDao;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class AcademyDaoImpl extends JDBCUtil implements AcademyDao {
@Override
public List<Map<String, Object>> getAcademyInfo(String name) {
String sql;
L... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/AcademyDaoImpl.java | Java | unknown | 2,364 |
package dao.impl;
import entity.ClassEntity;
import dao.ClassDao;
import dto.GetSameGradeClassDTO;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class ClassDaoImpl extends JDBCUtil implements ClassDao {
@Override
public List<Map<String, Object>> getClassInfo(String name) {
... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/ClassDaoImpl.java | Java | unknown | 3,638 |
package dao.impl;
import entity.SpecialtyEntity;
import dao.SpecialtyDao;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class SpecialtyDaoImpl extends JDBCUtil implements SpecialtyDao {
@Override
public List<Map<String, Object>> getSpecialtyInfo(String name) {
String sql;
... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/SpecialtyDaoImpl.java | Java | unknown | 3,150 |
package dao.impl;
import entity.StudentEntity;
import dao.StudentDao;
import dto.ChooseClassDTO;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class StudentDaoImpl extends JDBCUtil implements StudentDao {
@Override
public List<Map<String, Object>> getAll(String name) {
Str... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/StudentDaoImpl.java | Java | unknown | 2,805 |
package dao.impl;
import entity.TeacherEntity;
import dao.TeacherDao;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class TeacherDaoImpl extends JDBCUtil implements TeacherDao {
@Override
public List<Map<String, Object>> getTeacherInfo(String name) {
String sql;
L... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/TeacherDaoImpl.java | Java | unknown | 2,838 |
package dao.impl;
import entity.UserEntity;
import dao.UserDao;
import util.JDBCUtil;
import java.util.List;
import java.util.Map;
public class UserDaoImpl extends JDBCUtil implements UserDao {
@Override
public int insert(UserEntity user) {
String sql = "INSERT INTO user_info (id,username, password) ... | 2301_81295389/student-java-web-backend | src/main/java/dao/impl/UserDaoImpl.java | Java | unknown | 833 |
package dto;
import lombok.Data;
@Data
public class ChooseClassDTO {
private String studentId;
private String classId;
}
| 2301_81295389/student-java-web-backend | src/main/java/dto/ChooseClassDTO.java | Java | unknown | 131 |
package dto;
import lombok.Data;
@Data
public class GetSameGradeClassDTO {
private String grade;
private String specialtyId;
}
| 2301_81295389/student-java-web-backend | src/main/java/dto/GetSameGradeClassDTO.java | Java | unknown | 137 |
package dto;
import lombok.Data;
@Data
public class UpdateTeacherDTO {
private String teacherId;
private String academyId;
private String teacherName;
private Integer age;
private Integer gender;
private String phoneNumber;
private String degree;
}
| 2301_81295389/student-java-web-backend | src/main/java/dto/UpdateTeacherDTO.java | Java | unknown | 279 |