Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for callString (0.21 sec)

  1. src/strings/replace_test.go

    	allBytes := make([]byte, 256)
    	for i := range allBytes {
    		allBytes[i] = byte(i)
    	}
    	allString := string(allBytes)
    	genAll := NewReplacer(
    		allString, "[all]",
    		"\xff", "[ff]",
    		"\x00", "[00]",
    	)
    	testCases = append(testCases,
    		testCase{genAll, allString, "[all]"},
    		testCase{genAll, "a\xff" + allString + "\x00", "a[ff][all][00]"},
    		testCase{genAll, "", ""},
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/predicates.go

    func allInteger(t Type) bool         { return allBasic(t, IsInteger) }
    func allUnsigned(t Type) bool        { return allBasic(t, IsUnsigned) }
    func allNumeric(t Type) bool         { return allBasic(t, IsNumeric) }
    func allString(t Type) bool          { return allBasic(t, IsString) }
    func allOrdered(t Type) bool         { return allBasic(t, IsOrdered) }
    func allNumericOrString(t Type) bool { return allBasic(t, IsNumeric|IsString) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/go/types/predicates.go

    func allInteger(t Type) bool         { return allBasic(t, IsInteger) }
    func allUnsigned(t Type) bool        { return allBasic(t, IsUnsigned) }
    func allNumeric(t Type) bool         { return allBasic(t, IsNumeric) }
    func allString(t Type) bool          { return allBasic(t, IsString) }
    func allOrdered(t Type) bool         { return allBasic(t, IsOrdered) }
    func allNumericOrString(t Type) bool { return allBasic(t, IsNumeric|IsString) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    // and empty string for invalid indexes.
    func (endpoints Endpoints) GetString(i int) string {
    	if i < 0 || i >= len(endpoints) {
    		return ""
    	}
    	return endpoints[i].String()
    }
    
    // GetAllStrings - returns allstring of all endpoints
    func (endpoints Endpoints) GetAllStrings() (all []string) {
    	for _, e := range endpoints {
    		all = append(all, e.String())
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top