Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 119 for toBytes (0.25 sec)

  1. tests/fuzz/analyzer_fuzzer.go

    // createRandomConfigFile creates a single fuzzed config file
    func createRandomConfigFile(f *fuzz.ConsumeFuzzer) (string, error) {
    	data, err := f.GetBytes()
    	if err != nil {
    		return "nobytes", err
    	}
    	tmpfile, err := os.CreateTemp("", "example")
    	if err != nil {
    		return "nofile", err
    	}
    	if _, err := tmpfile.Write(data); err != nil {
    		return "nofile", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Datalen    uint16
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint64
    	Ipackets   uint64
    	Ierrors    uint64
    	Opackets   uint64
    	Oerrors    uint64
    	Collisions uint64
    	Ibytes     uint64
    	Obytes     uint64
    	Imcasts    uint64
    	Omcasts    uint64
    	Iqdrops    uint64
    	Oqdrops    uint64
    	Noproto    uint64
    	Hwassist   uint64
    	_          [8]byte
    	_          [16]byte
    }
    
    type IfData struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    	}
    	slices.SortFunc(stats[:], func(a, b eventStats) int {
    		return cmp.Compare(b.bytes, a.bytes)
    	})
    	specs := tr.Version().Specs()
    	w := tabwriter.NewWriter(os.Stdout, 3, 8, 2, ' ', 0)
    	fmt.Fprintf(w, "Event\tBytes\t%%\tCount\t%%\n")
    	fmt.Fprintf(w, "-\t-\t-\t-\t-\n")
    	for i := range stats {
    		stat := &stats[i]
    		name := ""
    		if int(stat.typ) >= len(specs) {
    			name = fmt.Sprintf("<unknown (%d)>", stat.typ)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    	Datalen    uint16
    	Mtu        uint32
    	Metric     uint32
    	Baudrate   uint64
    	Ipackets   uint64
    	Ierrors    uint64
    	Opackets   uint64
    	Oerrors    uint64
    	Collisions uint64
    	Ibytes     uint64
    	Obytes     uint64
    	Imcasts    uint64
    	Omcasts    uint64
    	Iqdrops    uint64
    	Oqdrops    uint64
    	Noproto    uint64
    	Hwassist   uint64
    	_          [8]byte
    	_          [16]byte
    }
    
    type IfData struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/response-directly.md

    ## Renvoyer une `Response` personnalisée
    
    L'exemple ci-dessus montre toutes les parties dont vous avez besoin, mais il n'est pas encore très utile, car vous auriez pu retourner l'`item` directement, et **FastAPI** l'aurait mis dans une `JSONResponse` pour vous, en le convertissant en `dict`, etc. Tout cela par défaut.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

            input.countLines()
        }
    
    
    private
    fun BufferedInputStream.countLines(): Long {
        val buffer = ByteArray(DEFAULT_BUFFER_SIZE)
        val newLine = '\n'.code.toByte()
    
        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
              val keyInt: Int = key[keyIndex].toInt()
              buffer[i] = (bufferInt xor keyInt).toByte()
    
              i++
              keyIndex++
            }
          }
        } while (cursor.next() != -1)
      }
    
      fun closeCodeExceptionMessage(code: Int): String? {
        return if (code < 1000 || code >= 5000) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/fr/docs/contributing.md

        <div class="termy">
    
        ```console
        $ flit install --deps develop --pth-file
    
        ---> 100%
        ```
    
        </div>
    
    Il installera toutes les dépendances et votre FastAPI local dans votre environnement local.
    
    #### Utiliser votre FastAPI local
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top