Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 129 of 129 for testF (0.1 sec)

  1. src/encoding/xml/read_test.go

    		}
    	}
    }
    
    const OK = "OK"
    const withoutNameTypeData = `
    <?xml version="1.0" charset="utf-8"?>
    <Test3 Attr="OK" />`
    
    type TestThree struct {
    	XMLName Name   `xml:"Test3"`
    	Attr    string `xml:",attr"`
    }
    
    func TestUnmarshalWithoutNameType(t *testing.T) {
    	var x TestThree
    	if err := Unmarshal([]byte(withoutNameTypeData), &x); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. src/runtime/memmove_amd64.s

    	// hand can be used only when the memory regions don't overlap or the copy
    	// direction is forward.
    	//
    	// BSR+branch table make almost all memmove/memclr benchmarks worse. Not worth doing.
    	TESTQ	BX, BX
    	JEQ	move_0
    	CMPQ	BX, $2
    	JBE	move_1or2
    	CMPQ	BX, $4
    	JB	move_3
    	JBE	move_4
    	CMPQ	BX, $8
    	JB	move_5through7
    	JE	move_8
    	CMPQ	BX, $16
    	JBE	move_9through16
    	CMPQ	BX, $32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 10 15:52:08 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

        def "can query model when root project applies C++ unit test plugin"() {
            settingsFile << """
                rootProject.name = 'core'
            """
            buildFile << """
                apply plugin: 'cpp-unit-test'
            """
            def headerDir = file('src/test/headers')
            def src1 = file('src/test/cpp/test-main.cpp').createFile()
            def src2 = file('src/test/cpp/test2.cpp').createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/eds_test.go

    	xdsfake "istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pilot/test/xdstest"
    	"istio.io/istio/pkg/adsc"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			ss, err := structuralschema.NewStructural(test.in)
    			if err != nil && !test.expectError {
    				t.Fatalf("structural schema error: %v", err)
    			} else if err == nil && test.expectError {
    				t.Fatalf("expected NewStructural error, but didn't get any")
    			}
    
    			if !test.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. src/path/filepath/path_windows_test.go

    		{"{{tmp}}", `{{tmpnovol}}\TEST\FOO\BAR`, `{{tmpnovol}}\test\foo\bar`},
    
    		// test relative paths begin without '\'
    		{`{{tmp}}\test`, ".", `.`},
    		{`{{tmp}}\test`, "..", `..`},
    		{`{{tmp}}\test`, `foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `.\foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `foo\..\foo\bar`, `foo\bar`},
    		{`{{tmp}}\test`, `FOO\BAR`, `foo\bar`},
    
    		// test UNC paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/path/filepath/path_test.go

    	{"src/versions/v1/modules/test", "../../../pool/test"},
    	{"version", "src/versions/v1"},
    }
    
    var EvalSymlinksTests = []EvalSymlinksTest{
    	{"test", "test"},
    	{"test/dir", "test/dir"},
    	{"test/dir/../..", "."},
    	{"test/link1", "test"},
    	{"test/link2", "test/dir"},
    	{"test/link1/dir", "test/dir"},
    	{"test/link2/..", "test"},
    	{"test/dir/link3", "."},
    	{"test/link2/link3/test", "test"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    	}
    
    	for i, test := range testCases {
    		var s runtime.Serializer
    		if test.yaml {
    			s = json.NewSerializerWithOptions(json.DefaultMetaFactory, test.creater, test.typer, json.SerializerOptions{Yaml: test.yaml, Pretty: false, Strict: test.strict})
    		} else {
    			s = json.NewSerializerWithOptions(json.DefaultMetaFactory, test.creater, test.typer, json.SerializerOptions{Yaml: test.yaml, Pretty: test.pretty, Strict: test.strict})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. pkg/util/iptables/iptables_test.go

    	}
    }
    
    // TestExtractLines tests that
    func TestExtractLines(t *testing.T) {
    	mkLines := func(lines ...LineData) []LineData {
    		return lines
    	}
    	lines := "Line1: 1\nLine2: 2\nLine3: 3\nLine4: 4\nLine5: 5\nLine6: 6\nLine7: 7\nLine8: 8\nLine9: 9\nLine10: 10"
    	tests := []struct {
    		count int
    		line  int
    		name  string
    		want  []LineData
    	}{{
    		name:  "test-line-0",
    		count: 3,
    		line:  0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
Back to top