Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for toBytes (0.11 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        }
      }
    
      @Test fun readPaddedDataFrame() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        writeMedium(frame, dataLength + paddingLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_PADDED)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. 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)
  4. docs/fr/docs/tutorial/first-steps.md

    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` est une classe Python qui fournit toutes les fonctionnalités nécessaires au lancement de votre API.
    
    !!! note "Détails techniques"
        `FastAPI` est une classe héritant directement de `Starlette`.
    
        Vous pouvez donc aussi utiliser toutes les fonctionnalités de <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> depuis `FastAPI`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Sep 27 20:52:31 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
              mid--
            }
            mid++
    
            // Now look for the ending '\n'.
            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
            }
            val publicSuffixLength = mid + end - mid
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K 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. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          throw ProtocolException("constructed strings not supported for DER")
        }
        return source.readUtf8(bytesLeft)
      }
    
      fun readObjectIdentifier(): String {
        val result = Buffer()
        val dot = '.'.code.toByte().toInt()
        when (val xy = readVariableLengthLong()) {
          in 0L until 40L -> {
            result.writeDecimalLong(0)
            result.writeByte(dot)
            result.writeDecimalLong(xy)
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/helper.go

    	for i := range cstat.Network.Interfaces {
    		inter := cstat.Network.Interfaces[i]
    		iStat := statsapi.InterfaceStats{
    			Name:     inter.Name,
    			RxBytes:  &inter.RxBytes,
    			RxErrors: &inter.RxErrors,
    			TxBytes:  &inter.TxBytes,
    			TxErrors: &inter.TxErrors,
    		}
    
    		if inter.Name == defaultNetworkInterfaceName {
    			iStats.InterfaceStats = iStat
    		}
    
    		iStats.Interfaces = append(iStats.Interfaces, iStat)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top