Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for toBytes (0.16 sec)

  1. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    						RxBytes: toP(1),
    						TxBytes: toP(10),
    					},
    					Interfaces: []statsapi.InterfaceStats{
    						{
    							Name:    "test",
    							RxBytes: toP(1),
    
    							TxBytes: toP(10),
    						},
    					},
    				},
    				"c2": {
    					Time: v1.Time{},
    					InterfaceStats: statsapi.InterfaceStats{
    						Name:    "test2",
    						RxBytes: toP(2),
    						TxBytes: toP(20),
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/provider_test.go

    	cinfo.Stats[0].Network = &cadvisorapiv2.NetworkStats{
    		Interfaces: []cadvisorapiv1.InterfaceStats{{
    			Name:     "eth0",
    			RxBytes:  0,
    			RxErrors: 0,
    			TxBytes:  0,
    			TxErrors: 0,
    		}, {
    			Name:     "cbr0",
    			RxBytes:  0,
    			RxErrors: 0,
    			TxBytes:  0,
    			TxErrors: 0,
    		}},
    	}
    	return cinfo
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/stats/cri_stats_provider_windows.go

    	return statsapi.InterfaceStats{
    		Name:    criIface.Name,
    		RxBytes: valueOfUInt64Value(criIface.RxBytes),
    		TxBytes: valueOfUInt64Value(criIface.TxBytes),
    	}
    }
    
    // newNetworkStatsProvider uses the real windows hcsshim if not provided otherwise if the interface is provided
    // by the cristatsprovider in testing scenarios it uses that one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. docs/fr/docs/alternatives.md

    J'ai évité la création d'un nouveau framework pendant plusieurs années. J'ai d'abord essayé de combler toutes les
    fonctionnalités couvertes par **FastAPI** en utilisant de nombreux frameworks, plug-ins et outils différents.
    
    Mais à un moment donné il n'y avait pas d'autre option que de créer quelque chose qui offrait toutes ces
    fonctionnalités, en reprenant et en combinant de la meilleure façon possible les meilleures idées des outils
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top