dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30933 )
Change subject: uitils: add floored and euclidian modulo functions
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS4:
(The paper I am referring to can be found at: https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/divmodn…)
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
Gerrit-Change-Number: 30933
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Wed, 11 Jan 2023 12:38:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: dexter.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/30933
to look at the new patch set (#4).
Change subject: uitils: add floored and euclidian modulo functions
......................................................................
uitils: add floored and euclidian modulo functions
C/C++ only implements a so called "truncated modulo" function. Lets also
add a floored and an euclidian modulo function to be more complete.
Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
---
M include/osmocom/core/utils.h
M tests/utils/utils_test.c
M tests/utils/utils_test.ok
3 files changed, 102 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/33/30933/4
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
Gerrit-Change-Number: 30933
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: dexter.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/30933
to look at the new patch set (#3).
Change subject: uitils: add floored and euclidian modulo functions
......................................................................
uitils: add floored and euclidian modulo functions
C/C++ only implements a so called "truncated modulo" function. Lets also
add a floored and an euclidian modulo function to be more complete.
Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
---
M include/osmocom/core/utils.h
M tests/utils/utils_test.c
M tests/utils/utils_test.ok
3 files changed, 102 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/33/30933/3
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
Gerrit-Change-Number: 30933
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30933 )
Change subject: uitils: add floored and euclidian modulo functions
......................................................................
Patch Set 2:
(3 comments)
File tests/utils/utils_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2601):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/744f3f15_73eb9b4e
PS2, Line 773: printf(" %i mod %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2601):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/df39132f_57e5c72d
PS2, Line 781: printf(" %i mod_flr %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2601):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/919cc5df_450a985c
PS2, Line 789: printf(" %i mod_euc %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
Gerrit-Change-Number: 30933
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 11 Jan 2023 12:18:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30933 )
Change subject: uitils: add floored and euclidian modulo functions
......................................................................
Patch Set 1:
(3 comments)
File tests/utils/utils_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2600):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/cc21fbc8_49b7f811
PS1, Line 773: printf(" %i mod %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2600):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/db7fd405_afb9aeef
PS1, Line 781: printf(" %i mod_flr %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-2600):
https://gerrit.osmocom.org/c/libosmocore/+/30933/comment/ed28d50b_eacba4fa
PS1, Line 789: printf(" %i mod_euc %i = %i = %i\n", x, y, result, expected_result);
Use %d instead of %i
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30933
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If61cd54f43643325c45f64531c57fe4c5802a9cf
Gerrit-Change-Number: 30933
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 11 Jan 2023 12:18:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: lynxis lazus.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-sgsn/+/30890
to look at the new patch set (#2).
Change subject: gtp_{ggsn,mme}: Allocate contexts under struct sgsn_instance
......................................................................
gtp_{ggsn,mme}: Allocate contexts under struct sgsn_instance
This way apns are managed by the lifcycle of the main global struct
sgsn_instance automatically.
Change-Id: Ie65d59632a368c6957c33dca64e856ace792b2c6
---
M include/osmocom/sgsn/gtp_ggsn.h
M src/sgsn/gprs_sgsn.c
M src/sgsn/gprs_sm.c
M src/sgsn/gtp_ggsn.c
M src/sgsn/gtp_mme.c
M src/sgsn/sgsn_libgtp.c
M src/sgsn/sgsn_vty.c
M tests/sgsn/sgsn_test.c
8 files changed, 25 insertions(+), 26 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/90/30890/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/30890
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ie65d59632a368c6957c33dca64e856ace792b2c6
Gerrit-Change-Number: 30890
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: newpatchset