Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 2,878 for int3 (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial001_an.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 502 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     *
     * @author higa
     * @see TimeConversionUtil
     * @see TimestampConversionUtil
     */
    public abstract class DateConversionUtil {
    
        /** {@link DateFormat}が持つスタイルの配列 */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. docs_src/settings/app02/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 159 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if the requested number of permits is negative or zero
       * @since 16.0 (present in 13.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. docs_src/body_multiple_params/tutorial003_an_py310.py

        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int, item: Item, user: User, importance: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 550 bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles expansion of general report plugin configuration into individual report sets.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tests/preload_test.go

    }
    
    func TestEmbedPreload(t *testing.T) {
    	type Country struct {
    		ID   int `gorm:"primaryKey"`
    		Name string
    	}
    	type EmbeddedAddress struct {
    		ID        int
    		Name      string
    		CountryID *int
    		Country   *Country
    	}
    	type NestedAddress struct {
    		EmbeddedAddress
    	}
    	type Org struct {
    		ID              int
    		PostalAddress   EmbeddedAddress `gorm:"embedded;embeddedPrefix:postal_address_"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. docs_src/python_types/tutorial005.py

    def get_items(item_a: str, item_b: int, item_c: float, item_d: bool, item_e: bytes):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 143 bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works
     * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top