Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for testPos (0.17 sec)

  1. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    package tests
    
    import (
    	_ "embed"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"go/types"
    	"regexp"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name: "tests",
    	Doc:  analysisutil.MustExtractDoc(doc, "tests"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		for _, op := range tc.ops {
    			t.Run(ipv4+op, func(t *testing.T) {
    				testCost(t, ipv4+op, tc.expectEsimatedCost(ipv4BaseEstimatedCost), tc.expectRuntimeCost(ipv4BaseRuntimeCost))
    			})
    
    			t.Run(ipv6+op, func(t *testing.T) {
    				testCost(t, ipv6+op, tc.expectEsimatedCost(ipv6BaseEstimatedCost), tc.expectRuntimeCost(ipv6BaseRuntimeCost))
    			})
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    Aditya Manthramurthy <******@****.***> 1716591923 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cfg/cfg.go

    		GOROOTsrc = filepath.Join(goroot, "src")
    	}
    
    	installedGOOS = runtime.GOOS
    	installedGOARCH = runtime.GOARCH
    	if isTestGo {
    		if testOS := os.Getenv("TESTGO_GOHOSTOS"); testOS != "" {
    			installedGOOS = testOS
    		}
    		if testArch := os.Getenv("TESTGO_GOHOSTARCH"); testArch != "" {
    			installedGOARCH = testArch
    		}
    	}
    
    	if runtime.Compiler != "gccgo" {
    		if goroot == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. .teamcity/performance-tests-ci.json

    József Bartók <******@****.***> 1715251394 +0300
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. pkg/spiffe/spiffe_test.go

    			want: map[string]struct{}{
    				"spiffe://cluster.local/custom-suffix": {},
    			},
    		},
    		{
    			name:      "Non SPIFFE URI",
    			spiffeURI: []string{"testdns.com"},
    			trustDomains: []string{
    				"foo",
    			},
    			want: map[string]struct{}{
    				"testdns.com": {},
    			},
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
        for (int i = 0; i < srcPos; i++) {
          if (addressBytes[i] != 0x00) {
            throw formatIllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. docs/pt/docs/async.md

    E esse é o mesmo nível de performance que você tem com o **FastAPI**.
    
    E como você pode ter paralelismo e sincronicidade ao mesmo tempo, você tem uma maior performance do que a maioria dos frameworks NodeJS testados e lado a lado com Go, que é uma linguagem compilada próxima ao C <a href="https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1" class="external-link" target="_blank">(tudo graças ao Starlette)</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import com.google.common.collect.testing.google.ListGenerators.ImmutableListTailSubListGenerator;
    import com.google.common.collect.testing.google.ListGenerators.UnhashableElementsImmutableListGenerator;
    import com.google.common.collect.testing.testers.ListHashCodeTester;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top