Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 814 for reusing (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	// is too large we are basically just thrashing the CPU D-cache.
    	// So if the result length is larger than an empirically-found
    	// limit (8KB), we stop growing the source string once the limit
    	// is reached and keep reusing the same source string - that
    	// should therefore be always resident in the L1 cache - until we
    	// have completed the construction of the result.
    	// This yields significant speedups (up to +100%) in cases where
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    				dst = make([]byte, 0, hdr.Length+hdr.Length>>3)
    			}
    			if !hdr.Fin {
    				hdr.Length = -1
    			}
    			return readAllInto(dst[:0], &wsReader, hdr.Length)
    		}
    	}
    
    	// Keep reusing the same buffer.
    	var msg []byte
    	for atomic.LoadUint32((*uint32)(&c.state)) == StateConnected {
    		if cap(msg) > readBufferSize*4 {
    			// Don't keep too much memory around.
    			msg = nil
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	if err != nil {
    		limitLines = 10
    	}
    
    	logKind := madmin.LogKind(strings.ToUpper(r.Form.Get("logType"))).LogMask()
    	if logKind == 0 {
    		logKind = madmin.LogMaskAll
    	}
    
    	// Avoid reusing tcp connection if read timeout is hit
    	// This is needed to make r.Context().Done() work as
    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * automatic-closing approach described above is safer.
     *
     * @param <V> the type of the value of this step
     * @since 30.0
     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    @DoNotMock("Use ClosingFuture.from(Futures.immediate*Future)")
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    // TODO(dpb): GWT compatibility.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  6. fastapi/routing.py

        is_body_allowed_for_status_code,
    )
    from pydantic import BaseModel
    from starlette import routing
    from starlette.concurrency import run_in_threadpool
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.routing import (
        BaseRoute,
        Match,
        compile_path,
        get_name,
        request_response,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.18.md

      
        A previous release built hyperkube using the debian-hyperkube-base@v1.0.0,
        which was updated to address a CVE in the CNI plugins.
        
        A side-effect of using this new image was that the networking packages
        (namely `iptables`) drifted from the versions used in the kube-proxy images.
      
        The following issues were filed on kube-proxy failures when using hyperkube:
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    		msg := fmt.Sprintf("Cross-device mounts detected on path (/path/to/1) at following locations %s. Export path should not have any sub-mounts, refusing to start.", mp)
    		if err.Error() != msg {
    			t.Fatalf("Expected msg %s, got %s", msg, err)
    		}
    	}
    	// Failure case when input path is not absolute.
    	{
    		absPaths := []string{"."}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. architecture/networking/pilot.md

    # Architecture of Istiod
    
    This document describes the high level architecture of the Istio control plane, Istiod.
    Istiod is structured as a modular monolith, housing a wide range of functionality from certificate signing, proxy configuration (XDS), traditional Kubernetes controllers, and more.
    
    ## Proxy Configuration
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/using-request-directly.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top