- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,059 for inject (0.04 sec)
-
docs/en/docs/advanced/templates.md
## Using `Jinja2Templates` { #using-jinja2templates } * Import `Jinja2Templates`. * Create a `templates` object that you can reuse later. * Declare a `Request` parameter in the *path operation* that will return a template. * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
* @param items an array of suggest items to be written to the index * @param update a boolean flag indicating whether to update existing items * @return a result object containing information about the write operation */ SuggestWriterResult write(Client client, SuggestSettings settings, String index, SuggestItem[] items, boolean update); /**
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
val uppercaseBody: ResponseBody = object : ForwardingResponseBody(response.body) { override fun source(): BufferedSource = uppercaseSource(delegate().source()).buffer() } return response .newBuilder() .body(uppercaseBody) .build() } private fun uppercaseSource(source: BufferedSource): ForwardingSource { return object : ForwardingSource(source) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
@Override public SampleElements<String> samples() { return new Strings(); } @Override public Queue<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito. // We verify the effects of the super constructor by checking the fields of the created object. // Assert object_attributes fields assertNotNull(msrpcLsarOpenPolicy2.object_attributes); assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} /** * Incorporate additional requirements into an existing requirements object. * * @param requirements the existing requirements object * @param moreRequirements more requirements to incorporate * @param source the source of the additional requirements (used only for error reporting) * @return the existing requirements object, modified to include the additional requirements
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test log security violation") void testLogSecurityViolation() { Map<String, Object> context = new HashMap<>(); context.put("sourceIP", "192.168.1.100"); context.put("attemptCount", 5); logger.logSecurityViolation("Multiple failed authentication attempts", context);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
func TestHashOrder(t *testing.T) { testCases := []struct { objectName string hashedOrder []int }{ // cases which should pass the test. // passing in valid object name. {"object", []int{14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, {"The Shining Script <v1>.pdf", []int{16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.Map; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#replace(Object, Object, Object)}. Can't be invoked * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
EntriesGenerator( OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { super(multimapGenerator); } @Override public Set<Entry<K, V>> create(Object... elements) { return (Set<Entry<K, V>>) super.create(elements); } } static final class MultimapGetGenerator<K, V> extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.6K bytes - Viewed (0)