Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for toBytes (0.14 sec)

  1. docs/fr/docs/features.md

    Inversement, dans la plupart des cas vous pourrez juste envoyer l'objet récupéré de la base de données **directement au client**
    
    Avec **FastAPI** vous aurez toutes les fonctionnalités de **Pydantic**  (comme FastAPI est basé sur Pydantic pour toutes les manipulations de données):
    
    * **Pas de prise de tête**:
        * Pas de nouveau langage de définition de schéma à apprendre.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

            when (readByte()) {
                1.toByte() -> ValueSupplier.ExecutionTimeValue.missing<Any>()
                2.toByte() -> ValueSupplier.ExecutionTimeValue.ofNullable(read()) // nullable because serialization may replace value with null, e.g. when using provider of Task
                3.toByte() -> {
                    val value = read()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/kubelet/winstats/network_stats.go

    	var adapters []string
    	for adapterName, value := range bytesSentPerSecondData {
    		adapters = append(adapters, adapterName)
    		newStat := n.adapterStats[adapterName]
    		newStat.Name = adapterName
    		newStat.TxBytes = newStat.TxBytes + value
    		n.adapterStats[adapterName] = newStat
    	}
    
    	return adapters
    }
    
    func (n *networkCounter) mergePacketsReceivedDiscardedData(packetsReceivedDiscardedData map[string]uint64) []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isByte -> KaConstantValue.KaByteConstantValue((value as Number).toByte(), expression)
                type.isUByte -> KaConstantValue.KaUnsignedByteConstantValue((value as Number).toByte().toUByte(), expression)
                type.isShort -> KaConstantValue.KaShortConstantValue((value as Number).toShort(), 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)
  5. src/runtime/string.go

    	}
    
    	*(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(mem / 4)}
    	return
    }
    
    // used by cmd/cgo
    func gobytes(p *byte, n int) (b []byte) {
    	if n == 0 {
    		return make([]byte, 0)
    	}
    
    	if n < 0 || uintptr(n) > maxAlloc {
    		panic(errorString("gobytes: length out of range"))
    	}
    
    	bp := mallocgc(uintptr(n), nil, false)
    	memmove(bp, unsafe.Pointer(p), uintptr(n))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/encoding/gob/type.go

    func (t *CommonType) safeString(seen map[typeId]bool) string {
    	return t.Name
    }
    
    func (t *CommonType) name() string { return t.Name }
    
    // Create and check predefined types
    // The string for tBytes is "bytes" not "[]byte" to signify its specialness.
    
    var (
    	// Primordial types, needed during initialization.
    	// Always passed as pointers so the interface{} type
    	// goes through without losing its interfaceness.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                ConstantValueKind.Boolean -> value as Boolean
                ConstantValueKind.Char -> value as Char
                ConstantValueKind.String -> value as String
                ConstantValueKind.Byte -> (value as Number).toByte()
                ConstantValueKind.Double -> (value as Number).toDouble()
                ConstantValueKind.Float -> (value as Number).toFloat()
                ConstantValueKind.Int -> (value as Number).toInt()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    			updateResourceMetrics(interfaceSubsystem, interfaceRxErrors, float64(stats.RxErrors), labels, true)
    			updateResourceMetrics(interfaceSubsystem, interfaceTxBytes, float64(stats.TxBytes), labels, true)
    			updateResourceMetrics(interfaceSubsystem, interfaceTxErrors, float64(stats.TxErrors), labels, true)
    		}
    		if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    			labels := map[string]string{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/test.go

    	Name      string
    	Got, Want interface{}
    }
    
    var testPairs = []testPair{
    	{"GoString", C.GoString(C.greeting), greeting},
    	{"GoStringN", C.GoStringN(C.greeting, 5), greeting[:5]},
    	{"GoBytes", C.GoBytes(unsafe.Pointer(C.greeting), 5), []byte(greeting[:5])},
    }
    
    func testHelpers(t *testing.T) {
    	for _, pair := range testPairs {
    		if !reflect.DeepEqual(pair.Got, pair.Want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    	// C string to Go string
    	func C.GoString(*C.char) string
    
    	// C data with explicit length to Go string
    	func C.GoStringN(*C.char, C.int) string
    
    	// C data with explicit length to Go []byte
    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top