Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for codeLen (0.16 sec)

  1. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    	leaves := new([256]node)
    
    	for sym, code := range huffmanCodes {
    		codeLen := huffmanCodeLen[sym]
    
    		cur := lazyRootHuffmanNode
    		for codeLen > 8 {
    			codeLen -= 8
    			i := uint8(code >> codeLen)
    			if cur.children[i] == nil {
    				cur.children[i] = newInternalNode()
    			}
    			cur = cur.children[i]
    		}
    		shift := 8 - codeLen
    		start, end := int(uint8(code<<shift)), int(1<<shift)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. src/compress/bzip2/huffman.go

    	length := uint8(32)
    
    	codes := make([]huffmanCode, len(lengths))
    	for i := len(pairs) - 1; i >= 0; i-- {
    		if length > pairs[i].length {
    			length = pairs[i].length
    		}
    		codes[i].code = code
    		codes[i].codeLen = length
    		codes[i].value = pairs[i].value
    		// We need to 'increment' the code, which means treating |code|
    		// like a |length| bit number.
    		code += 1 << (32 - length)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. hack/update-codegen.sh

            staging/src/k8s.io/apiextensions-apiserver/examples/client-go
        )
    
        local codegen
        codegen="${KUBE_ROOT}/staging/src/k8s.io/code-generator"
        for sub in "${subs[@]}"; do
            kube::log::status "Generating code for subproject ${sub}"
            pushd "${sub}" >/dev/null
            CODEGEN_PKG="${codegen}" \
            UPDATE_API_KNOWN_VIOLATIONS="${UPDATE_API_KNOWN_VIOLATIONS}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/hack/verify-codegen.sh

    mkdir -p "${TMP_DIFFROOT}"
    cp -a "${DIFFROOT}"/* "${TMP_DIFFROOT}"
    
    "${SCRIPT_ROOT}/hack/update-codegen.sh"
    echo "diffing ${DIFFROOT} against freshly generated codegen"
    ret=0
    diff -Naupr "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
    if [[ $ret -eq 0 ]]; then
      echo "${DIFFROOT} up to date."
    else
      echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
      exit 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 05 23:05:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/verify-codegen.sh

    mkdir -p "${TMP_DIFFROOT}"
    cp -a "${DIFFROOT}"/* "${TMP_DIFFROOT}"
    
    "${SCRIPT_ROOT}/hack/update-codegen.sh"
    echo "diffing ${DIFFROOT} against freshly generated codegen"
    ret=0
    diff -Naupr "${DIFFROOT}" "${TMP_DIFFROOT}" || ret=$?
    if [[ $ret -eq 0 ]]; then
      echo "${DIFFROOT} up to date."
    else
      echo "${DIFFROOT} is out of date. Please run hack/update-codegen.sh"
      exit 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 05 23:05:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. hack/verify-codegen.sh

    # Usage: `hack/verify-codegen.sh <parameters for update-codegen.sh>`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/verify-generated.sh"
    
    export UPDATE_API_KNOWN_VIOLATIONS=true
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/hack/update-codegen.sh

    CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}
    
    source "${CODEGEN_PKG}/kube_codegen.sh"
    
    THIS_PKG="k8s.io/apiextensions-apiserver"
    
    kube::codegen::gen_helpers \
        --boilerplate "${SCRIPT_ROOT}/hack/boilerplate.go.txt" \
        "${SCRIPT_ROOT}/pkg"
    
    if [[ -n "${API_KNOWN_VIOLATIONS_DIR:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/aot/codegen.h"
    
    #include <memory>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/memory/memory.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/update-codegen.sh

    source "${CODEGEN_PKG}/kube_codegen.sh"
    
    THIS_PKG="k8s.io/apiextensions-apiserver/examples/client-go"
    
    kube::codegen::gen_helpers \
        --boilerplate "${SCRIPT_ROOT}/hack/boilerplate.go.txt" \
        "${SCRIPT_ROOT}/pkg/apis"
    
    kube::codegen::gen_client \
        --with-watch \
        --with-applyconfig \
        --output-dir "${SCRIPT_ROOT}/pkg/client" \
        --output-pkg "${THIS_PKG}/pkg/client" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen.h

    Emilio Cota <******@****.***> 1685656763 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 01 22:03:27 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top