Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for callString (0.27 sec)

  1. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.kt

            }
        }
    }
    
    fun callFoo(foo: Foo): Int {
        return 0
    }
    
    fun callString(string: String): Int {
        return 1
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 502 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/nestedOuterClass.ir.txt

                      foo: GET_VAR 'p0: <root>.Foo declared in <root>.CodeFragment.run' type=<root>.Foo origin=null
                    other: CALL 'public final fun callString (string: kotlin.String): kotlin.Int declared in <root>.ContextKt' type=kotlin.Int origin=null
                      string: CALL 'private final fun <get-a> (): kotlin.String declared in <root>.Foo' type=kotlin.String origin=GET_PROPERTY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. src/go/types/conversions.go

    		} else if isNonTypeParamInterface(T) || constArg && !isConstType(T) || !isTypes2 && x.isNil() {
    			final = Default(x.typ) // default type of untyped nil is untyped nil
    		} else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
    			final = x.typ
    		}
    		check.updateExprType(x.expr, final, true)
    	}
    
    	x.typ = T
    }
    
    // TODO(gri) convertibleTo checks if T(x) is valid. It assumes that the type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/conversions.go

    		} else if isNonTypeParamInterface(T) || constArg && !isConstType(T) || !isTypes2 && x.isNil() {
    			final = Default(x.typ) // default type of untyped nil is untyped nil
    		} else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
    			final = x.typ
    		}
    		check.updateExprType(x.expr, final, true)
    	}
    
    	x.typ = T
    }
    
    // TODO(gri) convertibleTo checks if T(x) is valid. It assumes that the type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/go/types/expr.go

    		}
    		// A boolean type can only convert to another boolean type.
    		if allBoolean(x.typ) != allBoolean(y.typ) {
    			return false
    		}
    		// A string type can only convert to another string type.
    		if allString(x.typ) != allString(y.typ) {
    			return false
    		}
    		// Untyped nil can only convert to a type that has a nil.
    		if x.isNil() {
    			return hasNil(y.typ)
    		}
    		if y.isNil() {
    			return hasNil(x.typ)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    		}
    		// A boolean type can only convert to another boolean type.
    		if allBoolean(x.typ) != allBoolean(y.typ) {
    			return false
    		}
    		// A string type can only convert to another string type.
    		if allString(x.typ) != allString(y.typ) {
    			return false
    		}
    		// Untyped nil can only convert to a type that has a nil.
    		if x.isNil() {
    			return hasNil(y.typ)
    		}
    		if y.isNil() {
    			return hasNil(x.typ)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. 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