Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 338 for reuse (0.21 sec)

  1. src/net/http/httptrace/trace.go

    	// the http.Transport and should not be read, written or
    	// closed by users of ClientTrace.
    	Conn net.Conn
    
    	// Reused is whether this connection has been previously
    	// used for another HTTP request.
    	Reused bool
    
    	// WasIdle is whether this connection was obtained from an
    	// idle pool.
    	WasIdle bool
    
    	// IdleTime reports how long the connection was previously
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/compress/lzw/writer_test.go

    			b.SetBytes(int64(n))
    			for i := 0; i < b.N; i++ {
    				w := NewWriter(io.Discard, LSB, 8)
    				w.Write(buf1)
    				w.Close()
    			}
    		})
    		b.Run(fmt.Sprint("1e-Reuse", e), func(b *testing.B) {
    			b.SetBytes(int64(n))
    			w := NewWriter(io.Discard, LSB, 8)
    			for i := 0; i < b.N; i++ {
    				w.Write(buf1)
    				w.Close()
    				w.(*Writer).Reset(io.Discard, LSB, 8)
    			}
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 12 11:00:47 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/FileBackedOutputStream.java

          return new ByteArrayInputStream(memory.getBuffer(), 0, memory.getCount());
        }
      }
    
      /**
       * Calls {@link #close} if not already closed, and then resets this object back to its initial
       * state, for reuse. If data was buffered to a file, it will be deleted.
       *
       * @throws IOException if an I/O error occurred while deleting the file buffer
       */
      public synchronized void reset() throws IOException {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/plugin/use/PluginDependenciesSpec.java

         *
         * <pre>
         * plugins {
         *     id "org.company.myplugin" version "1.3" apply false
         * }
         * </pre>
         *
         * This is useful to reuse task classes from a plugin or to apply it to some other target than the current script.
         *
         * @param id the id of the plugin to depend on
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 16 17:46:02 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc

    == Convention Plugins
    
    Convention plugins are a way to encapsulate and reuse common build logic in Gradle.
    They allow you to define a set of conventions for a project, and then apply those conventions to other projects or modules.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/configuration/mutating_webhook_manager_test.go

    // the function webhook.NewMutatingWebhookAccessor is being called when refreshing
    // webhookAccessors.
    //
    // NOTE: Maybe there some testing help that we can import and reuse instead.
    type mockCreateMutatingWebhookAccessor struct {
    	numberOfCalls int
    }
    
    func (mock *mockCreateMutatingWebhookAccessor) calledNTimes() int { return mock.numberOfCalls }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 15:20:14 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return new ByteArrayInputStream(memory.getBuffer(), 0, memory.getCount());
        }
      }
    
      /**
       * Calls {@link #close} if not already closed, and then resets this object back to its initial
       * state, for reuse. If data was buffered to a file, it will be deleted.
       *
       * @throws IOException if an I/O error occurred while deleting the file buffer
       */
      public synchronized void reset() throws IOException {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    	if err != nil {
    		return nil, fmt.Errorf("error configuring iptables: %w", err)
    	}
    
    	// Create hostprobe rules now, in the host netns
    	// Later we will reuse this same configurator inside the pod netns for adding other rules
    	iptablesConfigurator.DeleteHostRules()
    
    	if err := iptablesConfigurator.CreateHostRulesForHealthChecks(&HostProbeSNATIP, &HostProbeSNATIPV6); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    You can use that technique to reuse some predefined responses in your *path operations* and combine them with additional custom ones.
    
    For example:
    
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    	expectEndpoint string
    }
    
    func NewFakePeerEndpointReconciler(t *testing.T, s storage.Interface) peerEndpointLeaseReconciler {
    	// use the same base key used by the controlplane, but add a random
    	// prefix so we can reuse the etcd instance for subtests independently.
    	base := "/" + uuid.New().String() + "/peerserverleases/"
    	return peerEndpointLeaseReconciler{serverLeases: &peerEndpointLeases{
    		storage:   s,
    		destroyFn: func() {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top