Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for dotV (0.06 sec)

  1. src/strings/strings_test.go

    	{"aaa", "a", 0},
    	{"abc", "xyz", -1},
    	{"abc", "xcz", 2},
    	{"ab☺c", "x☺yz", 2},
    	{"a☺b☻c☹d", "cx", len("a☺b☻")},
    	{"a☺b☻c☹d", "uvw☻xyz", len("a☺b")},
    	{"aRegExp*", ".(|)*+?^$[]", 7},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 4},
    	{"012\x80bcb\x80210", "\xffb", 3},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    var lastIndexAnyTests = []IndexTest{
    	{"", "", -1},
    	{"", "a", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. src/html/template/exec_test.go

    	{"map .WRONG type", "{{.MII.one}}", "", tVal, false},
    
    	// Dots of all kinds to test basic evaluation.
    	{"dot int", "<{{.}}>", "&lt;13>", 13, true},
    	{"dot uint", "<{{.}}>", "&lt;14>", uint(14), true},
    	{"dot float", "<{{.}}>", "&lt;15.1>", 15.1, true},
    	{"dot bool", "<{{.}}>", "&lt;true>", true, true},
    	{"dot complex", "<{{.}}>", "&lt;(16.2-17i)>", 16.2 - 17i, true},
    	{"dot string", "<{{.}}>", "&lt;hello>", "hello", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	// Dots of all kinds to test basic evaluation.
    	{"dot int", "<{{.}}>", "<13>", 13, true},
    	{"dot uint", "<{{.}}>", "<14>", uint(14), true},
    	{"dot float", "<{{.}}>", "<15.1>", 15.1, true},
    	{"dot bool", "<{{.}}>", "<true>", true, true},
    	{"dot complex", "<{{.}}>", "<(16.2-17i)>", 16.2 - 17i, true},
    	{"dot string", "<{{.}}>", "<hello>", "hello", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{"aaa", "a", 0},
    	{"abc", "xyz", -1},
    	{"abc", "xcz", 2},
    	{"ab☺c", "x☺yz", 2},
    	{"a☺b☻c☹d", "cx", len("a☺b☻")},
    	{"a☺b☻c☹d", "uvw☻xyz", len("a☺b")},
    	{"aRegExp*", ".(|)*+?^$[]", 7},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 4},
    	{"012\x80bcb\x80210", "\xffb", 3},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    var lastIndexAnyTests = []BinOpTest{
    	{"", "", -1},
    	{"", "a", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

                        // mean, that name[pname.length()..<-1] is a static inner class.
                        // For this the rest of the name does not need any dots in its name.
                        // It is either completely a inner static class or it is not.
                        // Since we do not want to have useless lookups we create the name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. pkg/apis/storage/validation/validation_test.go

    			}},
    		},
    	}, {
    		// driver name: dot, dash
    		ObjectMeta: metav1.ObjectMeta{Name: "foo4"},
    		Spec: storage.CSINodeSpec{
    			Drivers: []storage.CSINodeDriver{{
    				Name:         "io.kubernetes.storage-csi-driver",
    				NodeID:       nodeID,
    				TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    			}},
    		},
    	}, {
    		// driver name: dot, dash, and numbers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  7. src/net/url/url_test.go

    	{"http://foo.com/bar/baz", "quux/./dotdot/../dotdot/../dot/./tail/..", "http://foo.com/bar/quux/dot/"},
    
    	// Remove any dot-segments prior to forming the target URI.
    	// https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4
    	{"http://foo.com/dot/./dotdot/../foo/bar", "../baz", "http://foo.com/dot/baz"},
    
    	// Triple dot isn't special
    	{"http://foo.com/bar", "...", "http://foo.com/..."},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. src/go/printer/testdata/parser.go

    func (p *parser) printTrace(a ...any) {
    	const dots = ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " +
    		". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "
    	const n = uint(len(dots))
    	pos := p.file.Position(p.pos)
    	fmt.Printf("%5d:%3d: ", pos.Line, pos.Column)
    	i := 2 * p.indent
    	for ; i > n; i -= n {
    		fmt.Print(dots)
    	}
    	fmt.Print(dots[0:i])
    	fmt.Println(a...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	}
    
    	// Add a trailing dot to canonicalize name.
    	if n.Length == 0 || n.Data[n.Length-1] != '.' {
    		return oldMsg, errNonCanonicalName
    	}
    
    	// Allow root domain.
    	if n.Data[0] == '.' && n.Length == 1 {
    		return append(msg, 0), nil
    	}
    
    	var nameAsStr string
    
    	// Emit sequence of counted strings, chopping at dots.
    	for i, begin := 0, 0; i < int(n.Length); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. src/go/parser/parser.go

    // Parsing support
    
    func (p *parser) printTrace(a ...any) {
    	const dots = ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "
    	const n = len(dots)
    	pos := p.file.Position(p.pos)
    	fmt.Printf("%5d:%3d: ", pos.Line, pos.Column)
    	i := 2 * p.indent
    	for i > n {
    		fmt.Print(dots)
    		i -= n
    	}
    	// i <= n
    	fmt.Print(dots[0:i])
    	fmt.Println(a...)
    }
    
    func trace(p *parser, msg string) *parser {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
Back to top