Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 3,609 for uint (0.03 sec)

  1. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    public class CustomSizeValidator implements ConstraintValidator<CustomSize, CharSequence> {
        private int min = 0;
        private int max = Integer.MAX_VALUE;
        private String message;
    
        @Override
        public void initialize(final CustomSize constraintAnnotation) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial002_pv1_an.py

    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        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
    - 522 bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial001_02_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}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 495 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ForwardingGraph.java

      public Set<EndpointPair<N>> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ForwardingGraph.java

      public Set<EndpointPair<N>> incidentEdges(N node) {
        return delegate().incidentEdges(node);
      }
    
      @Override
      public int degree(N node) {
        return delegate().degree(node);
      }
    
      @Override
      public int inDegree(N node) {
        return delegate().inDegree(node);
      }
    
      @Override
      public int outDegree(N node) {
        return delegate().outDegree(node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. internal/http/request-recorder.go

    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    	return nil
    }
    
    // Read reads from the internal reader and counts/save the body in the memory
    func (r *RequestRecorder) Read(p []byte) (n int, err error) {
    	n, err = r.Reader.Read(p)
    	r.bytesRead += n
    
    	if r.LogBody {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

        return ImmutableSet.of(singleValue);
      }
    
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return SerializedForm.create(this, new int[] {0}, new int[] {0});
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

         * 
         * @param config
         */
        protected SmbComNtTransactionResponse ( Configuration config ) {
            super(config);
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

        public CaseInsensitiveSet(final Collection<String> c) {
            map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16));
            addAll(c);
        }
    
        /**
         * {@link CaseInsensitiveSet}を作成します。
         *
         * @param initialCapacity
         *            初期容量
         */
        public CaseInsensitiveSet(final int initialCapacity) {
            map = new CaseInsensitiveMap<>(initialCapacity);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top