- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,244 for convert (0.23 sec)
-
internal/s3select/simdj/record.go
case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return sql.FromInt(v), nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return sql.FromFloat(v), err } return sql.FromInt(v), nil case simdjson.TypeBool: v, err := iter.Bool() if err != nil { return nil, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
assertDoesNotThrow(() -> { SmbException exception = new SmbException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should convert to string properly") void testToString() { // Given String message = "Test error message"; SmbException exception = new SmbException(message); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* <p> * This implementation is singleton-based and always uses UTC timezone. The clock * cannot be adjusted to different timezones to maintain consistent monotonic behavior. * Users needing local time representation should convert the result of {@link #instant()} * to their desired timezone: * <pre>{@code * Instant now = MonotonicClock.now(); * ZonedDateTime local = now.atZone(ZoneId.systemDefault()); * }</pre> * * @see System#nanoTime()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java
return asJson(new ApiResponse().status(Status.OK).result()); } /** * Creates an EditBody from an AccessToken entity for API responses. * Converts permissions and handles date formatting. * * @param entity the AccessToken entity to convert * @return the EditBody representation of the entity */ protected EditBody createEditBody(final AccessToken entity) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.3K bytes - Viewed (0) -
callbacks/update.go
for i := 0; i < stmt.ReflectValue.Len(); i++ { if stmt.ReflectValue.CanAddr() { field.Set(stmt.Context, stmt.ReflectValue.Index(i), value) } } } case reflect.Struct: assignValue = func(field *schema.Field, value interface{}) { if stmt.ReflectValue.CanAddr() { field.Set(stmt.Context, stmt.ReflectValue, value) } } default: assignValue = func(field *schema.Field, value interface{}) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
return true; }); } return Collections.emptyList(); } /** * Converts a string to lowercase. * * @param term The string to convert. * @return The lowercase string. */ private String toLowerCase(final String term) { return term != null ? term.toLowerCase(Locale.ROOT) : term; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.1K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
func (e *In) evalInNode(r Record, lhs *Value, tableAlias string) (*Value, error) { // Compare two values in terms of in-ness. var cmp func(a, b Value) bool cmp = func(a, b Value) bool { // Convert if needed. inferTypesForCmp(&a, &b) if a.Equals(b) { return true } // If elements, compare each. aA, aOK := a.ToArray() bA, bOK := b.ToArray() if aOK && bOK {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
internal/s3select/unused-errors.go
return &s3Error{ code: "CastFailed", message: "Attempt to convert from one data type to another using CAST failed in the SQL expression.", statusCode: 400, cause: err, } } func errInvalidCast(err error) *s3Error { return &s3Error{ code: "InvalidCast", message: "Attempt to convert from one data type to another using CAST failed in the SQL expression.", statusCode: 400,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 20 08:16:35 UTC 2024 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
return asJson(new ApiResponse().status(Status.OK).result()); } /** * Creates an EditBody from a KeyMatch entity. * * @param entity the key match entity to convert * @return the converted EditBody */ protected EditBody createEditBody(final KeyMatch entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
`secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`. To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8. Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0)