repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | nearby-main/internal/test/fake_http_client.h | // Copyright 2021-2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 5,933 | 30.73262 | 80 | h |
null | nearby-main/internal/test/fake_data_set.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 4,028 | 29.522727 | 80 | h |
null | nearby-main/internal/test/fake_webrtc.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,682 | 30.166667 | 75 | h |
null | nearby-main/internal/test/fake_device_info.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,862 | 31.572222 | 80 | h |
null | nearby-main/internal/analytics/event_logger.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,281 | 31.871795 | 75 | h |
null | nearby-main/internal/network/http_client_factory_impl.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,195 | 31.324324 | 75 | h |
null | nearby-main/internal/network/http_response.h | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,526 | 32.25 | 80 | h |
null | nearby-main/internal/network/http_client_factory.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,086 | 29.194444 | 75 | h |
null | nearby-main/internal/network/debug.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,054 | 30.969697 | 75 | h |
null | nearby-main/internal/network/utils.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,449 | 31.954545 | 80 | h |
null | nearby-main/internal/network/http_status_code.h | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,901 | 30.543478 | 80 | h |
null | nearby-main/internal/network/http_client_impl.h | // Copyright 2022-2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 2,189 | 33.21875 | 80 | h |
null | nearby-main/internal/network/http_body.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,698 | 24.742424 | 75 | h |
null | nearby-main/internal/network/http_request.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,585 | 27.417582 | 75 | h |
null | nearby-main/internal/network/http_client.h | // Copyright 2021-2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 2,587 | 29.809524 | 77 | h |
null | nearby-main/internal/network/url.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,432 | 28.313253 | 75 | h |
null | nearby-main/internal/base/bluetooth_address.h | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,817 | 33.961538 | 80 | h |
null | nearby-main/internal/base/observer_list.h | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,290 | 27.6375 | 75 | h |
null | nearby-main/internal/weave/packet_sequence_number_generator.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,529 | 32.26087 | 80 | h |
null | nearby-main/internal/weave/control_packet_write_request.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,544 | 29.9 | 75 | h |
null | nearby-main/internal/weave/message_write_request.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,686 | 33.448718 | 80 | h |
null | nearby-main/internal/weave/base_socket.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 4,245 | 35.921739 | 79 | h |
null | nearby-main/internal/weave/socket_callback.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,425 | 30 | 76 | h |
null | nearby-main/internal/weave/packet.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,375 | 33.909091 | 80 | h |
null | nearby-main/internal/weave/connection.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,481 | 30.531915 | 75 | h |
null | nearby-main/internal/weave/packetizer.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,100 | 35.859649 | 80 | h |
null | nearby-main/internal/weave/sockets/initial_data_provider.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,505 | 29.12 | 77 | h |
null | nearby-main/internal/weave/sockets/client_socket.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,133 | 33.983607 | 79 | h |
null | nearby-main/internal/flags/default_flag_reader.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,710 | 29.553571 | 75 | h |
null | nearby-main/internal/flags/flag_reader.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,667 | 31.076923 | 77 | h |
null | nearby-main/internal/flags/flag.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,463 | 30.826087 | 80 | h |
null | nearby-main/internal/flags/nearby_flags.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 3,167 | 32.702128 | 80 | h |
null | nearby-main/internal/data/data_manager.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,682 | 30.166667 | 75 | h |
null | nearby-main/internal/data/data_set.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,338 | 31.943662 | 79 | h |
null | nearby-main/internal/data/leveldb_data_set.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 7,725 | 33.035242 | 80 | h |
null | nearby-main/internal/data/memory_data_set.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 3,167 | 28.607477 | 78 | h |
null | nearby-main/internal/interop/device.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,891 | 33.4 | 78 | h |
null | nearby-main/internal/interop/device_provider.h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,928 | 34.722222 | 80 | h |
null | nearby-main/internal/interop/authentication_transport.h | // Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,117 | 31.882353 | 75 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/firewall_thread.c | #include <rte_log.h>
#include "pipeline_common_be.h"
#include "pipeline_firewall_be.h"
#include "Enclave_t.h"
#include "Enclave.h"
#include "app.h"
int running = 1;
int ecall_firewall_thread(struct app_thread_data *t) {
uint32_t i;
for (i = 0; running; i++) {
/* uint32_t n_regular = RTE_MIN(t->n_regular, RTE_DIM... | 2,554 | 25.071429 | 72 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/Enclave.h | /*
* Copyright (C) 2011-2017 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | 2,170 | 34.016129 | 72 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_ring/rte_ring.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 9,476 | 27.289552 | 78 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_port/rte_port.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 7,344 | 26.82197 | 79 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_port/rte_port_source_sink.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,980 | 32.875 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_port/rte_port_ring.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,137 | 32.370968 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_port/rte_port_source_sink.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 14,462 | 21.285054 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_port/rte_port_ring.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 19,693 | 23.105263 | 77 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_table/rte_table_acl.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 20,541 | 23.630695 | 92 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/rte_malloc.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 7,412 | 26.054745 | 106 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_debug.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 3,384 | 26.08 | 75 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_common_memory.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,463 | 27.433121 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_common_errno.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,604 | 34.684932 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_private.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 8,826 | 24.292264 | 78 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_common_memzone.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 12,764 | 24.479042 | 90 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_common_log.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 10,043 | 23.086331 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_internal_cfg.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,199 | 43.680851 | 86 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_eal/eal_common_tailqs.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 5,673 | 25.390698 | 76 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 8,848 | 34.971545 | 79 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run_sse.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,132 | 43.4375 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/tb_mem.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,608 | 32.883117 | 77 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_vect.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,172 | 34.666667 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run_sse.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 11,309 | 30.592179 | 80 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/rte_acl.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 12,465 | 31.128866 | 79 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_gen.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 15,209 | 26.064057 | 80 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/tb_mem.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 3,471 | 30.853211 | 78 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run_avx2.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 8,792 | 29.852632 | 80 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 8,091 | 29.421053 | 78 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run_scalar.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 6,221 | 31.238342 | 76 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/rte_acl.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 10,676 | 25.29803 | 80 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/rte_acl_osdep.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,564 | 30.666667 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_acl/acl_run_avx2.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,362 | 41.963636 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_mbuf/rte_mbuf.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* Copyright 2014 6WIND S.A.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* ... | 14,116 | 28.908898 | 81 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_mempool/rte_mempool_ops.c | /*-
* BSD LICENSE
*
* Copyright(c) 2016 Intel Corporation. All rights reserved.
* Copyright(c) 2016 6WIND S.A.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * ... | 4,560 | 28.810458 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/dpdk/librte_mempool/rte_mempool_ring.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,970 | 28.945783 | 76 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/pipeline_firewall_be.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 23,637 | 24.637744 | 77 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/pipeline_firewall_be.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,558 | 24.049451 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/pipeline_common_be.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,712 | 27.737805 | 78 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/count_min_sketch.h | #ifndef _COUNT_MIN_SKETCH_
#define _COUNT_MIN_SKETCH_
#include <stdint.h>
#include <string.h>
#include <sgx_trts.h>
#include <immintrin.h>
#include "hash_func.h"
#define CM_W_BITS (16)
#define CM_WIDTH (1 << CM_W_BITS)
// w = ceil(e/epsilon)
#define CM_DEPTH 2
// d = ceil(ln(1/delta))
#define CM_PRIME (4294967231)... | 926 | 20.55814 | 98 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/header_copy.h | #ifndef _SKETCH_H_
#define _SKETCH_H_
#include <stdint.h>
#include <rte_log.h>
#include <rte_mbuf.h>
#include <rte_pipeline.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_tcp.h>
#include "count_min_sketch.h"
struct header_cache {
uint32_t src_ip;
uint32_t dst_ip;
uint16_t src_port;
uint1... | 2,004 | 24.0625 | 80 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/full_copy.c | #include <rte_mempool.h>
#include <rte_mbuf.h>
#include <rte_pipeline.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_tcp.h>
#include "count_min_sketch.h"
#include "full_copy.h"
struct rte_mempool *enclave_mempool;
struct rte_mbuf* saved_mbufs[RTE_PORT_IN_BURST_SIZE_MAX] __rte_cache_aligned;
void init_c... | 2,770 | 29.119565 | 84 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/pipeline_common_be.c | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,859 | 22.592233 | 74 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/ip_pipeline/count_min_sketch.c | #include <rte_mbuf.h>
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_pipeline.h>
#include "header_copy.h"
#include "count_min_sketch.h"
#ifdef ENABLE_INPUT_SKETCH
struct count_min_t input_cm;
#endif
inline void
cm_init(struct count_min_t *cm) {
memset(cm, 0, sizeof(struct count_min_t));
for(size_t... | 3,167 | 28.886792 | 84 | c |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_vect.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 3,627 | 25.289855 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_per_lcore.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,763 | 32.707317 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_cycles.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,521 | 34.054264 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_atomic.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 5,479 | 22.722944 | 81 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_ip.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* Copyright 2014 6WIND S.A.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* ... | 14,535 | 28.665306 | 92 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_cpuflags.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 6,641 | 42.12987 | 76 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_common.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 11,946 | 25.847191 | 83 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_tailq.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 5,541 | 31.034682 | 79 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_memory.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 7,473 | 26.88806 | 81 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_memzone.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 12,295 | 38.79288 | 80 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_spinlock.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,620 | 22.697436 | 74 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_eal.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 9,366 | 30.538721 | 92 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_bus.h | /*-
* BSD LICENSE
*
* Copyright(c) 2016 NXP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* ... | 4,327 | 26.220126 | 76 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_string_fns.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,898 | 34.353659 | 76 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_interrupts.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 3,734 | 29.614754 | 75 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_meter.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 11,536 | 28.431122 | 100 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_tcp.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 4,398 | 40.895238 | 77 | h |
SGX-DPDK | SGX-DPDK-master/Enclave/include/dpdk/rte_hexdump.h | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | 2,740 | 29.455556 | 77 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.