Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 7,604 for KClass (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertThrows(
            NullPointerException.class, () -> builder.put(immutableEntry("one", (Integer) null)));
        assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1)));
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableMultimap.builderWithExpectedKeys(-1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. docs/zh/docs/contributing.md

    你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。
    
    ### 激活虚拟环境
    
    使用以下方法激活新环境:
    
    //// tab | Linux, macOS
    
    <div class="termy">
    
    ```console
    $ source ./env/bin/activate
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.InputStreamThread;
    
    import jakarta.annotation.PostConstruct;
    
    public class CommandGenerator extends BaseThumbnailGenerator {
        private static final Logger logger = LogManager.getLogger(CommandGenerator.class);
    
        protected List<String> commandList;
    
        protected long commandTimeout = 30 * 1000L;// 30sec
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_internal.h

    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    class Device;
    class DeviceMgr;
    class ServerInterface;
    }  // namespace tensorflow
    
    // Internal structures used by the C API. These are likely to change and should
    // not be depended on.
    
    struct TF_SessionOptions {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.docs
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class FindBrokenInternalLinksTest extends Specification {
        @TempDir
        private File projectDir
    
        private File docsRoot
        private File sampleDoc
        private File linkErrors
    
        private setup() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. docs/fr/docs/project-generation.md

        * <a href="https://fastapi.tiangolo.com/features/" class="external-link" target="_blank">**Et bien d'autres fonctionnalités**</a> comme la validation automatique, la sérialisation, l'authentification avec...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.listener.assertFailure(IOException::class.java, "source is closed")
        assertThat(client.webSocket!!.send("Hello!")).isFalse()
      }
    
      @Test
      fun socketClosedDuringMessageKillsWebSocket() {
        client2Server.source.close()
        assertThat(client.webSocket!!.send("Hello!")).isTrue()
        taskFaker.runTasks()
        client.listener.assertFailure(IOException::class.java, "source is closed")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    ## Вставновлення
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    Вам також знадобиться сервер ASGI для продакшину, наприклад <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> або <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>.
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. docs_src/python_types/tutorial012.py

    from typing import Optional
    
    from pydantic import BaseModel
    
    
    class User(BaseModel):
        name: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 122 bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              getList().add(0, e3());
              iterator.next();
            });
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e3()));
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top