Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for iquest (0.12 sec)

  1. src/net/http/request.go

    //
    // To create a new request with a context, use [NewRequestWithContext].
    // To make a deep copy of a request with a new context, use [Request.Clone].
    func (r *Request) WithContext(ctx context.Context) *Request {
    	if ctx == nil {
    		panic("nil context")
    	}
    	r2 := new(Request)
    	*r2 = *r
    	r2.ctx = ctx
    	return r2
    }
    
    // Clone returns a deep copy of r with its context changed to ctx.
    // The provided ctx must be non-nil.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/hooks.go

    // called only by the compiler (via runtime/coverage.initHook).
    //
    // If 'istest' is false, it indicates we're building a regular program
    // ("go build -cover ..."), in which case we immediately try to write
    // out the meta-data file, and register emitCounterData as an exit
    // hook.
    //
    // If 'istest' is true (indicating that the program in question is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/testing/fstest/testfs.go

    		return
    	}
    	t.checkFileRead(file, "ReadAll vs fs.ReadFile", data, data2)
    
    	// Use iotest.TestReader to check small reads, Seek, ReadAt.
    	f, err = t.fsys.Open(file)
    	if err != nil {
    		t.errorf("%s: second Open: %w", file, err)
    		return
    	}
    	defer f.Close()
    	if err := iotest.TestReader(f, data); err != nil {
    		t.errorf("%s: failed TestReader:\n\t%s", file, strings.ReplaceAll(err.Error(), "\n", "\n\t"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/math/rand/rand_test.go

    package rand_test
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math"
    	. "math/rand"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"testing/iotest"
    )
    
    const (
    	numTestSamples = 10000
    )
    
    var rn, kn, wn, fn = GetNormalDistributionParameters()
    var re, ke, we, fe = GetExponentialDistributionParameters()
    
    type statsResults struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    func (af *atomicLoadPkgFlags) has(cond loadPkgFlags) bool {
    	return loadPkgFlags(af.bits.Load())&cond == cond
    }
    
    // isTest reports whether pkg is a test of another package.
    func (pkg *loadPkg) isTest() bool {
    	return pkg.testOf != nil
    }
    
    // fromExternalModule reports whether pkg was loaded from a module other than
    // the main module.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

            }
    
            listener.testPlanExecutionFinished(testPlan);
        }
    
        private void dryRun(TestIdentifier testIdentifier, TestPlan testPlan, TestExecutionListener listener) {
            if (testIdentifier.isTest()) {
                listener.executionSkipped(testIdentifier, "Gradle test execution dry run");
            } else {
                listener.executionStarted(testIdentifier);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            // read and validate raw model
            Model fileModel = readFileModel(request, problems);
    
            request.setFileModel(fileModel);
            result.setFileModel(fileModel.clone());
    
            activateFileModel(request, result, problems);
    
            if (!request.isTwoPhaseBuilding()) {
                return build(request, result, importIds);
            } else if (hasModelErrors(problems)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

                    InternalSession.from(nonNull(request, "request").getSession());
            DependencyResolverResult result;
            DependencyResolverResult collectorResult = collect(request);
            if (request.getRequestType() == DependencyResolverRequest.RequestType.COLLECT) {
                result = collectorResult;
            } else {
                List<Node> nodes = flatten(session, collectorResult.getRoot(), request.getPathScope());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	// sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the
    	// unsigned request goes through and its validated again.
    	ExecObjectLayerAPIAnonTest(t, obj, "TestGetBucketLocationHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonReadOnlyBucketPolicy(bucketName))
    
    	// HTTP request for testing when `objectLayer` is set to `nil`.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

        private Model loadPom(
                RepositorySystemSession session, ArtifactDescriptorRequest request, ArtifactDescriptorResult result)
                throws ArtifactDescriptorException {
            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            LinkedHashSet<String> visited = new LinkedHashSet<>();
            for (Artifact a = request.getArtifact(); ; ) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top