- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for huff (0.04 sec)
-
src/internal/zstd/huff.go
Ian Lance Taylor <******@****.***> 1677872527 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 4.7K bytes - Viewed (0) -
src/image/jpeg/huffman.go
} th := d.tmp[0] & 0x0f // The baseline th <= 1 restriction is specified in table B.5. if th > maxTh || (d.baseline && th > 1) { return FormatError("bad Th value") } h := &d.huff[tc][th] // Read nCodes and h.vals (and derive h.nCodes). // nCodes[i] is the number of codes with code length i. // h.nCodes is the total number of codes. h.nCodes = 0 var nCodes [maxCodeLength]int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/allocator_test.go
target := &Allocator{} initialSize := 1000000 // 1MB buff := target.Allocate(uint64(initialSize)) if cap(buff) < initialSize { t.Fatalf("unexpected size of the buffer, expected at least 1MB, got: %v", cap(buff)) } if len(buff) != initialSize { t.Fatalf("unexpected length of the buffer, expected: %v, got: %v", initialSize, len(buff)) } buff = target.Allocate(0) if cap(buff) < initialSize {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 13:38:29 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
tools/gen_istio_image_list.sh
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 04:04:35 UTC 2023 - 4.5K bytes - Viewed (0) -
scripts/format.sh
#!/bin/sh -e set -x ruff check fastapi tests docs_src scripts --fix
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 30 00:03:14 UTC 2024 - 112 bytes - Viewed (0) -
scripts/lint.sh
#!/usr/bin/env bash set -e set -x mypy fastapi ruff check fastapi tests docs_src scripts
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 30 00:03:14 UTC 2024 - 125 bytes - Viewed (0) -
.pre-commit-config.yaml
- id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.2.0 hooks: - id: ruff args: - --fix - id: ruff-format ci: autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 737 bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/print_flags_test.go
if err != nil { t.Fatalf("unexpected err: %v", err) } for name, item := range tests { buff := &bytes.Buffer{} err := printer.PrintObj(item.obj, buff) if err != nil { t.Errorf("%v: unexpected err: %v", name, err) continue } got := buff.String() if item.expect != got { t.Errorf("%v: expected %v, got %v", name, item.expect, got) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 31 23:04:01 UTC 2019 - 2K bytes - Viewed (0) -
src/compress/zlib/example_test.go
// Output: [120 156 202 72 205 201 201 215 81 40 207 47 202 73 225 2 4 0 0 255 255 33 231 4 147] } func ExampleNewReader() { buff := []byte{120, 156, 202, 72, 205, 201, 201, 215, 81, 40, 207, 47, 202, 73, 225, 2, 4, 0, 0, 255, 255, 33, 231, 4, 147} b := bytes.NewReader(buff) r, err := zlib.NewReader(b) if err != nil { panic(err) } io.Copy(os.Stdout, r) // Output: hello, world r.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 784 bytes - Viewed (0)