- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,739 for convert (0.04 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
result.addDependency(convert(dependency, stereotypes)); } DependencyManagement mgmt = model.getDependencyManagement(); if (mgmt != null) { for (org.apache.maven.model.Dependency dependency : mgmt.getDependencies()) { result.addManagedDependency(convert(dependency, stereotypes)); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0) -
docs/en/docs/advanced/response-change-status-code.md
But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`. But you still want to be able to filter and convert the data you return with a `response_model`. For those cases, you can use a `Response` parameter. ## Use a `Response` parameter { #use-a-response-parameter }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
/** * Convert a model profile to a settings profile. */ @Nonnull org.apache.maven.api.settings.Profile convert(@Nonnull org.apache.maven.api.model.Profile profile); /** * Convert a settings profile to a model profile. */ @Nonnull org.apache.maven.api.model.Profile convert(@Nonnull org.apache.maven.api.settings.Profile profile);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} /** * Parses a sequence of XML elements and converts them to the appropriate array type. * * @param parser The XML parser * @return Converted array instance */ private Object parseArray(final MXParser parser, final TypeLiteral<?> toType) throws Exception { // convert to a collection first then convert that into an arrayCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *} /// note | Technical Details
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.1K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
throttlePeriodUnit = unit } fun getThrottlePeriod(unit: TimeUnit): Long = unit.convert(throttlePeriodAmount, throttlePeriodUnit) fun setBodyDelay( delay: Long, unit: TimeUnit, ) = apply { bodyDelayAmount = delay bodyDelayUnit = unit } fun getBodyDelay(unit: TimeUnit): Long = unit.convert(bodyDelayAmount, bodyDelayUnit) fun setHeadersDelay( delay: Long,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
guava-tests/test/com/google/common/primitives/IntsTest.java
Converter<String, Integer> converter = Ints.stringConverter(); assertThat(converter.convert("1")).isEqualTo(1); assertThat(converter.convert("0")).isEqualTo(0); assertThat(converter.convert("-1")).isEqualTo(-1); assertThat(converter.convert("0xff")).isEqualTo(255); assertThat(converter.convert("0xFF")).isEqualTo(255); assertThat(converter.convert("-0xFF")).isEqualTo(-255);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0) -
docs/en/docs/how-to/general.md
## Convert any Data to JSON-compatible { #convert-any-data-to-json-compatible } To convert any data to JSON-compatible, read the docs for [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testStringConverter_convert() { Converter<String, Double> converter = Doubles.stringConverter(); assertThat(converter.convert("1.0")).isEqualTo(1.0); assertThat(converter.convert("0.0")).isEqualTo(0.0); assertThat(converter.convert("-1.0")).isEqualTo(-1.0); assertThat(converter.convert("1")).isEqualTo(1.0); assertThat(converter.convert("0")).isEqualTo(0.0);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
internal/s3select/sql/value.go
a.setInt(iA) } else if fA, ok := a.bytesToFloat(); ok { a.setFloat(fA) } else { return fmt.Errorf("Could not convert %s to a number", a.String()) } case bool: if bA, ok := a.bytesToBool(); ok { a.setBool(bA) } else { return fmt.Errorf("Could not convert %s to a boolean", a.String()) } default: return errCmpMismatchedTypes } return nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0)