Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for withValues (0.18 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        /**
         * A dummy provider that provides one of given values each time it is queried, in the order given.
         */
        ProviderInternal<T> supplierWithValues(T... values) {
            return ProviderTestUtil.withValues(values)
        }
    
        ProviderInternal<T> supplierWithChangingExecutionTimeValues(T... values) {
            return ProviderTestUtil.withChangingExecutionTimeValues(values)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    	clientConfig := testConfig.Clone()
    	serverConfig := testConfig.Clone()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	key := struct{}{}
    	ctx = context.WithValue(ctx, key, true)
    	go func() {
    		defer close(clientErr)
    		defer c.Close()
    		var innerCtx context.Context
    		clientConfig.Certificates = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    				// the context close, and use the response if available.
    				return handleResponse(re)
    			default:
    			}
    			pc.cancelRequest(context.Cause(req.ctx))
    		}
    	}
    }
    
    // tLogKey is a context WithValue key for test debugging contexts containing
    // a t.Logf func. See export_test.go's Request.WithT method.
    type tLogKey struct{}
    
    func (tr *transportRequest) logf(format string, args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top