- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 483 for asArguments (0.08 seconds)
-
docs/uk/docs/advanced/templates.md
```Python {"id": id} ``` Наприклад, з ID `42` це буде відображено як: ```html Item ID: 42 ``` ### Аргументи `url_for` у шаблоні { #template-url-for-arguments } Ви також можете використовувати `url_for()` у шаблоні - вона приймає ті самі аргументи, що й ваша *функція операції шляху*. Тож фрагмент: {% raw %} ```jinja <a href="{{ url_for('read_item', id=id) }}">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 4.9K bytes - Click Count (0) -
cmd/fmt-gen.go
multiple drives into a single large system, pass one directory per filesystem separated by space. You may also use a '...' convention to abbreviate the directory arguments. Remote directories in a distributed setup are encoded as HTTP(s) URIs. {{if .VisibleFlags}} FLAGS: {{range .VisibleFlags}}{{.}} {{end}}{{end}} EXAMPLES:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul> * <li>happy‑path behaviour</li> * <li>boundary arguments (e.g., negative indices, large values)</li> * <li>string representation containing the class name</li> * <li>null buffer handling</li> * </ul> */ final class TransWaitNamedPipeResponseTest { /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
assertEquals("Default value for parameter #" + i, expectedValues[i], arguments.get(i)); } } final Object getDefaultParameterValue(int position) { return arguments.get(position); } final void calledWith(Object... args) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { arguments.put(i, args[i]); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
docs/zh/docs/advanced/templates.md
``` {% endraw %} ...这将显示你从 "context" 字典传递的 `id`: ```Python {"id": id} ``` 例如。当 ID 为 `42` 时, 会渲染成: ```html Item ID: 42 ``` ### 模板 `url_for` 参数 { #template-url-for-arguments } 你还可以在模板内使用 `url_for()`,其参数与*路径操作函数*的参数相同。 所以,该部分: {% raw %} ```jinja <a href="{{ url_for('read_item', id=id) }}"> ``` {% endraw %} ...将生成一个与处理*路径操作函数* `read_item(id=id)`的 URL 相同的链接Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
List<?> partsList = Arrays.<@Nullable Object>asList(parts); return appendTo(appendable, partsList); } /** Appends to {@code appendable} the string representation of each of the remaining arguments. */ @CanIgnoreReturnValue public final <A extends Appendable> A appendTo( A appendable, @Nullable Object first, @Nullable Object second, @Nullable Object... rest) throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
} // Test main method with invalid arguments @Test public void test_main_invalidArguments() { // Cannot directly test main as it calls System.exit // Test argument parsing instead SuggestCreator.Options options = new SuggestCreator.Options(); assertNotNull(options); } // Test main method with valid arguments @Test public void test_main_validArguments() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) } /** Test how [HttpUrl] does against the web platform test suite. */ @ArgumentsSource(TestDataParamProvider::class) @ParameterizedTestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicate.java
* predicate.apply(b))}. * </ul> * * @throws NullPointerException if {@code input} is null and this predicate does not accept null * arguments */ boolean apply(@ParametricNullness T input); /** * Indicates whether another object is equal to this predicate. * * <p><b>Warning: do not depend</b> on the behavior of this method. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
*/ @Test void testConstructor() { // Test no-argument constructor SmbShareInfo instance = new SmbShareInfo(); assertNotNull(instance); // Test constructor with arguments String netName = "SHARE"; int type = 1; String remark = "remark"; instance = new SmbShareInfo(netName, type, remark); assertEquals(netName, instance.getName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0)