Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions example/streaming_echo_c++/server.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.

// A server to receive EchoRequest and send back EchoResponse.

#include <gflags/gflags.h>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/acceptor.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <inttypes.h>
#include <gflags/gflags.h>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/builtin/prometheus_metrics_service.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <vector>
#include <iomanip>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/builtin/rpcz_service.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <ostream>
#include <iomanip>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/controller.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <signal.h>
#include <openssl/md5.h>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/details/controller_private_accessor.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.

#ifndef BRPC_CONTROLLER_PRIVATE_ACCESSOR_H
#define BRPC_CONTROLLER_PRIVATE_ACCESSOR_H

Expand Down
10 changes: 5 additions & 5 deletions src/brpc/details/method_status.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <limits>
#include "butil/macros.h"
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/details/method_status.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#ifndef BRPC_METHOD_STATUS_H
#define BRPC_METHOD_STATUS_H
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/details/ssl_helper.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.



#ifndef USE_MESALINK
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/details/usercode_backup_pool.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <deque>
#include <vector>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/event_dispatcher.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#ifndef BRPC_EVENT_DISPATCHER_H
#define BRPC_EVENT_DISPATCHER_H
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/global.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#ifndef USE_MESALINK
#include <openssl/ssl.h>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/input_messenger.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <gflags/gflags.h>
#include "butil/fd_guard.h" // fd_guard
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/parallel_channel.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include "bthread/bthread.h" // bthread_id_xx
#include "bthread/unstable.h" // bthread_timer_add
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/periodic_task.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <bthread/bthread.h>
#include <bthread/unstable.h>
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/policy/auto_concurrency_limiter.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.

#include <cmath>
#include <gflags/gflags.h>
#include "brpc/errno.pb.h"
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/policy/consul_naming_service.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include <gflags/gflags.h>
#include <string> // std::string
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/policy/consul_naming_service.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#ifndef BRPC_POLICY_CONSUL_NAMING_SERVICE
#define BRPC_POLICY_CONSUL_NAMING_SERVICE
Expand Down
10 changes: 5 additions & 5 deletions src/brpc/policy/domain_naming_service.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* This file may have been modified by Bytedance Ltd. and/or its affiliates (“ Bytedance's Modifications”).
* All Bytedance's Modifications are Copyright (2022) Bytedance Ltd. and/or its affiliates.
*/

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -20,6 +15,11 @@
// specific language governing permissions and limitations
// under the License.

// This file may have been modified by Bytedance Ltd. and/or its
// affiliates (“Bytedance's Modifications”). All Bytedance's
// Modifications are Copyright (2022) Bytedance Ltd. and/or its
// affiliates.


#include "butil/build_config.h" // OS_MACOSX
#include <netdb.h> // gethostbyname_r
Expand Down
Loading