Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 2,729 for crealm (0.05 seconds)

  1. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
        E[] array = createArrayWithNullElement();
        resetContainer(getSubjectGenerator().create(array));
      }
    
      /**
       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRemove_duplicate() {
        ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement();
        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        assertFalse("add(nullPresent) should return false", getSet().add(null));
        expectContents(array);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/RemovalNotification.java

       * the given {@code cause} for the removal. The {@code key} and/or {@code value} may be {@code
       * null} if they were already garbage collected.
       *
       * @since 19.0
       */
      public static <K, V> RemovalNotification<K, V> create(
          @Nullable K key, @Nullable V value, RemovalCause cause) {
        return new RemovalNotification<>(key, value, cause);
      }
    
      private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_no_schema_split.py

                "openapi": "3.1.0",
                "info": {"title": "Minimal FastAPI App", "version": "1.0.0"},
                "paths": {
                    "/messages": {
                        "post": {
                            "summary": "Create Message",
                            "operationId": "create_message_messages_post",
                            "parameters": [
                                {
                                    "name": "input_message",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            }
    
            final WebAuthenticationConfig config = new WebAuthenticationConfig();
    
            // host/port/realm: only set if not blank (null means "any" - AuthScope.ANY equivalent)
            if (StringUtil.isNotBlank(getHostname())) {
                config.setHost(getHostname());
            }
            if (getPort() != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

         *
         * @param body duplicate host setting data to create
         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final DuplicateHost duplicateHost = getDuplicateHost(body).map(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    但这并不实用。
    
    接下来,我们学习如何返回当前用户。
    
    
    ## 创建用户模型 { #create-a-user-model }
    
    首先,创建 Pydantic 用户模型。
    
    与使用 Pydantic 声明请求体相同,并且可在任何位置使用:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 创建 `get_current_user` 依赖项 { #create-a-get-current-user-dependency }
    
    创建 `get_current_user` 依赖项。
    
    还记得依赖项支持子依赖项吗?
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top