Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for huff (0.12 sec)

  1. 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)
  2. src/image/jpeg/scan.go

    						if zig <= zigEnd && d.eobRun > 0 {
    							d.eobRun--
    						} else {
    							// Decode the AC coefficients, as specified in section F.2.2.2.
    							huff := &d.huff[acTable][scan[i].ta]
    							for ; zig <= zigEnd; zig++ {
    								value, err := d.decodeHuffman(huff)
    								if err != nil {
    									return err
    								}
    								val0 := value >> 4
    								val1 := value & 0x0f
    								if val1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. 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)
  4. src/compress/flate/huffman_bit_writer_test.go

    		t.Errorf("after reset %q != %q (see %q)", in, out, in+".reset.got")
    		if err := os.WriteFile(in+".reset.got", got, 0666); err != nil {
    			t.Error(err)
    		}
    		return
    	}
    	t.Log("Reset ok")
    	testWriterEOF(t, "huff", huffTest{input: in}, true)
    }
    
    type huffTest struct {
    	tokens      []token
    	input       string // File name of input data matching the tokens.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 40.3K bytes
    - Viewed (0)
  5. src/image/jpeg/reader.go

    	eobRun              uint16 // End-of-Band run, specified in section G.1.2.2.
    
    	comp       [maxComponents]component
    	progCoeffs [maxComponents][]block // Saved state between progressive-mode scans.
    	huff       [maxTc + 1][maxTh + 1]huffman
    	quant      [maxTq + 1]block // Quantization tables, in zig-zag order.
    	tmp        [2 * blockSize]byte
    }
    
    // fill fills up the d.bytes.buf buffer from the underlying io.Reader. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java

            writer.print(indent(1));
            writer.println(heading);
        }
    
        private String indent(int times) {
            StringBuffer buff = new StringBuffer(prefix);
            for (int i = 0; i < times; i++) {
                buff.append(INDENT);
            }
            return buff.toString();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. tools/gen_istio_image_list.sh

               then
                  if [[ $line == *\\ ]]
                  then
                    buff=${buff%\\}$line
                  else
                    buff=${buff%\\}$line
                    break
                  fi
               fi
           fi
        done < temp.file
    
        for repo in $buff; do
           if [[ $repo == *docker.* ]]
           then
               istio_component=${repo##*docker.};
               istio_repo=istio/$istio_component;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 04:04:35 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top