Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,820 for testfs (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    			if test.initialSeatsExpected != workestimateGot.InitialSeats {
    				t.Errorf("Expected work estimate to match: %d initial seats, but got: %d", test.initialSeatsExpected, workestimateGot.InitialSeats)
    			}
    			if test.finalSeatsExpected != workestimateGot.FinalSeats {
    				t.Errorf("Expected work estimate to match: %d final seats, but got: %d", test.finalSeatsExpected, workestimateGot.FinalSeats)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. test/uintptrescapes2.go

    //go:uintptrescapes
    func (T) M2(a ...uintptr) {} // ERROR "escaping ...uintptr"
    
    func TestF1() {
    	var t int                        // ERROR "moved to heap"
    	F1(uintptr(unsafe.Pointer(&t)))  // ERROR "live at call to F1: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func TestF3() {
    	var t2 int                       // ERROR "moved to heap"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 24 18:24:24 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. src/math/rand/rand_test.go

    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand_test.go

    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. .github/workflows/tests.yml

            with:
              path: ~/go/pkg/mod
              key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
          - name: Tests
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/integration/tests.mk

    # Generate integration test targets for kubernetes environment.
    test.integration.%.kube: | $(JUNIT_REPORT) check-go-tag
    	$(call run-test,./tests/integration/$(subst .,/,$*)/...)
    
    # Generate integration fuzz test targets for kubernetes environment.
    test.integration-fuzz.%.kube: | $(JUNIT_REPORT) check-go-tag
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/strconv/fp_test.go

    	}
    	f64, err1 := strconv.ParseFloat(s, 32)
    	f1 := float32(f64)
    	if err1 != nil {
    		return 0, false
    	}
    	return f1, true
    }
    
    func TestFp(t *testing.T) {
    	f, err := os.Open("testdata/testfp.txt")
    	if err != nil {
    		t.Fatal("testfp: open testdata/testfp.txt:", err)
    	}
    	defer f.Close()
    
    	s := bufio.NewScanner(f)
    
    	for lineno := 1; s.Scan(); lineno++ {
    		line := s.Text()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient_test.go

    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/errors/wrap_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package errors_test
    
    import (
    	"errors"
    	"fmt"
    	"io/fs"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func TestIs(t *testing.T) {
    	err1 := errors.New("1")
    	erra := wrapped{"wrap 2", err1}
    	errb := wrapped{"wrap 3", erra}
    
    	err3 := errors.New("3")
    
    	poser := &poser{"either 1 or 3", func(err error) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. tests/testdata/config/external_services.yaml

    kind: ServiceEntry
    metadata:
      name: external-svc-extsvc
      namespace: testns
    spec:
       hosts:
       - external.extsvc.com
       ports:
       - number: 1443
         name: extsvc-http
         protocol: HTTP # not HTTPS.
       resolution: DNS
    
    ---
    
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
     name: external-service-1
     namespace: testns
    spec:
     host: external.extsvc.com
    # BUG: crash envoy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 1.9K bytes
    - Viewed (0)
Back to top