Home
last modified time | relevance | path

Searched refs:not_none (Results 1 – 25 of 130) sorted by relevance

123456

/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/diesel-1.4.8/src/sqlite/types/
H A Dmod.rs19 let text = not_none!(value).read_text(); in from_sql()
31 let bytes = not_none!(bytes).read_blob(); in from_sql()
38 Ok(not_none!(value).read_integer() as i16) in from_sql()
44 Ok(not_none!(value).read_integer()) in from_sql()
50 Ok(not_none!(value).read_integer() != 0) in from_sql()
56 Ok(not_none!(value).read_long()) in from_sql()
62 Ok(not_none!(value).read_double() as f32) in from_sql()
68 Ok(not_none!(value).read_double()) in from_sql()
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/diesel-1.4.8/src/sqlite/types/
H A Dmod.rs19 let text = not_none!(value).read_text(); in from_sql()
31 let bytes = not_none!(bytes).read_blob(); in from_sql()
38 Ok(not_none!(value).read_integer() as i16) in from_sql()
44 Ok(not_none!(value).read_integer()) in from_sql()
50 Ok(not_none!(value).read_integer() != 0) in from_sql()
56 Ok(not_none!(value).read_long()) in from_sql()
62 Ok(not_none!(value).read_double() as f32) in from_sql()
68 Ok(not_none!(value).read_double()) in from_sql()
/dports/textproc/py-pyhamcrest/PyHamcrest-2.0.2/tests/hamcrest_unit_test/core/
H A Disnone_test.py39 self.assert_matches("not None", not_none(), object())
42 self.assert_does_not_match("None", not_none(), None)
45 self.assert_description("not None", not_none())
48 self.assert_no_mismatch_description(not_none(), "hi")
51 self.assert_mismatch_description("but was <None>", not_none(), None)
54 self.assert_describe_mismatch("but was <None>", not_none(), None)
/dports/science/py-dipy/dipy-1.4.1/dipy/reconst/benchmarks/
H A Dbench_squash.py70 not_none = arr[mask]
72 if not_none.size == 0:
74 first = not_none[0]
80 all_same_shape = all(item.shape == shape for item in not_none)
88 dtypes = set(a.dtype for a in not_none)
102 all_scalars = all(np.isscalar(item) for item in not_none)
109 dtype = np.asarray(sum(not_none, False)).dtype
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/diesel-1.4.8/src/type_impls/
H A Dintegers.rs12 let mut bytes = not_none!(bytes); in from_sql()
40 let mut bytes = not_none!(bytes); in from_sql()
67 let mut bytes = not_none!(bytes); in from_sql()
H A Dfloats.rs12 let mut bytes = not_none!(bytes); in from_sql()
34 let mut bytes = not_none!(bytes); in from_sql()
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/diesel-1.4.8/src/type_impls/
H A Dintegers.rs12 let mut bytes = not_none!(bytes); in from_sql()
40 let mut bytes = not_none!(bytes); in from_sql()
67 let mut bytes = not_none!(bytes); in from_sql()
H A Dfloats.rs12 let mut bytes = not_none!(bytes); in from_sql()
34 let mut bytes = not_none!(bytes); in from_sql()
/dports/biology/py-scikit-bio/scikit-bio-0.5.6/skbio/
H A Dworkflow.py247 not_none = NotNone() variable
505 elif values is not_none:
506 self.values = not_none
544 if self.values is not_none and val is not None:
/dports/www/py-flask-restx/flask-restx-0.5.1/flask_restx/
H A Dswagger.py23 from .utils import merge, not_none, not_none_sorted
120 return not_none(header)
272 return not_none(specs)
392 params["payload"] = not_none(
404 params["payload"] = not_none(
414 params["payload"] = not_none(
434 responses[exception.__name__] = not_none(response)
448 return not_none(path)
477 return not_none(operation)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_program.py173 not_none = object()
174 setattr(program, attr, not_none)
177 self.assertEqual(getattr(program, attr), not_none)
/dports/lang/python27/Python-2.7.18/Lib/unittest/test/
H A Dtest_program.py180 not_none = object()
181 setattr(program, attr, not_none)
184 self.assertEqual(getattr(program, attr), not_none)
/dports/lang/python-legacy/Python-2.7.18/Lib/unittest/test/
H A Dtest_program.py180 not_none = object()
181 setattr(program, attr, not_none)
184 self.assertEqual(getattr(program, attr), not_none)
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/unittest/test/
H A Dtest_program.py179 not_none = object()
180 setattr(program, attr, not_none)
183 self.assertEqual(getattr(program, attr), not_none)
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
H A Dtest_program.py179 not_none = object()
180 setattr(program, attr, not_none)
183 self.assertEqual(getattr(program, attr), not_none)
/dports/net-mgmt/py-arouteserver/arouteserver-1.12.0/pierky/arouteserver/
H A Dirrdb.py52 not_none = [_ for _ in sources if _ is not None]
53 if not_none:
54 used_source = not_none[0].upper()

123456