Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for withDocs (0.22 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java

         */
        <T> T withLocks(Collection<? extends ResourceLock> locks, Factory<T> factory);
    
        /**
         * Runs a given {@link Runnable} while the specified locks are being held, releasing
         * the locks upon completion.  Blocks until the specified locks can be obtained.
         */
        void withLocks(Collection<? extends ResourceLock> locks, Runnable runnable);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go

    	b.Object = value
    	return b
    }
    
    // WithPods sets the Pods field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Pods field is set to the value of the last call.
    func (b *MetricStatusApplyConfiguration) WithPods(value *PodsMetricStatusApplyConfiguration) *MetricStatusApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.CallConnectionUser
    import okhttp3.internal.connection.FastFallbackExchangeFinder
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

    import okhttp3.Route
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.canReuseConnectionFor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.connection.RoutePlanner.Plan
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.toHostHeader
    
    class RealRoutePlanner(
      private val taskRunner: TaskRunner,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/manager.go

    			klog.V(5).InfoS("Skipping unused resource", "claim", claimName, "pod", pod.Name)
    			continue
    		}
    
    		// Atomically perform some operations on the claimInfo cache.
    		err = m.cache.withLock(func() error {
    			// Get a reference to the claim info for this claim from the cache.
    			// If there isn't one yet, then add it to the cache.
    			claimInfo, exists := m.cache.get(resourceClaim.Name, resourceClaim.Namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    import okhttp3.FakeRoutePlanner
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2ConnectionTest
    import okhttp3.internal.http2.MockHttp2Peer
    import okhttp3.internal.http2.Settings
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo.go

    		info := newClaimInfoFromState(&entry)
    		cache.claimInfo[info.Namespace+"/"+info.ClaimName] = info
    	}
    
    	return cache, nil
    }
    
    // withLock runs a function while holding the claimInfoCache lock.
    func (cache *claimInfoCache) withLock(f func() error) error {
    	cache.Lock()
    	defer cache.Unlock()
    	return f()
    }
    
    // withRLock runs a function while holding the claimInfoCache rlock.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/cors_test.go

    	}
    
    	for _, test := range tests {
    		for _, origin := range test.origins {
    			name := fmt.Sprintf("%s/origin/%s", test.name, origin)
    			t.Run(name, func(t *testing.T) {
    				var handlerInvoked int
    				handler := WithCORS(
    					http.HandlerFunc(func(http.ResponseWriter, *http.Request) {
    						handlerInvoked++
    					}),
    					test.allowedOrigins, nil, nil, nil, "true",
    				)
    				var response *http.Response
    				func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 19:15:51 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import java.util.logging.Handler
    import java.util.logging.Level
    import java.util.logging.LogManager
    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import kotlin.concurrent.withLock
    import okhttp3.internal.buildConnectionPool
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.taskRunnerInternal
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    import javax.net.ssl.SSLSocket
    import kotlin.concurrent.withLock
    import okhttp3.CertificatePinner
    import okhttp3.ConnectionSpec
    import okhttp3.Handshake
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Route
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top