- Sort Score
- Result 10 results
- Languages All
Results 3171 - 3180 of 7,604 for KClass (0.08 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; class FileSizeFormatTest { @Test void testNegativeSize() { FileSizeFormat format = new FileSizeFormat(); long negativeSize = -100L; assertThrows(IllegalArgumentException.class, () -> format.format(negativeSize)); } @Test void testSize() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
.addHandler(testHandler) Logger.getLogger("okhttp3") .addHandler(testHandler) Logger.getLogger(Http2::class.java.name) .addHandler(testHandler) Logger.getLogger(TaskRunner::class.java.name) .addHandler(testHandler) Logger.getLogger(OkHttpClient::class.java.name) .addHandler(testHandler) server.enqueue(MockResponse(body = "abc")) val request =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
return stringPart.toString() + digitPart.toString(); } } /** * Represents a version list item. This class is used both for the global item list and for sub-lists (which start * with '-(number)' in the version specification). */ private static class ListItem extends ArrayList<Item> implements Item { @Override public int getType() { return LIST_ITEM; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 26K bytes - Viewed (0) -
docs/ru/docs/tutorial/encoder.md
Например, он не принимает объекты `datetime`, так как они не совместимы с JSON. В таком случае объект `datetime` следует преобразовать в строку соответствующую <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">формату ISO</a>. Точно так же эта база данных не может принять Pydantic модель (объект с атрибутами), а только `dict`. Для этого можно использовать функцию `jsonable_encoder`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts
if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") { rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java) val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>() val projectState = objects.newInstance(TestFilesCleanupProjectState::class.java) globalExtension.projectStates.put(path, projectState) projectState.projectBuildDir = layout.buildDirectory
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
* and reports them as TeamCity build problems. */ registerBuildScanInfoCollectingService(CollectFailedTaskPathsBuildService::class.java, ::shouldBeReportedAsTeamCityBuildProblem) { failedTasksInBuildLogic, failedTasksInMainBuild -> buildScanPublished { ((failedTasksInBuildLogic as List<*>) + (failedTasksInMainBuild as List<*>)).forEach {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 20 08:07:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.java
import org.codelibs.fess.util.ComponentUtil; import org.dbflute.util.DfTypeUtil; /** * @author FreeGen */ public class ClickLogBhv extends BsClickLogBhv { private static final Logger logger = LogManager.getLogger(ClickLogBhv.class); private String indexName = null; @Override protected String asEsIndex() { if (indexName == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/base/VerifyException.java
* href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>, * including those performed by the convenience methods of the {@link Verify} class. * * @since 17.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/TestPlatform.java
* limitations under the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; @GwtCompatible(emulated = true) class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 07 20:59:23 UTC 2017 - 829 bytes - Viewed (0) -
docs_src/body_updates/tutorial002.py
from typing import List, Union from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Union[str, None] = None description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: List[str] = [] items = { "foo": {"name": "Foo", "price": 50.2},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1K bytes - Viewed (0)