Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,103 for creating (0.25 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableMultiset<Bean> BEANS =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. tests/hooks_test.go

    	DB.Migrator().DropTable(&Product2{})
    	DB.AutoMigrate(&Product2{})
    
    	product := Product2{Name: "Invalid", Price: 100}
    
    	if err := DB.Create(&product).Error; err == nil {
    		t.Fatalf("should returns error %v when creating product, but got nil", err)
    	}
    
    	product2 := Product2{Name: "Nice", Price: 100}
    
    	if err := DB.Create(&product2).Error; err != nil {
    		t.Fatalf("Failed to create product, got error: %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/MoreFiles.java

            // created it here.
          }
        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified path. Note that if
       * this operation fails, it may have succeeded in creating some (but not all) of the necessary
       * parent directories. The parent directory is created with the given {@code attrs}.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/settings.md

    ///
    
    这里我们在你的 Pydantic `Settings` 类中定义配置项 `env_file`,并将其设置为我们想要使用的 dotenv 文件名。
    
    ### 使用 `lru_cache` 仅创建一次 `Settings` { #creating-the-settings-only-once-with-lru-cache }
    
    从磁盘读取文件通常是一个代价较高(缓慢)的操作,所以你可能希望只在第一次读取,然后复用同一个设置对象,而不是为每个请求都重新读取。
    
    但是,每次我们执行:
    
    ```Python
    Settings()
    ```
    
    都会创建一个新的 `Settings` 对象,并且在创建时会再次读取 `.env` 文件。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/sql-databases.md

    ```
    
    </div>
    
    If you go to the `/docs` API UI, you will see that it is now updated, and it won't expect to receive the `id` from the client when creating a hero, etc.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image02.png">
    </div>
    
    ## Recap { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

            for (final String path : paths) {
                file = file.getParentFile();
            }
            return file;
        }
    
        /**
         * Factory for creating instances of {@link Traverser}.
         *
         * @author koichik
         */
        public interface TraverserFactory {
            /**
             * Creates and returns an instance of {@link Traverser}.
             *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. impl/maven-core/plugin-manager.txt

    * do we need a dictionary for our applications like Apple does. We could easily hook into this and this is the model we need to follow. Following the model of apple applications the dictionary is what the REST URI should attach to. Not creating custom logic in the resource code.
    * how many of our REST services do not map directory to a method in the application interface?
    
    - an example of adding js
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            crawlingInfoHelper.documentExpires = currentTime + 5000;
    
            // For this test, we'll focus on the documentExpires fallback logic
            // since creating full CrawlingConfig mocks would require implementing many abstract methods
            Date result = crawlingInfoHelper.documentExpires != null ? new Date(crawlingInfoHelper.documentExpires) : null;
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        // the keySet() of the delegate is only a Set and TreeMap.navigatableKeySet
        // is not available in GWT yet.  To keep the code simple and code size more,
        // we make a copy here, instead of creating a view of it.
        //
        // TODO: revisit if it's unbearably slow or when GWT supports
        // TreeMap.navigatbleKeySet().
        return ImmutableSortedSet.copyOf(comparator, sortedDelegate.keySet());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top