Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 258 for 18 (0.9 sec)

  1. tests/query_test.go

    	if !regexp.MustCompile("SELECT \\* FROM .*users.* WHERE .*name.* = .+ OR \\(.*name.* AND .*age.*\\)").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Where("name = ?", "jinzhu").Or(map[string]interface{}{"name": "jinzhu 2", "age": 18}).Find(&User{})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

          )
    
        /** Equinox must also be on the testing classpath.  */
        private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi"
        private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8"
        private const val REPO_NAME = "OsgiTest"
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/testing.md

    通过传入你的**FastAPI**应用创建一个 `TestClient` 。
    
    创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。
    
    像使用 `httpx` 那样使用 `TestClient` 对象。
    
    为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | 提示
    
    注意测试函数是普通的 `def`,不是 `async def`。
    
    还有client的调用也是普通的调用,不是用 `await`。
    
    这让你可以直接使用 `pytest` 而不会遇到麻烦。
    
    ///
    
    /// note | 技术细节
    
    你也可以用 `from starlette.testclient import TestClient`。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001_py39.py hl[4,11,15:18] *}
    
    /// note | Hinweis
    
    Vor FastAPI 0.108.0 und Starlette 0.29.0 war `name` der erste Parameter.
    
    Außerdem wurde in früheren Versionen das `request`-Objekt als Teil der Schlüssel-Wert-Paare im Kontext für Jinja2 übergeben.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

              k1 ^= (long) toUnsignedInt(bb.get(3)) << 24; // fall through
            case 3:
              k1 ^= (long) toUnsignedInt(bb.get(2)) << 16; // fall through
            case 2:
              k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through
            case 1:
              k1 ^= (long) toUnsignedInt(bb.get(0));
              break;
            default:
              throw new AssertionError("Should never get here.");
          }
          h1 ^= mixK1(k1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    # need to fix up all the links to stay within /${TARGET}.
    /fixlinks.sh "/${TARGET}"
    
    # Patch to allow non-glibc 2.12 compatible builds to work.
    sed -i '54i#define TCP_USER_TIMEOUT 18' "/${TARGET}/usr/include/netinet/tcp.h"
    
    # Download specific version of libstdc++ shared library based on the value of
    # the `VERSION` parameter
    case "${VERSION}" in
    devtoolset-7)
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. .bazelrc

    common:release_cpu_linux_clang_local --config=release_cpu_linux
    common:release_cpu_linux_clang_local --config=clang_local
    common:release_cpu_linux_clang_local --repo_env=CC="/usr/lib/llvm-18/bin/clang"
    common:release_cpu_linux_clang_local --repo_env=BAZEL_COMPILER="/usr/lib/llvm-18/bin/clang"
    common:release_cpu_linux_clang_local --crosstool_top="@local_config_cuda//crosstool:toolchain"
    common:release_cpu_linux_clang_local --repo_env=TF_SYSROOT="/dt9"
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Dec 26 23:20:26 UTC 2025
    - 56.8K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## パラメータとして宣言
    
    *パスオペレーション* に加えるために、パスパラメータやクエリパラメータと同じ様に宣言します:
    
    {* ../../docs_src/body/tutorial001.py hl[18] *}
    
    ...そして、作成したモデル `Item` で型を宣言します。
    
    ## 結果
    
    そのPythonの型宣言だけで **FastAPI** は以下のことを行います:
    
    * リクエストボディをJSONとして読み取ります。
    * 適当な型に変換します(必要な場合)。
    * データを検証します。
        * データが無効な場合は、明確なエラーが返され、どこが不正なデータであったかを示します。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jul 26 10:48:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

            bitBuffer |= bytes[off + i] & 0xFF;
            bitBuffer <<= 8; // Add additional zero byte in the end.
          }
          // Position of first character is length of bitBuffer minus bitsPerChar.
          int bitOffset = (len + 1) * 8 - alphabet.bitsPerChar;
          int bitsProcessed = 0;
          while (bitsProcessed < len * 8) {
            int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  10. src/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
    <setting id="org.eclipse.jdt.core.compiler.source" value="1.8"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Mar 23 21:27:06 UTC 2015
    - 30.5K bytes
    - Viewed (2)
Back to top