Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for reuse (0.06 sec)

  1. src/net/http/transport.go

    	canceledErr          error // set non-nil if conn is canceled
    	broken               bool  // an error has happened on this connection; marked broken so it's not reused.
    	reused               bool  // whether conn has had successful request/response and is being reused.
    	// mutateHeaderFunc is an optional func to modify extra
    	// headers on each outbound request before it's written. (the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    /**
     * Factory for [calls][Call], which can be used to send HTTP requests and read their responses.
     *
     * ## OkHttpClients Should Be Shared
     *
     * 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
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    		// content ID. The attempt using the action ID makes sure that
    		// if the link inputs don't change, we reuse the cached test
    		// result without even rerunning the linker. The attempt using
    		// the link output (test binary) content ID makes sure that if
    		// we have different link inputs but the same final binary,
    		// we still reuse the cached test result.
    		// c.saveOutput will store the result under both IDs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    )
    
    // Merge two update requests together
    // Merge behaves similarly to a list append; usage should in the form `a = a.merge(b)`.
    // Importantly, Merge may decide to allocate a new PushRequest object or reuse the existing one - both
    // inputs should not be used after completion.
    func (pr *PushRequest) Merge(other *PushRequest) *PushRequest {
    	if pr == nil {
    		return other
    	}
    	if other == nil {
    		return pr
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            return ssn;
        }
    
    
        boolean matches ( Address addr, int prt, InetAddress laddr, int lprt, String hostName ) {
            if ( this.state == 5 || this.state == 6 ) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if ( hostName == null )
                hostName = addr.getHostName();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. hack/local-up-cluster.sh

    ROOT_CA_FILE=${CERT_DIR}/server-ca.crt
    CLUSTER_SIGNING_CERT_FILE=${CLUSTER_SIGNING_CERT_FILE:-"${CERT_DIR}/client-ca.crt"}
    CLUSTER_SIGNING_KEY_FILE=${CLUSTER_SIGNING_KEY_FILE:-"${CERT_DIR}/client-ca.key"}
    # Reuse certs will skip generate new ca/cert files under CERT_DIR
    # it's useful with PRESERVE_ETCD=true because new ca will make existed service account secrets invalided
    REUSE_CERTS=${REUSE_CERTS:-false}
    
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

            op_->getLoc(), resource, value_to_write);
        write->setAttrs(info.write_attrs);
        write->removeAttr(kDeviceAttr);
      }
    
      // As a part of lifting, we either reuse an existing slot for resource type
      // results or add a new slot. Resource type results should not have any uses
      // to begin with. So we can safely replace each old op result with the
      // corresponding new op result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/replica_calculator_test.go

    			expectedUtilization: int32(totalUsedCPUOfAllPods*100) / totalRequestedCPUOfAllPods,
    			expectedValue:       numContainersPerPod * totalUsedCPUOfAllPods / 10,
    		},
    	}
    
    	tc.runTest(t)
    
    	// Reuse the data structure above, now testing "unscaling".
    	// Now, we test that no scaling happens if we are in a very close margin to the tolerance
    	target = math.Abs(1/(requestedToUsed*(1-defaultTestingTolerance))) + .004
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

                    } catch (Exception e) {
                        throw exceptionMapper.mapFailure(e, "dependencies", displayName.getDisplayName());
                    }
                } // Otherwise, already have a result, so reuse it
                return initial;
            }).get();
        }
    
        @Override
        public void visitDependencies(TaskDependencyResolveContext context) {
            context.add(getIntrinsicFiles());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal.go

    	period := time.Second * time.Duration(longestPolicyPeriod)
    	cutoff := time.Now().Add(-period)
    	for i, event := range scaleEvents {
    		if event.timestamp.Before(cutoff) {
    			// outdated scale event are marked for later reuse
    			scaleEvents[i].outdated = true
    		}
    	}
    }
    
    func getLongestPolicyPeriod(scalingRules *autoscalingv2.HPAScalingRules) int32 {
    	var longestPolicyPeriod int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top