Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,308 for _size (0.02 sec)

  1. docs_src/path_params_numeric_validations/tutorial006_py39.py

    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 397 bytes
    - Viewed (0)
  2. internal/stmt_store/stmt_store.go

    //     eviction callback, and TTL.
    func New(size int, ttl time.Duration) Store {
    	if size <= 0 {
    		size = defaultMaxSize
    	}
    
    	if ttl <= 0 {
    		ttl = defaultTTL
    	}
    
    	onEvicted := func(k string, v *Stmt) {
    		if v != nil {
    			go v.Close()
    		}
    	}
    	return &lruStore{lru: lru.NewLRU[string, *Stmt](size, onEvicted, ttl)}
    }
    
    type lruStore struct {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
      @get:JvmName("size")
      val size: Int
        get() = parts.size
    
      fun part(index: Int): Part = parts[index]
    
      override fun isOneShot(): Boolean = parts.any { it.body.isOneShot() }
    
      /** A combination of [type] and [boundaryByteString]. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertEquals(underlying.size(), map.size());
    
        underlying.put("d", 4);
        assertEquals(underlying.size(), map.size());
        assertEquals("4", map.get("d"));
    
        underlying.remove("c");
        assertEquals(underlying.size(), map.size());
        assertFalse(map.containsKey("c"));
    
        underlying.clear();
        assertEquals(underlying.size(), map.size());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    func NewReader(r io.ReaderAt, size int64) (*Reader, error) {
    	if size < 0 {
    		return nil, errors.New("zip: size cannot be negative")
    	}
    	zr := new(Reader)
    	var err error
    	if err = zr.init(r, size); err != nil && err != ErrInsecurePath {
    		return nil, err
    	}
    	return zr, err
    }
    
    func (r *Reader) init(rdr io.ReaderAt, size int64) error {
    	end, baseOffset, err := readDirectoryEnd(rdr, size)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 40;
            if (this.inputBuffer != null) {
                size += this.inputBuffer.size();
            }
            return size8(size);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals(4, depArtifact.getProperties().size());
    
            assertEquals("compile", dep2.getScope());
            assertFalse(dep2.isOptional(), "Expected " + dep2 + ".isOptional() to return false");
            assertEquals(0, dep2.getExclusions().size());
            depArtifact = dep2.getArtifact();
            assertEquals("ut.simple", depArtifact.getGroupId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                assertTrue(result.success(), "Orchestrator should succeed");
                assertEquals(2, result.processedPoms().size(), "Should aggregate processed POMs");
                assertEquals(2, result.modifiedPoms().size(), "Should aggregate modified POMs");
                assertEquals(0, result.errorPoms().size(), "Should have no errors");
            }
    
            @Test
            @DisplayName("should handle strategy failures gracefully")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. docs/debugging/README.md

    vQqN3hlDw==","EcAlgo":1,"EcM":2,"EcN":2,"EcBSize":1048576,"EcIndex":4,"EcDist":[4,1,2,3],"CSumAlgo":1,"PartNums":[1],"PartETags":[""],"PartSizes":[101974],"PartASizes":[176837],"Size":101974,"MTime":1634106631319256439,"MetaSys":{"X-Minio-Internal-compression":"a2xhdXNwb3N0L2NvbXByZXNzL3My","X-Minio-Internal-actual-size":"MTc2ODM3","x-minio-internal-objectlock-legalhold-timestamp":"MjAyMS0xMC0xOVQyMjozNTo0Ni4zNTE4MDU3NTda"},"MetaUsr":{"x-amz-object-lock-mode":"COMPLIANCE","x-amz-object-lock-reta...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/FileEntry.java

        /**
         * Gets the last access time.
         *
         * @return the last access time in milliseconds since epoch
         */
        long lastAccess();
    
        /**
         * Gets the file size.
         *
         * @return the file size in bytes
         */
        long length();
    
        /**
         * Gets the file index.
         *
         * @return the file index inside the parent directory
         */
        int getFileIndex();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top