Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 162 for reuse (0.02 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ////
    
    /// info
    
    In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`.
    
    ///
    
    /// tip
    
    Here we reuse the same Pydantic model.
    
    But the same way, we could have validated it in some other way.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. cmd/erasure-decode.go

    				readTriggerCh <- true
    				return
    			}
    			bufIdx := p.readerToBuf[i]
    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    }
    
    fun Dependencies.compileAllDependency(compileAllId: String) {
        // Compile All has to succeed before anything else is started
        dependsOn(RelativeId(compileAllId))
        // Get the build receipt from sanity check to reuse the timestamp
        artifacts(RelativeId(compileAllId)) {
            id = "ARTIFACT_DEPENDENCY_$compileAllId"
            cleanDestination = true
            artifactRules = "build-receipt.properties => incoming-distributions"
        }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertTrue(initialAllocated >= 2, "Should have allocated at least 2 regions");
                assertTrue(initialActive >= 2, "Should have at least 2 active regions");
    
                // Test buffer release and reuse
                bufferManager.releaseSendRegion(sendRegion);
                bufferManager.releaseReceiveRegion(recvRegion);
    
                // Allocate again to test pooling
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.setComponentName("testComponent");
            TestComponent comp1 = factory.create();
            assertEquals(1, comp1.getId());
    
            // Change component name and reuse factory
            factory.setComponentName("testComponent");
            TestComponent comp2 = factory.create();
            assertEquals(2, comp2.getId());
    
            // Components should be different instances
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response3.body.string()).isEqualTo("GHI")
        // Settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        // Reuse settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
        // Reuse settings connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(2)
        // New connection!
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            if (th != null) {
                this.treeHandle = null;
    
                // Optimization: For non-strict lifecycle, delay tree handle closure
                // to allow connection reuse for subsequent operations
                if (this.transportContext.getConfig().isStrictResourceLifecycle()) {
                    th.close();
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. cmd/metacache-walk.go

    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    	w := newMetacacheWriter(wr, 16<<10)
    	w.reuseBlocks = true // We are not sharing results, so reuse buffers.
    	defer w.Close()
    	out, err := w.stream()
    	if err != nil {
    		return err
    	}
    	defer xioutil.SafeClose(out)
    	var objsReturned int
    
    	objReturned := func(metadata []byte) {
    		if opts.Limit <= 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      private var closed: Boolean = false
    
      /**
       * The number of HTTP requests received thus far by this server. This may exceed the number of
       * HTTP connections when connection reuse is in practice.
       */
      public val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    The `security_scopes` object (of class `SecurityScopes`) also provides a `scope_str` attribute with a single string, containing those scopes separated by spaces (we are going to use it).
    
    We create an `HTTPException` that we can reuse (`raise`) later at several points.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top