Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for IsString (0.21 sec)

  1. src/go/types/builtins.go

    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, slice))
    		}
    
    	case _String:
    		// unsafe.String(ptr *byte, len IntegerType) string
    		check.verifyVersionf(call.Fun, go1_20, "unsafe.String")
    
    		check.assignment(x, NewPointer(universeByte), "argument to unsafe.String")
    		if x.mode == invalid {
    			return
    		}
    
    		y := args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        incubatingAnnotationTypeDescriptor: String,
        outputDirectory: File,
        packageName: String,
        sourceFilesBaseName: String,
        hashTypeSourceName: java.util.function.Function<String, String>,
        classPath: List<File>,
        classPathDependencies: List<File>,
        apiSpec: java.util.function.Function<String, Boolean>,
        parameterNamesSupplier: java.util.function.Function<String, List<String>?>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/walk.go

    }
    
    const (
    	mapslow = iota
    	mapfast32
    	mapfast32ptr
    	mapfast64
    	mapfast64ptr
    	mapfaststr
    	nmapfast
    )
    
    type mapnames [nmapfast]string
    
    func mkmapnames(base string, ptr string) mapnames {
    	return mapnames{base, base + "_fast32", base + "_fast32" + ptr, base + "_fast64", base + "_fast64" + ptr, base + "_faststr"}
    }
    
    var mapaccess1 = mkmapnames("mapaccess1", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        auto value = flatbuffer_vector[i];
    
        if (value.IsBool()) {
          mlir_vector.push_back(BuildVhloBooleanV1Attr(value.AsBool(), builder));
        } else if (value.IsString()) {
          mlir_vector.push_back(
              BuildVhloStringV1Attr(value.AsString().str(), builder));
        } else if (value.IsInt()) {
          mlir_vector.push_back(BuildVhloIntV1Attr(value.AsInt64(), builder));
        } else if (value.IsFloat()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/subr.go

    	// and dst is a string type.
    	if src.IsInteger() && dst.IsString() {
    		return ir.ORUNESTR, ""
    	}
    
    	if src.IsSlice() && dst.IsString() {
    		if src.Elem().Kind() == types.ByteType.Kind() {
    			return ir.OBYTES2STR, ""
    		}
    		if src.Elem().Kind() == types.RuneType.Kind() {
    			return ir.ORUNES2STR, ""
    		}
    	}
    
    	// 7. src is a string and dst is []byte or []rune.
    	// String to slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins.go

    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, slice))
    		}
    
    	case _String:
    		// unsafe.String(ptr *byte, len IntegerType) string
    		check.verifyVersionf(call.Fun, go1_20, "unsafe.String")
    
    		check.assignment(x, NewPointer(universeByte), "argument to unsafe.String")
    		if x.mode == invalid {
    			return
    		}
    
    		y := args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isULong -> KaConstantValue.KaUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
                type.isString -> KaConstantValue.KaStringConstantValue(value.toString(), expression)
                type.isFloat -> KaConstantValue.KaFloatConstantValue((value as Number).toFloat(), expression)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/fmt/print.go

    	Format(f State, verb rune)
    }
    
    // Stringer is implemented by any value that has a String method,
    // which defines the “native” format for that value.
    // The String method is used to print values passed as an operand
    // to any format that accepts a string or to an unformatted printer
    // such as [Print].
    type Stringer interface {
    	String() string
    }
    
    // GoStringer is implemented by any value that has a GoString method,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    func MakeReadFile(pass *analysis.Pass) func(filename string) ([]byte, error) {
    	return func(filename string) ([]byte, error) {
    		if err := CheckReadable(pass, filename); err != nil {
    			return nil, err
    		}
    		return os.ReadFile(filename)
    	}
    }
    
    // CheckReadable enforces the access policy defined by the ReadFile field of [analysis.Pass].
    func CheckReadable(pass *analysis.Pass, filename string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/go/types/signature.go

    		if n == 0 {
    			panic("variadic function must have at least one parameter")
    		}
    		core := coreString(params.At(n - 1).typ)
    		if _, ok := core.(*Slice); !ok && !isString(core) {
    			panic(fmt.Sprintf("got %s, want variadic parameter with unnamed slice type or string as core type", core.String()))
    		}
    	}
    	sig := &Signature{recv: recv, params: params, results: results, variadic: variadic}
    	if len(recvTypeParams) != 0 {
    		if recv == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top