- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,206 for FIRST (0.03 sec)
-
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param first the first array of elements to concatenate * @param second the second array of elements to concatenate * @param type the component type of the returned array */ @GwtIncompatible // Array.newInstance(Class, int) public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
val certificatePinner = CertificatePinner.Builder() .add("first.com", certA1Sha256Pin, certB1Sha256Pin) .add("second.com", certC1Sha256Pin) .build() val expectedPins = listOf( Pin("first.com", certA1Sha256Pin), Pin("first.com", certB1Sha256Pin), ) assertThat(certificatePinner.findMatchingPins("first.com")).isEqualTo(expectedPins) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:01:27 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); assertEquals(STR_VAL, converter.reverse().convert(LONG_VAL).value); assertEquals("StringWrapper.andThen(string2long)", converter.toString()); new EqualsTester() .addEqualityGroup(first.andThen(STR_TO_LONG), first.andThen(STR_TO_LONG)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/test_security_api_key_header_optional.py
return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_security_http_digest_optional.py
@app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None: return {"msg": "Create an account first"} return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_digest():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional_description.py
if token is None: return {"msg": "Create an account first"} return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 200, response.text assert response.json() == {"msg": "Create an account first"} def test_token():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
if (value instanceof final Collection<?> coll && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next(); if (first instanceof Entity) { data.register(key, coll.stream().map(BeanUtil::copyBeanToNewMap).collect(Collectors.toList())); return;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/non_std_test.go
DB.First(&animal, animal.Counter) if animal.Name != "galeone" { t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name) } // When changing a field with a default value, the change must occur animal.Name = "amazing horse" DB.Save(&animal) DB.First(&animal, animal.Counter) if animal.Name != "amazing horse" {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} @SuppressWarnings("unused") // compilation test public void testSampleCodeError2() { FluentIterable<? extends Number> numbers = getSomeNumbers(); Optional<? extends Number> first = numbers.first(); // Number value = first.or(0.5); // error } @SuppressWarnings("unused") // compilation test public void testSampleCodeFine1() { Optional<Number> optionalInt = Optional.of((Number) 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0)