Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for testOrg (0.2 sec)

  1. src/testing/testing.go

    func (m *M) writeProfiles() {
    	if *testlog != "" {
    		if err := m.deps.StopTestLog(); err != nil {
    			fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err)
    			os.Exit(2)
    		}
    		if err := testlogFile.Close(); err != nil {
    			fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err)
    			os.Exit(2)
    		}
    	}
    	if *cpuProfile != "" {
    		m.deps.StopCPUProfile() // flushes profile to disk
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    	utilstrings "k8s.io/utils/strings"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    	testlog, err := os.ReadFile(a.Objdir + "testlog.txt")
    	if err != nil || !bytes.HasPrefix(testlog, testlogMagic) || testlog[len(testlog)-1] != '\n' {
    		if cache.DebugTest {
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err)
    			} else {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    }
    
    func TestUninitializedNoCrash(t *testing.T) {
    	var q Quantity
    
    	q.Value()
    	q.MilliValue()
    	q.DeepCopy()
    	_ = q.String()
    	q.MarshalJSON()
    }
    
    func TestDeepCopy(t *testing.T) {
    	q := NewQuantity(5, DecimalSI)
    	c := q.DeepCopy()
    	c.Set(6)
    	if q.Value() == 6 {
    		t.Errorf("Copy didn't")
    	}
    }
    
    func TestSub(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. .teamcity/test-buckets.json

    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"testing-jvm",
    					"configuration-cache",
    					"precondition-tester",
    					"model-groovy",
    					"toolchains-jvm",
    					"resources",
    					"execution",
    					"resources-http",
    					"internal-performance-testing",
    					"internal-integ-testing",
    					"build-cache-spi"
    				]
    			},
    			{
    				"parallelizationMethod":{
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server_test.go

    		t.Error("the preference order should not depend on Config.CipherSuites")
    	}
    }
    
    func TestSCTHandshake(t *testing.T) {
    	t.Run("TLSv12", func(t *testing.T) { testSCTHandshake(t, VersionTLS12) })
    	t.Run("TLSv13", func(t *testing.T) { testSCTHandshake(t, VersionTLS13) })
    }
    
    func testSCTHandshake(t *testing.T, version uint16) {
    	expected := [][]byte{[]byte("certificate"), []byte("transparency")}
    	serverConfig := &Config{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. src/net/netip/netip_test.go

    func BenchmarkStdParseIP(b *testing.B) {
    	for _, test := range parseBenchInputs {
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				sinkStdIP = net.ParseIP(test.ip)
    			}
    		})
    	}
    }
    
    func BenchmarkAddrString(b *testing.B) {
    	for _, test := range parseBenchInputs {
    		ip := MustParseAddr(test.ip)
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  9. src/time/time_test.go

    }
    
    func BenchmarkNowUnixNano(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		u = Now().UnixNano()
    	}
    }
    
    func BenchmarkNowUnixMilli(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		u = Now().UnixMilli()
    	}
    }
    
    func BenchmarkNowUnixMicro(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		u = Now().UnixMicro()
    	}
    }
    
    func BenchmarkFormat(b *testing.B) {
    	t := Unix(1265346057, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    }
    
    func TestClientKeyUpdate(t *testing.T) {
    	test := &clientTest{
    		name:          "KeyUpdate",
    		args:          []string{"-state"},
    		sendKeyUpdate: true,
    	}
    	runClientTestTLS13(t, test)
    }
    
    func TestResumption(t *testing.T) {
    	t.Run("TLSv12", func(t *testing.T) { testResumption(t, VersionTLS12) })
    	t.Run("TLSv13", func(t *testing.T) { testResumption(t, VersionTLS13) })
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top