- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 9,260 for import_ (0.07 sec)
-
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
* limitations under the License. */ package com.google.common.collect; import static java.lang.Math.min; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.base.Preconditions; import java.util.Random; /** * Tests the speed of iteration of different iteration methods for collections. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.nio.file.Path; import java.util.Collection; import java.util.Optional; import org.apache.maven.api.Project; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * Result of a project build call. * * @since 4.0.0 */ @Experimental
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/test_regex_deprecated_body.py
import pytest from dirty_equals import IsDict from fastapi import FastAPI, Form from fastapi.testclient import TestClient from typing_extensions import Annotated from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(DeprecationWarning): @app.post("/items/") async def read_items( q: Annotated[str | None, Form(regex="^fixedquery$")] = None, ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.2K bytes - Viewed (0) -
docs_src/security/tutorial002.py
from typing import Union from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token): return User(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 755 bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* governing permissions and limitations under the License. */ package org.codelibs.curl.io; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.logging.Logger; import org.apache.commons.io.output.DeferredFileOutputStream; public class ContentOutputStream extends DeferredFileOutputStream {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.net; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.IOException; import java.net.JarURLConnection; import java.util.jar.JarFile; import org.codelibs.core.exception.IORuntimeException; /** * {@link JarURLConnection}用のユーティリティクラスです。 * * @author higa */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.io.StringReader; import org.junit.Test; /** * @author koichik */ public class LineIteratorTest { /** * @throws Exception
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import java.util.Collection; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * An SPI interface to extend Maven with a new enum value. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java
* under the License. */ package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link AndArtifactFilter}. * */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an_py39.py
from base64 import b64encode import pytest from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.security.tutorial006_an import app client = TestClient(app) return client @needs_py39 def test_security_http_basic(client: TestClient): response = client.get("/users/me", auth=("john", "secret"))
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.5K bytes - Viewed (0)