Home
last modified time | relevance | path

Searched refs:to_boolean (Results 1 – 25 of 271) sorted by relevance

1234567891011

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/
H A Dutils_spec.rb185 expect(to_boolean(true)).to be(true)
190 expect(to_boolean(true)).to be(true)
193 expect(to_boolean('t')).to be(true)
194 expect(to_boolean('1')).to be(true)
195 expect(to_boolean(1)).to be(true)
196 expect(to_boolean('ON')).to be(true)
199 expect(to_boolean('F')).to be(false)
201 expect(to_boolean('n')).to be(false)
203 expect(to_boolean(0)).to be(false)
210 expect(to_boolean('')).to be_nil
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/product_analytics/
H A Devent_params.rb25 br_features_pdf: Gitlab::Utils.to_boolean(params['f_pdf']),
26 br_features_flash: Gitlab::Utils.to_boolean(params['f_fla']),
27 br_features_java: Gitlab::Utils.to_boolean(params['f_java']),
28 br_features_director: Gitlab::Utils.to_boolean(params['f_dir']),
29 br_features_quicktime: Gitlab::Utils.to_boolean(params['f_qt']),
30 br_features_realplayer: Gitlab::Utils.to_boolean(params['f_realp']),
31 br_features_windowsmedia: Gitlab::Utils.to_boolean(params['f_wma']),
32 br_features_gears: Gitlab::Utils.to_boolean(params['f_gears']),
33 br_features_silverlight: Gitlab::Utils.to_boolean(params['f_ag']),
35 br_cookies: Gitlab::Utils.to_boolean(params['cookie']),
/dports/devel/rebar3/rebar3-3.17.0/_build/default/lib/erlware_commons/src/
H A Dec_cnv.erl32 to_boolean/1,
166 to_boolean(<<"true">>) -> function
168 to_boolean("true") -> function
170 to_boolean(true) -> function
172 to_boolean(<<"false">>) -> function
174 to_boolean("false") -> function
176 to_boolean(false) -> function
241 ?assertMatch(true, to_boolean("true")),
242 ?assertMatch(true, to_boolean(true)),
244 ?assertMatch(false, to_boolean("false")),
[all …]
/dports/devel/rebar3/rebar3-3.17.0/_checkouts/erlware_commons/src/
H A Dec_cnv.erl32 to_boolean/1,
166 to_boolean(<<"true">>) -> function
168 to_boolean("true") -> function
170 to_boolean(true) -> function
172 to_boolean(<<"false">>) -> function
174 to_boolean("false") -> function
176 to_boolean(false) -> function
241 ?assertMatch(true, to_boolean("true")),
242 ?assertMatch(true, to_boolean(true)),
244 ?assertMatch(false, to_boolean("false")),
[all …]
/dports/sysutils/docker-compose/docker-compose-1.24.0/compose/config/
H A Dinterpolation.py179 def to_boolean(s): function
256 service_path('oom_kill_disable'): to_boolean,
264 service_path('privileged'): to_boolean,
265 service_path('read_only'): to_boolean,
266 service_path('stdin_open'): to_boolean,
267 service_path('tty'): to_boolean,
268 service_path('volumes', 'read_only'): to_boolean,
272 re_path_basic('network', 'external'): to_boolean,
275 re_path_basic('volume', 'external'): to_boolean,
277 re_path_basic('secret', 'external'): to_boolean,
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/
H A Dresultset.py78 def to_boolean(self, value, true_value='true'): member in ResultSet
86 self.is_truncated = self.to_boolean(value)
114 self.status = self.to_boolean(value)
116 self.status = self.to_boolean(value, 'Success')
132 self.status = self.to_boolean(value, 'True')
156 def to_boolean(self, value, true_value='true'): member in BooleanResult
164 self.status = self.to_boolean(value)
166 self.status = self.to_boolean(value, 'Success')
168 self.status = self.to_boolean(value, 'True')
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/
H A Dresultset.py78 def to_boolean(self, value, true_value='true'): member in ResultSet
86 self.is_truncated = self.to_boolean(value)
114 self.status = self.to_boolean(value)
116 self.status = self.to_boolean(value, 'Success')
132 self.status = self.to_boolean(value, 'True')
156 def to_boolean(self, value, true_value='true'): member in BooleanResult
164 self.status = self.to_boolean(value)
166 self.status = self.to_boolean(value, 'Success')
168 self.status = self.to_boolean(value, 'True')
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/
H A Dresultset.py78 def to_boolean(self, value, true_value='true'): member in ResultSet
86 self.is_truncated = self.to_boolean(value)
114 self.status = self.to_boolean(value)
116 self.status = self.to_boolean(value, 'Success')
132 self.status = self.to_boolean(value, 'True')
156 def to_boolean(self, value, true_value='true'): member in BooleanResult
164 self.status = self.to_boolean(value)
166 self.status = self.to_boolean(value, 'Success')
168 self.status = self.to_boolean(value, 'True')
/dports/devel/py-boto/boto-2.49.0/boto/
H A Dresultset.py78 def to_boolean(self, value, true_value='true'): member in ResultSet
86 self.is_truncated = self.to_boolean(value)
114 self.status = self.to_boolean(value)
116 self.status = self.to_boolean(value, 'Success')
132 self.status = self.to_boolean(value, 'True')
156 def to_boolean(self, value, true_value='true'): member in BooleanResult
164 self.status = self.to_boolean(value)
166 self.status = self.to_boolean(value, 'Success')
168 self.status = self.to_boolean(value, 'True')
/dports/devel/elixir-hex/hex-1.0.1/lib/hex/
H A Dstate.ex39 fun: {__MODULE__, :to_boolean}
45 fun: {__MODULE__, :to_boolean}
51 fun: {__MODULE__, :to_boolean}
89 fun: {__MODULE__, :to_boolean}
94 fun: {__MODULE__, :to_boolean}
114 fun: {__MODULE__, :to_boolean}
304 def to_boolean(nil), do: {:ok, nil} function
306 def to_boolean(true), do: {:ok, true} function
307 def to_boolean("0"), do: {:ok, false} function
308 def to_boolean("1"), do: {:ok, true} function
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/top/n3xx/dboards/common/sync/
H A DTdcWrapper.vhd182 if to_boolean(aTdcReset) then
214 --vhook_a aReset to_boolean(aTdcReset)
215 --vhook_a rResetTdc to_boolean(rResetTdc)
216 --vhook_a rEnableTdc to_boolean(rEnableTdc)
217 --vhook_a rReRunEnable to_boolean(rReRunEnable)
219 --vhook_a rLoadRePulseCounts to_boolean(rLoadRePulseCounts)
220 --vhook_a rLoadRpCounts to_boolean(rLoadRpCounts)
221 --vhook_a rLoadRptCounts to_boolean(rLoadRptCounts)
222 --vhook_a sLoadSpCounts to_boolean(sLoadSpCounts)
223 --vhook_a sLoadSptCounts to_boolean(sLoadSptCounts)
[all …]
/dports/devel/kyua/kyua-0.13/utils/fs/
H A Dlua_module_test.cpp124 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
128 ATF_REQUIRE(!state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
133 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
164 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
168 ATF_REQUIRE(!state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
172 ATF_REQUIRE(!state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
176 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
182 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
290 ATF_REQUIRE(!state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
293 ATF_REQUIRE(state.to_boolean(-1)); in ATF_TEST_CASE_BODY()
/dports/www/p5-JE/JE-0.066/t/
H A Dje-number.t177 isa_ok my $thing = $inf->to_boolean, 'JE::Boolean';
179 isa_ok $thing = $nan->to_boolean, 'JE::Boolean';
181 isa_ok $thing = $int->to_boolean, 'JE::Boolean';
183 isa_ok $thing = $sci->to_boolean, 'JE::Boolean';
185 isa_ok $thing = $n->to_boolean, 'JE::Boolean';
187 isa_ok $thing = $z->to_boolean, 'JE::Boolean';
/dports/textproc/p5-XML-XPath/XML-XPath-1.44/lib/XML/XPath/
H A DExpr.pm217 if($lhs->evaluate($node)->to_boolean->value) {
221 return $rhs->evaluate($node)->to_boolean;
227 if( ! $lhs->evaluate($node)->to_boolean->value ) {
231 return $rhs->evaluate($node)->to_boolean;
291 if ($nodeset->to_boolean->value == $other->value) {
302 if ($lh_results->to_boolean->value == $rh_results->to_boolean->value) {
385 if ($lh_results->to_boolean->to_number->value
386 >= $rh_results->to_boolean->to_number->value) {
446 if ($lh_results->to_boolean->value > $rh_results->to_boolean->value) {
606 if ($result->to_boolean->value) {
/dports/textproc/p5-XML-XPathEngine/XML-XPathEngine-0.14/lib/XML/XPathEngine/
H A DExpr.pm221 if($lhs->evaluate($node)->to_boolean->value) {
225 return $rhs->evaluate($node)->to_boolean;
231 if( ! $lhs->evaluate($node)->to_boolean->value ) {
235 return $rhs->evaluate($node)->to_boolean;
336 if ($nodeset->to_boolean->value == $other->value) {
347 if ($lh_results->to_boolean->value == $rh_results->to_boolean->value) {
429 if ($lh_results->to_boolean->to_number->value
430 >= $rh_results->to_boolean->to_number->value) {
489 if ($lh_results->to_boolean->value > $rh_results->to_boolean->value) {
636 if ($result->to_boolean->value) {
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/config/environments/
H A Dtest.rb22 config.cache_classes = Gitlab::Utils.to_boolean(ENV['CACHE_CLASSES'], default: false)
28 …config.assets.check_precompiled_asset = Gitlab::Utils.to_boolean(ENV['CHECK_PRECOMPILED_ASSETS'], …
52 …config.eager_load = Gitlab::Utils.to_boolean(ENV['GITLAB_TEST_EAGER_LOAD'], default: ENV['CI'].pre…
H A Ddevelopment.rb9 config.cache_classes = Gitlab::Utils.to_boolean(ENV['CACHE_CLASSES'], default: false)
62 if Gitlab::Utils.to_boolean(ENV['RAILS_PROFILE'].to_s)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/config/initializers/
H A Dactive_record_postgresql_adapter.rb3 if Gitlab::Utils.to_boolean(ENV['ENABLE_ACTIVERECORD_EMPTY_PING'], default: true)
7 if Gitlab::Utils.to_boolean(ENV['ENABLE_ACTIVERECORD_TYPEMAP_CACHE'], default: true)
H A Dpages_storage_check.rb9 local_store_enabled = Gitlab::Utils.to_boolean(pages['local_store']['enabled'])
10 object_store_enabled = Gitlab::Utils.to_boolean(pages['object_store']['enabled'])
H A Ddatabase_query_analyzers.rb4 if Gitlab.dev_or_test_env? || Gitlab::Utils.to_boolean(ENV['GITLAB_ENABLE_QUERY_ANALYZERS'], defaul…
8 …if Rails.env.test? || Gitlab::Utils.to_boolean(ENV['ENABLE_CROSS_DATABASE_MODIFICATION_DETECTION']…
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/js2py/internals/constructors/
H A Djsboolean.py6 return to_boolean(get_arg(args, 0))
13 temp.value = to_boolean(get_arg(args, 0))
/dports/devel/py-Js2Py/Js2Py-0.71/js2py/internals/constructors/
H A Djsboolean.py6 return to_boolean(get_arg(args, 0))
13 temp.value = to_boolean(get_arg(args, 0))
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/object_storage/
H A Dconfig.rb41 Gitlab::Utils.to_boolean(credentials[:use_iam_profile], default: false)
45 Gitlab::Utils.to_boolean(credentials[:path_style], default: false)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/controllers/concerns/
H A Dmilestone_actions.rb12 show_project_name: Gitlab::Utils.to_boolean(params[:show_project_name])
24 show_project_name: Gitlab::Utils.to_boolean(params[:show_project_name])
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/integrations/
H A Demails_on_push.rb65 Gitlab::Utils.to_boolean(self.send_from_committer_email)
69 Gitlab::Utils.to_boolean(self.disable_diffs)

1234567891011