- Sort Score
- Result 10 results
- Languages All
Results 1801 - 1810 of 3,402 for rint (0.02 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
public void testToStringRadix() { for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (long l : TEST_LONGS) { UnsignedLong value = UnsignedLong.fromLongBits(l); assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix)); } } } public void testToStringRadixQuick() { int[] radices = {2, 3, 5, 7, 10, 12, 16, 21, 31, 36};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/s3select/parquet/errors.go
type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
docs_src/extra_models/tutorial001.py
return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password) user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password) print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut) async def create_user(user_in: UserIn): user_saved = fake_save_user(user_in)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 943 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
UNIFORM_0_TO_2(0, 2), UNIFORM_0_TO_9(0, 9), ALWAYS_0(0, 0), ALWAYS_10(10, 10); final int min; final int max; private ListSizeDistribution(int min, int max) { this.min = min; this.max = max; } public int chooseSize(Random random) { return random.nextInt(max - min + 1) + min; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
Comparable[] c = new Comparable[versions.length]; for (int i = 0; i < versions.length; i++) { c[i] = newComparable(versions[i]); } for (int i = 1; i < versions.length; i++) { Comparable low = c[i - 1]; for (int j = i; j < versions.length; j++) { Comparable high = c[j];
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0) -
cmd/naughty-disk_test.go
// The real disk disk StorageAPI // Programmed errors: API call number => error to return errors map[int]error // The error to return when no error value is programmed defaultErr error // The current API call number callNR int // Data protection mu sync.Mutex } func newNaughtyDisk(d StorageAPI, errs map[int]error, defaultErr error) *naughtyDisk { return &naughtyDisk{disk: d, errors: errs, defaultErr: defaultErr} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
{ std::unique_ptr<ParallelTensor> int_tensors = parallel_device.ScalarsFromSequence<int>({5, 6}, context.get(), status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); ExpectScalarEq<int>(int_tensors->tensor(0), 5); ExpectScalarEq<int>(int_tensors->tensor(1), 6); } } } // namespace parallel_device
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded); } private static void testEncodesWithOffset( BaseEncoding encoding, String decoded, int offset, int len, String encoded) { assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded); } private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/SearchForm.java
@Size(max = 100) public String track_total_hits; // advance @Override public int getStartPosition() { if (start == null) { start = ComponentUtil.getFessConfig().getPagingSearchPageStartAsInteger(); } return start; } @Override public int getOffset() { if (offset == null) { offset = 0; } return offset; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
public Map<String, String[]> getConditions() { return as; } @Override public int getStartPosition() { if (start == null) { start = ComponentUtil.getFessConfig().getPagingSearchPageStartAsInteger(); } return start; } @Override public int getOffset() { if (offset == null) { offset = 0; } return offset;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0)