Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 2,827 for int3 (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        int getLineNumber();
    
        /**
         * Gets the one-based index of the column containing the problem. The column number should refer to some text file
         * that is given by {@link #getSource()}.
         *
         * @return The one-based index of the column containing the problem or non-positive value if unknown.
         */
        int getColumnNumber();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

                }
                stream.reset();
    
                int offset = 0;
                while (stream.incrementToken()) {
                    final CharTermAttribute att = stream.getAttribute(CharTermAttribute.class);
                    final String term = att.toString();
                    final int pos = inputStr.indexOf(term, offset);
                    if (pos > 0) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial001_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 404 bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        }
    
        static class GavCacheKey {
    
            private final String gav;
    
            private final String tag;
    
            private final int hash;
    
            GavCacheKey(String groupId, String artifactId, String version, String tag) {
                this(gav(groupId, artifactId, version), tag);
            }
    
            GavCacheKey(String gav, String tag) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
          super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
    
        int numCallsToNewTargetIterator;
        int numCallsToVerify;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/query-params.md

    ```Python hl_lines="10"
    {!../../docs_src/query_params/tutorial006.py!}
    ```
    
    위 예시에서는 3가지 쿼리 매개변수가 있습니다:
    
    * `needy`, 필수적인 `str`.
    * `skip`, 기본값이 `0`인 `int`.
    * `limit`, 선택적인 `int`.
    
    /// tip | "팁"
    
    [경로 매개변수](path-params.md#_8){.internal-link target=_blank}와 마찬가지로 `Enum`을 사용할 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. tests/postgres_test.go

    		t.Errorf("expected 1 thing got more")
    	}
    }
    
    type CompanyNew struct {
    	ID   int
    	Name int
    }
    
    func TestAlterColumnDataType(t *testing.T) {
    	DB.AutoMigrate(Company{})
    
    	if err := DB.Table("companies").Migrator().AlterColumn(CompanyNew{}, "name"); err != nil {
    		t.Fatalf("failed to alter column from string to int, got error %v", err)
    	}
    
    	DB.AutoMigrate(Company{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. docs_src/python_types/tutorial011_py310.py

    from datetime import datetime
    
    from pydantic import BaseModel
    
    
    class User(BaseModel):
        id: int
        name: str = "John Doe"
        signup_ts: datetime | None = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Sep 02 15:56:35 UTC 2023
    - 461 bytes
    - Viewed (0)
  10. docs_src/query_param_models/tutorial001_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 453 bytes
    - Viewed (0)
Back to top