Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 2,835 for 2$ (0.03 sec)

  1. src/main/java/org/codelibs/core/text/JsonUtil.java

            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                switch (c) {
                case '\\':
                case '"':
                    buf.append('\\');
                    buf.append(c);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

            this.sid = sid;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. tests/test_ambiguous_params.py

                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
        private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
    
        fun isPublicApiPackage(packageName: String) =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	want := uint32(5)
    	if hdrVer > 2 {
    		want += 2
    	}
    	if zb0001 != want {
    		err = msgp.ArrayError{Wanted: want, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (z.VersionID)[:])
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. docs/zh/docs/async.md

    然后,通过 `async def` 声明你的 *路径操作函数*:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    你只能在被 `async def` 创建的函数内使用 `await`
    
    ///
    
    ---
    
    如果你正在使用一个第三方库和某些组件(比如:数据库、API、文件系统...)进行通信,第三方库又不支持使用 `await` (目前大多数数据库三方库都是这样),这种情况你可以像平常那样使用 `def` 声明一个路径操作函数,就像这样:
    
    ```Python hl_lines="2"
    @app.get('/')
    def results():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * against a cache that is closed, and doing so will cause the call to crash.
     *
     * ```java
     * client.cache().close();
     * ```
     *
     * OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they
     * remain idle.
     */
    open class OkHttpClient internal constructor(
      builder: Builder,
    ) : Call.Factory, WebSocket.Factory {
      @get:JvmName("dispatcher")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            split(text, ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(t -> {
                final String[] values = t.split("\\.");
                if (values.length > 2) {
                    throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text),
                            "Invalid sort field: " + termQuery);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    Collections.singleton(g), projectArtifact, remoteRepositories(), localRepository(), null);
    
            printErrors(result);
    
            assertEquals(2, result.getArtifacts().size());
    
            assertTrue(result.getArtifacts().contains(g));
    
            assertTrue(result.getArtifacts().contains(h));
    
            assertLocalArtifactPresent(g);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.20.md

        - [Source Code](#source-code-2)
        - [Client Binaries](#client-binaries-2)
        - [Server Binaries](#server-binaries-2)
        - [Node Binaries](#node-binaries-2)
      - [Changelog since v1.20.12](#changelog-since-v12012)
      - [Changes by Kind](#changes-by-kind-2)
        - [Feature](#feature)
        - [Failing Test](#failing-test)
        - [Bug or Regression](#bug-or-regression-2)
      - [Dependencies](#dependencies-2)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top