Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh 784 review three head #513

Open
wants to merge 10 commits into
base: GH-784-review-three-base
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions ci/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ ci/all.sh "$PARENT_DIR"
echo "*** AUTOMAP TAIL ***"
echo "*********************************************************************************************************"
echo "*********************************************************************************************************"
echo "*** IP COUNTRY HEAD ***"
echo "*** IP COUNTRY HEAD ***"
cd "$CI_DIR/../ip_country"
ci/all.sh "$PARENT_DIR"
echo "*** IP COUNTRY TAIL ***"
echo "*** IP COUNTRY TAIL ***"
echo "*********************************************************************************************************"

3 changes: 0 additions & 3 deletions ip_country/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ path = "src/main.rs"
[lib]
name = "ip_country_lib"
path = "src/lib.rs"

[profile.release]
codegen-units = 1
2 changes: 1 addition & 1 deletion ip_country/ci/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xev
# Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
# Copyright (c) 2024, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
CI_DIR="$( cd "$( dirname "$0" )" && pwd )"

pushd "$CI_DIR/.."
Expand Down
2 changes: 1 addition & 1 deletion ip_country/ci/license.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -e
# Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
# Copyright (c) 2024, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
CI_DIR="$( cd "$( dirname "$0" )" && pwd )"

pushd "$CI_DIR/.."
Expand Down
2 changes: 1 addition & 1 deletion ip_country/ci/lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xev
# Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
# Copyright (c) 2024, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
CI_DIR="$( cd "$( dirname "$0" )" && pwd )"

pushd "$CI_DIR/.."
Expand Down
2 changes: 1 addition & 1 deletion ip_country/ci/unit_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -xev
# Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
# Copyright (c) 2024, MASQ (https://masq.ai) and/or its affiliates. All rights reserved.
CI_DIR="$( cd "$( dirname "$0" )" && pwd )"

export RUST_BACKTRACE=full
Expand Down
2 changes: 1 addition & 1 deletion ip_country/src/bit_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl BitQueue {
}

pub fn is_empty(&self) -> bool {
((self.byte_queue.len() * 8) - self.back_blank_bit_count - self.front_blank_bit_count) == 0
self.len() == 0
}

#[allow(unused_assignments)]
Expand Down
Loading
Loading