Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 2,362 for _size (0.02 seconds)

  1. docs/en/docs/tutorial/handling-errors.md

    Now try sending an invalid item like:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    You will receive a response telling you that the data is invalid containing the received body:
    
    ```JSON hl_lines="12-15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
          ],
          "msg": "value is not a valid integer",
          "type": "type_error.integer"
        }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. cmd/perf-tests.go

    	Downloads     uint64
    	UploadTimes   madmin.TimeDurations
    	DownloadTimes madmin.TimeDurations
    	DownloadTTFB  madmin.TimeDurations
    	Error         string
    }
    
    func newRandomReader(size int) io.Reader {
    	return io.LimitReader(randreader.New(), int64(size))
    }
    
    type firstByteRecorder struct {
    	t *time.Time
    	r io.Reader
    }
    
    func (f *firstByteRecorder) Read(p []byte) (n int, err error) {
    	if f.t != nil || len(p) == 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

        nextProxyIndex = 0
        call.eventListener.proxySelectEnd(call, url, proxies)
      }
    
      /** Returns true if there's another proxy to try. */
      private fun hasNextProxy(): Boolean = nextProxyIndex < proxies.size
    
      /** Returns the next proxy to try. May be PROXY.NO_PROXY but never null. */
      @Throws(IOException::class)
      private fun nextProxy(): Proxy {
        if (!hasNextProxy()) {
          throw SocketException(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
      protected abstract Table<String, Integer, C> create(@Nullable Object... data);
    
      protected void assertSize(int expectedSize) {
        assertEquals(expectedSize, table.size());
      }
    
      @Override
      public void setUp() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++]).isEqualTo(expected)
            return this
          }
    
        fun assertLogMatch(regex: Regex) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++])
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

        @Inject
        ArtifactTransformationManager tm;
    
        @Test
        void testTransformationManager() {
            List<ArtifactTransformation> tms = tm.getArtifactTransformations();
    
            assertEquals(3, tms.size());
    
            assertTrue(
                    tms.get(0) instanceof ReleaseArtifactTransformation,
                    "We expected the release transformation and got " + tms.get(0));
    
            assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. internal/disk/fdatasync_linux.go

    // (respectively, time of last access and time of last modification; see inode(7))
    // do not require flushing because they are not necessary for a subsequent data
    // read to be handled correctly. On the other hand, a change to the file size
    // (st_size, as made by say ftruncate(2)), would require a metadata flush.
    //
    // The aim of fdatasync() is to reduce disk activity for applications that
    // do not require all metadata to be synchronized with the disk.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

       *
       * <p><b>Note:</b> this method does not return the number of <i>distinct elements</i> in the
       * multiset, which is given by {@code entrySet().size()}.
       */
      @Override
      int size();
    
      /**
       * Returns the number of occurrences of an element in this multiset (the <i>count</i> of the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

         * @param description The description of the exception.
         */
        public ChildUrlsException(final Set<RequestData> childUrlList, final String description) {
            super("Threw child urls(" + childUrlList.size() + "). " + description, false, false);
            this.childUrlList = childUrlList;
        }
    
        /**
         * Returns the list of child URLs.
         * @return The list of child URLs.
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

                    api,
                    { sinceSupplier.apply(it) },
                    { apiSpec.apply(it) }
                ).groupedByTarget()
    
            val sourceFiles =
                ArrayList<File>(extensionsPerTarget.size)
    
            val packageDir =
                outputDirectory.resolve(packageName.replace('.', File.separatorChar))
    
            fun sourceFile(name: String) =
                packageDir.resolve(name).also { sourceFiles.add(it) }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top