Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1391 - 1400 of 4,168 for get (0.01 seconds)

  1. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

            });
      }
    
      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/LifecycleConfiguration.java

                this.lifecycles = new java.util.ArrayList<Lifecycle>();
            }
    
            return this.lifecycles;
        } // -- java.util.List<Lifecycle> getLifecycles()
    
        /**
         * Get the modelEncoding field.
         *
         * @return String
         */
        public String getModelEncoding() {
            return this.modelEncoding;
        } // -- String getModelEncoding()
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  3. docs/es/docs/index.md

    * Validará que haya un `item_id` en el path para requests `GET` y `PUT`.
    * Validará que el `item_id` sea del tipo `int` para requests `GET` y `PUT`.
        * Si no lo es, el cliente verá un error útil y claro.
    * Revisa si hay un parámetro de query opcional llamado `q` (como en `http://127.0.0.1:8000/items/foo?q=somequery`) para requests `GET`.
        * Como el parámetro `q` está declarado con `= None`, es opcional.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  4. docs/pt/docs/index.md

    * Validar que existe um `item_id` no path para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não for, o cliente verá um erro útil e claro.
    * Verificar se existe um parâmetro query opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
        * Como o parâmetro `q` é declarado com `= None`, ele é opcional.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
            val protocolString = Platform.get().getSelectedProtocol(sslSocket)
            val protocol = if (protocolString != null) get(protocolString) else null
            if (protocol != Protocol.HTTP_2) {
              throw ProtocolException("Protocol $protocol unsupported")
            }
            val connection =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.size();
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return delegate.containsKey(key);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            this.lifecycleMapping = new DefaultLifecycleMapping(Collections.singletonList(lifecycle));
        }
    
        @Override
        public LifecycleMapping get() {
            return lifecycleMapping;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. docs/zh/docs/index.md

        * 数据库模型。
        * ……以及更多。
    * 自动生成的交互式 API 文档,包括两种可选的用户界面:
        * Swagger UI。
        * ReDoc。
    
    ---
    
    回到之前的代码示例,**FastAPI** 将会:
    
    * 校验 `GET` 和 `PUT` 请求的路径中是否包含 `item_id`。
    * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。
        * 如果不是,客户端会看到清晰有用的错误信息。
    * 对于 `GET` 请求,检查是否存在名为 `q` 的可选查询参数(如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        * 因为参数 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None`,它就是必需的(就像 `PUT` 情况下的请求体)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

            project.getTasks().withType(Test.class).configureEach(test -> {
                File testOutputDir = new File(test.getReports().getJunitXml().getOutputLocation().getAsFile().get(), "output");
    
                ErrorReportingTestListener listener = new ErrorReportingTestListener(test.getTestLogging(), test.getLogger(), testOutputDir);
                test.getExtensions().add("errorReportingTestListener", listener);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top