Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for correctness (0.36 sec)

  1. cmd/object-api-listobjects_test.go

    			}
    		}
    	}
    
    	// Formulating the result data set to be expected from ListObjects call inside the tests,
    	// This will be used in testCases and used for asserting the correctness of ListObjects output in the tests.
    
    	resultCases := []ListObjectsInfo{
    		{
    			IsTruncated: false,
    			Prefixes:    []string{"unique/folder/"},
    		},
    		{
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    		}
    	}
    }
    
    var long = flag.Bool("long", false, "run very long tests")
    
    // TestFloatQuoSmoke tests all divisions x/y for values x, y in the range [-n, +n];
    // it serves as a smoke test for basic correctness of division.
    func TestFloatQuoSmoke(t *testing.T) {
    	n := 10
    	if *long {
    		n = 1000
    	}
    
    	const dprec = 3         // max. precision variation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. .bazelrc

    # PYCPP TESTS run a suite of Python and C++ tests to verify general correctness over
    # the whole TF code base. These are usually run continuously or upon presubmit.
    # CPU PYCPP:
    test:linux_cpu_pycpp_test_filters --test_tag_filters=-no_oss,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    				goto Error
    			}
    		}
    		x.setConst(e.Kind, e.Value)
    		if x.mode == invalid {
    			// The parser already establishes syntactic correctness.
    			// If we reach here it's because of number under-/overflow.
    			// TODO(gri) setConst (and in turn the go/constant package)
    			// should return an error describing the issue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    	// oblet, in which case we compute the size to scan below.
    	s := spanOfUnchecked(b)
    	n := s.elemsize
    	if n == 0 {
    		throw("scanobject n == 0")
    	}
    	if s.spanclass.noscan() {
    		// Correctness-wise this is ok, but it's inefficient
    		// if noscan objects reach here.
    		throw("scanobject of a noscan object")
    	}
    
    	var tp typePointers
    	if n > maxObletBytes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    	// there is never more than that many arguments for a single line.
    	// Note that even if we go over 64, it will still be correct - it
    	// is just for efficiency, not correctness.
    	args := make([]string, 64)
    
    	// Compute total number of endpoint chains across all services
    	// to get a sense of how big the cluster is.
    	totalEndpoints := 0
    	for svcName := range proxier.svcPortMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/expr.go

    				goto Error
    			}
    		}
    		x.setConst(e.Kind, e.Value)
    		if x.mode == invalid {
    			// The parser already establishes syntactic correctness.
    			// If we reach here it's because of number under-/overflow.
    			// TODO(gri) setConst (and in turn the go/constant package)
    			// should return an error describing the issue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  8. src/net/http/client_test.go

    	req, _ = NewRequest("POST", us, nil)
    	client.Do(req) // Note: doesn't hit network
    	matchReturnedCookies(t, expectedCookies, tr.req.Cookies())
    }
    
    // Just enough correctness for our redirect tests. Uses the URL.Host as the
    // scope of all cookies.
    type TestJar struct {
    	m      sync.Mutex
    	perURL map[string][]*Cookie
    }
    
    func (j *TestJar) SetCookies(u *url.URL, cookies []*Cookie) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier.go

    	// there is never more than that many arguments for a single line.
    	// Note that even if we go over 64, it will still be correct - it
    	// is just for efficiency, not correctness.
    	args := make([]string, 64)
    
    	for _, set := range ipsetWithIptablesChain {
    		if _, find := proxier.ipsetList[set.name]; find && !proxier.ipsetList[set.name].isEmpty() {
    			args = append(args[:0], "-A", set.from)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    	routeHost := host.Name(rawRouteHost)
    	ourListener := host.Name(r.Hostname)
    	if len(ourListener) > 0 && !ourListener.IsWildCarded() {
    		// Short circuit: this logic only applies to wildcards
    		// Not required for correctness, just an optimization
    		return true
    	}
    	if len(ourListener) > 0 && !routeHost.Matches(ourListener) {
    		return false
    	}
    	for checkListener := range r.BannedHostnames {
    		// We have 3 hostnames here:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top